-
Notifications
You must be signed in to change notification settings - Fork 0
flake: agent/agentscripts TestTimeout: signal: hangup #329
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
flake: agent/agentscripts TestTimeout: signal: hangup #329
Comments
I'm not able to reproduce this easily. Possibly something on the runner sent a SIGHUP to the process? The Go docs state:
We could possibly switch the agent script runner out to use an |
Opened coder/coder#16324 to at least add some more logging around this so we know if we did this ourselves. |
Relates to coder/internal#329 It's currently unclear where the SIGHUP came from; adding some logging to make it more clear if it happens again in future. --------- Co-authored-by: Danny Kopping <danny@coder.com>
Relates to coder/internal#329 It's currently unclear where the SIGHUP came from; adding some logging to make it more clear if it happens again in future. --------- Co-authored-by: Danny Kopping <danny@coder.com>
Closing this out as it hasn't cropped up in a while. |
This looks like a side-effect of an overloaded runner based on the error log:
Note that it took more than 4ms to return an exit code of -1 and the test at time of writing is configured thus:
From
So the |
Fixes coder/internal#329 This was due to a race between the process starting and the timeout of the agent startup script executor. I'm taking the 'lazy' route here and increasing the timeout to 100ms. This does technically mean that this makes the test 100 times longer to execute. However, if it takes more than 100ms to run a `sleep infinity` command on our test runner, I think we have other issues.
Seen again on a new branch off main: https://github.com/coder/coder/actions/runs/14350318934/job/40227755031
|
Skipping this test on macOS for now. coder/coder#17300 |
Seen here: https://github.com/coder/coder/actions/runs/13030093986/job/36347281581
The text was updated successfully, but these errors were encountered: