This job view page is being replaced by Spyglass soon. Check out the new job view.
PRerrordeveloper: Refactor most of `kubectl drain` as a library
ResultFAILURE
Tests 1 failed / 0 succeeded
Started2019-01-11 18:45
Elapsed6m1s
Revision6bc7201da21e0989abbbdeca5f979034ded97183
sidecar-errors{}

Test Failures


verify typecheck 5m56s

make verify WHAT=typecheck
2019/01/11 18:46:42 Code for OpenAPI definitions generated
ERROR(all) pkg/kubectl/cmd/drain/drain.go:342:35: SupportEviction not declared by package drain
ERROR(all) pkg/kubectl/cmd/drain/drain.go:322:28: cannot use pods (variable of type *k8s.io/kubernetes/pkg/util/node/drain.podDeleteList) as []k8s.io/kubernetes/vendor/k8s.io/api/core/v1.Pod value in argument to o.deleteOrEvictPods
ERROR(all) pkg/kubectl/cmd/drain/drain.go:329:30: cannot range over pendingPods (variable of type *k8s.io/kubernetes/pkg/util/node/drain.podDeleteList)
exit status 1
!!! Type Check has failed. This may cause cross platform build failures.
!!! Please see https://git.k8s.io/kubernetes/test/typecheck for more information.
				
				Click to see stdout/stderrfrom junit_verify.xml

Filter through log files | View test history on testgrid


Error lines from build-log.txt

... skipping 11 lines ...
+++ [0111 18:46:28] Building go targets for linux/amd64:
    ./vendor/k8s.io/kube-openapi/cmd/openapi-gen
2019/01/11 18:46:42 Code for OpenAPI definitions generated
+++ [0111 18:46:42] Building go targets for linux/amd64:
    ./vendor/github.com/jteeuwen/go-bindata/go-bindata
type-checking:  linux/amd64, windows/386, darwin/amd64, linux/arm, linux/386, windows/amd64, linux/arm64, linux/ppc64le, linux/s390x, darwin/386
ERROR(all) pkg/kubectl/cmd/drain/drain.go:342:35: SupportEviction not declared by package drain
ERROR(all) pkg/kubectl/cmd/drain/drain.go:322:28: cannot use pods (variable of type *k8s.io/kubernetes/pkg/util/node/drain.podDeleteList) as []k8s.io/kubernetes/vendor/k8s.io/api/core/v1.Pod value in argument to o.deleteOrEvictPods
ERROR(all) pkg/kubectl/cmd/drain/drain.go:329:30: cannot range over pendingPods (variable of type *k8s.io/kubernetes/pkg/util/node/drain.podDeleteList)
exit status 1
!!! Type Check has failed. This may cause cross platform build failures.
!!! Please see https://git.k8s.io/kubernetes/test/typecheck for more information.
+++ exit code: 1
+++ error: 1
FAILED   verify-typecheck.sh	357s
========================
FAILED TESTS
========================
hack/make-rules/../../hack/verify-typecheck.sh
Makefile:128: recipe for target 'verify' failed
make: *** [verify] Error 1