Skip to content

test: Stop three unrelated failures from failing the asan job - #3579

Merged
vpacher merged 2 commits into
masterfrom
fix/3575-alsa-thread-baseline
Nov 3, 2026
Merged

vpacher merged 2 commits into
masterfrom
fix/3575-alsa-thread-baseline

Conversation

@vpacher

@vpacher vpacher commented Nov 3, 2026

Copy link
Copy Markdown
Member

What changed

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.

  • RED, baseline read once: 2 != 3, destroy_while_away fails.
  • GREEN, stable baseline: all 5 cases pass.

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

vpacher and others added 2 commits November 3, 2026 19:42
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]>
@vpacher
vpacher requested a review from zackees as a code owner November 3, 2026 18:45
@vpacher
vpacher enabled auto-merge November 3, 2026 18:47
@vpacher
vpacher added this pull request to the merge queue Nov 3, 2026
Merged via the queue into master with commit 929eef7 Nov 3, 2026
42 checks passed
@vpacher
vpacher deleted the fix/3575-alsa-thread-baseline branch November 3, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

test: test_alsa_device_lost can take its thread baseline while an old thread still exits

1 participant