-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
CI: Add CIFuzz integration #3563
CI: Add CIFuzz integration #3563
Conversation
Signed-off-by: David Korczynski <[email protected]>
steps: | ||
- name: Build Fuzzers | ||
id: build | ||
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should use a specific version to prevent CI breaking if there id a breaking change on the master branch.
I can pin it to a specific commit hash if you'd like? Looks like we're already hitting an issue in CIFuzz actually, and I believe it's related to this line in the log:
Which happens the code of |
Thanks for the PR! My main personal question on this is how long it takes in CI since building the fuzzers can take quite some time. We can try to get a successful build first to get that information. The error on CI to me looks like submodules may not be checked out, and it looks like google/oss-fuzz is in charge of the git checkout process as well so that may be the point of error? |
Sounds good, will get that fixed up.
I think the issue is the same as here: google/oss-fuzz#6755 I can fix up the wasmtime |
@alexcrichton I think it should work now - could you trigger the CI to verify? |
the button has been pushed |
Ok looks like it worked, but clocks in at just over and hour, which I think is a bit strenuous for our current CI situation unfortunately |
Fair enough, I guess the OSS-Fuzz build time is the heavy hitter (42 min) but am unsure if this can be improved. Most likely it can't be improved to to the point where it fits your CI situation - let's close this PR? |
Yeah just a bit too slow to block PRs on. I think we'll have to accept the latency associated with waiting for the next time oss-fuzz pulls and rebuilds wasmtime. Thanks for investigating this, though, @DavidKorczynski! |
Signed-off-by: David Korczynski [email protected]
Add CIFuzz workflow action to have the OSS-Fuzz set up of Wasmtime build and run on each PR.
I noticed you have another fuzzing job in your CI and thought you might be interested in using CIFuzz instead/as well.
@alexcrichton I think you might be an appropriate reviewer of this PR.