Repository navigation
test: Stop three unrelated failures from failing the asan job - #3579
Merged
Merged
Conversation
destroy_while_away and update_while_away read thread_count() once. A thread of the previous test can still be listed then, so the settled count can end lower than the baseline, as in `1 != 2` on an asan run. Fixes #3575 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Each failed one PR's asan job for a reason that has nothing to do with that PR. Their issues stay open to find the cause. Refs #3576 Refs #3577 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
test_alsa_device_lostnow waits for a stable thread count before its baseline indestroy_while_awayandupdate_while_away.test_audio_clock_drift(bug: test_audio_clock_drift can report one dropout early in a run #3576) andtest_pipewire_teardown_wait(bug: test_pipewire_teardown_wait hung for 10 minutes in the asan job #3577) are nowflakyin the asan known list. The cause of each is not known, and their issues stay open. A hang still takes the 10-minute limit, because a listed test still runs.Why
3 of the last 13 asan jobs failed on one of these tests, for reasons that have nothing to do with the PR. #3563 needed 5 attempts on one commit.
RED and GREEN
For the ALSA test, I added a thread that exits 50 ms later, just before the baseline in
destroy_while_away. I did not commit it.2 != 3,destroy_while_awayfails.This shows the mechanism. I did not reproduce the failure on CI.
Test cost: no new test. Each baseline can wait up to 500 ms, normally about 100 ms. No new threads in the committed test.
Fixes #3575
Refs #3576
Refs #3577
🤖 Generated with Claude Code