Repository navigation
fix(ci): de-flake startup_budget stalled-probe test (CHE-9154) [squash] - #332
Draft
congvc-bot-x99[bot] wants to merge 1 commit into
Draft
congvc-bot-x99[bot] wants to merge 1 commit into
congvc-bot-x99[bot] wants to merge 1 commit into
Conversation
…d write (CHE-9154)
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.
Fixes CHE-9154.
Cause
test_a_stalled_probe_fails_within_the_probe_limit_and_leaves_no_childused a 0.5 sPROBE_TIMEOUT. On a loaded runner the child interpreter can take longer than that to start, so it is killed before it writesprobe.pid; the test then fails withFileNotFoundError: .../probe.pid(CI run 44231444603, one-off, main green since).Fix (test only, no product code)
PROBE_TIMEOUT0.5 s -> 5.0 s, so start-up has headroom.TimeoutExpiredand that the child pid is gone.Tests
Repeat: 50 runs (5 batches x 10 parallel) with 56 busy-loop processes on a 56-core host: 0 failures of 50.
Cost: the test now takes ~5 s instead of ~0.5 s.