starting build "7a9c6492-c2c1-4b7c-8ebb-540c208060c7" 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: 68f0a05088d4: Pulling fs layer Step #1: fc036af1fb82: Pulling fs layer Step #1: 4dd984a2c4cd: Pulling fs layer Step #1: 02f44cff9251: Pulling fs layer Step #1: 78eedb9c24d1: Pulling fs layer Step #1: c10ce716bc48: Pulling fs layer Step #1: 5a002da03f93: Pulling fs layer Step #1: c26cf580b400: Pulling fs layer Step #1: a34000951f24: Pulling fs layer Step #1: 4dd984a2c4cd: Waiting Step #1: 02f44cff9251: Waiting Step #1: c10ce716bc48: Waiting Step #1: 5a002da03f93: Waiting Step #1: 09d46e9bcc80: Pulling fs layer Step #1: e868cba1bf9d: Pulling fs layer Step #1: bb609e1d8712: Pulling fs layer Step #1: a34000951f24: Waiting Step #1: e868cba1bf9d: Waiting Step #1: 9cefa2757712: Pulling fs layer Step #1: 09d46e9bcc80: Waiting Step #1: bb609e1d8712: Waiting Step #1: 504c7b716e54: Pulling fs layer Step #1: 9cefa2757712: Waiting Step #1: d5a6ee2c6055: Pulling fs layer Step #1: 5da197700b3d: Pulling fs layer Step #1: 504c7b716e54: Waiting Step #1: d5a6ee2c6055: Waiting Step #1: 34ce862331f6: Pulling fs layer Step #1: 5da197700b3d: Waiting Step #1: 9859ff431d87: Pulling fs layer Step #1: 5e4160ae6b8d: Pulling fs layer Step #1: d6b2b8ceba38: Pulling fs layer Step #1: 34ce862331f6: Waiting Step #1: a98e84c730db: Pulling fs layer Step #1: 5e4160ae6b8d: Waiting Step #1: 9859ff431d87: Waiting Step #1: 110756886791: Pulling fs layer Step #1: d6b2b8ceba38: Waiting Step #1: 84ca88975d01: Pulling fs layer Step #1: a98e84c730db: Waiting Step #1: e1cbe534da93: Pulling fs layer Step #1: 110756886791: Waiting Step #1: d7f2a05063bc: Pulling fs layer Step #1: db2baaddc893: Pulling fs layer Step #1: 37586d83063c: Pulling fs layer Step #1: 618d4cdb2e86: Pulling fs layer Step #1: da476df3c135: Pulling fs layer Step #1: 7df116adf61b: Pulling fs layer Step #1: 37586d83063c: Waiting Step #1: fe0184e80bba: Pulling fs layer Step #1: 2d81f08ffdde: Pulling fs layer Step #1: e1cbe534da93: Waiting Step #1: d7f2a05063bc: Waiting Step #1: 2d81f08ffdde: Waiting Step #1: 618d4cdb2e86: Waiting Step #1: 7df116adf61b: Waiting Step #1: db2baaddc893: Waiting Step #1: fc036af1fb82: Verifying Checksum Step #1: fc036af1fb82: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 02f44cff9251: Verifying Checksum Step #1: 02f44cff9251: Download complete Step #1: 4dd984a2c4cd: Verifying Checksum Step #1: 4dd984a2c4cd: Download complete Step #1: 78eedb9c24d1: Verifying Checksum Step #1: 78eedb9c24d1: Download complete Step #1: 5a002da03f93: Verifying Checksum Step #1: 5a002da03f93: Download complete Step #1: c26cf580b400: Download complete Step #1: 68f0a05088d4: Verifying Checksum Step #1: 68f0a05088d4: Download complete Step #1: b549f31133a9: Pull complete Step #1: 09d46e9bcc80: Verifying Checksum Step #1: 09d46e9bcc80: Download complete Step #1: e868cba1bf9d: Verifying Checksum Step #1: e868cba1bf9d: Download complete Step #1: bb609e1d8712: Verifying Checksum Step #1: bb609e1d8712: Download complete Step #1: 9cefa2757712: Verifying Checksum Step #1: 9cefa2757712: Download complete Step #1: 504c7b716e54: Verifying Checksum Step #1: 504c7b716e54: Download complete Step #1: d5a6ee2c6055: Verifying Checksum Step #1: d5a6ee2c6055: Download complete Step #1: 5da197700b3d: Verifying Checksum Step #1: 5da197700b3d: Download complete Step #1: 34ce862331f6: Verifying Checksum Step #1: 34ce862331f6: Download complete Step #1: a34000951f24: Verifying Checksum Step #1: a34000951f24: Download complete Step #1: 9859ff431d87: Verifying Checksum Step #1: 9859ff431d87: Download complete Step #1: 5e4160ae6b8d: Verifying Checksum Step #1: 5e4160ae6b8d: Download complete Step #1: d6b2b8ceba38: Verifying Checksum Step #1: d6b2b8ceba38: Download complete Step #1: 110756886791: Verifying Checksum Step #1: 110756886791: Download complete Step #1: a98e84c730db: Verifying Checksum Step #1: a98e84c730db: Download complete Step #1: 84ca88975d01: Download complete Step #1: e1cbe534da93: Verifying Checksum Step #1: e1cbe534da93: Download complete Step #1: d7f2a05063bc: Verifying Checksum Step #1: d7f2a05063bc: Download complete Step #1: db2baaddc893: Download complete Step #1: 37586d83063c: Verifying Checksum Step #1: 37586d83063c: Download complete Step #1: 618d4cdb2e86: Download complete Step #1: da476df3c135: Verifying Checksum Step #1: da476df3c135: Download complete Step #1: 7df116adf61b: Verifying Checksum Step #1: 7df116adf61b: Download complete Step #1: 2d81f08ffdde: Verifying Checksum Step #1: 2d81f08ffdde: Download complete Step #1: c10ce716bc48: Verifying Checksum Step #1: c10ce716bc48: Download complete Step #1: 68f0a05088d4: Pull complete Step #1: fc036af1fb82: Pull complete Step #1: fe0184e80bba: Verifying Checksum Step #1: fe0184e80bba: Download complete Step #1: 4dd984a2c4cd: Pull complete Step #1: 02f44cff9251: Pull complete Step #1: 78eedb9c24d1: Pull complete Step #1: c10ce716bc48: Pull complete Step #1: 5a002da03f93: Pull complete Step #1: c26cf580b400: Pull complete Step #1: a34000951f24: Pull complete Step #1: 09d46e9bcc80: Pull complete Step #1: e868cba1bf9d: Pull complete Step #1: bb609e1d8712: Pull complete Step #1: 9cefa2757712: Pull complete Step #1: 504c7b716e54: Pull complete Step #1: d5a6ee2c6055: Pull complete Step #1: 5da197700b3d: Pull complete Step #1: 34ce862331f6: Pull complete Step #1: 9859ff431d87: Pull complete Step #1: 5e4160ae6b8d: Pull complete Step #1: d6b2b8ceba38: Pull complete Step #1: a98e84c730db: Pull complete Step #1: 110756886791: Pull complete Step #1: 84ca88975d01: Pull complete Step #1: e1cbe534da93: Pull complete Step #1: d7f2a05063bc: Pull complete Step #1: db2baaddc893: Pull complete Step #1: 37586d83063c: Pull complete Step #1: 618d4cdb2e86: Pull complete Step #1: da476df3c135: Pull complete Step #1: 7df116adf61b: Pull complete Step #1: fe0184e80bba: Pull complete Step #1: 2d81f08ffdde: Pull complete Step #1: Digest: sha256:c6b8306d652dad4c13851559de278863fb3f9c57299bd88a9b7743ef3d294dd8 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> 680163278829 Step #1: Step 2/4 : RUN git clone --depth 1 https://github.com/shirou/gopsutil Step #1: ---> Running in 50cefd59db79 Step #1: Cloning into 'gopsutil'... Step #1: Removing intermediate container 50cefd59db79 Step #1: ---> 8bf3af674df1 Step #1: Step 3/4 : WORKDIR $SRC/gopsutil Step #1: ---> Running in 5bfb25f14640 Step #1: Removing intermediate container 5bfb25f14640 Step #1: ---> f0aed52a2ffe Step #1: Step 4/4 : COPY build.sh fuzz_test.go $SRC/ Step #1: ---> 495640df6503 Step #1: Successfully built 495640df6503 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/fileMBGO1L 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=bf0a7e9838cf67566943ed02e2ed02b2caa0c830 Step #2 - "srcmap": + jq_inplace /tmp/fileMBGO1L '."/src/gopsutil" = { type: "git", url: "https://github.com/shirou/gopsutil", rev: "bf0a7e9838cf67566943ed02e2ed02b2caa0c830" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileucazib Step #2 - "srcmap": + cat /tmp/fileMBGO1L Step #2 - "srcmap": + jq '."/src/gopsutil" = { type: "git", url: "https://github.com/shirou/gopsutil", rev: "bf0a7e9838cf67566943ed02e2ed02b2caa0c830" }' Step #2 - "srcmap": + mv /tmp/fileucazib /tmp/fileMBGO1L 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/fileMBGO1L Step #2 - "srcmap": + rm /tmp/fileMBGO1L 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": "bf0a7e9838cf67566943ed02e2ed02b2caa0c830" 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/yusufpapurcu/wmi v1.2.4 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 golang.org/x/sys v0.20.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/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/tklauser/numcpus v0.6.1 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/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 github.com/davecgh/go-spew v1.1.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