starting build "8eb91fc1-66e2-4872-9df9-95f828596b2c" 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: 5fc1849ea29a: Pulling fs layer Step #1: 5bca3ba2fc7d: Pulling fs layer Step #1: c3f8f264f82b: Pulling fs layer Step #1: 4beb7a10c8f4: Pulling fs layer Step #1: 0ca13ee436c2: Pulling fs layer Step #1: d11b53fc85fe: Pulling fs layer Step #1: 1cbdd3829a23: Pulling fs layer Step #1: 7f7781280c06: Pulling fs layer Step #1: 846994f6541d: Pulling fs layer Step #1: 83087fdbd323: Pulling fs layer Step #1: 5e20af423505: Pulling fs layer Step #1: 7e2d2d2efe99: Pulling fs layer Step #1: bae98e0cfe62: Pulling fs layer Step #1: 7c94181fc29a: Pulling fs layer Step #1: 4018e9ce42a6: Pulling fs layer Step #1: bf9219ec845b: Pulling fs layer Step #1: 71174894d930: Pulling fs layer Step #1: e04ddd5d972b: Pulling fs layer Step #1: bfb7b1a6728d: Pulling fs layer Step #1: 2e1d8e23a9a8: Pulling fs layer Step #1: 153eacb0a891: Pulling fs layer Step #1: 846994f6541d: Waiting Step #1: 4d7aa988bb31: Pulling fs layer Step #1: c3f8f264f82b: Waiting Step #1: f93820478c87: Pulling fs layer Step #1: 4beb7a10c8f4: Waiting Step #1: 038020a237ce: Pulling fs layer Step #1: 0ca13ee436c2: Waiting Step #1: 416ea49f7c22: Pulling fs layer Step #1: 9cdc40c52e67: Pulling fs layer Step #1: 83087fdbd323: Waiting Step #1: 5e20af423505: Waiting Step #1: bee113eb3842: Pulling fs layer Step #1: 93286fa4d809: Pulling fs layer Step #1: 4018e9ce42a6: Waiting Step #1: 88a7cbc5ce33: Pulling fs layer Step #1: e04ddd5d972b: Waiting Step #1: 5bdd6bc53e7b: Pulling fs layer Step #1: bf9219ec845b: Waiting Step #1: bfb7b1a6728d: Waiting Step #1: d84cd2be715d: Pulling fs layer Step #1: 2e1d8e23a9a8: Waiting Step #1: 71174894d930: Waiting Step #1: d11b53fc85fe: Waiting Step #1: 7e2d2d2efe99: Waiting Step #1: d171e73dd44a: Pulling fs layer Step #1: 1cbdd3829a23: Waiting Step #1: bae98e0cfe62: Waiting Step #1: 153eacb0a891: Waiting Step #1: 9972794eff61: Pulling fs layer Step #1: a5710a666ac0: Pulling fs layer Step #1: 4d7aa988bb31: Waiting Step #1: 8e9c29ebf3b0: Pulling fs layer Step #1: f93820478c87: Waiting Step #1: 038020a237ce: Waiting Step #1: 416ea49f7c22: Waiting Step #1: 7f7781280c06: Waiting Step #1: 9cdc40c52e67: Waiting Step #1: 8ae08768665b: Pulling fs layer Step #1: 88a7cbc5ce33: Waiting Step #1: 7c94181fc29a: Waiting Step #1: 5bdd6bc53e7b: Waiting Step #1: d84cd2be715d: Waiting Step #1: a5710a666ac0: Waiting Step #1: 8ae08768665b: Waiting Step #1: 8e9c29ebf3b0: Waiting Step #1: d171e73dd44a: Waiting Step #1: 93286fa4d809: Waiting Step #1: 5bca3ba2fc7d: Verifying Checksum Step #1: 5bca3ba2fc7d: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 4beb7a10c8f4: Download complete Step #1: 0ca13ee436c2: Verifying Checksum Step #1: 0ca13ee436c2: Download complete Step #1: c3f8f264f82b: Verifying Checksum Step #1: c3f8f264f82b: Download complete Step #1: 1cbdd3829a23: Verifying Checksum Step #1: 1cbdd3829a23: Download complete Step #1: 5fc1849ea29a: Verifying Checksum Step #1: 5fc1849ea29a: Download complete Step #1: 7f7781280c06: Download complete Step #1: b549f31133a9: Pull complete Step #1: 83087fdbd323: Verifying Checksum Step #1: 83087fdbd323: Download complete Step #1: 5e20af423505: Verifying Checksum Step #1: 5e20af423505: Download complete Step #1: 7e2d2d2efe99: Download complete Step #1: bae98e0cfe62: Verifying Checksum Step #1: bae98e0cfe62: Download complete Step #1: 7c94181fc29a: Verifying Checksum Step #1: 7c94181fc29a: Download complete Step #1: 846994f6541d: Verifying Checksum Step #1: 846994f6541d: Download complete Step #1: 4018e9ce42a6: Verifying Checksum Step #1: 4018e9ce42a6: Download complete Step #1: bf9219ec845b: Verifying Checksum Step #1: bf9219ec845b: Download complete Step #1: 71174894d930: Verifying Checksum Step #1: 71174894d930: Download complete Step #1: e04ddd5d972b: Verifying Checksum Step #1: e04ddd5d972b: Download complete Step #1: bfb7b1a6728d: Verifying Checksum Step #1: bfb7b1a6728d: Download complete Step #1: 2e1d8e23a9a8: Verifying Checksum Step #1: 2e1d8e23a9a8: Download complete Step #1: 153eacb0a891: Download complete Step #1: d11b53fc85fe: Verifying Checksum Step #1: d11b53fc85fe: Download complete Step #1: 4d7aa988bb31: Verifying Checksum Step #1: 4d7aa988bb31: Download complete Step #1: f93820478c87: Download complete Step #1: 038020a237ce: Download complete Step #1: 416ea49f7c22: Verifying Checksum Step #1: 416ea49f7c22: Download complete Step #1: 9cdc40c52e67: Download complete Step #1: bee113eb3842: Verifying Checksum Step #1: bee113eb3842: Download complete Step #1: 88a7cbc5ce33: Verifying Checksum Step #1: 88a7cbc5ce33: Download complete Step #1: 93286fa4d809: Verifying Checksum Step #1: 93286fa4d809: Download complete Step #1: 5fc1849ea29a: Pull complete Step #1: 5bdd6bc53e7b: Verifying Checksum Step #1: 5bdd6bc53e7b: Download complete Step #1: 5bca3ba2fc7d: Pull complete Step #1: d84cd2be715d: Verifying Checksum Step #1: d84cd2be715d: Download complete Step #1: 9972794eff61: Verifying Checksum Step #1: 9972794eff61: Download complete Step #1: d171e73dd44a: Verifying Checksum Step #1: d171e73dd44a: Download complete Step #1: 8ae08768665b: Verifying Checksum Step #1: 8ae08768665b: Download complete Step #1: a5710a666ac0: Download complete Step #1: c3f8f264f82b: Pull complete Step #1: 4beb7a10c8f4: Pull complete Step #1: 0ca13ee436c2: Pull complete Step #1: 8e9c29ebf3b0: Verifying Checksum Step #1: 8e9c29ebf3b0: Download complete Step #1: d11b53fc85fe: Pull complete Step #1: 1cbdd3829a23: Pull complete Step #1: 7f7781280c06: Pull complete Step #1: 846994f6541d: Pull complete Step #1: 83087fdbd323: Pull complete Step #1: 5e20af423505: Pull complete Step #1: 7e2d2d2efe99: Pull complete Step #1: bae98e0cfe62: Pull complete Step #1: 7c94181fc29a: Pull complete Step #1: 4018e9ce42a6: Pull complete Step #1: bf9219ec845b: Pull complete Step #1: 71174894d930: Pull complete Step #1: e04ddd5d972b: Pull complete Step #1: bfb7b1a6728d: Pull complete Step #1: 2e1d8e23a9a8: Pull complete Step #1: 153eacb0a891: Pull complete Step #1: 4d7aa988bb31: Pull complete Step #1: f93820478c87: Pull complete Step #1: 038020a237ce: Pull complete Step #1: 416ea49f7c22: Pull complete Step #1: 9cdc40c52e67: Pull complete Step #1: bee113eb3842: Pull complete Step #1: 93286fa4d809: Pull complete Step #1: 88a7cbc5ce33: Pull complete Step #1: 5bdd6bc53e7b: Pull complete Step #1: d84cd2be715d: Pull complete Step #1: d171e73dd44a: Pull complete Step #1: 9972794eff61: Pull complete Step #1: a5710a666ac0: Pull complete Step #1: 8e9c29ebf3b0: Pull complete Step #1: 8ae08768665b: Pull complete Step #1: Digest: sha256:be30d0d373c394d43ac71416c7a5d03a70664d404378c6f3ffb00ecf7d5db903 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 1c7b83ad1fda Step #1: Step 2/4 : RUN git clone --depth 1 https://github.com/juju/juju Step #1: ---> Running in 24471ce479d2 Step #1: Cloning into 'juju'... Step #1: Removing intermediate container 24471ce479d2 Step #1: ---> c48395d50424 Step #1: Step 3/4 : COPY build.sh storage_fuzzer.go $SRC/ Step #1: ---> 2b47b3936553 Step #1: Step 4/4 : WORKDIR $SRC/juju Step #1: ---> Running in eb9c5fe56fb5 Step #1: Removing intermediate container eb9c5fe56fb5 Step #1: ---> 886ca2705d65 Step #1: Successfully built 886ca2705d65 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/file3tQO7N 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=80da79fda449807f6af7b1ff92ecbf39f42093a6 Step #2 - "srcmap": + jq_inplace /tmp/file3tQO7N '."/src/juju" = { type: "git", url: "https://github.com/juju/juju", rev: "80da79fda449807f6af7b1ff92ecbf39f42093a6" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileNbMUBd Step #2 - "srcmap": + cat /tmp/file3tQO7N Step #2 - "srcmap": + jq '."/src/juju" = { type: "git", url: "https://github.com/juju/juju", rev: "80da79fda449807f6af7b1ff92ecbf39f42093a6" }' Step #2 - "srcmap": + mv /tmp/fileNbMUBd /tmp/file3tQO7N 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/file3tQO7N Step #2 - "srcmap": + rm /tmp/file3tQO7N 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": "80da79fda449807f6af7b1ff92ecbf39f42093a6" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-coverage-x86_64" Step #3 - "compile-libfuzzer-coverage-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-coverage-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": CC=clang Step #3 - "compile-libfuzzer-coverage-x86_64": CXX=clang++ -lresolv Step #3 - "compile-libfuzzer-coverage-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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument Step #3 - "compile-libfuzzer-coverage-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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -stdlib=libc++ Step #3 - "compile-libfuzzer-coverage-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers -Cinstrument-coverage -C link-arg=-lc++ Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": + go mod download Step #3 - "compile-libfuzzer-coverage-x86_64": + find /root/go/pkg/mod/github.com/aws/aws-sdk-go-v2 -name '*fuzz.go' -exec rm -rf '{}' ';' Step #3 - "compile-libfuzzer-coverage-x86_64": + mv /src/storage_fuzzer.go /src/juju/storage/ Step #3 - "compile-libfuzzer-coverage-x86_64": mv: cannot move '/src/storage_fuzzer.go' to '/src/juju/storage/': Not a directory Step #3 - "compile-libfuzzer-coverage-x86_64": ******************************************************************************** Step #3 - "compile-libfuzzer-coverage-x86_64": Failed to build. Step #3 - "compile-libfuzzer-coverage-x86_64": To reproduce, run: Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_image juju Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_fuzzers --sanitizer coverage --engine libfuzzer --architecture x86_64 juju Step #3 - "compile-libfuzzer-coverage-x86_64": ******************************************************************************** Finished Step #3 - "compile-libfuzzer-coverage-x86_64" ERROR ERROR: build step 3 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1