-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
x/build/internal/workflow: apparent deadlock in TestResume #49318
Comments
2021-10-25T17:09:57-a72dd9f-70ffd85/linux-amd64-race |
It appears that the workflow has nothing to do, but it hasn't succeeded. That must mean that a task failed. The current design of the workflow package is that it will simply hang it that scenario waiting for someone to (e.g.) click a button to retry the task. It's a little embarrassing, but I don't see how that can happen in this test, and I can't reproduce it in 10K local runs. For now, I've written a CL that adds timeouts to most tests and has the workflow give up if it's stuck. |
Change https://golang.org/cl/361195 mentions this issue: |
We don't want to abort a workflow when a single task fails -- we want to let other tasks finish if they can. However, once everything that can run has, there's no point in sticking around. Exit in that case. Also set timeouts on most tests. Updates golang/go#49318. Change-Id: I3dcdb7eb5703e6502cf7f155213cdad6595c4bac Reviewed-on: https://go-review.googlesource.com/c/build/+/361195 Trust: Heschi Kreinick <heschi@google.com> Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
The change to make the test give up if stuck seems to have at least changed the failure mode!
2021-11-10T05:08:25-1e70b36-17980df/linux-amd64-race:
2021-11-04T20:01:22-6cdc019-6d1fffa/linux-amd64-race:
|
I can reproduce the failure about 50% of the time by adding
|
Mailed a fix. It's a race in |
Change https://golang.org/cl/362974 mentions this issue: |
Spotted in a
linux-amd64-race
TryBot (https://storage.googleapis.com/go-build-log/6458b2e8/linux-amd64-race_089ef1b2.log):The text was updated successfully, but these errors were encountered: