This job view page is being replaced by Spyglass soon. Check out the new job view.
PRSataQiu: Remove direct references to prometheus/testutil from kubelet/metrics
ResultFAILURE
Tests 1 failed / 0 succeeded
Started2019-10-10 04:47
Elapsed6m13s
Revision2ed178589b43fddcebf46e7924cbf5b52b89e4ef
Refs 83704

Test Failures


verify typecheck 6m11s

make verify WHAT=typecheck
ERROR(darwin/386,darwin/amd64,linux/386,linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x,windows/amd64) pkg/kubelet/metrics/collectors/log_metrics_test.go:25:2: could not import k8s.io/component-base/metrics/testutil (type-checking package "k8s.io/kubernetes/vendor/k8s.io/component-base/metrics/testutil" failed (/home/prow/go/src/k8s.io/kubernetes/vendor/k8s.io/component-base/metrics/testutil/testutil.go:46:6: CollectAndCompare redeclared in this block))
ERROR(windows/386) pkg/kubelet/metrics/collectors/volume_stats_test.go:24:2: could not import k8s.io/component-base/metrics/testutil (type-checking package "k8s.io/kubernetes/vendor/k8s.io/component-base/metrics/testutil" failed (/home/prow/go/src/k8s.io/kubernetes/vendor/k8s.io/component-base/metrics/testutil/testutil.go:46:6: CollectAndCompare redeclared in this block))
ERROR(all) pkg/scheduler/internal/queue/scheduling_queue_test.go:32:2: could not import k8s.io/component-base/metrics/testutil (type-checking package "k8s.io/kubernetes/vendor/k8s.io/component-base/metrics/testutil" failed (/home/prow/go/src/k8s.io/kubernetes/vendor/k8s.io/component-base/metrics/testutil/testutil.go:46:6: CollectAndCompare redeclared in this block))
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 10 lines ...
    ./vendor/k8s.io/code-generator/cmd/conversion-gen
+++ [1010 04:48:42] Building go targets for linux/amd64:
    ./vendor/k8s.io/kube-openapi/cmd/openapi-gen
+++ [1010 04:48:58] Building go targets for linux/amd64:
    ./vendor/github.com/go-bindata/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(darwin/386,darwin/amd64,linux/386,linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x,windows/amd64) pkg/kubelet/metrics/collectors/log_metrics_test.go:25:2: could not import k8s.io/component-base/metrics/testutil (type-checking package "k8s.io/kubernetes/vendor/k8s.io/component-base/metrics/testutil" failed (/home/prow/go/src/k8s.io/kubernetes/vendor/k8s.io/component-base/metrics/testutil/testutil.go:46:6: CollectAndCompare redeclared in this block))
ERROR(windows/386) pkg/kubelet/metrics/collectors/volume_stats_test.go:24:2: could not import k8s.io/component-base/metrics/testutil (type-checking package "k8s.io/kubernetes/vendor/k8s.io/component-base/metrics/testutil" failed (/home/prow/go/src/k8s.io/kubernetes/vendor/k8s.io/component-base/metrics/testutil/testutil.go:46:6: CollectAndCompare redeclared in this block))
ERROR(all) pkg/scheduler/internal/queue/scheduling_queue_test.go:32:2: could not import k8s.io/component-base/metrics/testutil (type-checking package "k8s.io/kubernetes/vendor/k8s.io/component-base/metrics/testutil" failed (/home/prow/go/src/k8s.io/kubernetes/vendor/k8s.io/component-base/metrics/testutil/testutil.go:46:6: CollectAndCompare redeclared in this block))
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	371s
========================
FAILED TESTS
========================
hack/make-rules/../../hack/verify-typecheck.sh
Makefile:129: recipe for target 'verify' failed
make: *** [verify] Error 1