Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverage failing for my project Grok #12797

Closed
boxerab opened this issue Nov 30, 2024 · 5 comments
Closed

Coverage failing for my project Grok #12797

boxerab opened this issue Nov 30, 2024 · 5 comments

Comments

@boxerab
Copy link
Contributor

boxerab commented Nov 30, 2024

https://github.com/GrokImageCompression/grok

shows coverage failure.

https://issues.oss-fuzz.com/issues?q=proj:grok

How do I find out what the issue is ?

Thanks!

@jonathanmetzman
Copy link
Contributor

For other OSS-Fuzz mainainters:
Grok's issue isn't caused by the oss-fuzz infra, as there are successful backups each day.

@boxerab
Copy link
Contributor Author

boxerab commented Dec 18, 2024

Here is buganizer bug grok: Coverage build failure

https://issues.oss-fuzz.com/issues/382930452

@boxerab
Copy link
Contributor Author

boxerab commented Dec 18, 2024

@jonathanmetzman here is the failure in buganizer

Step #4: 9988718851b4: Pull complete
Step #4: Digest: sha256:2ffdb77d3ad5bbb77a4f4001222d9591cf96747c5d799afa78f7a03ffcc86b48
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/grk_decompress_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/grk_decompress_fuzzer.zip or
Step #5:         /corpus/grk_decompress_fuzzer.zip.zip, and cannot find /corpus/grk_decompress_fuzzer.zip.ZIP, period.
Step #5: Failed to unpack the corpus for grk_decompress_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 grok
Step #5: python infra/helper.py build_fuzzers --sanitizer coverage grok
Step #5: python infra/helper.py coverage grok
Step #5: ********************************************************************************

I was able to successfully generate the report locally using last three commands

Step #5: python infra/helper.py build_image grok
Step #5: python infra/helper.py build_fuzzers --sanitizer coverage grok
Step #5: python infra/helper.py coverage grok

This is not a grok fuzzer bug - how would you recommend I proceed on this issue? Thanks!

@DavidKorczynski
Copy link
Collaborator

Similar issues are happening in fast_float: fastfloat/fast_float#297

@boxerab
Copy link
Contributor Author

boxerab commented Dec 26, 2024

this is working again - a miracle! closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants