-
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
'[ "$(oc rsh ${BUILD_ID}-build 2>&1 | grep 'forbidden')" ]' exited with status 1 #5602
Comments
I'm wondering if this is related to #5525 by any chance. I may need to spin up an ec2 vm and test there. I've not been able to repro locally. |
It's in the following test jobs:
and the following merge jobs:
|
@ncdc found this, which I can confirm locally: execing into a privileged pod as a regular project admin gives me this error:
Note the upper-case Forbidden, instead of the expected lower-case forbidden the end-to-end test checks. Digging into when this changed and how the change passed e2e |
Changed since v1.0.7, bisecting now |
Bisected to #5525 |
How did my PR make it through? On Monday, November 2, 2015, Jordan Liggitt [email protected]
|
no idea |
the weird thing is that the current "Forbidden" error is actually what I would expect to have gotten back |
When #5525 merged, this is the error the rsh into the build pod encountered:
edit: just saw that was sti... still digging |
Good sleuthing. And :frown: On Monday, November 2, 2015, Jordan Liggitt [email protected]
|
#5525 masked the details of the server error (including the "forbidden because..." text) by not reading and parsing the body when a non-upgrade status code was returned, and instead returning the generic "Forbidden" message |
two checks in end-to-end for admission errors |
fixed by #5620 |
https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/6591/console
https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/6593/console
https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/6594/console
https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/6595/console
https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/6596/console
https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/6597/console
https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/6599/console
https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/6602/console
https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/6603/console
The text was updated successfully, but these errors were encountered: