Skip to content

Add OSS-Fuzz on Demand build steps to upload testcases #13296

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

Merged
merged 9 commits into from
May 12, 2025

Conversation

decoNR
Copy link
Collaborator

@decoNR decoNR commented May 9, 2025

Add build steps to generate an access token and use it to upload a testcase if OSS-Fuzz on Demand found crashes.

  • Add ood_upload_testcase.py script to which upload a testcase on ClusterFuzz External upload testcase endpoint.
  • Add a build step to generate the access token using gcloud auth print-access-token.
  • Add a build step to run ood_upload_testcase.py in Google Cloud Build.

Related to b/401215144 .

@decoNR
Copy link
Collaborator Author

decoNR commented May 9, 2025

/gcbrun oss_fuzz_on_demand.py libucl --fuzzing-engine mopt --fuzz-target ucl_add_string_fuzzer

Copy link
Contributor

@jonathanmetzman jonathanmetzman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good.

@decoNR
Copy link
Collaborator Author

decoNR commented May 9, 2025

/gcbrun oss_fuzz_on_demand.py libucl --fuzzing-engine mopt --fuzz-target ucl_add_string_fuzzer

@jonathanmetzman jonathanmetzman merged commit 91f90ff into master May 12, 2025
18 of 19 checks passed
@jonathanmetzman jonathanmetzman deleted the ood_upload_testcase branch May 12, 2025 16:34
@decoNR
Copy link
Collaborator Author

decoNR commented May 12, 2025

/gcbrun oss_fuzz_on_demand.py libucl --fuzzing-engine mopt --fuzz-target ucl_add_string_fuzzer

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

Successfully merging this pull request may close these issues.

3 participants