starting build "bf4f7747-ec6c-4547-b8ce-abc554dfda74" 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: dd0bbb17640b: Pulling fs layer Step #1: 62275a527176: Pulling fs layer Step #1: 111633040162: Pulling fs layer Step #1: 5bf7dd58428c: Pulling fs layer Step #1: 632c9b314f45: Pulling fs layer Step #1: 8ae501891266: Pulling fs layer Step #1: 3058f8e90c86: Pulling fs layer Step #1: c377fa4fb781: Pulling fs layer Step #1: 2336eb300fb9: Pulling fs layer Step #1: 09429854c898: Pulling fs layer Step #1: 71af8faf61ed: Pulling fs layer Step #1: 687fd097ee80: Pulling fs layer Step #1: 7f1e63401161: Pulling fs layer Step #1: cf8b5802c762: Pulling fs layer Step #1: 0e6dab0925eb: Pulling fs layer Step #1: f4bced45a7b2: Pulling fs layer Step #1: 2707ad88823d: Pulling fs layer Step #1: af6705528e9c: Pulling fs layer Step #1: 4e1005e0a6aa: Pulling fs layer Step #1: 118105242bd8: Pulling fs layer Step #1: 2aa39f787b87: Pulling fs layer Step #1: d3f87be3762e: Pulling fs layer Step #1: 6fd806021fc2: Pulling fs layer Step #1: 9d856dc172cd: Pulling fs layer Step #1: a987fc666fa1: Pulling fs layer Step #1: 233e05621483: Pulling fs layer Step #1: 0d3facbb2d8c: Pulling fs layer Step #1: c377fa4fb781: Waiting Step #1: aa9066b95eb6: Pulling fs layer Step #1: 0e6dab0925eb: Waiting Step #1: ff11ed875e6f: Pulling fs layer Step #1: 2336eb300fb9: Waiting Step #1: 33f6a6d38c7e: Pulling fs layer Step #1: 5ecd2cf410de: Pulling fs layer Step #1: 4e1005e0a6aa: Waiting Step #1: 09429854c898: Waiting Step #1: 702a45c3ae33: Pulling fs layer Step #1: 118105242bd8: Waiting Step #1: df6fed191aed: Pulling fs layer Step #1: 71af8faf61ed: Waiting Step #1: f4bced45a7b2: Waiting Step #1: 2aa39f787b87: Waiting Step #1: d3f87be3762e: Waiting Step #1: 687fd097ee80: Waiting Step #1: 8b8145839257: Pulling fs layer Step #1: 6fd806021fc2: Waiting Step #1: 2707ad88823d: Waiting Step #1: 0da41187de83: Pulling fs layer Step #1: af6705528e9c: Waiting Step #1: 7f1e63401161: Waiting Step #1: 9d856dc172cd: Waiting Step #1: b1ffb5a121c1: Pulling fs layer Step #1: a987fc666fa1: Waiting Step #1: cf8b5802c762: Waiting Step #1: 8b8145839257: Waiting Step #1: 111633040162: Waiting Step #1: 3058f8e90c86: Waiting Step #1: 0da41187de83: Waiting Step #1: 5bf7dd58428c: Waiting Step #1: 632c9b314f45: Waiting Step #1: b1ffb5a121c1: Waiting Step #1: 33f6a6d38c7e: Waiting Step #1: 5ecd2cf410de: Waiting Step #1: 0d3facbb2d8c: Waiting Step #1: aa9066b95eb6: Waiting Step #1: df6fed191aed: Waiting Step #1: 8ae501891266: Waiting Step #1: 62275a527176: Verifying Checksum Step #1: 62275a527176: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 5bf7dd58428c: Verifying Checksum Step #1: 5bf7dd58428c: Download complete Step #1: 111633040162: Verifying Checksum Step #1: 111633040162: Download complete Step #1: 632c9b314f45: Download complete Step #1: 3058f8e90c86: Verifying Checksum Step #1: 3058f8e90c86: Download complete Step #1: dd0bbb17640b: Verifying Checksum Step #1: dd0bbb17640b: Download complete Step #1: c377fa4fb781: Verifying Checksum Step #1: c377fa4fb781: Download complete Step #1: b549f31133a9: Pull complete Step #1: 09429854c898: Verifying Checksum Step #1: 09429854c898: Download complete Step #1: 71af8faf61ed: Verifying Checksum Step #1: 71af8faf61ed: Download complete Step #1: 687fd097ee80: Verifying Checksum Step #1: 687fd097ee80: Download complete Step #1: 7f1e63401161: Verifying Checksum Step #1: 7f1e63401161: Download complete Step #1: cf8b5802c762: Verifying Checksum Step #1: cf8b5802c762: Download complete Step #1: 2336eb300fb9: Verifying Checksum Step #1: 2336eb300fb9: Download complete Step #1: 0e6dab0925eb: Download complete Step #1: f4bced45a7b2: Verifying Checksum Step #1: f4bced45a7b2: Download complete Step #1: 2707ad88823d: Verifying Checksum Step #1: 2707ad88823d: Download complete Step #1: af6705528e9c: Verifying Checksum Step #1: af6705528e9c: Download complete Step #1: 4e1005e0a6aa: Verifying Checksum Step #1: 4e1005e0a6aa: Download complete Step #1: 118105242bd8: Verifying Checksum Step #1: 118105242bd8: Download complete Step #1: 2aa39f787b87: Verifying Checksum Step #1: 2aa39f787b87: Download complete Step #1: 6fd806021fc2: Download complete Step #1: d3f87be3762e: Verifying Checksum Step #1: d3f87be3762e: Download complete Step #1: 8ae501891266: Verifying Checksum Step #1: 8ae501891266: Download complete Step #1: 9d856dc172cd: Verifying Checksum Step #1: 9d856dc172cd: Download complete Step #1: a987fc666fa1: Verifying Checksum Step #1: a987fc666fa1: Download complete Step #1: 0d3facbb2d8c: Verifying Checksum Step #1: 0d3facbb2d8c: Download complete Step #1: 233e05621483: Verifying Checksum Step #1: 233e05621483: Download complete Step #1: aa9066b95eb6: Verifying Checksum Step #1: aa9066b95eb6: Download complete Step #1: ff11ed875e6f: Verifying Checksum Step #1: ff11ed875e6f: Download complete Step #1: 33f6a6d38c7e: Verifying Checksum Step #1: 33f6a6d38c7e: Download complete Step #1: 5ecd2cf410de: Verifying Checksum Step #1: 5ecd2cf410de: Download complete Step #1: 702a45c3ae33: Verifying Checksum Step #1: 702a45c3ae33: Download complete Step #1: df6fed191aed: Verifying Checksum Step #1: df6fed191aed: Download complete Step #1: 8b8145839257: Verifying Checksum Step #1: 8b8145839257: Download complete Step #1: dd0bbb17640b: Pull complete Step #1: b1ffb5a121c1: Verifying Checksum Step #1: b1ffb5a121c1: Download complete Step #1: 62275a527176: Pull complete Step #1: 111633040162: Pull complete Step #1: 5bf7dd58428c: Pull complete Step #1: 632c9b314f45: Pull complete Step #1: 0da41187de83: Verifying Checksum Step #1: 0da41187de83: Download complete Step #1: 8ae501891266: Pull complete Step #1: 3058f8e90c86: Pull complete Step #1: c377fa4fb781: Pull complete Step #1: 2336eb300fb9: Pull complete Step #1: 09429854c898: Pull complete Step #1: 71af8faf61ed: Pull complete Step #1: 687fd097ee80: Pull complete Step #1: 7f1e63401161: Pull complete Step #1: cf8b5802c762: Pull complete Step #1: 0e6dab0925eb: Pull complete Step #1: f4bced45a7b2: Pull complete Step #1: 2707ad88823d: Pull complete Step #1: af6705528e9c: Pull complete Step #1: 4e1005e0a6aa: Pull complete Step #1: 118105242bd8: Pull complete Step #1: 2aa39f787b87: Pull complete Step #1: d3f87be3762e: Pull complete Step #1: 6fd806021fc2: Pull complete Step #1: 9d856dc172cd: Pull complete Step #1: a987fc666fa1: Pull complete Step #1: 233e05621483: Pull complete Step #1: 0d3facbb2d8c: Pull complete Step #1: aa9066b95eb6: Pull complete Step #1: ff11ed875e6f: Pull complete Step #1: 33f6a6d38c7e: Pull complete Step #1: 5ecd2cf410de: Pull complete Step #1: 702a45c3ae33: Pull complete Step #1: df6fed191aed: Pull complete Step #1: 8b8145839257: Pull complete Step #1: 0da41187de83: Pull complete Step #1: b1ffb5a121c1: Pull complete Step #1: Digest: sha256:d512a57a88f32e71abbd15c9c64bfe4294143e5d42014959763c76c34f3f6b51 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 60bac19b1317 Step #1: Step 2/4 : RUN git clone --depth 1 https://github.com/juju/juju Step #1: ---> Running in 0f3789985b9b Step #1: Cloning into 'juju'... Step #1: Removing intermediate container 0f3789985b9b Step #1: ---> 940be5f04fcc Step #1: Step 3/4 : COPY build.sh storage_fuzzer.go $SRC/ Step #1: ---> 6567abb9a594 Step #1: Step 4/4 : WORKDIR $SRC/juju Step #1: ---> Running in 6ecd6846129b Step #1: Removing intermediate container 6ecd6846129b Step #1: ---> 73e2ce707b6a Step #1: Successfully built 73e2ce707b6a 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/filecvrHmO 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=d06eb38a1eefd4e3095e03375d56f751b5213826 Step #2 - "srcmap": + jq_inplace /tmp/filecvrHmO '."/src/juju" = { type: "git", url: "https://github.com/juju/juju", rev: "d06eb38a1eefd4e3095e03375d56f751b5213826" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileRz0Dzc Step #2 - "srcmap": + cat /tmp/filecvrHmO Step #2 - "srcmap": + jq '."/src/juju" = { type: "git", url: "https://github.com/juju/juju", rev: "d06eb38a1eefd4e3095e03375d56f751b5213826" }' Step #2 - "srcmap": + mv /tmp/fileRz0Dzc /tmp/filecvrHmO 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/filecvrHmO Step #2 - "srcmap": + rm /tmp/filecvrHmO 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": "d06eb38a1eefd4e3095e03375d56f751b5213826" 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