starting build "af4ba542-23dc-44d6-9992-cd63a9efaec3" 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 7.168kB Step #1: Step 1/4 : 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: c2342df20178: Pulling fs layer Step #1: 889620bafc9e: Pulling fs layer Step #1: 7e6b3ebca0da: Pulling fs layer Step #1: a138f249fc79: Pulling fs layer Step #1: 0cef8afac729: Pulling fs layer Step #1: 14c96135cdd2: Pulling fs layer Step #1: 67227131fbab: Pulling fs layer Step #1: c014d579bab7: Pulling fs layer Step #1: 5b1177978078: Pulling fs layer Step #1: af13ed5caca6: Pulling fs layer Step #1: 87c3acb9c02b: Pulling fs layer Step #1: f1f179d89321: Pulling fs layer Step #1: 9d20212a21f4: Pulling fs layer Step #1: 9f0352eb4661: Pulling fs layer Step #1: 173808f86263: Pulling fs layer Step #1: 53e326de4df6: Pulling fs layer Step #1: c314a32e8258: Pulling fs layer Step #1: 14c96135cdd2: Waiting Step #1: 5383415e5e56: Pulling fs layer Step #1: 9636736418da: Pulling fs layer Step #1: 98b08632f52f: Pulling fs layer Step #1: e5fdedb94b14: Pulling fs layer Step #1: 5e0b46a8bb68: Pulling fs layer Step #1: 9401c7e4f424: Pulling fs layer Step #1: 0cef8afac729: Waiting Step #1: 3bd967bd9fd1: Pulling fs layer Step #1: c014d579bab7: Waiting Step #1: 4af64f900d37: Pulling fs layer Step #1: b10cbb869967: Pulling fs layer Step #1: 18e884c6babe: Pulling fs layer Step #1: 1cb1cdf2cc5b: Pulling fs layer Step #1: 7e6b3ebca0da: Waiting Step #1: 99dda7f4b3a7: Pulling fs layer Step #1: f1c4ee30c461: Pulling fs layer Step #1: 0fbc6dc7f7b9: Pulling fs layer Step #1: 5b1177978078: Waiting Step #1: cd4df9c7093a: Pulling fs layer Step #1: af13ed5caca6: Waiting Step #1: 68b4371eb0d2: Pulling fs layer Step #1: 53e326de4df6: Waiting Step #1: 67227131fbab: Waiting Step #1: c314a32e8258: Waiting Step #1: f1f179d89321: Waiting Step #1: 3bd967bd9fd1: Waiting Step #1: 87c3acb9c02b: Waiting Step #1: 4af64f900d37: Waiting Step #1: 9d20212a21f4: Waiting Step #1: 1cb1cdf2cc5b: Waiting Step #1: b10cbb869967: Waiting Step #1: 9f0352eb4661: Waiting Step #1: 18e884c6babe: Waiting Step #1: 0fbc6dc7f7b9: Waiting Step #1: 99dda7f4b3a7: Waiting Step #1: cd4df9c7093a: Waiting Step #1: e5fdedb94b14: Waiting Step #1: a138f249fc79: Waiting Step #1: f1c4ee30c461: Waiting Step #1: 5e0b46a8bb68: Waiting Step #1: 9401c7e4f424: Waiting Step #1: 9636736418da: Waiting Step #1: 98b08632f52f: Waiting Step #1: 81ff6073e550: Pulling fs layer Step #1: 84b274cbf9c6: Pulling fs layer Step #1: 81ff6073e550: Waiting Step #1: 0e1d8755b98d: Pulling fs layer Step #1: 889620bafc9e: Verifying Checksum Step #1: 889620bafc9e: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 7e6b3ebca0da: Verifying Checksum Step #1: 7e6b3ebca0da: Download complete Step #1: a138f249fc79: Verifying Checksum Step #1: a138f249fc79: Download complete Step #1: 0cef8afac729: Verifying Checksum Step #1: 0cef8afac729: Download complete Step #1: 67227131fbab: Download complete Step #1: c2342df20178: Verifying Checksum Step #1: c2342df20178: Download complete Step #1: c014d579bab7: Download complete Step #1: b549f31133a9: Pull complete Step #1: af13ed5caca6: Verifying Checksum Step #1: af13ed5caca6: Download complete Step #1: 87c3acb9c02b: Verifying Checksum Step #1: 87c3acb9c02b: Download complete Step #1: f1f179d89321: Verifying Checksum Step #1: f1f179d89321: Download complete Step #1: 9d20212a21f4: Verifying Checksum Step #1: 9d20212a21f4: Download complete Step #1: 9f0352eb4661: Verifying Checksum Step #1: 9f0352eb4661: Download complete Step #1: 5b1177978078: Verifying Checksum Step #1: 5b1177978078: Download complete Step #1: 173808f86263: Verifying Checksum Step #1: 173808f86263: Download complete Step #1: 53e326de4df6: Verifying Checksum Step #1: 53e326de4df6: Download complete Step #1: c314a32e8258: Verifying Checksum Step #1: c314a32e8258: Download complete Step #1: 5383415e5e56: Verifying Checksum Step #1: 5383415e5e56: Download complete Step #1: 9636736418da: Verifying Checksum Step #1: 9636736418da: Download complete Step #1: 98b08632f52f: Verifying Checksum Step #1: 98b08632f52f: Download complete Step #1: e5fdedb94b14: Verifying Checksum Step #1: e5fdedb94b14: Download complete Step #1: 9401c7e4f424: Verifying Checksum Step #1: 9401c7e4f424: Download complete Step #1: 14c96135cdd2: Verifying Checksum Step #1: 14c96135cdd2: Download complete Step #1: 5e0b46a8bb68: Verifying Checksum Step #1: 5e0b46a8bb68: Download complete Step #1: 3bd967bd9fd1: Download complete Step #1: 4af64f900d37: Download complete Step #1: 1cb1cdf2cc5b: Download complete Step #1: 18e884c6babe: Verifying Checksum Step #1: 18e884c6babe: Download complete Step #1: 99dda7f4b3a7: Verifying Checksum Step #1: 99dda7f4b3a7: Download complete Step #1: 0fbc6dc7f7b9: Verifying Checksum Step #1: 0fbc6dc7f7b9: Download complete Step #1: f1c4ee30c461: Verifying Checksum Step #1: f1c4ee30c461: Download complete Step #1: 68b4371eb0d2: Verifying Checksum Step #1: 68b4371eb0d2: Download complete Step #1: 81ff6073e550: Verifying Checksum Step #1: 81ff6073e550: Download complete Step #1: cd4df9c7093a: Download complete Step #1: 0e1d8755b98d: Download complete Step #1: c2342df20178: Pull complete Step #1: 889620bafc9e: Pull complete Step #1: 7e6b3ebca0da: Pull complete Step #1: a138f249fc79: Pull complete Step #1: 0cef8afac729: Pull complete Step #1: 84b274cbf9c6: Download complete Step #1: 14c96135cdd2: Pull complete Step #1: 67227131fbab: Pull complete Step #1: c014d579bab7: Pull complete Step #1: 5b1177978078: Pull complete Step #1: af13ed5caca6: Pull complete Step #1: 87c3acb9c02b: Pull complete Step #1: f1f179d89321: Pull complete Step #1: 9d20212a21f4: Pull complete Step #1: 9f0352eb4661: Pull complete Step #1: 173808f86263: Pull complete Step #1: 53e326de4df6: Pull complete Step #1: c314a32e8258: Pull complete Step #1: 5383415e5e56: Pull complete Step #1: 9636736418da: Pull complete Step #1: 98b08632f52f: Pull complete Step #1: e5fdedb94b14: Pull complete Step #1: 5e0b46a8bb68: Pull complete Step #1: 9401c7e4f424: Pull complete Step #1: 3bd967bd9fd1: Pull complete Step #1: 4af64f900d37: Pull complete Step #1: b10cbb869967: Pull complete Step #1: 18e884c6babe: Pull complete Step #1: 1cb1cdf2cc5b: Pull complete Step #1: 99dda7f4b3a7: Pull complete Step #1: f1c4ee30c461: Pull complete Step #1: 0fbc6dc7f7b9: Pull complete Step #1: cd4df9c7093a: Pull complete Step #1: 68b4371eb0d2: Pull complete Step #1: 81ff6073e550: Pull complete Step #1: 84b274cbf9c6: Pull complete Step #1: 0e1d8755b98d: Pull complete Step #1: Digest: sha256:9fe78458d6c2950de653ef203c6eb086225b5a72a6a87f4655a27f087ef7bbfc Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 68ad2e22b8d9 Step #1: Step 2/4 : RUN git clone --depth 1 https://github.com/publicsuffix/list Step #1: ---> Running in 33cfede7147c Step #1: Cloning into 'list'... Step #1: Removing intermediate container 33cfede7147c Step #1: ---> 17b4c4a736ec Step #1: Step 3/4 : WORKDIR $SRC/list Step #1: ---> Running in 6c3eda702444 Step #1: Removing intermediate container 6c3eda702444 Step #1: ---> 401a92997eec Step #1: Step 4/4 : COPY build.sh fuzz_test.go $SRC/ Step #1: ---> af2000fbf0ad Step #1: Successfully built af2000fbf0ad Step #1: Successfully tagged gcr.io/oss-fuzz/publicsuffix-list:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/publicsuffix-list Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileYklH8N 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/list/.git Step #2 - "srcmap": + GIT_DIR=/src/list Step #2 - "srcmap": + cd /src/list Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/publicsuffix/list Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=3dc28d7389f45a20dfca36284b84fae9d472c01c Step #2 - "srcmap": + jq_inplace /tmp/fileYklH8N '."/src/list" = { type: "git", url: "https://github.com/publicsuffix/list", rev: "3dc28d7389f45a20dfca36284b84fae9d472c01c" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filecuZWja Step #2 - "srcmap": + cat /tmp/fileYklH8N Step #2 - "srcmap": + jq '."/src/list" = { type: "git", url: "https://github.com/publicsuffix/list", rev: "3dc28d7389f45a20dfca36284b84fae9d472c01c" }' Step #2 - "srcmap": + mv /tmp/filecuZWja /tmp/fileYklH8N 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/fileYklH8N Step #2 - "srcmap": + rm /tmp/fileYklH8N Step #2 - "srcmap": { Step #2 - "srcmap": "/src/list": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/publicsuffix/list", Step #2 - "srcmap": "rev": "3dc28d7389f45a20dfca36284b84fae9d472c01c" 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": vm.mmap_rnd_bits = 28 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++ -lresolv Step #3 - "compile-libfuzzer-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -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 -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -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": + sed 's/package main/package tools/g' -i ./tools/newgtlds.go Step #3 - "compile-libfuzzer-address-x86_64": + rm ./tools/newgtlds_test.go Step #3 - "compile-libfuzzer-address-x86_64": + cp /src/fuzz_test.go ./tools/ Step #3 - "compile-libfuzzer-address-x86_64": + go mod init github.com/publicsuffix/list Step #3 - "compile-libfuzzer-address-x86_64": go: creating new go.mod: module github.com/publicsuffix/list Step #3 - "compile-libfuzzer-address-x86_64": go: to add module requirements and sums: Step #3 - "compile-libfuzzer-address-x86_64": go mod tidy Step #3 - "compile-libfuzzer-address-x86_64": + go mod tidy Step #3 - "compile-libfuzzer-address-x86_64": go: warning: "all" matched no packages Step #3 - "compile-libfuzzer-address-x86_64": + printf 'package tools\nimport _ "github.com/AdamKorcz/go-118-fuzz-build/testing"\n' Step #3 - "compile-libfuzzer-address-x86_64": + go mod tidy Step #3 - "compile-libfuzzer-address-x86_64": go: warning: "all" matched no packages Step #3 - "compile-libfuzzer-address-x86_64": + compile_native_go_fuzzer github.com/publicsuffix/list/tools FuzzTest FuzzTest Step #3 - "compile-libfuzzer-address-x86_64": no required module provides package github.com/publicsuffix/list/tools; to add it: Step #3 - "compile-libfuzzer-address-x86_64": go get github.com/publicsuffix/list/tools 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 publicsuffix-list Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 publicsuffix-list 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