starting build "a51bd8ab-d5ed-40d9-8fb0-a61ed946bd6d" 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.168kB 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: f0a3b1b447bc: Pulling fs layer Step #1: b0ee03945fea: Pulling fs layer Step #1: 4a8693e014c3: Pulling fs layer Step #1: e2f59e5a156e: Pulling fs layer Step #1: f29b5ac8e73e: Pulling fs layer Step #1: 4a8693e014c3: Waiting Step #1: e2f59e5a156e: Waiting Step #1: 90f245d1aef1: Pulling fs layer Step #1: c8927e3dc8f9: Pulling fs layer Step #1: 4557675f45d8: Pulling fs layer Step #1: 90f245d1aef1: Waiting Step #1: 937320d7f261: Pulling fs layer Step #1: 7c227fa15db8: Pulling fs layer Step #1: eab9f48a09cf: Pulling fs layer Step #1: c8927e3dc8f9: Waiting Step #1: f25279365889: Pulling fs layer Step #1: b620613a3285: Pulling fs layer Step #1: 9c02cf9697db: Pulling fs layer Step #1: 4557675f45d8: Waiting Step #1: 2c43caae0223: Pulling fs layer Step #1: f29b5ac8e73e: Waiting Step #1: 937320d7f261: Waiting Step #1: a53bb955ed7d: Pulling fs layer Step #1: 7c227fa15db8: Waiting Step #1: 53c7e5e2037f: Pulling fs layer Step #1: 7b8eba837b81: Pulling fs layer Step #1: b620613a3285: Waiting Step #1: eab9f48a09cf: Waiting Step #1: f25279365889: Waiting Step #1: 2c43caae0223: Waiting Step #1: 477f9ef47805: Pulling fs layer Step #1: 552cd68f69b0: Pulling fs layer Step #1: d2721a36b50a: Pulling fs layer Step #1: a53bb955ed7d: Waiting Step #1: 7b8eba837b81: Waiting Step #1: 53c7e5e2037f: Waiting Step #1: 477f9ef47805: Waiting Step #1: 552cd68f69b0: Waiting Step #1: 250a1d819dfe: Pulling fs layer Step #1: 43617d336831: Pulling fs layer Step #1: 5ea45c8c2f67: Pulling fs layer Step #1: 06a838e1c3d9: Pulling fs layer Step #1: ff372bba2956: Pulling fs layer Step #1: e348d1ca44b3: Pulling fs layer Step #1: d2721a36b50a: Waiting Step #1: 3e5f9e0f48fc: Pulling fs layer Step #1: 06a838e1c3d9: Waiting Step #1: 69ff952c3b23: Pulling fs layer Step #1: 622fc10650be: Pulling fs layer Step #1: 813a09be3a08: Pulling fs layer Step #1: 06e819fa3689: Pulling fs layer Step #1: e348d1ca44b3: Waiting Step #1: 1003a6234c50: Pulling fs layer Step #1: 4c171b7bc3b5: Pulling fs layer Step #1: 69ff952c3b23: Waiting Step #1: 3e5f9e0f48fc: Waiting Step #1: 622fc10650be: Waiting Step #1: 43617d336831: Waiting Step #1: 06e819fa3689: Waiting Step #1: 250a1d819dfe: Waiting Step #1: 1003a6234c50: Waiting Step #1: 4c171b7bc3b5: Waiting Step #1: b0ee03945fea: Verifying Checksum Step #1: b0ee03945fea: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: e2f59e5a156e: Verifying Checksum Step #1: e2f59e5a156e: Download complete Step #1: 4a8693e014c3: Verifying Checksum Step #1: 4a8693e014c3: Download complete Step #1: f29b5ac8e73e: Download complete Step #1: c8927e3dc8f9: Download complete Step #1: 4557675f45d8: Verifying Checksum Step #1: 4557675f45d8: Download complete Step #1: f0a3b1b447bc: Verifying Checksum Step #1: f0a3b1b447bc: Download complete Step #1: b549f31133a9: Pull complete Step #1: 7c227fa15db8: Verifying Checksum Step #1: 7c227fa15db8: Download complete Step #1: eab9f48a09cf: Verifying Checksum Step #1: eab9f48a09cf: Download complete Step #1: f25279365889: Verifying Checksum Step #1: f25279365889: Download complete Step #1: b620613a3285: Verifying Checksum Step #1: b620613a3285: Download complete Step #1: 9c02cf9697db: Download complete Step #1: 2c43caae0223: Verifying Checksum Step #1: 2c43caae0223: Download complete Step #1: a53bb955ed7d: Verifying Checksum Step #1: a53bb955ed7d: Download complete Step #1: 53c7e5e2037f: Verifying Checksum Step #1: 53c7e5e2037f: Download complete Step #1: 937320d7f261: Verifying Checksum Step #1: 937320d7f261: Download complete Step #1: 7b8eba837b81: Verifying Checksum Step #1: 7b8eba837b81: Download complete Step #1: 477f9ef47805: Verifying Checksum Step #1: 477f9ef47805: Download complete Step #1: d2721a36b50a: Verifying Checksum Step #1: d2721a36b50a: Download complete Step #1: 552cd68f69b0: Verifying Checksum Step #1: 552cd68f69b0: Download complete Step #1: 43617d336831: Verifying Checksum Step #1: 43617d336831: Download complete Step #1: 250a1d819dfe: Verifying Checksum Step #1: 250a1d819dfe: Download complete Step #1: 90f245d1aef1: Verifying Checksum Step #1: 90f245d1aef1: Download complete Step #1: 06a838e1c3d9: Verifying Checksum Step #1: 06a838e1c3d9: Download complete Step #1: 5ea45c8c2f67: Verifying Checksum Step #1: 5ea45c8c2f67: Download complete Step #1: ff372bba2956: Verifying Checksum Step #1: ff372bba2956: Download complete Step #1: e348d1ca44b3: Verifying Checksum Step #1: e348d1ca44b3: Download complete Step #1: 69ff952c3b23: Verifying Checksum Step #1: 69ff952c3b23: Download complete Step #1: 3e5f9e0f48fc: Verifying Checksum Step #1: 3e5f9e0f48fc: Download complete Step #1: 622fc10650be: Download complete Step #1: 813a09be3a08: Download complete Step #1: 06e819fa3689: Verifying Checksum Step #1: 06e819fa3689: Download complete Step #1: 4c171b7bc3b5: Verifying Checksum Step #1: 4c171b7bc3b5: Download complete Step #1: f0a3b1b447bc: Pull complete Step #1: b0ee03945fea: Pull complete Step #1: 4a8693e014c3: Pull complete Step #1: 1003a6234c50: Verifying Checksum Step #1: 1003a6234c50: Download complete Step #1: e2f59e5a156e: Pull complete Step #1: f29b5ac8e73e: Pull complete Step #1: 90f245d1aef1: Pull complete Step #1: c8927e3dc8f9: Pull complete Step #1: 4557675f45d8: Pull complete Step #1: 937320d7f261: Pull complete Step #1: 7c227fa15db8: Pull complete Step #1: eab9f48a09cf: Pull complete Step #1: f25279365889: Pull complete Step #1: b620613a3285: Pull complete Step #1: 9c02cf9697db: Pull complete Step #1: 2c43caae0223: Pull complete Step #1: a53bb955ed7d: Pull complete Step #1: 53c7e5e2037f: Pull complete Step #1: 7b8eba837b81: Pull complete Step #1: 477f9ef47805: Pull complete Step #1: 552cd68f69b0: Pull complete Step #1: d2721a36b50a: Pull complete Step #1: 250a1d819dfe: Pull complete Step #1: 43617d336831: Pull complete Step #1: 5ea45c8c2f67: Pull complete Step #1: 06a838e1c3d9: Pull complete Step #1: ff372bba2956: Pull complete Step #1: e348d1ca44b3: Pull complete Step #1: 3e5f9e0f48fc: Pull complete Step #1: 69ff952c3b23: Pull complete Step #1: 622fc10650be: Pull complete Step #1: 813a09be3a08: Pull complete Step #1: 06e819fa3689: Pull complete Step #1: 1003a6234c50: Pull complete Step #1: 4c171b7bc3b5: Pull complete Step #1: Digest: sha256:ddddf47dabe7920847448b04135a103b914b6a59ae381ffb8d5c68dfc7dc68e9 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 8e89585dd9fb Step #1: Step 2/4 : RUN git clone --depth 1 https://github.com/shirou/gopsutil Step #1: ---> Running in e86b9d7d48c5 Step #1: Cloning into 'gopsutil'... Step #1: Removing intermediate container e86b9d7d48c5 Step #1: ---> 2874a5a6e758 Step #1: Step 3/4 : WORKDIR $SRC/gopsutil Step #1: ---> Running in 1c0e4db539a7 Step #1: Removing intermediate container 1c0e4db539a7 Step #1: ---> 4819d940c907 Step #1: Step 4/4 : COPY build.sh fuzz_test.go $SRC/ Step #1: ---> beaa9fc79be5 Step #1: Successfully built beaa9fc79be5 Step #1: Successfully tagged gcr.io/oss-fuzz/gopsutil:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/gopsutil Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileHhHAZO 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/gopsutil/.git Step #2 - "srcmap": + GIT_DIR=/src/gopsutil Step #2 - "srcmap": + cd /src/gopsutil Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/shirou/gopsutil Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=e89f21d7dcc0d59e36b08a2b0a6309345f42d3fe Step #2 - "srcmap": + jq_inplace /tmp/fileHhHAZO '."/src/gopsutil" = { type: "git", url: "https://github.com/shirou/gopsutil", rev: "e89f21d7dcc0d59e36b08a2b0a6309345f42d3fe" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileofYCW9 Step #2 - "srcmap": + cat /tmp/fileHhHAZO Step #2 - "srcmap": + jq '."/src/gopsutil" = { type: "git", url: "https://github.com/shirou/gopsutil", rev: "e89f21d7dcc0d59e36b08a2b0a6309345f42d3fe" }' Step #2 - "srcmap": + mv /tmp/fileofYCW9 /tmp/fileHhHAZO 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/fileHhHAZO Step #2 - "srcmap": + rm /tmp/fileHhHAZO Step #2 - "srcmap": { Step #2 - "srcmap": "/src/gopsutil": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/shirou/gopsutil", Step #2 - "srcmap": "rev": "e89f21d7dcc0d59e36b08a2b0a6309345f42d3fe" 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": + cp /src/fuzz_test.go ./process/ Step #3 - "compile-libfuzzer-address-x86_64": + go mod tidy 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 golang.org/x/sys v0.24.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/yusufpapurcu/wmi v1.2.4 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/tklauser/go-sysconf v0.3.12 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/shoenig/go-m1cpu v0.1.6 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/go-ole/go-ole v1.2.6 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/shoenig/test v0.6.4 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/tklauser/numcpus v0.6.1 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 v0.0.0-20161208181325-20d25e280405 Step #3 - "compile-libfuzzer-address-x86_64": + printf 'package process\nimport _ "github.com/AdamKorcz/go-118-fuzz-build/testing"\n' Step #3 - "compile-libfuzzer-address-x86_64": + go mod tidy Step #3 - "compile-libfuzzer-address-x86_64": go: finding module for package 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: found github.com/AdamKorcz/go-118-fuzz-build/testing in 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": + compile_native_go_fuzzer github.com/shirou/gopsutil/v3/process FuzzTest FuzzTest Step #3 - "compile-libfuzzer-address-x86_64": no required module provides package github.com/shirou/gopsutil/v3/process; to add it: Step #3 - "compile-libfuzzer-address-x86_64": go get github.com/shirou/gopsutil/v3/process 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 gopsutil Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 gopsutil 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