GoogleCloudPlatform / golang-samples

Sample apps and code written for Google Cloud in the Go programming language.
Apache License 2.0
4.31k stars 1.74k forks source link

internal/cloudrunci/testingapp: TestApp failed #2818

Closed flaky-bot[bot] closed 1 year ago

flaky-bot[bot] commented 1 year ago

Note: #2035 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.


commit: 271d0f45b7d9954f2a20aa00135bce551f86b5fc buildURL: Build Status, Sponge status: failed

Test output
2023/01/18 19:48:14 Attempt #1: Running: operation [build container image] for service [hello]...
2023/01/18 19:48:14 Attempt #1: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-5 --tag gcr.io/golang-samples-tests-5/hello:20230118-194814
Attempt #1: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 73.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-5_cloudbuild/source/1674071294.761155-4150d8cb1fdc49068da86cead3f794dc.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-5/locations/global/builds/7b926d38-040a-4f98-8ceb-a2e13f5625df].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/7b926d38-040a-4f98-8ceb-a2e13f5625df?project=402919200380 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 7b926d38-040a-4f98-8ceb-a2e13f5625df completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "7b926d38-040a-4f98-8ceb-a2e13f5625df"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-5_cloudbuild/source/1674071294.761155-4150d8cb1fdc49068da86cead3f794dc.tgz#1674071295019365
Copying gs://golang-samples-tests-5_cloudbuild/source/1674071294.761155-4150d8cb1fdc49068da86cead3f794dc.tgz#1674071295019365...
/ [0 files][    0.0 B/ 24.0 KiB]                                                
/ [1 files][ 24.0 KiB/ 24.0 KiB]                                                
Operation completed over 1 objects/24.0 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  80.38kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 4976e6b9a253
Removing intermediate container 4976e6b9a253
 ---> a29ad01ccc9d
Step 3/8 : COPY . ./
 ---> 491a90a0b690
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 037bcf416650
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/18 19:48:54 gcloudExec: Attempt #1: operation [build container image] for service [hello]: "exit status 1"
2023/01/18 19:49:54 Attempt #2: Running: operation [build container image] for service [hello]...
2023/01/18 19:49:54 Attempt #2: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-5 --tag gcr.io/golang-samples-tests-5/hello:20230118-194814
Attempt #2: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 80.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-5_cloudbuild/source/1674071394.946947-e1e0e7cdbe474989adcd73f7aae34aae.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-5/locations/global/builds/6b3c9e13-197e-4bb5-9be9-dd37c5065904].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/6b3c9e13-197e-4bb5-9be9-dd37c5065904?project=402919200380 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 6b3c9e13-197e-4bb5-9be9-dd37c5065904 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "6b3c9e13-197e-4bb5-9be9-dd37c5065904"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-5_cloudbuild/source/1674071394.946947-e1e0e7cdbe474989adcd73f7aae34aae.tgz#1674071395215385
Copying gs://golang-samples-tests-5_cloudbuild/source/1674071394.946947-e1e0e7cdbe474989adcd73f7aae34aae.tgz#1674071395215385...
/ [0 files][    0.0 B/ 25.5 KiB]                                                
/ [1 files][ 25.5 KiB/ 25.5 KiB]                                                
Operation completed over 1 objects/25.5 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  87.55kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 44e5ef6b43f9
Removing intermediate container 44e5ef6b43f9
 ---> 7c92d3d580fc
Step 3/8 : COPY . ./
 ---> 001f64739857
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in bd328865935f
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/18 19:50:29 gcloudExec: Attempt #2: operation [build container image] for service [hello]: "exit status 1"
2023/01/18 19:51:29 Attempt #3: Running: operation [build container image] for service [hello]...
2023/01/18 19:51:29 Attempt #3: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-5 --tag gcr.io/golang-samples-tests-5/hello:20230118-194814
Attempt #3: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 87.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-5_cloudbuild/source/1674071490.54923-8696f98e6fe14c1aa446275e3e103891.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-5/locations/global/builds/5f271767-ec7d-4147-9bc6-8d6d7e07d9c1].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/5f271767-ec7d-4147-9bc6-8d6d7e07d9c1?project=402919200380 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 5f271767-ec7d-4147-9bc6-8d6d7e07d9c1 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "5f271767-ec7d-4147-9bc6-8d6d7e07d9c1"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-5_cloudbuild/source/1674071490.54923-8696f98e6fe14c1aa446275e3e103891.tgz#1674071490830810
Copying gs://golang-samples-tests-5_cloudbuild/source/1674071490.54923-8696f98e6fe14c1aa446275e3e103891.tgz#1674071490830810...
/ [0 files][    0.0 B/ 25.7 KiB]                                                
/ [1 files][ 25.7 KiB/ 25.7 KiB]                                                
Operation completed over 1 objects/25.7 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  94.72kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 82d227cb7e6c
Removing intermediate container 82d227cb7e6c
 ---> d35f61fcf17c
Step 3/8 : COPY . ./
 ---> 807f9278412f
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 48fe44347cd4
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/18 19:52:04 gcloudExec: Attempt #3: operation [build container image] for service [hello]: "exit status 1"
2023/01/18 19:53:04 Attempt #4: Running: operation [build container image] for service [hello]...
2023/01/18 19:53:04 Attempt #4: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-5 --tag gcr.io/golang-samples-tests-5/hello:20230118-194814
Attempt #4: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 94.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-5_cloudbuild/source/1674071585.447227-0652c7999dab43ff89b30a844c1c1f3d.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-5/locations/global/builds/3da6267a-cecb-41e9-a1f4-c317dd0ed0ff].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/3da6267a-cecb-41e9-a1f4-c317dd0ed0ff?project=402919200380 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 3da6267a-cecb-41e9-a1f4-c317dd0ed0ff completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "3da6267a-cecb-41e9-a1f4-c317dd0ed0ff"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-5_cloudbuild/source/1674071585.447227-0652c7999dab43ff89b30a844c1c1f3d.tgz#1674071585690572
Copying gs://golang-samples-tests-5_cloudbuild/source/1674071585.447227-0652c7999dab43ff89b30a844c1c1f3d.tgz#1674071585690572...
/ [0 files][    0.0 B/ 26.0 KiB]                                                
/ [1 files][ 26.0 KiB/ 26.0 KiB]                                                
Operation completed over 1 objects/26.0 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  101.9kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in b300bf7059d3
Removing intermediate container b300bf7059d3
 ---> 52ee6a3ec1c8
Step 3/8 : COPY . ./
 ---> 71164371972e
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in f1419ab18594
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/18 19:53:46 gcloudExec: Attempt #4: operation [build container image] for service [hello]: "exit status 1"
2023/01/18 19:54:46 Attempt #5: Running: operation [build container image] for service [hello]...
2023/01/18 19:54:46 Attempt #5: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-5 --tag gcr.io/golang-samples-tests-5/hello:20230118-194814
Attempt #5: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 101.2 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-5_cloudbuild/source/1674071686.809462-9db41a743ee64dbbb7219a4df33b3820.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-5/locations/global/builds/c3243305-67fd-446c-af30-b901b2aa2abc].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/c3243305-67fd-446c-af30-b901b2aa2abc?project=402919200380 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build c3243305-67fd-446c-af30-b901b2aa2abc completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "c3243305-67fd-446c-af30-b901b2aa2abc"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-5_cloudbuild/source/1674071686.809462-9db41a743ee64dbbb7219a4df33b3820.tgz#1674071687074653
Copying gs://golang-samples-tests-5_cloudbuild/source/1674071686.809462-9db41a743ee64dbbb7219a4df33b3820.tgz#1674071687074653...
/ [0 files][    0.0 B/ 26.3 KiB]                                                
/ [1 files][ 26.3 KiB/ 26.3 KiB]                                                
Operation completed over 1 objects/26.3 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  109.1kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
c28818711e1e: Waiting
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in f1e7d4f872b6
Removing intermediate container f1e7d4f872b6
 ---> 77d180e0d8b5
Step 3/8 : COPY . ./
 ---> a42a73a8ae36
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in cb31a0f22011
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/18 19:55:18 gcloudExec: Attempt #5: operation [build container image] for service [hello]: "exit status 1"
Creating temporary tarball archive of 6 file(s) totalling 101.2 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-5_cloudbuild/source/1674071686.809462-9db41a743ee64dbbb7219a4df33b3820.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-5/locations/global/builds/c3243305-67fd-446c-af30-b901b2aa2abc].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/c3243305-67fd-446c-af30-b901b2aa2abc?project=402919200380 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build c3243305-67fd-446c-af30-b901b2aa2abc completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "c3243305-67fd-446c-af30-b901b2aa2abc"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-5_cloudbuild/source/1674071686.809462-9db41a743ee64dbbb7219a4df33b3820.tgz#1674071687074653
Copying gs://golang-samples-tests-5_cloudbuild/source/1674071686.809462-9db41a743ee64dbbb7219a4df33b3820.tgz#1674071687074653...
/ [0 files][    0.0 B/ 26.3 KiB]                                                
/ [1 files][ 26.3 KiB/ 26.3 KiB]                                                
Operation completed over 1 objects/26.3 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  109.1kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
c28818711e1e: Waiting
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in f1e7d4f872b6
Removing intermediate container f1e7d4f872b6
 ---> 77d180e0d8b5
Step 3/8 : COPY . ./
 ---> a42a73a8ae36
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in cb31a0f22011
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------
    testingapp_test.go:34: could not deploy hello: gcloud: gcr.io/golang-samples-tests-5/hello:20230118-194814: "gcloudExec: operation [build container image] for service [hello]: gave up after 5 failed attempts"
flaky-bot[bot] commented 1 year ago

commit: 6686527b88316fcd0e5bd68f32bdc78cdb136bc8 buildURL: Build Status, Sponge status: failed

Test output
2023/01/19 18:17:07 Attempt #1: Running: operation [build container image] for service [hello]...
2023/01/19 18:17:07 Attempt #1: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-8 --tag gcr.io/golang-samples-tests-8/hello:20230119-181707
Attempt #1: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 73.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-8_cloudbuild/source/1674152228.436169-791d854c168846f29cbccff8619a4b4c.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-8/locations/global/builds/b3f03a84-c8c5-45f9-ad36-90a3b7d03aea].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/b3f03a84-c8c5-45f9-ad36-90a3b7d03aea?project=23797141349 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build b3f03a84-c8c5-45f9-ad36-90a3b7d03aea completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "b3f03a84-c8c5-45f9-ad36-90a3b7d03aea"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-8_cloudbuild/source/1674152228.436169-791d854c168846f29cbccff8619a4b4c.tgz#1674152228722641
Copying gs://golang-samples-tests-8_cloudbuild/source/1674152228.436169-791d854c168846f29cbccff8619a4b4c.tgz#1674152228722641...
/ [0 files][    0.0 B/ 24.1 KiB]                                                
/ [1 files][ 24.1 KiB/ 24.1 KiB]                                                
Operation completed over 1 objects/24.1 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  80.38kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
c28818711e1e: Waiting
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 83d73b890033
Removing intermediate container 83d73b890033
 ---> 1bedba1f2e1a
Step 3/8 : COPY . ./
 ---> e6b7fe5d8944
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in aa56d1785dea
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/19 18:17:38 gcloudExec: Attempt #1: operation [build container image] for service [hello]: "exit status 1"
2023/01/19 18:18:38 Attempt #2: Running: operation [build container image] for service [hello]...
2023/01/19 18:18:38 Attempt #2: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-8 --tag gcr.io/golang-samples-tests-8/hello:20230119-181707
Attempt #2: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 80.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-8_cloudbuild/source/1674152319.302999-e90d222958f64305b6bf66a105a5b71b.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-8/locations/global/builds/6f5b1572-ca8d-4a65-9fcf-3f4f6f9853ac].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/6f5b1572-ca8d-4a65-9fcf-3f4f6f9853ac?project=23797141349 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 6f5b1572-ca8d-4a65-9fcf-3f4f6f9853ac completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "6f5b1572-ca8d-4a65-9fcf-3f4f6f9853ac"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-8_cloudbuild/source/1674152319.302999-e90d222958f64305b6bf66a105a5b71b.tgz#1674152319554919
Copying gs://golang-samples-tests-8_cloudbuild/source/1674152319.302999-e90d222958f64305b6bf66a105a5b71b.tgz#1674152319554919...
/ [0 files][    0.0 B/ 25.6 KiB]                                                
/ [1 files][ 25.6 KiB/ 25.6 KiB]                                                
Operation completed over 1 objects/25.6 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  87.55kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
9d6246ba248c: Waiting
c28818711e1e: Waiting
d8a1c5873f40: Waiting
21d43f0d73c2: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 9b80255fb26e
Removing intermediate container 9b80255fb26e
 ---> 16fe8d2aad4e
