Commit Graph

13 Commits

Author SHA1 Message Date
jonathanmetzman b187d131df
This allows users to skip CIFuzz's logic to only run affected fuzz (#7256)
targets.
Fixes: https://github.com/google/clusterfuzzlite/issues/85
2022-02-10 17:11:52 -05:00
jonathanmetzman 6a13aa75cc
[CFL] minimize crashes (#7120)
* cifuzz: minimize crashes

* lnt

* fix typo
2022-01-12 18:10:03 +00:00
jonathanmetzman 36e5931a19
Make a better api for platform specific config. (#6708)
1. Move most of the generic stuff into BasePlatformConfig.
2. Make a GCB platform config that sets WORKSPACE and PROJECT_SRC_PATH so users don't have to.
3. Make a skeleton prow platform_config for Mitchel to fill out.
4. Make users explicitly specify the CFL_PLATFORM so we can pick CI environments
2021-11-01 12:29:38 +00:00
jonathanmetzman b2fa3547b2
[clusterfuzzlite] Fixes for gsutil (#6683)
1 Fix usage of gsutil tool.
2 Get rid of run_fuzzers_mode and change to mode. Fixes: #6677
3 Install requirements before copying source code to make iterative development of cifuzz code faster.
2021-10-28 15:00:44 -04:00
Oliver Chang 570c150a05
cifuzz: set log level to info by default. (#6604)
Also fix some logging issues:

- Don't output every single stacktrace when determining if a crash is reproducible.
  It outputs too many things into the logs and makes it hard to read. 

- Log OSS-Fuzz corpus path

- Fix a minor typo and an error log with deleting the xenial image.
2021-10-26 02:18:17 +00:00
Oliver Chang 9aa85855b4
cifuzz: Rename run-fuzzers-mode to mode. (#6600)
Also change the default value of "ci" to the more consistent and
descriptive "code-change".
2021-10-20 15:02:17 +11:00
Oliver Chang c63ca4b8cd
Fix CIFuzz coverage generation. (#6523)
Also clean up the external action definitions:
- Set default values for the storage repo branches.
- Remove storage repo options from build_fuzzers.
2021-10-06 06:56:20 +11:00
Oliver Chang a4bc23909b
Don't upload builds in run_fuzzers. (#6151)
The current way adds a lot of ordering assumptions, and doesn't fit too
well with parallel batch fuzzing either. Add a "upload-build" boolean action
input that can be added to "build_fuzzers" to upload latest builds
instead.

Builds are now uploaded by commit hash, rather than a fixed "latest" name.
ClusterFuzzLite's download_latest_build will check the last 3 commits and download the
first available build by git hash.
2021-08-17 06:36:06 +00:00
jonathanmetzman f0a42fbb1f
[CIFuzz] Force external to use .clusterfuzzlite for build integrations. (#6167) 2021-08-04 16:13:51 -07:00
jonathanmetzman 8eb0455476
[CIFuzz] Allow users to specify if unreproducible crashes are reported (#6138) 2021-07-29 15:41:36 +00:00
jonathanmetzman 32519c1601
[cifuzz] Implement get_files_covered_by_target for external users (#6132)
This should mostly complete support for affected fuzzers for external users.
This implementation is still imperfect however. 
It relies on the name of the repo being the same as the name of the directory in $SRC/ that the repo is checked out in
(i.e. repo must be checked out in $SRC/$REPO_NAME).
2021-07-29 06:35:01 -07:00
Oliver Chang 69400fb24b
Add a Git backed filestore. (#6088)
- Add storage-repo, storage-repo-branch, and
  storage-repo-branch-coverage fields to the actions, to indicate that
  the Git filestore should be used.
- The CI provided filestore is still used for crashes and builds.
- Replace generic Filestore.upload_directory with typed upload methods
  which matches the download methods.
- Rename upload_latest_build to upload_build to make it more generic.
- Make artifact name prefixes an implementation detail of the store.

For #6052.
2021-07-27 10:46:20 +10:00
Oliver Chang 1f679f0dd2
Add external actions. (#6086)
This will be used for testing and can be moved elsewhere later.
2021-07-23 08:19:10 +10:00