starting build "ee00f38c-037c-47bc-95ac-2d164eea3c46" 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/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: 98d63d9f6c98: Waiting 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: 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: 2f0cc467e898: Pulling fs layer Step #1: b1b7efa61c06: Pulling fs layer Step #1: 64c91e3d268f: Pulling fs layer Step #1: 731f380c2ff1: Pulling fs layer Step #1: fd03b6508997: Pulling fs layer Step #1: ff008d189a82: Pulling fs layer Step #1: 29aa799e57e6: Pulling fs layer Step #1: ae08d37ab679: Pulling fs layer Step #1: 35fa612f5131: Pulling fs layer Step #1: 11c964e3f593: Pulling fs layer Step #1: 4e7bf651b6b4: Pulling fs layer Step #1: 7b105a7ee1bc: Pulling fs layer Step #1: 729758dd3f83: Pulling fs layer Step #1: c744ce97d41c: Pulling fs layer Step #1: 1060217404f4: Pulling fs layer Step #1: 4540d92d5f59: Pulling fs layer Step #1: 5b7592b5a3b6: Pulling fs layer Step #1: b1b7efa61c06: Waiting Step #1: ae08d37ab679: Waiting Step #1: 35fa612f5131: Waiting Step #1: b2512e0eab51: Waiting Step #1: 4e7bf651b6b4: Waiting Step #1: 4223d1ba77d3: Waiting Step #1: efddb1001a19: Waiting Step #1: 44ae4f1bee4d: Waiting Step #1: 4540d92d5f59: Waiting Step #1: f2e49f1ff49e: Waiting Step #1: fd03b6508997: Waiting Step #1: 29aa799e57e6: Waiting Step #1: 5b7592b5a3b6: Waiting Step #1: ff008d189a82: Waiting Step #1: e3e240b0cd50: Waiting Step #1: 729758dd3f83: Waiting Step #1: 7b105a7ee1bc: Waiting Step #1: c744ce97d41c: Waiting Step #1: 5e1d39d83edd: Waiting Step #1: 96c98dcd7e17: Waiting Step #1: bcbe3735701b: Waiting Step #1: 11c964e3f593: Waiting Step #1: af65c42a8b64: Waiting Step #1: a144ab822a62: 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: Verifying Checksum Step #1: e3e240b0cd50: Download complete Step #1: f39d80ca7021: Verifying Checksum Step #1: f39d80ca7021: Download complete Step #1: b2512e0eab51: Download complete 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: 4223d1ba77d3: Verifying Checksum Step #1: 4223d1ba77d3: Download complete Step #1: af65c42a8b64: Verifying Checksum Step #1: af65c42a8b64: Download complete Step #1: a144ab822a62: Verifying Checksum Step #1: a144ab822a62: Download complete Step #1: bcbe3735701b: Verifying Checksum Step #1: bcbe3735701b: Download complete Step #1: efddb1001a19: Download complete Step #1: f2e49f1ff49e: Verifying Checksum Step #1: f2e49f1ff49e: Download complete Step #1: b1b7efa61c06: Verifying Checksum Step #1: b1b7efa61c06: Download complete Step #1: 2f0cc467e898: Verifying Checksum Step #1: 2f0cc467e898: Download complete Step #1: ec334fd6e8fa: Verifying Checksum Step #1: ec334fd6e8fa: Download complete Step #1: 731f380c2ff1: Verifying Checksum Step #1: 731f380c2ff1: Download complete Step #1: 64c91e3d268f: Verifying Checksum Step #1: 64c91e3d268f: Download complete Step #1: fd03b6508997: Verifying Checksum Step #1: fd03b6508997: Download complete Step #1: ff008d189a82: Verifying Checksum Step #1: ff008d189a82: 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: 11c964e3f593: Verifying Checksum Step #1: 11c964e3f593: Download complete Step #1: 4e7bf651b6b4: Verifying Checksum Step #1: 4e7bf651b6b4: Download complete Step #1: 7b105a7ee1bc: Verifying Checksum Step #1: 7b105a7ee1bc: Download complete Step #1: 729758dd3f83: Download complete Step #1: f39d80ca7021: Pull complete Step #1: c744ce97d41c: Verifying Checksum Step #1: c744ce97d41c: Download complete Step #1: 1060217404f4: Verifying Checksum Step #1: 1060217404f4: Download complete Step #1: 3f7b104caa94: Pull complete Step #1: 5b7592b5a3b6: Verifying Checksum Step #1: 5b7592b5a3b6: Download complete Step #1: 98d63d9f6c98: Pull complete Step #1: 18e56a74fe3b: Pull complete Step #1: d374a6bee675: Pull complete Step #1: 4540d92d5f59: Verifying Checksum Step #1: 4540d92d5f59: Download 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/juju/juju Step #1: ---> Running in 8c963355d23a Step #1: Cloning into 'juju'... Step #1: Removing intermediate container 8c963355d23a Step #1: ---> bc6860d491d8 Step #1: Step 3/4 : COPY build.sh storage_fuzzer.go $SRC/ Step #1: ---> 2c4624a10b89 Step #1: Step 4/4 : WORKDIR $SRC/juju Step #1: ---> Running in 06918e012d63 Step #1: Removing intermediate container 06918e012d63 Step #1: ---> 07c3e1988a8c Step #1: Successfully built 07c3e1988a8c Step #1: Successfully tagged gcr.io/oss-fuzz/juju:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/juju Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/filev7hraP 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/juju/.git Step #2 - "srcmap": + GIT_DIR=/src/juju Step #2 - "srcmap": + cd /src/juju Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/juju/juju Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=0eafe3694d16c92e40d361a727007dc6295de70d Step #2 - "srcmap": + jq_inplace /tmp/filev7hraP '."/src/juju" = { type: "git", url: "https://github.com/juju/juju", rev: "0eafe3694d16c92e40d361a727007dc6295de70d" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileP3Cxqb Step #2 - "srcmap": + cat /tmp/filev7hraP Step #2 - "srcmap": + jq '."/src/juju" = { type: "git", url: "https://github.com/juju/juju", rev: "0eafe3694d16c92e40d361a727007dc6295de70d" }' Step #2 - "srcmap": + mv /tmp/fileP3Cxqb /tmp/filev7hraP 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/filev7hraP Step #2 - "srcmap": + rm /tmp/filev7hraP Step #2 - "srcmap": { Step #2 - "srcmap": "/src/juju": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/juju/juju", Step #2 - "srcmap": "rev": "0eafe3694d16c92e40d361a727007dc6295de70d" 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": + go mod download Step #3 - "compile-libfuzzer-address-x86_64": + find /root/go/pkg/mod/github.com/aws/aws-sdk-go-v2 -name '*fuzz.go' -exec rm -rf '{}' ';' Step #3 - "compile-libfuzzer-address-x86_64": + mv /src/storage_fuzzer.go /src/juju/storage/ Step #3 - "compile-libfuzzer-address-x86_64": mv: cannot move '/src/storage_fuzzer.go' to '/src/juju/storage/': Not a directory 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 juju Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 juju 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