starting build "bea282c4-4e3a-43ea-b43e-3c2dc149cc0f" 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: 8fbcbf53a4e0: Pulling fs layer Step #1: 0cefac2553f1: Pulling fs layer Step #1: 9497b68c874a: Pulling fs layer Step #1: 2a97cb3dcc4c: Pulling fs layer Step #1: 60b31369ad8f: Pulling fs layer Step #1: 5847d1847d18: Pulling fs layer Step #1: 8f20461fc7c2: Pulling fs layer Step #1: 4d82e0d035cc: Pulling fs layer Step #1: e8dfaee9590c: Pulling fs layer Step #1: c56a664ea751: Pulling fs layer Step #1: 99ec2a426bac: Pulling fs layer Step #1: f1b6a7886e7b: Pulling fs layer Step #1: 03d7d741b0df: Pulling fs layer Step #1: 1c8aca0428a7: Pulling fs layer Step #1: 30d0d3658364: Pulling fs layer Step #1: d2acd632fa33: Pulling fs layer Step #1: 2a97cb3dcc4c: Waiting Step #1: 0c2b459f8992: Pulling fs layer Step #1: 60b31369ad8f: Waiting Step #1: 084e8d272547: Pulling fs layer Step #1: b674d1fbd06a: Pulling fs layer Step #1: 5847d1847d18: Waiting Step #1: 35903e68556a: Pulling fs layer Step #1: 1d54d6a00b25: Pulling fs layer Step #1: 4b63d9578783: Pulling fs layer Step #1: 5a4ef0ea8421: Pulling fs layer Step #1: b7a169ea6d9f: Pulling fs layer Step #1: 2d86793f2635: Pulling fs layer Step #1: 37a70280ac0f: Pulling fs layer Step #1: 8b82f1a02e1c: Pulling fs layer Step #1: 946352761910: Pulling fs layer Step #1: 723c135ef4a9: Pulling fs layer Step #1: 46f69de9c5f6: Pulling fs layer Step #1: 5e5e3c162074: Pulling fs layer Step #1: abef531e386f: Pulling fs layer Step #1: c973c56feb9d: Pulling fs layer Step #1: fc723adb6660: Pulling fs layer Step #1: c56a664ea751: Waiting Step #1: 03d7d741b0df: Waiting Step #1: 9497b68c874a: Waiting Step #1: 8f20461fc7c2: Waiting Step #1: abef531e386f: Waiting Step #1: b7a169ea6d9f: Waiting Step #1: 4d82e0d035cc: Waiting Step #1: 99ec2a426bac: Waiting Step #1: 1c8aca0428a7: Waiting Step #1: 084e8d272547: Waiting Step #1: 5a4ef0ea8421: Waiting Step #1: 5e5e3c162074: Waiting Step #1: 37a70280ac0f: Waiting Step #1: 1d54d6a00b25: Waiting Step #1: 30d0d3658364: Waiting Step #1: d2acd632fa33: Waiting Step #1: 4b63d9578783: Waiting Step #1: b674d1fbd06a: Waiting Step #1: 946352761910: Waiting Step #1: c973c56feb9d: Waiting Step #1: 8b82f1a02e1c: Waiting Step #1: 46f69de9c5f6: Waiting Step #1: 35903e68556a: Waiting Step #1: e8dfaee9590c: Waiting Step #1: 723c135ef4a9: Waiting Step #1: fc723adb6660: Waiting Step #1: 2d86793f2635: Waiting Step #1: 0cefac2553f1: Verifying Checksum Step #1: 0cefac2553f1: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 2a97cb3dcc4c: Verifying Checksum Step #1: 2a97cb3dcc4c: Download complete Step #1: 9497b68c874a: Verifying Checksum Step #1: 9497b68c874a: Download complete Step #1: 60b31369ad8f: Verifying Checksum Step #1: 60b31369ad8f: Download complete Step #1: 8f20461fc7c2: Verifying Checksum Step #1: 8f20461fc7c2: Download complete Step #1: 8fbcbf53a4e0: Verifying Checksum Step #1: 8fbcbf53a4e0: Download complete Step #1: b549f31133a9: Pull complete Step #1: c56a664ea751: Verifying Checksum Step #1: c56a664ea751: Download complete Step #1: 99ec2a426bac: Verifying Checksum Step #1: 99ec2a426bac: Download complete Step #1: f1b6a7886e7b: Verifying Checksum Step #1: f1b6a7886e7b: Download complete Step #1: 03d7d741b0df: Verifying Checksum Step #1: 03d7d741b0df: Download complete Step #1: 1c8aca0428a7: Verifying Checksum Step #1: 1c8aca0428a7: Download complete Step #1: 30d0d3658364: Verifying Checksum Step #1: 30d0d3658364: Download complete Step #1: d2acd632fa33: Verifying Checksum Step #1: d2acd632fa33: Download complete Step #1: e8dfaee9590c: Verifying Checksum Step #1: e8dfaee9590c: Download complete Step #1: 0c2b459f8992: Download complete Step #1: 084e8d272547: Verifying Checksum Step #1: 084e8d272547: Download complete Step #1: b674d1fbd06a: Verifying Checksum Step #1: b674d1fbd06a: Download complete Step #1: 35903e68556a: Verifying Checksum Step #1: 35903e68556a: Download complete Step #1: 4b63d9578783: Download complete Step #1: 1d54d6a00b25: Verifying Checksum Step #1: 1d54d6a00b25: Download complete Step #1: b7a169ea6d9f: Verifying Checksum Step #1: b7a169ea6d9f: Download complete Step #1: 5a4ef0ea8421: Download complete Step #1: 5847d1847d18: Verifying Checksum Step #1: 5847d1847d18: Download complete Step #1: 2d86793f2635: Verifying Checksum Step #1: 2d86793f2635: Download complete Step #1: 37a70280ac0f: Verifying Checksum Step #1: 37a70280ac0f: Download complete Step #1: 8b82f1a02e1c: Verifying Checksum Step #1: 8b82f1a02e1c: Download complete Step #1: 723c135ef4a9: Verifying Checksum Step #1: 723c135ef4a9: Download complete Step #1: 946352761910: Verifying Checksum Step #1: 946352761910: Download complete Step #1: 46f69de9c5f6: Download complete Step #1: 5e5e3c162074: Verifying Checksum Step #1: 5e5e3c162074: Download complete Step #1: abef531e386f: Download complete Step #1: fc723adb6660: Download complete Step #1: 8fbcbf53a4e0: Pull complete Step #1: 0cefac2553f1: Pull complete Step #1: 9497b68c874a: Pull complete Step #1: 2a97cb3dcc4c: Pull complete Step #1: 60b31369ad8f: Pull complete Step #1: c973c56feb9d: Verifying Checksum Step #1: c973c56feb9d: Download complete Step #1: 5847d1847d18: Pull complete Step #1: 8f20461fc7c2: Pull complete Step #1: 4d82e0d035cc: Pull complete Step #1: e8dfaee9590c: Pull complete Step #1: c56a664ea751: Pull complete Step #1: 99ec2a426bac: Pull complete Step #1: f1b6a7886e7b: Pull complete Step #1: 03d7d741b0df: Pull complete Step #1: 1c8aca0428a7: Pull complete Step #1: 30d0d3658364: Pull complete Step #1: d2acd632fa33: Pull complete Step #1: 0c2b459f8992: Pull complete Step #1: 084e8d272547: Pull complete Step #1: b674d1fbd06a: Pull complete Step #1: 35903e68556a: Pull complete Step #1: 1d54d6a00b25: Pull complete Step #1: 4b63d9578783: Pull complete Step #1: 5a4ef0ea8421: Pull complete Step #1: b7a169ea6d9f: Pull complete Step #1: 2d86793f2635: Pull complete Step #1: 37a70280ac0f: Pull complete Step #1: 8b82f1a02e1c: Pull complete Step #1: 946352761910: Pull complete Step #1: 723c135ef4a9: Pull complete Step #1: 46f69de9c5f6: Pull complete Step #1: 5e5e3c162074: Pull complete Step #1: abef531e386f: Pull complete Step #1: c973c56feb9d: Pull complete Step #1: fc723adb6660: Pull complete Step #1: Digest: sha256:505bde40f13ba062d576e78953711d226b683fdea23f4c6a240101ba5d28ecca Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 934818d835a8 Step #1: Step 2/4 : RUN git clone https://github.com/go-gitea/gitea Step #1: ---> Running in 4148fb6b9778 Step #1: Cloning into 'gitea'... Step #1: Removing intermediate container 4148fb6b9778 Step #1: ---> 5ec7185510c7 Step #1: Step 3/4 : COPY build.sh $SRC/ Step #1: ---> 5ffacd5320de Step #1: Step 4/4 : WORKDIR $SRC/gitea Step #1: ---> Running in a1686ed4a22a Step #1: Removing intermediate container a1686ed4a22a Step #1: ---> d3541a32fdcf Step #1: Successfully built d3541a32fdcf Step #1: Successfully tagged gcr.io/oss-fuzz/gitea:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/gitea Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileXnkP9M 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/gitea/.git Step #2 - "srcmap": + GIT_DIR=/src/gitea Step #2 - "srcmap": + cd /src/gitea Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/go-gitea/gitea Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=55d5a74bb3a992dd56152e2f5266c7fd883c1948 Step #2 - "srcmap": + jq_inplace /tmp/fileXnkP9M '."/src/gitea" = { type: "git", url: "https://github.com/go-gitea/gitea", rev: "55d5a74bb3a992dd56152e2f5266c7fd883c1948" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filexj0Ied Step #2 - "srcmap": + cat /tmp/fileXnkP9M Step #2 - "srcmap": + jq '."/src/gitea" = { type: "git", url: "https://github.com/go-gitea/gitea", rev: "55d5a74bb3a992dd56152e2f5266c7fd883c1948" }' Step #2 - "srcmap": + mv /tmp/filexj0Ied /tmp/fileXnkP9M 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/fileXnkP9M Step #2 - "srcmap": + rm /tmp/fileXnkP9M Step #2 - "srcmap": { Step #2 - "srcmap": "/src/gitea": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/go-gitea/gitea", Step #2 - "srcmap": "rev": "55d5a74bb3a992dd56152e2f5266c7fd883c1948" 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 -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 -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": + go get github.com/AdamKorcz/go-118-fuzz-build/testing Step #3 - "compile-libfuzzer-address-x86_64": go: downloading go1.23 (linux/amd64) Step #3 - "compile-libfuzzer-address-x86_64": go: download go1.23 for linux/amd64: toolchain not available 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 gitea Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 gitea 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