starting build "d6dacfd3-b3fa-4b96-8c52-371d4905d3da" 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: a977fd1d1d2c: Pulling fs layer Step #1: b7af597d0683: Pulling fs layer Step #1: 0ad851ab79a7: Pulling fs layer Step #1: 32d6a845953a: Pulling fs layer Step #1: 13291e1f0083: Pulling fs layer Step #1: 12c3fa064ec9: Pulling fs layer Step #1: 5bf877a30e45: Pulling fs layer Step #1: 12c76ab55805: Pulling fs layer Step #1: bcee33c0f2c5: Pulling fs layer Step #1: 00901539164e: Pulling fs layer Step #1: 652e81a6c3ce: Pulling fs layer Step #1: 2bd7184f3186: Pulling fs layer Step #1: 6ef14a282d78: Pulling fs layer Step #1: f0b30797ba63: Pulling fs layer Step #1: c255474facb8: Pulling fs layer Step #1: 2037056aed43: Pulling fs layer Step #1: 4ea8cc67e5b1: Pulling fs layer Step #1: 1593bc33732e: Pulling fs layer Step #1: fac862d0d976: Pulling fs layer Step #1: 8a5f772dc665: Pulling fs layer Step #1: a682fa05afee: Pulling fs layer Step #1: 50ae31b489cf: Pulling fs layer Step #1: bcfe6fcb5c6a: Pulling fs layer Step #1: 88ea93146e84: Pulling fs layer Step #1: 912a9adfcdcb: Pulling fs layer Step #1: 7ec1d093c1da: Pulling fs layer Step #1: 8c8a3977119b: Pulling fs layer Step #1: 7e3654bd47ef: Pulling fs layer Step #1: 390d9580ed9e: Pulling fs layer Step #1: dcd9de8bf193: Pulling fs layer Step #1: f97e0fb3e819: Pulling fs layer Step #1: 6341849a53eb: Pulling fs layer Step #1: fb2e13b262c7: Pulling fs layer Step #1: e39246d0ba97: Pulling fs layer Step #1: 00901539164e: Waiting Step #1: 652e81a6c3ce: Waiting Step #1: 2bd7184f3186: Waiting Step #1: 6ef14a282d78: Waiting Step #1: 912a9adfcdcb: Waiting Step #1: 7ec1d093c1da: Waiting Step #1: 8c8a3977119b: Waiting Step #1: 7e3654bd47ef: Waiting Step #1: f0b30797ba63: Waiting Step #1: 390d9580ed9e: Waiting Step #1: c255474facb8: Waiting Step #1: dcd9de8bf193: Waiting Step #1: 2037056aed43: Waiting Step #1: f97e0fb3e819: Waiting Step #1: 6341849a53eb: Waiting Step #1: 4ea8cc67e5b1: Waiting Step #1: fb2e13b262c7: Waiting Step #1: 1593bc33732e: Waiting Step #1: fac862d0d976: Waiting Step #1: 13291e1f0083: Waiting Step #1: 8a5f772dc665: Waiting Step #1: 12c3fa064ec9: Waiting Step #1: a682fa05afee: Waiting Step #1: 88ea93146e84: Waiting Step #1: 50ae31b489cf: Waiting Step #1: 5bf877a30e45: Waiting Step #1: bcfe6fcb5c6a: Waiting Step #1: 12c76ab55805: Waiting Step #1: 0ad851ab79a7: Waiting Step #1: bcee33c0f2c5: Waiting Step #1: 32d6a845953a: Waiting Step #1: b7af597d0683: Verifying Checksum Step #1: b7af597d0683: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 32d6a845953a: Verifying Checksum Step #1: 32d6a845953a: Download complete Step #1: 13291e1f0083: Verifying Checksum Step #1: 13291e1f0083: Download complete Step #1: a977fd1d1d2c: Download complete Step #1: 0ad851ab79a7: Verifying Checksum Step #1: 0ad851ab79a7: Download complete Step #1: 5bf877a30e45: Verifying Checksum Step #1: 5bf877a30e45: Download complete Step #1: 12c76ab55805: Verifying Checksum Step #1: 12c76ab55805: Download complete Step #1: b549f31133a9: Pull complete Step #1: 00901539164e: Verifying Checksum Step #1: 00901539164e: Download complete Step #1: 652e81a6c3ce: Verifying Checksum Step #1: 652e81a6c3ce: Download complete Step #1: 2bd7184f3186: Verifying Checksum Step #1: 2bd7184f3186: Download complete Step #1: 6ef14a282d78: Verifying Checksum Step #1: 6ef14a282d78: Download complete Step #1: f0b30797ba63: Download complete Step #1: c255474facb8: Verifying Checksum Step #1: c255474facb8: Download complete Step #1: bcee33c0f2c5: Verifying Checksum Step #1: bcee33c0f2c5: Download complete Step #1: 2037056aed43: Verifying Checksum Step #1: 2037056aed43: Download complete Step #1: 1593bc33732e: Verifying Checksum Step #1: 1593bc33732e: Download complete Step #1: 4ea8cc67e5b1: Verifying Checksum Step #1: 4ea8cc67e5b1: Download complete Step #1: 8a5f772dc665: Verifying Checksum Step #1: 8a5f772dc665: Download complete Step #1: fac862d0d976: Verifying Checksum Step #1: fac862d0d976: Download complete Step #1: 50ae31b489cf: Verifying Checksum Step #1: 50ae31b489cf: Download complete Step #1: a682fa05afee: Verifying Checksum Step #1: a682fa05afee: Download complete Step #1: bcfe6fcb5c6a: Verifying Checksum Step #1: bcfe6fcb5c6a: Download complete Step #1: 912a9adfcdcb: Verifying Checksum Step #1: 912a9adfcdcb: Download complete Step #1: 88ea93146e84: Verifying Checksum Step #1: 88ea93146e84: Download complete Step #1: 12c3fa064ec9: Verifying Checksum Step #1: 12c3fa064ec9: Download complete Step #1: 7ec1d093c1da: Verifying Checksum Step #1: 7ec1d093c1da: Download complete Step #1: 8c8a3977119b: Verifying Checksum Step #1: 8c8a3977119b: Download complete Step #1: a977fd1d1d2c: Pull complete Step #1: 390d9580ed9e: Verifying Checksum Step #1: 390d9580ed9e: Download complete Step #1: dcd9de8bf193: Verifying Checksum Step #1: dcd9de8bf193: Download complete Step #1: 7e3654bd47ef: Verifying Checksum Step #1: 7e3654bd47ef: Download complete Step #1: b7af597d0683: Pull complete Step #1: f97e0fb3e819: Verifying Checksum Step #1: f97e0fb3e819: Download complete Step #1: 6341849a53eb: Verifying Checksum Step #1: 6341849a53eb: Download complete Step #1: e39246d0ba97: Verifying Checksum Step #1: e39246d0ba97: Download complete Step #1: 0ad851ab79a7: Pull complete Step #1: 32d6a845953a: Pull complete Step #1: 13291e1f0083: Pull complete Step #1: fb2e13b262c7: Verifying Checksum Step #1: fb2e13b262c7: Download complete Step #1: 12c3fa064ec9: Pull complete Step #1: 5bf877a30e45: Pull complete Step #1: 12c76ab55805: Pull complete Step #1: bcee33c0f2c5: Pull complete Step #1: 00901539164e: Pull complete Step #1: 652e81a6c3ce: Pull complete Step #1: 2bd7184f3186: Pull complete Step #1: 6ef14a282d78: Pull complete Step #1: f0b30797ba63: Pull complete Step #1: c255474facb8: Pull complete Step #1: 2037056aed43: Pull complete Step #1: 4ea8cc67e5b1: Pull complete Step #1: 1593bc33732e: Pull complete Step #1: fac862d0d976: Pull complete Step #1: 8a5f772dc665: Pull complete Step #1: a682fa05afee: Pull complete Step #1: 50ae31b489cf: Pull complete Step #1: bcfe6fcb5c6a: Pull complete Step #1: 88ea93146e84: Pull complete Step #1: 912a9adfcdcb: Pull complete Step #1: 7ec1d093c1da: Pull complete Step #1: 8c8a3977119b: Pull complete Step #1: 7e3654bd47ef: Pull complete Step #1: 390d9580ed9e: Pull complete Step #1: dcd9de8bf193: Pull complete Step #1: f97e0fb3e819: Pull complete Step #1: 6341849a53eb: Pull complete Step #1: fb2e13b262c7: Pull complete Step #1: e39246d0ba97: Pull complete Step #1: Digest: sha256:da7c263f5ff098ec906135e9e100511dedd2e33fddcb5674db56bc013ef5ec65 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 042b5e305fe6 Step #1: Step 2/6 : RUN git clone --depth 1 https://github.com/etcd-io/etcd Step #1: ---> Running in a796d322aa42 Step #1: Cloning into 'etcd'... Step #1: Removing intermediate container a796d322aa42 Step #1: ---> 4bdc06fcf3d2 Step #1: Step 3/6 : RUN git clone --depth 1 https://github.com/etcd-io/raft Step #1: ---> Running in eae39177795b Step #1: Cloning into 'raft'... Step #1: Removing intermediate container eae39177795b Step #1: ---> 1bd602279a47 Step #1: Step 4/6 : RUN git clone --depth 1 https://github.com/cncf/cncf-fuzzing Step #1: ---> Running in e6763219b76a Step #1: Cloning into 'cncf-fuzzing'... Step #1: Removing intermediate container e6763219b76a Step #1: ---> d2cdb57a3784 Step #1: Step 5/6 : COPY build.sh $SRC/ Step #1: ---> 79435b165984 Step #1: Step 6/6 : WORKDIR $SRC/etcd Step #1: ---> Running in b87d9a98fc3a Step #1: Removing intermediate container b87d9a98fc3a Step #1: ---> f8f0dd614136 Step #1: Successfully built f8f0dd614136 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/fileZEcVSO 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=bcc768e35927b51f508e486ffa2606720d5e9b71 Step #2 - "srcmap": + jq_inplace /tmp/fileZEcVSO '."/src/cncf-fuzzing" = { type: "git", url: "https://github.com/cncf/cncf-fuzzing", rev: "bcc768e35927b51f508e486ffa2606720d5e9b71" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filezs0Fkd Step #2 - "srcmap": + cat /tmp/fileZEcVSO Step #2 - "srcmap": + jq '."/src/cncf-fuzzing" = { type: "git", url: "https://github.com/cncf/cncf-fuzzing", rev: "bcc768e35927b51f508e486ffa2606720d5e9b71" }' Step #2 - "srcmap": + mv /tmp/filezs0Fkd /tmp/fileZEcVSO 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=129a063d59752cafeefb62312d4b3315c7a41ed0 Step #2 - "srcmap": + jq_inplace /tmp/fileZEcVSO '."/src/raft" = { type: "git", url: "https://github.com/etcd-io/raft", rev: "129a063d59752cafeefb62312d4b3315c7a41ed0" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filesIkaTI Step #2 - "srcmap": + cat /tmp/fileZEcVSO Step #2 - "srcmap": + jq '."/src/raft" = { type: "git", url: "https://github.com/etcd-io/raft", rev: "129a063d59752cafeefb62312d4b3315c7a41ed0" }' Step #2 - "srcmap": + mv /tmp/filesIkaTI /tmp/fileZEcVSO 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=bf63f917059072b5a33ea5fa6b71c5988b1168b7 Step #2 - "srcmap": + jq_inplace /tmp/fileZEcVSO '."/src/etcd" = { type: "git", url: "https://github.com/etcd-io/etcd", rev: "bf63f917059072b5a33ea5fa6b71c5988b1168b7" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filehzRgoe Step #2 - "srcmap": + cat /tmp/fileZEcVSO Step #2 - "srcmap": + jq '."/src/etcd" = { type: "git", url: "https://github.com/etcd-io/etcd", rev: "bf63f917059072b5a33ea5fa6b71c5988b1168b7" }' Step #2 - "srcmap": + mv /tmp/filehzRgoe /tmp/fileZEcVSO 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/fileZEcVSO Step #2 - "srcmap": + rm /tmp/fileZEcVSO 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": "bcc768e35927b51f508e486ffa2606720d5e9b71" 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": "129a063d59752cafeefb62312d4b3315c7a41ed0" 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": "bf63f917059072b5a33ea5fa6b71c5988b1168b7" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-coverage-x86_64" Step #3 - "compile-libfuzzer-coverage-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-coverage-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": CC=clang Step #3 - "compile-libfuzzer-coverage-x86_64": CXX=clang++ -lresolv Step #3 - "compile-libfuzzer-coverage-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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument Step #3 - "compile-libfuzzer-coverage-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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -stdlib=libc++ Step #3 - "compile-libfuzzer-coverage-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers -Cinstrument-coverage -C link-arg=-lc++ Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": + /src/cncf-fuzzing/projects/etcd/build.sh Step #3 - "compile-libfuzzer-coverage-x86_64": ++ sed -i /FORBIDDEN_DEPENDENCY/d /src/etcd/server/go.mod Step #3 - "compile-libfuzzer-coverage-x86_64": ++ cd /src Step #3 - "compile-libfuzzer-coverage-x86_64": ++ wget https://go.dev/dl/go1.19.3.linux-amd64.tar.gz Step #3 - "compile-libfuzzer-coverage-x86_64": --2024-09-07 06:39:15-- https://go.dev/dl/go1.19.3.linux-amd64.tar.gz Step #3 - "compile-libfuzzer-coverage-x86_64": Resolving go.dev (go.dev)... 216.239.38.21, 216.239.36.21, 216.239.32.21, ... Step #3 - "compile-libfuzzer-coverage-x86_64": Connecting to go.dev (go.dev)|216.239.38.21|:443... connected. Step #3 - "compile-libfuzzer-coverage-x86_64": HTTP request sent, awaiting response... 302 Found Step #3 - "compile-libfuzzer-coverage-x86_64": Location: https://dl.google.com/go/go1.19.3.linux-amd64.tar.gz [following] Step #3 - "compile-libfuzzer-coverage-x86_64": --2024-09-07 06:39:15-- https://dl.google.com/go/go1.19.3.linux-amd64.tar.gz Step #3 - "compile-libfuzzer-coverage-x86_64": Resolving dl.google.com (dl.google.com)... 172.217.214.190, 172.217.214.93, 172.217.214.91, ... Step #3 - "compile-libfuzzer-coverage-x86_64": Connecting to dl.google.com (dl.google.com)|172.217.214.190|:443... connected. Step #3 - "compile-libfuzzer-coverage-x86_64": HTTP request sent, awaiting response... 200 OK Step #3 - "compile-libfuzzer-coverage-x86_64": Length: 148907134 (142M) [application/x-gzip] Step #3 - "compile-libfuzzer-coverage-x86_64": Saving to: 'go1.19.3.linux-amd64.tar.gz' Step #3 - "compile-libfuzzer-coverage-x86_64": Step #3 - "compile-libfuzzer-coverage-x86_64": go1.19.3. 0%[ ] 0 --.-KB/s go1.19.3.l 8%[> ] 12.01M 59.3MB/s go1.19.3.li 17%[==> ] 24.82M 61.7MB/s go1.19.3.lin 26%[====> ] 38.01M 59.4MB/s go1.19.3.linu 33%[=====> ] 48.01M 56.8MB/s go1.19.3.linux 41%[=======> ] 59.61M 57.0MB/s go1.19.3.linux- 46%[========> ] 66.01M 52.7MB/s go1.19.3.linux-a 54%[=========> ] 78.01M 53.5MB/s go1.19.3.linux-am 63%[===========> ] 90.01M 54.0MB/s go1.19.3.linux-amd 71%[=============> ] 102.01M 54.1MB/s go1.19.3.linux-amd6 77%[==============> ] 110.01M 52.6MB/s o1.19.3.linux-amd64 85%[================> ] 122.01M 52.8MB/s 1.19.3.linux-amd64. 98%[==================> ] 140.01M 55.6MB/s go1.19.3.linux-amd6 100%[===================>] 142.01M 56.2MB/s in 2.5s Step #3 - "compile-libfuzzer-coverage-x86_64": Step #3 - "compile-libfuzzer-coverage-x86_64": 2024-09-07 06:39:18 (56.2 MB/s) - 'go1.19.3.linux-amd64.tar.gz' saved [148907134/148907134] Step #3 - "compile-libfuzzer-coverage-x86_64": Step #3 - "compile-libfuzzer-coverage-x86_64": ++ mkdir newgo Step #3 - "compile-libfuzzer-coverage-x86_64": ++ tar -C ./newgo -xzf go1.19.3.linux-amd64.tar.gz Step #3 - "compile-libfuzzer-coverage-x86_64": ++ rm -r /root/.go Step #3 - "compile-libfuzzer-coverage-x86_64": ++ mv ./newgo/go /root/.go Step #3 - "compile-libfuzzer-coverage-x86_64": ++ mkdir /src/etcd/tests/fuzzing Step #3 - "compile-libfuzzer-coverage-x86_64": ++ cd /src/etcd Step #3 - "compile-libfuzzer-coverage-x86_64": ++ mv /src/cncf-fuzzing/projects/etcd/autogenerate_api_marshal_fuzzer.go ./ Step #3 - "compile-libfuzzer-coverage-x86_64": ++ grep -r ') Marshal(' . Step #3 - "compile-libfuzzer-coverage-x86_64": ++ go run autogenerate_api_marshal_fuzzer.go Step #3 - "compile-libfuzzer-coverage-x86_64": go: errors parsing go.mod: Step #3 - "compile-libfuzzer-coverage-x86_64": /src/etcd/go.mod:5: unknown directive: toolchain Step #3 - "compile-libfuzzer-coverage-x86_64": ******************************************************************************** Step #3 - "compile-libfuzzer-coverage-x86_64": Failed to build. Step #3 - "compile-libfuzzer-coverage-x86_64": To reproduce, run: Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_image etcd Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_fuzzers --sanitizer coverage --engine libfuzzer --architecture x86_64 etcd Step #3 - "compile-libfuzzer-coverage-x86_64": ******************************************************************************** Finished Step #3 - "compile-libfuzzer-coverage-x86_64" ERROR ERROR: build step 3 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1