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 0 failed / 99 succeeded
Started2019-10-10 04:47
Elapsed1m51s
Revision2ed178589b43fddcebf46e7924cbf5b52b89e4ef
Refs 83704

No Test Failures!


Show 99 Passed Tests

Error lines from build-log.txt

... skipping 32 lines ...
Analyzing: 874 targets (3984 packages loaded, 42255 targets configured)
INFO: Analyzed 874 targets (3984 packages loaded, 42255 targets configured).
INFO: Found 874 test targets...
[0 / 121] [-----] BazelWorkspaceStatusAction stable-status.txt ... (3 actions, 0 running)
[2,569 / 10,786] 5 / 874 tests; GoStdlib external/io_bazel_rules_go/linux_amd64_race_stripped/stdlib%/pkg; 4s remote ... (499 actions running)
[4,943 / 10,789] 5 / 874 tests; GoCompile staging/src/k8s.io/apimachinery/pkg/version/linux_amd64_race_stripped/go_default_test%/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/version.a; 3s remote ... (129 actions running)
ERROR: /home/prow/go/src/github.com/kubernetes/kubernetes/staging/src/k8s.io/component-base/metrics/testutil/BUILD:3:1: GoCompile staging/src/k8s.io/component-base/metrics/testutil/linux_amd64_race_stripped/go_default_library%/k8s.io/kubernetes/vendor/k8s.io/component-base/metrics/testutil.a failed (Exit 1): builder failed: error executing command 
  (cd /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/execroot/io_k8s_kubernetes && \
  exec env - \
    CGO_ENABLED=1 \
    GOARCH=amd64 \
    GOOS=linux \
    GOROOT=bazel-out/k8-fastbuild/bin/external/io_bazel_rules_go/linux_amd64_race_stripped/stdlib% \
    GOROOT_FINAL=GOROOT \
    PATH=/usr/bin:/usr/local/bin:/bin \
  bazel-out/host/bin/external/go_sdk/builder compile -sdk external/go_sdk -installsuffix linux_amd64_race -tags race -src staging/src/k8s.io/component-base/metrics/testutil/testutil.go -arc 'k8s.io/component-base/metrics=k8s.io/kubernetes/vendor/k8s.io/component-base/metrics=bazel-out/k8-fastbuild/bin/staging/src/k8s.io/component-base/metrics/linux_amd64_race_stripped/go_default_library%/k8s.io/kubernetes/vendor/k8s.io/component-base/metrics.a=' -arc 'github.com/prometheus/client_golang/prometheus=k8s.io/kubernetes/vendor/github.com/prometheus/client_golang/prometheus=bazel-out/k8-fastbuild/bin/vendor/github.com/prometheus/client_golang/prometheus/linux_amd64_race_stripped/go_default_library%/k8s.io/kubernetes/vendor/github.com/prometheus/client_golang/prometheus.a=' -arc 'github.com/prometheus/client_golang/prometheus/testutil=k8s.io/kubernetes/vendor/github.com/prometheus/client_golang/prometheus/testutil=bazel-out/k8-fastbuild/bin/vendor/github.com/prometheus/client_golang/prometheus/testutil/linux_amd64_race_stripped/go_default_library%/k8s.io/kubernetes/vendor/github.com/prometheus/client_golang/prometheus/testutil.a=' -o bazel-out/k8-fastbuild/bin/staging/src/k8s.io/component-base/metrics/testutil/linux_amd64_race_stripped/go_default_library%/k8s.io/kubernetes/vendor/k8s.io/component-base/metrics/testutil.a -package_list bazel-out/host/bin/external/go_sdk/packages.txt -p k8s.io/kubernetes/vendor/k8s.io/component-base/metrics/testutil -- -trimpath . -race)
Execution platform: //:rbe_with_network
/b/f/w/staging/src/k8s.io/component-base/metrics/testutil/testutil.go:46:6: CollectAndCompare redeclared in this block
	previous declaration at /b/f/w/staging/src/k8s.io/component-base/metrics/testutil/testutil.go:31:88
compile: error running compiler: exit status 2
INFO: Elapsed time: 108.248s, Critical Path: 29.12s
INFO: 3794 processes: 3793 remote cache hit, 1 remote.
FAILED: Build did NOT complete successfully
//cluster:clientbin_test                                        (cached) PASSED in 0.6s
//cluster:common_test                                           (cached) PASSED in 0.5s
//cluster:kube-util_test                                        (cached) PASSED in 0.6s
//cluster/images/conformance/go-runner:go_default_test          (cached) PASSED in 0.2s
//cmd/genutils:go_default_test                                  (cached) PASSED in 0.3s
//cmd/kubeadm/app/cmd/phases/workflow:go_default_test           (cached) PASSED in 0.1s
... skipping 864 lines ...
//test/instrumentation:verify_stable_metric                           NO STATUS
//test/typecheck:go_default_test                                      NO STATUS
//third_party/forked/golang/expansion:go_default_test                 NO STATUS

Executed 0 out of 874 tests: 99 tests pass, 1 fails to build and 774 were skipped.
There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are.
FAILED: Build did NOT complete successfully
+ ../test-infra/hack/coalesce.py
+ exit 1