starting build "3c023c0f-973c-4dc2-9d7b-26064f2e4641" 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: 800687449569: Pulling fs layer Step #1: 67cc84ed39bf: Pulling fs layer Step #1: 33c4464df317: Pulling fs layer Step #1: 7a3d59ffed63: Pulling fs layer Step #1: bc24bccd8f7c: Pulling fs layer Step #1: 18d20619fb8d: Pulling fs layer Step #1: 0ec212d79142: Pulling fs layer Step #1: 0d731e844f5b: Pulling fs layer Step #1: 03e6d4298870: Pulling fs layer Step #1: 9cb6c9480ffe: Pulling fs layer Step #1: 636367483a85: Pulling fs layer Step #1: ab160a08f40f: Pulling fs layer Step #1: d56fb1501120: Pulling fs layer Step #1: 6e5ee80d4b76: Pulling fs layer Step #1: 069b70ca1828: Pulling fs layer Step #1: 082a5c4ba783: Pulling fs layer Step #1: aeb889ce9374: Pulling fs layer Step #1: b3c77a307741: Pulling fs layer Step #1: 19afa95abd0d: Pulling fs layer Step #1: 3331bfca5447: Pulling fs layer Step #1: ca89507fe8d3: Pulling fs layer Step #1: 093d0a8d4813: Pulling fs layer Step #1: 562130e5e1f0: Pulling fs layer Step #1: c78d65770fdc: Pulling fs layer Step #1: d8a48a39f3bb: Pulling fs layer Step #1: d547270a8392: Pulling fs layer Step #1: cd72b15f7674: Pulling fs layer Step #1: fed123fa2f8a: Pulling fs layer Step #1: 39a8609a58c5: Pulling fs layer Step #1: d942b3144a95: Pulling fs layer Step #1: 30e6af2af1c7: Pulling fs layer Step #1: a9e61f79d57c: Pulling fs layer Step #1: 33c4464df317: Waiting Step #1: 7a3d59ffed63: Waiting Step #1: bc24bccd8f7c: Waiting Step #1: 18d20619fb8d: Waiting Step #1: 0ec212d79142: Waiting Step #1: 0d731e844f5b: Waiting Step #1: 03e6d4298870: Waiting Step #1: 9cb6c9480ffe: Waiting Step #1: 636367483a85: Waiting Step #1: ab160a08f40f: Waiting Step #1: d56fb1501120: Waiting Step #1: 6e5ee80d4b76: Waiting Step #1: d8a48a39f3bb: Waiting Step #1: 069b70ca1828: Waiting Step #1: d547270a8392: Waiting Step #1: 082a5c4ba783: Waiting Step #1: cd72b15f7674: Waiting Step #1: fed123fa2f8a: Waiting Step #1: 39a8609a58c5: Waiting Step #1: d942b3144a95: Waiting Step #1: 30e6af2af1c7: Waiting Step #1: a9e61f79d57c: Waiting Step #1: 093d0a8d4813: Waiting Step #1: 562130e5e1f0: Waiting Step #1: c78d65770fdc: Waiting Step #1: b3c77a307741: Waiting Step #1: 19afa95abd0d: Waiting Step #1: 3331bfca5447: Waiting Step #1: ca89507fe8d3: Waiting Step #1: 67cc84ed39bf: Verifying Checksum Step #1: 67cc84ed39bf: Download complete Step #1: 33c4464df317: Verifying Checksum Step #1: 33c4464df317: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: bc24bccd8f7c: Verifying Checksum Step #1: bc24bccd8f7c: Download complete Step #1: 7a3d59ffed63: Verifying Checksum Step #1: 7a3d59ffed63: Download complete Step #1: 0ec212d79142: Verifying Checksum Step #1: 0ec212d79142: Download complete Step #1: 0d731e844f5b: Verifying Checksum Step #1: 0d731e844f5b: Download complete Step #1: 800687449569: Verifying Checksum Step #1: 800687449569: Download complete Step #1: 9cb6c9480ffe: Verifying Checksum Step #1: 9cb6c9480ffe: Download complete Step #1: 636367483a85: Download complete Step #1: b549f31133a9: Pull complete Step #1: ab160a08f40f: Verifying Checksum Step #1: ab160a08f40f: Download complete Step #1: d56fb1501120: Verifying Checksum Step #1: d56fb1501120: Download complete Step #1: 6e5ee80d4b76: Verifying Checksum Step #1: 6e5ee80d4b76: Download complete Step #1: 069b70ca1828: Verifying Checksum Step #1: 069b70ca1828: Download complete Step #1: 03e6d4298870: Verifying Checksum Step #1: 03e6d4298870: Download complete Step #1: 082a5c4ba783: Verifying Checksum Step #1: 082a5c4ba783: Download complete Step #1: aeb889ce9374: Download complete Step #1: b3c77a307741: Verifying Checksum Step #1: b3c77a307741: Download complete Step #1: 19afa95abd0d: Verifying Checksum Step #1: 19afa95abd0d: Download complete Step #1: 3331bfca5447: Verifying Checksum Step #1: 3331bfca5447: Download complete Step #1: 093d0a8d4813: Verifying Checksum Step #1: 093d0a8d4813: Download complete Step #1: ca89507fe8d3: Verifying Checksum Step #1: ca89507fe8d3: Download complete Step #1: 562130e5e1f0: Verifying Checksum Step #1: 562130e5e1f0: Download complete Step #1: c78d65770fdc: Verifying Checksum Step #1: c78d65770fdc: Download complete Step #1: d8a48a39f3bb: Verifying Checksum Step #1: d8a48a39f3bb: Download complete Step #1: cd72b15f7674: Verifying Checksum Step #1: cd72b15f7674: Download complete Step #1: d547270a8392: Download complete Step #1: 18d20619fb8d: Verifying Checksum Step #1: 18d20619fb8d: Download complete Step #1: fed123fa2f8a: Verifying Checksum Step #1: fed123fa2f8a: Download complete Step #1: 39a8609a58c5: Download complete Step #1: d942b3144a95: Verifying Checksum Step #1: d942b3144a95: Download complete Step #1: a9e61f79d57c: Verifying Checksum Step #1: a9e61f79d57c: Download complete Step #1: 800687449569: Pull complete Step #1: 67cc84ed39bf: Pull complete Step #1: 30e6af2af1c7: Verifying Checksum Step #1: 30e6af2af1c7: Download complete Step #1: 33c4464df317: Pull complete Step #1: 7a3d59ffed63: Pull complete Step #1: bc24bccd8f7c: Pull complete Step #1: 18d20619fb8d: Pull complete Step #1: 0ec212d79142: Pull complete Step #1: 0d731e844f5b: Pull complete Step #1: 03e6d4298870: Pull complete Step #1: 9cb6c9480ffe: Pull complete Step #1: 636367483a85: Pull complete Step #1: ab160a08f40f: Pull complete Step #1: d56fb1501120: Pull complete Step #1: 6e5ee80d4b76: Pull complete Step #1: 069b70ca1828: Pull complete Step #1: 082a5c4ba783: Pull complete Step #1: aeb889ce9374: Pull complete Step #1: b3c77a307741: Pull complete Step #1: 19afa95abd0d: Pull complete Step #1: 3331bfca5447: Pull complete Step #1: ca89507fe8d3: Pull complete Step #1: 093d0a8d4813: Pull complete Step #1: 562130e5e1f0: Pull complete Step #1: c78d65770fdc: Pull complete Step #1: d8a48a39f3bb: Pull complete Step #1: d547270a8392: Pull complete Step #1: cd72b15f7674: Pull complete Step #1: fed123fa2f8a: Pull complete Step #1: 39a8609a58c5: Pull complete Step #1: d942b3144a95: Pull complete Step #1: 30e6af2af1c7: Pull complete Step #1: a9e61f79d57c: Pull complete Step #1: Digest: sha256:641f59e60daf76531999fb869bce29997d9552e548e382710930b708cec43039 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 17ba2eb8a017 Step #1: Step 2/6 : RUN git clone --depth 1 https://github.com/etcd-io/etcd Step #1: ---> Running in a07cb0f6cf73 Step #1: [91mCloning into 'etcd'... Step #1: [0mRemoving intermediate container a07cb0f6cf73 Step #1: ---> ee3124d6483f Step #1: Step 3/6 : RUN git clone --depth 1 https://github.com/etcd-io/raft Step #1: ---> Running in 4a1c9e94db76 Step #1: [91mCloning into 'raft'... Step #1: [0mRemoving intermediate container 4a1c9e94db76 Step #1: ---> b9a3702ff8cf Step #1: Step 4/6 : RUN git clone --depth 1 https://github.com/cncf/cncf-fuzzing Step #1: ---> Running in c7f597d47e44 Step #1: [91mCloning into 'cncf-fuzzing'... Step #1: [0mRemoving intermediate container c7f597d47e44 Step #1: ---> 1c29b7917dac Step #1: Step 5/6 : COPY build.sh $SRC/ Step #1: ---> 6a9e1409ca44 Step #1: Step 6/6 : WORKDIR $SRC/etcd Step #1: ---> Running in 9b5d2b5d42aa Step #1: Removing intermediate container 9b5d2b5d42aa Step #1: ---> 8e57c4c86025 Step #1: Successfully built 8e57c4c86025 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/fileCV0wTP 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/fileCV0wTP '."/src/cncf-fuzzing" = { type: "git", url: "https://github.com/cncf/cncf-fuzzing", rev: "ea2f998ab679916f12730cf132a73b6be2585651" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileb1zGla Step #2 - "srcmap": + cat /tmp/fileCV0wTP Step #2 - "srcmap": + jq '."/src/cncf-fuzzing" = { type: "git", url: "https://github.com/cncf/cncf-fuzzing", rev: "ea2f998ab679916f12730cf132a73b6be2585651" }' Step #2 - "srcmap": + mv /tmp/fileb1zGla /tmp/fileCV0wTP 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=0511a18a9691ccd8b2f1d4d0c8d609583e5b5bfb Step #2 - "srcmap": + jq_inplace /tmp/fileCV0wTP '."/src/raft" = { type: "git", url: "https://github.com/etcd-io/raft", rev: "0511a18a9691ccd8b2f1d4d0c8d609583e5b5bfb" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileahApdH Step #2 - "srcmap": + cat /tmp/fileCV0wTP Step #2 - "srcmap": + jq '."/src/raft" = { type: "git", url: "https://github.com/etcd-io/raft", rev: "0511a18a9691ccd8b2f1d4d0c8d609583e5b5bfb" }' Step #2 - "srcmap": + mv /tmp/fileahApdH /tmp/fileCV0wTP 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=db4e95cb1f8d3a8eebfb89c880d5fbd8d6165292 Step #2 - "srcmap": + jq_inplace /tmp/fileCV0wTP '."/src/etcd" = { type: "git", url: "https://github.com/etcd-io/etcd", rev: "db4e95cb1f8d3a8eebfb89c880d5fbd8d6165292" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filewLpYxf Step #2 - "srcmap": + cat /tmp/fileCV0wTP Step #2 - "srcmap": + jq '."/src/etcd" = { type: "git", url: "https://github.com/etcd-io/etcd", rev: "db4e95cb1f8d3a8eebfb89c880d5fbd8d6165292" }' Step #2 - "srcmap": + mv /tmp/filewLpYxf /tmp/fileCV0wTP 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/fileCV0wTP Step #2 - "srcmap": + rm /tmp/fileCV0wTP 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": "0511a18a9691ccd8b2f1d4d0c8d609583e5b5bfb" 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": "db4e95cb1f8d3a8eebfb89c880d5fbd8d6165292" 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": 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 -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 -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": --2023-12-01 06:08:17-- 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.34.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": --2023-12-01 06:08:18-- 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)... 64.233.182.91, 64.233.182.93, 64.233.182.136, ... Step #3 - "compile-libfuzzer-coverage-x86_64": Connecting to dl.google.com (dl.google.com)|64.233.182.91|: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 39%[======> ] 55.71M 279MB/s go1.19.3.li 81%[===============> ] 115.61M 289MB/s go1.19.3.linux-amd6 100%[===================>] 142.01M 292MB/s in 0.5s Step #3 - "compile-libfuzzer-coverage-x86_64": Step #3 - "compile-libfuzzer-coverage-x86_64": 2023-12-01 06:08:18 (292 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": ++ rm autogenerate_api_marshal_fuzzer.go Step #3 - "compile-libfuzzer-coverage-x86_64": ++ mv api_marshal_fuzzer.go ./tests/fuzzing/ Step #3 - "compile-libfuzzer-coverage-x86_64": ++ cd tests/fuzzing Step #3 - "compile-libfuzzer-coverage-x86_64": ++ go mod tidy Step #3 - "compile-libfuzzer-coverage-x86_64": go: go.mod file indicates go 1.21, but maximum version supported by tidy is 1.19 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