starting build "1a3a1ab2-c12a-45cf-8cfe-ddf99817a620" 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: 27c3ed9fe5b0: Pulling fs layer Step #1: 9866dbd8d956: Pulling fs layer Step #1: f1d27a893c7f: Pulling fs layer Step #1: 05da3a127508: Pulling fs layer Step #1: 390d5921ef6c: Pulling fs layer Step #1: 57cde63d1a40: Pulling fs layer Step #1: 4092ab55de20: Pulling fs layer Step #1: fdfdb146e5ff: Pulling fs layer Step #1: 7b02391fc5b2: Pulling fs layer Step #1: 44c7ef3df1bc: Pulling fs layer Step #1: eb3fb1857285: Pulling fs layer Step #1: cb37ef210325: Pulling fs layer Step #1: 822bd366ba21: Pulling fs layer Step #1: dc35168344f3: Pulling fs layer Step #1: f79518fb29ef: Pulling fs layer Step #1: 5234a1ef70c1: Pulling fs layer Step #1: 9a997489e3ae: Pulling fs layer Step #1: 516060919321: Pulling fs layer Step #1: 048e1ae3b0e9: Pulling fs layer Step #1: a075ad5f7348: Pulling fs layer Step #1: 8129d2476a4d: Pulling fs layer Step #1: b4544bec079f: Pulling fs layer Step #1: cf6302e98278: Pulling fs layer Step #1: aabdbb1ec08b: Pulling fs layer Step #1: abca9e1e6b77: Pulling fs layer Step #1: 822a234fa125: Pulling fs layer Step #1: b4bbec1e2ae5: Pulling fs layer Step #1: 38c1f5598912: Pulling fs layer Step #1: 49cdae3f762c: Pulling fs layer Step #1: f79518fb29ef: Waiting Step #1: 5234a1ef70c1: Waiting Step #1: f1d27a893c7f: Waiting Step #1: 44c7ef3df1bc: Waiting Step #1: 9a997489e3ae: Waiting Step #1: 05da3a127508: Waiting Step #1: 516060919321: Waiting Step #1: eb3fb1857285: Waiting Step #1: 048e1ae3b0e9: Waiting Step #1: dc35168344f3: Waiting Step #1: a075ad5f7348: Waiting Step #1: 822a234fa125: Waiting Step #1: b4bbec1e2ae5: Waiting Step #1: 8129d2476a4d: Waiting Step #1: cb37ef210325: Waiting Step #1: 38c1f5598912: Waiting Step #1: b4544bec079f: Waiting Step #1: 49cdae3f762c: Waiting Step #1: cf6302e98278: Waiting Step #1: aabdbb1ec08b: Waiting Step #1: abca9e1e6b77: Waiting Step #1: 390d5921ef6c: Waiting Step #1: 4092ab55de20: Waiting Step #1: 57cde63d1a40: Waiting Step #1: fdfdb146e5ff: Waiting Step #1: 7b02391fc5b2: Waiting Step #1: 9866dbd8d956: Verifying Checksum Step #1: 9866dbd8d956: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 05da3a127508: Verifying Checksum Step #1: 05da3a127508: Download complete Step #1: f1d27a893c7f: Verifying Checksum Step #1: f1d27a893c7f: Download complete Step #1: 390d5921ef6c: Verifying Checksum Step #1: 390d5921ef6c: Download complete Step #1: 4092ab55de20: Download complete Step #1: fdfdb146e5ff: Verifying Checksum Step #1: fdfdb146e5ff: Download complete Step #1: 27c3ed9fe5b0: Verifying Checksum Step #1: 27c3ed9fe5b0: Download complete Step #1: 44c7ef3df1bc: Verifying Checksum Step #1: 44c7ef3df1bc: Download complete Step #1: eb3fb1857285: Verifying Checksum Step #1: eb3fb1857285: Download complete Step #1: cb37ef210325: Verifying Checksum Step #1: cb37ef210325: Download complete Step #1: 822bd366ba21: Verifying Checksum Step #1: 822bd366ba21: Download complete Step #1: dc35168344f3: Verifying Checksum Step #1: dc35168344f3: Download complete Step #1: f79518fb29ef: Verifying Checksum Step #1: f79518fb29ef: Download complete Step #1: b549f31133a9: Pull complete Step #1: 5234a1ef70c1: Verifying Checksum Step #1: 5234a1ef70c1: Download complete Step #1: 9a997489e3ae: Verifying Checksum Step #1: 9a997489e3ae: Download complete Step #1: 516060919321: Verifying Checksum Step #1: 516060919321: Download complete Step #1: 048e1ae3b0e9: Verifying Checksum Step #1: 048e1ae3b0e9: Download complete Step #1: a075ad5f7348: Verifying Checksum Step #1: a075ad5f7348: Download complete Step #1: 8129d2476a4d: Verifying Checksum Step #1: 8129d2476a4d: Download complete Step #1: 7b02391fc5b2: Verifying Checksum Step #1: 7b02391fc5b2: Download complete Step #1: b4544bec079f: Verifying Checksum Step #1: b4544bec079f: Download complete Step #1: cf6302e98278: Download complete Step #1: aabdbb1ec08b: Verifying Checksum Step #1: aabdbb1ec08b: Download complete Step #1: abca9e1e6b77: Verifying Checksum Step #1: abca9e1e6b77: Download complete Step #1: 822a234fa125: Verifying Checksum Step #1: 822a234fa125: Download complete Step #1: b4bbec1e2ae5: Download complete Step #1: 49cdae3f762c: Verifying Checksum Step #1: 49cdae3f762c: Download complete Step #1: 57cde63d1a40: Verifying Checksum Step #1: 57cde63d1a40: Download complete Step #1: 38c1f5598912: Verifying Checksum Step #1: 38c1f5598912: Download complete Step #1: 27c3ed9fe5b0: Pull complete Step #1: 9866dbd8d956: Pull complete Step #1: f1d27a893c7f: Pull complete Step #1: 05da3a127508: Pull complete Step #1: 390d5921ef6c: Pull complete Step #1: 57cde63d1a40: Pull complete Step #1: 4092ab55de20: Pull complete Step #1: fdfdb146e5ff: Pull complete Step #1: 7b02391fc5b2: Pull complete Step #1: 44c7ef3df1bc: Pull complete Step #1: eb3fb1857285: Pull complete Step #1: cb37ef210325: Pull complete Step #1: 822bd366ba21: Pull complete Step #1: dc35168344f3: Pull complete Step #1: f79518fb29ef: Pull complete Step #1: 5234a1ef70c1: Pull complete Step #1: 9a997489e3ae: Pull complete Step #1: 516060919321: Pull complete Step #1: 048e1ae3b0e9: Pull complete Step #1: a075ad5f7348: Pull complete Step #1: 8129d2476a4d: Pull complete Step #1: b4544bec079f: Pull complete Step #1: cf6302e98278: Pull complete Step #1: aabdbb1ec08b: Pull complete Step #1: abca9e1e6b77: Pull complete Step #1: 822a234fa125: Pull complete Step #1: b4bbec1e2ae5: Pull complete Step #1: 38c1f5598912: Pull complete Step #1: 49cdae3f762c: Pull complete Step #1: Digest: sha256:66b26d20347dd287f6c2955bef7e8eb3cf75bf178e4664b6dc5a5722b7477057 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 770f6720c274 Step #1: Step 2/5 : RUN git clone https://github.com/google/gvisor Step #1: ---> Running in 5219bbd795af Step #1: Cloning into 'gvisor'... Step #1: Removing intermediate container 5219bbd795af Step #1: ---> 36a18c11577a Step #1: Step 3/5 : COPY build.sh state_fuzzer.go $SRC/ Step #1: ---> fd5ac849bd69 Step #1: Step 4/5 : ENV GVISOR_ROOT $SRC/gvisor Step #1: ---> Running in 8b671ddd495e Step #1: Removing intermediate container 8b671ddd495e Step #1: ---> 9e5bff3d0733 Step #1: Step 5/5 : WORKDIR $GVISOR_ROOT Step #1: ---> Running in 5ef9e95ed713 Step #1: Removing intermediate container 5ef9e95ed713 Step #1: ---> 2ad150a842a2 Step #1: Successfully built 2ad150a842a2 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/filesvkuJP 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=a76207d81ba9183dcd6192024b8da17f6b3218db Step #2 - "srcmap": + jq_inplace /tmp/filesvkuJP '."/src/gvisor" = { type: "git", url: "https://github.com/google/gvisor", rev: "a76207d81ba9183dcd6192024b8da17f6b3218db" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileEyXLY9 Step #2 - "srcmap": + cat /tmp/filesvkuJP Step #2 - "srcmap": + jq '."/src/gvisor" = { type: "git", url: "https://github.com/google/gvisor", rev: "a76207d81ba9183dcd6192024b8da17f6b3218db" }' Step #2 - "srcmap": + mv /tmp/fileEyXLY9 /tmp/filesvkuJP 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/filesvkuJP Step #2 - "srcmap": + rm /tmp/filesvkuJP 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": "a76207d81ba9183dcd6192024b8da17f6b3218db" 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/10 06:48:38 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