Repository navigation
test(interop): quarantine the cpp and rust finish cases and plan their fix #8404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+43
−0
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # [S] Interop's cpp and rust finish cases hold up under load | ||
|
|
||
| ## Goal | ||
|
|
||
| `just test interop --finish --all` passes its `finish cpp -> *` and | ||
| `finish rust -> *` cells on a loaded host, and their quarantine in | ||
| `test/interop/interop.sh`'s `run_finishes` is removed. | ||
|
|
||
| ## Plan | ||
|
|
||
| Planned 2026-11-09 (maintainer, /quest-complete), under the repository's | ||
| flaky-test rule. Two agents' local `just test interop --all` runs, both under a | ||
| host load average above 30, failed once each and passed on rerun. No logs were | ||
| kept. | ||
|
|
||
| - All nine `finish cpp -> *` cells failed together, while iterating | ||
| [moq-dev/moq#8358](https://github.com/moq-dev/moq/pull/8358). | ||
| - The `finish rust -> *` cells failed, while iterating | ||
| [moq-dev/moq#8220](https://github.com/moq-dev/moq/pull/8220): the Rust | ||
| publisher never printed `finish acknowledged`, though every reader ended | ||
| clean. | ||
|
|
||
| Reproduce it first, under load as the epic describes, with the interop logs | ||
| kept. Suspected, not confirmed: the publisher's wait for the finish | ||
| acknowledgement (the FIFO the runner writes after every reader ends). That | ||
| cpp's cells all failed together also points at its publisher rather than any | ||
| reader. Fix the cause, never with a longer limit, then remove the quarantine. | ||
|
|
||
| Public API: none. Wire: none. |
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Script executed:
Repository: moq-dev/moq
Length of output: 7425
Script executed:
Repository: moq-dev/moq
Length of output: 36140
Script executed:
Repository: moq-dev/moq
Length of output: 19518
Preserve publisher build failures before skipping cases.
If the C++ build fails,
--finish --publishers cpp,python --subscribers pythoncan pass when the Python case passes. The C++ case is recorded as a quarantine skip, and setup only prints a warning. Check publisher availability before applying the quarantine.Suggested fix
for pub in "${PUB_LIST[@]}"; do name="finish-$pub" + if is_broken "$pub"; then + echo "=== finished media: $pub ===" + for sub in "${SUB_LIST[@]}"; do record fail case=finish publisher="$pub" subscriber="$sub" detail="publisher unavailable"; done + overall=1 + continue + fi # Quarantined: quest/m0/test-flakes-2/interop-finish.md. The cpp and rust publishers' # finish cases failed under a loaded host and passed on rerun. @@ late=0 started=$SECONDS echo "=== finished media: $pub ===" - if is_broken "$pub"; then - for sub in "${SUB_LIST[@]}"; do record fail case=finish publisher="$pub" subscriber="$sub" detail="publisher unavailable"; done - overall=1 - continue - fi mkfifo "$ack"