This job view page is being replaced by Spyglass soon. Check out the new job view.
PRjustaugustus: Dockerfile: Explicitly specify root home dir when copying Docker conf
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2021-10-06 23:03
Elapsed2m42s
Revisiona2ad252e23994600c53a0aedf45647f6aa7f5e7c
Refs 446

No Test Failures!


Error lines from build-log.txt

... skipping 19 lines ...
/ [0 files][    0.0 B/194.2 KiB]                                                
/ [1 files][194.2 KiB/194.2 KiB]                                                
Operation completed over 1 objects/194.2 KiB.
BUILD
Starting Step #0
Step #0: Already have image (with digest): gcr.io/cloud-builders/docker
Step #0: ./hack/cip-image.sh build
Step #0: fatal: Not a git repository (or any parent up to mount point /workspace)
Step #0: Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Step #0: Executing: docker build --build-arg variant=test -t gcr.io/k8s-staging-releng-test/kpromo-auditor:latest -t gcr.io/k8s-staging-releng-test/kpromo-auditor:v20211006-v3.3.0-beta.1-5-g63c7548 -t gcr.io/k8s-staging-releng-test/kpromo-auditor:v3.3.0-beta.1-2 /workspace
Step #0: Sending build context to Docker daemon   1.12MB

Step #0: Step 1/23 : ARG variant
Step #0: Step 2/23 : ARG GO_VERSION
Step #0: Step 3/23 : ARG OS_CODENAME
... skipping 39 lines ...
Step #0: Step 10/23 : ENV GOARCH=${ARCH}
Step #0:  ---> Running in ba005f1296a4
Step #0: Removing intermediate container ba005f1296a4
Step #0:  ---> 41369240e932
Step #0: Step 11/23 : RUN make kpromo
Step #0:  ---> Running in 75b542d9e5c1
Step #0: fatal: not a git repository (or any of the parent directories): .git
Step #0: fatal: not a git repository (or any of the parent directories): .git
Step #0: fatal: not a git repository (or any of the parent directories): .git
Step #0: fatal: not a git repository (or any of the parent directories): .git
Step #0: /go/src/app/go_with_version.sh build -trimpath -ldflags '-s -w -buildid= -extldflags "-static" '"-X sigs.k8s.io/promo-tools/v3/internal/version.gitVersion= -X sigs.k8s.io/promo-tools/v3/internal/version.gitCommit= -X sigs.k8s.io/promo-tools/v3/internal/version.gitTreeState="clean" -X sigs.k8s.io/promo-tools/v3/internal/version.buildDate='2021-10-06T23:05:18Z'"'' -o ./bin/kpromo ./cmd/kpromo
Step #0: fatal: not a git repository (or any of the parent directories): .git
Step #0: go: downloading sigs.k8s.io/release-utils v0.3.0
Step #0: go: downloading cloud.google.com/go/storage v1.17.0
Step #0: go: downloading golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f
Step #0: go: downloading google.golang.org/api v0.58.0
Step #0: go: downloading github.com/spf13/cobra v1.2.1
Step #0: go: downloading github.com/sirupsen/logrus v1.8.1
... skipping 758 lines ...
Step #0: Successfully built b1832f975282
Step #0: Successfully tagged gcr.io/k8s-staging-releng-test/kpromo:latest
Step #0: Successfully tagged gcr.io/k8s-staging-releng-test/kpromo:v20211006-v3.3.0-beta.1-5-g63c7548
Step #0: Successfully tagged gcr.io/k8s-staging-releng-test/kpromo:v3.3.0-beta.1-2
Step #0: ./hack/cip-image.sh finished.
Step #0: ./hack/cip-image.sh push
Step #0: fatal: Not a git repository (or any parent up to mount point /workspace)
Step #0: Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Step #0: The push refers to repository [gcr.io/k8s-staging-releng-test/kpromo-auditor]
Step #0: e6b86be29e64: Preparing
Step #0: 5a4714d23dd6: Preparing
Step #0: f5f896a730a5: Preparing
Step #0: 172be98e23bb: Preparing
... skipping 68 lines ...
Step #0: 172be98e23bb: Layer already exists
Step #0: e5c53125c129: Layer already exists
Step #0: 5a4714d23dd6: Layer already exists
Step #0: 095b7edfd72a: Layer already exists
Step #0: 476baebdfbf7: Layer already exists
Step #0: b868e3e3051d: Layer already exists
ERROR: (gcloud.builds.submit) build 81194c9c-1590-41ac-887c-aba1772a367e completed with status "FAILURE"
Step #0: latest: digest: sha256:96528ea7a3bc9326f1ef3969d583666f431e1ddc8d0b671de190af23a6553980 size: 1787
Step #0: The push refers to repository [gcr.io/k8s-staging-releng-test/kpromo]
Step #0: 5a4714d23dd6: Preparing
Step #0: f5f896a730a5: Preparing
Step #0: 172be98e23bb: Preparing
Step #0: 095b7edfd72a: Preparing
... skipping 56 lines ...
Step #1 - "structure-test": gcr.io/gcp-runtimes/container-structure-test:latest
Step #1 - "structure-test": 
Step #1 - "structure-test": =================================================
Step #1 - "structure-test": ====== Test file: container-structure.yaml ======
Step #1 - "structure-test": =================================================
Step #1 - "structure-test": === RUN: File Existence Test: Docker configuration file
Step #1 - "structure-test": --- FAIL
Step #1 - "structure-test": duration: 0s
Step #1 - "structure-test": Error: Error examining file in container: Error retrieving file from container: API error (404): Could not find the file /root/.docker/config.json in container 8ed5505d106b838f0b4c5266437a6f23b85571da350784eba29da4ef340b31e1
Step #1 - "structure-test": 
Step #1 - "structure-test": =================================================
Step #1 - "structure-test": ==================== RESULTS ====================
Step #1 - "structure-test": =================================================
Step #1 - "structure-test": Passes:      0
Step #1 - "structure-test": Failures:    1
Step #1 - "structure-test": Duration:    0s
Step #1 - "structure-test": Total tests: 1
Step #1 - "structure-test": 
Step #1 - "structure-test": FAIL
Step #1 - "structure-test": time="2021-10-06T23:06:20Z" level=fatal msg=FAIL
Finished Step #1 - "structure-test"
ERROR
ERROR: build step 1 "gcr.io/gcp-runtimes/container-structure-test" failed: step exited with non-zero status: 1
--------------------------------------------------------------------------------
2021/10/06 23:06:23 Failed to run some build jobs: [error running [gcloud builds submit --verbosity info --config /home/prow/go/src/sigs.k8s.io/promo-tools/cloudbuild.yaml --substitutions _PULL_BASE_REF=main,_GIT_TAG=v20211006-v3.3.0-beta.1-5-g63c7548 --project k8s-staging-releng-test --gcs-log-dir gs://k8s-staging-releng-test/logs --gcs-source-staging-dir gs://k8s-staging-releng-test/source gs://k8s-staging-releng-test/source/833d5647-c9ec-4b59-83f2-00c4ed831bc2.tgz]: &{%!w(*os.ProcessState=&{37 256 0xc0000d8090}) []}]