starting build "0e030b09-9dc6-46fc-88c3-9ea95a836411" 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 8.704kB Step #1: Step 1/7 : 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: 160496dfdc1e: Pulling fs layer Step #1: e2c1e6ffb55e: Pulling fs layer Step #1: 790f0b60d601: Pulling fs layer Step #1: ba5377523637: Pulling fs layer Step #1: fcf19af99e9b: Pulling fs layer Step #1: c120616e8611: Pulling fs layer Step #1: 648979ff9271: Pulling fs layer Step #1: 38b58f40b986: Pulling fs layer Step #1: 6fec27639895: Pulling fs layer Step #1: 6311c17bee61: Pulling fs layer Step #1: 63cd1cde0eec: Pulling fs layer Step #1: 1ef02760f71f: Pulling fs layer Step #1: fda5a71c8862: Pulling fs layer Step #1: 7ad2f7c615a2: Pulling fs layer Step #1: 0b07407e6342: Pulling fs layer Step #1: fbed995eca46: Pulling fs layer Step #1: 4381c7f8884c: Pulling fs layer Step #1: bd3393df7542: Pulling fs layer Step #1: f8afaf16f210: Pulling fs layer Step #1: 086216b75b6f: Pulling fs layer Step #1: ebb3d4059a93: Pulling fs layer Step #1: 1cb7b39b268b: Pulling fs layer Step #1: fd1f752e3c9f: Pulling fs layer Step #1: 84db406b755d: Pulling fs layer Step #1: 3968f7202bef: Pulling fs layer Step #1: c120616e8611: Waiting Step #1: 6311c17bee61: Waiting Step #1: 37c0a55501a4: Pulling fs layer Step #1: 648979ff9271: Waiting Step #1: 6fec27639895: Waiting Step #1: fddacf1580ff: Pulling fs layer Step #1: 38b58f40b986: Waiting Step #1: 3c790d5687e6: Pulling fs layer Step #1: fda5a71c8862: Waiting Step #1: ebb3d4059a93: Waiting Step #1: 790f0b60d601: Waiting Step #1: 63cd1cde0eec: Waiting Step #1: 0fcda4deea49: Pulling fs layer Step #1: 1cb7b39b268b: Waiting Step #1: cfc1aaab3799: Pulling fs layer Step #1: ba5377523637: Waiting Step #1: 5764b068ae0e: Pulling fs layer Step #1: 8f040e5204f2: Pulling fs layer Step #1: 1ef02760f71f: Waiting Step #1: fcf19af99e9b: Waiting Step #1: 086216b75b6f: Waiting Step #1: 0b07407e6342: Waiting Step #1: fddacf1580ff: Waiting Step #1: 3968f7202bef: Waiting Step #1: 3c790d5687e6: Waiting Step #1: 37c0a55501a4: Waiting Step #1: bd3393df7542: Waiting Step #1: 0fcda4deea49: Waiting Step #1: 5764b068ae0e: Waiting Step #1: 4381c7f8884c: Waiting Step #1: 7ad2f7c615a2: Waiting Step #1: fbed995eca46: Waiting Step #1: e2c1e6ffb55e: Verifying Checksum Step #1: e2c1e6ffb55e: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: ba5377523637: Verifying Checksum Step #1: ba5377523637: Download complete Step #1: 790f0b60d601: Verifying Checksum Step #1: 790f0b60d601: Download complete Step #1: fcf19af99e9b: Download complete Step #1: 648979ff9271: Verifying Checksum Step #1: 648979ff9271: Download complete Step #1: 160496dfdc1e: Verifying Checksum Step #1: 160496dfdc1e: Download complete Step #1: 38b58f40b986: Verifying Checksum Step #1: 38b58f40b986: Download complete Step #1: b549f31133a9: Pull complete Step #1: 6311c17bee61: Verifying Checksum Step #1: 6311c17bee61: Download complete Step #1: 63cd1cde0eec: Verifying Checksum Step #1: 63cd1cde0eec: Download complete Step #1: 1ef02760f71f: Verifying Checksum Step #1: 1ef02760f71f: Download complete Step #1: fda5a71c8862: Verifying Checksum Step #1: fda5a71c8862: Download complete Step #1: 7ad2f7c615a2: Download complete Step #1: 0b07407e6342: Verifying Checksum Step #1: 0b07407e6342: Download complete Step #1: fbed995eca46: Verifying Checksum Step #1: fbed995eca46: Download complete Step #1: 4381c7f8884c: Download complete Step #1: bd3393df7542: Verifying Checksum Step #1: bd3393df7542: Download complete Step #1: 6fec27639895: Verifying Checksum Step #1: 6fec27639895: Download complete Step #1: f8afaf16f210: Verifying Checksum Step #1: f8afaf16f210: Download complete Step #1: 086216b75b6f: Verifying Checksum Step #1: 086216b75b6f: Download complete Step #1: c120616e8611: Verifying Checksum Step #1: c120616e8611: Download complete Step #1: 1cb7b39b268b: Verifying Checksum Step #1: 1cb7b39b268b: Download complete Step #1: ebb3d4059a93: Verifying Checksum Step #1: ebb3d4059a93: Download complete Step #1: fd1f752e3c9f: Verifying Checksum Step #1: fd1f752e3c9f: Download complete Step #1: 84db406b755d: Verifying Checksum Step #1: 84db406b755d: Download complete Step #1: 3968f7202bef: Verifying Checksum Step #1: 3968f7202bef: Download complete Step #1: 37c0a55501a4: Verifying Checksum Step #1: 37c0a55501a4: Download complete Step #1: fddacf1580ff: Verifying Checksum Step #1: fddacf1580ff: Download complete Step #1: 3c790d5687e6: Verifying Checksum Step #1: 3c790d5687e6: Download complete Step #1: 0fcda4deea49: Download complete Step #1: 160496dfdc1e: Pull complete Step #1: cfc1aaab3799: Verifying Checksum Step #1: cfc1aaab3799: Download complete Step #1: e2c1e6ffb55e: Pull complete Step #1: 5764b068ae0e: Verifying Checksum Step #1: 5764b068ae0e: Download complete Step #1: 8f040e5204f2: Verifying Checksum Step #1: 8f040e5204f2: Download complete Step #1: 790f0b60d601: Pull complete Step #1: ba5377523637: Pull complete Step #1: fcf19af99e9b: Pull complete Step #1: c120616e8611: Pull complete Step #1: 648979ff9271: Pull complete Step #1: 38b58f40b986: Pull complete Step #1: 6fec27639895: Pull complete Step #1: 6311c17bee61: Pull complete Step #1: 63cd1cde0eec: Pull complete Step #1: 1ef02760f71f: Pull complete Step #1: fda5a71c8862: Pull complete Step #1: 7ad2f7c615a2: Pull complete Step #1: 0b07407e6342: Pull complete Step #1: fbed995eca46: Pull complete Step #1: 4381c7f8884c: Pull complete Step #1: bd3393df7542: Pull complete Step #1: f8afaf16f210: Pull complete Step #1: 086216b75b6f: Pull complete Step #1: ebb3d4059a93: Pull complete Step #1: 1cb7b39b268b: Pull complete Step #1: fd1f752e3c9f: Pull complete Step #1: 84db406b755d: Pull complete Step #1: 3968f7202bef: Pull complete Step #1: 37c0a55501a4: Pull complete Step #1: fddacf1580ff: Pull complete Step #1: 3c790d5687e6: Pull complete Step #1: 0fcda4deea49: Pull complete Step #1: cfc1aaab3799: Pull complete Step #1: 5764b068ae0e: Pull complete Step #1: 8f040e5204f2: Pull complete Step #1: Digest: sha256:437ef4d9f60c4eb6d8f0d941a2babcaf990bcf778647179e6eb31fb599c265fb Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> 32358ee18a2e Step #1: Step 2/7 : RUN git clone --depth 1 --single-branch https://github.com/pypa/setuptools setuptools Step #1: ---> Running in 59ca40a066e3 Step #1: Cloning into 'setuptools'... Step #1: Removing intermediate container 59ca40a066e3 Step #1: ---> 65d21e482d1f Step #1: Step 3/7 : RUN git clone --depth 1 --single-branch https://github.com/pypa/distutils distutils Step #1: ---> Running in 1e24e10d79e2 Step #1: Cloning into 'distutils'... Step #1: Removing intermediate container 1e24e10d79e2 Step #1: ---> be98f8df212b Step #1: Step 4/7 : RUN python3 -m pip install --upgrade pip && python3 -m pip install 'pyinstaller==6.10.0' tomli tomli-w railroad-diagrams pyparsing jinja2 Step #1: ---> Running in b634301beed2 Step #1: Collecting pip Step #1: Downloading https://files.pythonhosted.org/packages/ef/7d/500c9ad20238fcfcb4cb9243eede163594d7020ce87bd9610c9e02771876/pip-24.3.1-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.3.1 Step #1: Collecting pyinstaller==6.10.0 Step #1: Downloading pyinstaller-6.10.0-py3-none-manylinux2014_x86_64.whl.metadata (8.3 kB) Step #1: Collecting tomli Step #1: Downloading tomli-2.0.2-py3-none-any.whl.metadata (10.0 kB) Step #1: Collecting tomli-w Step #1: Downloading tomli_w-1.0.0-py3-none-any.whl.metadata (4.9 kB) Step #1: Collecting railroad-diagrams Step #1: Downloading railroad_diagrams-3.0.1-py3-none-any.whl.metadata (11 kB) Step #1: Collecting pyparsing Step #1: Downloading pyparsing-3.1.4-py3-none-any.whl.metadata (5.1 kB) Step #1: Collecting jinja2 Step #1: Downloading jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB) Step #1: Requirement already satisfied: setuptools>=42.0.0 in /usr/local/lib/python3.8/site-packages (from pyinstaller==6.10.0) (42.0.2) Step #1: Requirement already satisfied: altgraph in /usr/local/lib/python3.8/site-packages (from pyinstaller==6.10.0) (0.17.4) Step #1: Requirement already satisfied: pyinstaller-hooks-contrib>=2024.8 in /usr/local/lib/python3.8/site-packages (from pyinstaller==6.10.0) (2024.9) Step #1: Requirement already satisfied: packaging>=22.0 in /usr/local/lib/python3.8/site-packages (from pyinstaller==6.10.0) (24.1) Step #1: Requirement already satisfied: importlib-metadata>=4.6 in /usr/local/lib/python3.8/site-packages (from pyinstaller==6.10.0) (8.5.0) Step #1: Collecting MarkupSafe>=2.0 (from jinja2) Step #1: Downloading MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB) Step #1: Requirement already satisfied: zipp>=3.20 in /usr/local/lib/python3.8/site-packages (from importlib-metadata>=4.6->pyinstaller==6.10.0) (3.20.2) Step #1: Downloading pyinstaller-6.10.0-py3-none-manylinux2014_x86_64.whl (703 kB) Step #1: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 703.3/703.3 kB 16.6 MB/s eta 0:00:00 Step #1: Downloading tomli-2.0.2-py3-none-any.whl (13 kB) Step #1: Downloading tomli_w-1.0.0-py3-none-any.whl (6.0 kB) Step #1: Downloading railroad_diagrams-3.0.1-py3-none-any.whl (15 kB) Step #1: Downloading pyparsing-3.1.4-py3-none-any.whl (104 kB) Step #1: Downloading jinja2-3.1.4-py3-none-any.whl (133 kB) Step #1: Downloading MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26 kB) Step #1: Installing collected packages: tomli-w, tomli, railroad-diagrams, pyparsing, MarkupSafe, jinja2, pyinstaller Step #1: Attempting uninstall: pyinstaller Step #1: Found existing installation: pyinstaller 5.0.1 Step #1: Uninstalling pyinstaller-5.0.1: Step #1: Successfully uninstalled pyinstaller-5.0.1 Step #1: Successfully installed MarkupSafe-2.1.5 jinja2-3.1.4 pyinstaller-6.10.0 pyparsing-3.1.4 railroad-diagrams-3.0.1 tomli-2.0.2 tomli-w-1.0.0 Step #1: WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. Step #1: Removing intermediate container b634301beed2 Step #1: ---> b77b36d898f9 Step #1: Step 5/7 : RUN urls="https://raw.githubusercontent.com/google/fuzzing/master/dictionaries/utf8.dict https://raw.githubusercontent.com/google/fuzzing/master/dictionaries/toml.dict" && target_file="$SRC/__base.dict" && echo $urls | xargs -n 1 wget -qO- >> $target_file Step #1: ---> Running in e5185e7df768 Step #1: Removing intermediate container e5185e7df768 Step #1: ---> bdd8dfcfb18c Step #1: Step 6/7 : COPY *.sh *py $SRC/ Step #1: ---> 3b5fb90aa1d9 Step #1: Step 7/7 : WORKDIR $SRC/setuptools Step #1: ---> Running in 64f56583bab1 Step #1: Removing intermediate container 64f56583bab1 Step #1: ---> 1c333d9f26e5 Step #1: Successfully built 1c333d9f26e5 Step #1: Successfully tagged gcr.io/oss-fuzz/setuptools:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/setuptools Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/filef07WlP 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/distutils/.git Step #2 - "srcmap": + GIT_DIR=/src/distutils Step #2 - "srcmap": + cd /src/distutils Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/pypa/distutils Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=5cc830465867ac5331114d8eb82ce79e756d901e Step #2 - "srcmap": + jq_inplace /tmp/filef07WlP '."/src/distutils" = { type: "git", url: "https://github.com/pypa/distutils", rev: "5cc830465867ac5331114d8eb82ce79e756d901e" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileIifBqa Step #2 - "srcmap": + cat /tmp/filef07WlP Step #2 - "srcmap": + jq '."/src/distutils" = { type: "git", url: "https://github.com/pypa/distutils", rev: "5cc830465867ac5331114d8eb82ce79e756d901e" }' Step #2 - "srcmap": + mv /tmp/fileIifBqa /tmp/filef07WlP Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/setuptools/.git Step #2 - "srcmap": + GIT_DIR=/src/setuptools Step #2 - "srcmap": + cd /src/setuptools Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/pypa/setuptools Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=e47994c81ce3e97502f761bdef60b20fe72bf02a Step #2 - "srcmap": + jq_inplace /tmp/filef07WlP '."/src/setuptools" = { type: "git", url: "https://github.com/pypa/setuptools", rev: "e47994c81ce3e97502f761bdef60b20fe72bf02a" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filezSPvFH Step #2 - "srcmap": + cat /tmp/filef07WlP Step #2 - "srcmap": + jq '."/src/setuptools" = { type: "git", url: "https://github.com/pypa/setuptools", rev: "e47994c81ce3e97502f761bdef60b20fe72bf02a" }' Step #2 - "srcmap": + mv /tmp/filezSPvFH /tmp/filef07WlP 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/filef07WlP Step #2 - "srcmap": + rm /tmp/filef07WlP Step #2 - "srcmap": { Step #2 - "srcmap": "/src/distutils": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/pypa/distutils", Step #2 - "srcmap": "rev": "5cc830465867ac5331114d8eb82ce79e756d901e" Step #2 - "srcmap": }, Step #2 - "srcmap": "/src/setuptools": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/pypa/setuptools", Step #2 - "srcmap": "rev": "e47994c81ce3e97502f761bdef60b20fe72bf02a" 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 -Wno-error=vla-cxx-extension -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 -Wno-error=vla-cxx-extension -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": + sed -i 's/def do_override():/def do_override():\n return True\n\ndef do_override2():/g' _distutils_hack/__init__.py Step #3 - "compile-libfuzzer-coverage-x86_64": + pushd /src/distutils Step #3 - "compile-libfuzzer-coverage-x86_64": /src/distutils /src/setuptools Step #3 - "compile-libfuzzer-coverage-x86_64": + pip3 install . Step #3 - "compile-libfuzzer-coverage-x86_64": Processing /src/distutils Step #3 - "compile-libfuzzer-coverage-x86_64": Installing build dependencies ... [?25l- \ | / - done Step #3 - "compile-libfuzzer-coverage-x86_64": [?25h Getting requirements to build wheel ... [?25l- done Step #3 - "compile-libfuzzer-coverage-x86_64": [?25h Preparing metadata (pyproject.toml) ... [?25l- done Step #3 - "compile-libfuzzer-coverage-x86_64": [?25hRequirement already satisfied: packaging in /usr/local/lib/python3.8/site-packages (from distutils==0.1.dev1+g5cc8304) (24.1) Step #3 - "compile-libfuzzer-coverage-x86_64": Collecting jaraco.functools (from distutils==0.1.dev1+g5cc8304) Step #3 - "compile-libfuzzer-coverage-x86_64": Downloading jaraco.functools-4.1.0-py3-none-any.whl.metadata (2.9 kB) Step #3 - "compile-libfuzzer-coverage-x86_64": Collecting more-itertools (from distutils==0.1.dev1+g5cc8304) Step #3 - "compile-libfuzzer-coverage-x86_64": Downloading more_itertools-10.5.0-py3-none-any.whl.metadata (36 kB) Step #3 - "compile-libfuzzer-coverage-x86_64": Collecting jaraco.collections (from distutils==0.1.dev1+g5cc8304) Step #3 - "compile-libfuzzer-coverage-x86_64": Downloading jaraco.collections-5.1.0-py3-none-any.whl.metadata (3.9 kB) Step #3 - "compile-libfuzzer-coverage-x86_64": INFO: pip is looking at multiple versions of distutils to determine which version is compatible with other requirements. This could take a while. Step #3 - "compile-libfuzzer-coverage-x86_64": ERROR: Package 'distutils' requires a different Python: 3.8.3 not in '>=3.9' 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 setuptools Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_fuzzers --sanitizer coverage --engine libfuzzer --architecture x86_64 setuptools 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