starting build "38bfb315-a47d-4740-acf4-0d61298136d0" FETCHSOURCE BUILD Starting Step #0 Step #0: Already have image (with digest): gcr.io/cloud-builders/git Step #0: Cloning into 'oss-fuzz'... Finished Step #0 Starting Step #1 Step #1: Already have image (with digest): gcr.io/cloud-builders/docker Step #1: Sending build context to Docker daemon 5.12kB Step #1: Step 1/6 : FROM gcr.io/oss-fuzz-base/base-builder-go Step #1: latest: Pulling from oss-fuzz-base/base-builder-go Step #1: b549f31133a9: Pulling fs layer Step #1: 6a031355e5a4: Pulling fs layer Step #1: 0b72f79bb618: Pulling fs layer Step #1: 90335b886515: Pulling fs layer Step #1: 4acfddd8e55d: Pulling fs layer Step #1: e7da934767ce: Pulling fs layer Step #1: ca48cdf3983f: Pulling fs layer Step #1: 7dbcdbf5d55f: Pulling fs layer Step #1: 50e9c68d34ea: Pulling fs layer Step #1: 4e836e3eed39: Pulling fs layer Step #1: 4b5040227f1e: Pulling fs layer Step #1: d3fb02ed4540: Pulling fs layer Step #1: 1f5f6d4a864c: Pulling fs layer Step #1: fac93c045c91: Pulling fs layer Step #1: 8846363f4f98: Pulling fs layer Step #1: 625645c62835: Pulling fs layer Step #1: ef05bcbd095c: Pulling fs layer Step #1: c3f48f44c27e: Pulling fs layer Step #1: 90335b886515: Waiting Step #1: 534e4ce04141: Pulling fs layer Step #1: bcc4f22e74eb: Pulling fs layer Step #1: 4acfddd8e55d: Waiting Step #1: b92dd1a5cf6c: Pulling fs layer Step #1: e7da934767ce: Waiting Step #1: b4e67ac51e1a: Pulling fs layer Step #1: 1dd8dea6f287: Pulling fs layer Step #1: 9db7b76f6a4a: Pulling fs layer Step #1: ca48cdf3983f: Waiting Step #1: 4e2c795fe7b7: Pulling fs layer Step #1: 8a57f4724c32: Pulling fs layer Step #1: 7dbcdbf5d55f: Waiting Step #1: 73ce5d51499a: Pulling fs layer Step #1: 50e9c68d34ea: Waiting Step #1: 66494ca4c4bd: Pulling fs layer Step #1: 4e836e3eed39: Waiting Step #1: 86951b715a9f: Pulling fs layer Step #1: 5dda498c2b68: Pulling fs layer Step #1: 1f5f6d4a864c: Waiting Step #1: 960222163586: Pulling fs layer Step #1: 4b5040227f1e: Waiting Step #1: 4517e38bcfdf: Pulling fs layer Step #1: fac93c045c91: Waiting Step #1: f4f6471aefeb: Pulling fs layer Step #1: 8846363f4f98: Waiting Step #1: d3fb02ed4540: Waiting Step #1: 625645c62835: Waiting Step #1: 1dd8dea6f287: Waiting Step #1: ef05bcbd095c: Waiting Step #1: 9db7b76f6a4a: Waiting Step #1: b92dd1a5cf6c: Waiting Step #1: bcc4f22e74eb: Waiting Step #1: b4e67ac51e1a: Waiting Step #1: 4e2c795fe7b7: Waiting Step #1: c3f48f44c27e: Waiting Step #1: 534e4ce04141: Waiting Step #1: 8a57f4724c32: Waiting Step #1: 960222163586: Waiting Step #1: f4f6471aefeb: Waiting Step #1: 4517e38bcfdf: Waiting Step #1: 5dda498c2b68: Waiting Step #1: 66494ca4c4bd: Waiting Step #1: 0b72f79bb618: Verifying Checksum Step #1: 0b72f79bb618: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 4acfddd8e55d: Verifying Checksum Step #1: 4acfddd8e55d: Download complete Step #1: e7da934767ce: Verifying Checksum Step #1: e7da934767ce: Download complete Step #1: 90335b886515: Verifying Checksum Step #1: 90335b886515: Download complete Step #1: 7dbcdbf5d55f: Verifying Checksum Step #1: 7dbcdbf5d55f: Download complete Step #1: 50e9c68d34ea: Download complete Step #1: 6a031355e5a4: Verifying Checksum Step #1: 6a031355e5a4: Download complete Step #1: 4b5040227f1e: Verifying Checksum Step #1: 4b5040227f1e: Download complete Step #1: d3fb02ed4540: Verifying Checksum Step #1: d3fb02ed4540: Download complete Step #1: 1f5f6d4a864c: Verifying Checksum Step #1: 1f5f6d4a864c: Download complete Step #1: fac93c045c91: Verifying Checksum Step #1: fac93c045c91: Download complete Step #1: b549f31133a9: Pull complete Step #1: 8846363f4f98: Verifying Checksum Step #1: 8846363f4f98: Download complete Step #1: 625645c62835: Verifying Checksum Step #1: 625645c62835: Download complete Step #1: ef05bcbd095c: Verifying Checksum Step #1: ef05bcbd095c: Download complete Step #1: c3f48f44c27e: Verifying Checksum Step #1: c3f48f44c27e: Download complete Step #1: 534e4ce04141: Verifying Checksum Step #1: 534e4ce04141: Download complete Step #1: bcc4f22e74eb: Verifying Checksum Step #1: bcc4f22e74eb: Download complete Step #1: b92dd1a5cf6c: Verifying Checksum Step #1: b92dd1a5cf6c: Download complete Step #1: 4e836e3eed39: Download complete Step #1: b4e67ac51e1a: Verifying Checksum Step #1: b4e67ac51e1a: Download complete Step #1: 1dd8dea6f287: Verifying Checksum Step #1: 1dd8dea6f287: Download complete Step #1: 9db7b76f6a4a: Verifying Checksum Step #1: 9db7b76f6a4a: Download complete Step #1: 4e2c795fe7b7: Verifying Checksum Step #1: 4e2c795fe7b7: Download complete Step #1: 8a57f4724c32: Verifying Checksum Step #1: 8a57f4724c32: Download complete Step #1: 66494ca4c4bd: Verifying Checksum Step #1: 66494ca4c4bd: Download complete Step #1: 73ce5d51499a: Verifying Checksum Step #1: 73ce5d51499a: Download complete Step #1: 86951b715a9f: Verifying Checksum Step #1: 86951b715a9f: Download complete Step #1: 5dda498c2b68: Download complete Step #1: 960222163586: Download complete Step #1: f4f6471aefeb: Verifying Checksum Step #1: f4f6471aefeb: Download complete Step #1: ca48cdf3983f: Download complete Step #1: 6a031355e5a4: Pull complete Step #1: 0b72f79bb618: Pull complete Step #1: 4517e38bcfdf: Verifying Checksum Step #1: 4517e38bcfdf: Download complete Step #1: 90335b886515: Pull complete Step #1: 4acfddd8e55d: Pull complete Step #1: e7da934767ce: Pull complete Step #1: ca48cdf3983f: Pull complete Step #1: 7dbcdbf5d55f: Pull complete Step #1: 50e9c68d34ea: Pull complete Step #1: 4e836e3eed39: Pull complete Step #1: 4b5040227f1e: Pull complete Step #1: d3fb02ed4540: Pull complete Step #1: 1f5f6d4a864c: Pull complete Step #1: fac93c045c91: Pull complete Step #1: 8846363f4f98: Pull complete Step #1: 625645c62835: Pull complete Step #1: ef05bcbd095c: Pull complete Step #1: c3f48f44c27e: Pull complete Step #1: 534e4ce04141: Pull complete Step #1: bcc4f22e74eb: Pull complete Step #1: b92dd1a5cf6c: Pull complete Step #1: b4e67ac51e1a: Pull complete Step #1: 1dd8dea6f287: Pull complete Step #1: 9db7b76f6a4a: Pull complete Step #1: 4e2c795fe7b7: Pull complete Step #1: 8a57f4724c32: Pull complete Step #1: 73ce5d51499a: Pull complete Step #1: 66494ca4c4bd: Pull complete Step #1: 86951b715a9f: Pull complete Step #1: 5dda498c2b68: Pull complete Step #1: 960222163586: Pull complete Step #1: 4517e38bcfdf: Pull complete Step #1: f4f6471aefeb: Pull complete Step #1: Digest: sha256:cf6bea199634095914735427495b253959d9e98c5390a7bed92d9e5d31272c2a Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> f1999e4f2d7b Step #1: Step 2/6 : RUN git clone --depth 1 https://github.com/etcd-io/etcd Step #1: ---> Running in e9e11e67b24a Step #1: Cloning into 'etcd'... Step #1: Removing intermediate container e9e11e67b24a Step #1: ---> 18b958bbc34a Step #1: Step 3/6 : RUN git clone --depth 1 https://github.com/etcd-io/raft Step #1: ---> Running in 64c0e659c7ea Step #1: Cloning into 'raft'... Step #1: Removing intermediate container 64c0e659c7ea Step #1: ---> e2be75804372 Step #1: Step 4/6 : RUN git clone --depth 1 https://github.com/cncf/cncf-fuzzing Step #1: ---> Running in 49aa206f60cc Step #1: Cloning into 'cncf-fuzzing'... Step #1: Removing intermediate container 49aa206f60cc Step #1: ---> 0f5fb3603a2e Step #1: Step 5/6 : COPY build.sh $SRC/ Step #1: ---> 7dcbdb3e2e84 Step #1: Step 6/6 : WORKDIR $SRC/etcd Step #1: ---> Running in 124c2fc56dcc Step #1: Removing intermediate container 124c2fc56dcc Step #1: ---> aa73b1ec09fa Step #1: Successfully built aa73b1ec09fa Step #1: Successfully tagged gcr.io/oss-fuzz/etcd:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/etcd Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileCPPYfO Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ go == \g\o ]] Step #2 - "srcmap": + PATHS_TO_SCAN='/src /root/go' Step #2 - "srcmap": ++ find /src /root/go -name .git -type d Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/cncf-fuzzing/.git Step #2 - "srcmap": + GIT_DIR=/src/cncf-fuzzing Step #2 - "srcmap": + cd /src/cncf-fuzzing Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/cncf/cncf-fuzzing Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=ea2f998ab679916f12730cf132a73b6be2585651 Step #2 - "srcmap": + jq_inplace /tmp/fileCPPYfO '."/src/cncf-fuzzing" = { type: "git", url: "https://github.com/cncf/cncf-fuzzing", rev: "ea2f998ab679916f12730cf132a73b6be2585651" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileqaVCHc Step #2 - "srcmap": + cat /tmp/fileCPPYfO Step #2 - "srcmap": + jq '."/src/cncf-fuzzing" = { type: "git", url: "https://github.com/cncf/cncf-fuzzing", rev: "ea2f998ab679916f12730cf132a73b6be2585651" }' Step #2 - "srcmap": + mv /tmp/fileqaVCHc /tmp/fileCPPYfO Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/raft/.git Step #2 - "srcmap": + GIT_DIR=/src/raft Step #2 - "srcmap": + cd /src/raft Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/etcd-io/raft Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=02022dfb76d8b3ff17660794ba1083016d6a0f88 Step #2 - "srcmap": + jq_inplace /tmp/fileCPPYfO '."/src/raft" = { type: "git", url: "https://github.com/etcd-io/raft", rev: "02022dfb76d8b3ff17660794ba1083016d6a0f88" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filenVfNbK Step #2 - "srcmap": + cat /tmp/fileCPPYfO Step #2 - "srcmap": + jq '."/src/raft" = { type: "git", url: "https://github.com/etcd-io/raft", rev: "02022dfb76d8b3ff17660794ba1083016d6a0f88" }' Step #2 - "srcmap": + mv /tmp/filenVfNbK /tmp/fileCPPYfO Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/etcd/.git Step #2 - "srcmap": + GIT_DIR=/src/etcd Step #2 - "srcmap": + cd /src/etcd Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/etcd-io/etcd Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=902436eee50b1a7bf204d926189e146c69dec706 Step #2 - "srcmap": + jq_inplace /tmp/fileCPPYfO '."/src/etcd" = { type: "git", url: "https://github.com/etcd-io/etcd", rev: "902436eee50b1a7bf204d926189e146c69dec706" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileaam5Qf Step #2 - "srcmap": + cat /tmp/fileCPPYfO Step #2 - "srcmap": + jq '."/src/etcd" = { type: "git", url: "https://github.com/etcd-io/etcd", rev: "902436eee50b1a7bf204d926189e146c69dec706" }' Step #2 - "srcmap": + mv /tmp/fileaam5Qf /tmp/fileCPPYfO Step #2 - "srcmap": ++ find /src /root/go -name .svn -type d Step #2 - "srcmap": ++ find /src /root/go -name .hg -type d Step #2 - "srcmap": + '[' '' '!=' '' ']' Step #2 - "srcmap": + cat /tmp/fileCPPYfO Step #2 - "srcmap": + rm /tmp/fileCPPYfO Step #2 - "srcmap": { Step #2 - "srcmap": "/src/cncf-fuzzing": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/cncf/cncf-fuzzing", Step #2 - "srcmap": "rev": "ea2f998ab679916f12730cf132a73b6be2585651" Step #2 - "srcmap": }, Step #2 - "srcmap": "/src/raft": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/etcd-io/raft", Step #2 - "srcmap": "rev": "02022dfb76d8b3ff17660794ba1083016d6a0f88" Step #2 - "srcmap": }, Step #2 - "srcmap": "/src/etcd": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/etcd-io/etcd", Step #2 - "srcmap": "rev": "902436eee50b1a7bf204d926189e146c69dec706" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-address-x86_64" Step #3 - "compile-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": CC=clang Step #3 - "compile-libfuzzer-address-x86_64": CXX=clang++ -lresolv Step #3 - "compile-libfuzzer-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link Step #3 - "compile-libfuzzer-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ Step #3 - "compile-libfuzzer-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": + /src/cncf-fuzzing/projects/etcd/build.sh Step #3 - "compile-libfuzzer-address-x86_64": ++ sed -i /FORBIDDEN_DEPENDENCY/d /src/etcd/server/go.mod Step #3 - "compile-libfuzzer-address-x86_64": ++ cd /src Step #3 - "compile-libfuzzer-address-x86_64": ++ wget https://go.dev/dl/go1.19.3.linux-amd64.tar.gz Step #3 - "compile-libfuzzer-address-x86_64": --2023-12-10 07:15:12-- https://go.dev/dl/go1.19.3.linux-amd64.tar.gz Step #3 - "compile-libfuzzer-address-x86_64": Resolving go.dev (go.dev)... 216.239.32.21, 216.239.38.21, 216.239.34.21, ... Step #3 - "compile-libfuzzer-address-x86_64": Connecting to go.dev (go.dev)|216.239.32.21|:443... connected. Step #3 - "compile-libfuzzer-address-x86_64": HTTP request sent, awaiting response... 302 Found Step #3 - "compile-libfuzzer-address-x86_64": Location: https://dl.google.com/go/go1.19.3.linux-amd64.tar.gz [following] Step #3 - "compile-libfuzzer-address-x86_64": --2023-12-10 07:15:12-- https://dl.google.com/go/go1.19.3.linux-amd64.tar.gz Step #3 - "compile-libfuzzer-address-x86_64": Resolving dl.google.com (dl.google.com)... 173.194.194.136, 173.194.194.93, 173.194.194.190, ... Step #3 - "compile-libfuzzer-address-x86_64": Connecting to dl.google.com (dl.google.com)|173.194.194.136|:443... connected. Step #3 - "compile-libfuzzer-address-x86_64": HTTP request sent, awaiting response... 200 OK Step #3 - "compile-libfuzzer-address-x86_64": Length: 148907134 (142M) [application/x-gzip] Step #3 - "compile-libfuzzer-address-x86_64": Saving to: 'go1.19.3.linux-amd64.tar.gz' Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": go1.19.3. 0%[ ] 0 --.-KB/s go1.19.3.l 36%[======> ] 52.40M 262MB/s go1.19.3.li 76%[==============> ] 109.30M 273MB/s go1.19.3.linux-amd6 100%[===================>] 142.01M 276MB/s in 0.5s Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": 2023-12-10 07:15:13 (276 MB/s) - 'go1.19.3.linux-amd64.tar.gz' saved [148907134/148907134] Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": ++ mkdir newgo Step #3 - "compile-libfuzzer-address-x86_64": ++ tar -C ./newgo -xzf go1.19.3.linux-amd64.tar.gz Step #3 - "compile-libfuzzer-address-x86_64": ++ rm -r /root/.go Step #3 - "compile-libfuzzer-address-x86_64": ++ mv ./newgo/go /root/.go Step #3 - "compile-libfuzzer-address-x86_64": ++ mkdir /src/etcd/tests/fuzzing Step #3 - "compile-libfuzzer-address-x86_64": ++ cd /src/etcd Step #3 - "compile-libfuzzer-address-x86_64": ++ mv /src/cncf-fuzzing/projects/etcd/autogenerate_api_marshal_fuzzer.go ./ Step #3 - "compile-libfuzzer-address-x86_64": ++ grep -r ') Marshal(' . Step #3 - "compile-libfuzzer-address-x86_64": ++ go run autogenerate_api_marshal_fuzzer.go Step #3 - "compile-libfuzzer-address-x86_64": ++ rm autogenerate_api_marshal_fuzzer.go Step #3 - "compile-libfuzzer-address-x86_64": ++ mv api_marshal_fuzzer.go ./tests/fuzzing/ Step #3 - "compile-libfuzzer-address-x86_64": ++ cd tests/fuzzing Step #3 - "compile-libfuzzer-address-x86_64": ++ go mod tidy Step #3 - "compile-libfuzzer-address-x86_64": go: go.mod file indicates go 1.21, but maximum version supported by tidy is 1.19 Step #3 - "compile-libfuzzer-address-x86_64": ******************************************************************************** Step #3 - "compile-libfuzzer-address-x86_64": Failed to build. Step #3 - "compile-libfuzzer-address-x86_64": To reproduce, run: Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_image etcd Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 etcd Step #3 - "compile-libfuzzer-address-x86_64": ******************************************************************************** Finished Step #3 - "compile-libfuzzer-address-x86_64" ERROR ERROR: build step 3 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1