starting build "9d17a875-9200-48bb-9f17-c45c9851dcd3" FETCHSOURCE BUILD Starting Step #0 Step #0: Already have image (with digest): gcr.io/cloud-builders/git Step #0: Step #0: ***** NOTICE ***** Step #0: Step #0: Official `cloud-sdk` images, including multiple tagged versions across multiple Step #0: platforms, can be found at Step #0: https://github.com/GoogleCloudPlatform/cloud-sdk-docker and may be more suitable Step #0: for some use cases when interacting with Cloud Source Repositories. Step #0: Step #0: For additional information, please visit Step #0: https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/git Step #0: Step #0: ***** END OF NOTICE ***** Step #0: 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: 62743271f3a1: Pulling fs layer Step #1: 412dc5313e8b: Pulling fs layer Step #1: ebeb655d99d1: Pulling fs layer Step #1: 25e03709a3a6: Pulling fs layer Step #1: aa7c3d7b9c1b: Pulling fs layer Step #1: 369c830d3575: Pulling fs layer Step #1: aaadfc8f5c8f: Pulling fs layer Step #1: 4e7159e584ff: Pulling fs layer Step #1: bb301dc5ecd2: Pulling fs layer Step #1: 5be4b0bb3d8d: Pulling fs layer Step #1: 22e364580172: Pulling fs layer Step #1: 58d6714f8396: Pulling fs layer Step #1: 310528af9b5a: Pulling fs layer Step #1: 83ed56e48f7d: Pulling fs layer Step #1: a0740997f4b5: Pulling fs layer Step #1: ebeb655d99d1: Waiting Step #1: ce24596faa69: Pulling fs layer Step #1: 1f2f845a7a43: Pulling fs layer Step #1: c515f8ed3d05: Pulling fs layer Step #1: 25e03709a3a6: Waiting Step #1: cd30cd6e7c11: Pulling fs layer Step #1: dfc68e60f9cf: Pulling fs layer Step #1: aa7c3d7b9c1b: Waiting Step #1: 4607137c2c77: Pulling fs layer Step #1: 60f82f5067dd: Pulling fs layer Step #1: 46830aa5c83a: Pulling fs layer Step #1: 369c830d3575: Waiting Step #1: 5345dbcbe3e3: Pulling fs layer Step #1: 6d4018173a04: Pulling fs layer Step #1: 97424e6a6333: Pulling fs layer Step #1: aaadfc8f5c8f: Waiting Step #1: f60241d48fbe: Pulling fs layer Step #1: 4e7159e584ff: Waiting Step #1: 795f347a0f99: Pulling fs layer Step #1: bb301dc5ecd2: Waiting Step #1: ef7a38af50c4: Pulling fs layer Step #1: 5be4b0bb3d8d: Waiting Step #1: 8655050bf5e5: Pulling fs layer Step #1: 22e364580172: Waiting Step #1: 3ee5e7f6dad9: Pulling fs layer Step #1: 427eb15f9cae: Pulling fs layer Step #1: 1d72d95fd21a: Pulling fs layer Step #1: 199fa5677557: Pulling fs layer Step #1: 9bf575507459: Pulling fs layer Step #1: f65aa047987d: Pulling fs layer Step #1: c515f8ed3d05: Waiting Step #1: cd30cd6e7c11: Waiting Step #1: 46830aa5c83a: Waiting Step #1: 58d6714f8396: Waiting Step #1: dfc68e60f9cf: Waiting Step #1: 5345dbcbe3e3: Waiting Step #1: 4607137c2c77: Waiting Step #1: 310528af9b5a: Waiting Step #1: 6d4018173a04: Waiting Step #1: 60f82f5067dd: Waiting Step #1: ce24596faa69: Waiting Step #1: 97424e6a6333: Waiting Step #1: 1f2f845a7a43: Waiting Step #1: f60241d48fbe: Waiting Step #1: 1d72d95fd21a: Waiting Step #1: 795f347a0f99: Waiting Step #1: 199fa5677557: Waiting Step #1: 3ee5e7f6dad9: Waiting Step #1: 9bf575507459: Waiting Step #1: f65aa047987d: Waiting Step #1: 8655050bf5e5: Waiting Step #1: 427eb15f9cae: Waiting Step #1: 83ed56e48f7d: Waiting Step #1: a0740997f4b5: Waiting Step #1: 412dc5313e8b: Verifying Checksum Step #1: 412dc5313e8b: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 25e03709a3a6: Verifying Checksum Step #1: 25e03709a3a6: Download complete Step #1: ebeb655d99d1: Verifying Checksum Step #1: ebeb655d99d1: Download complete Step #1: aa7c3d7b9c1b: Download complete Step #1: aaadfc8f5c8f: Verifying Checksum Step #1: aaadfc8f5c8f: Download complete Step #1: 62743271f3a1: Verifying Checksum Step #1: 62743271f3a1: Download complete Step #1: 4e7159e584ff: Verifying Checksum Step #1: 4e7159e584ff: Download complete Step #1: b549f31133a9: Pull complete Step #1: 5be4b0bb3d8d: Verifying Checksum Step #1: 5be4b0bb3d8d: Download complete Step #1: 22e364580172: Verifying Checksum Step #1: 22e364580172: Download complete Step #1: 58d6714f8396: Verifying Checksum Step #1: 58d6714f8396: Download complete Step #1: 310528af9b5a: Verifying Checksum Step #1: 310528af9b5a: Download complete Step #1: 83ed56e48f7d: Verifying Checksum Step #1: 83ed56e48f7d: Download complete Step #1: bb301dc5ecd2: Verifying Checksum Step #1: bb301dc5ecd2: Download complete Step #1: a0740997f4b5: Download complete Step #1: 1f2f845a7a43: Verifying Checksum Step #1: 1f2f845a7a43: Download complete Step #1: ce24596faa69: Verifying Checksum Step #1: ce24596faa69: Download complete Step #1: c515f8ed3d05: Verifying Checksum Step #1: c515f8ed3d05: Download complete Step #1: cd30cd6e7c11: Download complete Step #1: dfc68e60f9cf: Verifying Checksum Step #1: dfc68e60f9cf: Download complete Step #1: 4607137c2c77: Verifying Checksum Step #1: 4607137c2c77: Download complete Step #1: 46830aa5c83a: Verifying Checksum Step #1: 46830aa5c83a: Download complete Step #1: 60f82f5067dd: Verifying Checksum Step #1: 60f82f5067dd: Download complete Step #1: 369c830d3575: Verifying Checksum Step #1: 369c830d3575: Download complete Step #1: 97424e6a6333: Verifying Checksum Step #1: 5345dbcbe3e3: Verifying Checksum Step #1: 5345dbcbe3e3: Download complete Step #1: 97424e6a6333: Download complete Step #1: 6d4018173a04: Verifying Checksum Step #1: 6d4018173a04: Download complete Step #1: f60241d48fbe: Verifying Checksum Step #1: f60241d48fbe: Download complete Step #1: 795f347a0f99: Verifying Checksum Step #1: 795f347a0f99: Download complete Step #1: ef7a38af50c4: Verifying Checksum Step #1: ef7a38af50c4: Download complete Step #1: 8655050bf5e5: Verifying Checksum Step #1: 8655050bf5e5: Download complete Step #1: 3ee5e7f6dad9: Verifying Checksum Step #1: 3ee5e7f6dad9: Download complete Step #1: 1d72d95fd21a: Verifying Checksum Step #1: 1d72d95fd21a: Download complete Step #1: 427eb15f9cae: Verifying Checksum Step #1: 427eb15f9cae: Download complete Step #1: 199fa5677557: Verifying Checksum Step #1: 199fa5677557: Download complete Step #1: 62743271f3a1: Pull complete Step #1: f65aa047987d: Verifying Checksum Step #1: f65aa047987d: Download complete Step #1: 412dc5313e8b: Pull complete Step #1: ebeb655d99d1: Pull complete Step #1: 25e03709a3a6: Pull complete Step #1: aa7c3d7b9c1b: Pull complete Step #1: 9bf575507459: Verifying Checksum Step #1: 9bf575507459: Download complete Step #1: 369c830d3575: Pull complete Step #1: aaadfc8f5c8f: Pull complete Step #1: 4e7159e584ff: Pull complete Step #1: bb301dc5ecd2: Pull complete Step #1: 5be4b0bb3d8d: Pull complete Step #1: 22e364580172: Pull complete Step #1: 58d6714f8396: Pull complete Step #1: 310528af9b5a: Pull complete Step #1: 83ed56e48f7d: Pull complete Step #1: a0740997f4b5: Pull complete Step #1: ce24596faa69: Pull complete Step #1: 1f2f845a7a43: Pull complete Step #1: c515f8ed3d05: Pull complete Step #1: cd30cd6e7c11: Pull complete Step #1: dfc68e60f9cf: Pull complete Step #1: 4607137c2c77: Pull complete Step #1: 60f82f5067dd: Pull complete Step #1: 46830aa5c83a: Pull complete Step #1: 5345dbcbe3e3: Pull complete Step #1: 6d4018173a04: Pull complete Step #1: 97424e6a6333: Pull complete Step #1: f60241d48fbe: Pull complete Step #1: 795f347a0f99: Pull complete Step #1: ef7a38af50c4: Pull complete Step #1: 8655050bf5e5: Pull complete Step #1: 3ee5e7f6dad9: Pull complete Step #1: 427eb15f9cae: Pull complete Step #1: 1d72d95fd21a: Pull complete Step #1: 199fa5677557: Pull complete Step #1: 9bf575507459: Pull complete Step #1: f65aa047987d: Pull complete Step #1: Digest: sha256:48401ad39fb9b56aaf66c217575ef83c46e5564ac1934e84fbe35f6fe0ed695c Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 833c262cc1db Step #1: Step 2/4 : RUN git clone --depth 1 https://github.com/cosmos/cosmos-sdk Step #1: ---> Running in 7fce21e0fd34 Step #1: Cloning into 'cosmos-sdk'... Step #1: Removing intermediate container 7fce21e0fd34 Step #1: ---> 5abb8c613ec7 Step #1: Step 3/4 : COPY build.sh $SRC Step #1: ---> 6a9f3a57e26b Step #1: Step 4/4 : WORKDIR $SRC/cosmos-sdk Step #1: ---> Running in b924ecc985e2 Step #1: Removing intermediate container b924ecc985e2 Step #1: ---> b4401bb3fe36 Step #1: Successfully built b4401bb3fe36 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/file595FiQ 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=f2663280c41366cb87a02037eac4df232235f727 Step #2 - "srcmap": + jq_inplace /tmp/file595FiQ '."/src/cosmos-sdk" = { type: "git", url: "https://github.com/cosmos/cosmos-sdk", rev: "f2663280c41366cb87a02037eac4df232235f727" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filexCUj19 Step #2 - "srcmap": + cat /tmp/file595FiQ Step #2 - "srcmap": + jq '."/src/cosmos-sdk" = { type: "git", url: "https://github.com/cosmos/cosmos-sdk", rev: "f2663280c41366cb87a02037eac4df232235f727" }' Step #2 - "srcmap": + mv /tmp/filexCUj19 /tmp/file595FiQ 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/file595FiQ Step #2 - "srcmap": + rm /tmp/file595FiQ 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": "f2663280c41366cb87a02037eac4df232235f727" 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": --2024-12-12 06:30:30-- 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.38.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": --2024-12-12 06:30:30-- 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.250.125.190, 142.250.125.93, 142.250.125.91, ... Step #3 - "compile-libfuzzer-address-x86_64": Connecting to dl.google.com (dl.google.com)|142.250.125.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: 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 60%[===========> ] 42.79M 214MB/s go1.23.1.linux-amd6 100%[===================>] 70.19M 218MB/s in 0.3s Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": 2024-12-12 06:30:30 (218 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