Commit Graph

35 Commits

Author SHA1 Message Date
Oliver Chang e2c1205f54 increase build timeout to 6 hours (#877) 2017-10-05 22:16:45 -07:00
Max Moroz 718db9173d [infra] Temporary revert bad_build_check until most of the targets get fixed. (#831)
Need to take a closer look at the following issues:
- https://github.com/google/oss-fuzz/issues/815
- https://github.com/google/oss-fuzz/issues/816
- https://github.com/google/oss-fuzz/issues/817
- https://github.com/google/oss-fuzz/issues/818
- https://github.com/google/oss-fuzz/issues/819
- https://github.com/google/oss-fuzz/issues/820
- https://github.com/google/oss-fuzz/issues/821
- https://github.com/google/oss-fuzz/issues/822
- https://github.com/google/oss-fuzz/issues/823
- https://github.com/google/oss-fuzz/issues/824
- https://github.com/google/oss-fuzz/issues/825
- https://github.com/google/oss-fuzz/issues/826
- https://github.com/google/oss-fuzz/issues/827
- https://github.com/google/oss-fuzz/issues/828
- https://github.com/google/oss-fuzz/issues/829
- https://github.com/google/oss-fuzz/issues/830
2017-09-06 16:59:59 -07:00
Max Moroz 942b5fbbe1 [infra] Enable bad_build_checks without test_all step that runs all the fuzzers. (#814)
* [infra] Enable bad_build_checks without test_all step that runs all the fuzzers.

* [infra] Add COPY step for test_all_for_bad_build script.

* [infra] Use SKIP_TEST_TARGET_RUN=1 to avoid running all fuzz targets during test_all.

* [infra] Invern the condition in test_all script.

* [infra] Finally fix the condition in test_all.
2017-09-06 11:55:07 -07:00
Oliver Chang 656548e737 [infra] upload srcmap first. 2017-09-01 12:52:10 -07:00
Max Moroz 6a6163110a [infra] Add another coverage build using Clang Source-based Code Coverage. (#804)
* [infra] Add another coverage build using Clang Source-based Code Coverage.

* [infra] Remove redundant compile_coverage script.
2017-08-31 13:43:06 -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 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
robertswiecki 268d8052a2 Support honggfuzz as a FUZZING_ENGINE (#636) 2017-06-01 17:55:01 -07: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
Oliver Chang d269fb780e [infra] Work around Container Builder breakage. 2017-04-12 22:39:55 -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
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
Oliver Chang 5e16d49314 [infra] gcb: support experimental sanitizers format. 2017-03-21 12:17:47 -07:00
Oliver Chang dc39a75b97 [infra] gcb: support experimental sanitizers format 2017-03-21 12:17:08 -07:00
Oliver Chang a5724d42e4 Update build.py 2017-03-15 20:50:12 -07:00
Oliver Chang 1ea45f8bd4 [infra] gcb: Upload builds to production buckets. 2017-03-15 12:06:49 -07:00
Oliver Chang de5418888c [infra] gcb: Build afl fuzzers. 2017-03-15 11:26:15 -07:00
Oliver Chang e9d2039a0f [infra] gcb: Build our own logs link.
The one returned by the API uses a text filter on the build id, which is
slow.
2017-03-14 14:21:56 -07:00
Oliver Chang ac2e937c8b [infra] gcb: print log url. 2017-03-14 14:08:57 -07:00
Oliver Chang a46254e93e Override $OUT in gcb build. (#456)
This prevents a copy from the builder container's /out to /workspace/out/sanitizer. Should hopefully fix ffmpeg's disk space issues.
2017-03-14 13:54:19 -07:00
Mike Aizatsky ba48ca174a [infra] storing logs to gcs bucket 2017-03-13 17:06:39 -07:00
Mike Aizatsky f1fa36f418 [infra] there's hard sink limit (90), do not use 2017-03-13 17:03:30 -07:00
Mike Aizatsky a3fbf974a2 [infra] comments 2017-03-13 15:59:19 -07:00
Oliver Chang adcf1d8b0c gcb: Upload build to test bucket. (#450) 2017-03-10 22:23:44 -08:00
Oliver Chang 6440b1bff0 gcb: add wait_for_build. (#449) 2017-03-10 17:37:19 -08:00
Mike Aizatsky 32c07d2158 [infra] redirecting srcmap 2017-03-10 16:11:34 -08:00
Mike Aizatsky a103ad072f [infra] using setdefault 2017-03-10 15:26:21 -08:00
Oliver Chang 7448a7e9d8 gcb: set default sanitizers 2017-03-10 14:48:46 -08:00
Mike Aizatsky 52d6146a8b [infra] v0 gcb building script (#446)
Doesn't perform the upload, but is supposed to build all sanitizer configuration.
I was primarily testing it on json.
2017-03-10 11:54:37 -08:00