starting build "b6b1d37f-c675-4b1c-a5d8-edee87dcf828" 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 7.68kB 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: 6a0e5f612868: Pulling fs layer Step #1: b88cea4d034b: Pulling fs layer Step #1: 20741cb69511: Pulling fs layer Step #1: 34a5fd05a54e: Pulling fs layer Step #1: e46c14f52f38: Pulling fs layer Step #1: 09e6a1b6b121: Pulling fs layer Step #1: 4ad78bfd124e: Pulling fs layer Step #1: cc348a5fe721: Pulling fs layer Step #1: 20bb5352542a: Pulling fs layer Step #1: fa4af7c49421: Pulling fs layer Step #1: 4b3882faf561: Pulling fs layer Step #1: bd0cdb6af1c3: Pulling fs layer Step #1: 4c55f872ea2b: Pulling fs layer Step #1: 6c6dcd826c65: Pulling fs layer Step #1: e8366f418581: Pulling fs layer Step #1: e516d163226a: Pulling fs layer Step #1: 19d1a0d4757a: Pulling fs layer Step #1: 4f0fed96279b: Pulling fs layer Step #1: 20741cb69511: Waiting Step #1: 0c4aabd23aaa: Pulling fs layer Step #1: 09e6a1b6b121: Waiting Step #1: 429f91f470ea: Pulling fs layer Step #1: 34a5fd05a54e: Waiting Step #1: 4ad78bfd124e: Waiting Step #1: 02e1225492c9: Pulling fs layer Step #1: fa4af7c49421: Waiting Step #1: 0c2e7d571582: Pulling fs layer Step #1: cc348a5fe721: Waiting Step #1: 4b3882faf561: Waiting Step #1: 20bb5352542a: Waiting Step #1: 07972a66777b: Pulling fs layer Step #1: bd0cdb6af1c3: Waiting Step #1: 724e8bcb5328: Pulling fs layer Step #1: e8366f418581: Waiting Step #1: 4c55f872ea2b: Waiting Step #1: 8430e62ec0e2: Pulling fs layer Step #1: e46c14f52f38: Waiting Step #1: 64dc2a441aee: Pulling fs layer Step #1: 6c6dcd826c65: Waiting Step #1: 19d1a0d4757a: Waiting Step #1: e516d163226a: Waiting Step #1: b4e86d9a73eb: Pulling fs layer Step #1: 4f0fed96279b: Waiting Step #1: 429f91f470ea: Waiting Step #1: 0c4aabd23aaa: Waiting Step #1: 02e1225492c9: Waiting Step #1: 0c2e7d571582: Waiting Step #1: 07972a66777b: Waiting Step #1: 724e8bcb5328: Waiting Step #1: 8430e62ec0e2: Waiting Step #1: 2b650a2f6d92: Pulling fs layer Step #1: 0b22c9db1d7e: Pulling fs layer Step #1: d4f9b2aedcc8: Pulling fs layer Step #1: 5e3be1e5e8bf: Pulling fs layer Step #1: 2b650a2f6d92: Waiting Step #1: 0b22c9db1d7e: Waiting Step #1: b4e86d9a73eb: Waiting Step #1: d4f9b2aedcc8: Waiting Step #1: 8b1e080e8b3e: Pulling fs layer Step #1: 5e3be1e5e8bf: Waiting Step #1: 30a35806bf39: Pulling fs layer Step #1: f6c19dc8fe14: Pulling fs layer Step #1: 30a35806bf39: Waiting Step #1: b88cea4d034b: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 34a5fd05a54e: Verifying Checksum Step #1: 34a5fd05a54e: Download complete Step #1: 20741cb69511: Verifying Checksum Step #1: 20741cb69511: Download complete Step #1: e46c14f52f38: Download complete Step #1: 4ad78bfd124e: Verifying Checksum Step #1: 4ad78bfd124e: Download complete Step #1: 6a0e5f612868: Verifying Checksum Step #1: 6a0e5f612868: Download complete Step #1: cc348a5fe721: Verifying Checksum Step #1: cc348a5fe721: Download complete Step #1: b549f31133a9: Pull complete Step #1: fa4af7c49421: Verifying Checksum Step #1: fa4af7c49421: Download complete Step #1: 4b3882faf561: Verifying Checksum Step #1: 4b3882faf561: Download complete Step #1: bd0cdb6af1c3: Verifying Checksum Step #1: bd0cdb6af1c3: Download complete Step #1: 4c55f872ea2b: Verifying Checksum Step #1: 4c55f872ea2b: Download complete Step #1: 6c6dcd826c65: Download complete Step #1: e8366f418581: Verifying Checksum Step #1: e8366f418581: Download complete Step #1: 20bb5352542a: Verifying Checksum Step #1: 20bb5352542a: Download complete Step #1: 19d1a0d4757a: Verifying Checksum Step #1: 19d1a0d4757a: Download complete Step #1: 4f0fed96279b: Verifying Checksum Step #1: 4f0fed96279b: Download complete Step #1: 0c4aabd23aaa: Verifying Checksum Step #1: 0c4aabd23aaa: Download complete Step #1: 429f91f470ea: Verifying Checksum Step #1: 429f91f470ea: Download complete Step #1: 09e6a1b6b121: Verifying Checksum Step #1: 09e6a1b6b121: Download complete Step #1: 02e1225492c9: Download complete Step #1: 07972a66777b: Download complete Step #1: 0c2e7d571582: Verifying Checksum Step #1: 0c2e7d571582: Download complete Step #1: e516d163226a: Verifying Checksum Step #1: e516d163226a: Download complete Step #1: 724e8bcb5328: Verifying Checksum Step #1: 724e8bcb5328: Download complete Step #1: 8430e62ec0e2: Verifying Checksum Step #1: 8430e62ec0e2: Download complete Step #1: 64dc2a441aee: Verifying Checksum Step #1: 64dc2a441aee: Download complete Step #1: b4e86d9a73eb: Verifying Checksum Step #1: b4e86d9a73eb: Download complete Step #1: 0b22c9db1d7e: Download complete Step #1: d4f9b2aedcc8: Verifying Checksum Step #1: d4f9b2aedcc8: Download complete Step #1: 5e3be1e5e8bf: Verifying Checksum Step #1: 5e3be1e5e8bf: Download complete Step #1: 2b650a2f6d92: Verifying Checksum Step #1: 2b650a2f6d92: Download complete Step #1: 6a0e5f612868: Pull complete Step #1: 8b1e080e8b3e: Download complete Step #1: b88cea4d034b: Pull complete Step #1: f6c19dc8fe14: Verifying Checksum Step #1: f6c19dc8fe14: Download complete Step #1: 20741cb69511: Pull complete Step #1: 34a5fd05a54e: Pull complete Step #1: e46c14f52f38: Pull complete Step #1: 30a35806bf39: Verifying Checksum Step #1: 30a35806bf39: Download complete Step #1: 09e6a1b6b121: Pull complete Step #1: 4ad78bfd124e: Pull complete Step #1: cc348a5fe721: Pull complete Step #1: 20bb5352542a: Pull complete Step #1: fa4af7c49421: Pull complete Step #1: 4b3882faf561: Pull complete Step #1: bd0cdb6af1c3: Pull complete Step #1: 4c55f872ea2b: Pull complete Step #1: 6c6dcd826c65: Pull complete Step #1: e8366f418581: Pull complete Step #1: e516d163226a: Pull complete Step #1: 19d1a0d4757a: Pull complete Step #1: 4f0fed96279b: Pull complete Step #1: 0c4aabd23aaa: Pull complete Step #1: 429f91f470ea: Pull complete Step #1: 02e1225492c9: Pull complete Step #1: 0c2e7d571582: Pull complete Step #1: 07972a66777b: Pull complete Step #1: 724e8bcb5328: Pull complete Step #1: 8430e62ec0e2: Pull complete Step #1: 64dc2a441aee: Pull complete Step #1: b4e86d9a73eb: Pull complete Step #1: 2b650a2f6d92: Pull complete Step #1: 0b22c9db1d7e: Pull complete Step #1: d4f9b2aedcc8: Pull complete Step #1: 5e3be1e5e8bf: Pull complete Step #1: 8b1e080e8b3e: Pull complete Step #1: 30a35806bf39: Pull complete Step #1: f6c19dc8fe14: Pull complete Step #1: Digest: sha256:6b722c92609679b21cfdcb8755c1a29b43330935051ae42f37be85adec9fe2ca Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 2391f5be2c9a Step #1: Step 2/6 : RUN git clone --depth 1 https://github.com/jhump/protoreflect Step #1: ---> Running in 0975dce59803 Step #1: Cloning into 'protoreflect'... Step #1: Removing intermediate container 0975dce59803 Step #1: ---> ca7958d7a59f Step #1: Step 3/6 : COPY fuzz_protoparse.go $SRC/protoreflect/desc/protoparse/ Step #1: ---> 4c110f066cc0 Step #1: Step 4/6 : COPY fuzz_dynamic.go $SRC/protoreflect/proto_decoder/ Step #1: ---> f6ee023fba4a Step #1: Step 5/6 : COPY build.sh $SRC/ Step #1: ---> fdbdbeed45ef Step #1: Step 6/6 : WORKDIR $SRC/protoreflect Step #1: ---> Running in 15baf2f89d78 Step #1: Removing intermediate container 15baf2f89d78 Step #1: ---> b108871f56d3 Step #1: Successfully built b108871f56d3 Step #1: Successfully tagged gcr.io/oss-fuzz/protoreflect:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/protoreflect Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileAO4aAN 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/protoreflect/.git Step #2 - "srcmap": + GIT_DIR=/src/protoreflect Step #2 - "srcmap": + cd /src/protoreflect Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/jhump/protoreflect Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=2e9626be64b51a17286d7e9783e5aa546ecebf1d Step #2 - "srcmap": + jq_inplace /tmp/fileAO4aAN '."/src/protoreflect" = { type: "git", url: "https://github.com/jhump/protoreflect", rev: "2e9626be64b51a17286d7e9783e5aa546ecebf1d" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileziHKxb Step #2 - "srcmap": + cat /tmp/fileAO4aAN Step #2 - "srcmap": + jq '."/src/protoreflect" = { type: "git", url: "https://github.com/jhump/protoreflect", rev: "2e9626be64b51a17286d7e9783e5aa546ecebf1d" }' Step #2 - "srcmap": + mv /tmp/fileziHKxb /tmp/fileAO4aAN 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/fileAO4aAN Step #2 - "srcmap": + rm /tmp/fileAO4aAN Step #2 - "srcmap": { Step #2 - "srcmap": "/src/protoreflect": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/jhump/protoreflect", Step #2 - "srcmap": "rev": "2e9626be64b51a17286d7e9783e5aa546ecebf1d" 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 -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 -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": + compile_go_fuzzer github.com/jhump/protoreflect/desc/protoparse FuzzProtoParse fuzz_protoparse Step #3 - "compile-libfuzzer-address-x86_64": /usr/local/bin/compile_go_fuzzer: line 28: cd: /root/go/src/github.com/jhump/protoreflect/desc/protoparse: No such file or directory Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/jhump/protoreflect v1.17.1-0.20240913204751-8f5fd1dcb3c5 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading google.golang.org/grpc v1.66.2 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading google.golang.org/protobuf v1.34.2 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading golang.org/x/sync v0.8.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/stretchr/testify v1.9.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/bufbuild/protocompile v0.14.1 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/google/go-cmp v0.6.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/golang/protobuf v1.5.4 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/davecgh/go-spew v1.1.1 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/pmezard/go-difflib v1.0.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading gopkg.in/yaml.v3 v3.0.1 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/kr/pretty v0.3.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/rogpeppe/go-internal v1.9.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/kr/text v0.2.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading golang.org/x/net v0.26.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading golang.org/x/sys v0.21.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading golang.org/x/text v0.16.0 Step #3 - "compile-libfuzzer-address-x86_64": github.com/jhump/protoreflect/desc/protoparse Step #3 - "compile-libfuzzer-address-x86_64": github.com/jhump/protoreflect/desc/protoparse Step #3 - "compile-libfuzzer-address-x86_64": Running go-fuzz -tags gofuzz -func FuzzProtoParse -o fuzz_protoparse.a github.com/jhump/protoreflect/desc/protoparse Step #3 - "compile-libfuzzer-address-x86_64": # command-line-arguments Step #3 - "compile-libfuzzer-address-x86_64": ./main.3341469453.go:21:9: undefined: target.FuzzProtoParse Step #3 - "compile-libfuzzer-address-x86_64": 2024/09/18 06:36:05 failed to build packages:exit status 1 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 protoreflect Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 protoreflect 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