starting build "48688067-b13e-41d8-ab2a-21c3e228f050" FETCHSOURCE BUILD Starting Step #0 Step #0: Already have image (with digest): gcr.io/cloud-builders/git 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: Sending build context to Docker daemon 18.43kB Step #1: Step 1/6 : FROM gcr.io/oss-fuzz-base/base-builder-go Step #1: latest: Pulling from oss-fuzz-base/base-builder-go Step #1: b549f31133a9: Pulling fs layer Step #1: 9f80bca35359: Pulling fs layer Step #1: c2e9ab7e6d55: Pulling fs layer Step #1: a2c1799b005c: Pulling fs layer Step #1: 647124c852bc: Pulling fs layer Step #1: 4c0db9535385: Pulling fs layer Step #1: 7d9d6400b844: Pulling fs layer Step #1: b95ba533437d: Pulling fs layer Step #1: 98ef18780bd4: Pulling fs layer Step #1: 0bcc6c903840: Pulling fs layer Step #1: 294ba0b9a924: Pulling fs layer Step #1: 344841c178fd: Pulling fs layer Step #1: 8a24d9f6813c: Pulling fs layer Step #1: 8cfff2f8b62b: Pulling fs layer Step #1: 7b6fc8fef10c: Pulling fs layer Step #1: b56b52e44dc7: Pulling fs layer Step #1: d4dbf4e8824f: Pulling fs layer Step #1: fa95fc65ee8e: Pulling fs layer Step #1: 1da1ba4445a7: Pulling fs layer Step #1: 647124c852bc: Waiting Step #1: 4c0db9535385: Waiting Step #1: 14cc587b05ae: Pulling fs layer Step #1: 03fa8c0fad9a: Pulling fs layer Step #1: 7d9d6400b844: Waiting Step #1: ccfd740776f9: Pulling fs layer Step #1: 04ec2d031af9: Pulling fs layer Step #1: b95ba533437d: Waiting Step #1: 0fe86fe6d25a: Pulling fs layer Step #1: 3d5e727cc8f7: Pulling fs layer Step #1: 0bcc6c903840: Waiting Step #1: 98ef18780bd4: Waiting Step #1: 639389e328da: Pulling fs layer Step #1: da2ba7c8e5f6: Pulling fs layer Step #1: 294ba0b9a924: Waiting Step #1: 0c2ec5c7c85c: Pulling fs layer Step #1: 189e9da4e490: Pulling fs layer Step #1: 344841c178fd: Waiting Step #1: 6ec4707e85be: Pulling fs layer Step #1: 82d8b86a5370: Pulling fs layer Step #1: 8a24d9f6813c: Waiting Step #1: be9c3baf7740: Pulling fs layer Step #1: 52700f3e6f6e: Pulling fs layer Step #1: 8cfff2f8b62b: Waiting Step #1: d4dbf4e8824f: Waiting Step #1: ccfd740776f9: Waiting Step #1: 7b6fc8fef10c: Waiting Step #1: a2c1799b005c: Waiting Step #1: b56b52e44dc7: Waiting Step #1: 14cc587b05ae: Waiting Step #1: 04ec2d031af9: Waiting Step #1: 1da1ba4445a7: Waiting Step #1: fa95fc65ee8e: Waiting Step #1: 0fe86fe6d25a: Waiting Step #1: 03fa8c0fad9a: Waiting Step #1: da2ba7c8e5f6: Waiting Step #1: 3d5e727cc8f7: Waiting Step #1: 6ec4707e85be: Waiting Step #1: 189e9da4e490: Waiting Step #1: be9c3baf7740: Waiting Step #1: 0c2ec5c7c85c: Waiting Step #1: 52700f3e6f6e: Waiting Step #1: 82d8b86a5370: Waiting Step #1: c2e9ab7e6d55: Verifying Checksum Step #1: c2e9ab7e6d55: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: a2c1799b005c: Verifying Checksum Step #1: a2c1799b005c: Download complete Step #1: 647124c852bc: Verifying Checksum Step #1: 647124c852bc: Download complete Step #1: 4c0db9535385: Verifying Checksum Step #1: 4c0db9535385: Download complete Step #1: b95ba533437d: Download complete Step #1: 98ef18780bd4: Verifying Checksum Step #1: 98ef18780bd4: Download complete Step #1: 9f80bca35359: Verifying Checksum Step #1: 9f80bca35359: Download complete Step #1: 294ba0b9a924: Verifying Checksum Step #1: 294ba0b9a924: Download complete Step #1: 344841c178fd: Verifying Checksum Step #1: 344841c178fd: Download complete Step #1: b549f31133a9: Pull complete Step #1: 8a24d9f6813c: Verifying Checksum Step #1: 8a24d9f6813c: Download complete Step #1: 8cfff2f8b62b: Verifying Checksum Step #1: 8cfff2f8b62b: Download complete Step #1: 7b6fc8fef10c: Verifying Checksum Step #1: 7b6fc8fef10c: Download complete Step #1: b56b52e44dc7: Verifying Checksum Step #1: b56b52e44dc7: Download complete Step #1: d4dbf4e8824f: Verifying Checksum Step #1: d4dbf4e8824f: Download complete Step #1: fa95fc65ee8e: Download complete Step #1: 1da1ba4445a7: Verifying Checksum Step #1: 1da1ba4445a7: Download complete Step #1: 14cc587b05ae: Verifying Checksum Step #1: 14cc587b05ae: Download complete Step #1: 03fa8c0fad9a: Verifying Checksum Step #1: 03fa8c0fad9a: Download complete Step #1: 0bcc6c903840: Verifying Checksum Step #1: 0bcc6c903840: Download complete Step #1: 04ec2d031af9: Download complete Step #1: ccfd740776f9: Verifying Checksum Step #1: ccfd740776f9: Download complete Step #1: 0fe86fe6d25a: Verifying Checksum Step #1: 0fe86fe6d25a: Download complete Step #1: 3d5e727cc8f7: Verifying Checksum Step #1: 3d5e727cc8f7: Download complete Step #1: 639389e328da: Verifying Checksum Step #1: 639389e328da: Download complete Step #1: 0c2ec5c7c85c: Download complete Step #1: 189e9da4e490: Verifying Checksum Step #1: 189e9da4e490: Download complete Step #1: da2ba7c8e5f6: Verifying Checksum Step #1: da2ba7c8e5f6: Download complete Step #1: 6ec4707e85be: Verifying Checksum Step #1: 6ec4707e85be: Download complete Step #1: 82d8b86a5370: Verifying Checksum Step #1: 82d8b86a5370: Download complete Step #1: 52700f3e6f6e: Verifying Checksum Step #1: 52700f3e6f6e: Download complete Step #1: 7d9d6400b844: Verifying Checksum Step #1: 7d9d6400b844: Download complete Step #1: 9f80bca35359: Pull complete Step #1: c2e9ab7e6d55: Pull complete Step #1: be9c3baf7740: Verifying Checksum Step #1: be9c3baf7740: Download complete Step #1: a2c1799b005c: Pull complete Step #1: 647124c852bc: Pull complete Step #1: 4c0db9535385: Pull complete Step #1: 7d9d6400b844: Pull complete Step #1: b95ba533437d: Pull complete Step #1: 98ef18780bd4: Pull complete Step #1: 0bcc6c903840: Pull complete Step #1: 294ba0b9a924: Pull complete Step #1: 344841c178fd: Pull complete Step #1: 8a24d9f6813c: Pull complete Step #1: 8cfff2f8b62b: Pull complete Step #1: 7b6fc8fef10c: Pull complete Step #1: b56b52e44dc7: Pull complete Step #1: d4dbf4e8824f: Pull complete Step #1: fa95fc65ee8e: Pull complete Step #1: 1da1ba4445a7: Pull complete Step #1: 14cc587b05ae: Pull complete Step #1: 03fa8c0fad9a: Pull complete Step #1: ccfd740776f9: Pull complete Step #1: 04ec2d031af9: Pull complete Step #1: 0fe86fe6d25a: Pull complete Step #1: 3d5e727cc8f7: Pull complete Step #1: 639389e328da: Pull complete Step #1: da2ba7c8e5f6: Pull complete Step #1: 0c2ec5c7c85c: Pull complete Step #1: 189e9da4e490: Pull complete Step #1: 6ec4707e85be: Pull complete Step #1: 82d8b86a5370: Pull complete Step #1: be9c3baf7740: Pull complete Step #1: 52700f3e6f6e: Pull complete Step #1: Digest: sha256:85f319fbf5616a569784e32a9a62c769b0f735932337d5ddcb610cd268ecb2ca Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 53e71bd3df67 Step #1: Step 2/6 : RUN git clone --depth 1 https://github.com/hyperledger/fabric Step #1: ---> Running in ddbe5a12dcb8 Step #1: Cloning into 'fabric'... Step #1: Removing intermediate container ddbe5a12dcb8 Step #1: ---> 82f5aea98dac Step #1: Step 3/6 : RUN git clone https://github.com/AdamKorcz/instrumentation Step #1: ---> Running in 85787592f180 Step #1: Cloning into 'instrumentation'... Step #1: Removing intermediate container 85787592f180 Step #1: ---> b8d3b3c78d65 Step #1: Step 4/6 : COPY build.sh ccprovider_fuzzer.go persistence_fuzzer.go policydsl_fuzzer.go fabenc_fuzzer.go msp_fuzzer.go $SRC/ Step #1: ---> 5a0ac4751cf9 Step #1: Step 5/6 : WORKDIR $SRC/fabric Step #1: ---> Running in 232740b226d6 Step #1: Removing intermediate container 232740b226d6 Step #1: ---> 77a85abf84d6 Step #1: Step 6/6 : COPY *.options $SRC/ Step #1: ---> 1d163ca15d58 Step #1: Successfully built 1d163ca15d58 Step #1: Successfully tagged gcr.io/oss-fuzz/fabric:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/fabric Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileObYXAP Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ go == \g\o ]] Step #2 - "srcmap": + PATHS_TO_SCAN='/src /root/go' Step #2 - "srcmap": ++ find /src /root/go -name .git -type d Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/instrumentation/.git Step #2 - "srcmap": + GIT_DIR=/src/instrumentation Step #2 - "srcmap": + cd /src/instrumentation Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/AdamKorcz/instrumentation Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=eca4ee9b505d0c5ddbfc9a0e29a40dad21b73702 Step #2 - "srcmap": + jq_inplace /tmp/fileObYXAP '."/src/instrumentation" = { type: "git", url: "https://github.com/AdamKorcz/instrumentation", rev: "eca4ee9b505d0c5ddbfc9a0e29a40dad21b73702" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filezo6ljb Step #2 - "srcmap": + cat /tmp/fileObYXAP Step #2 - "srcmap": + jq '."/src/instrumentation" = { type: "git", url: "https://github.com/AdamKorcz/instrumentation", rev: "eca4ee9b505d0c5ddbfc9a0e29a40dad21b73702" }' Step #2 - "srcmap": + mv /tmp/filezo6ljb /tmp/fileObYXAP Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/fabric/.git Step #2 - "srcmap": + GIT_DIR=/src/fabric Step #2 - "srcmap": + cd /src/fabric Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/hyperledger/fabric Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=810b465ab3f7d94c2d62027c0fb42eb88bb195f4 Step #2 - "srcmap": + jq_inplace /tmp/fileObYXAP '."/src/fabric" = { type: "git", url: "https://github.com/hyperledger/fabric", rev: "810b465ab3f7d94c2d62027c0fb42eb88bb195f4" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileoPPWvJ Step #2 - "srcmap": + cat /tmp/fileObYXAP Step #2 - "srcmap": + jq '."/src/fabric" = { type: "git", url: "https://github.com/hyperledger/fabric", rev: "810b465ab3f7d94c2d62027c0fb42eb88bb195f4" }' Step #2 - "srcmap": + mv /tmp/fileoPPWvJ /tmp/fileObYXAP Step #2 - "srcmap": ++ find /src /root/go -name .svn -type d Step #2 - "srcmap": ++ find /src /root/go -name .hg -type d Step #2 - "srcmap": + '[' '' '!=' '' ']' Step #2 - "srcmap": + cat /tmp/fileObYXAP Step #2 - "srcmap": + rm /tmp/fileObYXAP Step #2 - "srcmap": { Step #2 - "srcmap": "/src/instrumentation": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/AdamKorcz/instrumentation", Step #2 - "srcmap": "rev": "eca4ee9b505d0c5ddbfc9a0e29a40dad21b73702" Step #2 - "srcmap": }, Step #2 - "srcmap": "/src/fabric": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/hyperledger/fabric", Step #2 - "srcmap": "rev": "810b465ab3f7d94c2d62027c0fb42eb88bb195f4" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-coverage-x86_64" Step #3 - "compile-libfuzzer-coverage-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-coverage-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": CC=clang Step #3 - "compile-libfuzzer-coverage-x86_64": CXX=clang++ -lresolv Step #3 - "compile-libfuzzer-coverage-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument Step #3 - "compile-libfuzzer-coverage-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -stdlib=libc++ Step #3 - "compile-libfuzzer-coverage-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers -Cinstrument-coverage -C link-arg=-lc++ Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": + '[' -n '' ']' Step #3 - "compile-libfuzzer-coverage-x86_64": + rm -r /src/fabric/cmd/cryptogen Step #3 - "compile-libfuzzer-coverage-x86_64": + cp /src/ccprovider_fuzzer.go ./core/common/ccprovider/ Step #3 - "compile-libfuzzer-coverage-x86_64": + cp /src/persistence_fuzzer.go ./core/chaincode/persistence/mock/ Step #3 - "compile-libfuzzer-coverage-x86_64": + cp /src/policydsl_fuzzer.go /src/fabric/common/policydsl/ Step #3 - "compile-libfuzzer-coverage-x86_64": + cp /src/msp_fuzzer.go /src/fabric/msp/ Step #3 - "compile-libfuzzer-coverage-x86_64": + cp /src/fabenc_fuzzer.go /src/fabric/common/flogging/fabenc/ Step #3 - "compile-libfuzzer-coverage-x86_64": cp: cannot create regular file '/src/fabric/common/flogging/fabenc/': No such file or directory Step #3 - "compile-libfuzzer-coverage-x86_64": ******************************************************************************** Step #3 - "compile-libfuzzer-coverage-x86_64": Failed to build. Step #3 - "compile-libfuzzer-coverage-x86_64": To reproduce, run: Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_image fabric Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_fuzzers --sanitizer coverage --engine libfuzzer --architecture x86_64 fabric Step #3 - "compile-libfuzzer-coverage-x86_64": ******************************************************************************** Finished Step #3 - "compile-libfuzzer-coverage-x86_64" ERROR ERROR: build step 3 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1