Step 3/8 : COPY . ./
 ---> 37c86a0d84e1
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 5719be4c4a7c
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/19 18:19:18 gcloudExec: Attempt #2: operation [build container image] for service [hello]: "exit status 1"
2023/01/19 18:20:18 Attempt #3: Running: operation [build container image] for service [hello]...
2023/01/19 18:20:18 Attempt #3: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-8 --tag gcr.io/golang-samples-tests-8/hello:20230119-181707
Attempt #3: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 87.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-8_cloudbuild/source/1674152419.431452-6f5b8b95fb114a2ea5e69b00c6f8027e.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-8/locations/global/builds/46732a0c-1753-4c98-ae59-c69a1f3d0d36].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/46732a0c-1753-4c98-ae59-c69a1f3d0d36?project=23797141349 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 46732a0c-1753-4c98-ae59-c69a1f3d0d36 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "46732a0c-1753-4c98-ae59-c69a1f3d0d36"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-8_cloudbuild/source/1674152419.431452-6f5b8b95fb114a2ea5e69b00c6f8027e.tgz#1674152419686049
Copying gs://golang-samples-tests-8_cloudbuild/source/1674152419.431452-6f5b8b95fb114a2ea5e69b00c6f8027e.tgz#1674152419686049...
/ [0 files][    0.0 B/ 25.8 KiB]                                                
/ [1 files][ 25.8 KiB/ 25.8 KiB]                                                
Operation completed over 1 objects/25.8 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  94.72kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 12a5f5f8f033
Removing intermediate container 12a5f5f8f033
 ---> d7067ab263c6
Step 3/8 : COPY . ./
 ---> 8d3d5139bf2e
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in b47f2ea8014d
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/19 18:20:59 gcloudExec: Attempt #3: operation [build container image] for service [hello]: "exit status 1"
2023/01/19 18:21:59 Attempt #4: Running: operation [build container image] for service [hello]...
2023/01/19 18:21:59 Attempt #4: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-8 --tag gcr.io/golang-samples-tests-8/hello:20230119-181707
Attempt #4: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 94.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-8_cloudbuild/source/1674152519.888854-2b7b003185374809ae8241eb40b053ab.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-8/locations/global/builds/84cc074e-2a46-4222-bdd3-9605b8692c67].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/84cc074e-2a46-4222-bdd3-9605b8692c67?project=23797141349 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 84cc074e-2a46-4222-bdd3-9605b8692c67 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "84cc074e-2a46-4222-bdd3-9605b8692c67"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-8_cloudbuild/source/1674152519.888854-2b7b003185374809ae8241eb40b053ab.tgz#1674152520505881
Copying gs://golang-samples-tests-8_cloudbuild/source/1674152519.888854-2b7b003185374809ae8241eb40b053ab.tgz#1674152520505881...
/ [0 files][    0.0 B/ 26.1 KiB]                                                
/ [1 files][ 26.1 KiB/ 26.1 KiB]                                                
Operation completed over 1 objects/26.1 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  101.9kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
c28818711e1e: Waiting
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
9d6246ba248c: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 087edf16451d
Removing intermediate container 087edf16451d
 ---> e2391039869c
Step 3/8 : COPY . ./
 ---> ea10b632fa46
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 9bd035c50473
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/19 18:22:37 gcloudExec: Attempt #4: operation [build container image] for service [hello]: "exit status 1"
2023/01/19 18:23:37 Attempt #5: Running: operation [build container image] for service [hello]...
2023/01/19 18:23:37 Attempt #5: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-8 --tag gcr.io/golang-samples-tests-8/hello:20230119-181707
Attempt #5: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 101.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-8_cloudbuild/source/1674152618.057363-47fe57a2fdf24d09b28365026836c40b.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-8/locations/global/builds/c3df5ea1-6b06-4528-94bf-20755bb42bd5].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/c3df5ea1-6b06-4528-94bf-20755bb42bd5?project=23797141349 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build c3df5ea1-6b06-4528-94bf-20755bb42bd5 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "c3df5ea1-6b06-4528-94bf-20755bb42bd5"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-8_cloudbuild/source/1674152618.057363-47fe57a2fdf24d09b28365026836c40b.tgz#1674152618339415
Copying gs://golang-samples-tests-8_cloudbuild/source/1674152618.057363-47fe57a2fdf24d09b28365026836c40b.tgz#1674152618339415...
/ [0 files][    0.0 B/ 26.4 KiB]                                                
/ [1 files][ 26.4 KiB/ 26.4 KiB]                                                
Operation completed over 1 objects/26.4 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  109.1kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
c28818711e1e: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 9218193ac536
Removing intermediate container 9218193ac536
 ---> e9ecd827740a
Step 3/8 : COPY . ./
 ---> 7f01203e1a6d
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in f161d46f065e
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/19 18:24:17 gcloudExec: Attempt #5: operation [build container image] for service [hello]: "exit status 1"
Creating temporary tarball archive of 6 file(s) totalling 101.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-8_cloudbuild/source/1674152618.057363-47fe57a2fdf24d09b28365026836c40b.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-8/locations/global/builds/c3df5ea1-6b06-4528-94bf-20755bb42bd5].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/c3df5ea1-6b06-4528-94bf-20755bb42bd5?project=23797141349 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build c3df5ea1-6b06-4528-94bf-20755bb42bd5 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "c3df5ea1-6b06-4528-94bf-20755bb42bd5"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-8_cloudbuild/source/1674152618.057363-47fe57a2fdf24d09b28365026836c40b.tgz#1674152618339415
Copying gs://golang-samples-tests-8_cloudbuild/source/1674152618.057363-47fe57a2fdf24d09b28365026836c40b.tgz#1674152618339415...
/ [0 files][    0.0 B/ 26.4 KiB]                                                
/ [1 files][ 26.4 KiB/ 26.4 KiB]                                                
Operation completed over 1 objects/26.4 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  109.1kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
c28818711e1e: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 9218193ac536
Removing intermediate container 9218193ac536
 ---> e9ecd827740a
Step 3/8 : COPY . ./
 ---> 7f01203e1a6d
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in f161d46f065e
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------
    testingapp_test.go:34: could not deploy hello: gcloud: gcr.io/golang-samples-tests-8/hello:20230119-181707: "gcloudExec: operation [build container image] for service [hello]: gave up after 5 failed attempts"
flaky-bot[bot] commented 1 year ago

commit: 7670acb3c632d670ee4288ada5be8fd44deaf303 buildURL: Build Status, Sponge status: failed

Test output
2023/01/20 18:16:33 Attempt #1: Running: operation [build container image] for service [hello]...
2023/01/20 18:16:33 Attempt #1: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-6 --tag gcr.io/golang-samples-tests-6/hello:20230120-181633
Attempt #1: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 74.6 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-6_cloudbuild/source/1674238593.699374-4902507b391d433dbf8d909438384a83.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-6/locations/global/builds/22b11743-7a5a-4972-a3d1-222da485c3e8].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/22b11743-7a5a-4972-a3d1-222da485c3e8?project=921525631740 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 22b11743-7a5a-4972-a3d1-222da485c3e8 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "22b11743-7a5a-4972-a3d1-222da485c3e8"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-6_cloudbuild/source/1674238593.699374-4902507b391d433dbf8d909438384a83.tgz#1674238594002342
Copying gs://golang-samples-tests-6_cloudbuild/source/1674238593.699374-4902507b391d433dbf8d909438384a83.tgz#1674238594002342...
/ [0 files][    0.0 B/ 24.3 KiB]                                                
/ [1 files][ 24.3 KiB/ 24.3 KiB]                                                
Operation completed over 1 objects/24.3 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  81.92kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 548af2096d22
Removing intermediate container 548af2096d22
 ---> fc1de76f2f92
Step 3/8 : COPY . ./
 ---> 036d114c3e67
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 745e45a147fc
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/20 18:17:11 gcloudExec: Attempt #1: operation [build container image] for service [hello]: "exit status 1"
2023/01/20 18:18:11 Attempt #2: Running: operation [build container image] for service [hello]...
2023/01/20 18:18:11 Attempt #2: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-6 --tag gcr.io/golang-samples-tests-6/hello:20230120-181633
Attempt #2: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 81.6 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-6_cloudbuild/source/1674238691.801442-b685f9598f43480dbc0ae0fe2f1af0cb.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-6/locations/global/builds/a77438d5-bacf-4106-90c6-62d52eea1b6b].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/a77438d5-bacf-4106-90c6-62d52eea1b6b?project=921525631740 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build a77438d5-bacf-4106-90c6-62d52eea1b6b completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "a77438d5-bacf-4106-90c6-62d52eea1b6b"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-6_cloudbuild/source/1674238691.801442-b685f9598f43480dbc0ae0fe2f1af0cb.tgz#1674238692106450
Copying gs://golang-samples-tests-6_cloudbuild/source/1674238691.801442-b685f9598f43480dbc0ae0fe2f1af0cb.tgz#1674238692106450...
/ [0 files][    0.0 B/ 25.8 KiB]                                                
/ [1 files][ 25.8 KiB/ 25.8 KiB]                                                
Operation completed over 1 objects/25.8 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  89.09kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in d82d39581574
Removing intermediate container d82d39581574
 ---> 60a657e26c40
Step 3/8 : COPY . ./
 ---> 7f714173bcdd
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 28dca6cbb338
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/20 18:18:50 gcloudExec: Attempt #2: operation [build container image] for service [hello]: "exit status 1"
2023/01/20 18:19:50 Attempt #3: Running: operation [build container image] for service [hello]...
2023/01/20 18:19:50 Attempt #3: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-6 --tag gcr.io/golang-samples-tests-6/hello:20230120-181633
Attempt #3: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 88.6 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-6_cloudbuild/source/1674238790.842014-da5b556406844e1f9ab9b0515c87d31c.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-6/locations/global/builds/bad3a614-3c27-4793-9e7b-517f26df41c5].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/bad3a614-3c27-4793-9e7b-517f26df41c5?project=921525631740 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build bad3a614-3c27-4793-9e7b-517f26df41c5 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "bad3a614-3c27-4793-9e7b-517f26df41c5"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-6_cloudbuild/source/1674238790.842014-da5b556406844e1f9ab9b0515c87d31c.tgz#1674238791174017
Copying gs://golang-samples-tests-6_cloudbuild/source/1674238790.842014-da5b556406844e1f9ab9b0515c87d31c.tgz#1674238791174017...
/ [0 files][    0.0 B/ 26.0 KiB]                                                
/ [1 files][ 26.0 KiB/ 26.0 KiB]                                                
Operation completed over 1 objects/26.0 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  96.26kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in b730ff0264e4
Removing intermediate container b730ff0264e4
 ---> d5757f88fdf9
Step 3/8 : COPY . ./
 ---> 4d5ac89e9d1e
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 00841c2525d2
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/20 18:20:31 gcloudExec: Attempt #3: operation [build container image] for service [hello]: "exit status 1"
2023/01/20 18:21:31 Attempt #4: Running: operation [build container image] for service [hello]...
2023/01/20 18:21:31 Attempt #4: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-6 --tag gcr.io/golang-samples-tests-6/hello:20230120-181633
Attempt #4: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 95.5 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-6_cloudbuild/source/1674238892.140901-11ce16ee2b734caf8c3a793df187cdbb.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-6/locations/global/builds/7a40b9d0-231a-4dd1-8a0b-77f0911b66dd].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/7a40b9d0-231a-4dd1-8a0b-77f0911b66dd?project=921525631740 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 7a40b9d0-231a-4dd1-8a0b-77f0911b66dd completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "7a40b9d0-231a-4dd1-8a0b-77f0911b66dd"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-6_cloudbuild/source/1674238892.140901-11ce16ee2b734caf8c3a793df187cdbb.tgz#1674238892427337
Copying gs://golang-samples-tests-6_cloudbuild/source/1674238892.140901-11ce16ee2b734caf8c3a793df187cdbb.tgz#1674238892427337...
/ [0 files][    0.0 B/ 26.3 KiB]                                                
/ [1 files][ 26.3 KiB/ 26.3 KiB]                                                
Operation completed over 1 objects/26.3 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  103.4kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in c23028872a66
Removing intermediate container c23028872a66
 ---> 844ea3f3003e
Step 3/8 : COPY . ./
 ---> 586e8c08ea22
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in b6b37a532369
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/20 18:22:09 gcloudExec: Attempt #4: operation [build container image] for service [hello]: "exit status 1"
2023/01/20 18:23:09 Attempt #5: Running: operation [build container image] for service [hello]...
2023/01/20 18:23:09 Attempt #5: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-6 --tag gcr.io/golang-samples-tests-6/hello:20230120-181633
Attempt #5: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 102.5 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-6_cloudbuild/source/1674238989.894162-e93504a1a0fb43edac124837d322c19f.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-6/locations/global/builds/21ecb67d-4b88-40ec-b421-c1b4c076ca0e].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/21ecb67d-4b88-40ec-b421-c1b4c076ca0e?project=921525631740 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 21ecb67d-4b88-40ec-b421-c1b4c076ca0e completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "21ecb67d-4b88-40ec-b421-c1b4c076ca0e"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-6_cloudbuild/source/1674238989.894162-e93504a1a0fb43edac124837d322c19f.tgz#1674238990173671
Copying gs://golang-samples-tests-6_cloudbuild/source/1674238989.894162-e93504a1a0fb43edac124837d322c19f.tgz#1674238990173671...
/ [0 files][    0.0 B/ 26.9 KiB]                                                
/ [1 files][ 26.9 KiB/ 26.9 KiB]                                                
Operation completed over 1 objects/26.9 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  110.6kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 53eb1c2a3f2d
Removing intermediate container 53eb1c2a3f2d
 ---> ec3142c14603
Step 3/8 : COPY . ./
 ---> 7fcede164fd9
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 240d46ef773a
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/20 18:23:46 gcloudExec: Attempt #5: operation [build container image] for service [hello]: "exit status 1"
Creating temporary tarball archive of 6 file(s) totalling 102.5 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-6_cloudbuild/source/1674238989.894162-e93504a1a0fb43edac124837d322c19f.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-6/locations/global/builds/21ecb67d-4b88-40ec-b421-c1b4c076ca0e].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/21ecb67d-4b88-40ec-b421-c1b4c076ca0e?project=921525631740 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 21ecb67d-4b88-40ec-b421-c1b4c076ca0e completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "21ecb67d-4b88-40ec-b421-c1b4c076ca0e"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-6_cloudbuild/source/1674238989.894162-e93504a1a0fb43edac124837d322c19f.tgz#1674238990173671
Copying gs://golang-samples-tests-6_cloudbuild/source/1674238989.894162-e93504a1a0fb43edac124837d322c19f.tgz#1674238990173671...
/ [0 files][    0.0 B/ 26.9 KiB]                                                
/ [1 files][ 26.9 KiB/ 26.9 KiB]                                                
Operation completed over 1 objects/26.9 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  110.6kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 53eb1c2a3f2d
Removing intermediate container 53eb1c2a3f2d
 ---> ec3142c14603
Step 3/8 : COPY . ./
 ---> 7fcede164fd9
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 240d46ef773a
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------
    testingapp_test.go:34: could not deploy hello: gcloud: gcr.io/golang-samples-tests-6/hello:20230120-181633: "gcloudExec: operation [build container image] for service [hello]: gave up after 5 failed attempts"
flaky-bot[bot] commented 1 year ago

commit: 57b487dd7efa97186b30eaa49c54600d9ee0fa4b buildURL: Build Status, Sponge status: failed

Test output
2023/01/21 20:04:03 Attempt #1: Running: operation [build container image] for service [hello]...
2023/01/21 20:04:03 Attempt #1: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-10 --tag gcr.io/golang-samples-tests-10/hello:20230121-200403
Attempt #1: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 73.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-10_cloudbuild/source/1674331444.381961-e037f0675f884fe19f08893ede21d0ca.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-10/locations/global/builds/5bae5561-73b8-4928-a279-f62ff262ed11].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/5bae5561-73b8-4928-a279-f62ff262ed11?project=552771581429 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 5bae5561-73b8-4928-a279-f62ff262ed11 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "5bae5561-73b8-4928-a279-f62ff262ed11"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-10_cloudbuild/source/1674331444.381961-e037f0675f884fe19f08893ede21d0ca.tgz#1674331444661270
Copying gs://golang-samples-tests-10_cloudbuild/source/1674331444.381961-e037f0675f884fe19f08893ede21d0ca.tgz#1674331444661270...
/ [0 files][    0.0 B/ 24.2 KiB]                                                
/ [1 files][ 24.2 KiB/ 24.2 KiB]                                                
Operation completed over 1 objects/24.2 KiB.                                     
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  80.38kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 637a7cd6a692
Removing intermediate container 637a7cd6a692
 ---> 595c6e1dfc5a
Step 3/8 : COPY . ./
 ---> e4025050a88f
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 6a56c6e4ac49
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/21 20:04:33 gcloudExec: Attempt #1: operation [build container image] for service [hello]: "exit status 1"
2023/01/21 20:05:33 Attempt #2: Running: operation [build container image] for service [hello]...
2023/01/21 20:05:33 Attempt #2: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-10 --tag gcr.io/golang-samples-tests-10/hello:20230121-200403
Attempt #2: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 80.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-10_cloudbuild/source/1674331534.558335-bed72a2220bc4b7d9f6e2402e53c7bea.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-10/locations/global/builds/e3e94e90-64f4-4525-a1c7-381a6fa40b0e].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/e3e94e90-64f4-4525-a1c7-381a6fa40b0e?project=552771581429 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build e3e94e90-64f4-4525-a1c7-381a6fa40b0e completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "e3e94e90-64f4-4525-a1c7-381a6fa40b0e"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-10_cloudbuild/source/1674331534.558335-bed72a2220bc4b7d9f6e2402e53c7bea.tgz#1674331534812250
Copying gs://golang-samples-tests-10_cloudbuild/source/1674331534.558335-bed72a2220bc4b7d9f6e2402e53c7bea.tgz#1674331534812250...
/ [0 files][    0.0 B/ 25.6 KiB]                                                
/ [1 files][ 25.6 KiB/ 25.6 KiB]                                                
Operation completed over 1 objects/25.6 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  87.55kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
c28818711e1e: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 50f400594788
Removing intermediate container 50f400594788
 ---> 0ea5aad4fc73
Step 3/8 : COPY . ./
 ---> a2228aacebf4
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 3964b1bb8b7b
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/21 20:06:10 gcloudExec: Attempt #2: operation [build container image] for service [hello]: "exit status 1"
2023/01/21 20:07:10 Attempt #3: Running: operation [build container image] for service [hello]...
2023/01/21 20:07:10 Attempt #3: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-10 --tag gcr.io/golang-samples-tests-10/hello:20230121-200403
Attempt #3: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 87.5 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-10_cloudbuild/source/1674331631.303052-760b960d451e49a6923c39e148d1d4fd.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-10/locations/global/builds/a73885b9-8662-4c5d-9091-946085cff548].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/a73885b9-8662-4c5d-9091-946085cff548?project=552771581429 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build a73885b9-8662-4c5d-9091-946085cff548 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "a73885b9-8662-4c5d-9091-946085cff548"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-10_cloudbuild/source/1674331631.303052-760b960d451e49a6923c39e148d1d4fd.tgz#1674331631558739
Copying gs://golang-samples-tests-10_cloudbuild/source/1674331631.303052-760b960d451e49a6923c39e148d1d4fd.tgz#1674331631558739...
/ [0 files][    0.0 B/ 25.9 KiB]                                                
/ [1 files][ 25.9 KiB/ 25.9 KiB]                                                
Operation completed over 1 objects/25.9 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  95.23kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 5130afc1f502
Removing intermediate container 5130afc1f502
 ---> 2ce3d7429ac3
Step 3/8 : COPY . ./
 ---> ec8c45dbbde0
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in ab78e50fc62c
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/21 20:07:48 gcloudExec: Attempt #3: operation [build container image] for service [hello]: "exit status 1"
2023/01/21 20:08:48 Attempt #4: Running: operation [build container image] for service [hello]...
2023/01/21 20:08:48 Attempt #4: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-10 --tag gcr.io/golang-samples-tests-10/hello:20230121-200403
Attempt #4: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 94.5 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-10_cloudbuild/source/1674331728.781668-ea9d478bf36c478da760d56a37991640.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-10/locations/global/builds/1a375d2e-8015-4e67-880b-ea3715015135].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/1a375d2e-8015-4e67-880b-ea3715015135?project=552771581429 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 1a375d2e-8015-4e67-880b-ea3715015135 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "1a375d2e-8015-4e67-880b-ea3715015135"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-10_cloudbuild/source/1674331728.781668-ea9d478bf36c478da760d56a37991640.tgz#1674331729072213
Copying gs://golang-samples-tests-10_cloudbuild/source/1674331728.781668-ea9d478bf36c478da760d56a37991640.tgz#1674331729072213...
/ [0 files][    0.0 B/ 26.2 KiB]                                                
/ [1 files][ 26.2 KiB/ 26.2 KiB]                                                
Operation completed over 1 objects/26.2 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  102.4kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Download complete
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 2417aa1d2cb0
Removing intermediate container 2417aa1d2cb0
 ---> 748710d0a059
Step 3/8 : COPY . ./
 ---> dcb4cd51badd
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 5766d29ce61c
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/21 20:09:31 gcloudExec: Attempt #4: operation [build container image] for service [hello]: "exit status 1"
2023/01/21 20:10:31 Attempt #5: Running: operation [build container image] for service [hello]...
2023/01/21 20:10:31 Attempt #5: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-10 --tag gcr.io/golang-samples-tests-10/hello:20230121-200403
Attempt #5: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 101.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-10_cloudbuild/source/1674331832.420578-4cc95a24dc5f44d7aefa28c5177da143.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-10/locations/global/builds/7111c33c-155a-41a1-b5a0-5f4529502bda].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/7111c33c-155a-41a1-b5a0-5f4529502bda?project=552771581429 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 7111c33c-155a-41a1-b5a0-5f4529502bda completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "7111c33c-155a-41a1-b5a0-5f4529502bda"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-10_cloudbuild/source/1674331832.420578-4cc95a24dc5f44d7aefa28c5177da143.tgz#1674331832681223
Copying gs://golang-samples-tests-10_cloudbuild/source/1674331832.420578-4cc95a24dc5f44d7aefa28c5177da143.tgz#1674331832681223...
/ [0 files][    0.0 B/ 26.4 KiB]                                                
/ [1 files][ 26.4 KiB/ 26.4 KiB]                                                
Operation completed over 1 objects/26.4 KiB.                                     
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  109.1kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 4257f58f65f0
Removing intermediate container 4257f58f65f0
 ---> 388a8e77c03c
Step 3/8 : COPY . ./
 ---> 56f873a0fe49
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 073df9bd2c93
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/21 20:11:11 gcloudExec: Attempt #5: operation [build container image] for service [hello]: "exit status 1"
Creating temporary tarball archive of 6 file(s) totalling 101.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-10_cloudbuild/source/1674331832.420578-4cc95a24dc5f44d7aefa28c5177da143.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-10/locations/global/builds/7111c33c-155a-41a1-b5a0-5f4529502bda].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/7111c33c-155a-41a1-b5a0-5f4529502bda?project=552771581429 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 7111c33c-155a-41a1-b5a0-5f4529502bda completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "7111c33c-155a-41a1-b5a0-5f4529502bda"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-10_cloudbuild/source/1674331832.420578-4cc95a24dc5f44d7aefa28c5177da143.tgz#1674331832681223
Copying gs://golang-samples-tests-10_cloudbuild/source/1674331832.420578-4cc95a24dc5f44d7aefa28c5177da143.tgz#1674331832681223...
/ [0 files][    0.0 B/ 26.4 KiB]                                                
/ [1 files][ 26.4 KiB/ 26.4 KiB]                                                
Operation completed over 1 objects/26.4 KiB.                                     
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  109.1kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 4257f58f65f0
Removing intermediate container 4257f58f65f0
 ---> 388a8e77c03c
Step 3/8 : COPY . ./
 ---> 56f873a0fe49
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 073df9bd2c93
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------
    testingapp_test.go:34: could not deploy hello: gcloud: gcr.io/golang-samples-tests-10/hello:20230121-200403: "gcloudExec: operation [build container image] for service [hello]: gave up after 5 failed attempts"
flaky-bot[bot] commented 1 year ago

commit: 9038a5684dd054073aa9ba96da4e6a2d2b509c14 buildURL: Build Status, Sponge status: failed

Test output
2023/01/24 20:02:23 Attempt #1: Running: operation [build container image] for service [hello]...
2023/01/24 20:02:23 Attempt #1: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-6 --tag gcr.io/golang-samples-tests-6/hello:20230124-200223
Attempt #1: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 73.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-6_cloudbuild/source/1674590543.782367-c7b37553553542e0994aa19b29c8503a.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-6/locations/global/builds/adbaa3e7-322c-4753-8b7f-cfc3ed99db2b].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/adbaa3e7-322c-4753-8b7f-cfc3ed99db2b?project=921525631740 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build adbaa3e7-322c-4753-8b7f-cfc3ed99db2b completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "adbaa3e7-322c-4753-8b7f-cfc3ed99db2b"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-6_cloudbuild/source/1674590543.782367-c7b37553553542e0994aa19b29c8503a.tgz#1674590544055467
Copying gs://golang-samples-tests-6_cloudbuild/source/1674590543.782367-c7b37553553542e0994aa19b29c8503a.tgz#1674590544055467...
/ [0 files][    0.0 B/ 24.0 KiB]                                                
/ [1 files][ 24.0 KiB/ 24.0 KiB]                                                
Operation completed over 1 objects/24.0 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  80.38kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in e51fbca0d420
Removing intermediate container e51fbca0d420
 ---> a4396e9914ac
Step 3/8 : COPY . ./
 ---> 4634a1cad110
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 4b5c2b880a39
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/24 20:02:52 gcloudExec: Attempt #1: operation [build container image] for service [hello]: "exit status 1"
2023/01/24 20:03:52 Attempt #2: Running: operation [build container image] for service [hello]...
2023/01/24 20:03:52 Attempt #2: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-6 --tag gcr.io/golang-samples-tests-6/hello:20230124-200223
Attempt #2: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 80.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-6_cloudbuild/source/1674590633.615832-6e176a3c6aa24eb38d417940890d7343.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-6/locations/global/builds/3ca8d193-d9f7-44b7-a9ab-3c195e63db1f].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/3ca8d193-d9f7-44b7-a9ab-3c195e63db1f?project=921525631740 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 3ca8d193-d9f7-44b7-a9ab-3c195e63db1f completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "3ca8d193-d9f7-44b7-a9ab-3c195e63db1f"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-6_cloudbuild/source/1674590633.615832-6e176a3c6aa24eb38d417940890d7343.tgz#1674590633862315
Copying gs://golang-samples-tests-6_cloudbuild/source/1674590633.615832-6e176a3c6aa24eb38d417940890d7343.tgz#1674590633862315...
/ [0 files][    0.0 B/ 25.5 KiB]                                                
/ [1 files][ 25.5 KiB/ 25.5 KiB]                                                
Operation completed over 1 objects/25.5 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  87.55kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 5ce2fd3afec2
Removing intermediate container 5ce2fd3afec2
 ---> 350adca06f26
Step 3/8 : COPY . ./
 ---> 7aa6402d083e
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in e4b4355474db
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/24 20:04:30 gcloudExec: Attempt #2: operation [build container image] for service [hello]: "exit status 1"
2023/01/24 20:05:30 Attempt #3: Running: operation [build container image] for service [hello]...
2023/01/24 20:05:30 Attempt #3: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-6 --tag gcr.io/golang-samples-tests-6/hello:20230124-200223
Attempt #3: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 87.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-6_cloudbuild/source/1674590730.976338-60b9985798504a7a896cec49471ff7fc.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-6/locations/global/builds/82381467-9a7a-4677-981f-11783151bec3].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/82381467-9a7a-4677-981f-11783151bec3?project=921525631740 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 82381467-9a7a-4677-981f-11783151bec3 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "82381467-9a7a-4677-981f-11783151bec3"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-6_cloudbuild/source/1674590730.976338-60b9985798504a7a896cec49471ff7fc.tgz#1674590731232019
Copying gs://golang-samples-tests-6_cloudbuild/source/1674590730.976338-60b9985798504a7a896cec49471ff7fc.tgz#1674590731232019...
/ [0 files][    0.0 B/ 25.7 KiB]                                                
/ [1 files][ 25.7 KiB/ 25.7 KiB]                                                
Operation completed over 1 objects/25.7 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  94.72kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
9d6246ba248c: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 124dc00a8fbc
Removing intermediate container 124dc00a8fbc
 ---> 3715ffed9ce7
Step 3/8 : COPY . ./
 ---> 073d6ceeb832
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in a117ebc76c92
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/24 20:06:02 gcloudExec: Attempt #3: operation [build container image] for service [hello]: "exit status 1"
2023/01/24 20:07:02 Attempt #4: Running: operation [build container image] for service [hello]...
2023/01/24 20:07:02 Attempt #4: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-6 --tag gcr.io/golang-samples-tests-6/hello:20230124-200223
Attempt #4: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 94.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-6_cloudbuild/source/1674590822.763646-d5eb7c8d14f1472cbae835695ea942f7.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-6/locations/global/builds/d9026032-e32c-4cdd-8383-b739dcbe0c66].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/d9026032-e32c-4cdd-8383-b739dcbe0c66?project=921525631740 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build d9026032-e32c-4cdd-8383-b739dcbe0c66 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "d9026032-e32c-4cdd-8383-b739dcbe0c66"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-6_cloudbuild/source/1674590822.763646-d5eb7c8d14f1472cbae835695ea942f7.tgz#1674590823007428
Copying gs://golang-samples-tests-6_cloudbuild/source/1674590822.763646-d5eb7c8d14f1472cbae835695ea942f7.tgz#1674590823007428...
/ [0 files][    0.0 B/ 26.0 KiB]                                                
/ [1 files][ 26.0 KiB/ 26.0 KiB]                                                
Operation completed over 1 objects/26.0 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  101.9kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in c59b67c6ed68
Removing intermediate container c59b67c6ed68
 ---> f4b518240026
Step 3/8 : COPY . ./
 ---> e41b88a9d98a
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in b4aeaa6bbbd7
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/24 20:07:43 gcloudExec: Attempt #4: operation [build container image] for service [hello]: "exit status 1"
2023/01/24 20:08:43 Attempt #5: Running: operation [build container image] for service [hello]...
2023/01/24 20:08:43 Attempt #5: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-6 --tag gcr.io/golang-samples-tests-6/hello:20230124-200223
Attempt #5: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 101.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-6_cloudbuild/source/1674590924.251365-05b21e650bac42d4b099c328187823cb.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-6/locations/global/builds/63cf7d11-e870-4e03-bc71-b6f74e548b1c].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/63cf7d11-e870-4e03-bc71-b6f74e548b1c?project=921525631740 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 63cf7d11-e870-4e03-bc71-b6f74e548b1c completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "63cf7d11-e870-4e03-bc71-b6f74e548b1c"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-6_cloudbuild/source/1674590924.251365-05b21e650bac42d4b099c328187823cb.tgz#1674590924490392
Copying gs://golang-samples-tests-6_cloudbuild/source/1674590924.251365-05b21e650bac42d4b099c328187823cb.tgz#1674590924490392...
/ [0 files][    0.0 B/ 26.4 KiB]                                                
/ [1 files][ 26.4 KiB/ 26.4 KiB]                                                
Operation completed over 1 objects/26.4 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  109.1kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 948f0dce3cb6
Removing intermediate container 948f0dce3cb6
 ---> 3e6225d42838
Step 3/8 : COPY . ./
 ---> 638d61cd7fc0
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 7814d72d63c7
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/24 20:09:21 gcloudExec: Attempt #5: operation [build container image] for service [hello]: "exit status 1"
Creating temporary tarball archive of 6 file(s) totalling 101.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-6_cloudbuild/source/1674590924.251365-05b21e650bac42d4b099c328187823cb.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-6/locations/global/builds/63cf7d11-e870-4e03-bc71-b6f74e548b1c].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/63cf7d11-e870-4e03-bc71-b6f74e548b1c?project=921525631740 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 63cf7d11-e870-4e03-bc71-b6f74e548b1c completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "63cf7d11-e870-4e03-bc71-b6f74e548b1c"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-6_cloudbuild/source/1674590924.251365-05b21e650bac42d4b099c328187823cb.tgz#1674590924490392
Copying gs://golang-samples-tests-6_cloudbuild/source/1674590924.251365-05b21e650bac42d4b099c328187823cb.tgz#1674590924490392...
/ [0 files][    0.0 B/ 26.4 KiB]                                                
/ [1 files][ 26.4 KiB/ 26.4 KiB]                                                
Operation completed over 1 objects/26.4 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  109.1kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 948f0dce3cb6
Removing intermediate container 948f0dce3cb6
 ---> 3e6225d42838
Step 3/8 : COPY . ./
 ---> 638d61cd7fc0
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 7814d72d63c7
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------
    testingapp_test.go:34: could not deploy hello: gcloud: gcr.io/golang-samples-tests-6/hello:20230124-200223: "gcloudExec: operation [build container image] for service [hello]: gave up after 5 failed attempts"
flaky-bot[bot] commented 1 year ago

commit: 4226690ccc343022b414ac38faa39a0a3550929f buildURL: Build Status, Sponge status: failed

Test output
2023/01/25 19:30:42 Attempt #1: Running: operation [build container image] for service [hello]...
2023/01/25 19:30:42 Attempt #1: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests --tag gcr.io/golang-samples-tests/hello:20230125-193042
Attempt #1: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 73.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests_cloudbuild/source/1674675042.955712-874f22a71b054218ae654aa92ab3caa5.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests/locations/global/builds/2b652e26-1c44-451f-b743-126204197fc6].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/2b652e26-1c44-451f-b743-126204197fc6?project=176007320581 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 2b652e26-1c44-451f-b743-126204197fc6 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "2b652e26-1c44-451f-b743-126204197fc6"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests_cloudbuild/source/1674675042.955712-874f22a71b054218ae654aa92ab3caa5.tgz#1674675043266375
Copying gs://golang-samples-tests_cloudbuild/source/1674675042.955712-874f22a71b054218ae654aa92ab3caa5.tgz#1674675043266375...
/ [0 files][    0.0 B/ 24.0 KiB]                                                
/ [1 files][ 24.0 KiB/ 24.0 KiB]                                                
Operation completed over 1 objects/24.0 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  80.38kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in c6885832a7a7
Removing intermediate container c6885832a7a7
 ---> 077c6f660499
