Skip to content
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

runtests: display the test status if tests appear hung #11980

Closed
wants to merge 2 commits into from

Conversation

dfandrich
Copy link
Contributor

It sometimes happens that a test hangs during a test run and never returns.
The test harness will wait indefinitely for the results and on CI servers
the CI job will eventually be killed after an hour or two. At the end of a
test run, if results haven't come in within a couple of minutes, display
the status of all test runners and what tests they're running to help in
debugging the problem.

This was added due to what seemed to be a bug regarding the sync-labels:
config option, but it looks like it wasn't necessary.
It sometimes happens that a test hangs during a test run and never
returns. The test harness will wait indefinitely for the results and on
CI servers the CI job will eventually be killed after an hour or two.
At the end of a test run, if results haven't come in within a couple of
minutes, display the status of all test runners and what tests they're
running to help in debugging the problem.

This feature is really only kick in with parallel testing enabled, which
is fine because without parallel testing it's usually easy to tell what
test has hung.

Closes #11980
@github-actions github-actions bot added CI Continuous Integration tests labels Sep 29, 2023
@dfandrich dfandrich closed this in 65729f6 Sep 29, 2023
@dfandrich dfandrich deleted the dfandrich/testhanglog branch September 29, 2023 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration tests
Development

Successfully merging this pull request may close these issues.

None yet

1 participant