starting build "2a0e30d9-fdc7-4f9a-a42c-25347c6967f2" 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: Already exists Step #1: cab0d8117276: Pulling fs layer Step #1: c98a0d69f941: Pulling fs layer Step #1: af248784b1db: Pulling fs layer Step #1: 7bb951d0df95: Pulling fs layer Step #1: 98fe231cf58b: Pulling fs layer Step #1: 863923cd08b1: Pulling fs layer Step #1: f3631328f1ca: Pulling fs layer Step #1: 33b1b02a8718: Pulling fs layer Step #1: a17eb5e6d71f: Pulling fs layer Step #1: fe11d254e5b8: Pulling fs layer Step #1: 60deceb97acf: Pulling fs layer Step #1: 05f343b4710e: Pulling fs layer Step #1: 99e01a116bf1: Pulling fs layer Step #1: 0fea24313381: Pulling fs layer Step #1: e30fd17358e0: Pulling fs layer Step #1: 1868bf90ec52: Pulling fs layer Step #1: cf3217940018: Pulling fs layer Step #1: 4ee6eae708ad: Pulling fs layer Step #1: 2b3884071ae5: Pulling fs layer Step #1: b4043e31d66a: Pulling fs layer Step #1: 7e06b0c7c2e2: Pulling fs layer Step #1: d07bc7c67e4b: Pulling fs layer Step #1: 8e120a8a0b6d: Pulling fs layer Step #1: 06d4e2b579ca: Pulling fs layer Step #1: 88d2f3e4e557: Pulling fs layer Step #1: aadbc15bdc30: Pulling fs layer Step #1: 8e68dbad8f61: Pulling fs layer Step #1: 963daa15d9d6: Pulling fs layer Step #1: 89a2e1ec8118: Pulling fs layer Step #1: 7bb951d0df95: Waiting Step #1: 98fe231cf58b: Waiting Step #1: 863923cd08b1: Waiting Step #1: f3631328f1ca: Waiting Step #1: 33b1b02a8718: Waiting Step #1: a17eb5e6d71f: Waiting Step #1: fe11d254e5b8: Waiting Step #1: 60deceb97acf: Waiting Step #1: 05f343b4710e: Waiting Step #1: 99e01a116bf1: Waiting Step #1: 0fea24313381: Waiting Step #1: e30fd17358e0: Waiting Step #1: 1868bf90ec52: Waiting Step #1: cf3217940018: Waiting Step #1: 4ee6eae708ad: Waiting Step #1: 2b3884071ae5: Waiting Step #1: b4043e31d66a: Waiting Step #1: 7e06b0c7c2e2: Waiting Step #1: 8e68dbad8f61: Waiting Step #1: 88d2f3e4e557: Waiting Step #1: aadbc15bdc30: Waiting Step #1: 06d4e2b579ca: Waiting Step #1: d07bc7c67e4b: Waiting Step #1: 8e120a8a0b6d: Waiting Step #1: 963daa15d9d6: Waiting Step #1: 89a2e1ec8118: Waiting Step #1: c98a0d69f941: Verifying Checksum Step #1: c98a0d69f941: Download complete Step #1: 7bb951d0df95: Verifying Checksum Step #1: 7bb951d0df95: Download complete Step #1: 98fe231cf58b: Verifying Checksum Step #1: 98fe231cf58b: Download complete Step #1: af248784b1db: Verifying Checksum Step #1: af248784b1db: Download complete Step #1: f3631328f1ca: Verifying Checksum Step #1: f3631328f1ca: Download complete Step #1: 33b1b02a8718: Download complete Step #1: cab0d8117276: Verifying Checksum Step #1: cab0d8117276: Download complete Step #1: fe11d254e5b8: Verifying Checksum Step #1: fe11d254e5b8: Download complete Step #1: 60deceb97acf: Verifying Checksum Step #1: 60deceb97acf: Download complete Step #1: 05f343b4710e: Verifying Checksum Step #1: 05f343b4710e: Download complete Step #1: 99e01a116bf1: Download complete Step #1: 0fea24313381: Verifying Checksum Step #1: 0fea24313381: Download complete Step #1: e30fd17358e0: Verifying Checksum Step #1: e30fd17358e0: Download complete Step #1: 1868bf90ec52: Verifying Checksum Step #1: 1868bf90ec52: Download complete Step #1: cf3217940018: Verifying Checksum Step #1: cf3217940018: Download complete Step #1: 4ee6eae708ad: Verifying Checksum Step #1: 4ee6eae708ad: Download complete Step #1: 2b3884071ae5: Download complete Step #1: b4043e31d66a: Download complete Step #1: 7e06b0c7c2e2: Verifying Checksum Step #1: 7e06b0c7c2e2: Download complete Step #1: d07bc7c67e4b: Verifying Checksum Step #1: d07bc7c67e4b: Download complete Step #1: a17eb5e6d71f: Verifying Checksum Step #1: a17eb5e6d71f: Download complete Step #1: 8e120a8a0b6d: Verifying Checksum Step #1: 8e120a8a0b6d: Download complete Step #1: 06d4e2b579ca: Verifying Checksum Step #1: 06d4e2b579ca: Download complete Step #1: 88d2f3e4e557: Verifying Checksum Step #1: 88d2f3e4e557: Download complete Step #1: aadbc15bdc30: Verifying Checksum Step #1: aadbc15bdc30: Download complete Step #1: 8e68dbad8f61: Verifying Checksum Step #1: 8e68dbad8f61: Download complete Step #1: 89a2e1ec8118: Verifying Checksum Step #1: 89a2e1ec8118: Download complete Step #1: 863923cd08b1: Verifying Checksum Step #1: 863923cd08b1: Download complete Step #1: cab0d8117276: Pull complete Step #1: c98a0d69f941: Pull complete Step #1: 963daa15d9d6: Verifying Checksum Step #1: 963daa15d9d6: Download complete Step #1: af248784b1db: Pull complete Step #1: 7bb951d0df95: Pull complete Step #1: 98fe231cf58b: Pull complete Step #1: 863923cd08b1: Pull complete Step #1: f3631328f1ca: Pull complete Step #1: 33b1b02a8718: Pull complete Step #1: a17eb5e6d71f: Pull complete Step #1: fe11d254e5b8: Pull complete Step #1: 60deceb97acf: Pull complete Step #1: 05f343b4710e: Pull complete Step #1: 99e01a116bf1: Pull complete Step #1: 0fea24313381: Pull complete Step #1: e30fd17358e0: Pull complete Step #1: 1868bf90ec52: Pull complete Step #1: cf3217940018: Pull complete Step #1: 4ee6eae708ad: Pull complete Step #1: 2b3884071ae5: Pull complete Step #1: b4043e31d66a: Pull complete Step #1: 7e06b0c7c2e2: Pull complete Step #1: d07bc7c67e4b: Pull complete Step #1: 8e120a8a0b6d: Pull complete Step #1: 06d4e2b579ca: Pull complete Step #1: 88d2f3e4e557: Pull complete Step #1: aadbc15bdc30: Pull complete Step #1: 8e68dbad8f61: Pull complete Step #1: 963daa15d9d6: Pull complete Step #1: 89a2e1ec8118: Pull complete Step #1: Digest: sha256:0bb168663f7e9b0a0db5f73133d2627a6fb5335fd9c06e47334e86ceec0bcee4 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 761bdf9efe0c Step #1: Step 2/5 : RUN git clone https://github.com/google/gvisor Step #1: ---> Running in 4d99931ff6a6 Step #1: Cloning into 'gvisor'... Step #1: Removing intermediate container 4d99931ff6a6 Step #1: ---> c68ad42fc21e Step #1: Step 3/5 : COPY build.sh state_fuzzer.go $SRC/ Step #1: ---> 2364809b69b1 Step #1: Step 4/5 : ENV GVISOR_ROOT $SRC/gvisor Step #1: ---> Running in e53b17d2689f Step #1: Removing intermediate container e53b17d2689f Step #1: ---> f762fbf3ed09 Step #1: Step 5/5 : WORKDIR $GVISOR_ROOT Step #1: ---> Running in 336a68578583 Step #1: Removing intermediate container 336a68578583 Step #1: ---> 397fce2b5f9d Step #1: Successfully built 397fce2b5f9d 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/fileXaT6nN 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=7fa1ad8840229874b692ae38f1a6d6eb41ad125b Step #2 - "srcmap": + jq_inplace /tmp/fileXaT6nN '."/src/gvisor" = { type: "git", url: "https://github.com/google/gvisor", rev: "7fa1ad8840229874b692ae38f1a6d6eb41ad125b" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileWRPOtb Step #2 - "srcmap": + cat /tmp/fileXaT6nN Step #2 - "srcmap": + jq '."/src/gvisor" = { type: "git", url: "https://github.com/google/gvisor", rev: "7fa1ad8840229874b692ae38f1a6d6eb41ad125b" }' Step #2 - "srcmap": + mv /tmp/fileWRPOtb /tmp/fileXaT6nN 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/fileXaT6nN Step #2 - "srcmap": + rm /tmp/fileXaT6nN 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": "7fa1ad8840229874b692ae38f1a6d6eb41ad125b" 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/04 06:55:11 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