starting build "d617ffb6-02e5-4e09-b96c-c6268c49a718" 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: 160496dfdc1e: Pulling fs layer Step #1: e2c1e6ffb55e: Pulling fs layer Step #1: 790f0b60d601: Pulling fs layer Step #1: ba5377523637: Pulling fs layer Step #1: fcf19af99e9b: Pulling fs layer Step #1: c120616e8611: Pulling fs layer Step #1: 648979ff9271: Pulling fs layer Step #1: 38b58f40b986: Pulling fs layer Step #1: 6fec27639895: Pulling fs layer Step #1: 6311c17bee61: Pulling fs layer Step #1: 63cd1cde0eec: Pulling fs layer Step #1: 1ef02760f71f: Pulling fs layer Step #1: fda5a71c8862: Pulling fs layer Step #1: 7ad2f7c615a2: Pulling fs layer Step #1: 0b07407e6342: Pulling fs layer Step #1: fbed995eca46: Pulling fs layer Step #1: 4381c7f8884c: Pulling fs layer Step #1: bd3393df7542: Pulling fs layer Step #1: f8afaf16f210: Pulling fs layer Step #1: 086216b75b6f: Pulling fs layer Step #1: ebb3d4059a93: Pulling fs layer Step #1: 1cb7b39b268b: Pulling fs layer Step #1: fd1f752e3c9f: Pulling fs layer Step #1: 84db406b755d: Pulling fs layer Step #1: 3968f7202bef: Pulling fs layer Step #1: 37c0a55501a4: Pulling fs layer Step #1: ba5377523637: Waiting Step #1: fddacf1580ff: Pulling fs layer Step #1: 3c790d5687e6: Pulling fs layer Step #1: 0fcda4deea49: Pulling fs layer Step #1: cfc1aaab3799: Pulling fs layer Step #1: 5764b068ae0e: Pulling fs layer Step #1: 194048614a23: Pulling fs layer Step #1: 64893f5960a8: Pulling fs layer Step #1: 63cd1cde0eec: Waiting Step #1: 1ef02760f71f: Waiting Step #1: 790f0b60d601: Waiting Step #1: 194048614a23: Waiting Step #1: 38b58f40b986: Waiting Step #1: 6fec27639895: Waiting Step #1: 6311c17bee61: Waiting Step #1: 7ad2f7c615a2: Waiting Step #1: 64893f5960a8: Waiting Step #1: 3c790d5687e6: Waiting Step #1: 37c0a55501a4: Waiting Step #1: 086216b75b6f: Waiting Step #1: fda5a71c8862: Waiting Step #1: 1cb7b39b268b: Waiting Step #1: 648979ff9271: Waiting Step #1: fd1f752e3c9f: Waiting Step #1: ebb3d4059a93: Waiting Step #1: fcf19af99e9b: Waiting Step #1: 5764b068ae0e: Waiting Step #1: cfc1aaab3799: Waiting Step #1: fddacf1580ff: Waiting Step #1: f8afaf16f210: Waiting Step #1: c120616e8611: Waiting Step #1: 3968f7202bef: Waiting Step #1: 84db406b755d: Waiting Step #1: e2c1e6ffb55e: Download complete Step #1: b549f31133a9: Download complete Step #1: 790f0b60d601: Verifying Checksum Step #1: 790f0b60d601: Download complete Step #1: fcf19af99e9b: Verifying Checksum Step #1: fcf19af99e9b: Download complete Step #1: ba5377523637: Verifying Checksum Step #1: ba5377523637: Download complete Step #1: 160496dfdc1e: Verifying Checksum Step #1: 160496dfdc1e: Download complete Step #1: 648979ff9271: Download complete Step #1: 38b58f40b986: Download complete Step #1: 6311c17bee61: Verifying Checksum Step #1: 6311c17bee61: Download complete Step #1: b549f31133a9: Pull complete Step #1: 63cd1cde0eec: Verifying Checksum Step #1: 63cd1cde0eec: Download complete Step #1: 1ef02760f71f: Verifying Checksum Step #1: 1ef02760f71f: Download complete Step #1: fda5a71c8862: Verifying Checksum Step #1: fda5a71c8862: Download complete Step #1: 7ad2f7c615a2: Verifying Checksum Step #1: 7ad2f7c615a2: Download complete Step #1: 6fec27639895: Verifying Checksum Step #1: 6fec27639895: Download complete Step #1: fbed995eca46: Verifying Checksum Step #1: fbed995eca46: Download complete Step #1: 0b07407e6342: Verifying Checksum Step #1: 0b07407e6342: Download complete Step #1: bd3393df7542: Verifying Checksum Step #1: bd3393df7542: Download complete Step #1: 4381c7f8884c: Download complete Step #1: f8afaf16f210: Verifying Checksum Step #1: f8afaf16f210: Download complete Step #1: 086216b75b6f: Download complete Step #1: ebb3d4059a93: Verifying Checksum Step #1: ebb3d4059a93: Download complete Step #1: 1cb7b39b268b: Verifying Checksum Step #1: 1cb7b39b268b: Download complete Step #1: fd1f752e3c9f: Download complete Step #1: 84db406b755d: Verifying Checksum Step #1: 84db406b755d: Download complete Step #1: 3968f7202bef: Verifying Checksum Step #1: 3968f7202bef: Download complete Step #1: c120616e8611: Verifying Checksum Step #1: c120616e8611: Download complete Step #1: 37c0a55501a4: Verifying Checksum Step #1: 37c0a55501a4: Download complete Step #1: fddacf1580ff: Verifying Checksum Step #1: fddacf1580ff: Download complete Step #1: 0fcda4deea49: Verifying Checksum Step #1: 0fcda4deea49: Download complete Step #1: 3c790d5687e6: Verifying Checksum Step #1: 3c790d5687e6: Download complete Step #1: cfc1aaab3799: Verifying Checksum Step #1: cfc1aaab3799: Download complete Step #1: 5764b068ae0e: Verifying Checksum Step #1: 5764b068ae0e: Download complete Step #1: 64893f5960a8: Verifying Checksum Step #1: 64893f5960a8: Download complete Step #1: 160496dfdc1e: Pull complete Step #1: e2c1e6ffb55e: Pull complete Step #1: 790f0b60d601: Pull complete Step #1: ba5377523637: Pull complete Step #1: fcf19af99e9b: Pull complete Step #1: 194048614a23: Verifying Checksum Step #1: 194048614a23: Download complete Step #1: c120616e8611: Pull complete Step #1: 648979ff9271: Pull complete Step #1: 38b58f40b986: Pull complete Step #1: 6fec27639895: Pull complete Step #1: 6311c17bee61: Pull complete Step #1: 63cd1cde0eec: Pull complete Step #1: 1ef02760f71f: Pull complete Step #1: fda5a71c8862: Pull complete Step #1: 7ad2f7c615a2: Pull complete Step #1: 0b07407e6342: Pull complete Step #1: fbed995eca46: Pull complete Step #1: 4381c7f8884c: Pull complete Step #1: bd3393df7542: Pull complete Step #1: f8afaf16f210: Pull complete Step #1: 086216b75b6f: Pull complete Step #1: ebb3d4059a93: Pull complete Step #1: 1cb7b39b268b: Pull complete Step #1: fd1f752e3c9f: Pull complete Step #1: 84db406b755d: Pull complete Step #1: 3968f7202bef: Pull complete Step #1: 37c0a55501a4: Pull complete Step #1: fddacf1580ff: Pull complete Step #1: 3c790d5687e6: Pull complete Step #1: 0fcda4deea49: Pull complete Step #1: cfc1aaab3799: Pull complete Step #1: 5764b068ae0e: Pull complete Step #1: 194048614a23: Pull complete Step #1: 64893f5960a8: Pull complete Step #1: Digest: sha256:cc0fd421845ee6373ac62736af05978657212c780174838eab779221221967d1 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-swift:latest Step #1: ---> c1859539f7d6 Step #1: Step 2/5 : RUN apt-get update && apt-get install -y zlib1g-dev Step #1: ---> Running in 1ff0eca8573e Step #1: Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Step #1: Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease Step #1: Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] Step #1: Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease Step #1: Fetched 128 kB in 1s (140 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 0s (688 kB/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 1ff0eca8573e Step #1: ---> bdab523e24cf Step #1: Step 3/5 : RUN git clone --depth 1 https://github.com/grpc/grpc-swift Step #1: ---> Running in c60f12a70876 Step #1: Cloning into 'grpc-swift'... Step #1: Removing intermediate container c60f12a70876 Step #1: ---> ed592c6d0147 Step #1: Step 4/5 : COPY build.sh $SRC Step #1: ---> 1068a5b0d7e9 Step #1: Step 5/5 : WORKDIR $SRC/grpc-swift Step #1: ---> Running in 47783e7edb8c Step #1: Removing intermediate container 47783e7edb8c Step #1: ---> a8f7f1cd3670 Step #1: Successfully built a8f7f1cd3670 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/fileBei05N 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=574eea6fc652d2c32f27d577f9e074f2292c0d06 Step #2 - "srcmap": + jq_inplace /tmp/fileBei05N '."/src/grpc-swift" = { type: "git", url: "https://github.com/grpc/grpc-swift", rev: "574eea6fc652d2c32f27d577f9e074f2292c0d06" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/file7JPM98 Step #2 - "srcmap": + cat /tmp/fileBei05N Step #2 - "srcmap": + jq '."/src/grpc-swift" = { type: "git", url: "https://github.com/grpc/grpc-swift", rev: "574eea6fc652d2c32f27d577f9e074f2292c0d06" }' Step #2 - "srcmap": + mv /tmp/file7JPM98 /tmp/fileBei05N 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/fileBei05N Step #2 - "srcmap": + rm /tmp/fileBei05N 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": "574eea6fc652d2c32f27d577f9e074f2292c0d06" 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