starting build "7797e6f7-ca95-442e-8527-ae15420f660f" 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.192kB Step #1: Step 1/6 : 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: a397e481ff57: Waiting Step #1: 67ae2060248d: Pulling fs layer Step #1: 7f90ecb8e4d6: Waiting Step #1: eccb1330175b: Pulling fs layer Step #1: 20f0bfcb2bcb: Pulling fs layer Step #1: ce26b4380d46: Waiting Step #1: 0f18c7482fde: Pulling fs layer Step #1: 5dc6edc3cf5f: Waiting Step #1: 5173cde1bd66: Waiting Step #1: f931609958c7: Pulling fs layer Step #1: da35800ee821: Waiting Step #1: 7384719a7753: Pulling fs layer Step #1: 1e34e18e386e: Waiting Step #1: 8c2556f55b93: Waiting Step #1: b840ccdb7eeb: Pulling fs layer Step #1: cbffa59180b5: Pulling fs layer Step #1: bf4f02a303d8: Waiting Step #1: 3291b748342a: Pulling fs layer Step #1: bfc41af53bee: Waiting Step #1: ef31bd35b792: Pulling fs layer Step #1: 20f0bfcb2bcb: Waiting Step #1: ee19cad5d6c8: Waiting Step #1: 67ae2060248d: Waiting Step #1: e2bf934a1fde: Waiting Step #1: 43fb6ebaf28e: Waiting Step #1: b1256746ef70: Pulling fs layer Step #1: 0f18c7482fde: Waiting Step #1: ce1ee8b7110e: Pulling fs layer Step #1: f931609958c7: Waiting Step #1: fa4207b84c31: Waiting Step #1: 1bbdcbbd8481: Pulling fs layer Step #1: 7384719a7753: Waiting Step #1: b840ccdb7eeb: Waiting Step #1: 1933c895cdb1: Pulling fs layer Step #1: 90835bbe9867: Pulling fs layer Step #1: cbffa59180b5: Waiting Step #1: c9e16898e54d: Waiting Step #1: 3291b748342a: Waiting Step #1: 1933c895cdb1: Waiting Step #1: ef31bd35b792: Waiting Step #1: 1bbdcbbd8481: Waiting Step #1: b1256746ef70: Waiting Step #1: 7054a7cd5879: Verifying Checksum 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: Download complete Step #1: 5dc6edc3cf5f: Verifying Checksum Step #1: 5dc6edc3cf5f: Download complete Step #1: 8726513ee210: Verifying Checksum Step #1: 8726513ee210: Download complete Step #1: b549f31133a9: Pull complete Step #1: 1e34e18e386e: Verifying Checksum Step #1: 1e34e18e386e: Download complete Step #1: da35800ee821: Verifying Checksum Step #1: da35800ee821: Download 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: 67ae2060248d: Verifying Checksum Step #1: 67ae2060248d: Download complete Step #1: 5173cde1bd66: Verifying Checksum Step #1: 5173cde1bd66: Download complete Step #1: eccb1330175b: Verifying Checksum Step #1: eccb1330175b: Download complete Step #1: 20f0bfcb2bcb: Download complete Step #1: f931609958c7: Download complete Step #1: 0f18c7482fde: Verifying Checksum Step #1: 0f18c7482fde: Download complete Step #1: 7384719a7753: Download complete Step #1: cbffa59180b5: Verifying Checksum Step #1: cbffa59180b5: Download complete Step #1: b840ccdb7eeb: Verifying Checksum Step #1: b840ccdb7eeb: Download complete Step #1: ef31bd35b792: Verifying Checksum Step #1: ef31bd35b792: Download complete Step #1: 3291b748342a: Verifying Checksum Step #1: 3291b748342a: Download complete Step #1: ce1ee8b7110e: Verifying Checksum Step #1: ce1ee8b7110e: Download complete 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/6 : RUN apt-get update && apt-get install -y make autoconf automake libtool Step #1: ---> Running in b6e8721d6873 Step #1: Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease Step #1: Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Step #1: Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] Step #1: Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease Step #1: Fetched 128 kB in 5s (27.0 kB/s) Step #1: Reading package lists... Step #1: Reading package lists... Step #1: Building dependency tree... Step #1: Reading state information... Step #1: make is already the newest version (4.2.1-1.2). Step #1: make set to manually installed. Step #1: The following additional packages will be installed: Step #1: autotools-dev file libltdl-dev libltdl7 libmagic-mgc libmagic1 libsigsegv2 Step #1: m4 Step #1: Suggested packages: Step #1: autoconf-archive gnu-standards autoconf-doc gettext libtool-doc gfortran Step #1: | fortran95-compiler gcj-jdk m4-doc Step #1: The following NEW packages will be installed: Step #1: autoconf automake autotools-dev file libltdl-dev libltdl7 libmagic-mgc Step #1: libmagic1 libsigsegv2 libtool m4 Step #1: 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. Step #1: Need to get 1774 kB of archives. Step #1: After this operation, 12.8 MB of additional disk space will be used. Step #1: Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 libmagic-mgc amd64 1:5.38-4 [218 kB] Step #1: Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 libmagic1 amd64 1:5.38-4 [75.9 kB] Step #1: Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 file amd64 1:5.38-4 [23.3 kB] Step #1: Get:4 http://archive.ubuntu.com/ubuntu focal/main amd64 libsigsegv2 amd64 2.12-2 [13.9 kB] Step #1: Get:5 http://archive.ubuntu.com/ubuntu focal/main amd64 m4 amd64 1.4.18-4 [199 kB] Step #1: Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 autoconf all 2.69-11.1 [321 kB] Step #1: Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 autotools-dev all 20180224.1 [39.6 kB] Step #1: Get:8 http://archive.ubuntu.com/ubuntu focal/main amd64 automake all 1:1.16.1-4ubuntu6 [522 kB] Step #1: Get:9 http://archive.ubuntu.com/ubuntu focal/main amd64 libltdl7 amd64 2.4.6-14 [38.5 kB] Step #1: Get:10 http://archive.ubuntu.com/ubuntu focal/main amd64 libltdl-dev amd64 2.4.6-14 [162 kB] Step #1: Get:11 http://archive.ubuntu.com/ubuntu focal/main amd64 libtool all 2.4.6-14 [161 kB] Step #1: debconf: delaying package configuration, since apt-utils is not installed Step #1: Fetched 1774 kB in 5s (325 kB/s) Step #1: Selecting previously unselected package libmagic-mgc. Step #1: (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 17384 files and directories currently installed.) Step #1: Preparing to unpack .../00-libmagic-mgc_1%3a5.38-4_amd64.deb ... Step #1: Unpacking libmagic-mgc (1:5.38-4) ... Step #1: Selecting previously unselected package libmagic1:amd64. Step #1: Preparing to unpack .../01-libmagic1_1%3a5.38-4_amd64.deb ... Step #1: Unpacking libmagic1:amd64 (1:5.38-4) ... Step #1: Selecting previously unselected package file. Step #1: Preparing to unpack .../02-file_1%3a5.38-4_amd64.deb ... Step #1: Unpacking file (1:5.38-4) ... Step #1: Selecting previously unselected package libsigsegv2:amd64. Step #1: Preparing to unpack .../03-libsigsegv2_2.12-2_amd64.deb ... Step #1: Unpacking libsigsegv2:amd64 (2.12-2) ... Step #1: Selecting previously unselected package m4. Step #1: Preparing to unpack .../04-m4_1.4.18-4_amd64.deb ... Step #1: Unpacking m4 (1.4.18-4) ... Step #1: Selecting previously unselected package autoconf. Step #1: Preparing to unpack .../05-autoconf_2.69-11.1_all.deb ... Step #1: Unpacking autoconf (2.69-11.1) ... Step #1: Selecting previously unselected package autotools-dev. Step #1: Preparing to unpack .../06-autotools-dev_20180224.1_all.deb ... Step #1: Unpacking autotools-dev (20180224.1) ... Step #1: Selecting previously unselected package automake. Step #1: Preparing to unpack .../07-automake_1%3a1.16.1-4ubuntu6_all.deb ... Step #1: Unpacking automake (1:1.16.1-4ubuntu6) ... Step #1: Selecting previously unselected package libltdl7:amd64. Step #1: Preparing to unpack .../08-libltdl7_2.4.6-14_amd64.deb ... Step #1: Unpacking libltdl7:amd64 (2.4.6-14) ... Step #1: Selecting previously unselected package libltdl-dev:amd64. Step #1: Preparing to unpack .../09-libltdl-dev_2.4.6-14_amd64.deb ... Step #1: Unpacking libltdl-dev:amd64 (2.4.6-14) ... Step #1: Selecting previously unselected package libtool. Step #1: Preparing to unpack .../10-libtool_2.4.6-14_all.deb ... Step #1: Unpacking libtool (2.4.6-14) ... Step #1: Setting up libmagic-mgc (1:5.38-4) ... Step #1: Setting up libmagic1:amd64 (1:5.38-4) ... Step #1: Setting up file (1:5.38-4) ... Step #1: Setting up autotools-dev (20180224.1) ... Step #1: Setting up libsigsegv2:amd64 (2.12-2) ... Step #1: Setting up libltdl7:amd64 (2.4.6-14) ... Step #1: Setting up libtool (2.4.6-14) ... Step #1: Setting up m4 (1.4.18-4) ... Step #1: Setting up autoconf (2.69-11.1) ... Step #1: Setting up automake (1:1.16.1-4ubuntu6) ... Step #1: update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Step #1: update-alternatives: warning: skip creation of /usr/share/man/man1/automake.1.gz because associated file /usr/share/man/man1/automake-1.16.1.gz (of link group automake) doesn't exist Step #1: update-alternatives: warning: skip creation of /usr/share/man/man1/aclocal.1.gz because associated file /usr/share/man/man1/aclocal-1.16.1.gz (of link group automake) doesn't exist Step #1: Setting up libltdl-dev:amd64 (2.4.6-14) ... Step #1: Processing triggers for libc-bin (2.31-0ubuntu9.16) ... Step #1: Removing intermediate container b6e8721d6873 Step #1: ---> 2832cdb37110 Step #1: Step 3/6 : RUN pip3 install --upgrade pip && pip install twisted Step #1: ---> Running in a9de6c5af629 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: Collecting twisted Step #1: Downloading twisted-24.3.0-py3-none-any.whl.metadata (9.5 kB) Step #1: Collecting attrs>=21.3.0 (from twisted) Step #1: Downloading attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB) Step #1: Collecting automat>=0.8.0 (from twisted) Step #1: Downloading Automat-22.10.0-py2.py3-none-any.whl.metadata (1.0 kB) Step #1: Collecting constantly>=15.1 (from twisted) Step #1: Downloading constantly-23.10.4-py3-none-any.whl.metadata (1.8 kB) Step #1: Collecting hyperlink>=17.1.1 (from twisted) Step #1: Downloading hyperlink-21.0.0-py2.py3-none-any.whl.metadata (1.5 kB) Step #1: Collecting incremental>=22.10.0 (from twisted) Step #1: Downloading incremental-24.7.0-py3-none-any.whl.metadata (8.1 kB) Step #1: Collecting typing-extensions>=4.2.0 (from twisted) Step #1: Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB) Step #1: Collecting zope-interface>=5 (from twisted) Step #1: Downloading zope.interface-6.4.post2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (42 kB) Step #1: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.9/42.9 kB 838.1 kB/s eta 0:00:00 Step #1: Requirement already satisfied: six in /usr/local/lib/python3.8/site-packages (from automat>=0.8.0->twisted) (1.15.0) Step #1: Collecting idna>=2.5 (from hyperlink>=17.1.1->twisted) Step #1: Downloading idna-3.7-py3-none-any.whl.metadata (9.9 kB) Step #1: Collecting setuptools>=61.0 (from incremental>=22.10.0->twisted) Step #1: Downloading setuptools-71.1.0-py3-none-any.whl.metadata (6.6 kB) Step #1: Collecting tomli (from incremental>=22.10.0->twisted) Step #1: Downloading tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB) Step #1: Downloading twisted-24.3.0-py3-none-any.whl (3.2 MB) Step #1: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 15.3 MB/s eta 0:00:00 Step #1: Downloading attrs-23.2.0-py3-none-any.whl (60 kB) Step #1: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.8/60.8 kB 7.4 MB/s eta 0:00:00 Step #1: Downloading Automat-22.10.0-py2.py3-none-any.whl (26 kB) Step #1: Downloading constantly-23.10.4-py3-none-any.whl (13 kB) Step #1: Downloading hyperlink-21.0.0-py2.py3-none-any.whl (74 kB) Step #1: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.6/74.6 kB 10.3 MB/s eta 0:00:00 Step #1: Downloading incremental-24.7.0-py3-none-any.whl (19 kB) Step #1: Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB) Step #1: Downloading zope.interface-6.4.post2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (250 kB) Step #1: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 250.0/250.0 kB 30.1 MB/s eta 0:00:00 Step #1: Downloading idna-3.7-py3-none-any.whl (66 kB) Step #1: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.8/66.8 kB 9.2 MB/s eta 0:00:00 Step #1: Downloading setuptools-71.1.0-py3-none-any.whl (2.3 MB) Step #1: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 33.5 MB/s eta 0:00:00 Step #1: Downloading tomli-2.0.1-py3-none-any.whl (12 kB) Step #1: Installing collected packages: typing-extensions, tomli, setuptools, idna, constantly, attrs, zope-interface, incremental, hyperlink, automat, twisted Step #1: Attempting uninstall: setuptools Step #1: Found existing installation: setuptools 42.0.2 Step #1: Uninstalling setuptools-42.0.2: Step #1: Successfully uninstalled setuptools-42.0.2 Step #1: Successfully installed attrs-23.2.0 automat-22.10.0 constantly-23.10.4 hyperlink-21.0.0 idna-3.7 incremental-24.7.0 setuptools-71.1.0 tomli-2.0.1 twisted-24.3.0 typing-extensions-4.12.2 zope-interface-6.4.post2 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 a9de6c5af629 Step #1: ---> 6ff84608aacb Step #1: Step 4/6 : RUN git clone --depth 1 https://github.com/hynek/pem Step #1: ---> Running in 8e335c32db62 Step #1: Cloning into 'pem'... Step #1: Removing intermediate container 8e335c32db62 Step #1: ---> 4138cdb75eec Step #1: Step 5/6 : WORKDIR pem Step #1: ---> Running in 6d628cab81c2 Step #1: Removing intermediate container 6d628cab81c2 Step #1: ---> 47b068e025b0 Step #1: Step 6/6 : COPY build.sh *.py *.pem $SRC/ Step #1: ---> edb138459e64 Step #1: Successfully built edb138459e64 Step #1: Successfully tagged gcr.io/oss-fuzz/pem:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/pem Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/file9rTbYO 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/pem/.git Step #2 - "srcmap": + GIT_DIR=/src/pem Step #2 - "srcmap": + cd /src/pem Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/hynek/pem Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=e115db4b52d51df2153ea1598497508224dce268 Step #2 - "srcmap": + jq_inplace /tmp/file9rTbYO '."/src/pem" = { type: "git", url: "https://github.com/hynek/pem", rev: "e115db4b52d51df2153ea1598497508224dce268" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filePlxlSa Step #2 - "srcmap": + cat /tmp/file9rTbYO Step #2 - "srcmap": + jq '."/src/pem" = { type: "git", url: "https://github.com/hynek/pem", rev: "e115db4b52d51df2153ea1598497508224dce268" }' Step #2 - "srcmap": + mv /tmp/filePlxlSa /tmp/file9rTbYO 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/file9rTbYO Step #2 - "srcmap": + rm /tmp/file9rTbYO Step #2 - "srcmap": { Step #2 - "srcmap": "/src/pem": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/hynek/pem", Step #2 - "srcmap": "rev": "e115db4b52d51df2153ea1598497508224dce268" 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++ 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 -fno-sanitize=function,leak,vptr, 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++ -fno-sanitize=function,leak,vptr 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": + pip3 install . Step #3 - "compile-libfuzzer-address-x86_64": Processing /src/pem Step #3 - "compile-libfuzzer-address-x86_64": Installing build dependencies ... [?25l- \ | / - \ | / - \ | / done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Getting requirements to build wheel ... [?25ldone Step #3 - "compile-libfuzzer-address-x86_64": [?25h Preparing metadata (pyproject.toml) ... [?25l- done Step #3 - "compile-libfuzzer-address-x86_64": [?25hBuilding wheels for collected packages: pem Step #3 - "compile-libfuzzer-address-x86_64": Building wheel for pem (pyproject.toml) ... [?25ldone Step #3 - "compile-libfuzzer-address-x86_64": [?25h Created wheel for pem: filename=pem-0.1.dev1-py3-none-any.whl size=9156 sha256=72cf2022666a2d57f842009fdfbd8760fcbf2a877b7d65fe96cfec4d9305a851 Step #3 - "compile-libfuzzer-address-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-yw3knoyi/wheels/8c/2c/27/9d79b3e03edc140182c7ff889ef02e0f31ef6e4979e7988b33 Step #3 - "compile-libfuzzer-address-x86_64": Successfully built pem Step #3 - "compile-libfuzzer-address-x86_64": Installing collected packages: pem Step #3 - "compile-libfuzzer-address-x86_64": Successfully installed pem-0.1.dev1 Step #3 - "compile-libfuzzer-address-x86_64": 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 #3 - "compile-libfuzzer-address-x86_64": ++ find /src -name 'fuzz_*.py' Step #3 - "compile-libfuzzer-address-x86_64": + for fuzzer in $(find $SRC -name 'fuzz_*.py') Step #3 - "compile-libfuzzer-address-x86_64": + compile_python_fuzzer /src/fuzz_pem.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_path=/src/fuzz_pem.py Step #3 - "compile-libfuzzer-address-x86_64": + shift 1 Step #3 - "compile-libfuzzer-address-x86_64": ++ basename -s .py /src/fuzz_pem.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_basename=fuzz_pem Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_package=fuzz_pem.pkg Step #3 - "compile-libfuzzer-address-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_pem Step #3 - "compile-libfuzzer-address-x86_64": + [[ address = *introspector* ]] Step #3 - "compile-libfuzzer-address-x86_64": + [[ address = *coverage* ]] Step #3 - "compile-libfuzzer-address-x86_64": + [[ 0 != \0 ]] Step #3 - "compile-libfuzzer-address-x86_64": + rm -rf /src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + mkdir /src/pyfuzzworkdir/ /src/pyfuzzworkdir//fuzz_pem Step #3 - "compile-libfuzzer-address-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-address-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_pem --onefile --name fuzz_pem.pkg /src/fuzz_pem.py Step #3 - "compile-libfuzzer-address-x86_64": 94 INFO: PyInstaller: 5.0.1 Step #3 - "compile-libfuzzer-address-x86_64": 94 INFO: Python: 3.8.3 Step #3 - "compile-libfuzzer-address-x86_64": 95 INFO: Platform: Linux-5.10.0-30-cloud-amd64-x86_64-with-glibc2.2.5 Step #3 - "compile-libfuzzer-address-x86_64": 95 INFO: wrote /src/pem/fuzz_pem.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 98 INFO: UPX is not available. Step #3 - "compile-libfuzzer-address-x86_64": 99 INFO: Extending PYTHONPATH with paths Step #3 - "compile-libfuzzer-address-x86_64": ['/src'] Step #3 - "compile-libfuzzer-address-x86_64": 282 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 282 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 282 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 284 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 291 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 2353 INFO: Processing pre-find module path hook distutils from '/usr/local/lib/python3.8/site-packages/PyInstaller/hooks/pre_find_module_path/hook-distutils.py'. Step #3 - "compile-libfuzzer-address-x86_64": 2382 INFO: distutils: retargeting to non-venv dir '/usr/local/lib/python3.8' Step #3 - "compile-libfuzzer-address-x86_64": 3735 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 3858 INFO: running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 3879 INFO: Analyzing /src/fuzz_pem.py Step #3 - "compile-libfuzzer-address-x86_64": 6890 INFO: Processing module hooks... Step #3 - "compile-libfuzzer-address-x86_64": 6890 INFO: Loading module hook 'hook-atheris.py' from '/usr/local/lib/python3.8/site-packages/atheris'... Step #3 - "compile-libfuzzer-address-x86_64": 6891 INFO: Loading module hook 'hook-jaraco.text.py' from '/usr/local/lib/python3.8/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'... Step #3 - "compile-libfuzzer-address-x86_64": Traceback (most recent call last): Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/utils/hooks/__init__.py", line 390, in get_module_file_attribute Step #3 - "compile-libfuzzer-address-x86_64": filename = _get_module_file_attribute(package) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/isolated/_parent.py", line 269, in wrapped Step #3 - "compile-libfuzzer-address-x86_64": return call(function, *args, **kwargs) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/isolated/_parent.py", line 238, in call Step #3 - "compile-libfuzzer-address-x86_64": return isolated.call(function, *args, **kwargs) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/isolated/_parent.py", line 176, in call Step #3 - "compile-libfuzzer-address-x86_64": raise RuntimeError(f"Child process call to {function.__name__}() failed with:\n" + output) Step #3 - "compile-libfuzzer-address-x86_64": RuntimeError: Child process call to _get_module_file_attribute() failed with: Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/isolated/_child.py", line 63, in run_next_command Step #3 - "compile-libfuzzer-address-x86_64": output = function(*args, **kwargs) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/utils/hooks/__init__.py", line 385, in _get_module_file_attribute Step #3 - "compile-libfuzzer-address-x86_64": p = importlib.import_module(package) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module Step #3 - "compile-libfuzzer-address-x86_64": return _bootstrap._gcd_import(name[level:], package, level) Step #3 - "compile-libfuzzer-address-x86_64": File "", line 1014, in _gcd_import Step #3 - "compile-libfuzzer-address-x86_64": File "", line 991, in _find_and_load Step #3 - "compile-libfuzzer-address-x86_64": File "", line 961, in _find_and_load_unlocked Step #3 - "compile-libfuzzer-address-x86_64": File "", line 219, in _call_with_frames_removed Step #3 - "compile-libfuzzer-address-x86_64": File "", line 1014, in _gcd_import Step #3 - "compile-libfuzzer-address-x86_64": File "", line 991, in _find_and_load Step #3 - "compile-libfuzzer-address-x86_64": File "", line 973, in _find_and_load_unlocked Step #3 - "compile-libfuzzer-address-x86_64": ModuleNotFoundError: No module named 'jaraco' Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": The above exception was the direct cause of the following exception: Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": Traceback (most recent call last): Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/depend/imphook.py", line 361, in _load_hook_module Step #3 - "compile-libfuzzer-address-x86_64": self._hook_module = importlib_load_source(self.hook_module_name, self.hook_filename) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/compat.py", line 620, in importlib_load_source Step #3 - "compile-libfuzzer-address-x86_64": return mod_loader.load_module() Step #3 - "compile-libfuzzer-address-x86_64": File "", line 462, in _check_name_wrapper Step #3 - "compile-libfuzzer-address-x86_64": File "", line 962, in load_module Step #3 - "compile-libfuzzer-address-x86_64": File "", line 787, in load_module Step #3 - "compile-libfuzzer-address-x86_64": File "", line 265, in _load_module_shim Step #3 - "compile-libfuzzer-address-x86_64": File "", line 702, in _load Step #3 - "compile-libfuzzer-address-x86_64": File "", line 671, in _load_unlocked Step #3 - "compile-libfuzzer-address-x86_64": File "", line 783, in exec_module Step #3 - "compile-libfuzzer-address-x86_64": File "", line 219, in _call_with_frames_removed Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-jaraco.text.py", line 17, in Step #3 - "compile-libfuzzer-address-x86_64": datas = collect_data_files('jaraco.text') Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/utils/hooks/__init__.py", line 744, in collect_data_files Step #3 - "compile-libfuzzer-address-x86_64": pkg_base, pkg_dir = get_package_paths(package) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/utils/hooks/__init__.py", line 534, in get_package_paths Step #3 - "compile-libfuzzer-address-x86_64": file_attr = get_module_file_attribute(package) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/utils/hooks/__init__.py", line 392, in get_module_file_attribute Step #3 - "compile-libfuzzer-address-x86_64": raise ImportError(f"Failed to obtain the __file__ attribute of package/module {package}!") from e Step #3 - "compile-libfuzzer-address-x86_64": ImportError: Failed to obtain the __file__ attribute of package/module jaraco.text! Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": During handling of the above exception, another exception occurred: Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": Traceback (most recent call last): Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/bin/pyinstaller", line 10, in Step #3 - "compile-libfuzzer-address-x86_64": sys.exit(run()) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/__main__.py", line 178, in run Step #3 - "compile-libfuzzer-address-x86_64": run_build(pyi_config, spec_file, **vars(args)) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/__main__.py", line 59, in run_build Step #3 - "compile-libfuzzer-address-x86_64": PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/building/build_main.py", line 845, in main Step #3 - "compile-libfuzzer-address-x86_64": build(specfile, distpath, workpath, clean_build) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/building/build_main.py", line 767, in build Step #3 - "compile-libfuzzer-address-x86_64": exec(code, spec_namespace) Step #3 - "compile-libfuzzer-address-x86_64": File "/src/pem/fuzz_pem.pkg.spec", line 7, in Step #3 - "compile-libfuzzer-address-x86_64": a = Analysis( Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/building/build_main.py", line 319, in __init__ Step #3 - "compile-libfuzzer-address-x86_64": self.__postinit__() Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/building/datastruct.py", line 173, in __postinit__ Step #3 - "compile-libfuzzer-address-x86_64": self.assemble() Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/building/build_main.py", line 487, in assemble Step #3 - "compile-libfuzzer-address-x86_64": self.graph.process_post_graph_hooks(self) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/depend/analysis.py", line 326, in process_post_graph_hooks Step #3 - "compile-libfuzzer-address-x86_64": module_hook.post_graph(analysis) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/depend/imphook.py", line 398, in post_graph Step #3 - "compile-libfuzzer-address-x86_64": self._load_hook_module() Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/PyInstaller/depend/imphook.py", line 364, in _load_hook_module Step #3 - "compile-libfuzzer-address-x86_64": raise ImportErrorWhenRunningHook(self.hook_module_name, self.hook_filename) Step #3 - "compile-libfuzzer-address-x86_64": PyInstaller.exceptions.ImportErrorWhenRunningHook: Failed to import module __PyInstaller_hooks_0_jaraco_text required by hook for module /usr/local/lib/python3.8/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-jaraco.text.py. Please check whether module __PyInstaller_hooks_0_jaraco_text actually exists and whether the hook is compatible with your version of /usr/local/lib/python3.8/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-jaraco.text.py: You might want to read more about hooks in the manual and provide a pull-request to improve PyInstaller. 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 pem Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 pem 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