starting build "9708aa0a-8714-44f0-903e-3e702d68173b" 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: 10a6577067b8: Pulling fs layer Step #1: e7d44d223617: Pulling fs layer Step #1: 45f7727f10e7: Pulling fs layer Step #1: b2a4c86ceb63: Pulling fs layer Step #1: 2f69ada4f76f: Pulling fs layer Step #1: df300c13d7cd: Pulling fs layer Step #1: 6d15199b03eb: Pulling fs layer Step #1: d34e01be6f87: Pulling fs layer Step #1: 26adbf5e5a59: Pulling fs layer Step #1: 800c750c9422: Pulling fs layer Step #1: aa9397070a06: Pulling fs layer Step #1: 263277682b93: Pulling fs layer Step #1: 261a92908b2d: Pulling fs layer Step #1: c170bbbea47e: Pulling fs layer Step #1: ddee1ae38374: Pulling fs layer Step #1: 8c1189bc507f: Pulling fs layer Step #1: 5a9300508e86: Pulling fs layer Step #1: 45f7727f10e7: Waiting Step #1: 16cbc0f436f4: Pulling fs layer Step #1: 45ea5bf1ae47: Pulling fs layer Step #1: b2a4c86ceb63: Waiting Step #1: 8db9c271a257: Pulling fs layer Step #1: 1e2e3ced49e8: Pulling fs layer Step #1: 5852c82c44d9: Pulling fs layer Step #1: 2f69ada4f76f: Waiting Step #1: b55e9714b5b4: Pulling fs layer Step #1: 9fc8970154ee: Pulling fs layer Step #1: 5d6ca06b5bb4: Pulling fs layer Step #1: df300c13d7cd: Waiting Step #1: e2a65e8f97aa: Pulling fs layer Step #1: 59b101f8f73a: Pulling fs layer Step #1: 6d15199b03eb: Waiting Step #1: fd905cd493fe: Pulling fs layer Step #1: f1f93764db65: Pulling fs layer Step #1: d34e01be6f87: Waiting Step #1: 33aad51e1943: Pulling fs layer Step #1: 9d7653224a4f: Pulling fs layer Step #1: 3cb38176c5d2: Pulling fs layer Step #1: d9ef363e309a: Pulling fs layer Step #1: 26adbf5e5a59: Waiting Step #1: 5e451c9ffff8: Pulling fs layer Step #1: 263277682b93: Waiting Step #1: 800c750c9422: Waiting Step #1: 261a92908b2d: Waiting Step #1: aa9397070a06: Waiting Step #1: 45ea5bf1ae47: Waiting Step #1: 1e2e3ced49e8: Waiting Step #1: c170bbbea47e: Waiting Step #1: 8c1189bc507f: Waiting Step #1: 8db9c271a257: Waiting Step #1: fd905cd493fe: Waiting Step #1: b55e9714b5b4: Waiting Step #1: f1f93764db65: Waiting Step #1: 5a9300508e86: Waiting Step #1: e2a65e8f97aa: Waiting Step #1: 33aad51e1943: Waiting Step #1: 16cbc0f436f4: Waiting Step #1: 9d7653224a4f: Waiting Step #1: 5d6ca06b5bb4: Waiting Step #1: 3cb38176c5d2: Waiting Step #1: d9ef363e309a: Waiting Step #1: 5e451c9ffff8: Waiting Step #1: 59b101f8f73a: Waiting Step #1: 5852c82c44d9: Waiting Step #1: e7d44d223617: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 45f7727f10e7: Verifying Checksum Step #1: 45f7727f10e7: Download complete Step #1: b2a4c86ceb63: Verifying Checksum Step #1: b2a4c86ceb63: Download complete Step #1: 2f69ada4f76f: Verifying Checksum Step #1: 2f69ada4f76f: Download complete Step #1: 10a6577067b8: Verifying Checksum Step #1: 10a6577067b8: Download complete Step #1: 6d15199b03eb: Download complete Step #1: d34e01be6f87: Verifying Checksum Step #1: d34e01be6f87: Download complete Step #1: b549f31133a9: Pull complete Step #1: 800c750c9422: Verifying Checksum Step #1: 800c750c9422: Download complete Step #1: aa9397070a06: Verifying Checksum Step #1: aa9397070a06: Download complete Step #1: 263277682b93: Verifying Checksum Step #1: 263277682b93: Download complete Step #1: 261a92908b2d: Verifying Checksum Step #1: 261a92908b2d: Download complete Step #1: c170bbbea47e: Verifying Checksum Step #1: c170bbbea47e: Download complete Step #1: 26adbf5e5a59: Verifying Checksum Step #1: 26adbf5e5a59: Download complete Step #1: 8c1189bc507f: Verifying Checksum Step #1: ddee1ae38374: Verifying Checksum Step #1: ddee1ae38374: Download complete Step #1: 5a9300508e86: Verifying Checksum Step #1: 5a9300508e86: Download complete Step #1: 16cbc0f436f4: Verifying Checksum Step #1: 16cbc0f436f4: Download complete Step #1: df300c13d7cd: Verifying Checksum Step #1: df300c13d7cd: Download complete Step #1: 45ea5bf1ae47: Verifying Checksum Step #1: 45ea5bf1ae47: Download complete Step #1: 8db9c271a257: Verifying Checksum Step #1: 8db9c271a257: Download complete Step #1: 1e2e3ced49e8: Verifying Checksum Step #1: 1e2e3ced49e8: Download complete Step #1: 5852c82c44d9: Download complete Step #1: b55e9714b5b4: Verifying Checksum Step #1: b55e9714b5b4: Download complete Step #1: 5d6ca06b5bb4: Verifying Checksum Step #1: 5d6ca06b5bb4: Download complete Step #1: 9fc8970154ee: Verifying Checksum Step #1: 9fc8970154ee: Download complete Step #1: e2a65e8f97aa: Verifying Checksum Step #1: e2a65e8f97aa: Download complete Step #1: 10a6577067b8: Pull complete Step #1: 59b101f8f73a: Verifying Checksum Step #1: 59b101f8f73a: Download complete Step #1: e7d44d223617: Pull complete Step #1: f1f93764db65: Download complete Step #1: fd905cd493fe: Verifying Checksum Step #1: fd905cd493fe: Download complete Step #1: 33aad51e1943: Verifying Checksum Step #1: 33aad51e1943: Download complete Step #1: 9d7653224a4f: Download complete Step #1: 3cb38176c5d2: Verifying Checksum Step #1: 3cb38176c5d2: Download complete Step #1: 5e451c9ffff8: Download complete Step #1: 45f7727f10e7: Pull complete Step #1: b2a4c86ceb63: Pull complete Step #1: 2f69ada4f76f: Pull complete Step #1: d9ef363e309a: Download complete Step #1: df300c13d7cd: Pull complete Step #1: 6d15199b03eb: Pull complete Step #1: d34e01be6f87: Pull complete Step #1: 26adbf5e5a59: Pull complete Step #1: 800c750c9422: Pull complete Step #1: aa9397070a06: Pull complete Step #1: 263277682b93: Pull complete Step #1: 261a92908b2d: Pull complete Step #1: c170bbbea47e: Pull complete Step #1: ddee1ae38374: Pull complete Step #1: 8c1189bc507f: Pull complete Step #1: 5a9300508e86: Pull complete Step #1: 16cbc0f436f4: Pull complete Step #1: 45ea5bf1ae47: Pull complete Step #1: 8db9c271a257: Pull complete Step #1: 1e2e3ced49e8: Pull complete Step #1: 5852c82c44d9: Pull complete Step #1: b55e9714b5b4: Pull complete Step #1: 9fc8970154ee: Pull complete Step #1: 5d6ca06b5bb4: Pull complete Step #1: e2a65e8f97aa: Pull complete Step #1: 59b101f8f73a: Pull complete Step #1: fd905cd493fe: Pull complete Step #1: f1f93764db65: Pull complete Step #1: 33aad51e1943: Pull complete Step #1: 9d7653224a4f: Pull complete Step #1: 3cb38176c5d2: Pull complete Step #1: d9ef363e309a: Pull complete Step #1: 5e451c9ffff8: Pull complete Step #1: Digest: sha256:5f8a362c0f8972d0d3d73e7b56258b4f22152ddf54a0450428b05fec0a6dd2f8 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 4ff2365f79e3 Step #1: Step 2/4 : RUN git clone https://github.com/go-gitea/gitea Step #1: ---> Running in 70b1c4d4a730 Step #1: Cloning into 'gitea'... Step #1: Removing intermediate container 70b1c4d4a730 Step #1: ---> 31a985fcd385 Step #1: Step 3/4 : COPY build.sh $SRC/ Step #1: ---> 2d3961ea2b08 Step #1: Step 4/4 : WORKDIR $SRC/gitea Step #1: ---> Running in bdcae2995d6c Step #1: Removing intermediate container bdcae2995d6c Step #1: ---> a4a3b86567ca Step #1: Successfully built a4a3b86567ca 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/filec2hIAH 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=6551847aa8a7b2d363e9fbfe7509b679be5c0a71 Step #2 - "srcmap": + jq_inplace /tmp/filec2hIAH '."/src/gitea" = { type: "git", url: "https://github.com/go-gitea/gitea", rev: "6551847aa8a7b2d363e9fbfe7509b679be5c0a71" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileMk0F97 Step #2 - "srcmap": + cat /tmp/filec2hIAH Step #2 - "srcmap": + jq '."/src/gitea" = { type: "git", url: "https://github.com/go-gitea/gitea", rev: "6551847aa8a7b2d363e9fbfe7509b679be5c0a71" }' Step #2 - "srcmap": + mv /tmp/fileMk0F97 /tmp/filec2hIAH 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/filec2hIAH Step #2 - "srcmap": + rm /tmp/filec2hIAH 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": "6551847aa8a7b2d363e9fbfe7509b679be5c0a71" 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": + go get github.com/AdamKorcz/go-118-fuzz-build/testing Step #3 - "compile-libfuzzer-coverage-x86_64": go: downloading go1.23 (linux/amd64) Step #3 - "compile-libfuzzer-coverage-x86_64": go: download go1.23 for linux/amd64: toolchain not available 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 gitea Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_fuzzers --sanitizer coverage --engine libfuzzer --architecture x86_64 gitea 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