starting build "b450c754-1dc2-4f0f-9fde-813c6cec39d0" 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: f39d80ca7021: Pulling fs layer Step #1: 3f7b104caa94: Pulling fs layer Step #1: 98d63d9f6c98: Pulling fs layer Step #1: 18e56a74fe3b: Pulling fs layer Step #1: d374a6bee675: Pulling fs layer Step #1: ec334fd6e8fa: Pulling fs layer Step #1: e3e240b0cd50: Pulling fs layer Step #1: b2512e0eab51: Pulling fs layer Step #1: 4223d1ba77d3: Pulling fs layer Step #1: 8d45a907f5ae: Pulling fs layer Step #1: 44ae4f1bee4d: Pulling fs layer Step #1: 5e1d39d83edd: Pulling fs layer Step #1: 96c98dcd7e17: Pulling fs layer Step #1: 136e28fc29c9: Pulling fs layer Step #1: 98d63d9f6c98: Waiting Step #1: af65c42a8b64: Pulling fs layer Step #1: a144ab822a62: Pulling fs layer Step #1: bcbe3735701b: Pulling fs layer Step #1: efddb1001a19: Pulling fs layer Step #1: f2e49f1ff49e: Pulling fs layer Step #1: ec334fd6e8fa: Waiting Step #1: 2f0cc467e898: Pulling fs layer Step #1: d374a6bee675: Waiting Step #1: b1b7efa61c06: Pulling fs layer Step #1: e3e240b0cd50: Waiting Step #1: 64c91e3d268f: Pulling fs layer Step #1: 18e56a74fe3b: Waiting Step #1: 731f380c2ff1: Pulling fs layer Step #1: b2512e0eab51: Waiting Step #1: fd03b6508997: Pulling fs layer Step #1: 4223d1ba77d3: Waiting Step #1: ff008d189a82: Pulling fs layer Step #1: 29aa799e57e6: Pulling fs layer Step #1: 44ae4f1bee4d: Waiting Step #1: 8d45a907f5ae: Waiting Step #1: ae08d37ab679: Pulling fs layer Step #1: 5e1d39d83edd: Waiting Step #1: 35fa612f5131: Pulling fs layer Step #1: af65c42a8b64: Waiting Step #1: efddb1001a19: Waiting Step #1: 96c98dcd7e17: Waiting Step #1: 11c964e3f593: Pulling fs layer Step #1: 136e28fc29c9: Waiting Step #1: a144ab822a62: Waiting Step #1: 4e7bf651b6b4: Pulling fs layer Step #1: 7b105a7ee1bc: Pulling fs layer Step #1: bcbe3735701b: Waiting Step #1: b1b7efa61c06: Waiting Step #1: 2f0cc467e898: Waiting Step #1: 35fa612f5131: Waiting Step #1: ae08d37ab679: Waiting Step #1: 64c91e3d268f: Waiting Step #1: 11c964e3f593: Waiting Step #1: 731f380c2ff1: Waiting Step #1: ff008d189a82: Waiting Step #1: fd03b6508997: Waiting Step #1: 729758dd3f83: Pulling fs layer Step #1: c744ce97d41c: Pulling fs layer Step #1: 1060217404f4: Pulling fs layer Step #1: 4e7bf651b6b4: Waiting Step #1: 29aa799e57e6: Waiting Step #1: 4540d92d5f59: Pulling fs layer Step #1: c744ce97d41c: Waiting Step #1: 5b7592b5a3b6: Pulling fs layer Step #1: 4540d92d5f59: Waiting Step #1: 7b105a7ee1bc: Waiting Step #1: 5b7592b5a3b6: Waiting Step #1: 3f7b104caa94: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 18e56a74fe3b: Download complete Step #1: 98d63d9f6c98: Verifying Checksum Step #1: 98d63d9f6c98: Download complete Step #1: d374a6bee675: Download complete Step #1: e3e240b0cd50: Download complete Step #1: f39d80ca7021: Verifying Checksum Step #1: f39d80ca7021: Download complete Step #1: b2512e0eab51: Verifying Checksum Step #1: b549f31133a9: Pull complete Step #1: 8d45a907f5ae: Verifying Checksum Step #1: 8d45a907f5ae: Download complete Step #1: 44ae4f1bee4d: Verifying Checksum Step #1: 44ae4f1bee4d: Download complete Step #1: 5e1d39d83edd: Verifying Checksum Step #1: 5e1d39d83edd: Download complete Step #1: 96c98dcd7e17: Verifying Checksum Step #1: 96c98dcd7e17: Download complete Step #1: 136e28fc29c9: Verifying Checksum Step #1: 136e28fc29c9: Download complete Step #1: af65c42a8b64: Verifying Checksum Step #1: af65c42a8b64: Download complete Step #1: a144ab822a62: Verifying Checksum Step #1: 4223d1ba77d3: Download complete Step #1: a144ab822a62: Download complete Step #1: efddb1001a19: Download complete Step #1: bcbe3735701b: Verifying Checksum Step #1: bcbe3735701b: Download complete Step #1: 2f0cc467e898: Verifying Checksum Step #1: 2f0cc467e898: Download complete Step #1: f2e49f1ff49e: Verifying Checksum Step #1: f2e49f1ff49e: Download complete Step #1: b1b7efa61c06: Download complete Step #1: 64c91e3d268f: Verifying Checksum Step #1: 64c91e3d268f: Download complete Step #1: 731f380c2ff1: Verifying Checksum Step #1: 731f380c2ff1: Download complete Step #1: fd03b6508997: Verifying Checksum Step #1: fd03b6508997: Download complete Step #1: ff008d189a82: Verifying Checksum Step #1: ff008d189a82: Download complete Step #1: ec334fd6e8fa: Verifying Checksum Step #1: ec334fd6e8fa: Download complete Step #1: 29aa799e57e6: Verifying Checksum Step #1: 29aa799e57e6: Download complete Step #1: ae08d37ab679: Verifying Checksum Step #1: ae08d37ab679: Download complete Step #1: 35fa612f5131: Verifying Checksum Step #1: 35fa612f5131: Download complete Step #1: 7b105a7ee1bc: Download complete Step #1: 4e7bf651b6b4: Verifying Checksum Step #1: 4e7bf651b6b4: Download complete Step #1: 11c964e3f593: Verifying Checksum Step #1: 11c964e3f593: Download complete Step #1: 729758dd3f83: Verifying Checksum Step #1: 729758dd3f83: Download complete Step #1: 1060217404f4: Download complete Step #1: c744ce97d41c: Verifying Checksum Step #1: c744ce97d41c: Download complete Step #1: 5b7592b5a3b6: Verifying Checksum Step #1: 5b7592b5a3b6: Download complete Step #1: f39d80ca7021: Pull complete Step #1: 3f7b104caa94: Pull complete Step #1: 98d63d9f6c98: Pull complete Step #1: 4540d92d5f59: Download complete Step #1: 18e56a74fe3b: Pull complete Step #1: d374a6bee675: Pull complete Step #1: ec334fd6e8fa: Pull complete Step #1: e3e240b0cd50: Pull complete Step #1: b2512e0eab51: Pull complete Step #1: 4223d1ba77d3: Pull complete Step #1: 8d45a907f5ae: Pull complete Step #1: 44ae4f1bee4d: Pull complete Step #1: 5e1d39d83edd: Pull complete Step #1: 96c98dcd7e17: Pull complete Step #1: 136e28fc29c9: Pull complete Step #1: af65c42a8b64: Pull complete Step #1: a144ab822a62: Pull complete Step #1: bcbe3735701b: Pull complete Step #1: efddb1001a19: Pull complete Step #1: f2e49f1ff49e: Pull complete Step #1: 2f0cc467e898: Pull complete Step #1: b1b7efa61c06: Pull complete Step #1: 64c91e3d268f: Pull complete Step #1: 731f380c2ff1: Pull complete Step #1: fd03b6508997: Pull complete Step #1: ff008d189a82: Pull complete Step #1: 29aa799e57e6: Pull complete Step #1: ae08d37ab679: Pull complete Step #1: 35fa612f5131: Pull complete Step #1: 11c964e3f593: Pull complete Step #1: 4e7bf651b6b4: Pull complete Step #1: 7b105a7ee1bc: Pull complete Step #1: 729758dd3f83: Pull complete Step #1: c744ce97d41c: Pull complete Step #1: 1060217404f4: Pull complete Step #1: 4540d92d5f59: Pull complete Step #1: 5b7592b5a3b6: Pull complete Step #1: Digest: sha256:cd2dc6ffe09b9b6a422307119bf4258e0ef9227a1e15b1010c905248b2d30dc8 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> e508a4fadc7c Step #1: Step 2/4 : RUN git clone --depth 1 https://github.com/publicsuffix/list Step #1: ---> Running in e7f09ce3f905 Step #1: Cloning into 'list'... Step #1: Removing intermediate container e7f09ce3f905 Step #1: ---> 8b104e36d595 Step #1: Step 3/4 : WORKDIR $SRC/list Step #1: ---> Running in 3031725054e4 Step #1: Removing intermediate container 3031725054e4 Step #1: ---> 84b4ff87f94c Step #1: Step 4/4 : COPY build.sh fuzz_test.go $SRC/ Step #1: ---> fe611f2b34de Step #1: Successfully built fe611f2b34de 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/file1guXOL 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=3bf13d1eddb9298971939d4fa868f94cd3999cb9 Step #2 - "srcmap": + jq_inplace /tmp/file1guXOL '."/src/list" = { type: "git", url: "https://github.com/publicsuffix/list", rev: "3bf13d1eddb9298971939d4fa868f94cd3999cb9" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileTqlTk9 Step #2 - "srcmap": + cat /tmp/file1guXOL Step #2 - "srcmap": + jq '."/src/list" = { type: "git", url: "https://github.com/publicsuffix/list", rev: "3bf13d1eddb9298971939d4fa868f94cd3999cb9" }' Step #2 - "srcmap": + mv /tmp/fileTqlTk9 /tmp/file1guXOL 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/file1guXOL Step #2 - "srcmap": + rm /tmp/file1guXOL 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": "3bf13d1eddb9298971939d4fa868f94cd3999cb9" 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