-
Notifications
You must be signed in to change notification settings - Fork 38.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
[CI Job failure] Fix job containerd-e2e-ubuntu #107832
[CI Job failure] Fix job containerd-e2e-ubuntu #107832
Conversation
/sig node |
07a31f4
to
064b1a6
Compare
064b1a6
to
849ad2d
Compare
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.
/lgtm
thanks for fixing this 🎉 (and thanks @bobbypage for testing), one of the fun parts of OSS is when stuff happens while 😴.
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.
/priority important-soon
/triage accepted
/approve
/hold
(hold for the comment update)
/retest |
/lgtm Thanks for making the fix! |
Signed-off-by: Aditi Sharma <adi.sky17@gmail.com>
849ad2d
to
a251acd
Compare
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.
/lgtm
/assign @cheftako @dchen1107 |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adisky, dchen1107, endocrimes, SergeyKanzhelev 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 |
/hold cancel |
Signed-off-by: Aditi Sharma adi.sky17@gmail.com
What type of PR is this?
/kind failing-test
What this PR does / why we need it:
A possible fix for https://testgrid.k8s.io/sig-node-containerd#containerd-e2e-ubuntu
jobs which require containerd installation from ubuntu repos always set this
https://cs.k8s.io/?q=KUBE_UBUNTU_INSTALL_CONTAINERD_VERSION&i=nope&files=&excludeFiles=&repos=
for this job we install containerd from containerd repo
https://github.com/kubernetes/test-infra/blob/master/config/jobs/kubernetes/sig-node/containerd.yaml#L9-#L10
the order of installation might be different for both methods , so checking containerd installation at this point for this job might be causing the failure.
Also before this PR got merged the flag
container_runtime=remote
was preventing to reach this check for this jobhttps://github.com/kubernetes/kubernetes/pull/107663/files#diff-dcbe601f5e14c1d9d805d0daf3629e02d1e1ea2be615f6e7f3036ca90a25c6e4L597-L608
EDIT: on digging further with @bobbypage it turned out that
ctr
is not in the path while doing these checks, so sourcing containerd env if present, see discussion on the issue page for more detailsWhich issue(s) this PR fixes:
ref #107800
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: