starting build "5a124b65-c9eb-4ffe-9121-38c5b3638a71" 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 12.29kB Step #1: Step 1/5 : FROM gcr.io/oss-fuzz-base/base-builder@sha256:19782f7fe8092843368894dbc471ce9b30dd6a2813946071a36e8b05f5b1e27e Step #1: gcr.io/oss-fuzz-base/base-builder@sha256:19782f7fe8092843368894dbc471ce9b30dd6a2813946071a36e8b05f5b1e27e: Pulling from oss-fuzz-base/base-builder Step #1: b549f31133a9: Pulling fs layer Step #1: d993ff311503: Pulling fs layer Step #1: 5faf80b993b8: Pulling fs layer Step #1: 7946d0b643b7: Pulling fs layer Step #1: eb738e08bf3b: Pulling fs layer Step #1: 248822a2340b: Pulling fs layer Step #1: fa316482a80e: Pulling fs layer Step #1: 3393bbb458d0: Pulling fs layer Step #1: a8fda90a5506: Pulling fs layer Step #1: afcadef54a23: Pulling fs layer Step #1: 4e97a59f9033: Pulling fs layer Step #1: 4a03bd5b3e5c: Pulling fs layer Step #1: be0ac42f34b4: Pulling fs layer Step #1: 7aa9bde37b90: Pulling fs layer Step #1: 95ec4b1337ee: Pulling fs layer Step #1: 19b55f7a831c: Pulling fs layer Step #1: e9c556d304cd: Pulling fs layer Step #1: f9c1e39d9c40: Pulling fs layer Step #1: 5807a1e31ffb: Pulling fs layer Step #1: acc07ec90c58: Pulling fs layer Step #1: d143eec22c7b: Pulling fs layer Step #1: 34c38be78f62: Pulling fs layer Step #1: aa952184efec: Pulling fs layer Step #1: cb7850020c26: Pulling fs layer Step #1: 9a4eb374175f: Pulling fs layer Step #1: b453205b01ff: Pulling fs layer Step #1: fbea61822e28: Pulling fs layer Step #1: 66724beef5c1: Pulling fs layer Step #1: a204a5883dc9: Pulling fs layer Step #1: 62abd8198968: Pulling fs layer Step #1: 248822a2340b: Waiting Step #1: fa316482a80e: Waiting Step #1: 3393bbb458d0: Waiting Step #1: aa952184efec: Waiting Step #1: a8fda90a5506: Waiting Step #1: be0ac42f34b4: Waiting Step #1: 95ec4b1337ee: Waiting Step #1: cb7850020c26: Waiting Step #1: 7aa9bde37b90: Waiting Step #1: afcadef54a23: Waiting Step #1: 9a4eb374175f: Waiting Step #1: 19b55f7a831c: Waiting Step #1: 4a03bd5b3e5c: Waiting Step #1: b453205b01ff: Waiting Step #1: 4e97a59f9033: Waiting Step #1: acc07ec90c58: Waiting Step #1: e9c556d304cd: Waiting Step #1: fbea61822e28: Waiting Step #1: f9c1e39d9c40: Waiting Step #1: d143eec22c7b: Waiting Step #1: 5807a1e31ffb: Waiting Step #1: 34c38be78f62: Waiting Step #1: eb738e08bf3b: Waiting Step #1: 7946d0b643b7: Waiting Step #1: 62abd8198968: Waiting Step #1: 66724beef5c1: Waiting Step #1: a204a5883dc9: Waiting Step #1: 5faf80b993b8: Verifying Checksum Step #1: 5faf80b993b8: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 7946d0b643b7: Verifying Checksum Step #1: 7946d0b643b7: Download complete Step #1: d993ff311503: Verifying Checksum Step #1: d993ff311503: Download complete Step #1: 248822a2340b: Verifying Checksum Step #1: 248822a2340b: Download complete Step #1: eb738e08bf3b: Verifying Checksum Step #1: eb738e08bf3b: Download complete Step #1: a8fda90a5506: Verifying Checksum Step #1: a8fda90a5506: Download complete Step #1: 3393bbb458d0: Verifying Checksum Step #1: 3393bbb458d0: Download complete Step #1: b549f31133a9: Pull complete Step #1: 4e97a59f9033: Verifying Checksum Step #1: 4e97a59f9033: Download complete Step #1: 4a03bd5b3e5c: Verifying Checksum Step #1: 4a03bd5b3e5c: Download complete Step #1: be0ac42f34b4: Verifying Checksum Step #1: be0ac42f34b4: Download complete Step #1: afcadef54a23: Verifying Checksum Step #1: afcadef54a23: Download complete Step #1: 7aa9bde37b90: Verifying Checksum Step #1: 7aa9bde37b90: Download complete Step #1: 95ec4b1337ee: Verifying Checksum Step #1: 19b55f7a831c: Verifying Checksum Step #1: 19b55f7a831c: Download complete Step #1: fa316482a80e: Verifying Checksum Step #1: fa316482a80e: Download complete Step #1: f9c1e39d9c40: Verifying Checksum Step #1: f9c1e39d9c40: Download complete Step #1: e9c556d304cd: Verifying Checksum Step #1: e9c556d304cd: Download complete Step #1: 5807a1e31ffb: Verifying Checksum Step #1: 5807a1e31ffb: Download complete Step #1: d143eec22c7b: Download complete Step #1: acc07ec90c58: Verifying Checksum Step #1: acc07ec90c58: Download complete Step #1: aa952184efec: Download complete Step #1: 34c38be78f62: Verifying Checksum Step #1: 34c38be78f62: Download complete Step #1: d993ff311503: Pull complete Step #1: cb7850020c26: Download complete Step #1: 5faf80b993b8: Pull complete Step #1: 9a4eb374175f: Verifying Checksum Step #1: 9a4eb374175f: Download complete Step #1: b453205b01ff: Verifying Checksum Step #1: b453205b01ff: Download complete Step #1: 66724beef5c1: Verifying Checksum Step #1: 66724beef5c1: Download complete Step #1: fbea61822e28: Download complete Step #1: a204a5883dc9: Verifying Checksum Step #1: a204a5883dc9: Download complete Step #1: 62abd8198968: Verifying Checksum Step #1: 62abd8198968: Download complete Step #1: 7946d0b643b7: Pull complete Step #1: eb738e08bf3b: Pull complete Step #1: 248822a2340b: Pull complete Step #1: fa316482a80e: Pull complete Step #1: 3393bbb458d0: Pull complete Step #1: a8fda90a5506: Pull complete Step #1: afcadef54a23: Pull complete Step #1: 4e97a59f9033: Pull complete Step #1: 4a03bd5b3e5c: Pull complete Step #1: be0ac42f34b4: Pull complete Step #1: 7aa9bde37b90: Pull complete Step #1: 95ec4b1337ee: Pull complete Step #1: 19b55f7a831c: Pull complete Step #1: e9c556d304cd: Pull complete Step #1: f9c1e39d9c40: Pull complete Step #1: 5807a1e31ffb: Pull complete Step #1: acc07ec90c58: Pull complete Step #1: d143eec22c7b: Pull complete Step #1: 34c38be78f62: Pull complete Step #1: aa952184efec: Pull complete Step #1: cb7850020c26: Pull complete Step #1: 9a4eb374175f: Pull complete Step #1: b453205b01ff: Pull complete Step #1: fbea61822e28: Pull complete Step #1: 66724beef5c1: Pull complete Step #1: a204a5883dc9: Pull complete Step #1: 62abd8198968: Pull complete Step #1: Digest: sha256:19782f7fe8092843368894dbc471ce9b30dd6a2813946071a36e8b05f5b1e27e Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder@sha256:19782f7fe8092843368894dbc471ce9b30dd6a2813946071a36e8b05f5b1e27e Step #1: ---> e39a0777485f Step #1: Step 2/5 : RUN apt-get update && apt-get install -y zlib1g-dev libicu-dev Step #1: ---> Running in 6cdbfafe401f Step #1: Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB] Step #1: Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Step #1: Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] Step #1: Get:4 http://security.ubuntu.com/ubuntu focal-security/multiverse i386 Packages [9973 B] Step #1: Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB] Step #1: Get:6 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1301 kB] Step #1: Get:7 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [44.3 kB] Step #1: Get:8 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4632 kB] Step #1: Get:9 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4266 kB] Step #1: Get:10 http://security.ubuntu.com/ubuntu focal-security/restricted i386 Packages [47.5 kB] Step #1: Get:11 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [40.8 kB] Step #1: Get:12 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4432 kB] Step #1: Get:13 http://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [1334 kB] Step #1: Get:14 http://archive.ubuntu.com/ubuntu focal-updates/multiverse i386 Packages [11.4 kB] Step #1: Get:15 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4742 kB] Step #1: Get:16 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages [861 kB] Step #1: Get:17 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [1054 kB] Step #1: Get:18 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1593 kB] Step #1: Get:19 http://archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [1021 kB] Step #1: Get:20 http://archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [49.4 kB] Step #1: Fetched 25.8 MB in 3s (9706 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 additional packages will be installed: Step #1: icu-devtools libicu66 Step #1: Suggested packages: Step #1: icu-doc Step #1: The following NEW packages will be installed: Step #1: icu-devtools libicu-dev libicu66 zlib1g-dev Step #1: 0 upgraded, 4 newly installed, 0 to remove and 56 not upgraded. Step #1: Need to get 18.3 MB of archives. Step #1: After this operation, 79.5 MB of additional disk space will be used. Step #1: Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libicu66 amd64 66.1-2ubuntu2.1 [8515 kB] Step #1: Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 icu-devtools amd64 66.1-2ubuntu2.1 [189 kB] Step #1: Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libicu-dev amd64 66.1-2ubuntu2.1 [9451 kB] Step #1: Get:4 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 18.3 MB in 2s (10.2 MB/s) Step #1: Selecting previously unselected package libicu66: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 ... 17384 files and directories currently installed.) Step #1: Preparing to unpack .../libicu66_66.1-2ubuntu2.1_amd64.deb ... Step #1: Unpacking libicu66:amd64 (66.1-2ubuntu2.1) ... Step #1: Selecting previously unselected package icu-devtools. Step #1: Preparing to unpack .../icu-devtools_66.1-2ubuntu2.1_amd64.deb ... Step #1: Unpacking icu-devtools (66.1-2ubuntu2.1) ... Step #1: Selecting previously unselected package libicu-dev:amd64. Step #1: Preparing to unpack .../libicu-dev_66.1-2ubuntu2.1_amd64.deb ... Step #1: Unpacking libicu-dev:amd64 (66.1-2ubuntu2.1) ... Step #1: Selecting previously unselected package zlib1g-dev:amd64. 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 libicu66:amd64 (66.1-2ubuntu2.1) ... Step #1: Setting up icu-devtools (66.1-2ubuntu2.1) ... Step #1: Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ... Step #1: Setting up libicu-dev:amd64 (66.1-2ubuntu2.1) ... Step #1: Processing triggers for libc-bin (2.31-0ubuntu9.14) ... Step #1: Removing intermediate container 6cdbfafe401f Step #1: ---> f24b761d77a7 Step #1: Step 3/5 : RUN git clone --depth 1 https://github.com/google/quiche Step #1: ---> Running in 3036593a9a2a Step #1: Cloning into 'quiche'... Step #1: Removing intermediate container 3036593a9a2a Step #1: ---> ada59bd3d14e Step #1: Step 4/5 : COPY build.sh *.diff $SRC/ Step #1: ---> 064f97f0b263 Step #1: Step 5/5 : WORKDIR $SRC/quiche Step #1: ---> Running in be38bfedd51e Step #1: Removing intermediate container be38bfedd51e Step #1: ---> 33c695642fbc Step #1: Successfully built 33c695642fbc Step #1: Successfully tagged gcr.io/oss-fuzz/quiche:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/quiche Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileeXxtuN Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ c++ == \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/quiche/.git Step #2 - "srcmap": + GIT_DIR=/src/quiche Step #2 - "srcmap": + cd /src/quiche Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/google/quiche Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=386a5cf016e4eec564aa4d5e0067c815146423bb Step #2 - "srcmap": + jq_inplace /tmp/fileeXxtuN '."/src/quiche" = { type: "git", url: "https://github.com/google/quiche", rev: "386a5cf016e4eec564aa4d5e0067c815146423bb" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileeiPpDb Step #2 - "srcmap": + cat /tmp/fileeXxtuN Step #2 - "srcmap": + jq '."/src/quiche" = { type: "git", url: "https://github.com/google/quiche", rev: "386a5cf016e4eec564aa4d5e0067c815146423bb" }' Step #2 - "srcmap": + mv /tmp/fileeiPpDb /tmp/fileeXxtuN 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/fileeXxtuN Step #2 - "srcmap": + rm /tmp/fileeXxtuN Step #2 - "srcmap": { Step #2 - "srcmap": "/src/quiche": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/google/quiche", Step #2 - "srcmap": "rev": "386a5cf016e4eec564aa4d5e0067c815146423bb" 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 -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 -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": + find / -name 'libicu*.so' -exec rm '{}' ';' Step #3 - "compile-libfuzzer-coverage-x86_64": + find / -name 'libicu*.so.66' -exec rm '{}' ';' Step #3 - "compile-libfuzzer-coverage-x86_64": + find / -name 'libicu*.so.66.1' -exec rm '{}' ';' Step #3 - "compile-libfuzzer-coverage-x86_64": + git apply /src/quiche-patch.diff Step #3 - "compile-libfuzzer-coverage-x86_64": error: WORKSPACE.bazel: 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 quiche Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_fuzzers --sanitizer coverage --engine libfuzzer --architecture x86_64 quiche 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