Step 3/8 : COPY . ./
 ---> e6b5b051d043
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 2664d570fc90
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/25 19:31:18 gcloudExec: Attempt #1: operation [build container image] for service [hello]: "exit status 1"
2023/01/25 19:32:18 Attempt #2: Running: operation [build container image] for service [hello]...
2023/01/25 19:32:18 Attempt #2: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests --tag gcr.io/golang-samples-tests/hello:20230125-193042
Attempt #2: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 80.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests_cloudbuild/source/1674675139.396951-def3387079ca42e992fb0a480b092801.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests/locations/global/builds/850eff88-8e0d-42c2-9810-a7c1a61a0778].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/850eff88-8e0d-42c2-9810-a7c1a61a0778?project=176007320581 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 850eff88-8e0d-42c2-9810-a7c1a61a0778 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "850eff88-8e0d-42c2-9810-a7c1a61a0778"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests_cloudbuild/source/1674675139.396951-def3387079ca42e992fb0a480b092801.tgz#1674675139697296
Copying gs://golang-samples-tests_cloudbuild/source/1674675139.396951-def3387079ca42e992fb0a480b092801.tgz#1674675139697296...
/ [0 files][    0.0 B/ 25.5 KiB]                                                
/ [1 files][ 25.5 KiB/ 25.5 KiB]                                                
Operation completed over 1 objects/25.5 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  87.55kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
d8a1c5873f40: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in bb5369172eeb
Removing intermediate container bb5369172eeb
 ---> 21c142a4f02d
Step 3/8 : COPY . ./
 ---> 66f1a38dc6b3
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 6691f91f3a06
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/25 19:32:57 gcloudExec: Attempt #2: operation [build container image] for service [hello]: "exit status 1"
2023/01/25 19:33:58 Attempt #3: Running: operation [build container image] for service [hello]...
2023/01/25 19:33:58 Attempt #3: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests --tag gcr.io/golang-samples-tests/hello:20230125-193042
Attempt #3: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 87.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests_cloudbuild/source/1674675238.810032-5555237b87234b1ab38a7e4c4c658e60.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests/locations/global/builds/901327c1-a1bf-4ce3-a4aa-c23649f2c653].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/901327c1-a1bf-4ce3-a4aa-c23649f2c653?project=176007320581 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 901327c1-a1bf-4ce3-a4aa-c23649f2c653 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "901327c1-a1bf-4ce3-a4aa-c23649f2c653"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests_cloudbuild/source/1674675238.810032-5555237b87234b1ab38a7e4c4c658e60.tgz#1674675239113356
Copying gs://golang-samples-tests_cloudbuild/source/1674675238.810032-5555237b87234b1ab38a7e4c4c658e60.tgz#1674675239113356...
/ [0 files][    0.0 B/ 25.7 KiB]                                                
/ [1 files][ 25.7 KiB/ 25.7 KiB]                                                
Operation completed over 1 objects/25.7 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  94.72kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in dd68cedc9d12
Removing intermediate container dd68cedc9d12
 ---> 71aa6486ea49
Step 3/8 : COPY . ./
 ---> f0c3d2cd2c55
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 77b9e56d3890
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/25 19:34:39 gcloudExec: Attempt #3: operation [build container image] for service [hello]: "exit status 1"
2023/01/25 19:35:39 Attempt #4: Running: operation [build container image] for service [hello]...
2023/01/25 19:35:39 Attempt #4: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests --tag gcr.io/golang-samples-tests/hello:20230125-193042
Attempt #4: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 94.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests_cloudbuild/source/1674675340.424509-94abe4c255c24ca4be939457b6a904f0.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests/locations/global/builds/715d52c4-914d-44b0-9b43-221a5cc4b525].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/715d52c4-914d-44b0-9b43-221a5cc4b525?project=176007320581 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 715d52c4-914d-44b0-9b43-221a5cc4b525 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "715d52c4-914d-44b0-9b43-221a5cc4b525"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests_cloudbuild/source/1674675340.424509-94abe4c255c24ca4be939457b6a904f0.tgz#1674675340740054
Copying gs://golang-samples-tests_cloudbuild/source/1674675340.424509-94abe4c255c24ca4be939457b6a904f0.tgz#1674675340740054...
/ [0 files][    0.0 B/ 26.0 KiB]                                                
/ [1 files][ 26.0 KiB/ 26.0 KiB]                                                
Operation completed over 1 objects/26.0 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  101.9kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in be3ff37a99d9
Removing intermediate container be3ff37a99d9
 ---> 8d1876a4453b
Step 3/8 : COPY . ./
 ---> 8d73a14fd9fd
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 26ec12b2629f
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/25 19:36:19 gcloudExec: Attempt #4: operation [build container image] for service [hello]: "exit status 1"
2023/01/25 19:37:19 Attempt #5: Running: operation [build container image] for service [hello]...
2023/01/25 19:37:19 Attempt #5: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests --tag gcr.io/golang-samples-tests/hello:20230125-193042
Attempt #5: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 101.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests_cloudbuild/source/1674675440.230748-349a06f933c44a7f984f173337b6dcc5.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests/locations/global/builds/5192f196-db82-476f-8f11-aac4bee58fdc].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/5192f196-db82-476f-8f11-aac4bee58fdc?project=176007320581 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 5192f196-db82-476f-8f11-aac4bee58fdc completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "5192f196-db82-476f-8f11-aac4bee58fdc"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests_cloudbuild/source/1674675440.230748-349a06f933c44a7f984f173337b6dcc5.tgz#1674675440506920
Copying gs://golang-samples-tests_cloudbuild/source/1674675440.230748-349a06f933c44a7f984f173337b6dcc5.tgz#1674675440506920...
/ [0 files][    0.0 B/ 26.6 KiB]                                                
/ [1 files][ 26.6 KiB/ 26.6 KiB]                                                
Operation completed over 1 objects/26.6 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  109.1kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 97ab64f9af6b
Removing intermediate container 97ab64f9af6b
 ---> 325fa4707570
Step 3/8 : COPY . ./
 ---> ca12d37606b4
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 4118384b4d4b
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/25 19:38:00 gcloudExec: Attempt #5: operation [build container image] for service [hello]: "exit status 1"
Creating temporary tarball archive of 6 file(s) totalling 101.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests_cloudbuild/source/1674675440.230748-349a06f933c44a7f984f173337b6dcc5.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests/locations/global/builds/5192f196-db82-476f-8f11-aac4bee58fdc].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/5192f196-db82-476f-8f11-aac4bee58fdc?project=176007320581 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 5192f196-db82-476f-8f11-aac4bee58fdc completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "5192f196-db82-476f-8f11-aac4bee58fdc"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests_cloudbuild/source/1674675440.230748-349a06f933c44a7f984f173337b6dcc5.tgz#1674675440506920
Copying gs://golang-samples-tests_cloudbuild/source/1674675440.230748-349a06f933c44a7f984f173337b6dcc5.tgz#1674675440506920...
/ [0 files][    0.0 B/ 26.6 KiB]                                                
/ [1 files][ 26.6 KiB/ 26.6 KiB]                                                
Operation completed over 1 objects/26.6 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  109.1kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 97ab64f9af6b
Removing intermediate container 97ab64f9af6b
 ---> 325fa4707570
Step 3/8 : COPY . ./
 ---> ca12d37606b4
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 4118384b4d4b
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------
    testingapp_test.go:34: could not deploy hello: gcloud: gcr.io/golang-samples-tests/hello:20230125-193042: "gcloudExec: operation [build container image] for service [hello]: gave up after 5 failed attempts"
flaky-bot[bot] commented 1 year ago

commit: e888c56cb843f475db4f79b391be999518e63db4 buildURL: Build Status, Sponge status: failed

Test output
2023/01/27 18:17:24 Attempt #1: Running: operation [build container image] for service [hello]...
2023/01/27 18:17:24 Attempt #1: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-5 --tag gcr.io/golang-samples-tests-5/hello:20230127-181724
Attempt #1: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 74.6 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-5_cloudbuild/source/1674843445.606059-6f11333075824e83a91089d93d12c132.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-5/locations/global/builds/8f5d240e-7e3b-4957-8c76-0900b341f431].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/8f5d240e-7e3b-4957-8c76-0900b341f431?project=402919200380 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 8f5d240e-7e3b-4957-8c76-0900b341f431 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "8f5d240e-7e3b-4957-8c76-0900b341f431"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-5_cloudbuild/source/1674843445.606059-6f11333075824e83a91089d93d12c132.tgz#1674843445945739
Copying gs://golang-samples-tests-5_cloudbuild/source/1674843445.606059-6f11333075824e83a91089d93d12c132.tgz#1674843445945739...
/ [0 files][    0.0 B/ 25.0 KiB]                                                
/ [1 files][ 25.0 KiB/ 25.0 KiB]                                                
Operation completed over 1 objects/25.0 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  81.92kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
c28818711e1e: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in ee1124e2c375
Removing intermediate container ee1124e2c375
 ---> eebd49735fff
Step 3/8 : COPY . ./
 ---> eb5ceeacdea6
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 2d4f9841ef1c
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/27 18:18:02 gcloudExec: Attempt #1: operation [build container image] for service [hello]: "exit status 1"
2023/01/27 18:19:02 Attempt #2: Running: operation [build container image] for service [hello]...
2023/01/27 18:19:02 Attempt #2: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-5 --tag gcr.io/golang-samples-tests-5/hello:20230127-181724
Attempt #2: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 81.6 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-5_cloudbuild/source/1674843542.741568-028ebde3b9b641879753fb4ac269af71.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-5/locations/global/builds/b924248b-f709-4033-85e6-c3733e68c2c5].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/b924248b-f709-4033-85e6-c3733e68c2c5?project=402919200380 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build b924248b-f709-4033-85e6-c3733e68c2c5 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "b924248b-f709-4033-85e6-c3733e68c2c5"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-5_cloudbuild/source/1674843542.741568-028ebde3b9b641879753fb4ac269af71.tgz#1674843543021281
Copying gs://golang-samples-tests-5_cloudbuild/source/1674843542.741568-028ebde3b9b641879753fb4ac269af71.tgz#1674843543021281...
/ [0 files][    0.0 B/ 26.5 KiB]                                                
/ [1 files][ 26.5 KiB/ 26.5 KiB]                                                
Operation completed over 1 objects/26.5 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  89.09kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
c28818711e1e: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 0f1b333fd191
Removing intermediate container 0f1b333fd191
 ---> 852601e9cb5f
Step 3/8 : COPY . ./
 ---> c09e57d72755
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in eff4089ab8ec
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/27 18:19:43 gcloudExec: Attempt #2: operation [build container image] for service [hello]: "exit status 1"
2023/01/27 18:20:43 Attempt #3: Running: operation [build container image] for service [hello]...
2023/01/27 18:20:43 Attempt #3: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-5 --tag gcr.io/golang-samples-tests-5/hello:20230127-181724
Attempt #3: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 88.6 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-5_cloudbuild/source/1674843643.703687-cca6a64cd79d4b768345d6f98addc0fc.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-5/locations/global/builds/b467819c-c694-41db-9585-2b269da4abf5].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/b467819c-c694-41db-9585-2b269da4abf5?project=402919200380 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build b467819c-c694-41db-9585-2b269da4abf5 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "b467819c-c694-41db-9585-2b269da4abf5"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-5_cloudbuild/source/1674843643.703687-cca6a64cd79d4b768345d6f98addc0fc.tgz#1674843644005834
Copying gs://golang-samples-tests-5_cloudbuild/source/1674843643.703687-cca6a64cd79d4b768345d6f98addc0fc.tgz#1674843644005834...
/ [0 files][    0.0 B/ 26.7 KiB]                                                
/ [1 files][ 26.7 KiB/ 26.7 KiB]                                                
Operation completed over 1 objects/26.7 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  96.26kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 2392121113ea
Removing intermediate container 2392121113ea
 ---> 5637175dbd22
Step 3/8 : COPY . ./
 ---> e374c0d26421
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 07c07612220c
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/27 18:21:23 gcloudExec: Attempt #3: operation [build container image] for service [hello]: "exit status 1"
2023/01/27 18:22:23 Attempt #4: Running: operation [build container image] for service [hello]...
2023/01/27 18:22:23 Attempt #4: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-5 --tag gcr.io/golang-samples-tests-5/hello:20230127-181724
Attempt #4: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 95.6 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-5_cloudbuild/source/1674843744.09573-1c80001a76d44ce5b24db7d03ba825c7.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-5/locations/global/builds/15951358-f9d4-4427-a730-1a80d55dbf87].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/15951358-f9d4-4427-a730-1a80d55dbf87?project=402919200380 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 15951358-f9d4-4427-a730-1a80d55dbf87 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "15951358-f9d4-4427-a730-1a80d55dbf87"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-5_cloudbuild/source/1674843744.09573-1c80001a76d44ce5b24db7d03ba825c7.tgz#1674843744384539
Copying gs://golang-samples-tests-5_cloudbuild/source/1674843744.09573-1c80001a76d44ce5b24db7d03ba825c7.tgz#1674843744384539...
/ [0 files][    0.0 B/ 27.0 KiB]                                                
/ [1 files][ 27.0 KiB/ 27.0 KiB]                                                
Operation completed over 1 objects/27.0 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  103.4kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
c28818711e1e: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 76f3fc888501
Removing intermediate container 76f3fc888501
 ---> fd3b7e358fed
Step 3/8 : COPY . ./
 ---> b2ed8ba49d19
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 49a702497335
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/27 18:23:02 gcloudExec: Attempt #4: operation [build container image] for service [hello]: "exit status 1"
2023/01/27 18:24:02 Attempt #5: Running: operation [build container image] for service [hello]...
2023/01/27 18:24:02 Attempt #5: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-5 --tag gcr.io/golang-samples-tests-5/hello:20230127-181724
Attempt #5: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 102.6 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-5_cloudbuild/source/1674843842.977747-d546b797d0264e98801ec1910aa850fa.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-5/locations/global/builds/9c21b329-21bc-448f-b421-d1ddc4e7bfb1].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/9c21b329-21bc-448f-b421-d1ddc4e7bfb1?project=402919200380 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 9c21b329-21bc-448f-b421-d1ddc4e7bfb1 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "9c21b329-21bc-448f-b421-d1ddc4e7bfb1"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-5_cloudbuild/source/1674843842.977747-d546b797d0264e98801ec1910aa850fa.tgz#1674843843286238
Copying gs://golang-samples-tests-5_cloudbuild/source/1674843842.977747-d546b797d0264e98801ec1910aa850fa.tgz#1674843843286238...
/ [0 files][    0.0 B/ 27.5 KiB]                                                
/ [1 files][ 27.5 KiB/ 27.5 KiB]                                                
Operation completed over 1 objects/27.5 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  110.6kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 4e409260e2c7
Removing intermediate container 4e409260e2c7
 ---> 229ffebae9bb
Step 3/8 : COPY . ./
 ---> 656c68ab2a0e
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 81ca647194a8
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/01/27 18:24:34 gcloudExec: Attempt #5: operation [build container image] for service [hello]: "exit status 1"
Creating temporary tarball archive of 6 file(s) totalling 102.6 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-5_cloudbuild/source/1674843842.977747-d546b797d0264e98801ec1910aa850fa.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-5/locations/global/builds/9c21b329-21bc-448f-b421-d1ddc4e7bfb1].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/9c21b329-21bc-448f-b421-d1ddc4e7bfb1?project=402919200380 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 9c21b329-21bc-448f-b421-d1ddc4e7bfb1 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "9c21b329-21bc-448f-b421-d1ddc4e7bfb1"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-5_cloudbuild/source/1674843842.977747-d546b797d0264e98801ec1910aa850fa.tgz#1674843843286238
Copying gs://golang-samples-tests-5_cloudbuild/source/1674843842.977747-d546b797d0264e98801ec1910aa850fa.tgz#1674843843286238...
/ [0 files][    0.0 B/ 27.5 KiB]                                                
/ [1 files][ 27.5 KiB/ 27.5 KiB]                                                
Operation completed over 1 objects/27.5 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  110.6kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 4e409260e2c7
Removing intermediate container 4e409260e2c7
 ---> 229ffebae9bb
Step 3/8 : COPY . ./
 ---> 656c68ab2a0e
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 81ca647194a8
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------
    testingapp_test.go:34: could not deploy hello: gcloud: gcr.io/golang-samples-tests-5/hello:20230127-181724: "gcloudExec: operation [build container image] for service [hello]: gave up after 5 failed attempts"
flaky-bot[bot] commented 1 year ago

commit: 00be7ec6b44bada524d4fc231c2ee8a9cc346772 buildURL: Build Status, Sponge status: failed

Test output
2023/02/02 19:39:28 Attempt #1: Running: operation [build container image] for service [hello]...
2023/02/02 19:39:28 Attempt #1: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-3 --tag gcr.io/golang-samples-tests-3/hello:20230202-193928
Attempt #1: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 73.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-3_cloudbuild/source/1675366769.170591-6a382a9c32d1456abbcd7798d962f9fe.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-3/locations/global/builds/1d478e3b-33e4-4189-a7bc-5215ea6cebf3].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/1d478e3b-33e4-4189-a7bc-5215ea6cebf3?project=798728624787 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 1d478e3b-33e4-4189-a7bc-5215ea6cebf3 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "1d478e3b-33e4-4189-a7bc-5215ea6cebf3"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-3_cloudbuild/source/1675366769.170591-6a382a9c32d1456abbcd7798d962f9fe.tgz#1675366769416605
Copying gs://golang-samples-tests-3_cloudbuild/source/1675366769.170591-6a382a9c32d1456abbcd7798d962f9fe.tgz#1675366769416605...
/ [0 files][    0.0 B/ 24.7 KiB]                                                
/ [1 files][ 24.7 KiB/ 24.7 KiB]                                                
Operation completed over 1 objects/24.7 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  80.38kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in d3b95e8be9aa
Removing intermediate container d3b95e8be9aa
 ---> 03641dcc1df0
Step 3/8 : COPY . ./
 ---> 59caec1ef7f8
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 44bc21624853
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/02/02 19:40:06 gcloudExec: Attempt #1: operation [build container image] for service [hello]: "exit status 1"
2023/02/02 19:41:06 Attempt #2: Running: operation [build container image] for service [hello]...
2023/02/02 19:41:06 Attempt #2: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-3 --tag gcr.io/golang-samples-tests-3/hello:20230202-193928
Attempt #2: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 80.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-3_cloudbuild/source/1675366867.337561-80d9719f464f4fff88d499c7628f6790.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-3/locations/global/builds/4ddb96b4-82dc-4e46-82be-7abe7fb56714].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/4ddb96b4-82dc-4e46-82be-7abe7fb56714?project=798728624787 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 4ddb96b4-82dc-4e46-82be-7abe7fb56714 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "4ddb96b4-82dc-4e46-82be-7abe7fb56714"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-3_cloudbuild/source/1675366867.337561-80d9719f464f4fff88d499c7628f6790.tgz#1675366867571119
Copying gs://golang-samples-tests-3_cloudbuild/source/1675366867.337561-80d9719f464f4fff88d499c7628f6790.tgz#1675366867571119...
/ [0 files][    0.0 B/ 26.2 KiB]                                                
/ [1 files][ 26.2 KiB/ 26.2 KiB]                                                
Operation completed over 1 objects/26.2 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  87.55kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in fd1508a773fa
Removing intermediate container fd1508a773fa
 ---> f6fa460fe133
Step 3/8 : COPY . ./
 ---> 051ecc7c796c
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in c71c7b66a7ab
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/02/02 19:41:45 gcloudExec: Attempt #2: operation [build container image] for service [hello]: "exit status 1"
2023/02/02 19:42:45 Attempt #3: Running: operation [build container image] for service [hello]...
2023/02/02 19:42:45 Attempt #3: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-3 --tag gcr.io/golang-samples-tests-3/hello:20230202-193928
Attempt #3: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 87.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-3_cloudbuild/source/1675366966.524019-82a0aa7a00654712abac99cf6b4b9e12.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-3/locations/global/builds/0ba62f7f-bfe5-4da8-a250-6e1eb0388b92].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/0ba62f7f-bfe5-4da8-a250-6e1eb0388b92?project=798728624787 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 0ba62f7f-bfe5-4da8-a250-6e1eb0388b92 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "0ba62f7f-bfe5-4da8-a250-6e1eb0388b92"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-3_cloudbuild/source/1675366966.524019-82a0aa7a00654712abac99cf6b4b9e12.tgz#1675366966771087
Copying gs://golang-samples-tests-3_cloudbuild/source/1675366966.524019-82a0aa7a00654712abac99cf6b4b9e12.tgz#1675366966771087...
/ [0 files][    0.0 B/ 26.4 KiB]                                                
/ [1 files][ 26.4 KiB/ 26.4 KiB]                                                
Operation completed over 1 objects/26.4 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  94.72kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in d7704afe5a90
Removing intermediate container d7704afe5a90
 ---> d27ee9fd9ea7
Step 3/8 : COPY . ./
 ---> 5560a4dfa5c5
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 2421b24d3ad3
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/02/02 19:43:25 gcloudExec: Attempt #3: operation [build container image] for service [hello]: "exit status 1"
2023/02/02 19:44:25 Attempt #4: Running: operation [build container image] for service [hello]...
2023/02/02 19:44:25 Attempt #4: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-3 --tag gcr.io/golang-samples-tests-3/hello:20230202-193928
Attempt #4: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 94.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-3_cloudbuild/source/1675367066.211418-7b71d57b780f4bed8260e8b1c8de37b6.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-3/locations/global/builds/7e5efc62-7bcc-4fb8-867d-6530ed1f6571].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/7e5efc62-7bcc-4fb8-867d-6530ed1f6571?project=798728624787 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 7e5efc62-7bcc-4fb8-867d-6530ed1f6571 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "7e5efc62-7bcc-4fb8-867d-6530ed1f6571"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-3_cloudbuild/source/1675367066.211418-7b71d57b780f4bed8260e8b1c8de37b6.tgz#1675367066443759
Copying gs://golang-samples-tests-3_cloudbuild/source/1675367066.211418-7b71d57b780f4bed8260e8b1c8de37b6.tgz#1675367066443759...
/ [0 files][    0.0 B/ 26.7 KiB]                                                
/ [1 files][ 26.7 KiB/ 26.7 KiB]                                                
Operation completed over 1 objects/26.7 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  101.9kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
c28818711e1e: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 68aae21afa35
Removing intermediate container 68aae21afa35
 ---> 641b9f978017
Step 3/8 : COPY . ./
 ---> 342a26de051d
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 67f60272ca59
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/02/02 19:45:06 gcloudExec: Attempt #4: operation [build container image] for service [hello]: "exit status 1"
2023/02/02 19:46:06 Attempt #5: Running: operation [build container image] for service [hello]...
2023/02/02 19:46:06 Attempt #5: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-3 --tag gcr.io/golang-samples-tests-3/hello:20230202-193928
Attempt #5: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 101.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-3_cloudbuild/source/1675367167.405399-abbeb11221d04ff8896f6fbbbbcc4d21.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-3/locations/global/builds/6ebfd33f-c544-4fa6-b975-b50631168f38].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/6ebfd33f-c544-4fa6-b975-b50631168f38?project=798728624787 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 6ebfd33f-c544-4fa6-b975-b50631168f38 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "6ebfd33f-c544-4fa6-b975-b50631168f38"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-3_cloudbuild/source/1675367167.405399-abbeb11221d04ff8896f6fbbbbcc4d21.tgz#1675367167655115
Copying gs://golang-samples-tests-3_cloudbuild/source/1675367167.405399-abbeb11221d04ff8896f6fbbbbcc4d21.tgz#1675367167655115...
/ [0 files][    0.0 B/ 27.0 KiB]                                                
/ [1 files][ 27.0 KiB/ 27.0 KiB]                                                
Operation completed over 1 objects/27.0 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  109.1kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
9d6246ba248c: Waiting
c28818711e1e: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 3d3dad2fe9aa
Removing intermediate container 3d3dad2fe9aa
 ---> 4945a1a21bec
Step 3/8 : COPY . ./
 ---> 1f30ef8bc54b
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 35c4acf9bcfe
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/02/02 19:46:48 gcloudExec: Attempt #5: operation [build container image] for service [hello]: "exit status 1"
Creating temporary tarball archive of 6 file(s) totalling 101.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-3_cloudbuild/source/1675367167.405399-abbeb11221d04ff8896f6fbbbbcc4d21.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-3/locations/global/builds/6ebfd33f-c544-4fa6-b975-b50631168f38].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/6ebfd33f-c544-4fa6-b975-b50631168f38?project=798728624787 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 6ebfd33f-c544-4fa6-b975-b50631168f38 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "6ebfd33f-c544-4fa6-b975-b50631168f38"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-3_cloudbuild/source/1675367167.405399-abbeb11221d04ff8896f6fbbbbcc4d21.tgz#1675367167655115
Copying gs://golang-samples-tests-3_cloudbuild/source/1675367167.405399-abbeb11221d04ff8896f6fbbbbcc4d21.tgz#1675367167655115...
/ [0 files][    0.0 B/ 27.0 KiB]                                                
/ [1 files][ 27.0 KiB/ 27.0 KiB]                                                
Operation completed over 1 objects/27.0 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  109.1kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
9d6246ba248c: Waiting
c28818711e1e: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 3d3dad2fe9aa
Removing intermediate container 3d3dad2fe9aa
 ---> 4945a1a21bec
Step 3/8 : COPY . ./
 ---> 1f30ef8bc54b
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 35c4acf9bcfe
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------
    testingapp_test.go:34: could not deploy hello: gcloud: gcr.io/golang-samples-tests-3/hello:20230202-193928: "gcloudExec: operation [build container image] for service [hello]: gave up after 5 failed attempts"
flaky-bot[bot] commented 1 year ago

commit: 96741307119b0aae90966b9dbd98500127650592 buildURL: Build Status, Sponge status: failed

Test output
2023/02/07 18:18:54 Attempt #1: Running: operation [build container image] for service [hello]...
2023/02/07 18:18:54 Attempt #1: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-2 --tag gcr.io/golang-samples-tests-2/hello:20230207-181854
Attempt #1: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 73.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-2_cloudbuild/source/1675793934.817281-2f540c26d10c4f2e9125e037ec3f0607.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-2/locations/global/builds/eff44efb-83a1-4cb9-913f-f8b9ab44473a].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/eff44efb-83a1-4cb9-913f-f8b9ab44473a?project=263638463498 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build eff44efb-83a1-4cb9-913f-f8b9ab44473a completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "eff44efb-83a1-4cb9-913f-f8b9ab44473a"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-2_cloudbuild/source/1675793934.817281-2f540c26d10c4f2e9125e037ec3f0607.tgz#1675793935174576
Copying gs://golang-samples-tests-2_cloudbuild/source/1675793934.817281-2f540c26d10c4f2e9125e037ec3f0607.tgz#1675793935174576...
/ [0 files][    0.0 B/ 24.1 KiB]                                                
/ [1 files][ 24.1 KiB/ 24.1 KiB]                                                
Operation completed over 1 objects/24.1 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  80.38kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
c28818711e1e: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in c500ecddf529
Removing intermediate container c500ecddf529
 ---> 919567e396ac
Step 3/8 : COPY . ./
 ---> 558ee2bee5b7
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 25848646b96e
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/02/07 18:19:32 gcloudExec: Attempt #1: operation [build container image] for service [hello]: "exit status 1"
2023/02/07 18:20:32 Attempt #2: Running: operation [build container image] for service [hello]...
2023/02/07 18:20:32 Attempt #2: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-2 --tag gcr.io/golang-samples-tests-2/hello:20230207-181854
Attempt #2: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 80.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-2_cloudbuild/source/1675794033.486256-8d58ecb6710542a995e9bbaade64d5ce.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-2/locations/global/builds/cede877b-af89-454a-9985-470db466c077].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/cede877b-af89-454a-9985-470db466c077?project=263638463498 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build cede877b-af89-454a-9985-470db466c077 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "cede877b-af89-454a-9985-470db466c077"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-2_cloudbuild/source/1675794033.486256-8d58ecb6710542a995e9bbaade64d5ce.tgz#1675794033835109
Copying gs://golang-samples-tests-2_cloudbuild/source/1675794033.486256-8d58ecb6710542a995e9bbaade64d5ce.tgz#1675794033835109...
/ [0 files][    0.0 B/ 25.6 KiB]                                                
/ [1 files][ 25.6 KiB/ 25.6 KiB]                                                
Operation completed over 1 objects/25.6 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  87.55kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 8706f9a401a4
Removing intermediate container 8706f9a401a4
 ---> d61d42d483b6
Step 3/8 : COPY . ./
 ---> 563b1cfd8dd8
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 91142b2a8e35
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/02/07 18:21:11 gcloudExec: Attempt #2: operation [build container image] for service [hello]: "exit status 1"
2023/02/07 18:22:11 Attempt #3: Running: operation [build container image] for service [hello]...
2023/02/07 18:22:11 Attempt #3: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-2 --tag gcr.io/golang-samples-tests-2/hello:20230207-181854
Attempt #3: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 87.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-2_cloudbuild/source/1675794132.568494-131313f57abd405eb6ade0a592c776bd.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-2/locations/global/builds/ddd7d012-b8b8-4904-a8e6-2f14847edfc0].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/ddd7d012-b8b8-4904-a8e6-2f14847edfc0?project=263638463498 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build ddd7d012-b8b8-4904-a8e6-2f14847edfc0 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "ddd7d012-b8b8-4904-a8e6-2f14847edfc0"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-2_cloudbuild/source/1675794132.568494-131313f57abd405eb6ade0a592c776bd.tgz#1675794132921849
Copying gs://golang-samples-tests-2_cloudbuild/source/1675794132.568494-131313f57abd405eb6ade0a592c776bd.tgz#1675794132921849...
/ [0 files][    0.0 B/ 25.8 KiB]                                                
/ [1 files][ 25.8 KiB/ 25.8 KiB]                                                
Operation completed over 1 objects/25.8 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  94.72kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 2909d2ab74b8
Removing intermediate container 2909d2ab74b8
 ---> cbab143aba8a
Step 3/8 : COPY . ./
 ---> 0d4ed2de6a20
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 6602638519c5
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/02/07 18:22:49 gcloudExec: Attempt #3: operation [build container image] for service [hello]: "exit status 1"
2023/02/07 18:23:49 Attempt #4: Running: operation [build container image] for service [hello]...
2023/02/07 18:23:49 Attempt #4: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-2 --tag gcr.io/golang-samples-tests-2/hello:20230207-181854
Attempt #4: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 94.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-2_cloudbuild/source/1675794230.364157-0b8ad65abc2c475cb00606b44b15d327.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-2/locations/global/builds/96d8f0b9-73a8-44fd-a3f7-633f760d3d7e].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/96d8f0b9-73a8-44fd-a3f7-633f760d3d7e?project=263638463498 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 96d8f0b9-73a8-44fd-a3f7-633f760d3d7e completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "96d8f0b9-73a8-44fd-a3f7-633f760d3d7e"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-2_cloudbuild/source/1675794230.364157-0b8ad65abc2c475cb00606b44b15d327.tgz#1675794230674693
Copying gs://golang-samples-tests-2_cloudbuild/source/1675794230.364157-0b8ad65abc2c475cb00606b44b15d327.tgz#1675794230674693...
/ [0 files][    0.0 B/ 26.1 KiB]                                                
/ [1 files][ 26.1 KiB/ 26.1 KiB]                                                
Operation completed over 1 objects/26.1 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  101.9kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
c28818711e1e: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 470cd3ece2fc
Removing intermediate container 470cd3ece2fc
 ---> d8963018988c
Step 3/8 : COPY . ./
 ---> cd3696f17ea7
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 0c9ac724867b
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/02/07 18:24:29 gcloudExec: Attempt #4: operation [build container image] for service [hello]: "exit status 1"
2023/02/07 18:25:29 Attempt #5: Running: operation [build container image] for service [hello]...
2023/02/07 18:25:29 Attempt #5: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests-2 --tag gcr.io/golang-samples-tests-2/hello:20230207-181854
Attempt #5: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 101.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-2_cloudbuild/source/1675794329.80896-267c86c4cf51425b8130f713a6caefdd.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-2/locations/global/builds/e003c70d-aa7e-4199-ad07-7195e0dc77c3].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/e003c70d-aa7e-4199-ad07-7195e0dc77c3?project=263638463498 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build e003c70d-aa7e-4199-ad07-7195e0dc77c3 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "e003c70d-aa7e-4199-ad07-7195e0dc77c3"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-2_cloudbuild/source/1675794329.80896-267c86c4cf51425b8130f713a6caefdd.tgz#1675794330123807
Copying gs://golang-samples-tests-2_cloudbuild/source/1675794329.80896-267c86c4cf51425b8130f713a6caefdd.tgz#1675794330123807...
/ [0 files][    0.0 B/ 26.8 KiB]                                                
/ [1 files][ 26.8 KiB/ 26.8 KiB]                                                
Operation completed over 1 objects/26.8 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  109.1kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in e67c99b1db9b
Removing intermediate container e67c99b1db9b
 ---> cbb4e2b96c12
Step 3/8 : COPY . ./
 ---> c9a1f1c65c3f
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in e332c5939f25
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/02/07 18:26:10 gcloudExec: Attempt #5: operation [build container image] for service [hello]: "exit status 1"
Creating temporary tarball archive of 6 file(s) totalling 101.4 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests-2_cloudbuild/source/1675794329.80896-267c86c4cf51425b8130f713a6caefdd.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests-2/locations/global/builds/e003c70d-aa7e-4199-ad07-7195e0dc77c3].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/e003c70d-aa7e-4199-ad07-7195e0dc77c3?project=263638463498 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build e003c70d-aa7e-4199-ad07-7195e0dc77c3 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "e003c70d-aa7e-4199-ad07-7195e0dc77c3"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests-2_cloudbuild/source/1675794329.80896-267c86c4cf51425b8130f713a6caefdd.tgz#1675794330123807
Copying gs://golang-samples-tests-2_cloudbuild/source/1675794329.80896-267c86c4cf51425b8130f713a6caefdd.tgz#1675794330123807...
/ [0 files][    0.0 B/ 26.8 KiB]                                                
/ [1 files][ 26.8 KiB/ 26.8 KiB]                                                
Operation completed over 1 objects/26.8 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  109.1kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in e67c99b1db9b
Removing intermediate container e67c99b1db9b
 ---> cbb4e2b96c12
Step 3/8 : COPY . ./
 ---> c9a1f1c65c3f
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in e332c5939f25
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------
    testingapp_test.go:34: could not deploy hello: gcloud: gcr.io/golang-samples-tests-2/hello:20230207-181854: "gcloudExec: operation [build container image] for service [hello]: gave up after 5 failed attempts"
flaky-bot[bot] commented 1 year ago

commit: 591fadee45ebdc97f9146f95238daa1b818b54bc buildURL: Build Status, Sponge status: failed

