Commit Graph

536 Commits

Author SHA1 Message Date
Mike Aizatsky 4d0d878609 [infra] failure should be indicated by a separate tag. #168 2016-12-12 21:40:28 -08:00
Mike Aizatsky 7f162d0fed [infra] pipefail is no longer needed 2016-12-12 16:33:03 -08:00
Mike Aizatsky 598c8ba618 [infra] separate test_report script for jenkins integration
Separate test_report script runs tests and generates junit-style
reports. The script doesn't fail when fuzzer fails, but marks it as
failed instead.

Fixes #168
2016-12-12 16:30:51 -08:00
Oliver Chang f2e3c0e50d Include file in base-runner. (#160) 2016-12-09 12:32:40 -08:00
Oliver Chang 6dde379193 Fix fuzzer executable detection in test_all. (#156) 2016-12-08 12:41:14 -08:00
Oliver Chang 1c2330d9e4 Update build_status.py 2016-12-08 11:00:00 -08:00
Oliver Chang 98cdcb718a Update build_status.py 2016-12-08 10:48:56 -08:00
Oliver Chang ea5d438d2c Update build_status.py 2016-12-08 10:47:30 -08:00
Mike Aizatsky 0e7acedab3 Update test_all 2016-12-07 14:45:25 -08:00
Mike Aizatsky 764a8b99a7 [infra] removed libfuzzer.a. Fixes #139 2016-12-07 13:46:19 -08:00
Mike Aizatsky e92e678188 [infra] specifying testcase for junit report 2016-12-07 12:19:06 -08:00
Mike Aizatsky 8e68455932 Update Jenkinsfile 2016-12-07 12:07:45 -08:00
Mike Aizatsky 3ab381b653 Update compile_libfuzzer 2016-12-07 11:49:34 -08:00
Alex Gaynor cedcb65d4a Fixes #148 -- use --rm when running docker locally (#149) 2016-12-07 11:43:37 -08:00
Mike Aizatsky 3dd707ed58 [infra] using -lFuzzingEngine instead of -lfuzzer 2016-12-07 11:41:08 -08:00
Mike Aizatsky ddaa976438 removed trailing whitespaces 2016-12-07 11:35:53 -08:00
Mike Aizatsky 2d7e3adcaf [infra] env var rename 2016-12-06 22:21:06 -08:00
Mike Aizatsky feff4b8a66 [infra] FUZZING_ENGINE to choose compile script (#128) 2016-12-06 22:18:54 -08:00
Mike Aizatsky 8156f1d7a1 [infra] (nit) optimizing away couple layers 2016-12-06 21:53:28 -08:00
Mike Aizatsky bddc4d7fee [infra] using all.sh instead of jenkins script 2016-12-06 21:50:51 -08:00
Mike Aizatsky ba0304c6a9 [infra] providing libFuzzingEngine.a (#139) 2016-12-06 15:54:53 -08:00
Mike Aizatsky 93476cdefe Update README.md 2016-12-05 09:44:57 -08:00
Mike Aizatsky 19dba436ed [infra] srcmap path should start with "/" 2016-12-02 11:33:00 -08:00
Mike Aizatsky 85cdb1cc07 Update README.md 2016-12-02 11:02:18 -08:00
Mike Aizatsky d48041d880 Update README.md 2016-12-02 11:02:02 -08:00
Mike Aizatsky 18125f52db Update README.md 2016-12-02 10:59:38 -08:00
Mike Aizatsky f478dca0e8 [infra] SANITIZER environment variable (#103)
The variable picks one of the predefined flags configuration.
2016-12-02 10:58:51 -08:00
Mike Aizatsky 805e39715c [infra] letting docker clear output dir 2016-12-02 10:07:00 -08:00
Oliver Chang d3eaf61ed8 autosetup fixes. 2016-12-01 13:02:17 -08:00
Oliver Chang 1b7e384533 autosetup: only setup if project has Dockerfile. 2016-12-01 12:56:29 -08:00
inferno-chromium 93f59bf102 Update README.md 2016-11-30 08:51:20 -08:00
inferno-chromium 832d367b37 Update README.md 2016-11-30 08:26:02 -08:00
Mike Aizatsky 3815f29ef5 [infra] dockerfile comes from project, not config 2016-11-29 19:00:53 -08:00
Oliver Chang 9761e79223 helper coverage: add message about the command taking a long time.
Also suppresses output from the fuzzer itself.
2016-11-29 15:10:58 -08:00
Mike Aizatsky cf248c4759 [infra] making shallow git clones. fixes #42 2016-11-29 12:55:45 -08:00
Mike Aizatsky fdb934a82c [infra] refactoring dockerfile configuration 2016-11-29 11:54:59 -08:00
Mike Aizatsky 879120437d [infra] build.sh cleanup 2016-11-29 11:33:42 -08:00
Mike Aizatsky 70d9a1e876 [infra] project, not library 2016-11-29 11:29:42 -08:00
Mike Aizatsky a182b62f5e [infra] generate project.yaml instead of Jenkinsfile 2016-11-29 11:25:33 -08:00
Mike Aizatsky e16ee1785b [infra] using project instead of target 2016-11-29 11:23:30 -08:00
Mike Aizatsky 5e8481c3aa [infra] using project.yaml for jenkins job configuration 2016-11-29 11:09:12 -08:00
inferno-chromium 330c900781 Update libfuzzer-pipeline.groovy (#102) 2016-11-29 09:35:07 -08:00
Oliver Chang 2d96e79c92 Update sync.py 2016-11-28 09:32:22 -08:00
Mike Aizatsky 2284433b85 [infra] using sanitizers and name from the target 2016-11-23 12:43:12 -08:00
Mike Aizatsky b7651255e8 [infra] parseText not parse 2016-11-23 09:29:24 -08:00
Mike Aizatsky b1d104e3fb [infra] testing target_json parsing 2016-11-23 09:24:13 -08:00
Alex Gaynor 1c413fb98b Avoid yaml.load, and prefer yaml.safe_load (#95)
yaml.load ought to be named yaml.danger_load: it can execute arbitrary code (http://pyyaml.org/wiki/PyYAMLDocumentation#LoadingYAML)
2016-11-23 08:25:13 -08:00
Mike Aizatsky 938ea8d01b [infra] passing target json to the builder 2016-11-22 21:56:13 -08:00
Mike Aizatsky 31b6c1a49e [infra] specifying default build script 2016-11-22 21:51:45 -08:00
Mike Aizatsky b69bf660a4 [infra] do not update jenkinsfile 2016-11-22 21:49:16 -08:00
Mike Aizatsky 2ebe28cf79 [infra] do not use target Jenkinsfile 2016-11-22 21:48:50 -08:00
Mike Aizatsky 404e054d42 [infra] always reconfiguring existing job 2016-11-22 21:40:49 -08:00
Mike Aizatsky e387192576 [infra] escape target definition to be passed as string 2016-11-22 21:37:11 -08:00
Mike Aizatsky 5e30fa2fa7 loading target.yaml 2016-11-22 20:36:02 -08:00
Mike Aizatsky c534c410ea added PyYaml 2016-11-22 20:33:06 -08:00
Oliver Chang d0d5684531 shutup gsutil 2016-11-22 18:09:24 -08:00
Oliver Chang 0f14b297ea auto setup: really fix dir checking 2016-11-22 15:59:59 -08:00
Oliver Chang 141ae2730a auto setup: fix listdir path 2016-11-22 15:45:00 -08:00
Oliver Chang 37d6985357 error logging 2016-11-22 15:29:15 -08:00
Oliver Chang dc5a1d54f9 auto setup: get libraries list from local checkout instead. 2016-11-22 15:27:47 -08:00
Mike Aizatsky a0611d84d1 Update README.md 2016-11-22 12:03:13 -08:00
Mike Aizatsky 6b5163a38e Update README.md 2016-11-22 12:02:26 -08:00
Mike Aizatsky c0fc3a4ea3 [infra] moving symbolizer to base runner 2016-11-21 12:35:58 -08:00
Mike Aizatsky d92be61e1c [infra] adding zip package, it is needed for corpuses 2016-11-18 20:52:41 -08:00
Mike Aizatsky a27eca33a3 [infra] adding zip to base-runner: run_fuzzer needs it 2016-11-18 18:34:18 -08:00
Mike Aizatsky 0b58d66e89 [infra] moving test command into base-runner, using it on jenkins 2016-11-18 16:46:26 -08:00
Mike Aizatsky 456e952486 silencing pushd 2016-11-18 16:46:04 -08:00
Mike Aizatsky ceb465a0e8 Create README.md 2016-11-18 14:59:10 -08:00
Mike Aizatsky 01364bf2b7 [infra] extracting base-runner image 2016-11-18 14:53:09 -08:00
Mike Aizatsky 26630f32cb [infra] .a merging is no longer necessary b/c it now happens during llvm build
60479ea31b

Thanks @EricWF

Issue #73
2016-11-18 12:45:02 -08:00
Mike Aizatsky 711ffb3247 [infra] silencing ar 2016-11-18 12:23:23 -08:00
Mike Aizatsky 487e9f4ed6 [infra] removing FUZZER_LDFLAGS (fixes #73)
Workarounds libc++abi issue by folding libc++abi.a into libc++.a.
Will keep FUZZER_LDFLAGS empty for a while until tpm2 is fixed.
2016-11-18 12:16:35 -08:00
Mike Aizatsky a1d663b95e [fuzzer] adding ldd printout 2016-11-18 11:58:32 -08:00
Mike Aizatsky a0a5872b44 removed debug output 2016-11-18 11:44:37 -08:00
Mike Aizatsky 3599908dbf [infra] use $src, $out and $work in build scripts instead of /src, /out, /work (#88)
This will make it possible to run scripts outside of docker container.
2016-11-18 11:16:38 -08:00
Mike Aizatsky 5dfb810427 [infra] setting current directory to src checkout (#87) 2016-11-17 09:49:34 -08:00
Mike Aizatsky 9e8151b5cf [infra] less output 2016-11-15 12:09:06 -08:00
Mike Aizatsky 95605c91d9 [infra] adding -x to compile scripts to see all commands that are executed 2016-11-15 11:35:25 -08:00
Mike Aizatsky 2912d6fb06 adding more ubsan flags (issue #60) 2016-11-14 20:58:29 -08:00
Mike Aizatsky 99c89dfefd Update libfuzzer-pipeline.groovy 2016-11-14 20:44:01 -08:00
Mike Aizatsky 458adaa488 [infra] configurable sanitizer flags 2016-11-14 20:33:35 -08:00
Oliver Chang f84b87d8e2 Add build setup/status script. 2016-11-14 14:47:45 -08:00
Mike Aizatsky e29ef5876d rolling back trace pc guards
fuzzers fail with:

=================================================================
==18057==ERROR: AddressSanitizer: global-buffer-overflow on address 0x000000b8a144 at pc 0x0000007ae0ca bp 0x7fff2b91a4d0 sp 0x7fff2b91a4c8
WRITE of size 4 at 0x000000b8a144 thread T0
    #0 0x7ae0c9 in fuzzer::TracePC::HandleInit(unsigned int*, unsigned int*) /src/libfuzzer/FuzzerTracePC.cpp:49:8
    #1 0x7bcab9 in __sanitizer_cov_trace_pc_guard_init /src/libfuzzer/FuzzerTracePC.cpp:286:15
    #2 0x5156bf in sancov.module_ctor (/out/curl_fuzzer+0x5156bf)
    #3 0x88c1cc in __libc_csu_init (/out/curl_fuzzer+0x88c1cc)
    #4 0x7f4ab7aed7be in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x207be)
    #5 0x41fd78 in _start (/out/curl_fuzzer+0x41fd78)
2016-11-14 12:21:02 -08:00
Max Moroz 6aa0b3b3c7 [infra] Fix a typo. 2016-11-14 19:21:17 +01:00
Max Moroz e5346f4036 [infra] Add auto-update of targets/README.md for generate command in helper.py. 2016-11-14 19:18:29 +01:00
Mike Aizatsky c771c31753 switching to trace-pc-guard 2016-11-14 09:49:30 -08:00
Mike Aizatsky 528d2e6900 Update README.md 2016-11-11 15:25:37 -08:00
Mike Aizatsky 43a5d34649 do not install unneded packages, they come from base-clang 2016-11-04 15:48:58 -07:00
Mike Aizatsky 5cf48acc50 installing packages needed to build binaries 2016-11-04 15:31:22 -07:00
Oliver Chang cb124f9e1c Update helper.py 2016-11-04 14:41:38 -07:00
Mike Aizatsky 7029d3ae1b Update README.md 2016-11-04 13:30:44 -07:00
Mike Aizatsky 029d11b19c Update README.md 2016-11-04 13:30:04 -07:00
Mike Aizatsky 73918ee1cd Update README.md 2016-11-04 13:29:53 -07:00
Alex Gaynor f128848fb1 Added description of generate command to the README (#69) 2016-11-04 13:29:09 -07:00
Alex Gaynor 4a03707c3e Make error handling around already existing directories more precise (#71) 2016-11-04 08:04:36 -07:00
Alex Gaynor 38f4df7ddc Use the newer python octal literal syntax (#70) 2016-11-04 08:03:46 -07:00
Max Moroz 7d834ef339 [infra] Add zip installation to libfuzzer-runner image.
To fix: /usr/local/bin/run_fuzzer: line 37: unzip: command not found.
2016-11-04 15:13:02 +01:00
Mike Aizatsky 95b8191e6a Update libfuzzer-pipeline.groovy 2016-11-03 21:43:44 -07:00
Mike Aizatsky 48778facde folding coverage into base-libfuzzer since target images is where sources are 2016-11-03 20:13:29 -07:00
Mike Aizatsky 8f2935ccf1 Update libfuzzer-pipeline.groovy 2016-11-03 16:27:52 -07:00
Mike Aizatsky db54a03372 Update libfuzzer-pipeline.groovy 2016-11-03 16:26:48 -07:00
Mike Aizatsky 21424dc82c Update libfuzzer-pipeline.groovy 2016-11-03 16:25:47 -07:00
Mike Aizatsky 736a77c7e3 Update libfuzzer-pipeline.groovy 2016-11-03 16:22:49 -07:00
Mike Aizatsky cb21012bab Update libfuzzer-pipeline.groovy 2016-11-03 16:21:33 -07:00
Mike Aizatsky 25133d8042 Update libfuzzer-pipeline.groovy 2016-11-03 16:20:04 -07:00
Mike Aizatsky 1d909bc276 Update libfuzzer-pipeline.groovy 2016-11-03 16:17:19 -07:00
Mike Aizatsky 7b766f591a Update libfuzzer-pipeline.groovy 2016-11-03 16:13:18 -07:00
Mike Aizatsky f6a2b51af9 Update libfuzzer-pipeline.groovy 2016-11-03 16:05:25 -07:00
Mike Aizatsky 2cf65130b7 Update libfuzzer-pipeline.groovy 2016-11-03 15:08:58 -07:00
Mike Aizatsky 7cc30cbe95 Update libfuzzer-pipeline.groovy 2016-11-03 14:48:17 -07:00
Mike Aizatsky 7498e5c26e Update libfuzzer-pipeline.groovy 2016-11-03 14:40:29 -07:00
Mike Aizatsky 1e6fc4b119 comment 2016-11-03 14:13:51 -07:00
Mike Aizatsky 643a22578a writing src entry 2016-11-03 13:51:00 -07:00
Mike Aizatsky 107a3df757 Update libfuzzer-pipeline.groovy 2016-11-03 13:38:07 -07:00
Mike Aizatsky 9e8084c45e experiment 2016-11-03 13:31:45 -07:00
Mike Aizatsky 6dc749ec06 experiment 2016-11-03 13:26:08 -07:00
Mike Aizatsky c249174980 cleanup 2016-11-03 13:19:01 -07:00
Mike Aizatsky 43489960b0 Update run_fuzzer 2016-11-02 17:30:46 -07:00
Mike Aizatsky 19a558f8b8 Update just_run 2016-11-02 17:30:33 -07:00
Mike Aizatsky da2ddedf02 setting path in just_run 2016-11-02 16:33:21 -07:00
Mike Aizatsky 7df69b51d1 test uses .options and seed corpus 2016-11-02 16:24:50 -07:00
Mike Aizatsky 217223fd72 use seed corpus while running a fuzzer. Fixes #19 2016-11-02 16:22:37 -07:00
Mike Aizatsky 8e2aa92c9c helper.py run should use .options file
It is very unfortunate, but we have to copy the file. I'll think
how it is possible to restructure our images to avoid duplication.

Issue #19
2016-11-02 16:07:48 -07:00
Mike Aizatsky e1a2d3c14c [infra] .options support for run command (#61)
Initial work for #19.
2016-11-02 16:02:17 -07:00
Mike Aizatsky fddbae61b7 pipefail fuzzer run 2016-11-02 14:40:01 -07:00
Mike Aizatsky c669d498fa Update templates.py 2016-11-01 13:23:40 -07:00
Mike Aizatsky efbcadbe12 putting libfuzzer.a into /usr/lib/ 2016-11-01 13:19:39 -07:00
Mike Aizatsky 28dec3521c [infra] adding zip to the image, since corpus files should be zips 2016-10-28 15:24:34 -07:00
Mike Aizatsky 916e155609 improving junit report a bit 2016-10-27 14:14:59 -07:00
Mike Aizatsky 39479734da cleanup 2016-10-27 10:08:01 -07:00
Mike Aizatsky 0b05c13fb0 Update libfuzzer-pipeline.groovy 2016-10-27 10:03:49 -07:00
Mike Aizatsky fa9082304a changed dir 2016-10-27 10:02:02 -07:00
Mike Aizatsky 1b58461feb archiving junit results 2016-10-27 10:00:12 -07:00
Mike Aizatsky 3b64ebbc9e using basename for report 2016-10-26 15:19:35 -07:00
Mike Aizatsky d4086332cd generating dummy test report 2016-10-26 14:22:28 -07:00
Mike Aizatsky 459b0c1b40 Update compile 2016-10-26 13:53:05 -07:00
Mike Aizatsky f1145fc98f Update templates.py 2016-10-26 11:36:57 -07:00
Mike Aizatsky 43de5caa37 [infra] reproduce command (#53)
runs specified fuzzer with `/testcase` as input.

example:

```
docker run -v <local_file>:/testcase -t ossfuzz/libxml2 reproduce libxml2_xml_read_memory_fuzzer
```
2016-10-26 08:28:38 -07:00
Mike Aizatsky a95b41b0b3 replacing library with target 2016-10-25 16:36:29 -07:00
Mike Aizatsky 8926b7c06a moved all targets into targets/ subdir 2016-10-24 19:39:13 -07:00
Mike Aizatsky 2fbe9341e2 [infra] fixed uploaded srcmap name 2016-10-20 14:39:55 -07:00
Mike Aizatsky 6e41f2f824 [infra] hg sourcemap 2016-10-20 14:31:20 -07:00
Mike Aizatsky 0542a8c7bd [infra] jenkins uses test command as well 2016-10-20 14:22:39 -07:00
Mike Aizatsky 22afda8b9e [infra] fail test if there are zero fuzzers 2016-10-20 14:14:15 -07:00
Mike Aizatsky 6f9337fb3d [infra] nit 2016-10-20 14:14:15 -07:00
Mike Aizatsky a227533754 [infra] outputting srcmap 2016-10-20 14:10:11 -07:00
Mike Aizatsky 6ccbe7f757 [infra] revisions->srcmap cleanup 2016-10-20 13:15:28 -07:00
Mike Aizatsky fc9a4c4871 [infra] uploading srcmap 2016-10-20 10:36:57 -07:00
Mike Aizatsky 7a1d8d645a [infra] renaming revisions.json into srcmap.json 2016-10-20 00:45:57 -07:00
Mike Aizatsky 20de8979b1 [infra] test command 2016-10-20 00:44:35 -07:00
Mike Aizatsky 59f3805868 [infra] make revisions.json world readable 2016-10-20 00:28:16 -07:00
Mike Aizatsky 9d54ccaeee [infra] getting back to root user 2016-10-20 00:24:22 -07:00
Mike Aizatsky 4a1014636d [infra] chown 2016-10-19 18:07:08 -07:00
Mike Aizatsky 01868cbca1 Update libfuzzer-pipeline.groovy 2016-10-19 17:30:11 -07:00
Mike Aizatsky b3b401862e Update libfuzzer-pipeline.groovy 2016-10-19 17:29:10 -07:00
Mike Aizatsky de96b8ce14 [infra] using id to fetch uid 2016-10-19 17:27:56 -07:00
Mike Aizatsky 24fb3573ef Update libfuzzer-pipeline.groovy 2016-10-19 17:22:23 -07:00
Mike Aizatsky b646ef6456 [infra] nit 2016-10-19 17:20:28 -07:00
Mike Aizatsky bfd44e9e27 [infra] using current uid for docker run 2016-10-19 17:18:15 -07:00
Mike Aizatsky a0bd354614 [infra] svn info doesn't work, no need to run it anyway 2016-10-19 15:38:04 -07:00
Mike Aizatsky 0334615e51 [infra] determining source code revisions 2016-10-19 15:07:24 -07:00
Mike Aizatsky 8a8a2bd67d [infra] svn support 2016-10-19 13:59:56 -07:00
Mike Aizatsky f61b870b1c libtool is needed to build libfuzzer.a 2016-10-19 11:42:57 -07:00
Mike Aizatsky faecacb464 adding subversion 2016-10-19 11:34:58 -07:00
Mike Aizatsky ce3c1a60c8 calling script directly 2016-10-19 10:03:42 -07:00
Mike Aizatsky e6977f3b60 do not mount checkout dir 2016-10-18 19:16:19 -07:00
Mike Aizatsky ea957bd4ee [infra] checking out library sources in the image (#40)
fixes #33
2016-10-18 15:37:23 -07:00
Mike Aizatsky 7c11d15cdc adding --no-cache to docker build 2016-10-17 14:42:04 -07:00
Mike Aizatsky 089add6e8b [infra] replacing libfuzzer/*.o by -lfuzzer
Fixes issue #32
2016-10-17 14:37:19 -07:00
Mike Aizatsky 84a9b05fc1 Update Jenkinsfile 2016-10-14 15:30:13 -07:00
Vitaly Buka bc1aedf2f9 Add docker image for coverage 2016-10-14 15:28:32 -07:00
Mike Aizatsky a9fc3306d2 Update libfuzzer-pipeline-test.groovy 2016-10-14 14:53:44 -07:00
Mike Aizatsky a458a1862b Update libfuzzer-pipeline-test.groovy 2016-10-14 14:51:59 -07:00
Mike Aizatsky 5b97691696 Update libfuzzer-pipeline-test.groovy 2016-10-14 14:35:51 -07:00
Mike Aizatsky e0a5c357b0 Update libfuzzer-pipeline-test.groovy 2016-10-14 14:18:48 -07:00
Mike Aizatsky 1e501e66b0 Update libfuzzer-pipeline-test.groovy 2016-10-14 14:10:29 -07:00
Mike Aizatsky bef1cfca66 [infra] experimenting with test results 2016-10-14 14:06:14 -07:00
Mike Aizatsky 941e47d6e1 [infra] renaming LDFLAGS into FUZZER_LDFLAGS. Fixes #31 2016-10-13 14:20:19 -07:00
Mike Aizatsky 744ae17922 Update README.md 2016-10-13 14:02:19 -07:00
Mike Aizatsky 401105215b [infra] increasing number of test runs from 1 to 32 2016-10-13 13:50:33 -07:00
Mike Aizatsky 6ac2b64ba9 Update libfuzzer-pipeline.groovy 2016-10-13 09:46:46 -07:00
Mike Aizatsky 67c54ff78d Update libfuzzer-pipeline.groovy 2016-10-13 09:27:23 -07:00
Mike Aizatsky 19814ba11c Update Jenkinsfile 2016-10-13 00:00:17 -07:00
Mike Aizatsky 211d9a3f9f Update libfuzzer-pipeline.groovy 2016-10-12 23:59:14 -07:00
Mike Aizatsky 0ba4400f74 Update libfuzzer-pipeline.groovy 2016-10-12 23:52:03 -07:00
Mike Aizatsky 3ffffe55ad Update libfuzzer-pipeline.groovy 2016-10-12 23:51:29 -07:00
Mike Aizatsky a95f078832 Update libfuzzer-pipeline.groovy 2016-10-12 23:50:35 -07:00
Mike Aizatsky 8d9cc2578e Update libfuzzer-pipeline.groovy 2016-10-12 23:50:06 -07:00
Mike Aizatsky 35cd89901b Update libfuzzer-pipeline.groovy 2016-10-12 23:49:34 -07:00
Mike Aizatsky 1ef3a051a9 Update libfuzzer-pipeline.groovy 2016-10-12 23:41:50 -07:00
Mike Aizatsky 2904464479 Update libfuzzer-pipeline.groovy 2016-10-12 23:41:19 -07:00
Mike Aizatsky ed4727e67a Update libfuzzer-pipeline.groovy 2016-10-12 16:57:11 -07:00
Mike Aizatsky e98290381a [infra] cleaning out dir 2016-10-12 16:36:38 -07:00
Mike Aizatsky d1e59b5bbd Update Jenkinsfile 2016-10-12 16:26:40 -07:00
Mike Aizatsky dae2012980 [infra] do not checkout oss-fuzz (#23)
Promising oss-fuzz in /src/oss-fuzz creates lots of confusion about where files come from.
Let's make everything explicit.

Fixes #20
2016-10-12 16:25:06 -07:00
Mike Aizatsky 25cbaa397e Update libfuzzer-pipeline.groovy 2016-10-11 20:02:24 -07:00
Mike Aizatsky 45903723d0 Update libfuzzer-pipeline.groovy 2016-10-11 19:59:40 -07:00
Mike Aizatsky afaa375fb2 Update libfuzzer-pipeline.groovy 2016-10-11 19:17:47 -07:00
Mike Aizatsky 8dcb3d039b Update libfuzzer-pipeline.groovy 2016-10-11 19:02:41 -07:00
Mike Aizatsky b808fa71ab Update libfuzzer-pipeline.groovy 2016-10-11 19:01:38 -07:00
Mike Aizatsky 4b1760ebb6 Update libfuzzer-pipeline.groovy 2016-10-11 18:58:48 -07:00
Mike Aizatsky e75e1da132 Update libfuzzer-pipeline.groovy 2016-10-11 18:56:01 -07:00
Mike Aizatsky 010d906631 Update libfuzzer-pipeline.groovy 2016-10-11 18:54:48 -07:00
Mike Aizatsky dff6c9745e Update libfuzzer-pipeline.groovy 2016-10-11 18:52:01 -07:00
Mike Aizatsky 3a0ad2dac6 Update libfuzzer-pipeline.groovy 2016-10-11 18:50:45 -07:00
Mike Aizatsky c94e5d421f Update libfuzzer-pipeline.groovy 2016-10-11 18:49:38 -07:00
Mike Aizatsky 73e023f159 Update libfuzzer-pipeline.groovy 2016-10-11 18:47:07 -07:00
Mike Aizatsky abf01cfad7 Update libfuzzer-pipeline.groovy 2016-10-11 18:44:25 -07:00
Mike Aizatsky b3689117b9 Update libfuzzer-pipeline.groovy 2016-10-11 18:41:41 -07:00
Mike Aizatsky ed5e11c869 [infra] nits 2016-10-11 14:30:45 -07:00
Mike Aizatsky 19550c5114 [infra] nits 2016-10-11 14:29:26 -07:00
Mike Aizatsky b48677e3aa [infra] fail a build with 0 fuzzers 2016-10-11 14:29:26 -07:00
Mike Aizatsky 58dc27a57e Update run 2016-10-10 15:49:54 -07:00
Mike Aizatsky 14a4902418 Update Jenkinsfile 2016-10-10 15:42:41 -07:00
Mike Aizatsky 08dec83430 Update Jenkinsfile 2016-10-10 15:39:11 -07:00
Mike Aizatsky bc7ad84453 Update Jenkinsfile 2016-10-10 15:38:26 -07:00
Mike Aizatsky f3de7787a5 Update Jenkinsfile 2016-10-10 15:35:07 -07:00
Mike Aizatsky ea2bf52e10 Update README.md 2016-10-10 14:21:59 -07:00
Mike Aizatsky 28e7afba10 [infra] run script 2016-10-10 14:16:48 -07:00
Mike Aizatsky 106efbe664 Update Jenkinsfile 2016-10-10 14:12:25 -07:00
Mike Aizatsky 199986a3c7 [infra] deprecations cleanup 2016-10-10 13:36:13 -07:00
Mike Aizatsky be88a02647 Update libfuzzer-pipeline.groovy 2016-10-10 13:32:19 -07:00
Mike Aizatsky df08c02246 Update libfuzzer-pipeline.groovy 2016-10-10 13:28:42 -07:00
Mike Aizatsky 19059a6372 Update libfuzzer-pipeline.groovy 2016-10-10 13:28:03 -07:00
Mike Aizatsky 379e92bdf7 Update libfuzzer-pipeline.groovy 2016-10-10 13:24:18 -07:00
Mike Aizatsky 3fbd53176b Update libfuzzer-pipeline.groovy 2016-10-10 13:23:35 -07:00
Mike Aizatsky 85dad5d52d [infra] checkout command: automatic code checkout and compiling (#11) 2016-10-10 13:21:45 -07:00
Mike Aizatsky 4df734c653 [infra] building docker image only once 2016-10-10 13:20:59 -07:00
Mike Aizatsky 7b7af59e63 [infra][gke] using deployments 2016-10-10 12:11:08 -07:00
Mike Aizatsky efd53bfc64 Update libfuzzer-pipeline.groovy 2016-10-10 09:30:16 -07:00
Mike Aizatsky 17a65504da skipping non-executable files 2016-10-10 09:23:21 -07:00
Mike Aizatsky e0cf900bee Update Jenkinsfile 2016-10-07 14:08:48 -07:00
Mike Aizatsky 286e3d8e0a [infra] removed image flattening: env variables do not surviver 2016-10-07 12:27:58 -07:00
Mike Aizatsky de6c41a671 [infra] building clang with a single RUN command.
Each RUN command creates an overlay layer. This results in keeeping all
intermediate files.

By consolidating all work in a single script, the size of base-clang
image is decreased from 3G to 1G.
2016-10-07 12:06:24 -07:00
Mike Aizatsky f646f8007e Update README.md 2016-10-07 11:42:27 -07:00
Mike Aizatsky 28a598cb33 Update README.md 2016-10-07 11:39:33 -07:00
Mike Aizatsky c08356aa08 Update README.md 2016-10-07 11:35:01 -07:00
Mike Aizatsky 84584a535e Create README.md 2016-10-07 11:34:42 -07:00
Mike Aizatsky 389fb0e4ab disable image flattening for a while 2016-10-06 16:53:03 -07:00
Mike Aizatsky 1f6691451c Update all.sh 2016-10-06 15:23:38 -07:00
Mike Aizatsky 9bca6e5bbc [infra] flattening base-clang image
The image has lots of layers with lots of deleted files (sources and intermediates).
Flatten the image to reduce its size.
2016-10-06 14:57:40 -07:00
Mike Aizatsky d78f337aeb Update libfuzzer-pipeline.groovy 2016-10-06 14:26:09 -07:00
Mike Aizatsky 7ba63266d5 Update libfuzzer-pipeline.groovy 2016-10-06 14:04:44 -07:00
Mike Aizatsky e2ca7bcbe0 [infra] fixing build script location (/src/build.sh)
Fixing the location of build.sh gets rid of ENTRYPOINT. Which opens a possibility to implement different commands like:

````bash
docker run -ti expat compile
docker run -ti expat run <fuzzer_name> <input_data>
````

and keep the knowledge of build script location.

This is a breaking change.
2016-10-06 13:45:12 -07:00
Mike Aizatsky ad34fb658b Update libfuzzer-pipeline.groovy 2016-10-06 13:19:49 -07:00
Mike Aizatsky e4c18c4797 Update Jenkinsfile 2016-10-05 19:05:24 -07:00
Mike Aizatsky 7bd88e8ce0 Update Jenkinsfile 2016-10-05 19:05:10 -07:00
Mike Aizatsky 421cd94928 Update Jenkinsfile 2016-10-05 19:03:28 -07:00
Mike Aizatsky 8cd8911eb3 Update Jenkinsfile 2016-10-05 18:59:26 -07:00
Mike Aizatsky 537a5ed7c4 Updated README.md 2016-10-05 15:07:52 -07:00