starting build "937aa72c-bd91-46fb-8a70-6a8092a9dd0e" 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 5.632kB Step #1: Step 1/5 : FROM gcr.io/oss-fuzz-base/base-builder-swift Step #1: latest: Pulling from oss-fuzz-base/base-builder-swift 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: 111633040162: Waiting Step #1: 0d3facbb2d8c: Pulling fs layer Step #1: aa9066b95eb6: Pulling fs layer Step #1: 5bf7dd58428c: Waiting Step #1: ff11ed875e6f: Pulling fs layer Step #1: 33f6a6d38c7e: Pulling fs layer Step #1: 632c9b314f45: Waiting Step #1: 5ecd2cf410de: Pulling fs layer Step #1: 8ae501891266: Waiting Step #1: 702a45c3ae33: Pulling fs layer Step #1: df6fed191aed: Pulling fs layer Step #1: 3058f8e90c86: Waiting Step #1: 585a77add601: Pulling fs layer Step #1: c377fa4fb781: Waiting Step #1: dd93f2d10c99: Pulling fs layer Step #1: 2336eb300fb9: Waiting Step #1: 09429854c898: Waiting Step #1: 71af8faf61ed: Waiting Step #1: 687fd097ee80: Waiting Step #1: 2aa39f787b87: Waiting Step #1: ff11ed875e6f: Waiting Step #1: d3f87be3762e: Waiting Step #1: 7f1e63401161: Waiting Step #1: 33f6a6d38c7e: Waiting Step #1: 6fd806021fc2: Waiting Step #1: cf8b5802c762: Waiting Step #1: 0e6dab0925eb: Waiting Step #1: 118105242bd8: Waiting Step #1: a987fc666fa1: Waiting Step #1: 233e05621483: Waiting Step #1: 0d3facbb2d8c: Waiting Step #1: 585a77add601: Waiting Step #1: df6fed191aed: Waiting Step #1: 5ecd2cf410de: Waiting Step #1: 9d856dc172cd: Waiting Step #1: 2707ad88823d: Waiting Step #1: af6705528e9c: Waiting Step #1: dd93f2d10c99: Waiting Step #1: aa9066b95eb6: Waiting Step #1: 62275a527176: Verifying Checksum Step #1: 62275a527176: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 5bf7dd58428c: Download complete Step #1: 111633040162: Verifying Checksum Step #1: 111633040162: Download complete Step #1: 632c9b314f45: Verifying Checksum Step #1: 632c9b314f45: Download complete Step #1: 3058f8e90c86: Verifying Checksum Step #1: 3058f8e90c86: Download complete Step #1: c377fa4fb781: Verifying Checksum Step #1: c377fa4fb781: Download complete Step #1: dd0bbb17640b: Verifying Checksum Step #1: dd0bbb17640b: 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: 2336eb300fb9: Verifying Checksum Step #1: 2336eb300fb9: Download complete Step #1: 0e6dab0925eb: Verifying Checksum 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: 8ae501891266: Verifying Checksum Step #1: 8ae501891266: 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: 9d856dc172cd: Verifying Checksum Step #1: 9d856dc172cd: Download complete Step #1: a987fc666fa1: Verifying Checksum Step #1: a987fc666fa1: Download complete Step #1: 233e05621483: Download complete Step #1: 0d3facbb2d8c: Verifying Checksum Step #1: 0d3facbb2d8c: 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: dd0bbb17640b: Pull complete Step #1: 702a45c3ae33: Verifying Checksum Step #1: 702a45c3ae33: Download complete Step #1: 5ecd2cf410de: Download complete Step #1: 62275a527176: Pull complete Step #1: df6fed191aed: Verifying Checksum Step #1: df6fed191aed: Download complete Step #1: dd93f2d10c99: Verifying Checksum Step #1: dd93f2d10c99: Download complete Step #1: 111633040162: Pull complete Step #1: 5bf7dd58428c: Pull complete Step #1: 632c9b314f45: Pull complete Step #1: cf8b5802c762: Verifying Checksum Step #1: cf8b5802c762: Download complete Step #1: 585a77add601: Verifying Checksum Step #1: 585a77add601: 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: 585a77add601: Pull complete Step #1: dd93f2d10c99: Pull complete Step #1: Digest: sha256:fe65ac8c5615d76f5fc986a65b73a601273e9767345927ade4863cfffbe9c1c8 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-swift:latest Step #1: ---> ddddd2e47142 Step #1: Step 2/5 : RUN apt-get update && apt-get install -y zlib1g-dev Step #1: ---> Running in c9802a9b570a Step #1: Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Step #1: Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] Step #1: Get:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB] Step #1: Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB] Step #1: Fetched 383 kB in 35s (11.1 kB/s) Step #1: Reading package lists... Step #1: Reading package lists... Step #1: Building dependency tree... Step #1: Reading state information... Step #1: The following NEW packages will be installed: Step #1: zlib1g-dev Step #1: 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Step #1: Need to get 155 kB of archives. Step #1: After this operation, 607 kB of additional disk space will be used. Step #1: Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2ubuntu1.5 [155 kB] Step #1: debconf: delaying package configuration, since apt-utils is not installed Step #1: Fetched 155 kB in 38s (4140 B/s) Step #1: Selecting previously unselected package zlib1g-dev:amd64. Step #1: (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 22114 files and directories currently installed.) Step #1: Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu1.5_amd64.deb ... Step #1: Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ... Step #1: Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ... Step #1: Removing intermediate container c9802a9b570a Step #1: ---> 066dfd3b789d Step #1: Step 3/5 : RUN git clone --depth 1 https://github.com/grpc/grpc-swift Step #1: ---> Running in 2c888f92533f Step #1: Cloning into 'grpc-swift'... Step #1: Removing intermediate container 2c888f92533f Step #1: ---> cec907bbea74 Step #1: Step 4/5 : COPY build.sh $SRC Step #1: ---> d7cac603814b Step #1: Step 5/5 : WORKDIR $SRC/grpc-swift Step #1: ---> Running in 8afc8ca946b9 Step #1: Removing intermediate container 8afc8ca946b9 Step #1: ---> 8bcec9e3c39f Step #1: Successfully built 8bcec9e3c39f Step #1: Successfully tagged gcr.io/oss-fuzz/grpc-swift:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/grpc-swift Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileiHXqnN Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ swift == \g\o ]] Step #2 - "srcmap": ++ find /src -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/grpc-swift/.git Step #2 - "srcmap": + GIT_DIR=/src/grpc-swift Step #2 - "srcmap": + cd /src/grpc-swift Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/grpc/grpc-swift Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=e4da2bbb0d50bd741d8c1d7ca9a99aae672f08df Step #2 - "srcmap": + jq_inplace /tmp/fileiHXqnN '."/src/grpc-swift" = { type: "git", url: "https://github.com/grpc/grpc-swift", rev: "e4da2bbb0d50bd741d8c1d7ca9a99aae672f08df" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileVh08m9 Step #2 - "srcmap": + cat /tmp/fileiHXqnN Step #2 - "srcmap": + jq '."/src/grpc-swift" = { type: "git", url: "https://github.com/grpc/grpc-swift", rev: "e4da2bbb0d50bd741d8c1d7ca9a99aae672f08df" }' Step #2 - "srcmap": + mv /tmp/fileVh08m9 /tmp/fileiHXqnN Step #2 - "srcmap": ++ find /src -name .svn -type d Step #2 - "srcmap": ++ find /src -name .hg -type d Step #2 - "srcmap": + '[' '' '!=' '' ']' Step #2 - "srcmap": + cat /tmp/fileiHXqnN Step #2 - "srcmap": + rm /tmp/fileiHXqnN Step #2 - "srcmap": { Step #2 - "srcmap": "/src/grpc-swift": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/grpc/grpc-swift", Step #2 - "srcmap": "rev": "e4da2bbb0d50bd741d8c1d7ca9a99aae672f08df" 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++ 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": + . precompile_swift Step #3 - "compile-libfuzzer-coverage-x86_64": ++ cp /usr/local/bin/llvm-symbolizer-swift /workspace/out/libfuzzer-coverage-x86_64/llvm-symbolizer Step #3 - "compile-libfuzzer-coverage-x86_64": ++ export 'SWIFTFLAGS=-Xswiftc -parse-as-library -Xswiftc -static-stdlib --static-swift-stdlib' Step #3 - "compile-libfuzzer-coverage-x86_64": ++ SWIFTFLAGS='-Xswiftc -parse-as-library -Xswiftc -static-stdlib --static-swift-stdlib' Step #3 - "compile-libfuzzer-coverage-x86_64": ++ '[' coverage = coverage ']' Step #3 - "compile-libfuzzer-coverage-x86_64": ++ export 'SWIFTFLAGS=-Xswiftc -parse-as-library -Xswiftc -static-stdlib --static-swift-stdlib -Xswiftc -profile-generate -Xswiftc -profile-coverage-mapping -Xswiftc -sanitize=fuzzer' Step #3 - "compile-libfuzzer-coverage-x86_64": ++ SWIFTFLAGS='-Xswiftc -parse-as-library -Xswiftc -static-stdlib --static-swift-stdlib -Xswiftc -profile-generate -Xswiftc -profile-coverage-mapping -Xswiftc -sanitize=fuzzer' Step #3 - "compile-libfuzzer-coverage-x86_64": + cd FuzzTesting Step #3 - "compile-libfuzzer-coverage-x86_64": /src/build.sh: line 20: cd: FuzzTesting: No such file or 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 grpc-swift Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_fuzzers --sanitizer coverage --engine libfuzzer --architecture x86_64 grpc-swift 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