Repository navigation
test: packaged startup names an unanswered request and prints the OBS log on failure (#2161) - #2169
Merged
Merged
Conversation
…og on failure (RED, #2161)
… log on failure (#2161) The Windows missing-camera check timed out with a bare asyncio TimeoutError, and the fixture's cleanup then deleted the OBS log, so nothing showed why the frontend stopped answering. Raise a RuntimeError naming GetInputKindList, and print the newest frontend log after the frontend is closed and before cleanup whenever the check fails. Refs #2161
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 #2161 (diagnostics only; the hang itself still needs its cause).
In release run 40097160881, the Windows missing-camera check failed with a bare
asyncioTimeoutErrorfromwait_until_ready. OBS connected but never answeredGetInputKindList.ConfigFixture.cleanup()then deleted the config directory, OBS's log included, so the run kept no trace of why the frontend stopped answering.wait_until_ready: a request that gets no reply before the deadline now raisesRuntimeError("packaged frontend did not answer GetInputKindList within its startup deadline").main(): when the check fails, the newest frontend log is printed (as a log group) after the frontend is closed or killed and before cleanup.The expected-failure steps still match: they look for
capture plugins are missing.*dshow_inputin the captured output, and the log is only added text.ci/test_packaged_startup.pyfailed. One got the bareTimeoutError, and two hitAttributeError: ... no attribute 'report_frontend_log'../lintpasses.With this in, the next scheduled release run shows OBS's log for #2161.