starting build "133801cb-57ea-423c-9e4a-8fbc341bc687" FETCHSOURCE BUILD Starting Step #0 Step #0: Already have image (with digest): gcr.io/cloud-builders/git Step #0: Step #0: ***** NOTICE ***** Step #0: Step #0: Official `cloud-sdk` images, including multiple tagged versions across multiple Step #0: platforms, can be found at Step #0: https://github.com/GoogleCloudPlatform/cloud-sdk-docker and may be more suitable Step #0: for some use cases when interacting with Cloud Source Repositories. Step #0: Step #0: For additional information, please visit Step #0: https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/git Step #0: Step #0: ***** END OF NOTICE ***** Step #0: Step #0: Cloning into 'oss-fuzz'... Finished Step #0 Starting Step #1 Step #1: Already have image (with digest): gcr.io/cloud-builders/docker Step #1: Step #1: ***** NOTICE ***** Step #1: Step #1: Alternative official `docker` images, including multiple versions across Step #1: multiple platforms, are maintained by the Docker Team. For details, please Step #1: visit https://hub.docker.com/_/docker. Step #1: Step #1: ***** END OF NOTICE ***** Step #1: Step #1: Sending build context to Docker daemon 26.11kB Step #1: Step 1/5 : FROM gcr.io/oss-fuzz-base/base-builder Step #1: latest: Pulling from oss-fuzz-base/base-builder Step #1: 7b378fa0f908: Pulling fs layer Step #1: 4d77b1b29f2e: Pulling fs layer Step #1: 7c793be88bae: Pulling fs layer Step #1: ecc05c8a19c0: Pulling fs layer Step #1: 3fed19a54e6d: Pulling fs layer Step #1: ab924644a5ba: Pulling fs layer Step #1: 2841d9d854fc: Pulling fs layer Step #1: 783d57b537b2: Pulling fs layer Step #1: 3d61050a5305: Pulling fs layer Step #1: d1c606f1de74: Pulling fs layer Step #1: ed58da1083b7: Pulling fs layer Step #1: 72a0a7e54e04: Pulling fs layer Step #1: 9781aa044c9f: Pulling fs layer Step #1: 279f8e8d162d: Pulling fs layer Step #1: 26e478d25837: Pulling fs layer Step #1: 31ba8d54cd7e: Pulling fs layer Step #1: 3fed19a54e6d: Waiting Step #1: a74a3b8b08fd: Pulling fs layer Step #1: 528fcd2046ac: Pulling fs layer Step #1: 25568da7eef0: Pulling fs layer Step #1: 8df7fec07e6e: Pulling fs layer Step #1: ab924644a5ba: Waiting Step #1: 2d26756382b3: Pulling fs layer Step #1: b2038180092c: Pulling fs layer Step #1: 2841d9d854fc: Waiting Step #1: 7fa69fd4dcdf: Pulling fs layer Step #1: d5c690a1b5d8: Pulling fs layer Step #1: 783d57b537b2: Waiting Step #1: d1c606f1de74: Waiting Step #1: 3d61050a5305: Waiting Step #1: ed58da1083b7: Waiting Step #1: 279f8e8d162d: Waiting Step #1: 72a0a7e54e04: Waiting Step #1: 26e478d25837: Waiting Step #1: 31ba8d54cd7e: Waiting Step #1: 9781aa044c9f: Waiting Step #1: a74a3b8b08fd: Waiting Step #1: b2038180092c: Waiting Step #1: 528fcd2046ac: Waiting Step #1: 7fa69fd4dcdf: Waiting Step #1: d5c690a1b5d8: Waiting Step #1: 2d26756382b3: Waiting Step #1: 25568da7eef0: Waiting Step #1: 8df7fec07e6e: Waiting Step #1: ecc05c8a19c0: Waiting Step #1: 4d77b1b29f2e: Download complete Step #1: 7c793be88bae: Verifying Checksum Step #1: 7c793be88bae: Download complete Step #1: ecc05c8a19c0: Verifying Checksum Step #1: ecc05c8a19c0: Download complete Step #1: ab924644a5ba: Verifying Checksum Step #1: ab924644a5ba: Download complete Step #1: 3fed19a54e6d: Verifying Checksum Step #1: 3fed19a54e6d: Download complete Step #1: 7b378fa0f908: Verifying Checksum Step #1: 7b378fa0f908: Download complete Step #1: 783d57b537b2: Verifying Checksum Step #1: 783d57b537b2: Download complete Step #1: d1c606f1de74: Verifying Checksum Step #1: d1c606f1de74: Download complete Step #1: 2841d9d854fc: Verifying Checksum Step #1: 2841d9d854fc: Download complete Step #1: 72a0a7e54e04: Verifying Checksum Step #1: 72a0a7e54e04: Download complete Step #1: 9781aa044c9f: Verifying Checksum Step #1: 9781aa044c9f: Download complete Step #1: 7b378fa0f908: Pull complete Step #1: ed58da1083b7: Verifying Checksum Step #1: ed58da1083b7: Download complete Step #1: 4d77b1b29f2e: Pull complete Step #1: 7c793be88bae: Pull complete Step #1: ecc05c8a19c0: Pull complete Step #1: 279f8e8d162d: Verifying Checksum Step #1: 279f8e8d162d: Download complete Step #1: 26e478d25837: Verifying Checksum Step #1: 26e478d25837: Download complete Step #1: a74a3b8b08fd: Verifying Checksum Step #1: a74a3b8b08fd: Download complete Step #1: 528fcd2046ac: Download complete Step #1: 3fed19a54e6d: Pull complete Step #1: 25568da7eef0: Download complete Step #1: ab924644a5ba: Pull complete Step #1: 31ba8d54cd7e: Verifying Checksum Step #1: 31ba8d54cd7e: Download complete Step #1: 8df7fec07e6e: Verifying Checksum Step #1: 8df7fec07e6e: Download complete Step #1: b2038180092c: Verifying Checksum Step #1: b2038180092c: Download complete Step #1: 7fa69fd4dcdf: Verifying Checksum Step #1: 7fa69fd4dcdf: Download complete Step #1: 3d61050a5305: Verifying Checksum Step #1: 3d61050a5305: Download complete Step #1: d5c690a1b5d8: Verifying Checksum Step #1: d5c690a1b5d8: Download complete Step #1: 2d26756382b3: Verifying Checksum Step #1: 2d26756382b3: Download complete Step #1: 2841d9d854fc: Pull complete Step #1: 783d57b537b2: Pull complete Step #1: 3d61050a5305: Pull complete Step #1: d1c606f1de74: Pull complete Step #1: ed58da1083b7: Pull complete Step #1: 72a0a7e54e04: Pull complete Step #1: 9781aa044c9f: Pull complete Step #1: 279f8e8d162d: Pull complete Step #1: 26e478d25837: Pull complete Step #1: 31ba8d54cd7e: Pull complete Step #1: a74a3b8b08fd: Pull complete Step #1: 528fcd2046ac: Pull complete Step #1: 25568da7eef0: Pull complete Step #1: 8df7fec07e6e: Pull complete Step #1: 2d26756382b3: Pull complete Step #1: b2038180092c: Pull complete Step #1: 7fa69fd4dcdf: Pull complete Step #1: d5c690a1b5d8: Pull complete Step #1: Digest: sha256:49de5cb33089700ace8429acdb954857a4a73766ab52261b4e6ad3f2b76da572 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> 703f04806671 Step #1: Step 2/5 : RUN apt-get update && apt-get install -y make Step #1: ---> Running in 3e65022a482e Step #1: Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease Step #1: Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB] Step #1: Hit:3 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease Step #1: Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB] Step #1: Get:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB] Step #1: Fetched 325 kB in 0s (444 kB/s) Step #1: Reading package lists... Step #1: Reading package lists... Step #1: Building dependency tree... Step #1: Reading state information... Step #1: make is already the newest version (4.1-6). Step #1: make set to manually installed. Step #1: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Step #1: Removing intermediate container 3e65022a482e Step #1: ---> a6f7ab7a75b6 Step #1: Step 3/5 : RUN git clone https://github.com/google/oss-fuzz.git my-git-repo Step #1: ---> Running in 56277dde7b94 Step #1: Cloning into 'my-git-repo'... Step #1: Removing intermediate container 56277dde7b94 Step #1: ---> a606214cb3ae Step #1: Step 4/5 : WORKDIR my-git-repo Step #1: ---> Running in 9ead0523eb66 Step #1: Removing intermediate container 9ead0523eb66 Step #1: ---> ebd6a1772cdb Step #1: Step 5/5 : COPY build.sh $SRC/ Step #1: ---> f92530dffbda Step #1: Successfully built f92530dffbda Step #1: Successfully tagged gcr.io/oss-fuzz/example:latest Finished Step #1 Starting Step #2 Step #2: Already have image: gcr.io/oss-fuzz/example Step #2: ++ tempfile Step #2: + SRCMAP=/tmp/fileC1tr3b Step #2: + echo '{}' Step #2: + PATHS_TO_SCAN=/src Step #2: + [[ c++ == \g\o ]] Step #2: ++ find /src -name .git -type d Step #2: + for DOT_GIT_DIR in '$(find $PATHS_TO_SCAN -name ".git" -type d)' Step #2: ++ dirname /src/my-git-repo/.git Step #2: + GIT_DIR=/src/my-git-repo Step #2: + cd /src/my-git-repo Step #2: ++ git config --get remote.origin.url Step #2: + GIT_URL=https://github.com/google/oss-fuzz.git Step #2: ++ git rev-parse HEAD Step #2: + GIT_REV=8e2a59f8dc6f4fa17de4d6e1c0ea4fa008897446 Step #2: + jq_inplace /tmp/fileC1tr3b '."/src/my-git-repo" = { type: "git", url: "https://github.com/google/oss-fuzz.git", rev: "8e2a59f8dc6f4fa17de4d6e1c0ea4fa008897446" }' Step #2: ++ tempfile Step #2: + F=/tmp/fileymhEmf Step #2: + cat /tmp/fileC1tr3b Step #2: + jq '."/src/my-git-repo" = { type: "git", url: "https://github.com/google/oss-fuzz.git", rev: "8e2a59f8dc6f4fa17de4d6e1c0ea4fa008897446" }' Step #2: + mv /tmp/fileymhEmf /tmp/fileC1tr3b Step #2: + for DOT_GIT_DIR in '$(find $PATHS_TO_SCAN -name ".git" -type d)' Step #2: ++ dirname /src/afl/.git Step #2: + GIT_DIR=/src/afl Step #2: + cd /src/afl Step #2: ++ git config --get remote.origin.url Step #2: + GIT_URL=https://github.com/google/AFL.git Step #2: ++ git rev-parse HEAD Step #2: + GIT_REV=82b5e359463238d790cadbe2dd494d6a4928bff3 Step #2: + jq_inplace /tmp/fileC1tr3b '."/src/afl" = { type: "git", url: "https://github.com/google/AFL.git", rev: "82b5e359463238d790cadbe2dd494d6a4928bff3" }' Step #2: ++ tempfile Step #2: + F=/tmp/fileNiQk7h Step #2: + cat /tmp/fileC1tr3b Step #2: + jq '."/src/afl" = { type: "git", url: "https://github.com/google/AFL.git", rev: "82b5e359463238d790cadbe2dd494d6a4928bff3" }' Step #2: + mv /tmp/fileNiQk7h /tmp/fileC1tr3b Step #2: ++ find /src -name .svn -type d Step #2: ++ find /src -name .hg -type d Step #2: + '[' '' '!=' '' ']' Step #2: + cat /tmp/fileC1tr3b Step #2: + rm /tmp/fileC1tr3b Step #2: { Step #2: "/src/my-git-repo": { Step #2: "type": "git", Step #2: "url": "https://github.com/google/oss-fuzz.git", Step #2: "rev": "8e2a59f8dc6f4fa17de4d6e1c0ea4fa008897446" Step #2: }, Step #2: "/src/afl": { Step #2: "type": "git", Step #2: "url": "https://github.com/google/AFL.git", Step #2: "rev": "82b5e359463238d790cadbe2dd494d6a4928bff3" Step #2: } Step #2: } Finished Step #2 Starting Step #3 Step #3: Pulling image: gcr.io/oss-fuzz-base/msan-libs-builder Step #3: Using default tag: latest Step #3: latest: Pulling from oss-fuzz-base/msan-libs-builder Step #3: 7b378fa0f908: Already exists Step #3: 4d77b1b29f2e: Already exists Step #3: 7c793be88bae: Already exists Step #3: ecc05c8a19c0: Already exists Step #3: 4aeb2ecfddb5: Pulling fs layer Step #3: fe9f907d6a5f: Pulling fs layer Step #3: eb8b7caaa724: Pulling fs layer Step #3: d7594e99d12a: Pulling fs layer Step #3: 1ee599d3a1f4: Pulling fs layer Step #3: bb3f67cc62cb: Pulling fs layer Step #3: 3145ec7103f9: Pulling fs layer Step #3: 60b4a96def5c: Pulling fs layer Step #3: 1a8b12492770: Pulling fs layer Step #3: 1c2f1279378c: Pulling fs layer Step #3: 14b5398ba4b3: Pulling fs layer Step #3: b334e08ef466: Pulling fs layer Step #3: 1bb35084ef1c: Pulling fs layer Step #3: d7594e99d12a: Waiting Step #3: 1ee599d3a1f4: Waiting Step #3: bb3f67cc62cb: Waiting Step #3: 60b4a96def5c: Waiting Step #3: 1a8b12492770: Waiting Step #3: 1c2f1279378c: Waiting Step #3: 14b5398ba4b3: Waiting Step #3: b334e08ef466: Waiting Step #3: 1bb35084ef1c: Waiting Step #3: 3145ec7103f9: Waiting Step #3: fe9f907d6a5f: Download complete Step #3: d7594e99d12a: Verifying Checksum Step #3: d7594e99d12a: Download complete Step #3: 4aeb2ecfddb5: Verifying Checksum Step #3: 4aeb2ecfddb5: Download complete Step #3: bb3f67cc62cb: Download complete Step #3: eb8b7caaa724: Verifying Checksum Step #3: eb8b7caaa724: Download complete Step #3: 3145ec7103f9: Verifying Checksum Step #3: 3145ec7103f9: Download complete Step #3: 1a8b12492770: Download complete Step #3: 1c2f1279378c: Verifying Checksum Step #3: 1c2f1279378c: Download complete Step #3: 14b5398ba4b3: Verifying Checksum Step #3: 14b5398ba4b3: Download complete Step #3: b334e08ef466: Verifying Checksum Step #3: b334e08ef466: Download complete Step #3: 60b4a96def5c: Verifying Checksum Step #3: 60b4a96def5c: Download complete Step #3: 4aeb2ecfddb5: Pull complete Step #3: fe9f907d6a5f: Pull complete Step #3: eb8b7caaa724: Pull complete Step #3: d7594e99d12a: Pull complete Step #3: 1bb35084ef1c: Verifying Checksum Step #3: 1bb35084ef1c: Download complete Step #3: 1ee599d3a1f4: Verifying Checksum Step #3: 1ee599d3a1f4: Download complete Step #3: 1ee599d3a1f4: Pull complete Step #3: bb3f67cc62cb: Pull complete Step #3: 3145ec7103f9: Pull complete Step #3: 60b4a96def5c: Pull complete Step #3: 1a8b12492770: Pull complete Step #3: 1c2f1279378c: Pull complete Step #3: 14b5398ba4b3: Pull complete Step #3: b334e08ef466: Pull complete Step #3: 1bb35084ef1c: Pull complete Step #3: Digest: sha256:335f8f183251738e8a2b535be8dcc129e5d9bb506f648f6ab7426fade35917bb Step #3: Status: Downloaded newer image for gcr.io/oss-fuzz-base/msan-libs-builder:latest Step #3: gcr.io/oss-fuzz-base/msan-libs-builder:latest Finished Step #3 Starting Step #4 Step #4: Already have image: gcr.io/oss-fuzz/example Step #4: --------------------------------------------------------------- Step #4: ar: creating /usr/lib/libFuzzingEngine.a Step #4: Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #4: --------------------------------------------------------------- Step #4: CC=clang Step #4: CXX=clang++ Step #4: CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link Step #4: CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ Step #4: --------------------------------------------------------------- Step #4: + cd projects/example/my-api-repo Step #4: + make clean Step #4: rm -fv *.a *.o *unittest *_fuzzer *_seed_corpus.zip crash-* *.zip Step #4: ++ nproc Step #4: + make -j32 all Step #4: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ -std=c++11 my_api.cpp -c Step #4: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ -std=c++11 -c -o standalone_fuzz_target_runner.o standalone_fuzz_target_runner.cpp Step #4: ar ruv my_api.a my_api.o Step #4: ar: `u' modifier ignored since `D' is the default (see `U') Step #4: ar: creating my_api.a Step #4: a - my_api.o Step #4: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ -std=c++11 do_stuff_unittest.cpp my_api.a -o do_stuff_unittest Step #4: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ -std=c++11 do_stuff_fuzzer.cpp my_api.a -fsanitize=fuzzer -o do_stuff_fuzzer Step #4: zip -q -r do_stuff_fuzzer_seed_corpus.zip do_stuff_test_data Step #4: ++ nproc Step #4: + make -j32 check Step #4: ./do_stuff_unittest Step #4: => 0 Step #4: foo => 1 Step #4: omg => 1 Step #4: bar => 1 Step #4: ouch => 1 Step #4: foobar => 3 Step #4: foouchbar => 4 Step #4: ./do_stuff_fuzzer do_stuff_test_data/* Step #4: INFO: Seed: 3917055758 Step #4: INFO: Loaded 1 modules (199 inline 8-bit counters): 199 [0x7e9120, 0x7e91e7), Step #4: INFO: Loaded 1 PC tables (199 PCs): 199 [0x59d6a8,0x59e318), Step #4: ./do_stuff_fuzzer: Running 5 inputs 1 time(s) each. Step #4: Running: do_stuff_test_data/410c23d234e7f97a2dd6265eb2909324deb8c13a Step #4: Executed do_stuff_test_data/410c23d234e7f97a2dd6265eb2909324deb8c13a in 0 ms Step #4: Running: do_stuff_test_data/7a74862169c3375f4149daff75187cbca7372a38 Step #4: Executed do_stuff_test_data/7a74862169c3375f4149daff75187cbca7372a38 in 0 ms Step #4: Running: do_stuff_test_data/a835d6f1c6b2ae4a35e8c0a4a0576715c8b27283 Step #4: Executed do_stuff_test_data/a835d6f1c6b2ae4a35e8c0a4a0576715c8b27283 in 0 ms Step #4: Running: do_stuff_test_data/e8fb273916196a5e29967af0b5826daffb9b3765 Step #4: Executed do_stuff_test_data/e8fb273916196a5e29967af0b5826daffb9b3765 in 0 ms Step #4: Running: do_stuff_test_data/fc09d362f05ab97efdfcd873dacad6a9c29e57ff Step #4: Executed do_stuff_test_data/fc09d362f05ab97efdfcd873dacad6a9c29e57ff in 0 ms Step #4: *** Step #4: *** NOTE: fuzzing was not performed, you have only Step #4: *** executed the target code on a fixed set of inputs. Step #4: *** Step #4: + find . -name '*_fuzzer' -exec cp -v '{}' /workspace/out/address ';' Step #4: './do_stuff_fuzzer' -> '/workspace/out/address/do_stuff_fuzzer' Step #4: + find . -name '*_fuzzer.dict' -exec cp -v '{}' /workspace/out/address ';' Step #4: './do_stuff_fuzzer.dict' -> '/workspace/out/address/do_stuff_fuzzer.dict' Step #4: + find . -name '*_fuzzer.options' -exec cp -v '{}' /workspace/out/address ';' Step #4: + find . -name '*_fuzzer_seed_corpus.zip' -exec cp -v '{}' /workspace/out/address ';' Step #4: './do_stuff_fuzzer_seed_corpus.zip' -> '/workspace/out/address/do_stuff_fuzzer_seed_corpus.zip' Finished Step #4 Starting Step #5 Step #5: Pulling image: gcr.io/oss-fuzz-base/base-runner Step #5: Using default tag: latest Step #5: latest: Pulling from oss-fuzz-base/base-runner Step #5: 7b378fa0f908: Already exists Step #5: 4d77b1b29f2e: Already exists Step #5: 7c793be88bae: Already exists Step #5: ecc05c8a19c0: Already exists Step #5: 3fed19a54e6d: Already exists Step #5: ab924644a5ba: Already exists Step #5: 8cabbbb0f24d: Pulling fs layer Step #5: 30e8d201248f: Pulling fs layer Step #5: fd538656322d: Pulling fs layer Step #5: f6cdf15ed561: Pulling fs layer Step #5: 90c9a8744f54: Pulling fs layer Step #5: 97e3f66cbc7c: Pulling fs layer Step #5: 23244675a9d4: Pulling fs layer Step #5: f6cdf15ed561: Waiting Step #5: 23244675a9d4: Waiting Step #5: 90c9a8744f54: Waiting Step #5: 97e3f66cbc7c: Waiting Step #5: 30e8d201248f: Download complete Step #5: 8cabbbb0f24d: Download complete Step #5: 90c9a8744f54: Verifying Checksum Step #5: 90c9a8744f54: Download complete Step #5: fd538656322d: Verifying Checksum Step #5: fd538656322d: Download complete Step #5: 8cabbbb0f24d: Pull complete Step #5: 30e8d201248f: Pull complete Step #5: 97e3f66cbc7c: Verifying Checksum Step #5: 97e3f66cbc7c: Download complete Step #5: 23244675a9d4: Verifying Checksum Step #5: 23244675a9d4: Download complete Step #5: fd538656322d: Pull complete Step #5: f6cdf15ed561: Verifying Checksum Step #5: f6cdf15ed561: Download complete Step #5: f6cdf15ed561: Pull complete Step #5: 90c9a8744f54: Pull complete Step #5: 97e3f66cbc7c: Pull complete Step #5: 23244675a9d4: Pull complete Step #5: Digest: sha256:36316125564c5d136dcb9dbf0436c5d6f15588ae05f5c4153b467e99f60af11b Step #5: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-runner:latest Step #5: gcr.io/oss-fuzz-base/base-runner:latest Step #5: INFO: performing bad build checks for /tmp/not-out/do_stuff_fuzzer. Step #5: 1 fuzzers total, 0 seem to be broken (0%). Finished Step #5 Starting Step #6 Step #6: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #6 Starting Step #7 Step #7: Already have image: gcr.io/oss-fuzz/example Step #7: adding: do_stuff_fuzzer (deflated 68%) Step #7: adding: do_stuff_fuzzer.dict (deflated 22%) Step #7: adding: do_stuff_fuzzer_seed_corpus.zip (stored 0%) Finished Step #7 Starting Step #8 Step #8: Pulling image: gcr.io/oss-fuzz-base/uploader Step #8: Using default tag: latest Step #8: latest: Pulling from oss-fuzz-base/uploader Step #8: c62795f78da9: Pulling fs layer Step #8: d4fceeeb758e: Pulling fs layer Step #8: 5c9125a401ae: Pulling fs layer Step #8: 0062f774e994: Pulling fs layer Step #8: 6b33fd031fac: Pulling fs layer Step #8: 7eb39101e508: Pulling fs layer Step #8: 89257482f398: Pulling fs layer Step #8: 6b33fd031fac: Waiting Step #8: 0062f774e994: Waiting Step #8: 7eb39101e508: Waiting Step #8: 89257482f398: Waiting Step #8: d4fceeeb758e: Verifying Checksum Step #8: d4fceeeb758e: Download complete Step #8: 5c9125a401ae: Verifying Checksum Step #8: 5c9125a401ae: Download complete Step #8: 0062f774e994: Verifying Checksum Step #8: 0062f774e994: Download complete Step #8: 6b33fd031fac: Verifying Checksum Step #8: 6b33fd031fac: Download complete Step #8: c62795f78da9: Download complete Step #8: 89257482f398: Verifying Checksum Step #8: 89257482f398: Download complete Step #8: 7eb39101e508: Verifying Checksum Step #8: 7eb39101e508: Download complete Step #8: c62795f78da9: Pull complete Step #8: d4fceeeb758e: Pull complete Step #8: 5c9125a401ae: Pull complete Step #8: 0062f774e994: Pull complete Step #8: 6b33fd031fac: Pull complete Step #8: 7eb39101e508: Pull complete Step #8: 89257482f398: Pull complete Step #8: Digest: sha256:5717ba63d13b5515063e2a6ccad09fb5bf32a86c8e0798a363d81c2be522e411 Step #8: Status: Downloaded newer image for gcr.io/oss-fuzz-base/uploader:latest Step #8: gcr.io/oss-fuzz-base/uploader:latest Step #8: % Total % Received % Xferd Average Speed Time Time Time Current Step #8: Dload Upload Total Spent Left Speed Step #8: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 300 0 0 100 300 0 999 --:--:-- --:--:-- --:--:-- 1000 Finished Step #8 Starting Step #9 Step #9: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #9: % Total % Received % Xferd Average Speed Time Time Time Current Step #9: Dload Upload Total Spent Left Speed Step #9: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1432k 0 0 100 1432k 0 4261k --:--:-- --:--:-- --:--:-- 4264k Finished Step #9 Starting Step #10 Step #10: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #10: % Total % Received % Xferd Average Speed Time Time Time Current Step #10: Dload Upload Total Spent Left Speed Step #10: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16 0 0 100 16 0 31 --:--:-- --:--:-- --:--:-- 31 Finished Step #10 Starting Step #11 Step #11: Already have image (with digest): gcr.io/cloud-builders/curl Step #11: Step #11: ***** NOTICE ***** Step #11: Step #11: Supported `curl` images, including multiple tagged versions, Step #11: are available at Step #11: https://console.cloud.google.com/launcher/details/google/ubuntu1604 Step #11: and https://hub.docker.com/r/curlimages/curl. Step #11: Step #11: ***** END OF NOTICE ***** Step #11: Step #11: % Total % Received % Xferd Average Speed Time Time Time Current Step #11: Dload Upload Total Spent Left Speed Step #11: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 32 0 0 100 32 0 50 --:--:-- --:--:-- --:--:-- 50 100 32 0 0 100 32 0 50 --:--:-- --:--:-- --:--:-- 50 Finished Step #11 Starting Step #12 Step #12: Already have image: gcr.io/oss-fuzz/example Finished Step #12 Starting Step #13 Step #13: Already have image: gcr.io/oss-fuzz/example Step #13: --------------------------------------------------------------- Step #13: ar: creating /usr/lib/libFuzzingEngine.a Step #13: Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #13: --------------------------------------------------------------- Step #13: CC=clang Step #13: CXX=clang++ Step #13: CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link Step #13: CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -stdlib=libc++ Step #13: --------------------------------------------------------------- Step #13: + cd projects/example/my-api-repo Step #13: + make clean Step #13: rm -fv *.a *.o *unittest *_fuzzer *_seed_corpus.zip crash-* *.zip Step #13: ++ nproc Step #13: + make -j32 all Step #13: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -stdlib=libc++ -std=c++11 my_api.cpp -c Step #13: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -stdlib=libc++ -std=c++11 -c -o standalone_fuzz_target_runner.o standalone_fuzz_target_runner.cpp Step #13: ar ruv my_api.a my_api.o Step #13: ar: `u' modifier ignored since `D' is the default (see `U') Step #13: ar: creating my_api.a Step #13: a - my_api.o Step #13: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -stdlib=libc++ -std=c++11 do_stuff_unittest.cpp my_api.a -o do_stuff_unittest Step #13: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -stdlib=libc++ -std=c++11 do_stuff_fuzzer.cpp my_api.a -fsanitize=fuzzer -o do_stuff_fuzzer Step #13: zip -q -r do_stuff_fuzzer_seed_corpus.zip do_stuff_test_data Step #13: ++ nproc Step #13: + make -j32 check Step #13: ./do_stuff_unittest Step #13: => 0 Step #13: foo => 1 Step #13: omg => 1 Step #13: bar => 1 Step #13: ouch => 1 Step #13: foobar => 3 Step #13: foouchbar => 4 Step #13: ./do_stuff_fuzzer do_stuff_test_data/* Step #13: INFO: Seed: 3985991874 Step #13: INFO: Loaded 1 modules (354 inline 8-bit counters): 354 [0x72d320, 0x72d482), Step #13: INFO: Loaded 1 PC tables (354 PCs): 354 [0x4f2bd8,0x4f41f8), Step #13: ./do_stuff_fuzzer: Running 5 inputs 1 time(s) each. Step #13: Running: do_stuff_test_data/410c23d234e7f97a2dd6265eb2909324deb8c13a Step #13: Executed do_stuff_test_data/410c23d234e7f97a2dd6265eb2909324deb8c13a in 0 ms Step #13: Running: do_stuff_test_data/7a74862169c3375f4149daff75187cbca7372a38 Step #13: Executed do_stuff_test_data/7a74862169c3375f4149daff75187cbca7372a38 in 0 ms Step #13: Running: do_stuff_test_data/a835d6f1c6b2ae4a35e8c0a4a0576715c8b27283 Step #13: Executed do_stuff_test_data/a835d6f1c6b2ae4a35e8c0a4a0576715c8b27283 in 0 ms Step #13: Running: do_stuff_test_data/e8fb273916196a5e29967af0b5826daffb9b3765 Step #13: Executed do_stuff_test_data/e8fb273916196a5e29967af0b5826daffb9b3765 in 0 ms Step #13: Running: do_stuff_test_data/fc09d362f05ab97efdfcd873dacad6a9c29e57ff Step #13: Executed do_stuff_test_data/fc09d362f05ab97efdfcd873dacad6a9c29e57ff in 0 ms Step #13: *** Step #13: *** NOTE: fuzzing was not performed, you have only Step #13: *** executed the target code on a fixed set of inputs. Step #13: *** Step #13: + find . -name '*_fuzzer' -exec cp -v '{}' /workspace/out/undefined ';' Step #13: './do_stuff_fuzzer' -> '/workspace/out/undefined/do_stuff_fuzzer' Step #13: + find . -name '*_fuzzer.dict' -exec cp -v '{}' /workspace/out/undefined ';' Step #13: './do_stuff_fuzzer.dict' -> '/workspace/out/undefined/do_stuff_fuzzer.dict' Step #13: + find . -name '*_fuzzer.options' -exec cp -v '{}' /workspace/out/undefined ';' Step #13: + find . -name '*_fuzzer_seed_corpus.zip' -exec cp -v '{}' /workspace/out/undefined ';' Step #13: './do_stuff_fuzzer_seed_corpus.zip' -> '/workspace/out/undefined/do_stuff_fuzzer_seed_corpus.zip' Finished Step #13 Starting Step #14 Step #14: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Step #14: INFO: performing bad build checks for /tmp/not-out/do_stuff_fuzzer. Step #14: 1 fuzzers total, 0 seem to be broken (0%). Finished Step #14 Starting Step #15 Step #15: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #15 Starting Step #16 Step #16: Already have image: gcr.io/oss-fuzz/example Step #16: adding: do_stuff_fuzzer (deflated 67%) Step #16: adding: do_stuff_fuzzer.dict (deflated 22%) Step #16: adding: do_stuff_fuzzer_seed_corpus.zip (stored 0%) Finished Step #16 Starting Step #17 Step #17: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #17: % Total % Received % Xferd Average Speed Time Time Time Current Step #17: Dload Upload Total Spent Left Speed Step #17: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 300 0 0 100 300 0 1041 --:--:-- --:--:-- --:--:-- 1045 Finished Step #17 Starting Step #18 Step #18: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #18: % Total % Received % Xferd Average Speed Time Time Time Current Step #18: Dload Upload Total Spent Left Speed Step #18: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 938k 0 0 100 938k 0 2808k --:--:-- --:--:-- --:--:-- 2817k Finished Step #18 Starting Step #19 Step #19: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #19: % Total % Received % Xferd Average Speed Time Time Time Current Step #19: Dload Upload Total Spent Left Speed Step #19: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16 0 0 100 16 0 36 --:--:-- --:--:-- --:--:-- 36 Finished Step #19 Starting Step #20 Step #20: Already have image (with digest): gcr.io/cloud-builders/curl Step #20: Step #20: ***** NOTICE ***** Step #20: Step #20: Supported `curl` images, including multiple tagged versions, Step #20: are available at Step #20: https://console.cloud.google.com/launcher/details/google/ubuntu1604 Step #20: and https://hub.docker.com/r/curlimages/curl. Step #20: Step #20: ***** END OF NOTICE ***** Step #20: Step #20: % Total % Received % Xferd Average Speed Time Time Time Current Step #20: Dload Upload Total Spent Left Speed Step #20: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 34 0 0 100 34 0 82 --:--:-- --:--:-- --:--:-- 82 Finished Step #20 Starting Step #21 Step #21: Already have image: gcr.io/oss-fuzz/example Finished Step #21 Starting Step #22 Step #22: Already have image: gcr.io/oss-fuzz/example Step #22: --------------------------------------------------------------- Step #22: ar: creating /usr/lib/libFuzzingEngine.a Step #22: Compiling afl to /usr/lib/libFuzzingEngine.a ...rm -f afl-gcc afl-fuzz afl-showmap afl-tmin afl-gotcpu afl-analyze afl-as as afl-g++ afl-clang afl-clang++ *.o *~ a.out core core.[1-9][0-9]* *.stackdump test .test test-instr .test-instr0 .test-instr1 qemu_mode/qemu-2.10.0.tar.bz2 afl-qemu-trace Step #22: rm -rf out_dir qemu_mode/qemu-2.10.0 Step #22: make -C llvm_mode clean Step #22: make[1]: Entering directory '/src/afl/llvm_mode' Step #22: rm -f *.o *.so *~ a.out core core.[1-9][0-9]* test-instr .test-instr0 .test-instr1 Step #22: rm -f ../afl-clang-fast ../afl-llvm-pass.so ../afl-llvm-rt.o ../afl-llvm-rt-32.o ../afl-llvm-rt-64.o ../afl-clang-fast++ Step #22: make[1]: Leaving directory '/src/afl/llvm_mode' Step #22: make -C libdislocator clean Step #22: make[1]: Entering directory '/src/afl/libdislocator' Step #22: rm -f *.o *.so *~ a.out core core.[1-9][0-9]* Step #22: rm -f libdislocator.so Step #22: make[1]: Leaving directory '/src/afl/libdislocator' Step #22: make -C libtokencap clean Step #22: make[1]: Entering directory '/src/afl/libtokencap' Step #22: rm -f *.o *.so *~ a.out core core.[1-9][0-9]* Step #22: rm -f libtokencap.so Step #22: make[1]: Leaving directory '/src/afl/libtokencap' Step #22: [!] Note: skipping x86 compilation checks (AFL_NO_X86 set). Step #22: clang -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-gcc.c -o afl-gcc -ldl Step #22: set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc $i; done Step #22: clang -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-fuzz.c -o afl-fuzz -ldl Step #22: clang -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-showmap.c -o afl-showmap -ldl Step #22: clang -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-tmin.c -o afl-tmin -ldl Step #22: clang -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-gotcpu.c -o afl-gotcpu -ldl Step #22: clang -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-analyze.c -o afl-analyze -ldl Step #22: clang -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-as.c -o afl-as -ldl Step #22: ln -sf afl-as as Step #22: [!] Note: skipping build tests (you may need to use LLVM or QEMU mode). Step #22: [+] LLVM users: see llvm_mode/README.llvm for a faster alternative to afl-gcc. Step #22: [+] All done! Be sure to review README - it's pretty short and useful. Step #22: done. Step #22: --------------------------------------------------------------- Step #22: CC=clang Step #22: CXX=clang++ Step #22: CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard Step #22: CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard -stdlib=libc++ Step #22: --------------------------------------------------------------- Step #22: + cd projects/example/my-api-repo Step #22: + make clean Step #22: rm -fv *.a *.o *unittest *_fuzzer *_seed_corpus.zip crash-* *.zip Step #22: ++ nproc Step #22: + make -j32 all Step #22: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard -stdlib=libc++ -std=c++11 my_api.cpp -c Step #22: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard -stdlib=libc++ -std=c++11 -c -o standalone_fuzz_target_runner.o standalone_fuzz_target_runner.cpp Step #22: ar ruv my_api.a my_api.o Step #22: ar: `u' modifier ignored since `D' is the default (see `U') Step #22: ar: creating my_api.a Step #22: a - my_api.o Step #22: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard -stdlib=libc++ -std=c++11 do_stuff_unittest.cpp my_api.a -o do_stuff_unittest Step #22: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard -stdlib=libc++ -std=c++11 do_stuff_fuzzer.cpp my_api.a /usr/lib/libFuzzingEngine.a -o do_stuff_fuzzer Step #22: zip -q -r do_stuff_fuzzer_seed_corpus.zip do_stuff_test_data Step #22: ++ nproc Step #22: + make -j32 check Step #22: ./do_stuff_unittest Step #22: => 0 Step #22: foo => 1 Step #22: omg => 1 Step #22: bar => 1 Step #22: ouch => 1 Step #22: foobar => 3 Step #22: foouchbar => 4 Step #22: ./do_stuff_fuzzer do_stuff_test_data/* Step #22: ======================= INFO ========================= Step #22: This binary is built for AFL-fuzz. Step #22: To run the target function on individual input(s) execute this: Step #22: ./do_stuff_fuzzer < INPUT_FILE Step #22: or Step #22: ./do_stuff_fuzzer INPUT_FILE1 [INPUT_FILE2 ... ] Step #22: To fuzz with afl-fuzz execute this: Step #22: afl-fuzz [afl-flags] ./do_stuff_fuzzer [-N] Step #22: afl-fuzz will run N iterations before re-spawning the process (default: 1000) Step #22: ====================================================== Step #22: Reading 5 bytes from do_stuff_test_data/410c23d234e7f97a2dd6265eb2909324deb8c13a Step #22: Execution successful Step #22: Reading 44 bytes from do_stuff_test_data/7a74862169c3375f4149daff75187cbca7372a38 Step #22: Execution successful Step #22: Reading 3 bytes from do_stuff_test_data/a835d6f1c6b2ae4a35e8c0a4a0576715c8b27283 Step #22: Execution successful Step #22: Reading 6 bytes from do_stuff_test_data/e8fb273916196a5e29967af0b5826daffb9b3765 Step #22: Execution successful Step #22: Reading 6 bytes from do_stuff_test_data/fc09d362f05ab97efdfcd873dacad6a9c29e57ff Step #22: Execution successful Step #22: + find . -name '*_fuzzer' -exec cp -v '{}' /workspace/out/address ';' Step #22: './do_stuff_fuzzer' -> '/workspace/out/address/do_stuff_fuzzer' Step #22: + find . -name '*_fuzzer.dict' -exec cp -v '{}' /workspace/out/address ';' Step #22: './do_stuff_fuzzer.dict' -> '/workspace/out/address/do_stuff_fuzzer.dict' Step #22: + find . -name '*_fuzzer.options' -exec cp -v '{}' /workspace/out/address ';' Step #22: + find . -name '*_fuzzer_seed_corpus.zip' -exec cp -v '{}' /workspace/out/address ';' Step #22: './do_stuff_fuzzer_seed_corpus.zip' -> '/workspace/out/address/do_stuff_fuzzer_seed_corpus.zip' Finished Step #22 Starting Step #23 Step #23: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Step #23: INFO: performing bad build checks for /tmp/not-out/do_stuff_fuzzer. Step #23: 1 fuzzers total, 0 seem to be broken (0%). Finished Step #23 Starting Step #24 Step #24: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #24 Starting Step #25 Step #25: Already have image: gcr.io/oss-fuzz/example Step #25: adding: afl-analyze (deflated 60%) Step #25: adding: afl-as (deflated 64%) Step #25: adding: afl-cmin (deflated 63%) Step #25: adding: afl-fuzz (deflated 61%) Step #25: adding: afl-gcc (deflated 64%) Step #25: adding: afl-gotcpu (deflated 62%) Step #25: adding: afl-plot (deflated 61%) Step #25: adding: afl-showmap (deflated 61%) Step #25: adding: afl-tmin (deflated 61%) Step #25: adding: afl-whatsup (deflated 58%) Step #25: adding: do_stuff_fuzzer (deflated 67%) Step #25: adding: do_stuff_fuzzer.dict (deflated 22%) Step #25: adding: do_stuff_fuzzer_seed_corpus.zip (stored 0%) Finished Step #25 Starting Step #26 Step #26: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #26: % Total % Received % Xferd Average Speed Time Time Time Current Step #26: Dload Upload Total Spent Left Speed Step #26: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 300 0 0 100 300 0 803 --:--:-- --:--:-- --:--:-- 804 Finished Step #26 Starting Step #27 Step #27: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #27: % Total % Received % Xferd Average Speed Time Time Time Current Step #27: Dload Upload Total Spent Left Speed Step #27: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1262k 0 0 100 1262k 0 3849k --:--:-- --:--:-- --:--:-- 3861k Finished Step #27 Starting Step #28 Step #28: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #28: % Total % Received % Xferd Average Speed Time Time Time Current Step #28: Dload Upload Total Spent Left Speed Step #28: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16 0 0 100 16 0 37 --:--:-- --:--:-- --:--:-- 37 Finished Step #28 Starting Step #29 Step #29: Already have image (with digest): gcr.io/cloud-builders/curl Step #29: Step #29: ***** NOTICE ***** Step #29: Step #29: Supported `curl` images, including multiple tagged versions, Step #29: are available at Step #29: https://console.cloud.google.com/launcher/details/google/ubuntu1604 Step #29: and https://hub.docker.com/r/curlimages/curl. Step #29: Step #29: ***** END OF NOTICE ***** Step #29: Step #29: % Total % Received % Xferd Average Speed Time Time Time Current Step #29: Dload Upload Total Spent Left Speed Step #29: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 32 0 0 100 32 0 83 --:--:-- --:--:-- --:--:-- 83 100 32 0 0 100 32 0 83 --:--:-- --:--:-- --:--:-- 83 Finished Step #29 Starting Step #30 Step #30: Already have image: gcr.io/oss-fuzz/example Finished Step #30 Starting Step #31 Step #31: Already have image: gcr.io/oss-fuzz/example Step #31: --------------------------------------------------------------- Step #31: Skipping compilation; using precompiled honggfuzz Step #31: done. Step #31: --------------------------------------------------------------- Step #31: CC=clang Step #31: CXX=clang++ Step #31: CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp Step #31: CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -stdlib=libc++ Step #31: --------------------------------------------------------------- Step #31: + cd projects/example/my-api-repo Step #31: + make clean Step #31: rm -fv *.a *.o *unittest *_fuzzer *_seed_corpus.zip crash-* *.zip Step #31: ++ nproc Step #31: + make -j32 all Step #31: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -stdlib=libc++ -std=c++11 my_api.cpp -c Step #31: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -stdlib=libc++ -std=c++11 -c -o standalone_fuzz_target_runner.o standalone_fuzz_target_runner.cpp Step #31: ar ruv my_api.a my_api.o Step #31: ar: `u' modifier ignored since `D' is the default (see `U') Step #31: ar: creating my_api.a Step #31: a - my_api.o Step #31: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -stdlib=libc++ -std=c++11 do_stuff_unittest.cpp my_api.a -o do_stuff_unittest Step #31: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -stdlib=libc++ -std=c++11 do_stuff_fuzzer.cpp my_api.a /usr/lib/libFuzzingEngine.a -o do_stuff_fuzzer Step #31: zip -q -r do_stuff_fuzzer_seed_corpus.zip do_stuff_test_data Step #31: ++ nproc Step #31: + make -j32 check Step #31: ./do_stuff_unittest Step #31: => 0 Step #31: foo => 1 Step #31: omg => 1 Step #31: bar => 1 Step #31: ouch => 1 Step #31: foobar => 3 Step #31: foouchbar => 4 Step #31: ./do_stuff_fuzzer do_stuff_test_data/* Step #31: Accepting input from 'do_stuff_test_data/fc09d362f05ab97efdfcd873dacad6a9c29e57ff' Step #31: Usage for fuzzing: honggfuzz -P [flags] -- ./do_stuff_fuzzer Step #31: + find . -name '*_fuzzer' -exec cp -v '{}' /workspace/out/address ';' Step #31: './do_stuff_fuzzer' -> '/workspace/out/address/do_stuff_fuzzer' Step #31: + find . -name '*_fuzzer.dict' -exec cp -v '{}' /workspace/out/address ';' Step #31: './do_stuff_fuzzer.dict' -> '/workspace/out/address/do_stuff_fuzzer.dict' Step #31: + find . -name '*_fuzzer.options' -exec cp -v '{}' /workspace/out/address ';' Step #31: + find . -name '*_fuzzer_seed_corpus.zip' -exec cp -v '{}' /workspace/out/address ';' Step #31: './do_stuff_fuzzer_seed_corpus.zip' -> '/workspace/out/address/do_stuff_fuzzer_seed_corpus.zip' Finished Step #31 Starting Step #32 Step #32: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Step #32: INFO: performing bad build checks for /tmp/not-out/do_stuff_fuzzer. Step #32: 1 fuzzers total, 0 seem to be broken (0%). Finished Step #32 Starting Step #33 Step #33: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #33 Starting Step #34 Step #34: Already have image: gcr.io/oss-fuzz/example Step #34: adding: do_stuff_fuzzer (deflated 67%) Step #34: adding: do_stuff_fuzzer.dict (deflated 22%) Step #34: adding: do_stuff_fuzzer_seed_corpus.zip (stored 0%) Step #34: adding: honggfuzz (deflated 65%) Finished Step #34 Starting Step #35 Step #35: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #35: % Total % Received % Xferd Average Speed Time Time Time Current Step #35: Dload Upload Total Spent Left Speed Step #35: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 300 0 0 100 300 0 870 --:--:-- --:--:-- --:--:-- 872 Finished Step #35 Starting Step #36 Step #36: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #36: % Total % Received % Xferd Average Speed Time Time Time Current Step #36: Dload Upload Total Spent Left Speed Step #36: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1148k 0 0 100 1148k 0 2584k --:--:-- --:--:-- --:--:-- 2585k Finished Step #36 Starting Step #37 Step #37: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #37: % Total % Received % Xferd Average Speed Time Time Time Current Step #37: Dload Upload Total Spent Left Speed Step #37: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16 0 0 100 16 0 35 --:--:-- --:--:-- --:--:-- 35 Finished Step #37 Starting Step #38 Step #38: Already have image (with digest): gcr.io/cloud-builders/curl Step #38: Step #38: ***** NOTICE ***** Step #38: Step #38: Supported `curl` images, including multiple tagged versions, Step #38: are available at Step #38: https://console.cloud.google.com/launcher/details/google/ubuntu1604 Step #38: and https://hub.docker.com/r/curlimages/curl. Step #38: Step #38: ***** END OF NOTICE ***** Step #38: Step #38: % Total % Received % Xferd Average Speed Time Time Time Current Step #38: Dload Upload Total Spent Left Speed Step #38: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 32 0 0 100 32 0 78 --:--:-- --:--:-- --:--:-- 79 Finished Step #38 Starting Step #39 Step #39: Already have image: gcr.io/oss-fuzz/example Finished Step #39 PUSH DONE