-
Notifications
You must be signed in to change notification settings - Fork 2.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
releng: Teach jobs using latest-fast marker to extract from K8s Infra #19841
releng: Teach jobs using latest-fast marker to extract from K8s Infra #19841
Conversation
@kubernetes/ci-signal -- please keep an eye on these jobs. |
Actually... @spiffxp may have already provided a mechanism for fixing this with the ref: #19484 (comment)
Let me rework this PR. |
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
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
2b282b3
to
c6cd9b7
Compare
@@ -23,6 +23,7 @@ periodics: | |||
- --scenario=kubernetes_e2e | |||
- -- | |||
- --extract=ci/latest-fast | |||
- --extract-ci-bucket=k8s-release-dev |
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.
@justaugustus do we always want to get version markers from k8s-release-dev
now, or are some jobs (not necessarily owned by sig-release) still requiring usage of kubenertes-release-dev
?
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.
@hasheddan -- explained in the updated description, but pasting to fire the email notification:
As we continue to migrate release-blocking jobs to a dedicated K8s Infra
cluster, jobs that use the latest-fast marker need to extract builds
from gs://k8s-release-dev, which is the K8s Infra equivalent of
gs://kubernetes-release-dev.A new flag (--extract-ci-bucket=k8s-release-dev) was added to support
this transitional use case, so we employ it here.
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.
@justaugustus gotcha 👍 was just wondering if we were ready to modify the extract logic to use this by default
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.
@hasheddan -- Not yet. The primary (non-fast) build jobs still need to be migrated. That's being tracked in #19483.
As we continue to migrate release-blocking jobs to a dedicated K8s Infra cluster, jobs that use the latest-fast marker need to extract builds from gs://k8s-release-dev, which is the K8s Infra equivalent of gs://kubernetes-release-dev. A new flag ('--extract-ci-bucket=k8s-release-dev') was added to support this transitional use case, so we employ it here. Exceptions: Of note, the ci-kubernetes-e2e-gce-master-new-gci-kubectl-skew-serial is not included in this PR. This job does two extractions: - --extract=ci/k8s-stable1 - --extract=ci/latest-fast As the generic version markers (like 'k8s-stable1') have not been migrated to K8s Infra, we cannot take advantage of this flag. We'll plan to fix this job in a follow-up. Signed-off-by: Stephen Augustus <saugustus@vmware.com>
c6cd9b7
to
0cb4807
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
Need a |
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
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cpanato, hasheddan, justaugustus, saschagrunert, wojtek-t, xmudrii 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 @justaugustus - are we sure that this will fix all jobs? |
/hold cancel copying from slack discussion:
|
@justaugustus: Updated the
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. |
Fairly certain! W1104 14:02:14.106] 2020/11/04 14:02:14 extract_k8s.go:295: U=https://storage.googleapis.com/k8s-release-dev/ci/fast R=v1.20.0-beta.1.49+71fea80155e5c1 get-kube.sh
W1104 14:02:14.107] 2020/11/04 14:02:14 process.go:153: Running: ./get-kube.sh
I1104 14:02:14.207] Downloading kubernetes release v1.20.0-beta.1.49+71fea80155e5c1
I1104 14:02:14.207] from https://storage.googleapis.com/k8s-release-dev/ci/fast/v1.20.0-beta.1.49+71fea80155e5c1/kubernetes.tar.gz
I1104 14:02:14.208] to /workspace/kubernetes.tar.gz
W1104 14:02:15.408] Copying gs://k8s-release-dev/ci/fast/v1.20.0-beta.1.49+71fea80155e5c1/kubernetes.tar.gz...
W1104 14:02:15.559] / [0 files][ 0.0 B/498.3 KiB]
/ [1 files][498.3 KiB/498.3 KiB]
W1104 14:02:15.560] Operation completed over 1 objects/498.3 KiB.
I1104 14:02:15.821] Unpacking kubernetes release v1.20.0-beta.1.49+71fea80155e5c1
I1104 14:02:15.889] Kubernetes release: v1.20.0-beta.1.49+71fea80155e5c1 |
As we continue to migrate release-blocking jobs to a dedicated K8s Infra
cluster, jobs that use the latest-fast marker need to extract builds
from
gs://k8s-release-dev
, which is the K8s Infra equivalent ofgs://kubernetes-release-dev
.A new flag (
--extract-ci-bucket=k8s-release-dev
) was added to supportthis transitional use case, so we employ it here.
Exceptions:
Of note, the ci-kubernetes-e2e-gce-master-new-gci-kubectl-skew-serial is
not included in this PR.
This job does two extractions:
--extract=ci/k8s-stable1
--extract=ci/latest-fast
As the generic version markers (like
k8s-stable1
) have not beenmigrated to K8s Infra, we cannot take advantage of this flag.
We'll plan to fix this job in a follow-up.
(May mitigate #19838.)
This is part of migrating release-blocking jobs to K8s Infra (ref: #19484, #18549).
Previous thought process (2b282b3) is explained here:
This reverts commit f1fd414. (ref: #19660).tl;dr of what's happening is that any existing job that extracts thelatest-fast
version marker is extracting the marker fromgs://kubernetes-release-dev/ci/fast
(Google Infra) instead ofgs://k8s-release-dev/ci/fast
(K8s Infra), which means they are using stale builds.We need to make an accompanying change to the extract logic, which will take some time to roll out new images for.This is the quickest course of action in the meantime.
/assign @cpanato @saschagrunert @hasheddan
/priority critical-urgent
cc: @kubernetes/sig-scalability @kubernetes/release-engineering