This job view page is being replaced by Spyglass soon. Check out the new job view.
PRhakman: Automated cherry pick of #13857: Fix GCE resource tracking
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2022-06-24 05:06
Elapsed2m40s
Revisionfd0b0920371805368c65d7ebc2be6306340ade8f
Refs 13864

No Test Failures!


Error lines from build-log.txt

... skipping 38 lines ...
[459 / 1,335] GoCompilePkg vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-06-01/network/go_default_library.a; 4s processwrapper-sandbox ... (8 actions, 7 running)
[600 / 1,335] GoCompilePkg vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-06-01/network/go_default_library.a; 15s processwrapper-sandbox ... (8 actions, 7 running)
[743 / 1,335] GoCompilePkg vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-06-01/network/go_default_library.a; 27s processwrapper-sandbox ... (8 actions, 7 running)
[878 / 1,335] GoCompilePkg vendor/k8s.io/api/core/v1/go_default_library.a; 9s processwrapper-sandbox ... (8 actions, 7 running)
[1,057 / 1,335] GoCompilePkg vendor/google.golang.org/api/compute/v0.alpha/go_default_library.a; 20s processwrapper-sandbox ... (8 actions, 7 running)
[1,271 / 1,335] GoCompilePkg vendor/k8s.io/client-go/informers/node/v1alpha1/go_default_library.a; 0s processwrapper-sandbox ... (6 actions, 5 running)
ERROR: /home/prow/go/src/k8s.io/kops/pkg/resources/gce/BUILD.bazel:3:11: GoCompilePkg pkg/resources/gce/go_default_library.a failed: (Exit 1): builder failed: error executing command 
  (cd /bazel-scratch/.cache/bazel/_bazel_root/3fe4bf09df1f8c97d1bcca7cfce3cda6/sandbox/processwrapper-sandbox/1285/execroot/__main__ && \
  exec env - \
    CGO_ENABLED=0 \
    GOARCH=amd64 \
    GOOS=linux \
    GOPATH='' \
    GOROOT=bazel-out/k8-fastbuild-ST-ecf9d2d15f38/bin/external/io_bazel_rules_go/stdlib_ \
    GOROOT_FINAL=GOROOT \
  bazel-out/host/bin/external/go_sdk/builder compilepkg -sdk external/go_sdk -installsuffix linux_amd64 -src pkg/resources/gce/dump.go -src pkg/resources/gce/gce.go -src pkg/resources/gce/network.go -src pkg/resources/gce/subnet.go -arc 'k8s.io/kops/pkg/dns=k8s.io/kops/pkg/dns=bazel-out/k8-fastbuild/bin/pkg/dns/go_default_library.x' -arc 'k8s.io/kops/pkg/resources=k8s.io/kops/pkg/resources=bazel-out/k8-fastbuild/bin/pkg/resources/go_default_library.x' -arc 'k8s.io/kops/upup/pkg/fi=k8s.io/kops/upup/pkg/fi=bazel-out/k8-fastbuild/bin/upup/pkg/fi/go_default_library.x' -arc 'k8s.io/kops/upup/pkg/fi/cloudup/gce=k8s.io/kops/upup/pkg/fi/cloudup/gce=bazel-out/k8-fastbuild/bin/upup/pkg/fi/cloudup/gce/go_default_library.x' -arc 'google.golang.org/api/compute/v1=k8s.io/kops/vendor/google.golang.org/api/compute/v1=bazel-out/k8-fastbuild/bin/vendor/google.golang.org/api/compute/v1/go_default_library.x' -arc 'google.golang.org/api/dns/v1=k8s.io/kops/vendor/google.golang.org/api/dns/v1=bazel-out/k8-fastbuild/bin/vendor/google.golang.org/api/dns/v1/go_default_library.x' -arc 'k8s.io/klog/v2=k8s.io/kops/vendor/k8s.io/klog/v2=bazel-out/k8-fastbuild/bin/vendor/k8s.io/klog/v2/go_default_library.x' -importpath k8s.io/kops/pkg/resources/gce -p k8s.io/kops/pkg/resources/gce -package_list bazel-out/host/bin/external/go_sdk/packages.txt -o bazel-out/k8-fastbuild/bin/pkg/resources/gce/go_default_library.a -x bazel-out/k8-fastbuild/bin/pkg/resources/gce/go_default_library.x -gcflags '' -asmflags '')
Execution platform: @local_config_platform//:host

Use --sandbox_debug to see verbose messages from the sandbox
pkg/resources/gce/gce.go:1004:24: undefined: gce.ClusterSuffixedName
compilepkg: error running subcommand external/go_sdk/pkg/tool/linux_amd64/compile: exit status 2
INFO: Elapsed time: 156.214s, Critical Path: 79.17s
INFO: 1293 processes: 11 internal, 1282 processwrapper-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
make: *** [Makefile:563: bazel-build-kops-linux-amd64] Error 1
+ EXIT_VALUE=2
+ set +o xtrace