This job view page is being replaced by Spyglass soon. Check out the new job view.
PRSataQiu: Automated cherry pick of #108002: kubeadm: fix the bug that 'kubeadm init --dry-run
ResultFAILURE
Tests 0 failed / 8 succeeded
Started2022-02-15 08:33
Elapsed4m3s
Revision7b0488e8e6c7a218b14e02f2d8dd9d79230ddd56
Refs 108116

No Test Failures!


Show 8 Passed Tests

Error lines from build-log.txt

+ bazel test --config=unit //... -- -//build/... -//vendor/...
$TEST_TMPDIR defined: output root default is '/bazel-scratch/.cache/bazel' and max_idle_secs default is '15'.
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
WARNING: Download from https://storage.googleapis.com/k8s-bazel-cache/https://github.com/bazelbuild/rules_docker/releases/download/v0.14.4/rules_docker-v0.14.4.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
Loading:  (1 packages loaded)
Loading: 1 packages loaded
Loading: 483 packages loaded
    currently loading: pkg/kubelet/pod ... (3 packages)
Loading: 1681 packages loaded
    currently loading: staging/src/k8s.io/cli-runtime/pkg/genericclioptions
... skipping 5 lines ...
Analyzing: 971 targets (4494 packages loaded, 28940 targets configured)
Analyzing: 971 targets (4509 packages loaded, 36490 targets configured)
Analyzing: 971 targets (4510 packages loaded, 36519 targets configured)
Analyzing: 971 targets (4511 packages loaded, 36642 targets configured)
Analyzing: 971 targets (4511 packages loaded, 36642 targets configured)
Analyzing: 971 targets (4511 packages loaded, 36642 targets configured)
DEBUG: /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/bazel_gazelle/internal/go_repository.bzl:189:13: org_golang_x_tools: gazelle: /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/cmd/fiximports/testdata/src/old.com/bad/bad.go: error reading go file: /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/cmd/fiximports/testdata/src/old.com/bad/bad.go:2:43: expected 'package', found 'EOF'
gazelle: found packages issue31540 (issue31540.go) and complexnums (complexnums.go) in /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/go/internal/gccgoimporter/testdata
gazelle: found packages a (a.go) and b (b.go) in /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/go/internal/gcimporter/testdata
gazelle: /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/go/loader/testdata/badpkgdecl.go: error reading go file: /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/go/loader/testdata/badpkgdecl.go:1:34: expected 'package', found 'EOF'
gazelle: /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/geez/help.go: error reading go file: /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/geez/help.go:1:16: expected ';', found '.'
gazelle: /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/v2/geez/help.go: error reading go file: /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/v2/geez/help.go:1:16: expected ';', found '.'
gazelle: /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/v2/me.go: error reading go file: /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/v2/me.go:1:16: expected ';', found '.'
gazelle: /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/yo.go: error reading go file: /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/yo.go:1:16: expected ';', found '.'
gazelle: /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/go/packages/packagestest/testdata/groups/two/modules/example.com/tempmod/main.go: error reading go file: /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/go/packages/packagestest/testdata/groups/two/modules/example.com/tempmod/main.go:1:16: expected ';', found '.'
gazelle: /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/go/packages/packagestest/testdata/groups/two/modules/example.com/what@v1.0.0/main.go: error reading go file: /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/go/packages/packagestest/testdata/groups/two/modules/example.com/what@v1.0.0/main.go:1:16: expected ';', found '.'
gazelle: /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/go/packages/packagestest/testdata/groups/two/modules/example.com/what@v1.1.0/main.go: error reading go file: /bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/external/org_golang_x_tools/go/packages/packagestest/testdata/groups/two/modules/example.com/what@v1.1.0/main.go:1:16: expected ';', found '.'
gazelle: finding module path for import domain.name/importdecl: go get domain.name/importdecl: module domain.name/importdecl: reading https://proxy.golang.org/domain.name/importdecl/@v/list: 410 Gone
	server response: not found: domain.name/importdecl@latest: unrecognized import path "domain.name/importdecl": https fetch: Get "https://domain.name/importdecl?go-get=1": dial tcp: lookup domain.name on 8.8.8.8:53: no such host
gazelle: finding module path for import old.com/one: go get old.com/one: module old.com/one: reading https://proxy.golang.org/old.com/one/@v/list: 410 Gone
	server response: not found: old.com/one@latest: unrecognized import path "old.com/one": https fetch: Get "http://www.old.com/one?go-get=1": redirected from secure URL https://old.com/one?go-get=1 to insecure URL http://www.old.com/one?go-get=1
gazelle: finding module path for import titanic.biz/bar: go get titanic.biz/bar: module titanic.biz/bar: reading https://proxy.golang.org/titanic.biz/bar/@v/list: 410 Gone
	server response: not found: titanic.biz/bar@latest: unrecognized import path "titanic.biz/bar": reading https://titanic.biz/bar?go-get=1: 403 Forbidden
... skipping 63 lines ...
[2,286 / 5,007] GoCompilePkg vendor/github.com/vmware/govmomi/vim25/types/go_default_library.a; 1s processwrapper-sandbox ... (8 actions, 7 running)
[2,508 / 5,007] GoCompilePkg vendor/github.com/vmware/govmomi/vim25/types/go_default_library.a; 16s processwrapper-sandbox ... (8 actions, 7 running)
[2,648 / 5,007] GoCompilePkg vendor/google.golang.org/api/compute/v0.beta/go_default_library.a; 16s processwrapper-sandbox ... (8 actions, 7 running)
[2,985 / 5,013] 1 / 971 tests; Testing //test/typecheck:go_default_test [9s, 1s] ... (8 actions, 7 running)
[3,323 / 5,027] 4 / 971 tests; GenOpenAPI <rule context for //pkg/generated/openapi:zz_generated.openapi>; 30s processwrapper-sandbox ... (8 actions, 7 running)
[3,876 / 5,027] 4 / 971 tests; GenOpenAPI <rule context for //pkg/generated/openapi:zz_generated.openapi>; 56s processwrapper-sandbox ... (8 actions, 7 running)
ERROR: /home/prow/go/src/github.com/kubernetes/kubernetes/cmd/kubeadm/app/util/apiclient/BUILD:60:1: GoCompilePkg cmd/kubeadm/app/util/apiclient/go_default_test.internal.a failed (Exit 1) builder failed: error executing command bazel-out/host/bin/external/go_sdk/builder compilepkg -sdk external/go_sdk -installsuffix linux_amd64_race -tags selinux,selinux,race -src cmd/kubeadm/app/util/apiclient/clientbacked_dryrun.go -src ... (remaining 77 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
compilepkg: missing strict dependencies:
	/bazel-scratch/.cache/bazel/_bazel_root/7989b31489f31aee54f32688da2f0120/sandbox/processwrapper-sandbox/3910/execroot/io_k8s_kubernetes/cmd/kubeadm/app/util/apiclient/dryrunclient.go: import of "k8s.io/cluster-bootstrap/token/api"
No dependencies were provided.
Check that imports in Go sources match importpath attributes in deps.
INFO: Elapsed time: 222.918s, Critical Path: 108.87s
INFO: 3902 processes: 3902 processwrapper-sandbox.
FAILED: Build did NOT complete successfully
//cluster:common_test                                                 NO STATUS
//cluster:kube-util_test                                              NO STATUS
//cluster/gce/cos:go_default_test                                     NO STATUS
//cluster/gce/custom:go_default_test                                  NO STATUS
//cluster/gce/gci:go_default_test                                     NO STATUS
//cluster/gce/ubuntu:go_default_test                                  NO STATUS
... skipping 954 lines ...
//test/instrumentation:go_default_test                                NO STATUS
//test/instrumentation:verify_stable_metric                           NO STATUS
//test/list:go_default_test                                           NO STATUS
//test/utils/image:go_default_test                                    NO STATUS
//third_party/forked/golang/expansion:go_default_test                 NO STATUS
//third_party/forked/gonum/graph/simple:go_default_test               NO STATUS
//cmd/kubeadm/app/util/apiclient:go_default_test                FAILED TO BUILD
//pkg/kubelet/cm/cpuset:go_default_test                                  PASSED in 0.2s
  Stats over 2 runs: max = 0.2s, min = 0.2s, avg = 0.2s, dev = 0.0s
//staging/src/k8s.io/apimachinery/pkg/util/duration:go_default_test      PASSED in 0.3s
  Stats over 2 runs: max = 0.3s, min = 0.3s, avg = 0.3s, dev = 0.0s
//test/typecheck:go_default_test                                         PASSED in 14.0s
  Stats over 2 runs: max = 14.0s, min = 13.7s, avg = 13.8s, dev = 0.2s
//third_party/forked/golang/reflect:go_default_test                      PASSED in 0.4s
  Stats over 2 runs: max = 0.4s, min = 0.2s, avg = 0.3s, dev = 0.1s

Executed 4 out of 971 tests: 4 tests pass, 1 fails to build and 966 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