-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Print out stdout and stderr of tests on SIGTERM #1208
Comments
sunshowers
added a commit
to sunshowers/nextest
that referenced
this issue
Jan 9, 2024
These signals are almost always generated by automation in e.g. CI. Fixes nextest-rs#1208.
sunshowers
added a commit
to sunshowers/nextest
that referenced
this issue
Jan 9, 2024
These signals are almost always generated by automation in e.g. CI. Fixes nextest-rs#1208.
sunshowers
added a commit
to sunshowers/nextest
that referenced
this issue
Jan 9, 2024
These signals are almost always generated by automation in e.g. CI. Fixes nextest-rs#1208.
sunshowers
added a commit
that referenced
this issue
Jan 9, 2024
These signals are almost always generated by automation in e.g. CI. Fixes #1208.
sunshowers
added a commit
to oxidecomputer/omicron
that referenced
this issue
Jan 9, 2024
We're seeing some tests in `test_all` hang forever (#4779). Set a reasonable upper bound on test duration. This will also cause stdout and stderr for failing tests to be printed. Doing so on SIGTERM in general is tracked at nextest-rs/nextest#1208. Also, bump up the required nextest version to 0.9.64 to make use of the `binary_id` predicate.
sunshowers
added a commit
to oxidecomputer/omicron
that referenced
this issue
Jan 9, 2024
This version of nextest has a fix for nextest-rs/nextest#1208, which we encountered while attempting to diagnose #4779.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While attempting to diagnose oxidecomputer/omicron#4779, we found it hard to do so because nextest does not show the output of running tests on SIGTERM.
We don't print out the stdout and stderr of tests on SIGINT, because it is quite ugly to do so on Ctrl-C (though maybe we should write stdout and stderr to a file). However, SIGTERM almost always means an automated system like a CI timeout killing nextest, so we should print out the output in that case.
The text was updated successfully, but these errors were encountered: