starting build "a597220b-4c5e-401b-95c5-d8359d9bd21f" 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: 645a233b7124: Pulling fs layer Step #1: 8f43aba5d201: Pulling fs layer Step #1: c2cb0f69c4ac: Pulling fs layer Step #1: fba8537b82f7: Pulling fs layer Step #1: bd70956966ce: Pulling fs layer Step #1: 839090ba434a: Pulling fs layer Step #1: 3621414b3e87: Pulling fs layer Step #1: 8fb94a702b8c: Pulling fs layer Step #1: e9bc6a5a5d34: Pulling fs layer Step #1: d6e7d8fffb0f: Pulling fs layer Step #1: 71e07644918a: Pulling fs layer Step #1: 123debcf0e1e: Pulling fs layer Step #1: 02c7dd84fae5: Pulling fs layer Step #1: ae15404e0573: Pulling fs layer Step #1: c15637446eb0: Pulling fs layer Step #1: 6970729d69fa: Pulling fs layer Step #1: 1a733b377009: Pulling fs layer Step #1: 89cb8e0d770a: Pulling fs layer Step #1: 0f0a338c8065: Pulling fs layer Step #1: ccfb7a5b3a4b: Pulling fs layer Step #1: 1d801d979db0: Pulling fs layer Step #1: d2b6e620f2e7: Pulling fs layer Step #1: 5bcbadf5c1bb: Pulling fs layer Step #1: 51e89fef09fe: Pulling fs layer Step #1: 396df881642f: Pulling fs layer Step #1: f3563e802ec3: Pulling fs layer Step #1: f39a5f084e04: Pulling fs layer Step #1: 7b532e67787b: Pulling fs layer Step #1: cc92f2fa7edd: Pulling fs layer Step #1: c2cb0f69c4ac: Waiting Step #1: fba8537b82f7: Waiting Step #1: bd70956966ce: Waiting Step #1: 839090ba434a: Waiting Step #1: 3621414b3e87: Waiting Step #1: 8fb94a702b8c: Waiting Step #1: e9bc6a5a5d34: Waiting Step #1: d6e7d8fffb0f: Waiting Step #1: 71e07644918a: Waiting Step #1: 123debcf0e1e: Waiting Step #1: 02c7dd84fae5: Waiting Step #1: ae15404e0573: Waiting Step #1: 6970729d69fa: Waiting Step #1: 5bcbadf5c1bb: Waiting Step #1: 1a733b377009: Waiting Step #1: 89cb8e0d770a: Waiting Step #1: 51e89fef09fe: Waiting Step #1: 396df881642f: Waiting Step #1: f3563e802ec3: Waiting Step #1: 0f0a338c8065: Waiting Step #1: f39a5f084e04: Waiting Step #1: ccfb7a5b3a4b: Waiting Step #1: 7b532e67787b: Waiting Step #1: 1d801d979db0: Waiting Step #1: d2b6e620f2e7: Waiting Step #1: cc92f2fa7edd: Waiting Step #1: c15637446eb0: Waiting Step #1: 8f43aba5d201: Verifying Checksum Step #1: 8f43aba5d201: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: fba8537b82f7: Verifying Checksum Step #1: fba8537b82f7: Download complete Step #1: c2cb0f69c4ac: Verifying Checksum Step #1: c2cb0f69c4ac: Download complete Step #1: bd70956966ce: Verifying Checksum Step #1: bd70956966ce: Download complete Step #1: 3621414b3e87: Verifying Checksum Step #1: 3621414b3e87: Download complete Step #1: 8fb94a702b8c: Download complete Step #1: 645a233b7124: Verifying Checksum Step #1: 645a233b7124: Download complete Step #1: d6e7d8fffb0f: Verifying Checksum Step #1: d6e7d8fffb0f: Download complete Step #1: 71e07644918a: Verifying Checksum Step #1: 71e07644918a: Download complete Step #1: 123debcf0e1e: Verifying Checksum Step #1: 123debcf0e1e: Download complete Step #1: 02c7dd84fae5: Verifying Checksum Step #1: 02c7dd84fae5: Download complete Step #1: ae15404e0573: Download complete Step #1: b549f31133a9: Pull complete Step #1: c15637446eb0: Verifying Checksum Step #1: c15637446eb0: Download complete Step #1: 6970729d69fa: Verifying Checksum Step #1: 6970729d69fa: Download complete Step #1: 1a733b377009: Verifying Checksum Step #1: 1a733b377009: Download complete Step #1: 89cb8e0d770a: Verifying Checksum Step #1: 89cb8e0d770a: Download complete Step #1: 0f0a338c8065: Verifying Checksum Step #1: 0f0a338c8065: Download complete Step #1: e9bc6a5a5d34: Verifying Checksum Step #1: e9bc6a5a5d34: Download complete Step #1: ccfb7a5b3a4b: Verifying Checksum Step #1: ccfb7a5b3a4b: Download complete Step #1: d2b6e620f2e7: Verifying Checksum Step #1: d2b6e620f2e7: Download complete Step #1: 1d801d979db0: Download complete Step #1: 5bcbadf5c1bb: Verifying Checksum Step #1: 5bcbadf5c1bb: Download complete Step #1: 51e89fef09fe: Verifying Checksum Step #1: 51e89fef09fe: Download complete Step #1: 396df881642f: Verifying Checksum Step #1: 396df881642f: Download complete Step #1: f3563e802ec3: Verifying Checksum Step #1: f3563e802ec3: Download complete Step #1: f39a5f084e04: Download complete Step #1: cc92f2fa7edd: Verifying Checksum Step #1: cc92f2fa7edd: Download complete Step #1: 839090ba434a: Verifying Checksum Step #1: 839090ba434a: Download complete Step #1: 645a233b7124: Pull complete Step #1: 8f43aba5d201: Pull complete Step #1: 7b532e67787b: Verifying Checksum Step #1: 7b532e67787b: Download complete Step #1: c2cb0f69c4ac: Pull complete Step #1: fba8537b82f7: Pull complete Step #1: bd70956966ce: Pull complete Step #1: 839090ba434a: Pull complete Step #1: 3621414b3e87: Pull complete Step #1: 8fb94a702b8c: Pull complete Step #1: e9bc6a5a5d34: Pull complete Step #1: d6e7d8fffb0f: Pull complete Step #1: 71e07644918a: Pull complete Step #1: 123debcf0e1e: Pull complete Step #1: 02c7dd84fae5: Pull complete Step #1: ae15404e0573: Pull complete Step #1: c15637446eb0: Pull complete Step #1: 6970729d69fa: Pull complete Step #1: 1a733b377009: Pull complete Step #1: 89cb8e0d770a: Pull complete Step #1: 0f0a338c8065: Pull complete Step #1: ccfb7a5b3a4b: Pull complete Step #1: 1d801d979db0: Pull complete Step #1: d2b6e620f2e7: Pull complete Step #1: 5bcbadf5c1bb: Pull complete Step #1: 51e89fef09fe: Pull complete Step #1: 396df881642f: Pull complete Step #1: f3563e802ec3: Pull complete Step #1: f39a5f084e04: Pull complete Step #1: 7b532e67787b: Pull complete Step #1: cc92f2fa7edd: Pull complete Step #1: Digest: sha256:7839814527c5d383d2b662977112e46935a7777eb2aada715ee4242f7f12c718 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 53e20ad74232 Step #1: Step 2/5 : RUN git clone https://github.com/google/gvisor Step #1: ---> Running in a4b5697c164a Step #1: Cloning into 'gvisor'... Step #1: Removing intermediate container a4b5697c164a Step #1: ---> b76e0a778a3c Step #1: Step 3/5 : COPY build.sh state_fuzzer.go $SRC/ Step #1: ---> e9896df225f0 Step #1: Step 4/5 : ENV GVISOR_ROOT $SRC/gvisor Step #1: ---> Running in d36121b40304 Step #1: Removing intermediate container d36121b40304 Step #1: ---> 6f6a10d6ba49 Step #1: Step 5/5 : WORKDIR $GVISOR_ROOT Step #1: ---> Running in 0d8a35e5fec7 Step #1: Removing intermediate container 0d8a35e5fec7 Step #1: ---> ae054f18a41d Step #1: Successfully built ae054f18a41d 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/file8XdFAP 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=fedbf08401fe82ab211b4b33c7beb299b55a0536 Step #2 - "srcmap": + jq_inplace /tmp/file8XdFAP '."/src/gvisor" = { type: "git", url: "https://github.com/google/gvisor", rev: "fedbf08401fe82ab211b4b33c7beb299b55a0536" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filel7gwHa Step #2 - "srcmap": + cat /tmp/file8XdFAP Step #2 - "srcmap": + jq '."/src/gvisor" = { type: "git", url: "https://github.com/google/gvisor", rev: "fedbf08401fe82ab211b4b33c7beb299b55a0536" }' Step #2 - "srcmap": + mv /tmp/filel7gwHa /tmp/file8XdFAP 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/file8XdFAP Step #2 - "srcmap": + rm /tmp/file8XdFAP 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": "fedbf08401fe82ab211b4b33c7beb299b55a0536" 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/22 06:19:25 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