-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 in test/cmd/builds.sh: oc cancel-build build/ruby-sample-build-1 #6339
Comments
I thought we had a known flake here @bparees on cancelling builds too fast. |
doesn't ring a bell, and the above code is retrying for 60s, so it seems like the build never got created or got created and immediately failed, making it non-cancellable. oc cancel-build should probably dump the current state of the build as part of the error message, that would tell us more about why cancel is failing. |
The error message is also scarier than it should be. On Wed, Dec 16, 2015 at 1:47 PM, Ben Parees [email protected]
|
how so? |
"A build can be cancelled only if it has new/pending/running status." -> On Wed, Dec 16, 2015 at 2:03 PM, Ben Parees [email protected]
|
was a race condition... if the cancellation was acted on quickly enough, the message would change to "must be in pending/running state" |
seen in https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/7860 run from #6330:
The text was updated successfully, but these errors were encountered: