starting build "954ccb69-0ee5-451e-92c1-9597e5ecf871" 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: be25b9522f79: Pulling fs layer Step #1: a9ab31d534e3: Pulling fs layer Step #1: 8c031fa7a8ef: Pulling fs layer Step #1: f191d822ab89: Pulling fs layer Step #1: 856d02d9c4bf: Pulling fs layer Step #1: 888fb4b2605b: Pulling fs layer Step #1: afd7e50f3d5f: Pulling fs layer Step #1: c5fc65aaddb2: Pulling fs layer Step #1: c3c9501819d9: Pulling fs layer Step #1: db14340da231: Pulling fs layer Step #1: 45f11e3b11db: Pulling fs layer Step #1: daa3a3db06fe: Pulling fs layer Step #1: 6a27899b6b7d: Pulling fs layer Step #1: 804199997d04: Pulling fs layer Step #1: 3cbf7f41ed20: Pulling fs layer Step #1: 389d7a6d22d9: Pulling fs layer Step #1: 38d1bb468957: Pulling fs layer Step #1: 020ffe020e0a: Pulling fs layer Step #1: ab01c9b84e20: Pulling fs layer Step #1: 7570e6b16473: Pulling fs layer Step #1: e1fb3a303bae: Pulling fs layer Step #1: a0438da8572a: Pulling fs layer Step #1: e7ced0680abe: Pulling fs layer Step #1: 75771a0541c6: Pulling fs layer Step #1: d167f50046c9: Pulling fs layer Step #1: deb850163241: Pulling fs layer Step #1: 3856e262ee24: Pulling fs layer Step #1: 815562f87435: Pulling fs layer Step #1: 3fd13e0f290e: Pulling fs layer Step #1: ce414ebdd7ee: Pulling fs layer Step #1: 9f130a7b41b8: Pulling fs layer Step #1: f89e0b54daff: Pulling fs layer Step #1: d86ac9ffb9a7: Pulling fs layer Step #1: 8091734681d6: Pulling fs layer Step #1: 0656abad12ca: Pulling fs layer Step #1: 2c7cd73ad987: Pulling fs layer Step #1: db14340da231: Waiting Step #1: 45f11e3b11db: Waiting Step #1: daa3a3db06fe: Waiting Step #1: 6a27899b6b7d: Waiting Step #1: deb850163241: Waiting Step #1: 804199997d04: Waiting Step #1: 3cbf7f41ed20: Waiting Step #1: 3856e262ee24: Waiting Step #1: d86ac9ffb9a7: Waiting Step #1: 389d7a6d22d9: Waiting Step #1: 38d1bb468957: Waiting Step #1: 8091734681d6: Waiting Step #1: 856d02d9c4bf: Waiting Step #1: 020ffe020e0a: Waiting Step #1: f89e0b54daff: Waiting Step #1: ab01c9b84e20: Waiting Step #1: ce414ebdd7ee: Waiting Step #1: c5fc65aaddb2: Waiting Step #1: 3fd13e0f290e: Waiting Step #1: d167f50046c9: Waiting Step #1: e1fb3a303bae: Waiting Step #1: a0438da8572a: Waiting Step #1: 2c7cd73ad987: Waiting Step #1: e7ced0680abe: Waiting Step #1: 75771a0541c6: Waiting Step #1: f191d822ab89: Waiting Step #1: 815562f87435: Waiting Step #1: 888fb4b2605b: Waiting Step #1: c3c9501819d9: Waiting Step #1: 7570e6b16473: Waiting Step #1: a9ab31d534e3: Verifying Checksum Step #1: a9ab31d534e3: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: f191d822ab89: Verifying Checksum Step #1: f191d822ab89: Download complete Step #1: 8c031fa7a8ef: Verifying Checksum Step #1: 8c031fa7a8ef: Download complete Step #1: 856d02d9c4bf: Verifying Checksum Step #1: 856d02d9c4bf: Download complete Step #1: afd7e50f3d5f: Verifying Checksum Step #1: afd7e50f3d5f: Download complete Step #1: c5fc65aaddb2: Verifying Checksum Step #1: c5fc65aaddb2: Download complete Step #1: be25b9522f79: Verifying Checksum Step #1: be25b9522f79: Download complete Step #1: b549f31133a9: Pull complete Step #1: db14340da231: Verifying Checksum Step #1: db14340da231: Download complete Step #1: 45f11e3b11db: Verifying Checksum Step #1: 45f11e3b11db: Download complete Step #1: daa3a3db06fe: Verifying Checksum Step #1: daa3a3db06fe: Download complete Step #1: 6a27899b6b7d: Verifying Checksum Step #1: 6a27899b6b7d: Download complete Step #1: 804199997d04: Verifying Checksum Step #1: 804199997d04: Download complete Step #1: c3c9501819d9: Verifying Checksum Step #1: c3c9501819d9: Download complete Step #1: 3cbf7f41ed20: Verifying Checksum Step #1: 3cbf7f41ed20: Download complete Step #1: 389d7a6d22d9: Verifying Checksum Step #1: 389d7a6d22d9: Download complete Step #1: 38d1bb468957: Verifying Checksum Step #1: 38d1bb468957: Download complete Step #1: 020ffe020e0a: Verifying Checksum Step #1: 020ffe020e0a: Download complete Step #1: ab01c9b84e20: Verifying Checksum Step #1: ab01c9b84e20: Download complete Step #1: 7570e6b16473: Verifying Checksum Step #1: 7570e6b16473: Download complete Step #1: e1fb3a303bae: Verifying Checksum Step #1: e1fb3a303bae: Download complete Step #1: 888fb4b2605b: Verifying Checksum Step #1: 888fb4b2605b: Download complete Step #1: a0438da8572a: Verifying Checksum Step #1: a0438da8572a: Download complete Step #1: e7ced0680abe: Download complete Step #1: 75771a0541c6: Verifying Checksum Step #1: 75771a0541c6: Download complete Step #1: deb850163241: Download complete Step #1: d167f50046c9: Download complete Step #1: 3856e262ee24: Verifying Checksum Step #1: 3856e262ee24: Download complete Step #1: 815562f87435: Verifying Checksum Step #1: 815562f87435: Download complete Step #1: ce414ebdd7ee: Download complete Step #1: 3fd13e0f290e: Verifying Checksum Step #1: 3fd13e0f290e: Download complete Step #1: 9f130a7b41b8: Verifying Checksum Step #1: 9f130a7b41b8: Download complete Step #1: f89e0b54daff: Download complete Step #1: d86ac9ffb9a7: Verifying Checksum Step #1: d86ac9ffb9a7: Download complete Step #1: be25b9522f79: Pull complete Step #1: 8091734681d6: Download complete Step #1: a9ab31d534e3: Pull complete Step #1: 2c7cd73ad987: Verifying Checksum Step #1: 2c7cd73ad987: Download complete Step #1: 8c031fa7a8ef: Pull complete Step #1: f191d822ab89: Pull complete Step #1: 856d02d9c4bf: Pull complete Step #1: 0656abad12ca: Verifying Checksum Step #1: 0656abad12ca: Download complete Step #1: 888fb4b2605b: Pull complete Step #1: afd7e50f3d5f: Pull complete Step #1: c5fc65aaddb2: Pull complete Step #1: c3c9501819d9: Pull complete Step #1: db14340da231: Pull complete Step #1: 45f11e3b11db: Pull complete Step #1: daa3a3db06fe: Pull complete Step #1: 6a27899b6b7d: Pull complete Step #1: 804199997d04: Pull complete Step #1: 3cbf7f41ed20: Pull complete Step #1: 389d7a6d22d9: Pull complete Step #1: 38d1bb468957: Pull complete Step #1: 020ffe020e0a: Pull complete Step #1: ab01c9b84e20: Pull complete Step #1: 7570e6b16473: Pull complete Step #1: e1fb3a303bae: Pull complete Step #1: a0438da8572a: Pull complete Step #1: e7ced0680abe: Pull complete Step #1: 75771a0541c6: Pull complete Step #1: d167f50046c9: Pull complete Step #1: deb850163241: Pull complete Step #1: 3856e262ee24: Pull complete Step #1: 815562f87435: Pull complete Step #1: 3fd13e0f290e: Pull complete Step #1: ce414ebdd7ee: Pull complete Step #1: 9f130a7b41b8: Pull complete Step #1: f89e0b54daff: Pull complete Step #1: d86ac9ffb9a7: Pull complete Step #1: 8091734681d6: Pull complete Step #1: 0656abad12ca: Pull complete Step #1: 2c7cd73ad987: Pull complete Step #1: Digest: sha256:670b66c40cfa4a99256e07e5ade9e14dbf6eea779754ed86a8c509dae565cd0f Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 8124d1bff02a Step #1: Step 2/4 : RUN git clone --depth 1 https://github.com/cosmos/cosmos-sdk Step #1: ---> Running in a2625cc74966 Step #1: Cloning into 'cosmos-sdk'... Step #1: Removing intermediate container a2625cc74966 Step #1: ---> 8e4cd00d6303 Step #1: Step 3/4 : COPY build.sh $SRC Step #1: ---> 9d14ecbdec1f Step #1: Step 4/4 : WORKDIR $SRC/cosmos-sdk Step #1: ---> Running in 40487c117ccd Step #1: Removing intermediate container 40487c117ccd Step #1: ---> 926b3244b156 Step #1: Successfully built 926b3244b156 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/filelIRIuN 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=70c5e771537e8565940e2f8b431515602ca38c09 Step #2 - "srcmap": + jq_inplace /tmp/filelIRIuN '."/src/cosmos-sdk" = { type: "git", url: "https://github.com/cosmos/cosmos-sdk", rev: "70c5e771537e8565940e2f8b431515602ca38c09" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileahrMh9 Step #2 - "srcmap": + cat /tmp/filelIRIuN Step #2 - "srcmap": + jq '."/src/cosmos-sdk" = { type: "git", url: "https://github.com/cosmos/cosmos-sdk", rev: "70c5e771537e8565940e2f8b431515602ca38c09" }' Step #2 - "srcmap": + mv /tmp/fileahrMh9 /tmp/filelIRIuN 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/filelIRIuN Step #2 - "srcmap": + rm /tmp/filelIRIuN 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": "70c5e771537e8565940e2f8b431515602ca38c09" 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": + bash -x ./fuzz/oss-fuzz-build.sh Step #3 - "compile-libfuzzer-address-x86_64": + set -o nounset Step #3 - "compile-libfuzzer-address-x86_64": + set -o pipefail Step #3 - "compile-libfuzzer-address-x86_64": + set -o errexit Step #3 - "compile-libfuzzer-address-x86_64": + set -x Step #3 - "compile-libfuzzer-address-x86_64": + cd /src Step #3 - "compile-libfuzzer-address-x86_64": + wget https://go.dev/dl/go1.23.1.linux-amd64.tar.gz Step #3 - "compile-libfuzzer-address-x86_64": --2025-03-15 06:45:18-- https://go.dev/dl/go1.23.1.linux-amd64.tar.gz Step #3 - "compile-libfuzzer-address-x86_64": Resolving go.dev (go.dev)... 216.239.32.21, 216.239.34.21, 216.239.36.21, ... Step #3 - "compile-libfuzzer-address-x86_64": Connecting to go.dev (go.dev)|216.239.32.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.23.1.linux-amd64.tar.gz [following] Step #3 - "compile-libfuzzer-address-x86_64": --2025-03-15 06:45:18-- https://dl.google.com/go/go1.23.1.linux-amd64.tar.gz Step #3 - "compile-libfuzzer-address-x86_64": Resolving dl.google.com (dl.google.com)... 142.251.189.93, 142.251.189.91, 142.251.189.136, ... Step #3 - "compile-libfuzzer-address-x86_64": Connecting to dl.google.com (dl.google.com)|142.251.189.93|:443... connected. Step #3 - "compile-libfuzzer-address-x86_64": HTTP request sent, awaiting response... 200 OK Step #3 - "compile-libfuzzer-address-x86_64": Length: 73598519 (70M) [application/x-gzip] Step #3 - "compile-libfuzzer-address-x86_64": Saving to: 'go1.23.1.linux-amd64.tar.gz' Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": go1.23.1. 0%[ ] 0 --.-KB/s go1.23.1.l 83%[===============> ] 58.69M 293MB/s go1.23.1.linux-amd6 100%[===================>] 70.19M 303MB/s in 0.2s Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": 2025-03-15 06:45:19 (303 MB/s) - 'go1.23.1.linux-amd64.tar.gz' saved [73598519/73598519] Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": + mkdir /src/new-go Step #3 - "compile-libfuzzer-address-x86_64": + rm -rf /root/.go Step #3 - "compile-libfuzzer-address-x86_64": + tar -C /src/new-go/ -xzf go1.23.1.linux-amd64.tar.gz Step #3 - "compile-libfuzzer-address-x86_64": + mv /src/new-go/go /root/.go Step #3 - "compile-libfuzzer-address-x86_64": + ls /root/.go Step #3 - "compile-libfuzzer-address-x86_64": CONTRIBUTING.md README.md api doc misc test Step #3 - "compile-libfuzzer-address-x86_64": LICENSE SECURITY.md bin go.env pkg Step #3 - "compile-libfuzzer-address-x86_64": PATENTS VERSION codereview.cfg lib src Step #3 - "compile-libfuzzer-address-x86_64": + cd /src/go-118-fuzz-build Step #3 - "compile-libfuzzer-address-x86_64": ./fuzz/oss-fuzz-build.sh: line 15: cd: /src/go-118-fuzz-build: No such file or directory 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 cosmos-sdk Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 cosmos-sdk 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