镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

tests: retry phys_rep_tiered allowed-source checks on empty rtn - #6286

Merged
markhannum merged 1 commit into
bloomberg:mainfrom
markhannum:phys_rep_tiered_allowed_source_retry
Oct 8, 2026
Merged

markhannum merged 1 commit into
bloomberg:mainfrom
markhannum:phys_rep_tiered_allowed_source_retry

Conversation

@markhannum

Copy link
Copy Markdown
Contributor

phys_rep_tiered failed in an rr test run with "physrep_allowed_source phys_rep_tiered_82951_repl_m2 allowed self as source". The m2 node was healthy throughout; the test driver briefly couldn't resolve the hostname m2 (getaddrinfo -2), so cdb2sql never connected and the empty rtn was treated as a failed check.

This adds an allowed_source_rtn helper that retries the query for up to 60s while no rtn comes back, and uses it for every allowed-source check in physrep_allowed_source and physrep_rtcpu_source.

A transient hostname-resolution failure on the test driver made cdb2sql
fail to connect; the empty rtn was misreported as "allowed self as source".

Signed-off-by: Mark Hannum <mhannum@bloomberg.net>

@roborivers roborivers left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
truncatesc_offline_generated [failed with core dumped] **quarantined**
logfill [db unavailable at finish] **quarantined**
consumer_non_atomic_default_consumer_generated **quarantined**
sc_downgrade [timeout] **quarantined**
reco-ddlk-sql [timeout] **quarantined**

@roborivers roborivers left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
consumer_non_atomic_default_consumer_generated **quarantined**
sc_downgrade [timeout] **quarantined**
reco-ddlk-sql [timeout] **quarantined**

@WalidNejmi WalidNejmi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@markhannum
markhannum merged commit 866a425 into bloomberg:main Oct 8, 2026
5 checks passed
@markhannum
markhannum deleted the phys_rep_tiered_allowed_source_retry branch October 8, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants