Skip to content

log-filenames.test.py: fix diags check flakyness#12901

Open
bneradt wants to merge 1 commit intoapache:masterfrom
bneradt:fix-flaky-log-filenames-test
Open

log-filenames.test.py: fix diags check flakyness#12901
bneradt wants to merge 1 commit intoapache:masterfrom
bneradt:fix-flaky-log-filenames-test

Conversation

@bneradt
Copy link
Contributor

@bneradt bneradt commented Feb 19, 2026

The log-filenames AuTest can be flaky in CI when logs are directed to
stdout or stderr. The startup message used by the assertion can be
interleaved with other log output, so an exact match is brittle.

Use an earlier and more stable startup marker from diagnostic logging:
"logging.yaml finished loading". This still validates that diags
content is emitted while avoiding the split-line failure mode.

@bneradt bneradt added this to the 11.0.0 milestone Feb 19, 2026
@bneradt bneradt self-assigned this Feb 19, 2026
The log-filenames AuTest can be flaky in CI when logs are directed to
stdout or stderr. The startup message used by the assertion can be
interleaved with other log output, so an exact match is brittle.

Use an earlier and more stable startup marker from diagnostic logging:
"logging.yaml finished loading". This still validates that diags
content is emitted while avoiding the split-line failure mode.
@bneradt bneradt force-pushed the fix-flaky-log-filenames-test branch from ac8e734 to ae7142d Compare February 19, 2026 23:46
@bneradt bneradt changed the title tests: stabilize log-filenames diags check log-filenames.test.py: fix diags check flakyness Feb 19, 2026
@bneradt bneradt requested a review from maskit February 19, 2026 23:52
@maskit
Copy link
Member

maskit commented Feb 20, 2026

Unrelated tests failed.

worker-0/txn_box_multi-ramp-3
worker-1/txn_box_multi-ramp-2

@maskit
Copy link
Member

maskit commented Feb 20, 2026

[approve ci autest 3]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments