starting build "c9d947df-e83c-4880-bf8b-6d4e24222421" 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 4.096kB 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: 61e03ba1d414: Pulling fs layer Step #1: 4afb39f216bd: Pulling fs layer Step #1: e489abdc9f90: Pulling fs layer Step #1: 999fff7bcc24: Pulling fs layer Step #1: 29f6bd1ded3c: Pulling fs layer Step #1: 524557860635: Pulling fs layer Step #1: 3b0396f741d4: Pulling fs layer Step #1: 20444dd72d74: Pulling fs layer Step #1: a2a3e932950d: Pulling fs layer Step #1: 18d435ecccf5: Pulling fs layer Step #1: 060c10ceeccd: Pulling fs layer Step #1: c393d73d9473: Pulling fs layer Step #1: f51aeca03e92: Pulling fs layer Step #1: eb9d0ac31723: Pulling fs layer Step #1: c37b8c0e62c8: Pulling fs layer Step #1: 999fff7bcc24: Waiting Step #1: 7d5737a8ef97: Pulling fs layer Step #1: 21c8dbe83f6b: Pulling fs layer Step #1: 29f6bd1ded3c: Waiting Step #1: d93e40774a61: Pulling fs layer Step #1: fd2b0ca65178: Pulling fs layer Step #1: 524557860635: Waiting Step #1: caf1c403a142: Pulling fs layer Step #1: ccf92b48464a: Pulling fs layer Step #1: 3b0396f741d4: Waiting Step #1: 20444dd72d74: Waiting Step #1: 18d435ecccf5: Waiting Step #1: 060c10ceeccd: Waiting Step #1: a2a3e932950d: Waiting Step #1: eb9d0ac31723: Waiting Step #1: c37b8c0e62c8: Waiting Step #1: f51aeca03e92: Waiting Step #1: 7d5737a8ef97: Waiting Step #1: 15bc9240298c: Pulling fs layer Step #1: d93e40774a61: Waiting Step #1: 21c8dbe83f6b: Waiting Step #1: e5c24bdca5f5: Pulling fs layer Step #1: caf1c403a142: Waiting Step #1: fd2b0ca65178: Waiting Step #1: 17c84fba4f1d: Pulling fs layer Step #1: 508d2f3f7b8a: Pulling fs layer Step #1: ccf92b48464a: Waiting Step #1: 15bc9240298c: Waiting Step #1: 80fd4016d32e: Pulling fs layer Step #1: e5c24bdca5f5: Waiting Step #1: 17c84fba4f1d: Waiting Step #1: 440a013c6e3f: Pulling fs layer Step #1: 4e74d5d56984: Pulling fs layer Step #1: 440a013c6e3f: Waiting Step #1: 4afb39f216bd: Verifying Checksum Step #1: 4afb39f216bd: Download complete Step #1: e489abdc9f90: Verifying Checksum Step #1: e489abdc9f90: Download complete Step #1: 999fff7bcc24: Download complete Step #1: 524557860635: Download complete Step #1: 61e03ba1d414: Verifying Checksum Step #1: 61e03ba1d414: Download complete Step #1: 3b0396f741d4: Verifying Checksum Step #1: 3b0396f741d4: Download complete Step #1: 29f6bd1ded3c: Verifying Checksum Step #1: 29f6bd1ded3c: Download complete Step #1: 20444dd72d74: Verifying Checksum Step #1: 20444dd72d74: Download complete Step #1: 18d435ecccf5: Download complete Step #1: c393d73d9473: Verifying Checksum Step #1: c393d73d9473: Download complete Step #1: f51aeca03e92: Verifying Checksum Step #1: f51aeca03e92: Download complete Step #1: 060c10ceeccd: Verifying Checksum Step #1: 060c10ceeccd: Download complete Step #1: a2a3e932950d: Verifying Checksum Step #1: a2a3e932950d: Download complete Step #1: 61e03ba1d414: Pull complete Step #1: 4afb39f216bd: Pull complete Step #1: c37b8c0e62c8: Verifying Checksum Step #1: c37b8c0e62c8: Download complete Step #1: eb9d0ac31723: Verifying Checksum Step #1: eb9d0ac31723: Download complete Step #1: e489abdc9f90: Pull complete Step #1: 21c8dbe83f6b: Verifying Checksum Step #1: 21c8dbe83f6b: Download complete Step #1: 999fff7bcc24: Pull complete Step #1: d93e40774a61: Verifying Checksum Step #1: d93e40774a61: Download complete Step #1: fd2b0ca65178: Verifying Checksum Step #1: fd2b0ca65178: Download complete Step #1: ccf92b48464a: Verifying Checksum Step #1: ccf92b48464a: Download complete Step #1: caf1c403a142: Verifying Checksum Step #1: caf1c403a142: Download complete Step #1: 15bc9240298c: Verifying Checksum Step #1: 15bc9240298c: Download complete Step #1: e5c24bdca5f5: Verifying Checksum Step #1: e5c24bdca5f5: Download complete Step #1: 17c84fba4f1d: Verifying Checksum Step #1: 17c84fba4f1d: Download complete Step #1: 7d5737a8ef97: Verifying Checksum Step #1: 7d5737a8ef97: Download complete Step #1: 508d2f3f7b8a: Verifying Checksum Step #1: 508d2f3f7b8a: Download complete Step #1: 80fd4016d32e: Verifying Checksum Step #1: 80fd4016d32e: Download complete Step #1: 440a013c6e3f: Verifying Checksum Step #1: 440a013c6e3f: Download complete Step #1: 4e74d5d56984: Verifying Checksum Step #1: 4e74d5d56984: Download complete Step #1: 29f6bd1ded3c: Pull complete Step #1: 524557860635: Pull complete Step #1: 3b0396f741d4: Pull complete Step #1: 20444dd72d74: Pull complete Step #1: a2a3e932950d: Pull complete Step #1: 18d435ecccf5: Pull complete Step #1: 060c10ceeccd: Pull complete Step #1: c393d73d9473: Pull complete Step #1: f51aeca03e92: Pull complete Step #1: eb9d0ac31723: Pull complete Step #1: c37b8c0e62c8: Pull complete Step #1: 7d5737a8ef97: Pull complete Step #1: 21c8dbe83f6b: Pull complete Step #1: d93e40774a61: Pull complete Step #1: fd2b0ca65178: Pull complete Step #1: caf1c403a142: Pull complete Step #1: ccf92b48464a: Pull complete Step #1: 15bc9240298c: Pull complete Step #1: e5c24bdca5f5: Pull complete Step #1: 17c84fba4f1d: Pull complete Step #1: 508d2f3f7b8a: Pull complete Step #1: 80fd4016d32e: Pull complete Step #1: 440a013c6e3f: Pull complete Step #1: 4e74d5d56984: Pull complete Step #1: Digest: sha256:bba0207d3012b7d566c98c17fc92c384a6f54cf71b0b28576ba98f97efd8d9fa Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> d9cb8aaba0c9 Step #1: Step 2/5 : RUN git clone --single-branch --depth=1 https://github.com/ethereum/go-ethereum $GOPATH/src/github.com/ethereum/go-ethereum Step #1: ---> Running in 64cb38199c88 Step #1: Cloning into '/root/go/src/github.com/ethereum/go-ethereum'... Step #1: Removing intermediate container 64cb38199c88 Step #1: ---> 6d38032f1e2c Step #1: Step 3/5 : RUN (cd $GOPATH/src/github.com/ethereum/go-ethereum && go mod download) Step #1: ---> Running in ae22d2ba2c59 Step #1: Removing intermediate container ae22d2ba2c59 Step #1: ---> d9e7c09c2fab Step #1: Step 4/5 : RUN cp $GOPATH/src/github.com/ethereum/go-ethereum/oss-fuzz.sh $SRC/build.sh Step #1: ---> Running in 9da7de776bae Step #1: Removing intermediate container 9da7de776bae Step #1: ---> 4c93bfcd34ba Step #1: Step 5/5 : WORKDIR $SRC/ Step #1: ---> Running in 864a75784a60 Step #1: Removing intermediate container 864a75784a60 Step #1: ---> 5bafd8bcc140 Step #1: Successfully built 5bafd8bcc140 Step #1: Successfully tagged gcr.io/oss-fuzz/go-ethereum:latest Finished Step #1 Starting Step #2 Step #2: Already have image: gcr.io/oss-fuzz/go-ethereum Step #2: ++ tempfile Step #2: + SRCMAP=/tmp/fileJBZep6 Step #2: + echo '{}' Step #2: + PATHS_TO_SCAN=/src Step #2: + [[ go == \g\o ]] Step #2: + PATHS_TO_SCAN='/src /root/go' Step #2: ++ find /src /root/go -name .git -type d Step #2: + for DOT_GIT_DIR in '$(find $PATHS_TO_SCAN -name ".git" -type d)' Step #2: ++ dirname /src/aflplusplus/.git Step #2: + GIT_DIR=/src/aflplusplus Step #2: + cd /src/aflplusplus Step #2: ++ git config --get remote.origin.url Step #2: + GIT_URL=https://github.com/AFLplusplus/AFLplusplus.git Step #2: ++ git rev-parse HEAD Step #2: + GIT_REV=ade8cdca55951958024c86766453430f904381c5 Step #2: + jq_inplace /tmp/fileJBZep6 '."/src/aflplusplus" = { type: "git", url: "https://github.com/AFLplusplus/AFLplusplus.git", rev: "ade8cdca55951958024c86766453430f904381c5" }' Step #2: ++ tempfile Step #2: + F=/tmp/fileEjBMhm Step #2: + cat /tmp/fileJBZep6 Step #2: + jq '."/src/aflplusplus" = { type: "git", url: "https://github.com/AFLplusplus/AFLplusplus.git", rev: "ade8cdca55951958024c86766453430f904381c5" }' Step #2: + mv /tmp/fileEjBMhm /tmp/fileJBZep6 Step #2: + for DOT_GIT_DIR in '$(find $PATHS_TO_SCAN -name ".git" -type d)' Step #2: ++ dirname /root/go/src/github.com/ethereum/go-ethereum/.git Step #2: + GIT_DIR=/root/go/src/github.com/ethereum/go-ethereum Step #2: + cd /root/go/src/github.com/ethereum/go-ethereum Step #2: ++ git config --get remote.origin.url Step #2: + GIT_URL=https://github.com/ethereum/go-ethereum Step #2: ++ git rev-parse HEAD Step #2: + GIT_REV=5228b2a353726c7b163a534f5145e2f554c497dc Step #2: + jq_inplace /tmp/fileJBZep6 '."/root/go/src/github.com/ethereum/go-ethereum" = { type: "git", url: "https://github.com/ethereum/go-ethereum", rev: "5228b2a353726c7b163a534f5145e2f554c497dc" }' Step #2: ++ tempfile Step #2: + F=/tmp/fileEJV3Fq Step #2: + cat /tmp/fileJBZep6 Step #2: + jq '."/root/go/src/github.com/ethereum/go-ethereum" = { type: "git", url: "https://github.com/ethereum/go-ethereum", rev: "5228b2a353726c7b163a534f5145e2f554c497dc" }' Step #2: + mv /tmp/fileEJV3Fq /tmp/fileJBZep6 Step #2: ++ find /src /root/go -name .svn -type d Step #2: ++ find /src /root/go -name .hg -type d Step #2: + '[' '' '!=' '' ']' Step #2: + cat /tmp/fileJBZep6 Step #2: + rm /tmp/fileJBZep6 Step #2: { Step #2: "/src/aflplusplus": { Step #2: "type": "git", Step #2: "url": "https://github.com/AFLplusplus/AFLplusplus.git", Step #2: "rev": "ade8cdca55951958024c86766453430f904381c5" Step #2: }, Step #2: "/root/go/src/github.com/ethereum/go-ethereum": { Step #2: "type": "git", Step #2: "url": "https://github.com/ethereum/go-ethereum", Step #2: "rev": "5228b2a353726c7b163a534f5145e2f554c497dc" 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: 61e03ba1d414: Already exists Step #3: 4afb39f216bd: Already exists Step #3: e489abdc9f90: Already exists Step #3: 999fff7bcc24: Already exists Step #3: fcab3b642587: Pulling fs layer Step #3: 839aed85281e: Pulling fs layer Step #3: 4c14df0b8db2: Pulling fs layer Step #3: 6ab955159cc7: Pulling fs layer Step #3: 68978d91ed7e: Pulling fs layer Step #3: 21b55f239ce4: Pulling fs layer Step #3: 6a2d2a46f97d: Pulling fs layer Step #3: 138a331cbf89: Pulling fs layer Step #3: 87b0828ad99d: Pulling fs layer Step #3: 2877069103d7: Pulling fs layer Step #3: ace93a9d7b56: Pulling fs layer Step #3: 0964b58b30d0: Pulling fs layer Step #3: 8ce105311a05: Pulling fs layer Step #3: 68978d91ed7e: Waiting Step #3: 21b55f239ce4: Waiting Step #3: 6a2d2a46f97d: Waiting Step #3: 138a331cbf89: Waiting Step #3: 87b0828ad99d: Waiting Step #3: 2877069103d7: Waiting Step #3: 8ce105311a05: Waiting Step #3: ace93a9d7b56: Waiting Step #3: 6ab955159cc7: Waiting Step #3: 0964b58b30d0: Waiting Step #3: 839aed85281e: Verifying Checksum Step #3: 839aed85281e: Download complete Step #3: 6ab955159cc7: Verifying Checksum Step #3: 6ab955159cc7: Download complete Step #3: fcab3b642587: Verifying Checksum Step #3: fcab3b642587: Download complete Step #3: 21b55f239ce4: Verifying Checksum Step #3: 21b55f239ce4: Download complete Step #3: 6a2d2a46f97d: Verifying Checksum Step #3: 6a2d2a46f97d: Download complete Step #3: 4c14df0b8db2: Verifying Checksum Step #3: 4c14df0b8db2: Download complete Step #3: 87b0828ad99d: Verifying Checksum Step #3: 87b0828ad99d: Download complete Step #3: 2877069103d7: Download complete Step #3: ace93a9d7b56: Download complete Step #3: 0964b58b30d0: Verifying Checksum Step #3: 0964b58b30d0: Download complete Step #3: 138a331cbf89: Verifying Checksum Step #3: 138a331cbf89: Download complete Step #3: fcab3b642587: Pull complete Step #3: 839aed85281e: Pull complete Step #3: 68978d91ed7e: Verifying Checksum Step #3: 68978d91ed7e: Download complete Step #3: 4c14df0b8db2: Pull complete Step #3: 6ab955159cc7: Pull complete Step #3: 8ce105311a05: Verifying Checksum Step #3: 8ce105311a05: Download complete Step #3: 68978d91ed7e: Pull complete Step #3: 21b55f239ce4: Pull complete Step #3: 6a2d2a46f97d: Pull complete Step #3: 138a331cbf89: Pull complete Step #3: 87b0828ad99d: Pull complete Step #3: 2877069103d7: Pull complete Step #3: ace93a9d7b56: Pull complete Step #3: 0964b58b30d0: Pull complete Step #3: 8ce105311a05: Pull complete Step #3: Digest: sha256:8f2cc9c5eb36afb4d6b163490cdd2f48d977a909d70b59264df374d326a78cd6 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/go-ethereum Step #4: --------------------------------------------------------------- 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: RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #4: --------------------------------------------------------------- Step #4: + coverpkg=github.com/ethereum/go-ethereum/... Step #4: + compile_fuzzer tests/fuzzers/bitutil Fuzz fuzzBitutilCompress Step #4: + path=/root/go/src/github.com/ethereum/go-ethereum/tests/fuzzers/bitutil Step #4: + func=Fuzz Step #4: + fuzzer=fuzzBitutilCompress Step #4: + echo 'Building fuzzBitutilCompress' Step #4: + [[ address = *coverage* ]] Step #4: Building fuzzBitutilCompress Step #4: + cd /root/go/src/github.com/ethereum/go-ethereum/tests/fuzzers/bitutil Step #4: + go-fuzz -func Fuzz -o /work/fuzzBitutilCompress.a . 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++ -fsanitize=fuzzer /work/fuzzBitutilCompress.a -o /workspace/out/address/fuzzBitutilCompress Step #4: + corpusfile=/root/go/src/github.com/ethereum/go-ethereum/tests/fuzzers/bitutil/testdata/fuzzBitutilCompress_seed_corpus.zip Step #4: + '[' -f /root/go/src/github.com/ethereum/go-ethereum/tests/fuzzers/bitutil/testdata/fuzzBitutilCompress_seed_corpus.zip ']' Step #4: + compile_fuzzer tests/fuzzers/bn256 FuzzAdd fuzzBn256Add Step #4: + path=/root/go/src/github.com/ethereum/go-ethereum/tests/fuzzers/bn256 Step #4: + func=FuzzAdd Step #4: + fuzzer=fuzzBn256Add Step #4: + echo 'Building fuzzBn256Add' Step #4: + [[ address = *coverage* ]] Step #4: Building fuzzBn256Add Step #4: + cd /root/go/src/github.com/ethereum/go-ethereum/tests/fuzzers/bn256 Step #4: + go-fuzz -func FuzzAdd -o /work/fuzzBn256Add.a . 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++ -fsanitize=fuzzer /work/fuzzBn256Add.a -o /workspace/out/address/fuzzBn256Add Step #4: + corpusfile=/root/go/src/github.com/ethereum/go-ethereum/tests/fuzzers/bn256/testdata/fuzzBn256Add_seed_corpus.zip Step #4: + '[' -f /root/go/src/github.com/ethereum/go-ethereum/tests/fuzzers/bn256/testdata/fuzzBn256Add_seed_corpus.zip ']' Step #4: + compile_fuzzer tests/fuzzers/bn256 FuzzMul fuzzBn256Mul Step #4: + path=/root/go/src/github.com/ethereum/go-ethereum/tests/fuzzers/bn256 Step #4: + func=FuzzMul Step #4: + fuzzer=fuzzBn256Mul Step #4: + echo 'Building fuzzBn256Mul' Step #4: + [[ address = *coverage* ]] Step #4: Building fuzzBn256Mul Step #4: + cd /root/go/src/github.com/ethereum/go-ethereum/tests/fuzzers/bn256 Step #4: + go-fuzz -func FuzzMul -o /work/fuzzBn256Mul.a . 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++ -fsanitize=fuzzer /work/fuzzBn256Mul.a -o /workspace/out/address/fuzzBn256Mul Step #4: Building fuzzBn256Pair Step #4: + corpusfile=/root/go/src/github.com/ethereum/go-ethereum/tests/fuzzers/bn256/testdata/fuzzBn256Mul_seed_corpus.zip Step #4: + '[' -f /root/go/src/github.com/ethereum/go-ethereum/tests/fuzzers/bn256/testdata/fuzzBn256Mul_seed_corpus.zip ']' Step #4: + compile_fuzzer tests/fuzzers/bn256 FuzzPair fuzzBn256Pair Step #4: + path=/root/go/src/github.com/ethereum/go-ethereum/tests/fuzzers/bn256 Step #4: + func=FuzzPair Step #4: + fuzzer=fuzzBn256Pair Step #4: + echo 'Building fuzzBn256Pair' Step #4: + [[ address = *coverage* ]] Step #4: + cd /root/go/src/github.com/ethereum/go-ethereum/tests/fuzzers/bn256 Step #4: + go-fuzz -func FuzzPair -o /work/fuzzBn256Pair.a . 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++ -fsanitize=fuzzer /work/fuzzBn256Pair.a -o /workspace/out/address/fuzzBn256Pair Step #4: Building fuzzVmRuntime Step #4: + corpusfile=/root/go/src/github.com/ethereum/go-ethereum/tests/fuzzers/bn256/testdata/fuzzBn256Pair_seed_corpus.zip Step #4: + '[' -f /root/go/src/github.com/ethereum/go-ethereum/tests/fuzzers/bn256/testdata/fuzzBn256Pair_seed_corpus.zip ']' Step #4: + compile_fuzzer tests/fuzzers/runtime Fuzz fuzzVmRuntime Step #4: + path=/root/go/src/github.com/ethereum/go-ethereum/tests/fuzzers/runtime Step #4: + func=Fuzz Step #4: + fuzzer=fuzzVmRuntime Step #4: + echo 'Building fuzzVmRuntime' Step #4: + [[ address = *coverage* ]] Step #4: + cd /root/go/src/github.com/ethereum/go-ethereum/tests/fuzzers/runtime Step #4: + go-fuzz -func Fuzz -o /work/fuzzVmRuntime.a . Step #4: # github.com/ethereum/go-ethereum/crypto/secp256k1 Step #4: ../../../crypto/secp256k1/scalar_mult_cgo.go:23:27: (*BitCurve).ScalarMult redeclared in this block Step #4: previous declaration at ../../../crypto/secp256k1/scalar_mult_nocgo.go:11:6 Step #4: 2021/06/22 07:33:22 failed to build packages:exit status 2 Step #4: ******************************************************************************** Step #4: Failed to build. Step #4: To reproduce, run: Step #4: python infra/helper.py build_image go-ethereum Step #4: python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 go-ethereum Step #4: ******************************************************************************** Finished Step #4 ERROR ERROR: build step 4 "gcr.io/oss-fuzz/go-ethereum" failed: step exited with non-zero status: 1