starting build "161d1cfe-3dc2-43f8-88c6-8f5fee8e331c" 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: 160496dfdc1e: Pulling fs layer Step #1: e2c1e6ffb55e: Pulling fs layer Step #1: 790f0b60d601: Pulling fs layer Step #1: ba5377523637: Pulling fs layer Step #1: fcf19af99e9b: Pulling fs layer Step #1: c120616e8611: Pulling fs layer Step #1: 648979ff9271: Pulling fs layer Step #1: 38b58f40b986: Pulling fs layer Step #1: ba5377523637: Waiting Step #1: fcf19af99e9b: Waiting Step #1: 6fec27639895: Pulling fs layer Step #1: 6311c17bee61: Pulling fs layer Step #1: 63cd1cde0eec: Pulling fs layer Step #1: c120616e8611: Waiting Step #1: 648979ff9271: Waiting Step #1: 1ef02760f71f: Pulling fs layer Step #1: fda5a71c8862: Pulling fs layer Step #1: 790f0b60d601: Waiting Step #1: 7ad2f7c615a2: Pulling fs layer Step #1: 0b07407e6342: Pulling fs layer Step #1: fbed995eca46: Pulling fs layer Step #1: 4381c7f8884c: Pulling fs layer Step #1: bd3393df7542: Pulling fs layer Step #1: f8afaf16f210: Pulling fs layer Step #1: 086216b75b6f: Pulling fs layer Step #1: 38b58f40b986: Waiting Step #1: ebb3d4059a93: Pulling fs layer Step #1: 1cb7b39b268b: Pulling fs layer Step #1: fda5a71c8862: Waiting Step #1: 1ef02760f71f: Waiting Step #1: 6fec27639895: Waiting Step #1: f8afaf16f210: Waiting Step #1: bd3393df7542: Waiting Step #1: fd1f752e3c9f: Pulling fs layer Step #1: 7ad2f7c615a2: Waiting Step #1: 84db406b755d: Pulling fs layer Step #1: 6311c17bee61: Waiting Step #1: 086216b75b6f: Waiting Step #1: 63cd1cde0eec: Waiting Step #1: 0b07407e6342: Waiting Step #1: fbed995eca46: Waiting Step #1: 4381c7f8884c: Waiting Step #1: ebb3d4059a93: Waiting Step #1: fd1f752e3c9f: Waiting Step #1: 1cb7b39b268b: Waiting Step #1: 84db406b755d: Waiting Step #1: 3968f7202bef: Pulling fs layer Step #1: 37c0a55501a4: Pulling fs layer Step #1: fddacf1580ff: Pulling fs layer Step #1: 3968f7202bef: Waiting Step #1: 3c790d5687e6: Pulling fs layer Step #1: 0fcda4deea49: Pulling fs layer Step #1: 37c0a55501a4: Waiting Step #1: cfc1aaab3799: Pulling fs layer Step #1: 5764b068ae0e: Pulling fs layer Step #1: ca6809cc8eb6: Pulling fs layer Step #1: 3c790d5687e6: Waiting Step #1: fddacf1580ff: Waiting Step #1: 4e3caf1176dc: Pulling fs layer Step #1: 0fcda4deea49: Waiting Step #1: 5764b068ae0e: Waiting Step #1: 4004435cf3c9: Pulling fs layer Step #1: ca6809cc8eb6: Waiting Step #1: 4e3caf1176dc: Waiting Step #1: e2c1e6ffb55e: Verifying Checksum Step #1: e2c1e6ffb55e: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: ba5377523637: Verifying Checksum Step #1: ba5377523637: Download complete Step #1: 790f0b60d601: Verifying Checksum Step #1: 790f0b60d601: Download complete Step #1: fcf19af99e9b: Verifying Checksum Step #1: fcf19af99e9b: Download complete Step #1: 160496dfdc1e: Verifying Checksum Step #1: 160496dfdc1e: Download complete Step #1: 648979ff9271: Verifying Checksum Step #1: 648979ff9271: Download complete Step #1: 38b58f40b986: Download complete Step #1: b549f31133a9: Pull complete Step #1: 6311c17bee61: Verifying Checksum Step #1: 6311c17bee61: Download complete Step #1: 63cd1cde0eec: Download complete Step #1: 1ef02760f71f: Verifying Checksum Step #1: 1ef02760f71f: Download complete Step #1: fda5a71c8862: Verifying Checksum Step #1: fda5a71c8862: Download complete Step #1: 7ad2f7c615a2: Verifying Checksum Step #1: 7ad2f7c615a2: Download complete Step #1: 6fec27639895: Verifying Checksum Step #1: 6fec27639895: Download complete Step #1: fbed995eca46: Verifying Checksum Step #1: fbed995eca46: Download complete Step #1: 0b07407e6342: Verifying Checksum Step #1: 0b07407e6342: Download complete Step #1: 4381c7f8884c: Verifying Checksum Step #1: 4381c7f8884c: Download complete Step #1: bd3393df7542: Verifying Checksum Step #1: bd3393df7542: Download complete Step #1: f8afaf16f210: Verifying Checksum Step #1: f8afaf16f210: Download complete Step #1: 086216b75b6f: Download complete Step #1: 1cb7b39b268b: Download complete Step #1: ebb3d4059a93: Verifying Checksum Step #1: ebb3d4059a93: Download complete Step #1: c120616e8611: Verifying Checksum Step #1: c120616e8611: Download complete Step #1: fd1f752e3c9f: Verifying Checksum Step #1: fd1f752e3c9f: Download complete Step #1: 84db406b755d: Verifying Checksum Step #1: 84db406b755d: Download complete Step #1: 3968f7202bef: Verifying Checksum Step #1: 3968f7202bef: Download complete Step #1: 37c0a55501a4: Verifying Checksum Step #1: 37c0a55501a4: Download complete Step #1: fddacf1580ff: Verifying Checksum Step #1: fddacf1580ff: Download complete Step #1: 0fcda4deea49: Verifying Checksum Step #1: 0fcda4deea49: Download complete Step #1: 3c790d5687e6: Verifying Checksum Step #1: 3c790d5687e6: Download complete Step #1: cfc1aaab3799: Verifying Checksum Step #1: cfc1aaab3799: Download complete Step #1: 160496dfdc1e: Pull complete Step #1: 5764b068ae0e: Verifying Checksum Step #1: 5764b068ae0e: Download complete Step #1: ca6809cc8eb6: Verifying Checksum Step #1: ca6809cc8eb6: Download complete Step #1: e2c1e6ffb55e: Pull complete Step #1: 4004435cf3c9: Verifying Checksum Step #1: 4004435cf3c9: Download complete Step #1: 790f0b60d601: Pull complete Step #1: ba5377523637: Pull complete Step #1: fcf19af99e9b: Pull complete Step #1: 4e3caf1176dc: Verifying Checksum Step #1: 4e3caf1176dc: Download complete Step #1: c120616e8611: Pull complete Step #1: 648979ff9271: Pull complete Step #1: 38b58f40b986: Pull complete Step #1: 6fec27639895: Pull complete Step #1: 6311c17bee61: Pull complete Step #1: 63cd1cde0eec: Pull complete Step #1: 1ef02760f71f: Pull complete Step #1: fda5a71c8862: Pull complete Step #1: 7ad2f7c615a2: Pull complete Step #1: 0b07407e6342: Pull complete Step #1: fbed995eca46: Pull complete Step #1: 4381c7f8884c: Pull complete Step #1: bd3393df7542: Pull complete Step #1: f8afaf16f210: Pull complete Step #1: 086216b75b6f: Pull complete Step #1: ebb3d4059a93: Pull complete Step #1: 1cb7b39b268b: Pull complete Step #1: fd1f752e3c9f: Pull complete Step #1: 84db406b755d: Pull complete Step #1: 3968f7202bef: Pull complete Step #1: 37c0a55501a4: Pull complete Step #1: fddacf1580ff: Pull complete Step #1: 3c790d5687e6: Pull complete Step #1: 0fcda4deea49: Pull complete Step #1: cfc1aaab3799: Pull complete Step #1: 5764b068ae0e: Pull complete Step #1: ca6809cc8eb6: Pull complete Step #1: 4e3caf1176dc: Pull complete Step #1: 4004435cf3c9: Pull complete Step #1: Digest: sha256:225cd83438a87e622e52d1845e40199d59a2c171c00cbb8bc5e736a33564d95d Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 0280c66864b0 Step #1: Step 2/6 : RUN git clone --depth 1 https://github.com/etcd-io/etcd Step #1: ---> Running in 3a5bd1384a92 Step #1: Cloning into 'etcd'... Step #1: Removing intermediate container 3a5bd1384a92 Step #1: ---> a973d362c704 Step #1: Step 3/6 : RUN git clone --depth 1 https://github.com/etcd-io/raft Step #1: ---> Running in 5471ed62299b Step #1: Cloning into 'raft'... Step #1: Removing intermediate container 5471ed62299b Step #1: ---> 71fb0153c5fa Step #1: Step 4/6 : RUN git clone --depth 1 https://github.com/cncf/cncf-fuzzing Step #1: ---> Running in bd45fc5fd831 Step #1: Cloning into 'cncf-fuzzing'... Step #1: Removing intermediate container bd45fc5fd831 Step #1: ---> 72a19d73b1c2 Step #1: Step 5/6 : COPY build.sh $SRC/ Step #1: ---> 02b6eb21877b Step #1: Step 6/6 : WORKDIR $SRC/etcd Step #1: ---> Running in 4ecedc77e017 Step #1: Removing intermediate container 4ecedc77e017 Step #1: ---> 1de8b17d522b Step #1: Successfully built 1de8b17d522b 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/fileUCuo0O 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=ec3111a9fe73cd8317bdde017b8e814dccbb2e6f Step #2 - "srcmap": + jq_inplace /tmp/fileUCuo0O '."/src/cncf-fuzzing" = { type: "git", url: "https://github.com/cncf/cncf-fuzzing", rev: "ec3111a9fe73cd8317bdde017b8e814dccbb2e6f" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileqPAEmc Step #2 - "srcmap": + cat /tmp/fileUCuo0O Step #2 - "srcmap": + jq '."/src/cncf-fuzzing" = { type: "git", url: "https://github.com/cncf/cncf-fuzzing", rev: "ec3111a9fe73cd8317bdde017b8e814dccbb2e6f" }' Step #2 - "srcmap": + mv /tmp/fileqPAEmc /tmp/fileUCuo0O 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=2571ccf1e156e7dde97bd378cf82c25d6e40f8af Step #2 - "srcmap": + jq_inplace /tmp/fileUCuo0O '."/src/raft" = { type: "git", url: "https://github.com/etcd-io/raft", rev: "2571ccf1e156e7dde97bd378cf82c25d6e40f8af" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/file3I7y1G Step #2 - "srcmap": + cat /tmp/fileUCuo0O Step #2 - "srcmap": + jq '."/src/raft" = { type: "git", url: "https://github.com/etcd-io/raft", rev: "2571ccf1e156e7dde97bd378cf82c25d6e40f8af" }' Step #2 - "srcmap": + mv /tmp/file3I7y1G /tmp/fileUCuo0O 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=3696b3241194ead696d47cb1093e9df855813d86 Step #2 - "srcmap": + jq_inplace /tmp/fileUCuo0O '."/src/etcd" = { type: "git", url: "https://github.com/etcd-io/etcd", rev: "3696b3241194ead696d47cb1093e9df855813d86" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filepCXZUc Step #2 - "srcmap": + cat /tmp/fileUCuo0O Step #2 - "srcmap": + jq '."/src/etcd" = { type: "git", url: "https://github.com/etcd-io/etcd", rev: "3696b3241194ead696d47cb1093e9df855813d86" }' Step #2 - "srcmap": + mv /tmp/filepCXZUc /tmp/fileUCuo0O 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/fileUCuo0O Step #2 - "srcmap": + rm /tmp/fileUCuo0O 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": "ec3111a9fe73cd8317bdde017b8e814dccbb2e6f" 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": "2571ccf1e156e7dde97bd378cf82c25d6e40f8af" 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": "3696b3241194ead696d47cb1093e9df855813d86" 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": vm.mmap_rnd_bits = 28 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 -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -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 -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -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": --2024-10-30 06:17:39-- 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.38.21, 216.239.34.21, 216.239.32.21, ... Step #3 - "compile-libfuzzer-address-x86_64": Connecting to go.dev (go.dev)|216.239.38.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": --2024-10-30 06:17:40-- 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)... 209.85.145.190, 209.85.145.91, 209.85.145.93, ... Step #3 - "compile-libfuzzer-address-x86_64": Connecting to dl.google.com (dl.google.com)|209.85.145.190|: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 2%[ ] 4.01M 19.9MB/s go1.19.3.li 8%[> ] 12.01M 27.7MB/s go1.19.3.lin 12%[=> ] 18.01M 23.0MB/s go1.19.3.linu 16%[==> ] 24.01M 24.2MB/s go1.19.3.linux 22%[===> ] 32.01M 25.8MB/s go1.19.3.linux- 27%[====> ] 38.55M 26.8MB/s go1.19.3.linux-a 30%[=====> ] 44.01M 26.6MB/s go1.19.3.linux-am 35%[======> ] 50.01M 25.7MB/s go1.19.3.linux-amd 40%[=======> ] 58.01M 26.9MB/s go1.19.3.linux-amd6 46%[========> ] 66.01M 27.6MB/s o1.19.3.linux-amd64 52%[=========> ] 74.01M 28.4MB/s 1.19.3.linux-amd64. 57%[==========> ] 82.01M 29.0MB/s .19.3.linux-amd64.t 63%[===========> ] 90.01M 29.7MB/s eta 2s 19.3.linux-amd64.ta 69%[============> ] 98.01M 29.9MB/s eta 2s 9.3.linux-amd64.tar 74%[=============> ] 106.01M 30.3MB/s eta 2s .3.linux-amd64.tar. 80%[===============> ] 114.01M 30.6MB/s eta 2s 3.linux-amd64.tar.g 85%[================> ] 122.01M 30.9MB/s eta 2s .linux-amd64.tar.gz 90%[=================> ] 128.01M 30.5MB/s eta 0s linux-amd64.tar.gz 95%[==================> ] 135.33M 32.0MB/s eta 0s go1.19.3.linux-amd6 100%[===================>] 142.01M 32.4MB/s in 4.6s Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": 2024-10-30 06:17:44 (30.6 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": go: errors parsing go.mod: Step #3 - "compile-libfuzzer-address-x86_64": /src/etcd/go.mod:5: unknown directive: toolchain 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