Closed Bug 1921801 Opened 1 month ago Closed 1 month ago

OSS-Fuzz build failure

Categories

(NSS :: Test, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mdauer, Assigned: mdauer)

Details

Attachments

(1 file)

OSS-Fuzz builds are failing (https://oss-fuzz-build-logs.storage.googleapis.com/log-e574b8b2-6617-4fa5-a0fa-62476c067417.txt):

...
Step #3 - "compile-afl-address-x86_64":   adding: src/nss-corpus/quickder/fe61d4d0189c7bf2526840b60cb891fa5b58cade (deflated 84%)
Step #3 - "compile-afl-address-x86_64": ./automation/ossfuzz/build.sh: line 28: /usr/bin/zip: Argument list too long
Step #3 - "compile-afl-address-x86_64": ********************************************************************************
Step #3 - "compile-afl-address-x86_64": Failed to build.
Step #3 - "compile-afl-address-x86_64": To reproduce, run:
Step #3 - "compile-afl-address-x86_64": python infra/helper.py build_image nss
Step #3 - "compile-afl-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine afl --architecture x86_64 nss
Step #3 - "compile-afl-address-x86_64": ********************************************************************************
Finished Step #3 - "compile-afl-address-x86_64"
ERROR
ERROR: build step 3 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

If there is no corpus for a given target in the github nss-fuzzing-corpus repo, the current script will try to create a zip including the corpus of every target (see https://searchfox.org/nss/rev/cb5ee58c5b96e2facb45c1b5705f5666211f0f28/automation/ossfuzz/build.sh#28), however this fails due to there being simply to many.

We have too many corpus files across all targets now that we can't simply zip them to create the seed corpus for a target without an existing corpus. Instead start out without a seed corpus and add a corpus later.

Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: