starting build "994d864c-261f-47cc-8161-af18a601862e" 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: 8fbcbf53a4e0: Pulling fs layer Step #1: 0cefac2553f1: Pulling fs layer Step #1: 9497b68c874a: Pulling fs layer Step #1: 2a97cb3dcc4c: Pulling fs layer Step #1: 60b31369ad8f: Pulling fs layer Step #1: 5847d1847d18: Pulling fs layer Step #1: 8f20461fc7c2: Pulling fs layer Step #1: 4d82e0d035cc: Pulling fs layer Step #1: e8dfaee9590c: Pulling fs layer Step #1: c56a664ea751: Pulling fs layer Step #1: 99ec2a426bac: Pulling fs layer Step #1: f1b6a7886e7b: Pulling fs layer Step #1: 03d7d741b0df: Pulling fs layer Step #1: 1c8aca0428a7: Pulling fs layer Step #1: 30d0d3658364: Pulling fs layer Step #1: d2acd632fa33: Pulling fs layer Step #1: 0c2b459f8992: Pulling fs layer Step #1: 084e8d272547: Pulling fs layer Step #1: b674d1fbd06a: Pulling fs layer Step #1: 35903e68556a: Pulling fs layer Step #1: 1d54d6a00b25: Pulling fs layer Step #1: 4b63d9578783: Pulling fs layer Step #1: 5a4ef0ea8421: Pulling fs layer Step #1: b7a169ea6d9f: Pulling fs layer Step #1: 2d86793f2635: Pulling fs layer Step #1: 37a70280ac0f: Pulling fs layer Step #1: 8b82f1a02e1c: Pulling fs layer Step #1: 946352761910: Pulling fs layer Step #1: 723c135ef4a9: Pulling fs layer Step #1: 46f69de9c5f6: Pulling fs layer Step #1: 5e5e3c162074: Pulling fs layer Step #1: abef531e386f: Pulling fs layer Step #1: c973c56feb9d: Pulling fs layer Step #1: fc723adb6660: Pulling fs layer Step #1: 9497b68c874a: Waiting Step #1: 4d82e0d035cc: Waiting Step #1: 2a97cb3dcc4c: Waiting Step #1: e8dfaee9590c: Waiting Step #1: c56a664ea751: Waiting Step #1: 60b31369ad8f: Waiting Step #1: c973c56feb9d: Waiting Step #1: 46f69de9c5f6: Waiting Step #1: 5847d1847d18: Waiting Step #1: 03d7d741b0df: Waiting Step #1: 8f20461fc7c2: Waiting Step #1: 30d0d3658364: Waiting Step #1: d2acd632fa33: Waiting Step #1: 946352761910: Waiting Step #1: 084e8d272547: Waiting Step #1: 5a4ef0ea8421: Waiting Step #1: 99ec2a426bac: Waiting Step #1: f1b6a7886e7b: Waiting Step #1: 1d54d6a00b25: Waiting Step #1: 8b82f1a02e1c: Waiting Step #1: 2d86793f2635: Waiting Step #1: 5e5e3c162074: Waiting Step #1: 37a70280ac0f: Waiting Step #1: 1c8aca0428a7: Waiting Step #1: b674d1fbd06a: Waiting Step #1: 0c2b459f8992: Waiting Step #1: 35903e68556a: Waiting Step #1: 4b63d9578783: Waiting Step #1: 0cefac2553f1: Verifying Checksum Step #1: 0cefac2553f1: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 2a97cb3dcc4c: Verifying Checksum Step #1: 2a97cb3dcc4c: Download complete Step #1: 9497b68c874a: Verifying Checksum Step #1: 9497b68c874a: Download complete Step #1: 60b31369ad8f: Verifying Checksum Step #1: 60b31369ad8f: Download complete Step #1: 8fbcbf53a4e0: Verifying Checksum Step #1: 8fbcbf53a4e0: Download complete Step #1: 8f20461fc7c2: Verifying Checksum Step #1: 8f20461fc7c2: Download complete Step #1: 4d82e0d035cc: Download complete Step #1: b549f31133a9: Pull complete Step #1: c56a664ea751: Verifying Checksum Step #1: c56a664ea751: Download complete Step #1: 99ec2a426bac: Download complete Step #1: f1b6a7886e7b: Verifying Checksum Step #1: f1b6a7886e7b: Download complete Step #1: 03d7d741b0df: Verifying Checksum Step #1: 03d7d741b0df: Download complete Step #1: 1c8aca0428a7: Download complete Step #1: 30d0d3658364: Verifying Checksum Step #1: 30d0d3658364: Download complete Step #1: e8dfaee9590c: Verifying Checksum Step #1: e8dfaee9590c: Download complete Step #1: 0c2b459f8992: Download complete Step #1: d2acd632fa33: Verifying Checksum Step #1: d2acd632fa33: Download complete Step #1: 084e8d272547: Verifying Checksum Step #1: 084e8d272547: Download complete Step #1: b674d1fbd06a: Verifying Checksum Step #1: b674d1fbd06a: Download complete Step #1: 35903e68556a: Verifying Checksum Step #1: 35903e68556a: Download complete Step #1: 4b63d9578783: Verifying Checksum Step #1: 4b63d9578783: Download complete Step #1: 1d54d6a00b25: Verifying Checksum Step #1: 1d54d6a00b25: Download complete Step #1: 5847d1847d18: Verifying Checksum Step #1: 5847d1847d18: Download complete Step #1: 5a4ef0ea8421: Verifying Checksum Step #1: 5a4ef0ea8421: Download complete Step #1: b7a169ea6d9f: Verifying Checksum Step #1: b7a169ea6d9f: Download complete Step #1: 2d86793f2635: Verifying Checksum Step #1: 2d86793f2635: Download complete Step #1: 37a70280ac0f: Verifying Checksum Step #1: 37a70280ac0f: Download complete Step #1: 8b82f1a02e1c: Verifying Checksum Step #1: 8b82f1a02e1c: Download complete Step #1: 723c135ef4a9: Verifying Checksum Step #1: 723c135ef4a9: Download complete Step #1: 946352761910: Verifying Checksum Step #1: 946352761910: Download complete Step #1: 46f69de9c5f6: Verifying Checksum Step #1: 46f69de9c5f6: Download complete Step #1: 5e5e3c162074: Verifying Checksum Step #1: 5e5e3c162074: Download complete Step #1: abef531e386f: Verifying Checksum Step #1: abef531e386f: Download complete Step #1: fc723adb6660: Verifying Checksum Step #1: fc723adb6660: Download complete Step #1: 8fbcbf53a4e0: Pull complete Step #1: 0cefac2553f1: Pull complete Step #1: 9497b68c874a: Pull complete Step #1: 2a97cb3dcc4c: Pull complete Step #1: 60b31369ad8f: Pull complete Step #1: c973c56feb9d: Verifying Checksum Step #1: c973c56feb9d: Download complete Step #1: 5847d1847d18: Pull complete Step #1: 8f20461fc7c2: Pull complete Step #1: 4d82e0d035cc: Pull complete Step #1: e8dfaee9590c: Pull complete Step #1: c56a664ea751: Pull complete Step #1: 99ec2a426bac: Pull complete Step #1: f1b6a7886e7b: Pull complete Step #1: 03d7d741b0df: Pull complete Step #1: 1c8aca0428a7: Pull complete Step #1: 30d0d3658364: Pull complete Step #1: d2acd632fa33: Pull complete Step #1: 0c2b459f8992: Pull complete Step #1: 084e8d272547: Pull complete Step #1: b674d1fbd06a: Pull complete Step #1: 35903e68556a: Pull complete Step #1: 1d54d6a00b25: Pull complete Step #1: 4b63d9578783: Pull complete Step #1: 5a4ef0ea8421: Pull complete Step #1: b7a169ea6d9f: Pull complete Step #1: 2d86793f2635: Pull complete Step #1: 37a70280ac0f: Pull complete Step #1: 8b82f1a02e1c: Pull complete Step #1: 946352761910: Pull complete Step #1: 723c135ef4a9: Pull complete Step #1: 46f69de9c5f6: Pull complete Step #1: 5e5e3c162074: Pull complete Step #1: abef531e386f: Pull complete Step #1: c973c56feb9d: Pull complete Step #1: fc723adb6660: Pull complete Step #1: Digest: sha256:505bde40f13ba062d576e78953711d226b683fdea23f4c6a240101ba5d28ecca Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 934818d835a8 Step #1: Step 2/6 : RUN git clone --depth 1 https://github.com/etcd-io/etcd Step #1: ---> Running in 885d7f0414ac Step #1: Cloning into 'etcd'... Step #1: Removing intermediate container 885d7f0414ac Step #1: ---> 8a53d1c90bff Step #1: Step 3/6 : RUN git clone --depth 1 https://github.com/etcd-io/raft Step #1: ---> Running in 41fe690fb0de Step #1: Cloning into 'raft'... Step #1: Removing intermediate container 41fe690fb0de Step #1: ---> 07e024462106 Step #1: Step 4/6 : RUN git clone --depth 1 https://github.com/cncf/cncf-fuzzing Step #1: ---> Running in e98b8e73d33c Step #1: Cloning into 'cncf-fuzzing'... Step #1: Removing intermediate container e98b8e73d33c Step #1: ---> 229f8671eaca Step #1: Step 5/6 : COPY build.sh $SRC/ Step #1: ---> 5424f60f9e21 Step #1: Step 6/6 : WORKDIR $SRC/etcd Step #1: ---> Running in 5df90f0dfdba Step #1: Removing intermediate container 5df90f0dfdba Step #1: ---> 3b0afb27a5f5 Step #1: Successfully built 3b0afb27a5f5 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/filegu7uGN 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=370b1fa1da1bdd05d0228d715872b26da1d9d301 Step #2 - "srcmap": + jq_inplace /tmp/filegu7uGN '."/src/cncf-fuzzing" = { type: "git", url: "https://github.com/cncf/cncf-fuzzing", rev: "370b1fa1da1bdd05d0228d715872b26da1d9d301" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileG7q6Da Step #2 - "srcmap": + cat /tmp/filegu7uGN Step #2 - "srcmap": + jq '."/src/cncf-fuzzing" = { type: "git", url: "https://github.com/cncf/cncf-fuzzing", rev: "370b1fa1da1bdd05d0228d715872b26da1d9d301" }' Step #2 - "srcmap": + mv /tmp/fileG7q6Da /tmp/filegu7uGN 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=69ef997549ac748ce31b66f61367e4cc6f7e5ef8 Step #2 - "srcmap": + jq_inplace /tmp/filegu7uGN '."/src/raft" = { type: "git", url: "https://github.com/etcd-io/raft", rev: "69ef997549ac748ce31b66f61367e4cc6f7e5ef8" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileoxhiKI Step #2 - "srcmap": + cat /tmp/filegu7uGN Step #2 - "srcmap": + jq '."/src/raft" = { type: "git", url: "https://github.com/etcd-io/raft", rev: "69ef997549ac748ce31b66f61367e4cc6f7e5ef8" }' Step #2 - "srcmap": + mv /tmp/fileoxhiKI /tmp/filegu7uGN 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=9fc3b2ad40f8b681c31ce66ebb27fdcec7c930e6 Step #2 - "srcmap": + jq_inplace /tmp/filegu7uGN '."/src/etcd" = { type: "git", url: "https://github.com/etcd-io/etcd", rev: "9fc3b2ad40f8b681c31ce66ebb27fdcec7c930e6" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filezu19jf Step #2 - "srcmap": + cat /tmp/filegu7uGN Step #2 - "srcmap": + jq '."/src/etcd" = { type: "git", url: "https://github.com/etcd-io/etcd", rev: "9fc3b2ad40f8b681c31ce66ebb27fdcec7c930e6" }' Step #2 - "srcmap": + mv /tmp/filezu19jf /tmp/filegu7uGN 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/filegu7uGN Step #2 - "srcmap": + rm /tmp/filegu7uGN 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": "370b1fa1da1bdd05d0228d715872b26da1d9d301" 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": "69ef997549ac748ce31b66f61367e4cc6f7e5ef8" 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": "9fc3b2ad40f8b681c31ce66ebb27fdcec7c930e6" 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 -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 -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-09-20 06:33:53-- 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.34.21, 216.239.38.21, 216.239.32.21, ... Step #3 - "compile-libfuzzer-address-x86_64": Connecting to go.dev (go.dev)|216.239.34.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-09-20 06:33:53-- 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)... 74.125.201.190, 74.125.201.91, 74.125.201.136, ... Step #3 - "compile-libfuzzer-address-x86_64": Connecting to dl.google.com (dl.google.com)|74.125.201.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 49%[========> ] 69.89M 349MB/s go1.19.3.li 98%[==================> ] 139.86M 350MB/s go1.19.3.linux-amd6 100%[===================>] 142.01M 350MB/s in 0.4s Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": 2024-09-20 06:33:53 (350 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