-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add CIFuzz integration #6904
Add CIFuzz integration #6904
Conversation
@DavidKorczynski Have it found any bugs already? |
@DavidKorczynski could you investigate why CIFuzz fails for this PR? |
Yes, am on it! |
@DavidKorczynski do you try to build it as a regular go project? This should not work, it has to be build with bazel. If you need to have code structured in a GOPATH directory tree, you can use: |
@avagin the issue was on the CIFuzz infrastructure as the build set up OSS-Fuzz uses worked in non-CIFuzz conditions. I think the issue was related to google/oss-fuzz#6755 which has been fixed, but I also added an extra fix here google/oss-fuzz#6951 If you retrigger the CI then it should work |
@DavidKorczynski It passes now. But it is still unclear whether it will be able to find anything useful without building gvisor with bazel. In https://github.com/google/gvisor/runs/4398857745?check_suite_focus=true, I see that fuzzer was running for a few seconds and exited when it triggered the first crash. Is it expected behavior? We set fuzz-seconds to 600, I think it has to run for 10 minutes. |
I believe the fuzzer will stop once it finds a crash, but am not sure why the CI passes given a crash was found - @jonathanmetzman can you advice here? |
CIFuzz (and libFuzzer) quits after finding the first crash when fuzzing a PR. I can tell this is what happened, because of the log line:
|
Thanks a lot for the clarification @jonathanmetzman ! |
A friendly reminder that this PR had no activity for 120 days. |
This PR has been closed due to lack of activity. |
Add CIFuzz workflow action to have fuzzers build and run on each PR.
This is a service offered by OSS-Fuzz, on which gvisor already runs.