starting build "d5da9637-2043-4a94-94dc-b5ba0a328c5e" 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 6.656kB Step #1: Step 1/5 : 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: 8e981cb61770: Pulling fs layer Step #1: c50862c8ec8e: Pulling fs layer Step #1: 4182beb50f6c: Pulling fs layer Step #1: 141a5ff968f2: Pulling fs layer Step #1: ada9dfb8ed7c: Pulling fs layer Step #1: 8e06c40947e3: Pulling fs layer Step #1: 13ad4aa7d610: Pulling fs layer Step #1: aee92b146e5a: Pulling fs layer Step #1: 0b4cc10b1903: Pulling fs layer Step #1: 6728eba36bc8: Pulling fs layer Step #1: d827c0499398: Pulling fs layer Step #1: 7f9f64cb5035: Pulling fs layer Step #1: a2937e8e9eb5: Pulling fs layer Step #1: ddddb6e21e9a: Pulling fs layer Step #1: b19a4eed13b2: Pulling fs layer Step #1: d5e13b6bda2e: Pulling fs layer Step #1: fd2b05b20732: Pulling fs layer Step #1: 30ae13da5542: Pulling fs layer Step #1: 0fa17fc1b91d: Pulling fs layer Step #1: 11f7b8578af1: Pulling fs layer Step #1: dca7330f078a: Pulling fs layer Step #1: abf234566ed8: Pulling fs layer Step #1: 9c48e3321986: Pulling fs layer Step #1: c33b65c63b18: Pulling fs layer Step #1: 3c567c5d99f1: Pulling fs layer Step #1: 23982769295f: Pulling fs layer Step #1: fe28654bf7e2: Pulling fs layer Step #1: 7a46236122a1: Pulling fs layer Step #1: d933938da4e1: Pulling fs layer Step #1: b19a4eed13b2: Waiting Step #1: 4182beb50f6c: Waiting Step #1: a2937e8e9eb5: Waiting Step #1: d5e13b6bda2e: Waiting Step #1: 141a5ff968f2: Waiting Step #1: 0fa17fc1b91d: Waiting Step #1: 11f7b8578af1: Waiting Step #1: 7f9f64cb5035: Waiting Step #1: fd2b05b20732: Waiting Step #1: dca7330f078a: Waiting Step #1: fe28654bf7e2: Waiting Step #1: d933938da4e1: Waiting Step #1: 3c567c5d99f1: Waiting Step #1: c33b65c63b18: Waiting Step #1: 13ad4aa7d610: Waiting Step #1: 9c48e3321986: Waiting Step #1: 8e06c40947e3: Waiting Step #1: aee92b146e5a: Waiting Step #1: 6728eba36bc8: Waiting Step #1: 0b4cc10b1903: Waiting Step #1: ddddb6e21e9a: Waiting Step #1: ada9dfb8ed7c: Waiting Step #1: 7a46236122a1: Waiting Step #1: d827c0499398: Waiting Step #1: c50862c8ec8e: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 141a5ff968f2: Verifying Checksum Step #1: 141a5ff968f2: Download complete Step #1: 4182beb50f6c: Verifying Checksum Step #1: 4182beb50f6c: Download complete Step #1: ada9dfb8ed7c: Verifying Checksum Step #1: ada9dfb8ed7c: Download complete Step #1: 13ad4aa7d610: Verifying Checksum Step #1: 13ad4aa7d610: Download complete Step #1: aee92b146e5a: Download complete Step #1: 8e981cb61770: Verifying Checksum Step #1: 8e981cb61770: Download complete Step #1: b549f31133a9: Pull complete Step #1: 6728eba36bc8: Verifying Checksum Step #1: 6728eba36bc8: Download complete Step #1: d827c0499398: Verifying Checksum Step #1: d827c0499398: Download complete Step #1: 7f9f64cb5035: Verifying Checksum Step #1: 7f9f64cb5035: Download complete Step #1: a2937e8e9eb5: Verifying Checksum Step #1: a2937e8e9eb5: Download complete Step #1: ddddb6e21e9a: Verifying Checksum Step #1: ddddb6e21e9a: Download complete Step #1: b19a4eed13b2: Verifying Checksum Step #1: b19a4eed13b2: Download complete Step #1: 0b4cc10b1903: Verifying Checksum Step #1: 0b4cc10b1903: Download complete Step #1: fd2b05b20732: Verifying Checksum Step #1: fd2b05b20732: Download complete Step #1: d5e13b6bda2e: Verifying Checksum Step #1: d5e13b6bda2e: Download complete Step #1: 0fa17fc1b91d: Download complete Step #1: 30ae13da5542: Verifying Checksum Step #1: 30ae13da5542: Download complete Step #1: 11f7b8578af1: Verifying Checksum Step #1: 11f7b8578af1: Download complete Step #1: dca7330f078a: Verifying Checksum Step #1: dca7330f078a: Download complete Step #1: abf234566ed8: Verifying Checksum Step #1: abf234566ed8: Download complete Step #1: 9c48e3321986: Verifying Checksum Step #1: 9c48e3321986: Download complete Step #1: c33b65c63b18: Verifying Checksum Step #1: c33b65c63b18: Download complete Step #1: 3c567c5d99f1: Verifying Checksum Step #1: 3c567c5d99f1: Download complete Step #1: 23982769295f: Verifying Checksum Step #1: 23982769295f: Download complete Step #1: 8e06c40947e3: Download complete Step #1: fe28654bf7e2: Verifying Checksum Step #1: fe28654bf7e2: Download complete Step #1: d933938da4e1: Verifying Checksum Step #1: d933938da4e1: Download complete Step #1: 8e981cb61770: Pull complete Step #1: c50862c8ec8e: Pull complete Step #1: 7a46236122a1: Verifying Checksum Step #1: 7a46236122a1: Download complete Step #1: 4182beb50f6c: Pull complete Step #1: 141a5ff968f2: Pull complete Step #1: ada9dfb8ed7c: Pull complete Step #1: 8e06c40947e3: Pull complete Step #1: 13ad4aa7d610: Pull complete Step #1: aee92b146e5a: Pull complete Step #1: 0b4cc10b1903: Pull complete Step #1: 6728eba36bc8: Pull complete Step #1: d827c0499398: Pull complete Step #1: 7f9f64cb5035: Pull complete Step #1: a2937e8e9eb5: Pull complete Step #1: ddddb6e21e9a: Pull complete Step #1: b19a4eed13b2: Pull complete Step #1: d5e13b6bda2e: Pull complete Step #1: fd2b05b20732: Pull complete Step #1: 30ae13da5542: Pull complete Step #1: 0fa17fc1b91d: Pull complete Step #1: 11f7b8578af1: Pull complete Step #1: dca7330f078a: Pull complete Step #1: abf234566ed8: Pull complete Step #1: 9c48e3321986: Pull complete Step #1: c33b65c63b18: Pull complete Step #1: 3c567c5d99f1: Pull complete Step #1: 23982769295f: Pull complete Step #1: fe28654bf7e2: Pull complete Step #1: 7a46236122a1: Pull complete Step #1: d933938da4e1: Pull complete Step #1: Digest: sha256:3d09982b9ba33ad4de094bb06f9a3f223504a35844a1429682200477154581f1 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 41c01eeffd9b Step #1: Step 2/5 : RUN git clone https://github.com/google/gvisor Step #1: ---> Running in 0977f7ef8e31 Step #1: Cloning into 'gvisor'... Step #1: Removing intermediate container 0977f7ef8e31 Step #1: ---> 418deeb468a0 Step #1: Step 3/5 : COPY build.sh state_fuzzer.go $SRC/ Step #1: ---> 118a906368ed Step #1: Step 4/5 : ENV GVISOR_ROOT $SRC/gvisor Step #1: ---> Running in d870d9bcf2ce Step #1: Removing intermediate container d870d9bcf2ce Step #1: ---> f8c40b66764f Step #1: Step 5/5 : WORKDIR $GVISOR_ROOT Step #1: ---> Running in fca732f8c0cb Step #1: Removing intermediate container fca732f8c0cb Step #1: ---> 2f4ebf087a9d Step #1: Successfully built 2f4ebf087a9d Step #1: Successfully tagged gcr.io/oss-fuzz/gvisor:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/gvisor Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileokqDpO 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/gvisor/.git Step #2 - "srcmap": + GIT_DIR=/src/gvisor Step #2 - "srcmap": + cd /src/gvisor Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/google/gvisor Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=017a0132645240ce777d78ba9b1e4f2db0ccde4e Step #2 - "srcmap": + jq_inplace /tmp/fileokqDpO '."/src/gvisor" = { type: "git", url: "https://github.com/google/gvisor", rev: "017a0132645240ce777d78ba9b1e4f2db0ccde4e" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filepPTgd9 Step #2 - "srcmap": + cat /tmp/fileokqDpO Step #2 - "srcmap": + jq '."/src/gvisor" = { type: "git", url: "https://github.com/google/gvisor", rev: "017a0132645240ce777d78ba9b1e4f2db0ccde4e" }' Step #2 - "srcmap": + mv /tmp/filepPTgd9 /tmp/fileokqDpO 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/fileokqDpO Step #2 - "srcmap": + rm /tmp/fileokqDpO Step #2 - "srcmap": { Step #2 - "srcmap": "/src/gvisor": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/google/gvisor", Step #2 - "srcmap": "rev": "017a0132645240ce777d78ba9b1e4f2db0ccde4e" 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": 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++ Step #3 - "compile-libfuzzer-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -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 -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": + git checkout go Step #3 - "compile-libfuzzer-address-x86_64": Branch 'go' set up to track remote branch 'go' from 'origin'. Step #3 - "compile-libfuzzer-address-x86_64": Switched to a new branch 'go' Step #3 - "compile-libfuzzer-address-x86_64": + mv /src/state_fuzzer.go /src/gvisor/ Step #3 - "compile-libfuzzer-address-x86_64": + compile_go_fuzzer gvisor.dev/gvisor FuzzStateLoad state_load_fuzz Step #3 - "compile-libfuzzer-address-x86_64": /usr/local/bin/compile_go_fuzzer: line 28: cd: /root/go/src/gvisor.dev/gvisor: No such file or directory Step #3 - "compile-libfuzzer-address-x86_64": go: go.mod file indicates go 1.20, but maximum version supported by tidy is 1.19 Step #3 - "compile-libfuzzer-address-x86_64": gvisor.dev/gvisor Step #3 - "compile-libfuzzer-address-x86_64": gvisor.dev/gvisor Step #3 - "compile-libfuzzer-address-x86_64": Running go-fuzz -tags gofuzz -func FuzzStateLoad -o state_load_fuzz.a gvisor.dev/gvisor Step #3 - "compile-libfuzzer-address-x86_64": state_fuzzer.go:21:2: no required module provides package gvisor.dev/gvisor/pkg/bufferv2; to add it: Step #3 - "compile-libfuzzer-address-x86_64": go get gvisor.dev/gvisor/pkg/bufferv2 Step #3 - "compile-libfuzzer-address-x86_64": 2023/06/28 06:01:48 failed to build packages:exit status 1 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 gvisor Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 gvisor 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