starting build "71a1a849-0fde-4e5b-b8ed-2820f82255ab" 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: Sending build context to Docker daemon 10.75kB Step #1: Step 1/9 : 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: 27a60affb188: Pulling fs layer Step #1: fe996ae7dc59: Pulling fs layer Step #1: 87e0e48e0cd6: Pulling fs layer Step #1: f835b9e0cf1c: Pulling fs layer Step #1: af789c137254: Pulling fs layer Step #1: aff0ac00717e: Pulling fs layer Step #1: 3b1039f9896d: Pulling fs layer Step #1: 03589768b946: Pulling fs layer Step #1: 476467ef4fc6: Pulling fs layer Step #1: 3c766dd49ffb: Pulling fs layer Step #1: cfbfe91f834e: Pulling fs layer Step #1: 0b187dafa8d3: Pulling fs layer Step #1: 345ac71c4767: Pulling fs layer Step #1: 7eadecc7791c: Pulling fs layer Step #1: dde9b3807101: Pulling fs layer Step #1: aa322f9d5179: Pulling fs layer Step #1: ed7ec7eeb8fb: Pulling fs layer Step #1: 87e0e48e0cd6: Waiting Step #1: fcd3b4f5fe45: Pulling fs layer Step #1: f835b9e0cf1c: Waiting Step #1: 88e3f27d7c68: Pulling fs layer Step #1: 84249ace8dd9: Pulling fs layer Step #1: af789c137254: Waiting Step #1: b48628b9660b: Pulling fs layer Step #1: 03589768b946: Waiting Step #1: cfbfe91f834e: Waiting Step #1: 560589aab225: Pulling fs layer Step #1: aff0ac00717e: Waiting Step #1: 3b1039f9896d: Waiting Step #1: 8049d1ac7afb: Pulling fs layer Step #1: 0b187dafa8d3: Waiting Step #1: 9ca13435c3d5: Pulling fs layer Step #1: bdf125cfc8ec: Pulling fs layer Step #1: 479b0a7911fe: Pulling fs layer Step #1: b33bd0575475: Pulling fs layer Step #1: 58dcb60388c1: Pulling fs layer Step #1: b8e63fb00ce7: Pulling fs layer Step #1: d8ea79b21b9a: Pulling fs layer Step #1: 74524f23875e: Pulling fs layer Step #1: 7eadecc7791c: Waiting Step #1: 476467ef4fc6: Waiting Step #1: ed7ec7eeb8fb: Waiting Step #1: 8a3a946d5a7c: Pulling fs layer Step #1: 8328a6d3718e: Pulling fs layer Step #1: 5cf1d6e2f591: Pulling fs layer Step #1: 1c535dcf659d: Pulling fs layer Step #1: f611436a7c2a: Pulling fs layer Step #1: d8ea79b21b9a: Waiting Step #1: 74524f23875e: Waiting Step #1: aa322f9d5179: Waiting Step #1: 479b0a7911fe: Waiting Step #1: 3c766dd49ffb: Waiting Step #1: 58dcb60388c1: Waiting Step #1: 9ca13435c3d5: Waiting Step #1: 8a3a946d5a7c: Waiting Step #1: b48628b9660b: Waiting Step #1: 8328a6d3718e: Waiting Step #1: f611436a7c2a: Waiting Step #1: 560589aab225: Waiting Step #1: dde9b3807101: Waiting Step #1: b33bd0575475: Waiting Step #1: 1c535dcf659d: Waiting Step #1: fcd3b4f5fe45: Waiting Step #1: bdf125cfc8ec: Waiting Step #1: 88e3f27d7c68: Waiting Step #1: 5cf1d6e2f591: Waiting Step #1: 84249ace8dd9: Waiting Step #1: fe996ae7dc59: Verifying Checksum Step #1: fe996ae7dc59: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: f835b9e0cf1c: Verifying Checksum Step #1: f835b9e0cf1c: Download complete Step #1: 87e0e48e0cd6: Verifying Checksum Step #1: 87e0e48e0cd6: Download complete Step #1: af789c137254: Verifying Checksum Step #1: af789c137254: Download complete Step #1: 3b1039f9896d: Download complete Step #1: 03589768b946: Download complete Step #1: 27a60affb188: Verifying Checksum Step #1: 27a60affb188: Download complete Step #1: b549f31133a9: Pull complete Step #1: 3c766dd49ffb: Verifying Checksum Step #1: 3c766dd49ffb: Download complete Step #1: cfbfe91f834e: Verifying Checksum Step #1: cfbfe91f834e: Download complete Step #1: 0b187dafa8d3: Verifying Checksum Step #1: 0b187dafa8d3: Download complete Step #1: 345ac71c4767: Verifying Checksum Step #1: 345ac71c4767: Download complete Step #1: 7eadecc7791c: Verifying Checksum Step #1: 7eadecc7791c: Download complete Step #1: dde9b3807101: Verifying Checksum Step #1: dde9b3807101: Download complete Step #1: 476467ef4fc6: Verifying Checksum Step #1: 476467ef4fc6: Download complete Step #1: aa322f9d5179: Verifying Checksum Step #1: aa322f9d5179: Download complete Step #1: ed7ec7eeb8fb: Verifying Checksum Step #1: ed7ec7eeb8fb: Download complete Step #1: fcd3b4f5fe45: Download complete Step #1: 88e3f27d7c68: Verifying Checksum Step #1: 88e3f27d7c68: Download complete Step #1: 84249ace8dd9: Verifying Checksum Step #1: 84249ace8dd9: Download complete Step #1: b48628b9660b: Verifying Checksum Step #1: b48628b9660b: Download complete Step #1: 560589aab225: Verifying Checksum Step #1: 560589aab225: Download complete Step #1: 8049d1ac7afb: Download complete Step #1: 9ca13435c3d5: Verifying Checksum Step #1: 9ca13435c3d5: Download complete Step #1: bdf125cfc8ec: Verifying Checksum Step #1: bdf125cfc8ec: Download complete Step #1: 479b0a7911fe: Verifying Checksum Step #1: 479b0a7911fe: Download complete Step #1: aff0ac00717e: Verifying Checksum Step #1: aff0ac00717e: Download complete Step #1: b33bd0575475: Verifying Checksum Step #1: b33bd0575475: Download complete Step #1: 58dcb60388c1: Verifying Checksum Step #1: 58dcb60388c1: Download complete Step #1: b8e63fb00ce7: Verifying Checksum Step #1: b8e63fb00ce7: Download complete Step #1: d8ea79b21b9a: Verifying Checksum Step #1: d8ea79b21b9a: Download complete Step #1: 74524f23875e: Verifying Checksum Step #1: 74524f23875e: Download complete Step #1: 8a3a946d5a7c: Verifying Checksum Step #1: 8a3a946d5a7c: Download complete Step #1: 8328a6d3718e: Download complete Step #1: f611436a7c2a: Download complete Step #1: 5cf1d6e2f591: Download complete Step #1: 27a60affb188: Pull complete Step #1: fe996ae7dc59: Pull complete Step #1: 1c535dcf659d: Verifying Checksum Step #1: 1c535dcf659d: Download complete Step #1: 87e0e48e0cd6: Pull complete Step #1: f835b9e0cf1c: Pull complete Step #1: af789c137254: Pull complete Step #1: aff0ac00717e: Pull complete Step #1: 3b1039f9896d: Pull complete Step #1: 03589768b946: Pull complete Step #1: 476467ef4fc6: Pull complete Step #1: 3c766dd49ffb: Pull complete Step #1: cfbfe91f834e: Pull complete Step #1: 0b187dafa8d3: Pull complete Step #1: 345ac71c4767: Pull complete Step #1: 7eadecc7791c: Pull complete Step #1: dde9b3807101: Pull complete Step #1: aa322f9d5179: Pull complete Step #1: ed7ec7eeb8fb: Pull complete Step #1: fcd3b4f5fe45: Pull complete Step #1: 88e3f27d7c68: Pull complete Step #1: 84249ace8dd9: Pull complete Step #1: b48628b9660b: Pull complete Step #1: 560589aab225: Pull complete Step #1: 8049d1ac7afb: Pull complete Step #1: 9ca13435c3d5: Pull complete Step #1: bdf125cfc8ec: Pull complete Step #1: 479b0a7911fe: Pull complete Step #1: b33bd0575475: Pull complete Step #1: 58dcb60388c1: Pull complete Step #1: b8e63fb00ce7: Pull complete Step #1: d8ea79b21b9a: Pull complete Step #1: 74524f23875e: Pull complete Step #1: 8a3a946d5a7c: Pull complete Step #1: 8328a6d3718e: Pull complete Step #1: 5cf1d6e2f591: Pull complete Step #1: 1c535dcf659d: Pull complete Step #1: f611436a7c2a: Pull complete Step #1: Digest: sha256:fc82f871f962d86d3eaf641af959105188b030d2ba7cd522610ff2629fa62281 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 199904efe5ba Step #1: Step 2/9 : ENV GOPATH="${GOPATH:-/root/go}" Step #1: ---> Running in 0993ef207551 Step #1: Removing intermediate container 0993ef207551 Step #1: ---> b349d3cdd686 Step #1: Step 3/9 : ENV ORG_ROOT="${GOPATH}/src/github.com/go-git" Step #1: ---> Running in 1d0577937eda Step #1: Removing intermediate container 1d0577937eda Step #1: ---> 6c126151dc0f Step #1: Step 4/9 : RUN mkdir -p "${ORG_ROOT}" Step #1: ---> Running in 54a8ffc5087a Step #1: Removing intermediate container 54a8ffc5087a Step #1: ---> cb6bb08aca8f Step #1: Step 5/9 : ARG REPOSITORIES="go-git go-billy" Step #1: ---> Running in f7a02d4869aa Step #1: Removing intermediate container f7a02d4869aa Step #1: ---> e3dfd3f08489 Step #1: Step 6/9 : RUN for repo in ${REPOSITORIES}; do git clone --depth 1 "https://github.com/go-git/${repo}" "${ORG_ROOT}/${repo}"; cd "${ORG_ROOT}/${repo}"; go mod download; cd -; done Step #1: ---> Running in 7e9aac215dcf Step #1: Cloning into '/root/go/src/github.com/go-git/go-git'... Step #1: /src Step #1: Cloning into '/root/go/src/github.com/go-git/go-billy'... Step #1: /src Step #1: Removing intermediate container 7e9aac215dcf Step #1: ---> fe1937e71fca Step #1: Step 7/9 : RUN go install golang.org/x/tools/cmd/goimports@latest Step #1: ---> Running in 963656deedfc Step #1: go: downloading golang.org/x/tools v0.30.0 Step #1: go: downloading golang.org/x/mod v0.23.0 Step #1: go: downloading golang.org/x/sync v0.11.0 Step #1: Removing intermediate container 963656deedfc Step #1: ---> e83e3a501320 Step #1: Step 8/9 : COPY build.sh $SRC/ Step #1: ---> aa65b1d91dae Step #1: Step 9/9 : WORKDIR $SRC Step #1: ---> Running in ac6663dc038b Step #1: Removing intermediate container ac6663dc038b Step #1: ---> e8a01d0fa6f0 Step #1: Successfully built e8a01d0fa6f0 Step #1: Successfully tagged gcr.io/oss-fuzz/go-git:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/go-git Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/filej9sleN 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 /root/go/src/github.com/go-git/go-billy/.git Step #2 - "srcmap": + GIT_DIR=/root/go/src/github.com/go-git/go-billy Step #2 - "srcmap": + cd /root/go/src/github.com/go-git/go-billy Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/go-git/go-billy Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=b05d1c31f5a99bb5bc34bb6c2b42aa7601e05ed2 Step #2 - "srcmap": + jq_inplace /tmp/filej9sleN '."/root/go/src/github.com/go-git/go-billy" = { type: "git", url: "https://github.com/go-git/go-billy", rev: "b05d1c31f5a99bb5bc34bb6c2b42aa7601e05ed2" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileF8Trwd Step #2 - "srcmap": + cat /tmp/filej9sleN Step #2 - "srcmap": + jq '."/root/go/src/github.com/go-git/go-billy" = { type: "git", url: "https://github.com/go-git/go-billy", rev: "b05d1c31f5a99bb5bc34bb6c2b42aa7601e05ed2" }' Step #2 - "srcmap": + mv /tmp/fileF8Trwd /tmp/filej9sleN Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /root/go/src/github.com/go-git/go-git/.git Step #2 - "srcmap": + GIT_DIR=/root/go/src/github.com/go-git/go-git Step #2 - "srcmap": + cd /root/go/src/github.com/go-git/go-git Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/go-git/go-git Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=6b34aace4af044a6a570a17ecf96db725de2328a Step #2 - "srcmap": + jq_inplace /tmp/filej9sleN '."/root/go/src/github.com/go-git/go-git" = { type: "git", url: "https://github.com/go-git/go-git", rev: "6b34aace4af044a6a570a17ecf96db725de2328a" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileeuHMHI Step #2 - "srcmap": + cat /tmp/filej9sleN Step #2 - "srcmap": + jq '."/root/go/src/github.com/go-git/go-git" = { type: "git", url: "https://github.com/go-git/go-git", rev: "6b34aace4af044a6a570a17ecf96db725de2328a" }' Step #2 - "srcmap": + mv /tmp/fileeuHMHI /tmp/filej9sleN 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/filej9sleN Step #2 - "srcmap": + rm /tmp/filej9sleN Step #2 - "srcmap": { Step #2 - "srcmap": "/root/go/src/github.com/go-git/go-billy": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/go-git/go-billy", Step #2 - "srcmap": "rev": "b05d1c31f5a99bb5bc34bb6c2b42aa7601e05ed2" Step #2 - "srcmap": }, Step #2 - "srcmap": "/root/go/src/github.com/go-git/go-git": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/go-git/go-git", Step #2 - "srcmap": "rev": "6b34aace4af044a6a570a17ecf96db725de2328a" 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": vm.mmap_rnd_bits = 28 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 -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 -Wno-error=vla-cxx-extension -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 -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 -Wno-error=vla-cxx-extension -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": + GOPATH=/root/go Step #3 - "compile-libfuzzer-address-x86_64": + ORG_ROOT=/root/go/src/github.com/go-git Step #3 - "compile-libfuzzer-address-x86_64": + PREBUILD_SCRIPT_PATH=tests/fuzz/oss_fuzz_prebuild.sh Step #3 - "compile-libfuzzer-address-x86_64": + POSTBUILD_SCRIPT_PATH=tests/fuzz/oss_fuzz_postbuild.sh Step #3 - "compile-libfuzzer-address-x86_64": + main Step #3 - "compile-libfuzzer-address-x86_64": + grep -h '^module github.com/go-git/' /src/go.mod Step #3 - "compile-libfuzzer-address-x86_64": grep: /src/go.mod: No such file or directory Step #3 - "compile-libfuzzer-address-x86_64": + echo 'Going through all repositories in /root/go/src/github.com/go-git' Step #3 - "compile-libfuzzer-address-x86_64": Going through all repositories in /root/go/src/github.com/go-git Step #3 - "compile-libfuzzer-address-x86_64": + loop_through_org_repositories Step #3 - "compile-libfuzzer-address-x86_64": + local repos= Step #3 - "compile-libfuzzer-address-x86_64": ++ find /root/go/src/github.com/go-git -type d -mindepth 1 -maxdepth 1 Step #3 - "compile-libfuzzer-address-x86_64": find: warning: you have specified the global option -mindepth after the argument -type, but global options are not positional, i.e., -mindepth affects tests specified before it as well as those specified after it. Please specify global options before other arguments. Step #3 - "compile-libfuzzer-address-x86_64": find: warning: you have specified the global option -maxdepth after the argument -type, but global options are not positional, i.e., -maxdepth affects tests specified before it as well as those specified after it. Please specify global options before other arguments. Step #3 - "compile-libfuzzer-address-x86_64": + repos='/root/go/src/github.com/go-git/go-billy Step #3 - "compile-libfuzzer-address-x86_64": /root/go/src/github.com/go-git/go-git' Step #3 - "compile-libfuzzer-address-x86_64": + for repo in ${repos} Step #3 - "compile-libfuzzer-address-x86_64": + go_native_build_all_fuzzers /root/go/src/github.com/go-git/go-billy Step #3 - "compile-libfuzzer-address-x86_64": + local project_path=/root/go/src/github.com/go-git/go-billy Step #3 - "compile-libfuzzer-address-x86_64": + cd /root/go/src/github.com/go-git/go-billy Step #3 - "compile-libfuzzer-address-x86_64": + source_prebuild_script Step #3 - "compile-libfuzzer-address-x86_64": + '[' -f tests/fuzz/oss_fuzz_prebuild.sh ']' Step #3 - "compile-libfuzzer-address-x86_64": ++ find . -mindepth 1 -maxdepth 4 -type f -name go.mod Step #3 - "compile-libfuzzer-address-x86_64": ++ cut -c 3- Step #3 - "compile-libfuzzer-address-x86_64": ++ sed 's|/[^/]*$$||' Step #3 - "compile-libfuzzer-address-x86_64": ++ sort -u Step #3 - "compile-libfuzzer-address-x86_64": ++ sed 's;/go.mod;;g' Step #3 - "compile-libfuzzer-address-x86_64": ++ sed 's;go.mod;.;g' Step #3 - "compile-libfuzzer-address-x86_64": + modules=. Step #3 - "compile-libfuzzer-address-x86_64": + for module in ${modules} Step #3 - "compile-libfuzzer-address-x86_64": + cd /root/go/src/github.com/go-git/go-billy/. Step #3 - "compile-libfuzzer-address-x86_64": + local test_files Step #3 - "compile-libfuzzer-address-x86_64": ++ grep -r '--include=**_test.go' --files-with-matches 'func Fuzz' . Step #3 - "compile-libfuzzer-address-x86_64": ++ echo '' Step #3 - "compile-libfuzzer-address-x86_64": + test_files= Step #3 - "compile-libfuzzer-address-x86_64": + '[' -z '' ']' Step #3 - "compile-libfuzzer-address-x86_64": + continue Step #3 - "compile-libfuzzer-address-x86_64": + for repo in ${repos} Step #3 - "compile-libfuzzer-address-x86_64": + go_native_build_all_fuzzers /root/go/src/github.com/go-git/go-git Step #3 - "compile-libfuzzer-address-x86_64": + local project_path=/root/go/src/github.com/go-git/go-git Step #3 - "compile-libfuzzer-address-x86_64": + cd /root/go/src/github.com/go-git/go-git Step #3 - "compile-libfuzzer-address-x86_64": + source_prebuild_script Step #3 - "compile-libfuzzer-address-x86_64": + '[' -f tests/fuzz/oss_fuzz_prebuild.sh ']' Step #3 - "compile-libfuzzer-address-x86_64": ++ find . -mindepth 1 -maxdepth 4 -type f -name go.mod Step #3 - "compile-libfuzzer-address-x86_64": ++ cut -c 3- Step #3 - "compile-libfuzzer-address-x86_64": ++ sed 's|/[^/]*$$||' Step #3 - "compile-libfuzzer-address-x86_64": ++ sort -u Step #3 - "compile-libfuzzer-address-x86_64": ++ sed 's;/go.mod;;g' Step #3 - "compile-libfuzzer-address-x86_64": ++ sed 's;go.mod;.;g' Step #3 - "compile-libfuzzer-address-x86_64": + modules='cli/go-git Step #3 - "compile-libfuzzer-address-x86_64": .' Step #3 - "compile-libfuzzer-address-x86_64": + for module in ${modules} Step #3 - "compile-libfuzzer-address-x86_64": + cd /root/go/src/github.com/go-git/go-git/cli/go-git Step #3 - "compile-libfuzzer-address-x86_64": + local test_files Step #3 - "compile-libfuzzer-address-x86_64": ++ grep -r '--include=**_test.go' --files-with-matches 'func Fuzz' . Step #3 - "compile-libfuzzer-address-x86_64": ++ echo '' Step #3 - "compile-libfuzzer-address-x86_64": + test_files= Step #3 - "compile-libfuzzer-address-x86_64": + '[' -z '' ']' Step #3 - "compile-libfuzzer-address-x86_64": + continue Step #3 - "compile-libfuzzer-address-x86_64": + for module in ${modules} Step #3 - "compile-libfuzzer-address-x86_64": + cd /root/go/src/github.com/go-git/go-git/. Step #3 - "compile-libfuzzer-address-x86_64": + local test_files Step #3 - "compile-libfuzzer-address-x86_64": ++ grep -r '--include=**_test.go' --files-with-matches 'func Fuzz' . Step #3 - "compile-libfuzzer-address-x86_64": + test_files='./plumbing/object/signature_test.go Step #3 - "compile-libfuzzer-address-x86_64": ./plumbing/transport/transport_test.go Step #3 - "compile-libfuzzer-address-x86_64": ./plumbing/format/packfile/delta_test.go Step #3 - "compile-libfuzzer-address-x86_64": ./plumbing/format/config/decoder_test.go Step #3 - "compile-libfuzzer-address-x86_64": ./plumbing/protocol/packp/uppackresp_test.go Step #3 - "compile-libfuzzer-address-x86_64": ./internal/revision/parser_test.go' Step #3 - "compile-libfuzzer-address-x86_64": + '[' -z './plumbing/object/signature_test.go Step #3 - "compile-libfuzzer-address-x86_64": ./plumbing/transport/transport_test.go Step #3 - "compile-libfuzzer-address-x86_64": ./plumbing/format/packfile/delta_test.go Step #3 - "compile-libfuzzer-address-x86_64": ./plumbing/format/config/decoder_test.go Step #3 - "compile-libfuzzer-address-x86_64": ./plumbing/protocol/packp/uppackresp_test.go Step #3 - "compile-libfuzzer-address-x86_64": ./internal/revision/parser_test.go' ']' Step #3 - "compile-libfuzzer-address-x86_64": + go get -u github.com/AdamKorcz/go-118-fuzz-build/testing Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20231105174938-2b5cbb29f3e2 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6 Step #3 - "compile-libfuzzer-address-x86_64": go: added github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6 Step #3 - "compile-libfuzzer-address-x86_64": go: added github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20231105174938-2b5cbb29f3e2 Step #3 - "compile-libfuzzer-address-x86_64": + local pkgName Step #3 - "compile-libfuzzer-address-x86_64": ++ grep -h '^package ' -- blame.go blame_test.go common.go common_test.go doc.go example_test.go object_walker.go options.go options_test.go prune.go prune_test.go remote.go remote_test.go repository.go repository_plan9_test.go repository_test.go repository_unix_test.go repository_windows_test.go signer.go signer_test.go status.go submodule.go submodule_test.go transport.go worktree.go worktree_bsd.go worktree_commit.go worktree_commit_test.go worktree_js.go worktree_linux.go worktree_plan9.go worktree_status.go worktree_status_test.go worktree_test.go worktree_unix_other.go worktree_windows.go Step #3 - "compile-libfuzzer-address-x86_64": ++ head -n 1 Step #3 - "compile-libfuzzer-address-x86_64": + pkgName='package git' Step #3 - "compile-libfuzzer-address-x86_64": + '[' -z './plumbing/object/signature_test.go Step #3 - "compile-libfuzzer-address-x86_64": ./plumbing/transport/transport_test.go Step #3 - "compile-libfuzzer-address-x86_64": ./plumbing/format/packfile/delta_test.go Step #3 - "compile-libfuzzer-address-x86_64": ./plumbing/format/config/decoder_test.go Step #3 - "compile-libfuzzer-address-x86_64": ./plumbing/protocol/packp/uppackresp_test.go Step #3 - "compile-libfuzzer-address-x86_64": ./internal/revision/parser_test.go' ']' Step #3 - "compile-libfuzzer-address-x86_64": + cat Step #3 - "compile-libfuzzer-address-x86_64": + go mod tidy Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/elazarl/goproxy/ext v0.0.0-20190711103511-473e67f1d7d2 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading golang.org/x/term v0.29.0 Step #3 - "compile-libfuzzer-address-x86_64": + for file in ${test_files} Step #3 - "compile-libfuzzer-address-x86_64": ++ dirname ./plumbing/object/signature_test.go Step #3 - "compile-libfuzzer-address-x86_64": + '[' -f ./plumbing/object/go.mod ']' Step #3 - "compile-libfuzzer-address-x86_64": + sed -i '/^func Fuzz/!{/^func /,/^}/d}' ./plumbing/object/signature_test.go Step #3 - "compile-libfuzzer-address-x86_64": + sed -i '/^\(var\|const\)\b/d; /^\s*\/\//d; /^\s*\/\*/,/\*\//d' ./plumbing/object/signature_test.go Step #3 - "compile-libfuzzer-address-x86_64": + sed -i '/^type .* struct {/,/^}/d' ./plumbing/object/signature_test.go Step #3 - "compile-libfuzzer-address-x86_64": + go fmt ./plumbing/object/signature_test.go Step #3 - "compile-libfuzzer-address-x86_64": plumbing/object/signature_test.go Step #3 - "compile-libfuzzer-address-x86_64": + goimports -w ./plumbing/object/signature_test.go Step #3 - "compile-libfuzzer-address-x86_64": ++ grep -oP 'func \K(Fuzz\w*)' ./plumbing/object/signature_test.go Step #3 - "compile-libfuzzer-address-x86_64": + targets=FuzzParseSignedBytes Step #3 - "compile-libfuzzer-address-x86_64": + for target_name in ${targets} Step #3 - "compile-libfuzzer-address-x86_64": + local module_name Step #3 - "compile-libfuzzer-address-x86_64": + local fuzzer_name Step #3 - "compile-libfuzzer-address-x86_64": + local target_dir Step #3 - "compile-libfuzzer-address-x86_64": + module_name=._ Step #3 - "compile-libfuzzer-address-x86_64": + module_name=. Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_name=fuzzparsesignedbytes Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_name=FuzzParseSignedBytes Step #3 - "compile-libfuzzer-address-x86_64": ++ dirname ./plumbing/object/signature_test.go Step #3 - "compile-libfuzzer-address-x86_64": + target_dir=./plumbing/object Step #3 - "compile-libfuzzer-address-x86_64": + echo 'Building ./plumbing/object/signature_test.go.FuzzParseSignedBytes into FuzzParseSignedBytes' Step #3 - "compile-libfuzzer-address-x86_64": Building ./plumbing/object/signature_test.go.FuzzParseSignedBytes into FuzzParseSignedBytes Step #3 - "compile-libfuzzer-address-x86_64": + cat ./plumbing/object/signature_test.go Step #3 - "compile-libfuzzer-address-x86_64": package object Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": import ( Step #3 - "compile-libfuzzer-address-x86_64": "testing" Step #3 - "compile-libfuzzer-address-x86_64": ) Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": func FuzzParseSignedBytes(f *testing.F) { Step #3 - "compile-libfuzzer-address-x86_64": f.Add([]byte(openPGPSignatureFormat[0])) Step #3 - "compile-libfuzzer-address-x86_64": f.Add([]byte(x509SignatureFormat[0])) Step #3 - "compile-libfuzzer-address-x86_64": f.Add([]byte(sshSignatureFormat[0])) Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": f.Fuzz(func(t *testing.T, input []byte) { Step #3 - "compile-libfuzzer-address-x86_64": parseSignedBytes(input) Step #3 - "compile-libfuzzer-address-x86_64": }) Step #3 - "compile-libfuzzer-address-x86_64": } Step #3 - "compile-libfuzzer-address-x86_64": + compile_native_go_fuzzer ./plumbing/object FuzzParseSignedBytes FuzzParseSignedBytes Step #3 - "compile-libfuzzer-address-x86_64": + for file in ${test_files} Step #3 - "compile-libfuzzer-address-x86_64": ++ dirname ./plumbing/transport/transport_test.go Step #3 - "compile-libfuzzer-address-x86_64": + '[' -f ./plumbing/transport/go.mod ']' Step #3 - "compile-libfuzzer-address-x86_64": + sed -i '/^func Fuzz/!{/^func /,/^}/d}' ./plumbing/transport/transport_test.go Step #3 - "compile-libfuzzer-address-x86_64": + sed -i '/^\(var\|const\)\b/d; /^\s*\/\//d; /^\s*\/\*/,/\*\//d' ./plumbing/transport/transport_test.go Step #3 - "compile-libfuzzer-address-x86_64": + sed -i '/^type .* struct {/,/^}/d' ./plumbing/transport/transport_test.go Step #3 - "compile-libfuzzer-address-x86_64": + go fmt ./plumbing/transport/transport_test.go Step #3 - "compile-libfuzzer-address-x86_64": plumbing/transport/transport_test.go Step #3 - "compile-libfuzzer-address-x86_64": + goimports -w ./plumbing/transport/transport_test.go Step #3 - "compile-libfuzzer-address-x86_64": ++ grep -oP 'func \K(Fuzz\w*)' ./plumbing/transport/transport_test.go Step #3 - "compile-libfuzzer-address-x86_64": + targets=FuzzNewEndpoint Step #3 - "compile-libfuzzer-address-x86_64": + for target_name in ${targets} Step #3 - "compile-libfuzzer-address-x86_64": + local module_name Step #3 - "compile-libfuzzer-address-x86_64": + local fuzzer_name Step #3 - "compile-libfuzzer-address-x86_64": + local target_dir Step #3 - "compile-libfuzzer-address-x86_64": + module_name=._ Step #3 - "compile-libfuzzer-address-x86_64": + module_name=. Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_name=fuzznewendpoint Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_name=FuzzNewEndpoint Step #3 - "compile-libfuzzer-address-x86_64": ++ dirname ./plumbing/transport/transport_test.go Step #3 - "compile-libfuzzer-address-x86_64": + target_dir=./plumbing/transport Step #3 - "compile-libfuzzer-address-x86_64": + echo 'Building ./plumbing/transport/transport_test.go.FuzzNewEndpoint into FuzzNewEndpoint' Step #3 - "compile-libfuzzer-address-x86_64": Building ./plumbing/transport/transport_test.go.FuzzNewEndpoint into FuzzNewEndpoint Step #3 - "compile-libfuzzer-address-x86_64": + cat ./plumbing/transport/transport_test.go Step #3 - "compile-libfuzzer-address-x86_64": package transport Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": import ( Step #3 - "compile-libfuzzer-address-x86_64": "testing" Step #3 - "compile-libfuzzer-address-x86_64": ) Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": func FuzzNewEndpoint(f *testing.F) { Step #3 - "compile-libfuzzer-address-x86_64": f.Add("http://127.0.0.1:8080/foo.git") Step #3 - "compile-libfuzzer-address-x86_64": f.Add("http://[::1]:8080/foo.git") Step #3 - "compile-libfuzzer-address-x86_64": f.Add("file:///foo.git") Step #3 - "compile-libfuzzer-address-x86_64": f.Add("ssh://git@github.com/user/repository.git") Step #3 - "compile-libfuzzer-address-x86_64": f.Add("git@github.com:user/repository.git") Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": f.Fuzz(func(t *testing.T, input string) { Step #3 - "compile-libfuzzer-address-x86_64": NewEndpoint(input) Step #3 - "compile-libfuzzer-address-x86_64": }) Step #3 - "compile-libfuzzer-address-x86_64": } Step #3 - "compile-libfuzzer-address-x86_64": + compile_native_go_fuzzer ./plumbing/transport FuzzNewEndpoint FuzzNewEndpoint Step #3 - "compile-libfuzzer-address-x86_64": + for file in ${test_files} Step #3 - "compile-libfuzzer-address-x86_64": ++ dirname ./plumbing/format/packfile/delta_test.go Step #3 - "compile-libfuzzer-address-x86_64": + '[' -f ./plumbing/format/packfile/go.mod ']' Step #3 - "compile-libfuzzer-address-x86_64": + sed -i '/^func Fuzz/!{/^func /,/^}/d}' ./plumbing/format/packfile/delta_test.go Step #3 - "compile-libfuzzer-address-x86_64": + sed -i '/^\(var\|const\)\b/d; /^\s*\/\//d; /^\s*\/\*/,/\*\//d' ./plumbing/format/packfile/delta_test.go Step #3 - "compile-libfuzzer-address-x86_64": + sed -i '/^type .* struct {/,/^}/d' ./plumbing/format/packfile/delta_test.go Step #3 - "compile-libfuzzer-address-x86_64": + go fmt ./plumbing/format/packfile/delta_test.go Step #3 - "compile-libfuzzer-address-x86_64": plumbing/format/packfile/delta_test.go Step #3 - "compile-libfuzzer-address-x86_64": + goimports -w ./plumbing/format/packfile/delta_test.go Step #3 - "compile-libfuzzer-address-x86_64": ++ grep -oP 'func \K(Fuzz\w*)' ./plumbing/format/packfile/delta_test.go Step #3 - "compile-libfuzzer-address-x86_64": + targets=FuzzPatchDelta Step #3 - "compile-libfuzzer-address-x86_64": + for target_name in ${targets} Step #3 - "compile-libfuzzer-address-x86_64": + local module_name Step #3 - "compile-libfuzzer-address-x86_64": + local fuzzer_name Step #3 - "compile-libfuzzer-address-x86_64": + local target_dir Step #3 - "compile-libfuzzer-address-x86_64": + module_name=._ Step #3 - "compile-libfuzzer-address-x86_64": + module_name=. Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_name=fuzzpatchdelta Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_name=FuzzPatchDelta Step #3 - "compile-libfuzzer-address-x86_64": ++ dirname ./plumbing/format/packfile/delta_test.go Step #3 - "compile-libfuzzer-address-x86_64": + target_dir=./plumbing/format/packfile Step #3 - "compile-libfuzzer-address-x86_64": + echo 'Building ./plumbing/format/packfile/delta_test.go.FuzzPatchDelta into FuzzPatchDelta' Step #3 - "compile-libfuzzer-address-x86_64": Building ./plumbing/format/packfile/delta_test.go.FuzzPatchDelta into FuzzPatchDelta Step #3 - "compile-libfuzzer-address-x86_64": + cat ./plumbing/format/packfile/delta_test.go Step #3 - "compile-libfuzzer-address-x86_64": package packfile Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": import ( Step #3 - "compile-libfuzzer-address-x86_64": "testing" Step #3 - "compile-libfuzzer-address-x86_64": ) Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": func FuzzPatchDelta(f *testing.F) { Step #3 - "compile-libfuzzer-address-x86_64": f.Add([]byte("some value"), []byte("\n\f\fsomenewvalue")) Step #3 - "compile-libfuzzer-address-x86_64": f.Add([]byte("some value"), []byte("\n\x0e\x0evalue")) Step #3 - "compile-libfuzzer-address-x86_64": f.Add([]byte("some value"), []byte("\n\x0e\x0eva")) Step #3 - "compile-libfuzzer-address-x86_64": f.Add([]byte("some value"), []byte("\n\x80\x80\x80\x80\x80\x802\x7fvalue")) Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": f.Fuzz(func(t *testing.T, input1, input2 []byte) { Step #3 - "compile-libfuzzer-address-x86_64": PatchDelta(input1, input2) Step #3 - "compile-libfuzzer-address-x86_64": }) Step #3 - "compile-libfuzzer-address-x86_64": } Step #3 - "compile-libfuzzer-address-x86_64": + compile_native_go_fuzzer ./plumbing/format/packfile FuzzPatchDelta FuzzPatchDelta Step #3 - "compile-libfuzzer-address-x86_64": + for file in ${test_files} Step #3 - "compile-libfuzzer-address-x86_64": ++ dirname ./plumbing/format/config/decoder_test.go Step #3 - "compile-libfuzzer-address-x86_64": + '[' -f ./plumbing/format/config/go.mod ']' Step #3 - "compile-libfuzzer-address-x86_64": + sed -i '/^func Fuzz/!{/^func /,/^}/d}' ./plumbing/format/config/decoder_test.go Step #3 - "compile-libfuzzer-address-x86_64": + sed -i '/^\(var\|const\)\b/d; /^\s*\/\//d; /^\s*\/\*/,/\*\//d' ./plumbing/format/config/decoder_test.go Step #3 - "compile-libfuzzer-address-x86_64": + sed -i '/^type .* struct {/,/^}/d' ./plumbing/format/config/decoder_test.go Step #3 - "compile-libfuzzer-address-x86_64": + go fmt ./plumbing/format/config/decoder_test.go Step #3 - "compile-libfuzzer-address-x86_64": plumbing/format/config/decoder_test.go Step #3 - "compile-libfuzzer-address-x86_64": + goimports -w ./plumbing/format/config/decoder_test.go Step #3 - "compile-libfuzzer-address-x86_64": ++ grep -oP 'func \K(Fuzz\w*)' ./plumbing/format/config/decoder_test.go Step #3 - "compile-libfuzzer-address-x86_64": + targets=FuzzDecoder Step #3 - "compile-libfuzzer-address-x86_64": + for target_name in ${targets} Step #3 - "compile-libfuzzer-address-x86_64": + local module_name Step #3 - "compile-libfuzzer-address-x86_64": + local fuzzer_name Step #3 - "compile-libfuzzer-address-x86_64": + local target_dir Step #3 - "compile-libfuzzer-address-x86_64": + module_name=._ Step #3 - "compile-libfuzzer-address-x86_64": + module_name=. Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_name=fuzzdecoder Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_name=FuzzDecoder Step #3 - "compile-libfuzzer-address-x86_64": ++ dirname ./plumbing/format/config/decoder_test.go Step #3 - "compile-libfuzzer-address-x86_64": + target_dir=./plumbing/format/config Step #3 - "compile-libfuzzer-address-x86_64": + echo 'Building ./plumbing/format/config/decoder_test.go.FuzzDecoder into FuzzDecoder' Step #3 - "compile-libfuzzer-address-x86_64": Building ./plumbing/format/config/decoder_test.go.FuzzDecoder into FuzzDecoder Step #3 - "compile-libfuzzer-address-x86_64": + cat ./plumbing/format/config/decoder_test.go Step #3 - "compile-libfuzzer-address-x86_64": package config Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": import ( Step #3 - "compile-libfuzzer-address-x86_64": "bytes" Step #3 - "compile-libfuzzer-address-x86_64": "testing" Step #3 - "compile-libfuzzer-address-x86_64": ) Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": func FuzzDecoder(f *testing.F) { Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": f.Fuzz(func(t *testing.T, input []byte) { Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": d := NewDecoder(bytes.NewReader(input)) Step #3 - "compile-libfuzzer-address-x86_64": cfg := &Config{} Step #3 - "compile-libfuzzer-address-x86_64": d.Decode(cfg) Step #3 - "compile-libfuzzer-address-x86_64": }) Step #3 - "compile-libfuzzer-address-x86_64": } Step #3 - "compile-libfuzzer-address-x86_64": + compile_native_go_fuzzer ./plumbing/format/config FuzzDecoder FuzzDecoder Step #3 - "compile-libfuzzer-address-x86_64": + for file in ${test_files} Step #3 - "compile-libfuzzer-address-x86_64": ++ dirname ./plumbing/protocol/packp/uppackresp_test.go Step #3 - "compile-libfuzzer-address-x86_64": + '[' -f ./plumbing/protocol/packp/go.mod ']' Step #3 - "compile-libfuzzer-address-x86_64": + sed -i '/^func Fuzz/!{/^func /,/^}/d}' ./plumbing/protocol/packp/uppackresp_test.go Step #3 - "compile-libfuzzer-address-x86_64": + sed -i '/^\(var\|const\)\b/d; /^\s*\/\//d; /^\s*\/\*/,/\*\//d' ./plumbing/protocol/packp/uppackresp_test.go Step #3 - "compile-libfuzzer-address-x86_64": + sed -i '/^type .* struct {/,/^}/d' ./plumbing/protocol/packp/uppackresp_test.go Step #3 - "compile-libfuzzer-address-x86_64": + go fmt ./plumbing/protocol/packp/uppackresp_test.go Step #3 - "compile-libfuzzer-address-x86_64": plumbing/protocol/packp/uppackresp_test.go Step #3 - "compile-libfuzzer-address-x86_64": + goimports -w ./plumbing/protocol/packp/uppackresp_test.go Step #3 - "compile-libfuzzer-address-x86_64": ++ grep -oP 'func \K(Fuzz\w*)' ./plumbing/protocol/packp/uppackresp_test.go Step #3 - "compile-libfuzzer-address-x86_64": + targets=FuzzDecoder Step #3 - "compile-libfuzzer-address-x86_64": + for target_name in ${targets} Step #3 - "compile-libfuzzer-address-x86_64": + local module_name Step #3 - "compile-libfuzzer-address-x86_64": + local fuzzer_name Step #3 - "compile-libfuzzer-address-x86_64": + local target_dir Step #3 - "compile-libfuzzer-address-x86_64": + module_name=._ Step #3 - "compile-libfuzzer-address-x86_64": + module_name=. Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_name=fuzzdecoder Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_name=FuzzDecoder Step #3 - "compile-libfuzzer-address-x86_64": ++ dirname ./plumbing/protocol/packp/uppackresp_test.go Step #3 - "compile-libfuzzer-address-x86_64": + target_dir=./plumbing/protocol/packp Step #3 - "compile-libfuzzer-address-x86_64": + echo 'Building ./plumbing/protocol/packp/uppackresp_test.go.FuzzDecoder into FuzzDecoder' Step #3 - "compile-libfuzzer-address-x86_64": Building ./plumbing/protocol/packp/uppackresp_test.go.FuzzDecoder into FuzzDecoder Step #3 - "compile-libfuzzer-address-x86_64": + cat ./plumbing/protocol/packp/uppackresp_test.go Step #3 - "compile-libfuzzer-address-x86_64": package packp Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": import ( Step #3 - "compile-libfuzzer-address-x86_64": "bytes" Step #3 - "compile-libfuzzer-address-x86_64": "io" Step #3 - "compile-libfuzzer-address-x86_64": "testing" Step #3 - "compile-libfuzzer-address-x86_64": ) Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": func FuzzDecoder(f *testing.F) { Step #3 - "compile-libfuzzer-address-x86_64": f.Add([]byte("0045ACK 5dc01c595e6c6ec9ccda4f6f69c131c0dd945f81\n")) Step #3 - "compile-libfuzzer-address-x86_64": f.Add([]byte("003aACK5dc01c595e6c6ec9ccda4f6f69c131c0dd945f82 \n0008NAK\n0")) Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": f.Fuzz(func(t *testing.T, input []byte) { Step #3 - "compile-libfuzzer-address-x86_64": req := NewUploadPackRequest() Step #3 - "compile-libfuzzer-address-x86_64": res := NewUploadPackResponse(req) Step #3 - "compile-libfuzzer-address-x86_64": defer res.Close() Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": res.Decode(io.NopCloser(bytes.NewReader(input))) Step #3 - "compile-libfuzzer-address-x86_64": }) Step #3 - "compile-libfuzzer-address-x86_64": } Step #3 - "compile-libfuzzer-address-x86_64": + compile_native_go_fuzzer ./plumbing/protocol/packp FuzzDecoder FuzzDecoder Step #3 - "compile-libfuzzer-address-x86_64": + for file in ${test_files} Step #3 - "compile-libfuzzer-address-x86_64": ++ dirname ./internal/revision/parser_test.go Step #3 - "compile-libfuzzer-address-x86_64": + '[' -f ./internal/revision/go.mod ']' Step #3 - "compile-libfuzzer-address-x86_64": + sed -i '/^func Fuzz/!{/^func /,/^}/d}' ./internal/revision/parser_test.go Step #3 - "compile-libfuzzer-address-x86_64": + sed -i '/^\(var\|const\)\b/d; /^\s*\/\//d; /^\s*\/\*/,/\*\//d' ./internal/revision/parser_test.go Step #3 - "compile-libfuzzer-address-x86_64": + sed -i '/^type .* struct {/,/^}/d' ./internal/revision/parser_test.go Step #3 - "compile-libfuzzer-address-x86_64": + go fmt ./internal/revision/parser_test.go Step #3 - "compile-libfuzzer-address-x86_64": internal/revision/parser_test.go Step #3 - "compile-libfuzzer-address-x86_64": + goimports -w ./internal/revision/parser_test.go Step #3 - "compile-libfuzzer-address-x86_64": ++ grep -oP 'func \K(Fuzz\w*)' ./internal/revision/parser_test.go Step #3 - "compile-libfuzzer-address-x86_64": + targets=FuzzParser Step #3 - "compile-libfuzzer-address-x86_64": + for target_name in ${targets} Step #3 - "compile-libfuzzer-address-x86_64": + local module_name Step #3 - "compile-libfuzzer-address-x86_64": + local fuzzer_name Step #3 - "compile-libfuzzer-address-x86_64": + local target_dir Step #3 - "compile-libfuzzer-address-x86_64": + module_name=._ Step #3 - "compile-libfuzzer-address-x86_64": + module_name=. Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_name=fuzzparser Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_name=FuzzParser Step #3 - "compile-libfuzzer-address-x86_64": ++ dirname ./internal/revision/parser_test.go Step #3 - "compile-libfuzzer-address-x86_64": + target_dir=./internal/revision Step #3 - "compile-libfuzzer-address-x86_64": + echo 'Building ./internal/revision/parser_test.go.FuzzParser into FuzzParser' Step #3 - "compile-libfuzzer-address-x86_64": Building ./internal/revision/parser_test.go.FuzzParser into FuzzParser Step #3 - "compile-libfuzzer-address-x86_64": + cat ./internal/revision/parser_test.go Step #3 - "compile-libfuzzer-address-x86_64": package revision Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": import ( Step #3 - "compile-libfuzzer-address-x86_64": "bytes" Step #3 - "compile-libfuzzer-address-x86_64": "testing" Step #3 - "compile-libfuzzer-address-x86_64": ) Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": func FuzzParser(f *testing.F) { Step #3 - "compile-libfuzzer-address-x86_64": f.Add("@{2016-12-16T21:42:47Z}") Step #3 - "compile-libfuzzer-address-x86_64": f.Add("@~3") Step #3 - "compile-libfuzzer-address-x86_64": f.Add("v0.99.8^{}") Step #3 - "compile-libfuzzer-address-x86_64": f.Add("master:./README") Step #3 - "compile-libfuzzer-address-x86_64": f.Add("HEAD^{/fix nasty bug}") Step #3 - "compile-libfuzzer-address-x86_64": f.Add("HEAD^{/[A-") Step #3 - "compile-libfuzzer-address-x86_64": f.Add(":/fix nasty bug") Step #3 - "compile-libfuzzer-address-x86_64": f.Add(":/[A-") Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": f.Fuzz(func(t *testing.T, input string) { Step #3 - "compile-libfuzzer-address-x86_64": parser := NewParser(bytes.NewBufferString(input)) Step #3 - "compile-libfuzzer-address-x86_64": parser.Parse() Step #3 - "compile-libfuzzer-address-x86_64": }) Step #3 - "compile-libfuzzer-address-x86_64": } Step #3 - "compile-libfuzzer-address-x86_64": + compile_native_go_fuzzer ./internal/revision FuzzParser FuzzParser Finished Step #3 - "compile-libfuzzer-address-x86_64" Starting Step #4 - "build-check-libfuzzer-address-x86_64" Step #4 - "build-check-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #4 - "build-check-libfuzzer-address-x86_64": Unable to find image 'gcr.io/oss-fuzz-base/base-runner:latest' locally Step #4 - "build-check-libfuzzer-address-x86_64": latest: Pulling from oss-fuzz-base/base-runner Step #4 - "build-check-libfuzzer-address-x86_64": b549f31133a9: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 27a60affb188: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": fe996ae7dc59: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 1fb60f76380f: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": ceacc69a5eb6: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 56df53c7e92f: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 5b0678c590a1: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 643b93c5a493: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 3a053ccbe2fc: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 75399c9193ed: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 73b63ae67252: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 958e446b901c: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 596eac7a3fb3: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 3f5cabb069a2: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 82db9b94cb83: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": c75b5213d1e6: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 09665408fcc1: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 512c6bb36969: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": b8df1e8c820b: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 552a7107d98a: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": eb6497a150eb: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 4e0ebe252713: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": a210141399dc: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 49e603669c49: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": fd39327fd459: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 471f435a1c08: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 82db9b94cb83: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": c75b5213d1e6: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 09665408fcc1: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 3a053ccbe2fc: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 75399c9193ed: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 643b93c5a493: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 5b0678c590a1: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": b8df1e8c820b: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 552a7107d98a: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 73b63ae67252: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": a210141399dc: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": eb6497a150eb: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 958e446b901c: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 4e0ebe252713: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 49e603669c49: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 471f435a1c08: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": fd39327fd459: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 596eac7a3fb3: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 3f5cabb069a2: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 56df53c7e92f: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 56df53c7e92f: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 1fb60f76380f: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 1fb60f76380f: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 643b93c5a493: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 643b93c5a493: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": ceacc69a5eb6: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 5b0678c590a1: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 5b0678c590a1: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 1fb60f76380f: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 73b63ae67252: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 75399c9193ed: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 958e446b901c: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 958e446b901c: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": ceacc69a5eb6: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 3a053ccbe2fc: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 3a053ccbe2fc: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 3f5cabb069a2: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 3f5cabb069a2: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 56df53c7e92f: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 82db9b94cb83: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 82db9b94cb83: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": c75b5213d1e6: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": c75b5213d1e6: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 512c6bb36969: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 5b0678c590a1: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 596eac7a3fb3: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 596eac7a3fb3: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 643b93c5a493: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 09665408fcc1: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 09665408fcc1: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 552a7107d98a: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 552a7107d98a: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": eb6497a150eb: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": eb6497a150eb: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 4e0ebe252713: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 4e0ebe252713: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": a210141399dc: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": a210141399dc: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 49e603669c49: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 49e603669c49: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 471f435a1c08: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 471f435a1c08: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b8df1e8c820b: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": b8df1e8c820b: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 3a053ccbe2fc: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 75399c9193ed: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 73b63ae67252: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 958e446b901c: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 596eac7a3fb3: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 3f5cabb069a2: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 82db9b94cb83: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": c75b5213d1e6: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 09665408fcc1: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 512c6bb36969: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": b8df1e8c820b: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 552a7107d98a: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": eb6497a150eb: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 4e0ebe252713: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": a210141399dc: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 49e603669c49: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": fd39327fd459: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 471f435a1c08: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": Digest: sha256:6380368e5a1bcc9a8c85c797794b7522f246f2693da3edf42319530441784b00 Step #4 - "build-check-libfuzzer-address-x86_64": Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-runner:latest Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpbpum1hyx/FuzzParseSignedBytes Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpbpum1hyx/FuzzDecoder Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpbpum1hyx/FuzzParser Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpbpum1hyx/FuzzNewEndpoint Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpbpum1hyx/FuzzPatchDelta Finished Step #4 - "build-check-libfuzzer-address-x86_64" Starting Step #5 Step #5: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #5 Starting Step #6 Step #6: Already have image: gcr.io/oss-fuzz/go-git Step #6: adding: FuzzDecoder (deflated 68%) Step #6: adding: FuzzNewEndpoint (deflated 68%) Step #6: adding: FuzzParseSignedBytes (deflated 67%) Step #6: adding: FuzzParser (deflated 67%) Step #6: adding: FuzzPatchDelta (deflated 67%) Step #6: adding: llvm-symbolizer (deflated 66%) Finished Step #6 Starting Step #7 Step #7: Pulling image: gcr.io/oss-fuzz-base/uploader Step #7: Using default tag: latest Step #7: latest: Pulling from oss-fuzz-base/uploader Step #7: c62795f78da9: Pulling fs layer Step #7: d4fceeeb758e: Pulling fs layer Step #7: 5c9125a401ae: Pulling fs layer Step #7: 0062f774e994: Pulling fs layer Step #7: 6b33fd031fac: Pulling fs layer Step #7: 7eb39101e508: Pulling fs layer Step #7: 89257482f398: Pulling fs layer Step #7: 0062f774e994: Waiting Step #7: 6b33fd031fac: Waiting Step #7: 7eb39101e508: Waiting Step #7: 89257482f398: Waiting Step #7: 5c9125a401ae: Verifying Checksum Step #7: 5c9125a401ae: Download complete Step #7: d4fceeeb758e: Verifying Checksum Step #7: d4fceeeb758e: Download complete Step #7: 0062f774e994: Download complete Step #7: 6b33fd031fac: Download complete Step #7: 89257482f398: Download complete Step #7: c62795f78da9: Verifying Checksum Step #7: c62795f78da9: Download complete Step #7: 7eb39101e508: Verifying Checksum Step #7: 7eb39101e508: Download complete Step #7: c62795f78da9: Pull complete Step #7: d4fceeeb758e: Pull complete Step #7: 5c9125a401ae: Pull complete Step #7: 0062f774e994: Pull complete Step #7: 6b33fd031fac: Pull complete Step #7: 7eb39101e508: Pull complete Step #7: 89257482f398: Pull complete Step #7: Digest: sha256:5717ba63d13b5515063e2a6ccad09fb5bf32a86c8e0798a363d81c2be522e411 Step #7: Status: Downloaded newer image for gcr.io/oss-fuzz-base/uploader:latest Step #7: gcr.io/oss-fuzz-base/uploader:latest Step #7: % Total % Received % Xferd Average Speed Time Time Time Current Step #7: Dload Upload Total Spent Left Speed Step #7: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 347 0 0 100 347 0 1690 --:--:-- --:--:-- --:--:-- 1684 100 347 0 0 100 347 0 1558 --:--:-- --:--:-- --:--:-- 1556 Finished Step #7 Starting Step #8 Step #8: Already have image (with digest): gcr.io/oss-fuzz-base/uploader 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 21.7M 0 0 100 21.7M 0 49.8M --:--:-- --:--:-- --:--:-- 49.8M 100 21.7M 0 0 100 21.7M 0 49.8M --:--:-- --:--:-- --:--:-- 49.8M 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 75 0 0 100 75 0 228 --:--:-- --:--:-- --:--:-- 227 100 75 0 0 100 75 0 228 --:--:-- --:--:-- --:--:-- 227 Finished Step #9 Starting Step #10 Step #10: Already have image (with digest): gcr.io/cloud-builders/curl 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 31 0 0 100 31 0 149 --:--:-- --:--:-- --:--:-- 149 100 31 0 0 100 31 0 135 --:--:-- --:--:-- --:--:-- 135 Finished Step #10 Starting Step #11 Step #11: Already have image: gcr.io/oss-fuzz/go-git Finished Step #11 PUSH DONE