Test output
2023/02/11 20:06:29 Attempt #1: Running: operation [build container image] for service [hello]...
2023/02/11 20:06:29 Attempt #1: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests --tag gcr.io/golang-samples-tests/hello:20230211-200629
Attempt #1: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 73.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests_cloudbuild/source/1676145990.654979-83b3930ba7044f4b973ca7f90db65a16.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests/locations/global/builds/6fb52b42-9567-481b-95c3-b31632b98938].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/6fb52b42-9567-481b-95c3-b31632b98938?project=176007320581 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 6fb52b42-9567-481b-95c3-b31632b98938 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "6fb52b42-9567-481b-95c3-b31632b98938"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests_cloudbuild/source/1676145990.654979-83b3930ba7044f4b973ca7f90db65a16.tgz#1676145990938971
Copying gs://golang-samples-tests_cloudbuild/source/1676145990.654979-83b3930ba7044f4b973ca7f90db65a16.tgz#1676145990938971...
/ [0 files][    0.0 B/ 24.7 KiB]                                                
/ [1 files][ 24.7 KiB/ 24.7 KiB]                                                
Operation completed over 1 objects/24.7 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  80.38kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 9f0ca9a82672
Removing intermediate container 9f0ca9a82672
 ---> ad3762228b90
Step 3/8 : COPY . ./
 ---> 6fc0831ef8a4
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 267fb2279b78
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/02/11 20:07:01 gcloudExec: Attempt #1: operation [build container image] for service [hello]: "exit status 1"
2023/02/11 20:08:01 Attempt #2: Running: operation [build container image] for service [hello]...
2023/02/11 20:08:01 Attempt #2: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests --tag gcr.io/golang-samples-tests/hello:20230211-200629
Attempt #2: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 80.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests_cloudbuild/source/1676146081.814719-1e27bbe300f841118b9c5893c6d59dac.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests/locations/global/builds/3f9b55d4-2b79-4e9d-b0c3-519a4ce74951].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/3f9b55d4-2b79-4e9d-b0c3-519a4ce74951?project=176007320581 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 3f9b55d4-2b79-4e9d-b0c3-519a4ce74951 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "3f9b55d4-2b79-4e9d-b0c3-519a4ce74951"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests_cloudbuild/source/1676146081.814719-1e27bbe300f841118b9c5893c6d59dac.tgz#1676146082122918
Copying gs://golang-samples-tests_cloudbuild/source/1676146081.814719-1e27bbe300f841118b9c5893c6d59dac.tgz#1676146082122918...
/ [0 files][    0.0 B/ 26.2 KiB]                                                
/ [1 files][ 26.2 KiB/ 26.2 KiB]                                                
Operation completed over 1 objects/26.2 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  87.55kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
c28818711e1e: Waiting
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in d9d7fa12bf7a
Removing intermediate container d9d7fa12bf7a
 ---> 04e6e567fa25
Step 3/8 : COPY . ./
 ---> 5bea851201c5
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in b2b072d4bb14
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/02/11 20:08:36 gcloudExec: Attempt #2: operation [build container image] for service [hello]: "exit status 1"
2023/02/11 20:09:36 Attempt #3: Running: operation [build container image] for service [hello]...
2023/02/11 20:09:36 Attempt #3: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests --tag gcr.io/golang-samples-tests/hello:20230211-200629
Attempt #3: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 87.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests_cloudbuild/source/1676146177.363367-dea1debbc5c3417ba4fb319035015ffd.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests/locations/global/builds/3875369b-6666-4a9b-a7a8-0780cadd1415].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/3875369b-6666-4a9b-a7a8-0780cadd1415?project=176007320581 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 3875369b-6666-4a9b-a7a8-0780cadd1415 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "3875369b-6666-4a9b-a7a8-0780cadd1415"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests_cloudbuild/source/1676146177.363367-dea1debbc5c3417ba4fb319035015ffd.tgz#1676146177623700
Copying gs://golang-samples-tests_cloudbuild/source/1676146177.363367-dea1debbc5c3417ba4fb319035015ffd.tgz#1676146177623700...
/ [0 files][    0.0 B/ 26.4 KiB]                                                
/ [1 files][ 26.4 KiB/ 26.4 KiB]                                                
Operation completed over 1 objects/26.4 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  94.72kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
21d43f0d73c2: Waiting
9d6246ba248c: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in eb3961aa8df3
Removing intermediate container eb3961aa8df3
 ---> e4f4db6b36cf
Step 3/8 : COPY . ./
 ---> 2f68f0a07ec9
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in adf1b4f3f2c4
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/02/11 20:10:16 gcloudExec: Attempt #3: operation [build container image] for service [hello]: "exit status 1"
2023/02/11 20:11:16 Attempt #4: Running: operation [build container image] for service [hello]...
2023/02/11 20:11:16 Attempt #4: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests --tag gcr.io/golang-samples-tests/hello:20230211-200629
Attempt #4: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 94.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests_cloudbuild/source/1676146277.437868-d323aa1911af4eb5bb81cd3984d92928.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests/locations/global/builds/d78e70f6-51fa-4a85-870b-dc0a28ea70f4].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/d78e70f6-51fa-4a85-870b-dc0a28ea70f4?project=176007320581 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build d78e70f6-51fa-4a85-870b-dc0a28ea70f4 completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "d78e70f6-51fa-4a85-870b-dc0a28ea70f4"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests_cloudbuild/source/1676146277.437868-d323aa1911af4eb5bb81cd3984d92928.tgz#1676146277726131
Copying gs://golang-samples-tests_cloudbuild/source/1676146277.437868-d323aa1911af4eb5bb81cd3984d92928.tgz#1676146277726131...
/ [0 files][    0.0 B/ 26.7 KiB]                                                
/ [1 files][ 26.7 KiB/ 26.7 KiB]                                                
Operation completed over 1 objects/26.7 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  101.9kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
c28818711e1e: Waiting
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Verifying Checksum
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in 66726a4ca49d
Removing intermediate container 66726a4ca49d
 ---> 0256d59aea68
Step 3/8 : COPY . ./
 ---> e967108952ce
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in c35e6b774f20
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/02/11 20:11:55 gcloudExec: Attempt #4: operation [build container image] for service [hello]: "exit status 1"
2023/02/11 20:12:55 Attempt #5: Running: operation [build container image] for service [hello]...
2023/02/11 20:12:55 Attempt #5: Executing: operation [build container image] for service [hello]: /tmp/google-cloud-sdk/bin/gcloud: --quiet beta builds submit --project golang-samples-tests --tag gcr.io/golang-samples-tests/hello:20230211-200629
Attempt #5: operation [build container image] for service [hello]: Error Output
###
Creating temporary tarball archive of 6 file(s) totalling 101.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests_cloudbuild/source/1676146375.940691-f774eaa4df75436db5418e127232796f.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests/locations/global/builds/41fd83d1-5892-4591-a04f-51527d1eaaac].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/41fd83d1-5892-4591-a04f-51527d1eaaac?project=176007320581 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 41fd83d1-5892-4591-a04f-51527d1eaaac completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "41fd83d1-5892-4591-a04f-51527d1eaaac"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests_cloudbuild/source/1676146375.940691-f774eaa4df75436db5418e127232796f.tgz#1676146376218035
Copying gs://golang-samples-tests_cloudbuild/source/1676146375.940691-f774eaa4df75436db5418e127232796f.tgz#1676146376218035...
/ [0 files][    0.0 B/ 26.9 KiB]                                                
/ [1 files][ 26.9 KiB/ 26.9 KiB]                                                
Operation completed over 1 objects/26.9 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  109.1kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
c28818711e1e: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in ef89dfda8aec
Removing intermediate container ef89dfda8aec
 ---> 9a1afdc01b0c
Step 3/8 : COPY . ./
 ---> a651eeb2f2f4
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 51b89e6b3cb3
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------

###
2023/02/11 20:13:32 gcloudExec: Attempt #5: operation [build container image] for service [hello]: "exit status 1"
Creating temporary tarball archive of 6 file(s) totalling 101.3 KiB before compression.
Uploading tarball of [.] to [gs://golang-samples-tests_cloudbuild/source/1676146375.940691-f774eaa4df75436db5418e127232796f.tgz]
Created [https://cloudbuild.googleapis.com/v1/projects/golang-samples-tests/locations/global/builds/41fd83d1-5892-4591-a04f-51527d1eaaac].
Logs are available at [ https://console.cloud.google.com/cloud-build/builds/41fd83d1-5892-4591-a04f-51527d1eaaac?project=176007320581 ].

BUILD FAILURE: Build step failure: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
ERROR: (gcloud.beta.builds.submit) build 41fd83d1-5892-4591-a04f-51527d1eaaac completed with status "FAILURE"
----------------------------- REMOTE BUILD OUTPUT ------------------------------
starting build "41fd83d1-5892-4591-a04f-51527d1eaaac"

FETCHSOURCE
Fetching storage object: gs://golang-samples-tests_cloudbuild/source/1676146375.940691-f774eaa4df75436db5418e127232796f.tgz#1676146376218035
Copying gs://golang-samples-tests_cloudbuild/source/1676146375.940691-f774eaa4df75436db5418e127232796f.tgz#1676146376218035...
/ [0 files][    0.0 B/ 26.9 KiB]                                                
/ [1 files][ 26.9 KiB/ 26.9 KiB]                                                
Operation completed over 1 objects/26.9 KiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  109.1kB
Step 1/8 : FROM golang:1.17 as builder
1.17: Pulling from library/golang
d836772a1c1f: Pulling fs layer
66a9e63c657a: Pulling fs layer
d1989b6e74cf: Pulling fs layer
c28818711e1e: Pulling fs layer
9d6246ba248c: Pulling fs layer
21d43f0d73c2: Pulling fs layer
d8a1c5873f40: Pulling fs layer
9d6246ba248c: Waiting
21d43f0d73c2: Waiting
d8a1c5873f40: Waiting
c28818711e1e: Waiting
66a9e63c657a: Verifying Checksum
66a9e63c657a: Download complete
d1989b6e74cf: Verifying Checksum
d1989b6e74cf: Download complete
d836772a1c1f: Download complete
c28818711e1e: Verifying Checksum
c28818711e1e: Download complete
d8a1c5873f40: Verifying Checksum
d8a1c5873f40: Download complete
9d6246ba248c: Verifying Checksum
9d6246ba248c: Download complete
21d43f0d73c2: Verifying Checksum
21d43f0d73c2: Download complete
d836772a1c1f: Pull complete
66a9e63c657a: Pull complete
d1989b6e74cf: Pull complete
c28818711e1e: Pull complete
9d6246ba248c: Pull complete
21d43f0d73c2: Pull complete
d8a1c5873f40: Pull complete
Digest: sha256:87262e4a4c7db56158a80a18fefdc4fee5accc41b59cde821e691d05541bbb18
Status: Downloaded newer image for golang:1.17
 ---> 742df529b073
Step 2/8 : WORKDIR /app
 ---> Running in ef89dfda8aec
Removing intermediate container ef89dfda8aec
 ---> 9a1afdc01b0c
Step 3/8 : COPY . ./
 ---> a651eeb2f2f4
Step 4/8 : RUN CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server
 ---> Running in 51b89e6b3cb3
go: inconsistent vendoring in /app:
    github.com/GoogleCloudPlatform/golang-samples@v0.0.0-20221212191713-33c1a699be11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go@v0.105.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute@v1.12.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/compute/metadata@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/iam@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/logging@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/longrunning@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    cloud.google.com/go/storage@v1.28.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/golang/protobuf@v1.5.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/enterprise-certificate-proxy@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    github.com/googleapis/gax-go/v2@v2.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/net@v0.0.0-20221014081412-f15817d10f9b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/oauth2@v0.0.0-20221014153046-6fdb5e3db783: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sync@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/sys@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/text@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/api@v0.103.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/genproto@v0.0.0-20221109142239-94d6d90a7d66: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/grpc@v1.50.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    google.golang.org/protobuf@v1.28.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
        go mod vendor
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -mod=vendor -v -o server' returned a non-zero code: 1
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

--------------------------------------------------------------------------------
    testingapp_test.go:34: could not deploy hello: gcloud: gcr.io/golang-samples-tests/hello:20230211-200629: "gcloudExec: operation [build container image] for service [hello]: gave up after 5 failed attempts"
flaky-bot[bot] commented 1 year ago

Test passed for commit c35c70ef49a0f51257d3de25c2c49840967675cc (Build Status, Sponge)! Closing this issue.