starting build "2698e4c5-9d5e-4666-9263-09681bac2475" 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/4 : 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: 09ccb5f81d91: Pulling fs layer Step #1: 45bca8a33c30: Pulling fs layer Step #1: 48c4de169dad: Pulling fs layer Step #1: f6806e3d7174: Pulling fs layer Step #1: 0f8bb4a03f6e: Pulling fs layer Step #1: e75ecd885f17: Pulling fs layer Step #1: d20205289a10: Pulling fs layer Step #1: dbfcd34892d1: Pulling fs layer Step #1: c5319d4a365e: Pulling fs layer Step #1: 0b5cdcaf4ce9: Pulling fs layer Step #1: d11f9bec6c1e: Pulling fs layer Step #1: 9a26b1b0ad6d: Pulling fs layer Step #1: 0644318f3a78: Pulling fs layer Step #1: f6d5c9d445f1: Pulling fs layer Step #1: 54033b04d786: Pulling fs layer Step #1: d65b2b252f2c: Pulling fs layer Step #1: 05a85ad055b7: Pulling fs layer Step #1: 3cb0d353a8ea: Pulling fs layer Step #1: 66908b2df4e9: Pulling fs layer Step #1: 96dc9ab88d21: Pulling fs layer Step #1: a4d85ca140ba: Pulling fs layer Step #1: caa02788b1f9: Pulling fs layer Step #1: 0aaf411d6d65: Pulling fs layer Step #1: 3acb103d63e9: Pulling fs layer Step #1: c13ceb9e1a4a: Pulling fs layer Step #1: aa4433dcbbd0: Pulling fs layer Step #1: 83c358e384d2: Pulling fs layer Step #1: 491a6ce9357b: Pulling fs layer Step #1: 48c4de169dad: Waiting Step #1: 29939275f3d0: Pulling fs layer Step #1: 1eaeec2e1fc1: Pulling fs layer Step #1: 01cf1f7a4ed9: Pulling fs layer Step #1: f6806e3d7174: Waiting Step #1: 2cf689ad99f2: Pulling fs layer Step #1: c53c2605b85c: Pulling fs layer Step #1: f72a98169b3a: Pulling fs layer Step #1: 47a1d8b17095: Pulling fs layer Step #1: bae91f52d551: Pulling fs layer Step #1: dbfcd34892d1: Waiting Step #1: c5319d4a365e: Waiting Step #1: 0b5cdcaf4ce9: Waiting Step #1: d11f9bec6c1e: Waiting Step #1: 9a26b1b0ad6d: Waiting Step #1: 0f8bb4a03f6e: Waiting Step #1: 0644318f3a78: Waiting Step #1: f6d5c9d445f1: Waiting Step #1: d20205289a10: Waiting Step #1: 54033b04d786: Waiting Step #1: e75ecd885f17: Waiting Step #1: d65b2b252f2c: Waiting Step #1: 05a85ad055b7: Waiting Step #1: f72a98169b3a: Waiting Step #1: 3cb0d353a8ea: Waiting Step #1: 47a1d8b17095: Waiting Step #1: 66908b2df4e9: Waiting Step #1: 29939275f3d0: Waiting Step #1: bae91f52d551: Waiting Step #1: 96dc9ab88d21: Waiting Step #1: 2cf689ad99f2: Waiting Step #1: 1eaeec2e1fc1: Waiting Step #1: a4d85ca140ba: Waiting Step #1: c53c2605b85c: Waiting Step #1: caa02788b1f9: Waiting Step #1: 0aaf411d6d65: Waiting Step #1: 01cf1f7a4ed9: Waiting Step #1: 3acb103d63e9: Waiting Step #1: c13ceb9e1a4a: Waiting Step #1: 491a6ce9357b: Waiting Step #1: 83c358e384d2: Waiting Step #1: 45bca8a33c30: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: f6806e3d7174: Verifying Checksum Step #1: f6806e3d7174: Download complete Step #1: 48c4de169dad: Verifying Checksum Step #1: 48c4de169dad: Download complete Step #1: 0f8bb4a03f6e: Verifying Checksum Step #1: 0f8bb4a03f6e: Download complete Step #1: d20205289a10: Download complete Step #1: 09ccb5f81d91: Verifying Checksum Step #1: 09ccb5f81d91: Download complete Step #1: dbfcd34892d1: Verifying Checksum Step #1: dbfcd34892d1: Download complete Step #1: b549f31133a9: Pull complete Step #1: 0b5cdcaf4ce9: Verifying Checksum Step #1: 0b5cdcaf4ce9: Download complete Step #1: d11f9bec6c1e: Verifying Checksum Step #1: d11f9bec6c1e: Download complete Step #1: 9a26b1b0ad6d: Verifying Checksum Step #1: 9a26b1b0ad6d: Download complete Step #1: 0644318f3a78: Verifying Checksum Step #1: 0644318f3a78: Download complete Step #1: f6d5c9d445f1: Verifying Checksum Step #1: f6d5c9d445f1: Download complete Step #1: 54033b04d786: Verifying Checksum Step #1: 54033b04d786: Download complete Step #1: c5319d4a365e: Verifying Checksum Step #1: c5319d4a365e: Download complete Step #1: d65b2b252f2c: Verifying Checksum Step #1: d65b2b252f2c: Download complete Step #1: 05a85ad055b7: Verifying Checksum Step #1: 05a85ad055b7: Download complete Step #1: 3cb0d353a8ea: Verifying Checksum Step #1: 3cb0d353a8ea: Download complete Step #1: 66908b2df4e9: Verifying Checksum Step #1: 66908b2df4e9: Download complete Step #1: 96dc9ab88d21: Verifying Checksum Step #1: 96dc9ab88d21: Download complete Step #1: a4d85ca140ba: Download complete Step #1: caa02788b1f9: Verifying Checksum Step #1: caa02788b1f9: Download complete Step #1: 0aaf411d6d65: Verifying Checksum Step #1: 0aaf411d6d65: Download complete Step #1: 3acb103d63e9: Verifying Checksum Step #1: 3acb103d63e9: Download complete Step #1: e75ecd885f17: Verifying Checksum Step #1: e75ecd885f17: Download complete Step #1: c13ceb9e1a4a: Verifying Checksum Step #1: c13ceb9e1a4a: Download complete Step #1: aa4433dcbbd0: Verifying Checksum Step #1: aa4433dcbbd0: Download complete Step #1: 83c358e384d2: Verifying Checksum Step #1: 83c358e384d2: Download complete Step #1: 491a6ce9357b: Verifying Checksum Step #1: 491a6ce9357b: Download complete Step #1: 1eaeec2e1fc1: Verifying Checksum Step #1: 1eaeec2e1fc1: Download complete Step #1: 01cf1f7a4ed9: Verifying Checksum Step #1: 01cf1f7a4ed9: Download complete Step #1: 29939275f3d0: Verifying Checksum Step #1: 29939275f3d0: Download complete Step #1: 2cf689ad99f2: Download complete Step #1: c53c2605b85c: Verifying Checksum Step #1: c53c2605b85c: Download complete Step #1: f72a98169b3a: Verifying Checksum Step #1: f72a98169b3a: Download complete Step #1: bae91f52d551: Verifying Checksum Step #1: bae91f52d551: Download complete Step #1: 09ccb5f81d91: Pull complete Step #1: 45bca8a33c30: Pull complete Step #1: 47a1d8b17095: Verifying Checksum Step #1: 47a1d8b17095: Download complete Step #1: 48c4de169dad: Pull complete Step #1: f6806e3d7174: Pull complete Step #1: 0f8bb4a03f6e: Pull complete Step #1: e75ecd885f17: Pull complete Step #1: d20205289a10: Pull complete Step #1: dbfcd34892d1: Pull complete Step #1: c5319d4a365e: Pull complete Step #1: 0b5cdcaf4ce9: Pull complete Step #1: d11f9bec6c1e: Pull complete Step #1: 9a26b1b0ad6d: Pull complete Step #1: 0644318f3a78: Pull complete Step #1: f6d5c9d445f1: Pull complete Step #1: 54033b04d786: Pull complete Step #1: d65b2b252f2c: Pull complete Step #1: 05a85ad055b7: Pull complete Step #1: 3cb0d353a8ea: Pull complete Step #1: 66908b2df4e9: Pull complete Step #1: 96dc9ab88d21: Pull complete Step #1: a4d85ca140ba: Pull complete Step #1: caa02788b1f9: Pull complete Step #1: 0aaf411d6d65: Pull complete Step #1: 3acb103d63e9: Pull complete Step #1: c13ceb9e1a4a: Pull complete Step #1: aa4433dcbbd0: Pull complete Step #1: 83c358e384d2: Pull complete Step #1: 491a6ce9357b: Pull complete Step #1: 29939275f3d0: Pull complete Step #1: 1eaeec2e1fc1: Pull complete Step #1: 01cf1f7a4ed9: Pull complete Step #1: 2cf689ad99f2: Pull complete Step #1: c53c2605b85c: Pull complete Step #1: f72a98169b3a: Pull complete Step #1: 47a1d8b17095: Pull complete Step #1: bae91f52d551: Pull complete Step #1: Digest: sha256:20bf501b00c0ba0c2c3d1898504c1402d15ac9eab2e3b76eaececa4289232a4e Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> d3e209435330 Step #1: Step 2/4 : RUN git clone --depth 1 https://github.com/cosmos/cosmos-sdk Step #1: ---> Running in 8cfa2502050d Step #1: Cloning into 'cosmos-sdk'... Step #1: Removing intermediate container 8cfa2502050d Step #1: ---> 6b3ea0f7739c Step #1: Step 3/4 : COPY build.sh $SRC Step #1: ---> b3b7c7d75214 Step #1: Step 4/4 : WORKDIR $SRC/cosmos-sdk Step #1: ---> Running in db64f3f7bbc5 Step #1: Removing intermediate container db64f3f7bbc5 Step #1: ---> 7a45f83bf41f Step #1: Successfully built 7a45f83bf41f Step #1: Successfully tagged gcr.io/oss-fuzz/cosmos-sdk:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/cosmos-sdk Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/filecH5XMO 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/cosmos-sdk/.git Step #2 - "srcmap": + GIT_DIR=/src/cosmos-sdk Step #2 - "srcmap": + cd /src/cosmos-sdk Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/cosmos/cosmos-sdk Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=629106eb84fe8a2c3697895069d667c82f4eb68e Step #2 - "srcmap": + jq_inplace /tmp/filecH5XMO '."/src/cosmos-sdk" = { type: "git", url: "https://github.com/cosmos/cosmos-sdk", rev: "629106eb84fe8a2c3697895069d667c82f4eb68e" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileOJVrld Step #2 - "srcmap": + cat /tmp/filecH5XMO Step #2 - "srcmap": + jq '."/src/cosmos-sdk" = { type: "git", url: "https://github.com/cosmos/cosmos-sdk", rev: "629106eb84fe8a2c3697895069d667c82f4eb68e" }' Step #2 - "srcmap": + mv /tmp/fileOJVrld /tmp/filecH5XMO 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/filecH5XMO Step #2 - "srcmap": + rm /tmp/filecH5XMO Step #2 - "srcmap": { Step #2 - "srcmap": "/src/cosmos-sdk": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/cosmos/cosmos-sdk", Step #2 - "srcmap": "rev": "629106eb84fe8a2c3697895069d667c82f4eb68e" 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 -Wno-error=vla-cxx-extension -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 -Wno-error=vla-cxx-extension -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": + bash -x ./fuzz/oss-fuzz-build.sh Step #3 - "compile-libfuzzer-coverage-x86_64": + set -o nounset Step #3 - "compile-libfuzzer-coverage-x86_64": + set -o pipefail Step #3 - "compile-libfuzzer-coverage-x86_64": + set -o errexit Step #3 - "compile-libfuzzer-coverage-x86_64": + set -x Step #3 - "compile-libfuzzer-coverage-x86_64": + cd /src Step #3 - "compile-libfuzzer-coverage-x86_64": + wget https://go.dev/dl/go1.23.1.linux-amd64.tar.gz Step #3 - "compile-libfuzzer-coverage-x86_64": --2024-12-13 06:03:24-- https://go.dev/dl/go1.23.1.linux-amd64.tar.gz Step #3 - "compile-libfuzzer-coverage-x86_64": Resolving go.dev (go.dev)... 216.239.34.21, 216.239.38.21, 216.239.36.21, ... Step #3 - "compile-libfuzzer-coverage-x86_64": Connecting to go.dev (go.dev)|216.239.34.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.23.1.linux-amd64.tar.gz [following] Step #3 - "compile-libfuzzer-coverage-x86_64": --2024-12-13 06:03:24-- https://dl.google.com/go/go1.23.1.linux-amd64.tar.gz Step #3 - "compile-libfuzzer-coverage-x86_64": Resolving dl.google.com (dl.google.com)... 142.251.184.93, 142.251.184.190, 142.251.184.91, ... Step #3 - "compile-libfuzzer-coverage-x86_64": Connecting to dl.google.com (dl.google.com)|142.251.184.93|:443... connected. Step #3 - "compile-libfuzzer-coverage-x86_64": HTTP request sent, awaiting response... 200 OK Step #3 - "compile-libfuzzer-coverage-x86_64": Length: 73598519 (70M) [application/x-gzip] Step #3 - "compile-libfuzzer-coverage-x86_64": Saving to: 'go1.23.1.linux-amd64.tar.gz' Step #3 - "compile-libfuzzer-coverage-x86_64": Step #3 - "compile-libfuzzer-coverage-x86_64": go1.23.1. 0%[ ] 0 --.-KB/s go1.23.1.l 91%[=================> ] 64.30M 321MB/s go1.23.1.linux-amd6 100%[===================>] 70.19M 324MB/s in 0.2s Step #3 - "compile-libfuzzer-coverage-x86_64": Step #3 - "compile-libfuzzer-coverage-x86_64": 2024-12-13 06:03:24 (324 MB/s) - 'go1.23.1.linux-amd64.tar.gz' saved [73598519/73598519] Step #3 - "compile-libfuzzer-coverage-x86_64": Step #3 - "compile-libfuzzer-coverage-x86_64": + mkdir /src/new-go Step #3 - "compile-libfuzzer-coverage-x86_64": + rm -rf /root/.go Step #3 - "compile-libfuzzer-coverage-x86_64": + tar -C /src/new-go/ -xzf go1.23.1.linux-amd64.tar.gz Step #3 - "compile-libfuzzer-coverage-x86_64": + mv /src/new-go/go /root/.go Step #3 - "compile-libfuzzer-coverage-x86_64": + ls /root/.go Step #3 - "compile-libfuzzer-coverage-x86_64": CONTRIBUTING.md README.md api doc misc test Step #3 - "compile-libfuzzer-coverage-x86_64": LICENSE SECURITY.md bin go.env pkg Step #3 - "compile-libfuzzer-coverage-x86_64": PATENTS VERSION codereview.cfg lib src Step #3 - "compile-libfuzzer-coverage-x86_64": + cd /src/go-118-fuzz-build Step #3 - "compile-libfuzzer-coverage-x86_64": ./fuzz/oss-fuzz-build.sh: line 15: cd: /src/go-118-fuzz-build: No such file or directory 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 cosmos-sdk Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_fuzzers --sanitizer coverage --engine libfuzzer --architecture x86_64 cosmos-sdk 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