Commit Graph

576 Commits

Author SHA1 Message Date
Oliver Chang 32c3befdf8 Update builds_status.py 2017-08-10 17:19:52 -07:00
Oliver Chang 3798742fa7 [infra] Fix builds query 2017-08-10 16:40:24 -07:00
Oliver Chang 57c5e5c677 [infra] Increase page size of builds list. 2017-08-10 11:47:29 -07:00
Oliver Chang 223733c213 [infra] builds_status: try to reduce 504s. 2017-08-10 11:44:19 -07:00
Max Moroz b604770ee9 [infra] Temporarily disable "test binaries" build step. 2017-08-09 18:26:19 -07:00
Max Moroz e2e0c22845 [infra] Execute test_all step (includes bad_build_check) for all builds. (#766)
* [infra] Execute test_all step (includes bad_build_check) for all builds.

* Checkout master branch as usual.
2017-08-09 15:22:02 -07:00
Max Moroz 4b73c4b308 [infra] Update bad_build_check to work with some edge cases. 2017-08-09 08:49:41 -07:00
Max Moroz 4e23946573 [infra] Pass FUZZER_BINARY to bad_build_check instead of FUZZER. 2017-08-08 15:07:45 -07:00
Max Moroz f6a3b09305 [infra] Make bad_build_check more verbose. 2017-08-08 13:03:41 -07:00
Max Moroz b1ea461e17 [infra] Add sancov binary to base-runner image in order to perform bad build checks. 2017-08-08 11:40:30 -07:00
Max Moroz f81476ca75 [infra] Add post build checks for catching and reporting bad builds + add test projects. (#754)
* [WIP] Add post build checks for catching and reporting bad builds + test projects.

* Move all type of issues into a single project. Tested all sanitizers.

* First version of the script for performing bad build checks. Still not ready to commit.\

* Added a valid example that should pass all the checks + fixed instrumentation check.

* Use SIGTERM and the handler calling _exit(0) for the startup crash case.

* Small fixes.

* Ignore startup_crash check_for fuzzing engines other than libFuzzer.

* Use "local" for local variables in the script, fix container name.

* Add COPY step for bad_build_check into base-runner Dockerfile.

* Make bad_build_check temporary noop unless EXPERIMENTAL_BAD_BUILD_CHECK is set to 1.

* Temporary remove test binaries step.

* Remove empty line.

* Remove unnecessary env variable.
2017-08-08 10:54:53 -07:00
Oliver Chang 1f30f57714 fix jenkins option 2017-07-26 10:57:06 -07:00
Oliver Chang 10120c3243 Update Jenkins. 2017-07-26 10:38:27 -07:00
Oliver Chang 621b2d4153 Update Dockerfile 2017-07-24 17:56:52 -07:00
Oliver Chang 0a2a9dad5b [infra] gcb: recognise TIMEOUT. 2017-07-19 08:56:18 -07:00
Oliver Chang 59ce244d97 [infra] helper: don't set BUILD_UID. 2017-07-17 19:07:27 -07:00
Oliver Chang 75c9649979 base-runner run_fuzzer: pipe /dev/null to stdin
Targets could be incorrectly reading from stdin (e.g. #681).
2017-06-23 10:26:40 -07:00
Max Moroz 3cee68fa11 [infra] Remove "null" check from UBSan options. (#674)
There is not much value for us from this particular check:
- UBSan's "null" reports leading to real crashes are reported with ASan as well.
- Potential null references are not real crashes and might be considered
  as false positives, though it seems to be UB as per the standard.
2017-06-12 10:46:53 -07:00
robertswiecki fc451ca8af Practically revert 182f607f9b as it will force CC compiler for CXX in honggfuzz (#658) 2017-06-07 12:52:46 -07:00
robertswiecki 182f607f9b Use standard $CC as $HFUZZ_CC_ASAN to avoid expensive compiler search (#656) 2017-06-07 12:03:46 -07:00
Abhishek Arya e999b2cbab Enable 'return' feature for UBsan (#232) 2017-06-02 17:01:55 -07:00
robertswiecki 268d8052a2 Support honggfuzz as a FUZZING_ENGINE (#636) 2017-06-01 17:55:01 -07:00
Oliver Chang c093b7101d [infra] Make coverage run with dict and options. 2017-05-31 12:44:25 -07:00
Oliver Chang af86b0cbdb Use chromium clang revision for base-clang image. (#640)
We still use trunk libFuzzer (from chromium mirror).
2017-05-31 12:30:29 -07:00
Oliver Chang 6ee983a6a0 base-runner: use %fuzz_target%.dict if it exists.
For #619
2017-05-24 14:18:33 -07:00
Oliver Chang f576b352b4 [helper] Add a check for valid project name when generating files. 2017-05-12 15:58:13 -07:00
Abhishek Arya 43838854c1 Add valgrind support in reproduce command (#596)
* Add valgrind support in infra/helper.py, fixes #592.

* Fix spacing.
2017-05-10 14:32:01 -07:00
Oliver Chang cfba9598d7 [helper] Add a prompt to build_image command for pulling base images. (#595) 2017-05-10 13:49:09 -07:00
Max Moroz 04e42ac17a [infra] Use only 'array-bounds' check of UBSan's 'bounds' check (#573).
For more info: https://github.com/google/oss-fuzz/pull/573#issuecomment-300494440
2017-05-10 16:13:28 +02:00
Oliver Chang 75b9282e83 Add --pull argument to build_image. 2017-05-09 12:34:59 -07:00
Max Moroz 19e73d89e9 [infra] Extend set of UBSan checks enabled. (#573) 2017-05-09 14:16:58 +02:00
Oliver Chang c54ed42cd9 [infra] Build coverage build by default. 2017-05-08 11:31:45 -07:00
Oliver Chang 4896be51cd Create a separate coverage build.
First part of #191.
2017-05-08 11:17:27 -07:00
Kostya Serebryany 7def2fceda Update templates.py 2017-05-01 23:32:10 -07:00
Oliver Chang 5c0631d83f [infra] build status: use locale date format. 2017-04-18 16:19:41 -07:00
Oliver Chang 489446d17a [infra] new build status ui 2017-04-18 11:36:39 -07:00
Oliver Chang f9fc503e0a Update builds_status.py 2017-04-18 08:53:22 -07:00
Oliver Chang c52fddefce Update builds_status.py 2017-04-18 08:52:37 -07:00
Oliver Chang 68330d9b99 [infra] Update builds status 2017-04-17 22:56:04 -07:00
Oliver Chang d269fb780e [infra] Work around Container Builder breakage. 2017-04-12 22:39:55 -07:00
Abhishek Arya 6162a27de8 Remove unused unstable builds list 2017-04-07 07:10:53 -07:00
Alex Gaynor 9db317d3b5 Added environment and sanitizer flag support to shell command (#519) 2017-04-05 18:13:20 -07:00
Oliver Chang 8f4a2ad5a2 [infra] add ingress 2017-04-05 15:35:51 -07:00
Oliver Chang ebc372c933 [infra] Change gcb build project 2017-04-05 14:38:03 -07:00
Oliver Chang 6ca557e909 [infra] Change uploader docker image tag 2017-04-05 11:01:59 -07:00
David Tardon 0f66138ef4 fix param name (#516) 2017-04-05 08:56:39 -07:00
Oliver Chang 361ceaece1 [infra] Escape $ in gcb builds. 2017-04-04 13:47:36 -07:00
Oliver Chang 1862be71c9 [infra] Parse WORKDIR when creating GCB build. 2017-04-04 13:42:38 -07:00
Oliver Chang cb91f9957f [infra] Ugly hack to save disk space after a build. 2017-04-03 20:09:07 -07:00
Oliver Chang 6d8ecba423 [infra] Break loudly when a build script incorrectly uses /out instead of $OUT 2017-03-30 14:20:27 -07:00