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

Framework may have a problem in waiting for the SIGQUIT exit #157

Open
thiagomacieira opened this issue Sep 28, 2022 · 0 comments
Open

Framework may have a problem in waiting for the SIGQUIT exit #157

thiagomacieira opened this issue Sep 28, 2022 · 0 comments

Comments

@thiagomacieira
Copy link
Contributor

Seen in an extracted log:

"Sep 19, 2022 @ 18:05:48.381","# Executing test testname 'xxx'"
"Sep 19, 2022 @ 18:10:48.573","# Could not start 'ps': No such file or directory"
"Sep 19, 2022 @ 18:11:09.459","not ok 1842 testname       # timed out"

The 5 minutes between the first line and the second are the standard timeout

Duration result = regular_duration * 5 + 30s;
if (result < 300s)
result = 300s;

The interval between the second and third lines is 21 seconds, which is suspiciously close to the timeout for the SIGQUIT:

/* timed out, force the child to exit */
debug_hung_child(child);
terminate_child();
if (!do_wait(20s)) {

The "could not start 'ps'" message comes from the debug_hung_child call.

Is it possible this do_wait is failing to realise that the process has exited/crashed and always times out, though gets the result right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant