Repository navigation
test: run the screencast portal teardown test verbosely (#2099 diagnostics) - #2123
Merged
Merged
Conversation
…ows its last step (#2099)
This was referenced Oct 24, 2026
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.
Refs #2099.
test_screencast_portal_teardownhung to its 20 s alarm once in a merge-queue run (40076937467, Tier 2 ON). The child printed nothing before the alarm, so there is no clue where it waited.Reproduction attempts, all passing:
run.sh --repeat 50, both builds): max 1.95 s.--repeat 200, both builds): every run 1.88-1.89 s.The timing is flat, so this is not a slow wait that load stretches, but a rare race that gets stuck (bus/portal setup, the destroy path, or shutdown).
Change: the test's registration (
tests.d, not the C test, which stays unchanged) setsPORTAL_TEST_VERBOSE=1, an option the test already has: it prints every libobs log line to stderr, and ctest shows it on failure. The next hang shows the last step reached, or, with no lines at all, that it stuck beforeobs_startup()(D-Bus or X setup). Passing runs only add output to the ctest log.No RED applies (diagnostics only, no behavior change). Tier 2 runs on this PR and shows the test still passes with the variable set.
./lintpasses.