starting build "ca6a46e8-62b2-48cd-956c-19420c86ab0b" 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.12kB Step #1: Step 1/4 : FROM gcr.io/oss-fuzz-base/base-builder Step #1: latest: Pulling from oss-fuzz-base/base-builder Step #1: b549f31133a9: Pulling fs layer Step #1: 27a60affb188: Pulling fs layer Step #1: fe996ae7dc59: Pulling fs layer Step #1: 87e0e48e0cd6: Pulling fs layer Step #1: f835b9e0cf1c: Pulling fs layer Step #1: af789c137254: Pulling fs layer Step #1: aff0ac00717e: Pulling fs layer Step #1: 3b1039f9896d: Pulling fs layer Step #1: 03589768b946: Pulling fs layer Step #1: 476467ef4fc6: Pulling fs layer Step #1: 3c766dd49ffb: Pulling fs layer Step #1: cfbfe91f834e: Pulling fs layer Step #1: 87e0e48e0cd6: Waiting Step #1: 0b187dafa8d3: Pulling fs layer Step #1: 345ac71c4767: Pulling fs layer Step #1: 7eadecc7791c: Pulling fs layer Step #1: dde9b3807101: Pulling fs layer Step #1: aa322f9d5179: Pulling fs layer Step #1: af789c137254: Waiting Step #1: ed7ec7eeb8fb: Pulling fs layer Step #1: f835b9e0cf1c: Waiting Step #1: fcd3b4f5fe45: Pulling fs layer Step #1: aff0ac00717e: Waiting Step #1: 03589768b946: Waiting Step #1: 88e3f27d7c68: Pulling fs layer Step #1: 84249ace8dd9: Pulling fs layer Step #1: 3b1039f9896d: Waiting Step #1: b48628b9660b: Pulling fs layer Step #1: 476467ef4fc6: Waiting Step #1: 560589aab225: Pulling fs layer Step #1: 3c766dd49ffb: Waiting Step #1: 8049d1ac7afb: Pulling fs layer Step #1: 9ca13435c3d5: Pulling fs layer Step #1: bdf125cfc8ec: Pulling fs layer Step #1: cfbfe91f834e: Waiting Step #1: 479b0a7911fe: Pulling fs layer Step #1: 0b187dafa8d3: Waiting Step #1: b33bd0575475: Pulling fs layer Step #1: 58dcb60388c1: Pulling fs layer Step #1: 345ac71c4767: Waiting Step #1: b8e63fb00ce7: Pulling fs layer Step #1: d8ea79b21b9a: Pulling fs layer Step #1: 7eadecc7791c: Waiting Step #1: 74524f23875e: Pulling fs layer Step #1: 8a3a946d5a7c: Pulling fs layer Step #1: 8328a6d3718e: Pulling fs layer Step #1: fcd3b4f5fe45: Waiting Step #1: 88e3f27d7c68: Waiting Step #1: 560589aab225: Waiting Step #1: ed7ec7eeb8fb: Waiting Step #1: 8049d1ac7afb: Waiting Step #1: 84249ace8dd9: Waiting Step #1: 479b0a7911fe: Waiting Step #1: dde9b3807101: Waiting Step #1: b48628b9660b: Waiting Step #1: 9ca13435c3d5: Waiting Step #1: aa322f9d5179: Waiting Step #1: bdf125cfc8ec: Waiting Step #1: b33bd0575475: Waiting Step #1: 74524f23875e: Waiting Step #1: 8a3a946d5a7c: Waiting Step #1: b8e63fb00ce7: Waiting Step #1: d8ea79b21b9a: Waiting Step #1: 58dcb60388c1: Waiting Step #1: fe996ae7dc59: Verifying Checksum Step #1: fe996ae7dc59: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: f835b9e0cf1c: Verifying Checksum Step #1: f835b9e0cf1c: Download complete Step #1: 87e0e48e0cd6: Verifying Checksum Step #1: 87e0e48e0cd6: Download complete Step #1: af789c137254: Download complete Step #1: 3b1039f9896d: Verifying Checksum Step #1: 3b1039f9896d: Download complete Step #1: 27a60affb188: Verifying Checksum Step #1: 27a60affb188: Download complete Step #1: 03589768b946: Verifying Checksum Step #1: 03589768b946: Download complete Step #1: b549f31133a9: Pull complete Step #1: 3c766dd49ffb: Verifying Checksum Step #1: 3c766dd49ffb: Download complete Step #1: cfbfe91f834e: Verifying Checksum Step #1: cfbfe91f834e: Download complete Step #1: 0b187dafa8d3: Download complete Step #1: 345ac71c4767: Verifying Checksum Step #1: 345ac71c4767: Download complete Step #1: 7eadecc7791c: Verifying Checksum Step #1: 7eadecc7791c: Download complete Step #1: dde9b3807101: Verifying Checksum Step #1: dde9b3807101: Download complete Step #1: 476467ef4fc6: Verifying Checksum Step #1: 476467ef4fc6: Download complete Step #1: aa322f9d5179: Verifying Checksum Step #1: aa322f9d5179: Download complete Step #1: ed7ec7eeb8fb: Verifying Checksum Step #1: ed7ec7eeb8fb: Download complete Step #1: fcd3b4f5fe45: Verifying Checksum Step #1: fcd3b4f5fe45: Download complete Step #1: 88e3f27d7c68: Verifying Checksum Step #1: 88e3f27d7c68: Download complete Step #1: 84249ace8dd9: Verifying Checksum Step #1: 84249ace8dd9: Download complete Step #1: b48628b9660b: Download complete Step #1: 560589aab225: Verifying Checksum Step #1: 560589aab225: Download complete Step #1: 8049d1ac7afb: Verifying Checksum Step #1: 8049d1ac7afb: Download complete Step #1: aff0ac00717e: Verifying Checksum Step #1: aff0ac00717e: Download complete Step #1: 9ca13435c3d5: Download complete Step #1: 479b0a7911fe: Verifying Checksum Step #1: 479b0a7911fe: Download complete Step #1: b33bd0575475: Verifying Checksum Step #1: b33bd0575475: Download complete Step #1: bdf125cfc8ec: Verifying Checksum Step #1: bdf125cfc8ec: Download complete Step #1: 58dcb60388c1: Verifying Checksum Step #1: 58dcb60388c1: Download complete Step #1: d8ea79b21b9a: Download complete Step #1: b8e63fb00ce7: Verifying Checksum Step #1: b8e63fb00ce7: Download complete Step #1: 74524f23875e: Verifying Checksum Step #1: 74524f23875e: Download complete Step #1: 8328a6d3718e: Verifying Checksum Step #1: 8328a6d3718e: Download complete Step #1: 8a3a946d5a7c: Download complete Step #1: 27a60affb188: Pull complete Step #1: fe996ae7dc59: Pull complete Step #1: 87e0e48e0cd6: Pull complete Step #1: f835b9e0cf1c: Pull complete Step #1: af789c137254: Pull complete Step #1: aff0ac00717e: Pull complete Step #1: 3b1039f9896d: Pull complete Step #1: 03589768b946: Pull complete Step #1: 476467ef4fc6: Pull complete Step #1: 3c766dd49ffb: Pull complete Step #1: cfbfe91f834e: Pull complete Step #1: 0b187dafa8d3: Pull complete Step #1: 345ac71c4767: Pull complete Step #1: 7eadecc7791c: Pull complete Step #1: dde9b3807101: Pull complete Step #1: aa322f9d5179: Pull complete Step #1: ed7ec7eeb8fb: Pull complete Step #1: fcd3b4f5fe45: Pull complete Step #1: 88e3f27d7c68: Pull complete Step #1: 84249ace8dd9: Pull complete Step #1: b48628b9660b: Pull complete Step #1: 560589aab225: Pull complete Step #1: 8049d1ac7afb: Pull complete Step #1: 9ca13435c3d5: Pull complete Step #1: bdf125cfc8ec: Pull complete Step #1: 479b0a7911fe: Pull complete Step #1: b33bd0575475: Pull complete Step #1: 58dcb60388c1: Pull complete Step #1: b8e63fb00ce7: Pull complete Step #1: d8ea79b21b9a: Pull complete Step #1: 74524f23875e: Pull complete Step #1: 8a3a946d5a7c: Pull complete Step #1: 8328a6d3718e: Pull complete Step #1: Digest: sha256:112a54785eaf7e70ca82ab22a35e45df51227f5bb0e5125fcc05f446fa324a7e Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> fec8bbbf3c13 Step #1: Step 2/4 : RUN apt-get update && apt-get --no-install-recommends install -y build-essential make curl wget Step #1: ---> Running in 233d93b7656f 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://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB] Step #1: Fetched 383 kB in 1s (578 kB/s) Step #1: Reading package lists... Step #1: Reading package lists... Step #1: Building dependency tree... Step #1: Reading state information... Step #1: make is already the newest version (4.2.1-1.2). Step #1: make set to manually installed. Step #1: build-essential is already the newest version (12.8ubuntu1.1). Step #1: curl is already the newest version (7.68.0-1ubuntu2.25). Step #1: wget is already the newest version (1.20.3-1ubuntu2.1). Step #1: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Step #1: Removing intermediate container 233d93b7656f Step #1: ---> 8b5034bd78ff Step #1: Step 3/4 : RUN git clone --depth=1 https://github.com/sparklemotion/nokogiri.git Step #1: ---> Running in 8ed4c1fb09e5 Step #1: Cloning into 'nokogiri'... Step #1: Removing intermediate container 8ed4c1fb09e5 Step #1: ---> c0c8055a66bb Step #1: Step 4/4 : COPY build.sh $SRC Step #1: ---> 7b6252a12020 Step #1: Successfully built 7b6252a12020 Step #1: Successfully tagged gcr.io/oss-fuzz/nokogiri:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/nokogiri Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileFuRP0M 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/nokogiri/.git Step #2 - "srcmap": + GIT_DIR=/src/nokogiri Step #2 - "srcmap": + cd /src/nokogiri Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/sparklemotion/nokogiri.git Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=130b173f4560f748c81b6f5aea8159571de9f75f Step #2 - "srcmap": + jq_inplace /tmp/fileFuRP0M '."/src/nokogiri" = { type: "git", url: "https://github.com/sparklemotion/nokogiri.git", rev: "130b173f4560f748c81b6f5aea8159571de9f75f" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileXKQCbd Step #2 - "srcmap": + cat /tmp/fileFuRP0M Step #2 - "srcmap": + jq '."/src/nokogiri" = { type: "git", url: "https://github.com/sparklemotion/nokogiri.git", rev: "130b173f4560f748c81b6f5aea8159571de9f75f" }' Step #2 - "srcmap": + mv /tmp/fileXKQCbd /tmp/fileFuRP0M 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/fileFuRP0M Step #2 - "srcmap": + rm /tmp/fileFuRP0M Step #2 - "srcmap": { Step #2 - "srcmap": "/src/nokogiri": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/sparklemotion/nokogiri.git", Step #2 - "srcmap": "rev": "130b173f4560f748c81b6f5aea8159571de9f75f" 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": + cd nokogiri/gumbo-parser Step #3 - "compile-libfuzzer-coverage-x86_64": + make oss-fuzz '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' '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": mkdir -p build/test Step #3 - "compile-libfuzzer-coverage-x86_64": mkdir -p build/src Step #3 - "compile-libfuzzer-coverage-x86_64": ./fuzzer/build-ossfuzz.sh Step #3 - "compile-libfuzzer-coverage-x86_64": + cd src Step #3 - "compile-libfuzzer-coverage-x86_64": + make Step #3 - "compile-libfuzzer-coverage-x86_64": make[1]: Entering directory '/src/nokogiri/gumbo-parser/src' Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -c -o ascii.o ascii.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -c -o attribute.o attribute.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -c -o char_ref.o char_ref.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -c -o error.o error.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -c -o foreign_attrs.o foreign_attrs.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -c -o hashmap.o hashmap.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -c -o parser.o parser.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -c -o string_buffer.o string_buffer.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -c -o string_piece.o string_piece.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -c -o string_set.o string_set.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -c -o svg_attrs.o svg_attrs.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -c -o svg_tags.o svg_tags.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -c -o tag.o tag.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -c -o tag_lookup.o tag_lookup.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -c -o token_buffer.o token_buffer.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -c -o tokenizer.o tokenizer.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -c -o utf8.o utf8.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -c -o util.o util.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -c -o vector.o vector.c Step #3 - "compile-libfuzzer-coverage-x86_64": ar rv libgumbo.a ascii.o attribute.o char_ref.o error.o foreign_attrs.o hashmap.o parser.o string_buffer.o string_piece.o string_set.o svg_attrs.o svg_tags.o tag.o tag_lookup.o token_buffer.o tokenizer.o utf8.o util.o vector.o Step #3 - "compile-libfuzzer-coverage-x86_64": ar: creating libgumbo.a Step #3 - "compile-libfuzzer-coverage-x86_64": a - ascii.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - attribute.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - char_ref.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - error.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - foreign_attrs.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - hashmap.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - parser.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - string_buffer.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - string_piece.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - string_set.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - svg_attrs.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - svg_tags.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - tag.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - tag_lookup.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - token_buffer.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - tokenizer.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - utf8.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - util.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - vector.o Step #3 - "compile-libfuzzer-coverage-x86_64": (ranlib libgumbo.a || true) >/dev/null 2>&1 Step #3 - "compile-libfuzzer-coverage-x86_64": make[1]: Leaving directory '/src/nokogiri/gumbo-parser/src' Step #3 - "compile-libfuzzer-coverage-x86_64": + cd ../ Step #3 - "compile-libfuzzer-coverage-x86_64": + clang++ -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++ -o /workspace/out/libfuzzer-coverage-x86_64/parse_fuzzer fuzzer/parse_fuzzer.cc src/libgumbo.a -fsanitize=fuzzer Step #3 - "compile-libfuzzer-coverage-x86_64": + cp fuzzer/gumbo.dict /workspace/out/libfuzzer-coverage-x86_64/parse_fuzzer.dict Step #3 - "compile-libfuzzer-coverage-x86_64": + cp fuzzer/gumbo_corpus.zip /workspace/out/libfuzzer-coverage-x86_64/parse_fuzzer_seed_corpus.zip Finished Step #3 - "compile-libfuzzer-coverage-x86_64" Starting Step #4 Step #4: Pulling image: gcr.io/oss-fuzz-base/base-runner Step #4: Using default tag: latest Step #4: latest: Pulling from oss-fuzz-base/base-runner Step #4: b549f31133a9: Already exists Step #4: 27a60affb188: Already exists Step #4: fe996ae7dc59: Already exists Step #4: 1fb60f76380f: Pulling fs layer Step #4: ceacc69a5eb6: Pulling fs layer Step #4: 56df53c7e92f: Pulling fs layer Step #4: 5b0678c590a1: Pulling fs layer Step #4: 643b93c5a493: Pulling fs layer Step #4: 3a053ccbe2fc: Pulling fs layer Step #4: 75399c9193ed: Pulling fs layer Step #4: 73b63ae67252: Pulling fs layer Step #4: 958e446b901c: Pulling fs layer Step #4: 596eac7a3fb3: Pulling fs layer Step #4: 3f5cabb069a2: Pulling fs layer Step #4: 82db9b94cb83: Pulling fs layer Step #4: c75b5213d1e6: Pulling fs layer Step #4: 09665408fcc1: Pulling fs layer Step #4: 512c6bb36969: Pulling fs layer Step #4: b8df1e8c820b: Pulling fs layer Step #4: 552a7107d98a: Pulling fs layer Step #4: eb6497a150eb: Pulling fs layer Step #4: 4e0ebe252713: Pulling fs layer Step #4: a210141399dc: Pulling fs layer Step #4: 49e603669c49: Pulling fs layer Step #4: 5b0678c590a1: Waiting Step #4: fd39327fd459: Pulling fs layer Step #4: 471f435a1c08: Pulling fs layer Step #4: 643b93c5a493: Waiting Step #4: 3a053ccbe2fc: Waiting Step #4: 75399c9193ed: Waiting Step #4: eb6497a150eb: Waiting Step #4: 82db9b94cb83: Waiting Step #4: a210141399dc: Waiting Step #4: 73b63ae67252: Waiting Step #4: 49e603669c49: Waiting Step #4: 3f5cabb069a2: Waiting Step #4: 4e0ebe252713: Waiting Step #4: c75b5213d1e6: Waiting Step #4: 958e446b901c: Waiting Step #4: 596eac7a3fb3: Waiting Step #4: fd39327fd459: Waiting Step #4: 512c6bb36969: Waiting Step #4: 552a7107d98a: Waiting Step #4: b8df1e8c820b: Waiting Step #4: 471f435a1c08: Waiting Step #4: 56df53c7e92f: Download complete Step #4: 1fb60f76380f: Verifying Checksum Step #4: 1fb60f76380f: Download complete Step #4: ceacc69a5eb6: Verifying Checksum Step #4: ceacc69a5eb6: Download complete Step #4: 5b0678c590a1: Verifying Checksum Step #4: 5b0678c590a1: Download complete Step #4: 1fb60f76380f: Pull complete Step #4: 643b93c5a493: Verifying Checksum Step #4: 643b93c5a493: Download complete Step #4: 75399c9193ed: Download complete Step #4: 73b63ae67252: Verifying Checksum Step #4: 73b63ae67252: Download complete Step #4: 958e446b901c: Download complete Step #4: ceacc69a5eb6: Pull complete Step #4: 56df53c7e92f: Pull complete Step #4: 3f5cabb069a2: Verifying Checksum Step #4: 3f5cabb069a2: Download complete Step #4: 3a053ccbe2fc: Verifying Checksum Step #4: 3a053ccbe2fc: Download complete Step #4: 5b0678c590a1: Pull complete Step #4: 82db9b94cb83: Verifying Checksum Step #4: 82db9b94cb83: Download complete Step #4: c75b5213d1e6: Verifying Checksum Step #4: c75b5213d1e6: Download complete Step #4: 643b93c5a493: Pull complete Step #4: 512c6bb36969: Verifying Checksum Step #4: 512c6bb36969: Download complete Step #4: 596eac7a3fb3: Verifying Checksum Step #4: 596eac7a3fb3: Download complete Step #4: 09665408fcc1: Verifying Checksum Step #4: 09665408fcc1: Download complete Step #4: 552a7107d98a: Verifying Checksum Step #4: 552a7107d98a: Download complete Step #4: eb6497a150eb: Download complete Step #4: 4e0ebe252713: Verifying Checksum Step #4: 4e0ebe252713: Download complete Step #4: a210141399dc: Verifying Checksum Step #4: a210141399dc: Download complete Step #4: 3a053ccbe2fc: Pull complete Step #4: 49e603669c49: Verifying Checksum Step #4: 49e603669c49: Download complete Step #4: fd39327fd459: Verifying Checksum Step #4: fd39327fd459: Download complete Step #4: 75399c9193ed: Pull complete Step #4: 73b63ae67252: Pull complete Step #4: b8df1e8c820b: Verifying Checksum Step #4: b8df1e8c820b: Download complete Step #4: 471f435a1c08: Verifying Checksum Step #4: 471f435a1c08: Download complete Step #4: 958e446b901c: Pull complete Step #4: 596eac7a3fb3: Pull complete Step #4: 3f5cabb069a2: Pull complete Step #4: 82db9b94cb83: Pull complete Step #4: c75b5213d1e6: Pull complete Step #4: 09665408fcc1: Pull complete Step #4: 512c6bb36969: Pull complete Step #4: b8df1e8c820b: Pull complete Step #4: 552a7107d98a: Pull complete Step #4: eb6497a150eb: Pull complete Step #4: 4e0ebe252713: Pull complete Step #4: a210141399dc: Pull complete Step #4: 49e603669c49: Pull complete Step #4: fd39327fd459: Pull complete Step #4: 471f435a1c08: Pull complete Step #4: Digest: sha256:6380368e5a1bcc9a8c85c797794b7522f246f2693da3edf42319530441784b00 Step #4: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-runner:latest Step #4: gcr.io/oss-fuzz-base/base-runner:latest Finished Step #4 Starting Step #5 Step #5: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Step #5: [/corpus/parse_fuzzer.zip] Step #5: End-of-central-directory signature not found. Either this file is not Step #5: a zipfile, or it constitutes one disk of a multi-part archive. In the Step #5: latter case the central directory and zipfile comment will be found on Step #5: the last disk(s) of this archive. Step #5: unzip: cannot find zipfile directory in one of /corpus/parse_fuzzer.zip or Step #5: /corpus/parse_fuzzer.zip.zip, and cannot find /corpus/parse_fuzzer.zip.ZIP, period. Step #5: Failed to unpack the corpus for parse_fuzzer. This usually means that corpus backup for a particular fuzz target does not exist. If a fuzz target was added in the last 24 hours, please wait one more day. Otherwise, something is wrong with the fuzz target or the infrastructure, and corpus pruning task does not finish successfully. Step #5: ******************************************************************************** Step #5: Code coverage report generation failed. Step #5: To reproduce, run: Step #5: python infra/helper.py build_image nokogiri Step #5: python infra/helper.py build_fuzzers --sanitizer coverage nokogiri Step #5: python infra/helper.py coverage nokogiri Step #5: ******************************************************************************** Finished Step #5 ERROR ERROR: build step 5 "gcr.io/oss-fuzz-base/base-runner" failed: step exited with non-zero status: 1