starting build "569c1c77-f497-4109-b2e2-4deb0ecb0728" 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: 7023c0687152: Pulling fs layer Step #1: cf94ee648bb2: Pulling fs layer Step #1: d4d36b7bb830: Pulling fs layer Step #1: d899171c1d49: Pulling fs layer Step #1: 087623678b4e: Pulling fs layer Step #1: e86ee07578e4: Pulling fs layer Step #1: b1d795aedc9d: Pulling fs layer Step #1: fe930520d5e1: Pulling fs layer Step #1: f3d8f21aa45d: Pulling fs layer Step #1: 1c8467494d97: Pulling fs layer Step #1: f7dae3d85b05: Pulling fs layer Step #1: a1fbc9d47815: Pulling fs layer Step #1: 9c1314edfd2d: Pulling fs layer Step #1: 223c8c1e08f9: Pulling fs layer Step #1: 1bbbf6e85f6c: Pulling fs layer Step #1: d4d36b7bb830: Waiting Step #1: 0be1125b109c: Pulling fs layer Step #1: 748c8ae1899d: Pulling fs layer Step #1: d899171c1d49: Waiting Step #1: d97ed0e32eca: Pulling fs layer Step #1: 3248239fdcc8: Pulling fs layer Step #1: 087623678b4e: Waiting Step #1: e86ee07578e4: Waiting Step #1: 68ed604307a5: Pulling fs layer Step #1: b1d795aedc9d: Waiting Step #1: bbcce85121a9: Pulling fs layer Step #1: fe930520d5e1: Waiting Step #1: f3d8f21aa45d: Waiting Step #1: 04faff4d9ff8: Pulling fs layer Step #1: 0cbe2457afca: Pulling fs layer Step #1: f7dae3d85b05: Waiting Step #1: 50ee5b81161e: Pulling fs layer Step #1: d97ed0e32eca: Waiting Step #1: a1fbc9d47815: Waiting Step #1: 0be1125b109c: Waiting Step #1: 6bc90612e60a: Pulling fs layer Step #1: 9c1314edfd2d: Waiting Step #1: 748c8ae1899d: Waiting Step #1: c738c2be0a7c: Pulling fs layer Step #1: 223c8c1e08f9: Waiting Step #1: 0c5e56f9df23: Pulling fs layer Step #1: 1bbbf6e85f6c: Waiting Step #1: 0cbe2457afca: Waiting Step #1: 50ee5b81161e: Waiting Step #1: 3248239fdcc8: Waiting Step #1: 89824b3f90fd: Pulling fs layer Step #1: 97b9e8e64684: Pulling fs layer Step #1: 04faff4d9ff8: Waiting Step #1: 1c8467494d97: Waiting Step #1: 6bc90612e60a: Waiting Step #1: 68ed604307a5: Waiting Step #1: c738c2be0a7c: Waiting Step #1: 0c5e56f9df23: Waiting Step #1: 97b9e8e64684: Waiting Step #1: cf94ee648bb2: Verifying Checksum Step #1: cf94ee648bb2: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: d4d36b7bb830: Verifying Checksum Step #1: d4d36b7bb830: Download complete Step #1: 087623678b4e: Verifying Checksum Step #1: 087623678b4e: Download complete Step #1: 7023c0687152: Verifying Checksum Step #1: 7023c0687152: Download complete Step #1: b1d795aedc9d: Verifying Checksum Step #1: b1d795aedc9d: Download complete Step #1: d899171c1d49: Verifying Checksum Step #1: d899171c1d49: Download complete Step #1: fe930520d5e1: Download complete Step #1: 1c8467494d97: Verifying Checksum Step #1: 1c8467494d97: Download complete Step #1: f7dae3d85b05: Verifying Checksum Step #1: f7dae3d85b05: Download complete Step #1: a1fbc9d47815: Verifying Checksum Step #1: a1fbc9d47815: Download complete Step #1: b549f31133a9: Pull complete Step #1: 9c1314edfd2d: Verifying Checksum Step #1: 9c1314edfd2d: Download complete Step #1: 223c8c1e08f9: Verifying Checksum Step #1: 223c8c1e08f9: Download complete Step #1: 1bbbf6e85f6c: Verifying Checksum Step #1: 1bbbf6e85f6c: Download complete Step #1: 0be1125b109c: Verifying Checksum Step #1: 0be1125b109c: Download complete Step #1: 748c8ae1899d: Verifying Checksum Step #1: 748c8ae1899d: Download complete Step #1: f3d8f21aa45d: Verifying Checksum Step #1: f3d8f21aa45d: Download complete Step #1: d97ed0e32eca: Verifying Checksum Step #1: d97ed0e32eca: Download complete Step #1: 3248239fdcc8: Verifying Checksum Step #1: 3248239fdcc8: Download complete Step #1: 68ed604307a5: Download complete Step #1: 04faff4d9ff8: Verifying Checksum Step #1: 04faff4d9ff8: Download complete Step #1: bbcce85121a9: Verifying Checksum Step #1: bbcce85121a9: Download complete Step #1: 0cbe2457afca: Verifying Checksum Step #1: 0cbe2457afca: Download complete Step #1: 6bc90612e60a: Verifying Checksum Step #1: 6bc90612e60a: Download complete Step #1: 50ee5b81161e: Verifying Checksum Step #1: 50ee5b81161e: Download complete Step #1: c738c2be0a7c: Verifying Checksum Step #1: 0c5e56f9df23: Verifying Checksum Step #1: c738c2be0a7c: Download complete Step #1: 0c5e56f9df23: Download complete Step #1: 97b9e8e64684: Verifying Checksum Step #1: 97b9e8e64684: Download complete Step #1: e86ee07578e4: Verifying Checksum Step #1: e86ee07578e4: Download complete Step #1: 7023c0687152: Pull complete Step #1: cf94ee648bb2: Pull complete Step #1: d4d36b7bb830: Pull complete Step #1: d899171c1d49: Pull complete Step #1: 087623678b4e: Pull complete Step #1: 89824b3f90fd: Verifying Checksum Step #1: 89824b3f90fd: Download complete Step #1: e86ee07578e4: Pull complete Step #1: b1d795aedc9d: Pull complete Step #1: fe930520d5e1: Pull complete Step #1: f3d8f21aa45d: Pull complete Step #1: 1c8467494d97: Pull complete Step #1: f7dae3d85b05: Pull complete Step #1: a1fbc9d47815: Pull complete Step #1: 9c1314edfd2d: Pull complete Step #1: 223c8c1e08f9: Pull complete Step #1: 1bbbf6e85f6c: Pull complete Step #1: 0be1125b109c: Pull complete Step #1: 748c8ae1899d: Pull complete Step #1: d97ed0e32eca: Pull complete Step #1: 3248239fdcc8: Pull complete Step #1: 68ed604307a5: Pull complete Step #1: bbcce85121a9: Pull complete Step #1: 04faff4d9ff8: Pull complete Step #1: 0cbe2457afca: Pull complete Step #1: 50ee5b81161e: Pull complete Step #1: 6bc90612e60a: Pull complete Step #1: c738c2be0a7c: Pull complete Step #1: 0c5e56f9df23: Pull complete Step #1: 89824b3f90fd: Pull complete Step #1: 97b9e8e64684: Pull complete Step #1: Digest: sha256:1bb7fcc8ca0155a2976a02d8bb842614a3278a0a3193b07fbdd4d49bb3475d2f Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> b014f10fee47 Step #1: Step 2/5 : RUN git clone https://github.com/google/gvisor Step #1: ---> Running in 25295c117480 Step #1: Cloning into 'gvisor'... Step #1: Removing intermediate container 25295c117480 Step #1: ---> a4c377b90653 Step #1: Step 3/5 : COPY build.sh state_fuzzer.go $SRC/ Step #1: ---> eab81f34fb18 Step #1: Step 4/5 : ENV GVISOR_ROOT $SRC/gvisor Step #1: ---> Running in 3276e72672c0 Step #1: Removing intermediate container 3276e72672c0 Step #1: ---> 84dafd7b94d7 Step #1: Step 5/5 : WORKDIR $GVISOR_ROOT Step #1: ---> Running in 3793a2ff7114 Step #1: Removing intermediate container 3793a2ff7114 Step #1: ---> f9c9995a7c12 Step #1: Successfully built f9c9995a7c12 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/file9eo3MO 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=6c8187194adffbfe412ab7d0049030440d7f7146 Step #2 - "srcmap": + jq_inplace /tmp/file9eo3MO '."/src/gvisor" = { type: "git", url: "https://github.com/google/gvisor", rev: "6c8187194adffbfe412ab7d0049030440d7f7146" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileEKN9ca Step #2 - "srcmap": + cat /tmp/file9eo3MO Step #2 - "srcmap": + jq '."/src/gvisor" = { type: "git", url: "https://github.com/google/gvisor", rev: "6c8187194adffbfe412ab7d0049030440d7f7146" }' Step #2 - "srcmap": + mv /tmp/fileEKN9ca /tmp/file9eo3MO 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/file9eo3MO Step #2 - "srcmap": + rm /tmp/file9eo3MO 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": "6c8187194adffbfe412ab7d0049030440d7f7146" 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/16 06:04:29 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