starting build "2df3ae2f-2936-430e-9809-d2ba4aa73206" 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: aad5e0e115b3: Pulling fs layer Step #1: 1e8aa884e4a9: Pulling fs layer Step #1: f2d0b899ef48: Pulling fs layer Step #1: 537a40fbe1b8: Pulling fs layer Step #1: 6301949c6694: Pulling fs layer Step #1: 2bbe48f6bd03: Pulling fs layer Step #1: 6a499dc5e533: Pulling fs layer Step #1: 2498f238167f: Pulling fs layer Step #1: cb47f95091bf: Pulling fs layer Step #1: f8c545b248ee: Pulling fs layer Step #1: b34ee4aace9f: Pulling fs layer Step #1: c11939c3fdad: Pulling fs layer Step #1: ffb912ae79c7: Pulling fs layer Step #1: 3ac320d3268e: Pulling fs layer Step #1: 5e3a5bc38bb6: Pulling fs layer Step #1: 2832ec34a759: Pulling fs layer Step #1: 991f7ba3309e: Pulling fs layer Step #1: ec2ae6b847fe: Pulling fs layer Step #1: 12893a32c665: Pulling fs layer Step #1: bb6f64e72d3d: Pulling fs layer Step #1: 3d8679d661d8: Pulling fs layer Step #1: 6659b12b9358: Pulling fs layer Step #1: b77d45865ff7: Pulling fs layer Step #1: b7ceeff3e2c2: Pulling fs layer Step #1: 1e7028c1505d: Pulling fs layer Step #1: 935b9dcaa99a: Pulling fs layer Step #1: 2db30690c6bf: Pulling fs layer Step #1: f072fb97f351: Pulling fs layer Step #1: 9e4830ec75a1: Pulling fs layer Step #1: f2d0b899ef48: Waiting Step #1: 2832ec34a759: Waiting Step #1: 991f7ba3309e: Waiting Step #1: ec2ae6b847fe: Waiting Step #1: 12893a32c665: Waiting Step #1: 537a40fbe1b8: Waiting Step #1: 6301949c6694: Waiting Step #1: bb6f64e72d3d: Waiting Step #1: 3d8679d661d8: Waiting Step #1: 2bbe48f6bd03: Waiting Step #1: 6659b12b9358: Waiting Step #1: 6a499dc5e533: Waiting Step #1: b77d45865ff7: Waiting Step #1: b7ceeff3e2c2: Waiting Step #1: 2498f238167f: Waiting Step #1: 1e7028c1505d: Waiting Step #1: 935b9dcaa99a: Waiting Step #1: cb47f95091bf: Waiting Step #1: f8c545b248ee: Waiting Step #1: 2db30690c6bf: Waiting Step #1: b34ee4aace9f: Waiting Step #1: 9e4830ec75a1: Waiting Step #1: c11939c3fdad: Waiting Step #1: ffb912ae79c7: Waiting Step #1: 3ac320d3268e: Waiting Step #1: 5e3a5bc38bb6: Waiting Step #1: f072fb97f351: Waiting Step #1: 1e8aa884e4a9: Verifying Checksum Step #1: 1e8aa884e4a9: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: f2d0b899ef48: Verifying Checksum Step #1: f2d0b899ef48: Download complete Step #1: 537a40fbe1b8: Verifying Checksum Step #1: 537a40fbe1b8: Download complete Step #1: 6301949c6694: Download complete Step #1: 6a499dc5e533: Verifying Checksum Step #1: 6a499dc5e533: Download complete Step #1: 2498f238167f: Verifying Checksum Step #1: aad5e0e115b3: Verifying Checksum Step #1: aad5e0e115b3: Download complete Step #1: f8c545b248ee: Verifying Checksum Step #1: f8c545b248ee: Download complete Step #1: b34ee4aace9f: Verifying Checksum Step #1: b34ee4aace9f: Download complete Step #1: c11939c3fdad: Verifying Checksum Step #1: c11939c3fdad: Download complete Step #1: ffb912ae79c7: Verifying Checksum Step #1: ffb912ae79c7: Download complete Step #1: 3ac320d3268e: Download complete Step #1: 5e3a5bc38bb6: Verifying Checksum Step #1: 5e3a5bc38bb6: Download complete Step #1: 2832ec34a759: Verifying Checksum Step #1: 2832ec34a759: Download complete Step #1: 991f7ba3309e: Download complete Step #1: b549f31133a9: Pull complete Step #1: ec2ae6b847fe: Verifying Checksum Step #1: ec2ae6b847fe: Download complete Step #1: 12893a32c665: Verifying Checksum Step #1: 12893a32c665: Download complete Step #1: bb6f64e72d3d: Verifying Checksum Step #1: bb6f64e72d3d: Download complete Step #1: 3d8679d661d8: Verifying Checksum Step #1: 3d8679d661d8: Download complete Step #1: cb47f95091bf: Verifying Checksum Step #1: cb47f95091bf: Download complete Step #1: 6659b12b9358: Verifying Checksum Step #1: 6659b12b9358: Download complete Step #1: b77d45865ff7: Download complete Step #1: b7ceeff3e2c2: Verifying Checksum Step #1: b7ceeff3e2c2: Download complete Step #1: 1e7028c1505d: Download complete Step #1: 935b9dcaa99a: Verifying Checksum Step #1: 935b9dcaa99a: Download complete Step #1: 2db30690c6bf: Verifying Checksum Step #1: 2db30690c6bf: Download complete Step #1: 9e4830ec75a1: Verifying Checksum Step #1: 9e4830ec75a1: Download complete Step #1: 2bbe48f6bd03: Verifying Checksum Step #1: 2bbe48f6bd03: Download complete Step #1: aad5e0e115b3: Pull complete Step #1: 1e8aa884e4a9: Pull complete Step #1: f072fb97f351: Verifying Checksum Step #1: f072fb97f351: Download complete Step #1: f2d0b899ef48: Pull complete Step #1: 537a40fbe1b8: Pull complete Step #1: 6301949c6694: Pull complete Step #1: 2bbe48f6bd03: Pull complete Step #1: 6a499dc5e533: Pull complete Step #1: 2498f238167f: Pull complete Step #1: cb47f95091bf: Pull complete Step #1: f8c545b248ee: Pull complete Step #1: b34ee4aace9f: Pull complete Step #1: c11939c3fdad: Pull complete Step #1: ffb912ae79c7: Pull complete Step #1: 3ac320d3268e: Pull complete Step #1: 5e3a5bc38bb6: Pull complete Step #1: 2832ec34a759: Pull complete Step #1: 991f7ba3309e: Pull complete Step #1: ec2ae6b847fe: Pull complete Step #1: 12893a32c665: Pull complete Step #1: bb6f64e72d3d: Pull complete Step #1: 3d8679d661d8: Pull complete Step #1: 6659b12b9358: Pull complete Step #1: b77d45865ff7: Pull complete Step #1: b7ceeff3e2c2: Pull complete Step #1: 1e7028c1505d: Pull complete Step #1: 935b9dcaa99a: Pull complete Step #1: 2db30690c6bf: Pull complete Step #1: f072fb97f351: Pull complete Step #1: 9e4830ec75a1: Pull complete Step #1: Digest: sha256:ff357e74e60fa3a60f760410ce2a4d0626a6cb037f96fb9f706bdd56f320413e Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 4104e35d7eaa Step #1: Step 2/5 : RUN git clone https://github.com/google/gvisor Step #1: ---> Running in efe3fcf45033 Step #1: Cloning into 'gvisor'... Step #1: Removing intermediate container efe3fcf45033 Step #1: ---> e24969f6b051 Step #1: Step 3/5 : COPY build.sh state_fuzzer.go $SRC/ Step #1: ---> 0be4dd15a736 Step #1: Step 4/5 : ENV GVISOR_ROOT $SRC/gvisor Step #1: ---> Running in 4f04e4000b95 Step #1: Removing intermediate container 4f04e4000b95 Step #1: ---> 6af2713a8534 Step #1: Step 5/5 : WORKDIR $GVISOR_ROOT Step #1: ---> Running in a922aa42a126 Step #1: Removing intermediate container a922aa42a126 Step #1: ---> 978d6a55f596 Step #1: Successfully built 978d6a55f596 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/fileL4detP 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=82ffda8f9fb103d7923f50b9bd68300972b9b32b Step #2 - "srcmap": + jq_inplace /tmp/fileL4detP '."/src/gvisor" = { type: "git", url: "https://github.com/google/gvisor", rev: "82ffda8f9fb103d7923f50b9bd68300972b9b32b" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileAbvmDa Step #2 - "srcmap": + cat /tmp/fileL4detP Step #2 - "srcmap": + jq '."/src/gvisor" = { type: "git", url: "https://github.com/google/gvisor", rev: "82ffda8f9fb103d7923f50b9bd68300972b9b32b" }' Step #2 - "srcmap": + mv /tmp/fileAbvmDa /tmp/fileL4detP 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/fileL4detP Step #2 - "srcmap": + rm /tmp/fileL4detP 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": "82ffda8f9fb103d7923f50b9bd68300972b9b32b" 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/07/04 06:07:10 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