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
Bug 1809862: report lastlogsnippet from init containers on failed/errored builds #77
Bug 1809862: report lastlogsnippet from init containers on failed/errored builds #77
Conversation
@gabemontero: This pull request references Bugzilla bug 1809862, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think i'd still like to see an e2e test for this to ensure the pod's init container gets the message set and we pick it up.
there's an existing test for logsnippet in failure_status.go that checks that logsnippet gets set for a "normal" failure (fails during main container). Should be fairly easy to add another test with a build that fails in the init container (e.g. due to git clone failure):
332cb5b
to
e8ce8d6
Compare
updates pushed @bparees ... I will /hold this until I get the openshift/origin e2e change up |
updates look good, will await e2e |
e2e test in openshift/origin PR above |
Seen a couple of instances of this unit test failure (unrelated to my change):
Not seeing this when I run unit tests locally. We'll see if this is a flake after sorting out the e2e's |
install / terraform flake on e2e-aws-builds ... will try again in a little bit, in case we are hitting AWS throttling |
/retest |
the new e2e is catching what this PR fixes as we hoped: openshift/origin#24727 (comment) /hold cancel |
non-build flakes e2e-aws /test e2e-aws |
/retest |
have green tests and e2e in openshift/origin is ready @bparees |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bparees, gabemontero The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…yClass Update pod.yaml to include priorityClassName
aside from including init container, I'm including BuildPhaseError that build controller will set for containers that complete bug exit with non 0 rc
/assign @bparees
@openshift/openshift-team-developer-experience fyi / ptal