Skip to content

Instantly share code, notes, and snippets.

@listx
Created October 20, 2020 23:27
Show Gist options
  • Save listx/a69301c9c3b98cc4eca8a04f0946f0f3 to your computer and use it in GitHub Desktop.
Save listx/a69301c9c3b98cc4eca8a04f0946f0f3 to your computer and use it in GitHub Desktop.
staging image build failure
Logs for https://console.cloud.google.com/cloud-build/builds/11096ed9-98a1-4c36-ac5e-40cf02944cf4?project=675573440409
==============================================================================
starting build "11096ed9-98a1-4c36-ac5e-40cf02944cf4"
FETCHSOURCE
Fetching storage object: gs://k8s-staging-artifact-promoter-gcb/source/1603178297.66-44754d982e0b445186d1db6a3be61896.tgz#1603178297795417
Copying gs://k8s-staging-artifact-promoter-gcb/source/1603178297.66-44754d982e0b445186d1db6a3be61896.tgz#1603178297795417...
/ [0 files][ 0.0 B/208.4 KiB]
/ [1 files][208.4 KiB/208.4 KiB]
Operation completed over 1 objects/208.4 KiB.
BUILD
Pulling image: gcr.io/k8s-testimages/bazelbuild:v20190916-ec59af8-0.29.1
v20190916-ec59af8-0.29.1: Pulling from k8s-testimages/bazelbuild
35c102085707: Pulling fs layer
251f5509d51d: Pulling fs layer
8e829fe70a46: Pulling fs layer
6001e1789921: Pulling fs layer
8c2226a44295: Pulling fs layer
1f809ff6a571: Pulling fs layer
fc05857c3753: Pulling fs layer
0d5989913f1f: Pulling fs layer
630fab9a8198: Pulling fs layer
c2249bbbbeeb: Pulling fs layer
fc05857c3753: Waiting
1f809ff6a571: Waiting
0d5989913f1f: Waiting
6001e1789921: Waiting
8c2226a44295: Waiting
c2249bbbbeeb: Waiting
630fab9a8198: Waiting
8e829fe70a46: Verifying Checksum
8e829fe70a46: Download complete
251f5509d51d: Verifying Checksum
251f5509d51d: Download complete
6001e1789921: Verifying Checksum
6001e1789921: Download complete
35c102085707: Verifying Checksum
35c102085707: Download complete
1f809ff6a571: Verifying Checksum
1f809ff6a571: Download complete
fc05857c3753: Verifying Checksum
fc05857c3753: Download complete
630fab9a8198: Verifying Checksum
630fab9a8198: Download complete
35c102085707: Pull complete
8c2226a44295: Verifying Checksum
8c2226a44295: Download complete
251f5509d51d: Pull complete
c2249bbbbeeb: Download complete
8e829fe70a46: Pull complete
6001e1789921: Pull complete
0d5989913f1f: Verifying Checksum
0d5989913f1f: Download complete
8c2226a44295: Pull complete
1f809ff6a571: Pull complete
fc05857c3753: Pull complete
0d5989913f1f: Pull complete
630fab9a8198: Pull complete
c2249bbbbeeb: Pull complete
Digest: sha256:3c358e1e53442da0bd092c36ae30505f4b56f8281d3945e0dd8d3ae82a38300b
Status: Downloaded newer image for gcr.io/k8s-testimages/bazelbuild:v20190916-ec59af8-0.29.1
gcr.io/k8s-testimages/bazelbuild:v20190916-ec59af8-0.29.1
bazel build //:cip-docker-loadable.tar //cmd/promobot-files:image-bundle.tar
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
ERROR: /workspace/WORKSPACE:40:1: Traceback (most recent call last):
File "/workspace/WORKSPACE", line 40
load_go_sdk()
File "/builder/home/.cache/bazel/_bazel_root/eab0d61a99b6696edb3d2aff87b585e8/external/go_sdk_imports/imports.bzl", line 8, in load_go_sdk
go_rules_dependencies()
File "/builder/home/.cache/bazel/_bazel_root/eab0d61a99b6696edb3d2aff87b585e8/external/io_bazel_rules_go/go/private/repositories.bzl", line 41, in go_rules_dependencies
versions.check(MINIMUM_BAZEL_VERSION, bazel_versi...)
File "/builder/home/.cache/bazel/_bazel_root/eab0d61a99b6696edb3d2aff87b585e8/external/io_bazel_rules_go/go/private/skylib/lib/versions.bzl", line 104, in versions.check
fail("\nCurrent Bazel version is {}, ...))
Current Bazel version is 0.29.1, expected at least 1.2.0
ERROR: Error evaluating WORKSPACE file
ERROR: error loading package '': Encountered error while reading extension file 'deps.bzl': no such package '@bazel_gazelle//': error loading package 'external': Could not load //external package
ERROR: error loading package '': Encountered error while reading extension file 'deps.bzl': no such package '@bazel_gazelle//': error loading package 'external': Could not load //external package
INFO: Elapsed time: 4.831s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)
make: *** [image] Error 1
Makefile:41: recipe for target 'image' failed
ERROR
ERROR: build step 0 "gcr.io/k8s-testimages/bazelbuild:v20190916-ec59af8-0.29.1" failed: step exited with non-zero status: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment