Skip to content

Commit

Permalink
ci-kubernetes-e2e-kubeadm-gce pulling ci/latest not bazel build artif…
Browse files Browse the repository at this point in the history
…acts

The ci-kubernetes-e2e-kubeadm-gce test jobs are consistently failing. If you look at test results and logs for a given failing test job, and then compare it to the corresponding prior (prerequisite) bazel build job, you can see that the build job is pushing the build artifacts in the proper gs://kubernetes-release/bazel/... storage bucket, but the test job is extracting (or attempting to extract) build results from ci/latest. The test job also seems to be using inconsistent versions of kubeadm/kubelet/kubernetes.

This is very likely one of the causes of the CI test outages described in kubernetes/kubernetes#59762.

This failure mode is also seen in other ci-kubernetes-e2e-XXXX test cases, but I'd like to try a fix first on one representative test job, and then replicate the fix to other test jobs if it works.

Fixes kubernetes#6978
  • Loading branch information
Dane LeBlanc committed Feb 24, 2018
1 parent 3f2f7a4 commit daa4ba2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion jobs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8775,7 +8775,6 @@
"--gcp-zone=us-central1-f",
"--kubeadm=ci",
"--kubernetes-anywhere-dump-cluster-logs=true",
"--kubernetes-anywhere-kubelet-ci-version=latest",
"--kubernetes-anywhere-kubernetes-version=ci/latest",
"--provider=kubernetes-anywhere",
"--test_args=--ginkgo.focus=\\[Conformance\\]|\\[Feature:BootstrapTokens\\]|\\[Feature:NodeAuthorizer\\] --minStartupPods=8",
Expand Down
7 changes: 4 additions & 3 deletions scenarios/kubernetes_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,9 +547,10 @@ def main(args):
'--kubernetes-anywhere-kubeadm-version=%s' % version,
])

if args.kubeadm == "pull":
# If this is a pull job; the kubelet version should equal
# the kubeadm version here: we should use debs from the PR build
if args.kubeadm == "pull" or args.kubeadm == "ci":
# If this is a pull or ci job; the kubelet version should equal
# the kubeadm version here: we should use debs from the PR or
# post-submit build
runner_args.extend([
'--kubernetes-anywhere-kubelet-version=%s' % version,
])
Expand Down

0 comments on commit daa4ba2

Please sign in to comment.