Skip to content

Envoy Gateway: Help needed - Coverage build is failing after using compile_native_go_fuzzer_v2 #14263

@sudiptob2

Description

@sudiptob2

After using the compile_native_go_fuzzer_v2, we encountered some issues with the fuzzing build. These were resolved using the suggestion provided here: google/oss-fuzz#14190. Thanks for the help to resolve that! However, the coverage build is still failing.

Reference: Build logs

Relevant log excerpt:

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/FuzzGatewayAPIToXDS.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/FuzzGatewayAPIToXDS.zip or
Step #5:         /corpus/FuzzGatewayAPIToXDS.zip.zip, and cannot find /corpus/FuzzGatewayAPIToXDS.zip.ZIP, period.
Step #5: Failed to unpack the corpus for FuzzGatewayAPIToXDS. 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.

It appears that the coverage build is looking for a ZIP file for the corpus that does not exist.
We are currently using the FuzzGatewayAPIToXDS_seed_corpus.zip naming pattern for the seed corpus file, which previously worked without issues.

Looking for guidance on the possible cause of this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions