PRerrordeveloper: WIP: Refactor most of `kubectl drain` as a library
ResultFAILURE
Tests 1 failed / 1 succeeded
Started2019-01-11 18:44
Elapsed3m10s
Revision
Buildergke-prow-containerd-pool-99179761-3k8h
Refs master:d2d9a3ab
72827:6bc7201d
podd6bcf566-15d0-11e9-84bb-0a580a6c0361
infra-commit7d5cca6b5
job-versionv1.14.0-alpha.0.1644+8b138352e7fa9c
podd6bcf566-15d0-11e9-84bb-0a580a6c0361
repok8s.io/kubernetes
repo-commit8b138352e7fa9c9af257d26e2f794a135b0e8e13
repos{u'k8s.io/kubernetes': u'master:d2d9a3aba471e56e1a753a05061dc6cb60137711,72827:6bc7201da21e0989abbbdeca5f979034ded97183', u'k8s.io/release': u'master'}
revisionv1.14.0-alpha.0.1644+8b138352e7fa9c

Test Failures


Build 1m9s

error during make -C /go/src/k8s.io/kubernetes bazel-release: exit status 2
				from junit_runner.xml

Filter through log files | View test history on testgrid


Show 1 Passed Tests

Error lines from build-log.txt

... skipping 10 lines ...
I0111 18:44:19.950] process 65 exited with code 0 after 0.0m
I0111 18:44:19.950] Call:  gcloud config get-value account
I0111 18:44:20.245] process 77 exited with code 0 after 0.0m
I0111 18:44:20.246] Will upload results to gs://kubernetes-jenkins/pr-logs using pr-kubekins@kubernetes-jenkins-pull.iam.gserviceaccount.com
I0111 18:44:20.246] Call:  kubectl get -oyaml pods/d6bcf566-15d0-11e9-84bb-0a580a6c0361
W0111 18:44:20.378] The connection to the server localhost:8080 was refused - did you specify the right host or port?
E0111 18:44:20.382] Command failed
I0111 18:44:20.382] process 89 exited with code 1 after 0.0m
E0111 18:44:20.382] unable to upload podspecs: Command '['kubectl', 'get', '-oyaml', 'pods/d6bcf566-15d0-11e9-84bb-0a580a6c0361']' returned non-zero exit status 1
I0111 18:44:20.382] Root: /go/src
I0111 18:44:20.383] cd to /go/src
I0111 18:44:20.383] Checkout: /go/src/k8s.io/kubernetes master:d2d9a3aba471e56e1a753a05061dc6cb60137711,72827:6bc7201da21e0989abbbdeca5f979034ded97183 to /go/src/k8s.io/kubernetes
I0111 18:44:20.383] Call:  git init k8s.io/kubernetes
... skipping 184 lines ...
W0111 18:46:12.419] INFO: Found 1 target...
W0111 18:46:12.671] [0 / 17] [-----] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running)
W0111 18:46:18.512] [421 / 1,768] GoStdlib external/io_bazel_rules_go/linux_amd64_pure_stripped/stdlib%/pkg; 3s remote-cache ... (7 actions, 6 running)
W0111 18:46:20.206] INFO: From  <rule context for //pkg/generated/openapi:zz_generated.openapi>:
W0111 18:46:20.206] 2019/01/08 22:50:41 Code for OpenAPI definitions generated
W0111 18:46:25.496] [1,724 / 3,004] GoCompile staging/src/k8s.io/api/extensions/v1beta1/linux_amd64_stripped/go_default_library%/k8s.io/kubernetes/vendor/k8s.io/api/extensions/v1beta1.a; 0s remote-cache ... (5 actions running)
W0111 18:46:28.067] ERROR: /go/src/k8s.io/kubernetes/pkg/util/node/drain/BUILD:3:1: GoCompile pkg/util/node/drain/linux_amd64_pure_stripped/go_default_library%/k8s.io/kubernetes/pkg/util/node/drain.a failed (Exit 1): compile failed: error executing command 
W0111 18:46:28.067]   (cd /bazel-scratch/.cache/bazel/_bazel_prow/48d5366022b4e3197674c8d6e2bee219/execroot/__main__ && \
W0111 18:46:28.068]   exec env - \
W0111 18:46:28.068]     CGO_ENABLED=0 \
W0111 18:46:28.068]     GOARCH=amd64 \
W0111 18:46:28.068]     GOOS=linux \
W0111 18:46:28.068]     GOROOT=bazel-out/k8-fastbuild/bin/external/io_bazel_rules_go/linux_amd64_pure_stripped/stdlib% \
W0111 18:46:28.068]     GOROOT_FINAL=GOROOT \
W0111 18:46:28.068]     PATH=/usr/bin:/bin \
W0111 18:46:28.070]   bazel-out/host/bin/external/io_bazel_rules_go/go/tools/builders/linux_amd64_stripped/compile -sdk external/go_sdk -installsuffix linux_amd64 -src pkg/util/node/drain/drain.go -arc 'k8s.io/api/core/v1=k8s.io/kubernetes/vendor/k8s.io/api/core/v1=bazel-out/k8-fastbuild/bin/staging/src/k8s.io/api/core/v1/linux_amd64_pure_stripped/go_default_library%/k8s.io/kubernetes/vendor/k8s.io/api/core/v1.a' -arc 'k8s.io/api/policy/v1beta1=k8s.io/kubernetes/vendor/k8s.io/api/policy/v1beta1=bazel-out/k8-fastbuild/bin/staging/src/k8s.io/api/policy/v1beta1/linux_amd64_pure_stripped/go_default_library%/k8s.io/kubernetes/vendor/k8s.io/api/policy/v1beta1.a' -arc 'k8s.io/apimachinery/pkg/api/errors=k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/api/errors=bazel-out/k8-fastbuild/bin/staging/src/k8s.io/apimachinery/pkg/api/errors/linux_amd64_pure_stripped/go_default_library%/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/api/errors.a' -arc 'k8s.io/apimachinery/pkg/apis/meta/v1=k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1=bazel-out/k8-fastbuild/bin/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/linux_amd64_pure_stripped/go_default_library%/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1.a' -arc 'k8s.io/apimachinery/pkg/fields=k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/fields=bazel-out/k8-fastbuild/bin/staging/src/k8s.io/apimachinery/pkg/fields/linux_amd64_pure_stripped/go_default_library%/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/fields.a' -arc 'k8s.io/apimachinery/pkg/labels=k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/labels=bazel-out/k8-fastbuild/bin/staging/src/k8s.io/apimachinery/pkg/labels/linux_amd64_pure_stripped/go_default_library%/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/labels.a' -arc 'k8s.io/cli-runtime/pkg/genericclioptions/resource=k8s.io/kubernetes/vendor/k8s.io/cli-runtime/pkg/genericclioptions/resource=bazel-out/k8-fastbuild/bin/staging/src/k8s.io/cli-runtime/pkg/genericclioptions/resource/linux_amd64_pure_stripped/go_default_library%/k8s.io/kubernetes/vendor/k8s.io/cli-runtime/pkg/genericclioptions/resource.a' -arc 'k8s.io/client-go/kubernetes=k8s.io/kubernetes/vendor/k8s.io/client-go/kubernetes=bazel-out/k8-fastbuild/bin/staging/src/k8s.io/client-go/kubernetes/linux_amd64_pure_stripped/go_default_library%/k8s.io/kubernetes/vendor/k8s.io/client-go/kubernetes.a' -arc 'k8s.io/client-go/rest=k8s.io/kubernetes/vendor/k8s.io/client-go/rest=bazel-out/k8-fastbuild/bin/staging/src/k8s.io/client-go/rest/linux_amd64_pure_stripped/go_default_library%/k8s.io/kubernetes/vendor/k8s.io/client-go/rest.a' -o bazel-out/k8-fastbuild/bin/pkg/util/node/drain/linux_amd64_pure_stripped/go_default_library%/k8s.io/kubernetes/pkg/util/node/drain.a -package_list bazel-out/host/bin/external/go_sdk/packages.txt -- -trimpath . -p k8s.io/kubernetes/pkg/util/node/drain)
W0111 18:46:28.070] 
W0111 18:46:28.070] Use --sandbox_debug to see verbose messages from the sandbox
W0111 18:46:28.070] GoCompile: error running compiler: exit status 2
I0111 18:46:28.171] /bazel-scratch/.cache/bazel/_bazel_prow/48d5366022b4e3197674c8d6e2bee219/sandbox/linux-sandbox/2123/execroot/__main__/pkg/util/node/drain/drain.go:126:65: undefined: podDeleteList
I0111 18:46:28.171] /bazel-scratch/.cache/bazel/_bazel_prow/48d5366022b4e3197674c8d6e2bee219/sandbox/linux-sandbox/2123/execroot/__main__/pkg/util/node/drain/drain.go:139:12: undefined: podDelete
I0111 18:46:28.172] /bazel-scratch/.cache/bazel/_bazel_prow/48d5366022b4e3197674c8d6e2bee219/sandbox/linux-sandbox/2123/execroot/__main__/pkg/util/node/drain/drain.go:142:27: o.makeDefaultFilters undefined (type *Options has no field or method makeDefaultFilters)
I0111 18:46:28.172] /bazel-scratch/.cache/bazel/_bazel_prow/48d5366022b4e3197674c8d6e2bee219/sandbox/linux-sandbox/2123/execroot/__main__/pkg/util/node/drain/drain.go:144:24: undefined: podDelete
I0111 18:46:28.172] /bazel-scratch/.cache/bazel/_bazel_prow/48d5366022b4e3197674c8d6e2bee219/sandbox/linux-sandbox/2123/execroot/__main__/pkg/util/node/drain/drain.go:158:10: undefined: podDeleteList
W0111 18:46:28.296] Target //build/release-tars:release-tars failed to build
W0111 18:46:28.306] INFO: Elapsed time: 57.362s, Critical Path: 10.92s
W0111 18:46:28.308] INFO: 2222 processes: 2222 remote cache hit.
W0111 18:46:28.313] FAILED: Build did NOT complete successfully
W0111 18:46:28.313] FAILED: Build did NOT complete successfully
W0111 18:46:28.321] make: *** [bazel-release] Error 1
W0111 18:46:28.321] 2019/01/11 18:46:28 process.go:155: Step 'make -C /go/src/k8s.io/kubernetes bazel-release' finished in 1m9.761462154s
W0111 18:46:28.322] 2019/01/11 18:46:28 util.go:255: Flushing memory.
I0111 18:46:28.422] Makefile:604: recipe for target 'bazel-release' failed
I0111 18:46:28.423] make: Leaving directory '/go/src/k8s.io/kubernetes'
W0111 18:46:48.229] 2019/01/11 18:46:48 process.go:96: Saved XML output to /workspace/_artifacts/junit_runner.xml.
W0111 18:46:48.256] 2019/01/11 18:46:48 process.go:153: Running: bash -c . hack/lib/version.sh && KUBE_ROOT=. kube::version::get_version_vars && echo "${KUBE_GIT_VERSION-}"
W0111 18:47:06.166] 2019/01/11 18:47:06 process.go:155: Step 'bash -c . hack/lib/version.sh && KUBE_ROOT=. kube::version::get_version_vars && echo "${KUBE_GIT_VERSION-}"' finished in 17.937243165s
W0111 18:47:06.170] 2019/01/11 18:47:06 main.go:312: Something went wrong: failed to acquire k8s binaries: error during make -C /go/src/k8s.io/kubernetes bazel-release: exit status 2
W0111 18:47:06.170] Traceback (most recent call last):
W0111 18:47:06.170]   File "/workspace/./test-infra/jenkins/../scenarios/kubernetes_e2e.py", line 758, in <module>
W0111 18:47:06.189]     main(parse_args())
W0111 18:47:06.189]   File "/workspace/./test-infra/jenkins/../scenarios/kubernetes_e2e.py", line 609, in main
W0111 18:47:06.189]     mode.start(runner_args)
W0111 18:47:06.189]   File "/workspace/./test-infra/jenkins/../scenarios/kubernetes_e2e.py", line 262, in start
W0111 18:47:06.189]     check_env(env, self.command, *args)
W0111 18:47:06.190]   File "/workspace/./test-infra/jenkins/../scenarios/kubernetes_e2e.py", line 111, in check_env
W0111 18:47:06.190]     subprocess.check_call(cmd, env=env)
W0111 18:47:06.190]   File "/usr/lib/python2.7/subprocess.py", line 186, in check_call
W0111 18:47:06.190]     raise CalledProcessError(retcode, cmd)
W0111 18:47:06.190] subprocess.CalledProcessError: Command '('kubetest', '--dump=/workspace/_artifacts', '--gcp-service-account=/etc/service-account/service-account.json', '--build=bazel', '--stage=gs://kubernetes-release-pull/ci/pull-kubernetes-e2e-gce-device-plugin-gpu', '--up', '--down', '--test', '--provider=gce', '--cluster=e2e-56929-8baae', '--gcp-network=e2e-56929-8baae', '--extract=local', '--gcp-node-image=gci', '--gcp-nodes=4', '--gcp-project=k8s-jkns-pr-gce-gpus', '--gcp-zone=us-west1-b', '--ginkgo-parallel=30', '--test_args=--ginkgo.focus=\\[Feature:GPUDevicePlugin\\] --minStartupPods=8', '--timeout=60m')' returned non-zero exit status 1
E0111 18:47:06.202] Command failed
I0111 18:47:06.203] process 553 exited with code 1 after 1.8m
E0111 18:47:06.203] FAIL: pull-kubernetes-e2e-gce-device-plugin-gpu
I0111 18:47:06.203] Call:  gcloud auth activate-service-account --key-file=/etc/service-account/service-account.json
W0111 18:47:10.562] Activated service account credentials for: [pr-kubekins@kubernetes-jenkins-pull.iam.gserviceaccount.com]
I0111 18:47:10.646] process 1046 exited with code 0 after 0.1m
I0111 18:47:10.646] Call:  gcloud config get-value account
I0111 18:47:11.032] process 1058 exited with code 0 after 0.0m
I0111 18:47:11.032] Will upload results to gs://kubernetes-jenkins/pr-logs using pr-kubekins@kubernetes-jenkins-pull.iam.gserviceaccount.com
I0111 18:47:11.032] Upload result and artifacts...
I0111 18:47:11.032] Gubernator results at https://gubernator.k8s.io/build/kubernetes-jenkins/pr-logs/pull/72827/pull-kubernetes-e2e-gce-device-plugin-gpu/56929
I0111 18:47:11.033] Call:  gsutil ls gs://kubernetes-jenkins/pr-logs/pull/72827/pull-kubernetes-e2e-gce-device-plugin-gpu/56929/artifacts
W0111 18:47:17.402] CommandException: One or more URLs matched no objects.
E0111 18:47:17.566] Command failed
I0111 18:47:17.566] process 1070 exited with code 1 after 0.1m
W0111 18:47:17.566] Remote dir gs://kubernetes-jenkins/pr-logs/pull/72827/pull-kubernetes-e2e-gce-device-plugin-gpu/56929/artifacts not exist yet
I0111 18:47:17.566] Call:  gsutil -m -q -o GSUtil:use_magicfile=True cp -r -c -z log,txt,xml /workspace/_artifacts gs://kubernetes-jenkins/pr-logs/pull/72827/pull-kubernetes-e2e-gce-device-plugin-gpu/56929/artifacts
I0111 18:47:19.921] process 1212 exited with code 0 after 0.0m
I0111 18:47:19.922] Call:  git rev-parse HEAD
I0111 18:47:19.925] process 1736 exited with code 0 after 0.0m
... skipping 21 lines ...