aboutsummaryrefslogtreecommitdiff
path: root/infra
AgeCommit message (Collapse)Author
2021-10-11Run multiple jobs/workers by setting env vars (#5924)Federico Maggi
* Run multiple jobs/workers by setting env vars ```bash $ infra/base-images/all.sh $ python3 infra/helper.py run_fuzzer -e N_JOBS=4 -e N_WORKERS=4 --engine $ENGINE $PROJECT_NAME $FUZZ_TARGET ``` * Switched from N_JOBS/WORKERS to FUZZER_EXTRA_ARGS * Added hashicorp/hcl/hclsyntax fuzzers * Getting rid of FUZZER_EXTRA_ARGS
2021-10-11profraw: move from golang to python (#6565)Catena cyber
2021-10-11Update requirements.txt (#6574)Oliver Chang
2021-10-11[cifuzz] Improve handling of coverage builds. (#6573)jonathanmetzman
Don't delete unaffected fuzzers and don't do bad build check.
2021-10-06[cifuzz][helper] Fix error message for nonexistent external project (#6558)jonathanmetzman
Say path doesn't exist instead of the last directory in path. Fixes: https://github.com/google/oss-fuzz/issues/6528
2021-10-06Fix CIFuzz coverage generation. (#6523)Oliver Chang
Also clean up the external action definitions: - Set default values for the storage repo branches. - Remove storage repo options from build_fuzzers.
2021-10-05[cifuzz] Use javascript actions library for uploading artifacts (#6552)jonathanmetzman
Delete our python implementation which appears buggy and will be annoying to maintain. Fixes: https://github.com/google/oss-fuzz/issues/6526
2021-10-05[cifuzz][prow] Support docker in docker to support prow. (#6556)jonathanmetzman
2021-10-04clusterfuzzlite: Upload builds after bad build check. (#6531)jonathanmetzman
Fixes: #6525 Depends on: #6530
2021-10-04ClusterFuzzLite: Install nodejs in cifuzz-base. (#6534)jonathanmetzman
We will use this to upload artifacts in the future.
2021-10-04rust coverage: fix binary ids padding (#6551)Catena cyber
2021-10-04[infra] Add different messages depending on bisection type (#6547)hanyoungYoo
A printed message after bisection should be different depending on the bisection type
2021-10-01[clusterfuzzlite] Keep unaffected fuzzers when uploading a build. (#6530)jonathanmetzman
Otherwise incomplete builds may be uploaded. Fixes: https://github.com/google/oss-fuzz/issues/6529 Related: https://github.com/google/oss-fuzz/issues/6525
2021-09-30[clusterfuzzlite] Include shebang line when generating project. (#6532)jonathanmetzman
Fixes: #6527
2021-09-29[infra] Add block listed target name logic from ClusterFuzz (#6538)Fabian Meumertzheim
* [infra] Add block listed target name logic from ClusterFuzz
2021-09-27Fix for rust and swift coverages (#6517)Catena cyber
* coverage: introduces llvm-cov-rel Cf https://github.com/google/oss-fuzz/issues/6268 Latest clang-14 and clang-13 used by rust or swift have a slightly different profraw file format llvm-cov-rel is tool that will update the profraw file produced by clang-13 to one readable by clang-14 llvm-cov tools * Suricata as a rust project * rust coverage: remaps every rust subdirectory in fuzz So that projects not using default fuzz_targets subdir get the good remap, and hence the good coverage report
2021-09-24Use libClusterFuzz for reproduction. (#6495)Oliver Chang
Fixes #6326.
2021-09-21Helper fixes for external projects. (#6458)Oliver Chang
- Add ":v1" suffix to Dockerfile template. - Support relative paths for external project directories.
2021-09-20Copy libc++ to /usr/local/lib instead of /usr/lib (#6493)jonathanmetzman
2021-09-17infra: Only pull images corresponding to project language (#6459)Fabian Meumertzheim
infra/helper.py build_image foobar should, when asked to pull base images, only pull the generic images as well as the base-builder for the language declared in foobar.
2021-09-17Add a cloudbuild.yaml for building CIFuzz base images. (#6457)Oliver Chang
2021-09-16Tag all base images with :v1. (#6436)Oliver Chang
To guard against major/breaking image migrations in the future. Part of #6324.
2021-09-15[helper] Use base-runner to check if fuzzer exists. (#6453)jonathanmetzman
Fixes: https://github.com/google/oss-fuzz/issues/6452
2021-09-15Update libClusterFuzz. (#6445)Oliver Chang
2021-09-15CFLite: Fix corpus pruning for git store. (#6434)Oliver Chang
Fixes #6376.
2021-09-13swift: no explicit linker (#6429)Catena cyber
ld.gold is default and works better than ld
2021-09-13Use libClusterFuzz for CIFuzz fuzzing and pruning. (#6375)Oliver Chang
Part of #6326.
2021-09-09Roll Clang to clang 14 (945cde8b6a4579406886d08f803b632e00f0b1ec) (#6362)jonathanmetzman
* Fix clang roll * Disable dataflow where it breaks
2021-09-06[base-builder-new] Remove some overlooked files. (#6389)jonathanmetzman
2021-09-05grpc-swift needs zlib (#6402)Catena cyber
* grpc-swift needs zlib * swift: do not use CFLAGS for coverage
2021-09-02Swift ideal integration (#6312)Catena cyber
* Helper flags for swift compilation * Documentation for swift project integration * Adds swift to the languages with coverage * Only thread sanitizer is supported * Fixes swift coverage target compilation * fixup flags facotring * swift: run on new ubuntu * fixup * swift: right copy for symbolizer
2021-09-02Fix i386 build uploading.Jonathan Metzman
Don't upload to x86_64 bucket. Fixes: https://github.com/google/oss-fuzz/issues/6382
2021-09-02Remove accidentally committed file (#6380)jonathanmetzman
2021-09-01[language builders] Get rid of base-builder-new (#6361)jonathanmetzman
Build all C/C++ projects in an image without rust, java, atheris (python), or go.
2021-09-01Fix go coverage builds (#6369)Abhishek Arya
* Fix go coverage builds. * Fix
2021-08-31Fix go coverage build regression. (#6367)Abhishek Arya
* Fix go coverage build regression. * Fix CI List. * Proper fix. * Revert one fix.
2021-08-31[NFC][Ubuntu upgrade] Remove base-sanitizer-libs-builder (#6364)jonathanmetzman
Functionality was already removed. This is basically dead code right now. Related: #6180
2021-08-31[languages] Handle language builders in cifuzz and ↵jonathanmetzman
build_and_push_test_images. (#6359)
2021-08-31[base-builder-new] Fix issues (#6363)jonathanmetzman
Include cargo and compile_go_fuzzer.
2021-08-30[base-builder-rust] Make install_rust.sh executable. (#6354)jonathanmetzman
2021-08-30[infra][rust] Split out rust projects to their own builder image (#6352)jonathanmetzman
2021-08-30[infra][python] Split out python projects to their own builder. (#6341)jonathanmetzman
2021-08-30[go][infra] Create base-builder-go and use it to build go projects. (#6335)jonathanmetzman
Also, update base-builder-new to copy everything base-builder does
2021-08-30[infra][jvm] Split out JVM projects to their own builder. (#6336)jonathanmetzman
2021-08-30[cifuzz] Install docker for focal. (#6339)jonathanmetzman
2021-08-27[base-builder-new] Fix compile script. (#6340)jonathanmetzman
In https://github.com/google/oss-fuzz/pull/6322 compile was synced with the version in base-builder. However, base-builder's compile assumes that rust and go are installed. This change makes it possible to run compile without those installed.
2021-08-27[infra] Do precompiles first before copying other scripts. (#6337)jonathanmetzman
This means we don't need to rebuild AFL++ and honggfuzz when iteratively working on scripts.
2021-08-27[base-images] Pin base-builder-swift instead of base-builder-newJonathan Metzman
to fix breakage. This is intended to fix the same breakage as https://github.com/google/oss-fuzz/pull/6327. But this fix does not prevent us from creating new language builder images that do not use xenial. Related: #6180
2021-08-27Fix exception in request_coverage_build. (#6328)Oliver Chang
2021-08-27Pin base-builder-new to xenial. (#6327)Oliver Chang
Build is currently breaking