starting build "b8942ba3-9143-4ed5-a9a5-06c2c2785dda" 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: a977fd1d1d2c: Pulling fs layer Step #1: b7af597d0683: Pulling fs layer Step #1: 0ad851ab79a7: Pulling fs layer Step #1: 32d6a845953a: Pulling fs layer Step #1: 13291e1f0083: Pulling fs layer Step #1: 12c3fa064ec9: Pulling fs layer Step #1: 5bf877a30e45: Pulling fs layer Step #1: 12c76ab55805: Pulling fs layer Step #1: bcee33c0f2c5: Pulling fs layer Step #1: 00901539164e: Pulling fs layer Step #1: 652e81a6c3ce: Pulling fs layer Step #1: 2bd7184f3186: Pulling fs layer Step #1: 6ef14a282d78: Pulling fs layer Step #1: f0b30797ba63: Pulling fs layer Step #1: c255474facb8: Pulling fs layer Step #1: 2037056aed43: Pulling fs layer Step #1: 4ea8cc67e5b1: Pulling fs layer Step #1: 1593bc33732e: Pulling fs layer Step #1: fac862d0d976: Pulling fs layer Step #1: 8a5f772dc665: Pulling fs layer Step #1: a682fa05afee: Pulling fs layer Step #1: 50ae31b489cf: Pulling fs layer Step #1: 32d6a845953a: Waiting Step #1: 13291e1f0083: Waiting Step #1: bcfe6fcb5c6a: Pulling fs layer Step #1: 88ea93146e84: Pulling fs layer Step #1: 912a9adfcdcb: Pulling fs layer Step #1: 7ec1d093c1da: Pulling fs layer Step #1: 12c3fa064ec9: Waiting Step #1: 5bf877a30e45: Waiting Step #1: 12c76ab55805: Waiting Step #1: 6ef14a282d78: Waiting Step #1: 8c8a3977119b: Pulling fs layer Step #1: f0b30797ba63: Waiting Step #1: 7e3654bd47ef: Pulling fs layer Step #1: bcee33c0f2c5: Waiting Step #1: 390d9580ed9e: Pulling fs layer Step #1: 00901539164e: Waiting Step #1: dcd9de8bf193: Pulling fs layer Step #1: 2bd7184f3186: Waiting Step #1: 652e81a6c3ce: Waiting Step #1: f97e0fb3e819: Pulling fs layer Step #1: c255474facb8: Waiting Step #1: 1593bc33732e: Waiting Step #1: 50ae31b489cf: Waiting Step #1: 2037056aed43: Waiting Step #1: 7ec1d093c1da: Waiting Step #1: bcfe6fcb5c6a: Waiting Step #1: fac862d0d976: Waiting Step #1: 4ea8cc67e5b1: Waiting Step #1: 7e3654bd47ef: Waiting Step #1: 8c8a3977119b: Waiting Step #1: a682fa05afee: Waiting Step #1: 88ea93146e84: Waiting Step #1: 912a9adfcdcb: Waiting Step #1: 390d9580ed9e: Waiting Step #1: 8a5f772dc665: Waiting Step #1: f97e0fb3e819: Waiting Step #1: dcd9de8bf193: Waiting Step #1: b7af597d0683: Verifying Checksum Step #1: b7af597d0683: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 0ad851ab79a7: Verifying Checksum Step #1: 0ad851ab79a7: Download complete Step #1: 32d6a845953a: Verifying Checksum Step #1: 32d6a845953a: Download complete Step #1: 13291e1f0083: Verifying Checksum Step #1: 13291e1f0083: Download complete Step #1: 5bf877a30e45: Download complete Step #1: a977fd1d1d2c: Verifying Checksum Step #1: a977fd1d1d2c: Download complete Step #1: 12c76ab55805: Verifying Checksum Step #1: 12c76ab55805: Download complete Step #1: 00901539164e: Verifying Checksum Step #1: 00901539164e: Download complete Step #1: b549f31133a9: Pull complete Step #1: 652e81a6c3ce: Download complete Step #1: 2bd7184f3186: Verifying Checksum Step #1: 2bd7184f3186: Download complete Step #1: 6ef14a282d78: Verifying Checksum Step #1: 6ef14a282d78: Download complete Step #1: f0b30797ba63: Verifying Checksum Step #1: f0b30797ba63: Download complete Step #1: c255474facb8: Verifying Checksum Step #1: c255474facb8: Download complete Step #1: 2037056aed43: Verifying Checksum Step #1: 2037056aed43: Download complete Step #1: bcee33c0f2c5: Verifying Checksum Step #1: bcee33c0f2c5: Download complete Step #1: 4ea8cc67e5b1: Download complete Step #1: 1593bc33732e: Verifying Checksum Step #1: 1593bc33732e: Download complete Step #1: fac862d0d976: Verifying Checksum Step #1: fac862d0d976: Download complete Step #1: 8a5f772dc665: Verifying Checksum Step #1: 8a5f772dc665: Download complete Step #1: a682fa05afee: Verifying Checksum Step #1: a682fa05afee: Download complete Step #1: 50ae31b489cf: Verifying Checksum Step #1: 50ae31b489cf: Download complete Step #1: bcfe6fcb5c6a: Verifying Checksum Step #1: bcfe6fcb5c6a: Download complete Step #1: 88ea93146e84: Verifying Checksum Step #1: 88ea93146e84: Download complete Step #1: 912a9adfcdcb: Verifying Checksum Step #1: 912a9adfcdcb: Download complete Step #1: 12c3fa064ec9: Verifying Checksum Step #1: 12c3fa064ec9: Download complete Step #1: 8c8a3977119b: Verifying Checksum Step #1: 8c8a3977119b: Download complete Step #1: 7ec1d093c1da: Verifying Checksum Step #1: 7ec1d093c1da: Download complete Step #1: 390d9580ed9e: Verifying Checksum Step #1: 390d9580ed9e: Download complete Step #1: dcd9de8bf193: Verifying Checksum Step #1: dcd9de8bf193: Download complete Step #1: 7e3654bd47ef: Verifying Checksum Step #1: 7e3654bd47ef: Download complete Step #1: f97e0fb3e819: Verifying Checksum Step #1: f97e0fb3e819: Download complete Step #1: a977fd1d1d2c: Pull complete Step #1: b7af597d0683: Pull complete Step #1: 0ad851ab79a7: Pull complete Step #1: 32d6a845953a: Pull complete Step #1: 13291e1f0083: Pull complete Step #1: 12c3fa064ec9: Pull complete Step #1: 5bf877a30e45: Pull complete Step #1: 12c76ab55805: Pull complete Step #1: bcee33c0f2c5: Pull complete Step #1: 00901539164e: Pull complete Step #1: 652e81a6c3ce: Pull complete Step #1: 2bd7184f3186: Pull complete Step #1: 6ef14a282d78: Pull complete Step #1: f0b30797ba63: Pull complete Step #1: c255474facb8: Pull complete Step #1: 2037056aed43: Pull complete Step #1: 4ea8cc67e5b1: Pull complete Step #1: 1593bc33732e: Pull complete Step #1: fac862d0d976: Pull complete Step #1: 8a5f772dc665: Pull complete Step #1: a682fa05afee: Pull complete Step #1: 50ae31b489cf: Pull complete Step #1: bcfe6fcb5c6a: Pull complete Step #1: 88ea93146e84: Pull complete Step #1: 912a9adfcdcb: Pull complete Step #1: 7ec1d093c1da: Pull complete Step #1: 8c8a3977119b: Pull complete Step #1: 7e3654bd47ef: Pull complete Step #1: 390d9580ed9e: Pull complete Step #1: dcd9de8bf193: Pull complete Step #1: f97e0fb3e819: Pull complete Step #1: Digest: sha256:3483860ed8c7c32d28b30449c48c00eb12ea78cd2eb8cc9ab0af89e4d3a0f4b7 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> 0723cd9b4673 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 ece4542696b5 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 (134 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.23). 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 ece4542696b5 Step #1: ---> 2948f2dc371e Step #1: Step 3/4 : RUN git clone --depth=1 https://github.com/sparklemotion/nokogiri.git Step #1: ---> Running in be3ba5c6149c Step #1: Cloning into 'nokogiri'... Step #1: Removing intermediate container be3ba5c6149c Step #1: ---> c85fb1b3a9c9 Step #1: Step 4/4 : COPY build.sh $SRC Step #1: ---> 3d5e8638b08a Step #1: Successfully built 3d5e8638b08a 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/file5fyA3O 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=8692abc662c03090229514169a7fac538e0593ab Step #2 - "srcmap": + jq_inplace /tmp/file5fyA3O '."/src/nokogiri" = { type: "git", url: "https://github.com/sparklemotion/nokogiri.git", rev: "8692abc662c03090229514169a7fac538e0593ab" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filetKFkEc Step #2 - "srcmap": + cat /tmp/file5fyA3O Step #2 - "srcmap": + jq '."/src/nokogiri" = { type: "git", url: "https://github.com/sparklemotion/nokogiri.git", rev: "8692abc662c03090229514169a7fac538e0593ab" }' Step #2 - "srcmap": + mv /tmp/filetKFkEc /tmp/file5fyA3O 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/file5fyA3O Step #2 - "srcmap": + rm /tmp/file5fyA3O 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": "8692abc662c03090229514169a7fac538e0593ab" 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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 parser.o string_buffer.o string_piece.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 - 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 - 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 -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: a977fd1d1d2c: Already exists Step #4: b7af597d0683: Already exists Step #4: 13e3034c244d: Pulling fs layer Step #4: dec64d51f794: Pulling fs layer Step #4: e31f3b260b9e: Pulling fs layer Step #4: 367f9bb09834: Pulling fs layer Step #4: 5b25d2c94427: Pulling fs layer Step #4: d2a50f9fb1f3: Pulling fs layer Step #4: 8632b0bd8e7d: Pulling fs layer Step #4: 5368468cae7f: Pulling fs layer Step #4: 3c2efcf61031: Pulling fs layer Step #4: ac5a534aec8b: Pulling fs layer Step #4: b7e426295cd7: Pulling fs layer Step #4: a3f08180fccf: Pulling fs layer Step #4: d948d546ccc6: Pulling fs layer Step #4: 0ad7fe872fbd: Pulling fs layer Step #4: 6a857bbda8a0: Pulling fs layer Step #4: a70462462a24: Pulling fs layer Step #4: 2a0c7f3b0701: Pulling fs layer Step #4: 5b25d2c94427: Waiting Step #4: d2a50f9fb1f3: Waiting Step #4: 3c2efcf61031: Waiting Step #4: ac5a534aec8b: Waiting Step #4: b7e426295cd7: Waiting Step #4: 6a857bbda8a0: Waiting Step #4: a3f08180fccf: Waiting Step #4: a70462462a24: Waiting Step #4: 5368468cae7f: Waiting Step #4: d948d546ccc6: Waiting Step #4: 2a0c7f3b0701: Waiting Step #4: 8632b0bd8e7d: Waiting Step #4: 367f9bb09834: Waiting Step #4: 13e3034c244d: Verifying Checksum Step #4: 13e3034c244d: Download complete Step #4: e31f3b260b9e: Verifying Checksum Step #4: e31f3b260b9e: Download complete Step #4: dec64d51f794: Verifying Checksum Step #4: dec64d51f794: Download complete Step #4: 13e3034c244d: Pull complete Step #4: d2a50f9fb1f3: Verifying Checksum Step #4: d2a50f9fb1f3: Download complete Step #4: 5b25d2c94427: Verifying Checksum Step #4: 5b25d2c94427: Download complete Step #4: 8632b0bd8e7d: Verifying Checksum Step #4: 8632b0bd8e7d: Download complete Step #4: dec64d51f794: Pull complete Step #4: 3c2efcf61031: Download complete Step #4: e31f3b260b9e: Pull complete Step #4: 5368468cae7f: Download complete Step #4: b7e426295cd7: Verifying Checksum Step #4: b7e426295cd7: Download complete Step #4: 367f9bb09834: Download complete Step #4: a3f08180fccf: Download complete Step #4: d948d546ccc6: Verifying Checksum Step #4: d948d546ccc6: Download complete Step #4: 6a857bbda8a0: Verifying Checksum Step #4: 6a857bbda8a0: Download complete Step #4: a70462462a24: Verifying Checksum Step #4: a70462462a24: Download complete Step #4: 2a0c7f3b0701: Verifying Checksum Step #4: 2a0c7f3b0701: Download complete Step #4: ac5a534aec8b: Verifying Checksum Step #4: ac5a534aec8b: Download complete Step #4: 0ad7fe872fbd: Verifying Checksum Step #4: 0ad7fe872fbd: Download complete Step #4: 367f9bb09834: Pull complete Step #4: 5b25d2c94427: Pull complete Step #4: d2a50f9fb1f3: Pull complete Step #4: 8632b0bd8e7d: Pull complete Step #4: 5368468cae7f: Pull complete Step #4: 3c2efcf61031: Pull complete Step #4: ac5a534aec8b: Pull complete Step #4: b7e426295cd7: Pull complete Step #4: a3f08180fccf: Pull complete Step #4: d948d546ccc6: Pull complete Step #4: 0ad7fe872fbd: Pull complete Step #4: 6a857bbda8a0: Pull complete Step #4: a70462462a24: Pull complete Step #4: 2a0c7f3b0701: Pull complete Step #4: Digest: sha256:44d0c2654e5beb6475c2a8205a6abe1b890292906574ed74740db7d2400248f9 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