starting build "28060f9b-6f4e-449b-94b1-bc02db44abf4" 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 9.216kB Step #1: Step 1/5 : FROM gcr.io/oss-fuzz-base/base-builder-python Step #1: latest: Pulling from oss-fuzz-base/base-builder-python Step #1: b549f31133a9: Pulling fs layer Step #1: 8726513ee210: Pulling fs layer Step #1: 7054a7cd5879: Pulling fs layer Step #1: fa4207b84c31: Pulling fs layer Step #1: c9e16898e54d: Pulling fs layer Step #1: a397e481ff57: Pulling fs layer Step #1: 7f90ecb8e4d6: Pulling fs layer Step #1: ce26b4380d46: Pulling fs layer Step #1: 5dc6edc3cf5f: Pulling fs layer Step #1: 5173cde1bd66: Pulling fs layer Step #1: 1e34e18e386e: Pulling fs layer Step #1: da35800ee821: Pulling fs layer Step #1: 8c2556f55b93: Pulling fs layer Step #1: bf4f02a303d8: Pulling fs layer Step #1: bfc41af53bee: Pulling fs layer Step #1: ee19cad5d6c8: Pulling fs layer Step #1: 43fb6ebaf28e: Pulling fs layer Step #1: e2bf934a1fde: Pulling fs layer Step #1: 67ae2060248d: Pulling fs layer Step #1: fa4207b84c31: Waiting Step #1: eccb1330175b: Pulling fs layer Step #1: 7f90ecb8e4d6: Waiting Step #1: 20f0bfcb2bcb: Pulling fs layer Step #1: c9e16898e54d: Waiting Step #1: ce26b4380d46: Waiting Step #1: a397e481ff57: Waiting Step #1: 0f18c7482fde: Pulling fs layer Step #1: f931609958c7: Pulling fs layer Step #1: 7384719a7753: Pulling fs layer Step #1: 5dc6edc3cf5f: Waiting Step #1: bf4f02a303d8: Waiting Step #1: b840ccdb7eeb: Pulling fs layer Step #1: cbffa59180b5: Pulling fs layer Step #1: 5173cde1bd66: Waiting Step #1: bfc41af53bee: Waiting Step #1: 3291b748342a: Pulling fs layer Step #1: 1e34e18e386e: Waiting Step #1: ef31bd35b792: Pulling fs layer Step #1: ee19cad5d6c8: Waiting Step #1: 43fb6ebaf28e: Waiting Step #1: b1256746ef70: Pulling fs layer Step #1: f931609958c7: Waiting Step #1: ce1ee8b7110e: Pulling fs layer Step #1: 1bbdcbbd8481: Pulling fs layer Step #1: e2bf934a1fde: Waiting Step #1: 1933c895cdb1: Pulling fs layer Step #1: 90835bbe9867: Pulling fs layer Step #1: b1256746ef70: Waiting Step #1: 8c2556f55b93: Waiting Step #1: b840ccdb7eeb: Waiting Step #1: da35800ee821: Waiting Step #1: 0f18c7482fde: Waiting Step #1: cbffa59180b5: Waiting Step #1: ef31bd35b792: Waiting Step #1: 1bbdcbbd8481: Waiting Step #1: 3291b748342a: Waiting Step #1: ce1ee8b7110e: Waiting Step #1: 7054a7cd5879: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: c9e16898e54d: Verifying Checksum Step #1: c9e16898e54d: Download complete Step #1: fa4207b84c31: Verifying Checksum Step #1: fa4207b84c31: Download complete Step #1: a397e481ff57: Verifying Checksum Step #1: a397e481ff57: Download complete Step #1: ce26b4380d46: Verifying Checksum Step #1: ce26b4380d46: Download complete Step #1: 5dc6edc3cf5f: Verifying Checksum Step #1: 5dc6edc3cf5f: Download complete Step #1: 8726513ee210: Verifying Checksum Step #1: 8726513ee210: Download complete Step #1: 1e34e18e386e: Verifying Checksum Step #1: 1e34e18e386e: Download complete Step #1: da35800ee821: Verifying Checksum Step #1: da35800ee821: Download complete Step #1: b549f31133a9: Pull complete Step #1: 8c2556f55b93: Verifying Checksum Step #1: 8c2556f55b93: Download complete Step #1: bf4f02a303d8: Verifying Checksum Step #1: bf4f02a303d8: Download complete Step #1: bfc41af53bee: Verifying Checksum Step #1: bfc41af53bee: Download complete Step #1: ee19cad5d6c8: Verifying Checksum Step #1: ee19cad5d6c8: Download complete Step #1: 43fb6ebaf28e: Verifying Checksum Step #1: 43fb6ebaf28e: Download complete Step #1: e2bf934a1fde: Verifying Checksum Step #1: e2bf934a1fde: Download complete Step #1: 5173cde1bd66: Verifying Checksum Step #1: 5173cde1bd66: Download complete Step #1: 67ae2060248d: Verifying Checksum Step #1: 67ae2060248d: Download complete Step #1: eccb1330175b: Verifying Checksum Step #1: eccb1330175b: Download complete Step #1: 20f0bfcb2bcb: Download complete Step #1: f931609958c7: Verifying Checksum Step #1: f931609958c7: Download complete Step #1: 7384719a7753: Download complete Step #1: 0f18c7482fde: Verifying Checksum Step #1: 0f18c7482fde: Download complete Step #1: b840ccdb7eeb: Verifying Checksum Step #1: b840ccdb7eeb: Download complete Step #1: cbffa59180b5: Verifying Checksum Step #1: cbffa59180b5: Download complete Step #1: 3291b748342a: Verifying Checksum Step #1: 3291b748342a: Download complete Step #1: ef31bd35b792: Verifying Checksum Step #1: ef31bd35b792: Download complete Step #1: ce1ee8b7110e: Download complete Step #1: 1bbdcbbd8481: Verifying Checksum Step #1: 1bbdcbbd8481: Download complete Step #1: b1256746ef70: Verifying Checksum Step #1: b1256746ef70: Download complete Step #1: 1933c895cdb1: Verifying Checksum Step #1: 1933c895cdb1: Download complete Step #1: 7f90ecb8e4d6: Verifying Checksum Step #1: 7f90ecb8e4d6: Download complete Step #1: 90835bbe9867: Verifying Checksum Step #1: 90835bbe9867: Download complete Step #1: 8726513ee210: Pull complete Step #1: 7054a7cd5879: Pull complete Step #1: fa4207b84c31: Pull complete Step #1: c9e16898e54d: Pull complete Step #1: a397e481ff57: Pull complete Step #1: 7f90ecb8e4d6: Pull complete Step #1: ce26b4380d46: Pull complete Step #1: 5dc6edc3cf5f: Pull complete Step #1: 5173cde1bd66: Pull complete Step #1: 1e34e18e386e: Pull complete Step #1: da35800ee821: Pull complete Step #1: 8c2556f55b93: Pull complete Step #1: bf4f02a303d8: Pull complete Step #1: bfc41af53bee: Pull complete Step #1: ee19cad5d6c8: Pull complete Step #1: 43fb6ebaf28e: Pull complete Step #1: e2bf934a1fde: Pull complete Step #1: 67ae2060248d: Pull complete Step #1: eccb1330175b: Pull complete Step #1: 20f0bfcb2bcb: Pull complete Step #1: 0f18c7482fde: Pull complete Step #1: f931609958c7: Pull complete Step #1: 7384719a7753: Pull complete Step #1: b840ccdb7eeb: Pull complete Step #1: cbffa59180b5: Pull complete Step #1: 3291b748342a: Pull complete Step #1: ef31bd35b792: Pull complete Step #1: b1256746ef70: Pull complete Step #1: ce1ee8b7110e: Pull complete Step #1: 1bbdcbbd8481: Pull complete Step #1: 1933c895cdb1: Pull complete Step #1: 90835bbe9867: Pull complete Step #1: Digest: sha256:5848c0f46065c033fcafc3df186a27fd60f314a645d7aa6469905af9da98f94b Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> 501e35d6ccf4 Step #1: Step 2/5 : RUN pip3 install --upgrade pip Step #1: ---> Running in 8a5ccf4bc21a Step #1: Collecting pip Step #1: Downloading https://files.pythonhosted.org/packages/e7/54/0c1c068542cee73d8863336e974fc881e608d0170f3af15d0c0f28644531/pip-24.1.2-py3-none-any.whl (1.8MB) Step #1: Installing collected packages: pip Step #1: Found existing installation: pip 19.2.3 Step #1: Uninstalling pip-19.2.3: Step #1: Successfully uninstalled pip-19.2.3 Step #1: Successfully installed pip-24.1.2 Step #1: Removing intermediate container 8a5ccf4bc21a Step #1: ---> deb7277612cc Step #1: Step 3/5 : RUN git clone --depth=1 https://github.com/pydantic/pydantic pydantic Step #1: ---> Running in 3524a689e8eb Step #1: Cloning into 'pydantic'... Step #1: Removing intermediate container 3524a689e8eb Step #1: ---> 1fae911b351c Step #1: Step 4/5 : COPY *.sh *py $SRC/ Step #1: ---> 5a84fc28ed05 Step #1: Step 5/5 : WORKDIR $SRC/pydantic Step #1: ---> Running in f59cd0bd2bc4 Step #1: Removing intermediate container f59cd0bd2bc4 Step #1: ---> f6e98bec2ac0 Step #1: Successfully built f6e98bec2ac0 Step #1: Successfully tagged gcr.io/oss-fuzz/pydantic:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/pydantic Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileO0F2PP Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ python == \g\o ]] Step #2 - "srcmap": ++ find /src -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/pydantic/.git Step #2 - "srcmap": + GIT_DIR=/src/pydantic Step #2 - "srcmap": + cd /src/pydantic Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/pydantic/pydantic Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=cfe663550fb06203ff8b53e0228de7363fa5b7c3 Step #2 - "srcmap": + jq_inplace /tmp/fileO0F2PP '."/src/pydantic" = { type: "git", url: "https://github.com/pydantic/pydantic", rev: "cfe663550fb06203ff8b53e0228de7363fa5b7c3" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filecomVgc Step #2 - "srcmap": + cat /tmp/fileO0F2PP Step #2 - "srcmap": + jq '."/src/pydantic" = { type: "git", url: "https://github.com/pydantic/pydantic", rev: "cfe663550fb06203ff8b53e0228de7363fa5b7c3" }' Step #2 - "srcmap": + mv /tmp/filecomVgc /tmp/fileO0F2PP Step #2 - "srcmap": ++ find /src -name .svn -type d Step #2 - "srcmap": ++ find /src -name .hg -type d Step #2 - "srcmap": + '[' '' '!=' '' ']' Step #2 - "srcmap": + cat /tmp/fileO0F2PP Step #2 - "srcmap": + rm /tmp/fileO0F2PP Step #2 - "srcmap": { Step #2 - "srcmap": "/src/pydantic": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/pydantic/pydantic", Step #2 - "srcmap": "rev": "cfe663550fb06203ff8b53e0228de7363fa5b7c3" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-coverage-x86_64" Step #3 - "compile-libfuzzer-coverage-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-coverage-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": CC=clang Step #3 - "compile-libfuzzer-coverage-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-coverage-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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -fno-sanitize=function,leak,vptr, Step #3 - "compile-libfuzzer-coverage-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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -stdlib=libc++ -fno-sanitize=function,leak,vptr Step #3 - "compile-libfuzzer-coverage-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers -Cinstrument-coverage -C link-arg=-lc++ Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": + ln -s /usr/local/bin/python3 /usr/local/bin/python Step #3 - "compile-libfuzzer-coverage-x86_64": + sed -i 's/__version__/compiled="hack"\n__version__/g' pydantic/__init__.py Step #3 - "compile-libfuzzer-coverage-x86_64": + make install Step #3 - "compile-libfuzzer-coverage-x86_64": /bin/sh: 1: pdm: not found Step #3 - "compile-libfuzzer-coverage-x86_64": Please install PDM: https://pdm.fming.dev/latest/#installation Step #3 - "compile-libfuzzer-coverage-x86_64": /bin/sh: 1: pre-commit: not found Step #3 - "compile-libfuzzer-coverage-x86_64": Please install pre-commit: https://pre-commit.com/ Step #3 - "compile-libfuzzer-coverage-x86_64": pdm info Step #3 - "compile-libfuzzer-coverage-x86_64": make: pdm: Command not found Step #3 - "compile-libfuzzer-coverage-x86_64": make: *** [Makefile:14: install] Error 127 Step #3 - "compile-libfuzzer-coverage-x86_64": ******************************************************************************** Step #3 - "compile-libfuzzer-coverage-x86_64": Failed to build. Step #3 - "compile-libfuzzer-coverage-x86_64": To reproduce, run: Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_image pydantic Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_fuzzers --sanitizer coverage --engine libfuzzer --architecture x86_64 pydantic Step #3 - "compile-libfuzzer-coverage-x86_64": ******************************************************************************** Finished Step #3 - "compile-libfuzzer-coverage-x86_64" ERROR ERROR: build step 3 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1