starting build "74211ff6-0557-4856-a106-d45b284635ea" 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 10.24kB Step #1: Step 1/4 : 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: 800687449569: Pulling fs layer Step #1: 67cc84ed39bf: Pulling fs layer Step #1: 33c4464df317: Pulling fs layer Step #1: 7a3d59ffed63: Pulling fs layer Step #1: bc24bccd8f7c: Pulling fs layer Step #1: 18d20619fb8d: Pulling fs layer Step #1: 0ec212d79142: Pulling fs layer Step #1: 0d731e844f5b: Pulling fs layer Step #1: 03e6d4298870: Pulling fs layer Step #1: 9cb6c9480ffe: Pulling fs layer Step #1: 636367483a85: Pulling fs layer Step #1: ab160a08f40f: Pulling fs layer Step #1: d56fb1501120: Pulling fs layer Step #1: 6e5ee80d4b76: Pulling fs layer Step #1: 069b70ca1828: Pulling fs layer Step #1: 082a5c4ba783: Pulling fs layer Step #1: aeb889ce9374: Pulling fs layer Step #1: b3c77a307741: Pulling fs layer Step #1: 19afa95abd0d: Pulling fs layer Step #1: 3331bfca5447: Pulling fs layer Step #1: ca89507fe8d3: Pulling fs layer Step #1: 093d0a8d4813: Pulling fs layer Step #1: 562130e5e1f0: Pulling fs layer Step #1: c78d65770fdc: Pulling fs layer Step #1: d8a48a39f3bb: Pulling fs layer Step #1: d547270a8392: Pulling fs layer Step #1: cd72b15f7674: Pulling fs layer Step #1: fed123fa2f8a: Pulling fs layer Step #1: 39a8609a58c5: Pulling fs layer Step #1: d942b3144a95: Pulling fs layer Step #1: 30e6af2af1c7: Pulling fs layer Step #1: a9e61f79d57c: Pulling fs layer Step #1: 7a3d59ffed63: Waiting Step #1: bc24bccd8f7c: Waiting Step #1: 18d20619fb8d: Waiting Step #1: 0ec212d79142: Waiting Step #1: 0d731e844f5b: Waiting Step #1: 03e6d4298870: Waiting Step #1: 9cb6c9480ffe: Waiting Step #1: 636367483a85: Waiting Step #1: ab160a08f40f: Waiting Step #1: d56fb1501120: Waiting Step #1: 6e5ee80d4b76: Waiting Step #1: 069b70ca1828: Waiting Step #1: 082a5c4ba783: Waiting Step #1: aeb889ce9374: Waiting Step #1: b3c77a307741: Waiting Step #1: 19afa95abd0d: Waiting Step #1: 3331bfca5447: Waiting Step #1: ca89507fe8d3: Waiting Step #1: 093d0a8d4813: Waiting Step #1: 562130e5e1f0: Waiting Step #1: c78d65770fdc: Waiting Step #1: d8a48a39f3bb: Waiting Step #1: d547270a8392: Waiting Step #1: 39a8609a58c5: Waiting Step #1: 33c4464df317: Waiting Step #1: d942b3144a95: Waiting Step #1: 30e6af2af1c7: Waiting Step #1: a9e61f79d57c: Waiting Step #1: cd72b15f7674: Waiting Step #1: 67cc84ed39bf: Verifying Checksum Step #1: 67cc84ed39bf: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 7a3d59ffed63: Download complete Step #1: 33c4464df317: Download complete Step #1: bc24bccd8f7c: Download complete Step #1: 0ec212d79142: Verifying Checksum Step #1: 0ec212d79142: Download complete Step #1: 0d731e844f5b: Verifying Checksum Step #1: 0d731e844f5b: Download complete Step #1: 800687449569: Verifying Checksum Step #1: 800687449569: Download complete Step #1: 9cb6c9480ffe: Verifying Checksum Step #1: 9cb6c9480ffe: Download complete Step #1: 636367483a85: Verifying Checksum Step #1: 636367483a85: Download complete Step #1: ab160a08f40f: Verifying Checksum Step #1: ab160a08f40f: Download complete Step #1: d56fb1501120: Verifying Checksum Step #1: d56fb1501120: Download complete Step #1: b549f31133a9: Pull complete Step #1: 6e5ee80d4b76: Download complete Step #1: 069b70ca1828: Verifying Checksum Step #1: 069b70ca1828: Download complete Step #1: 082a5c4ba783: Download complete Step #1: aeb889ce9374: Verifying Checksum Step #1: aeb889ce9374: Download complete Step #1: b3c77a307741: Verifying Checksum Step #1: b3c77a307741: Download complete Step #1: 03e6d4298870: Verifying Checksum Step #1: 03e6d4298870: Download complete Step #1: 19afa95abd0d: Verifying Checksum Step #1: 19afa95abd0d: Download complete Step #1: 3331bfca5447: Verifying Checksum Step #1: 3331bfca5447: Download complete Step #1: 093d0a8d4813: Verifying Checksum Step #1: 093d0a8d4813: Download complete Step #1: ca89507fe8d3: Verifying Checksum Step #1: ca89507fe8d3: Download complete Step #1: 562130e5e1f0: Verifying Checksum Step #1: 562130e5e1f0: Download complete Step #1: c78d65770fdc: Verifying Checksum Step #1: c78d65770fdc: Download complete Step #1: d8a48a39f3bb: Verifying Checksum Step #1: d8a48a39f3bb: Download complete Step #1: cd72b15f7674: Verifying Checksum Step #1: cd72b15f7674: Download complete Step #1: d547270a8392: Verifying Checksum Step #1: d547270a8392: Download complete Step #1: fed123fa2f8a: Verifying Checksum Step #1: fed123fa2f8a: Download complete Step #1: 39a8609a58c5: Verifying Checksum Step #1: 39a8609a58c5: Download complete Step #1: d942b3144a95: Verifying Checksum Step #1: d942b3144a95: Download complete Step #1: 18d20619fb8d: Verifying Checksum Step #1: 18d20619fb8d: Download complete Step #1: a9e61f79d57c: Verifying Checksum Step #1: a9e61f79d57c: Download complete Step #1: 800687449569: Pull complete Step #1: 67cc84ed39bf: Pull complete Step #1: 30e6af2af1c7: Verifying Checksum Step #1: 30e6af2af1c7: Download complete Step #1: 33c4464df317: Pull complete Step #1: 7a3d59ffed63: Pull complete Step #1: bc24bccd8f7c: Pull complete Step #1: 18d20619fb8d: Pull complete Step #1: 0ec212d79142: Pull complete Step #1: 0d731e844f5b: Pull complete Step #1: 03e6d4298870: Pull complete Step #1: 9cb6c9480ffe: Pull complete Step #1: 636367483a85: Pull complete Step #1: ab160a08f40f: Pull complete Step #1: d56fb1501120: Pull complete Step #1: 6e5ee80d4b76: Pull complete Step #1: 069b70ca1828: Pull complete Step #1: 082a5c4ba783: Pull complete Step #1: aeb889ce9374: Pull complete Step #1: b3c77a307741: Pull complete Step #1: 19afa95abd0d: Pull complete Step #1: 3331bfca5447: Pull complete Step #1: ca89507fe8d3: Pull complete Step #1: 093d0a8d4813: Pull complete Step #1: 562130e5e1f0: Pull complete Step #1: c78d65770fdc: Pull complete Step #1: d8a48a39f3bb: Pull complete Step #1: d547270a8392: Pull complete Step #1: cd72b15f7674: Pull complete Step #1: fed123fa2f8a: Pull complete Step #1: 39a8609a58c5: Pull complete Step #1: d942b3144a95: Pull complete Step #1: 30e6af2af1c7: Pull complete Step #1: a9e61f79d57c: Pull complete Step #1: Digest: sha256:641f59e60daf76531999fb869bce29997d9552e548e382710930b708cec43039 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 17ba2eb8a017 Step #1: Step 2/4 : RUN git clone --depth 1 https://github.com/pingcap/tidb Step #1: ---> Running in e076195e004a Step #1: Cloning into 'tidb'... Step #1: Removing intermediate container e076195e004a Step #1: ---> 5eb02c2d16e8 Step #1: Step 3/4 : COPY build.sh fuzzMarshalJSON.go fuzzNewBitLiteral.go fuzzNewHexLiteral.go $SRC/ Step #1: ---> e9bab8f6d5ce Step #1: Step 4/4 : WORKDIR $SRC/tidb Step #1: ---> Running in bfb74cb90e30 Step #1: Removing intermediate container bfb74cb90e30 Step #1: ---> 7c7b99c44435 Step #1: Successfully built 7c7b99c44435 Step #1: Successfully tagged gcr.io/oss-fuzz/tidb:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/tidb Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileOtfGlM 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/tidb/.git Step #2 - "srcmap": + GIT_DIR=/src/tidb Step #2 - "srcmap": + cd /src/tidb Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/pingcap/tidb Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=30930577a6c2f9b972ca39d2e64c613737fd1115 Step #2 - "srcmap": + jq_inplace /tmp/fileOtfGlM '."/src/tidb" = { type: "git", url: "https://github.com/pingcap/tidb", rev: "30930577a6c2f9b972ca39d2e64c613737fd1115" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileTafmLb Step #2 - "srcmap": + cat /tmp/fileOtfGlM Step #2 - "srcmap": + jq '."/src/tidb" = { type: "git", url: "https://github.com/pingcap/tidb", rev: "30930577a6c2f9b972ca39d2e64c613737fd1115" }' Step #2 - "srcmap": + mv /tmp/fileTafmLb /tmp/fileOtfGlM 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/fileOtfGlM Step #2 - "srcmap": + rm /tmp/fileOtfGlM Step #2 - "srcmap": { Step #2 - "srcmap": "/src/tidb": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/pingcap/tidb", Step #2 - "srcmap": "rev": "30930577a6c2f9b972ca39d2e64c613737fd1115" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-address-x86_64" Step #3 - "compile-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": CC=clang Step #3 - "compile-libfuzzer-address-x86_64": CXX=clang++ -lresolv Step #3 - "compile-libfuzzer-address-x86_64": 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 #3 - "compile-libfuzzer-address-x86_64": 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 #3 - "compile-libfuzzer-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": + mv /src/fuzzMarshalJSON.go /src/tidb/types/ Step #3 - "compile-libfuzzer-address-x86_64": mv: cannot move '/src/fuzzMarshalJSON.go' to '/src/tidb/types/': Not a directory Step #3 - "compile-libfuzzer-address-x86_64": ******************************************************************************** Step #3 - "compile-libfuzzer-address-x86_64": Failed to build. Step #3 - "compile-libfuzzer-address-x86_64": To reproduce, run: Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_image tidb Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 tidb Step #3 - "compile-libfuzzer-address-x86_64": ******************************************************************************** Finished Step #3 - "compile-libfuzzer-address-x86_64" ERROR ERROR: build step 3 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1