Evgeny Vereshchagin
79f4ed33d9
infra: allow passing architecture=i386 to CIFuzz ( #7779 )
...
to mostly make sure that fuzz targets are buildable with
architecture=i386. Ideally CIFuzz should also download the
latest corpora using the "clusterfuzz-builds-i386" links but
it kind of works even without that.
It was tested in https://github.com/evverx/oss-fuzz/pull/13
by pointing https://github.com/evverx/systemd/pull/110 to
that fork of the oss-fuzz repository. To judge from
https://github.com/evverx/systemd/actions/runs/2406321298 it
seems to be working more or less. The "i386" job failed there
because 89b6a3f13e
to test "i386" as much as possible.
2022-06-08 15:15:27 -04:00
MarcoFalke
e23200e1e4
infra: Remove redundant --cap-add SYS_PTRACE ( #6808 )
...
* infra: Remove redundant --cap-add SYS_PTRACE
* format?
2021-11-15 11:24:55 -05:00
jonathanmetzman
01247be731
[infra][tests][NFC] Change mocked function prefix from "mocked_" to "mock_" ( #6198 )
...
Also rename mock_ functions to have impl suffix so we can use mock_ in place of mocked_
2021-08-12 11:25:57 -07:00
jonathanmetzman
432105a31a
[cifuzz][NFC] Move Workspace to workspace_utils. ( #6158 )
...
In hindsight, it doesn't have a lot to do with the rest of
config_utils. And config_utils is getting crowded.
2021-08-03 17:58:20 -07:00
jonathanmetzman
c75d1b362f
[cifuzz] Create validate method on BaseConfig ( #6135 )
...
* [cifuzz] Create validate method on BaseConfig
Use it to validate that either OSS_FUZZ_PROJECT_NAME
or BUILD_INTEGRATION_PATH is set.
Also use it to validate that workspace is set
(rather than duplicate code).
Add tests.
* Use env var hack to bypass valdiation
* fix
* fix
* fmt
* fix
* tmp
* fix
2021-08-02 12:37:37 -07:00
jonathanmetzman
6f0aa82cd1
[NFC][cifuzz] Move Workspace from docker into config_utils. ( #6117 )
...
It doesn't really fit into docker.
2021-07-27 12:11:53 -07:00
jonathanmetzman
0672aa4e1f
[CIFuzz] Don't make everything a subdirectory of /out ( #5970 )
...
Use different subdirectories of workspace for builds, old builds, coverage reports, corpora and artifacts/testscases.
2021-06-30 07:34:42 -07:00
jonathanmetzman
343e1b2d33
[CIFuzz] Add coverage report generation. ( #5937 )
...
Also:
1. Support coverage builds.
2. Add an integration test for coverage builds and reports.
3. Refactor docker code so that there is less duplication in getting arguments for docker run, in particular when handling container (production) vs no container (testing).
4. Rename coverage.py to get_coverage_report.
5. Add tests for untested functions in docker.py
6. Add a test for get_fuzz_target_runner.
2021-06-23 07:30:11 -07:00
jonathanmetzman
d7fe9935e6
Revert "[CIFuzz] End fuzzing docker processes properly ( #5473 )" ( #5651 )
...
* Revert "[CIFuzz] End fuzzing docker processes properly (#5473 )"
This reverts commit c9b3d057b0
.
This commit causes CIFuzz to hang.
2021-04-21 18:11:01 +00:00
jonathanmetzman
c9b3d057b0
[CIFuzz] End fuzzing docker processes properly ( #5473 )
...
They only right way to do this properly seems to be using docker's container id file with docker stop.
Fixes #5423
2021-04-12 08:04:35 -07:00