==> Building on c ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-pikepdf ./ PKGBUILD 1,168 100% 0.00kB/s 0:00:00 1,168 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) python-pikepdf-6.2.2-1.log 242 100% 236.33kB/s 0:00:00 242 100% 236.33kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 989 bytes received 103 bytes 436.80 bytes/sec total size is 1,356 speedup is 1.24 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix16 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix16]...done ==> Making package: python-pikepdf 6.2.2-1 (Tue Nov 8 20:16:05 2022) ==> Retrieving sources...  -> Downloading pikepdf-6.2.2.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 122 100 122 0 0 3187 0 --:--:-- --:--:-- --:--:-- 3210 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 274 100 274 0 0 1432 0 --:--:-- --:--:-- --:--:-- 267k 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2846k 100 2846k 0 0 7136k 0 --:--:-- --:--:-- --:--:-- 7136k ==> Validating source files with sha256sums... pikepdf-6.2.2.tar.gz ... Passed ==> Making package: python-pikepdf 6.2.2-1 (Tue Nov 8 20:16:32 2022) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... warning: dependency cycle detected: warning: harfbuzz will be installed before its freetype2 dependency Package (25) New Version Net Change Download Size extra/freetype2 2.12.1-1 1.47 MiB extra/fribidi 1.0.12-1 0.20 MiB extra/graphite 1:1.3.14-2 0.63 MiB extra/harfbuzz 5.3.1-3 5.57 MiB extra/lcms2 2.14-1 0.58 MiB community/libimagequant 4.0.4-1 0.53 MiB extra/libjpeg-turbo 2.1.4-2 1.38 MiB core/libnsl 2.0.0-2 0.06 MiB extra/libpng 1.6.38-1 0.50 MiB extra/libraqm 0.9.0-1 0.14 MiB extra/libtiff 4.4.0-4 2.64 MiB extra/libxau 1.0.10-1 0.02 MiB extra/libxcb 1.15-1 3.59 MiB extra/libxdmcp 1.1.3-4 0.12 MiB extra/libxslt 1.1.37-2 0.66 MiB extra/openjpeg2 2.5.0-1 13.25 MiB core/python 3.10.8-2 81.32 MiB extra/python-pyparsing 3.0.9-1 0.96 MiB extra/xcb-proto 1.15.2-1 0.84 MiB community/python-deprecation 2.1.0-6 0.03 MiB 0.01 MiB extra/python-lxml 4.9.1-1 3.41 MiB extra/python-packaging 21.3-1 0.26 MiB community/python-pillow 9.3.0-1 2.92 MiB community/python-typing_extensions 4.4.0-1 0.22 MiB extra/qpdf 11.1.1-2 2.49 MiB 0.83 MiB Total Download Size: 0.85 MiB Total Installed Size: 123.80 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... qpdf-11.1.1-2-riscv64 downloading... python-deprecation-2.1.0-6-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnsl... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing libxslt... Optional dependencies for libxslt python: Python bindings [installed] installing python-lxml... Optional dependencies for python-lxml python-beautifulsoup4: support for beautifulsoup parser to parse not well formed HTML python-cssselect: support for cssselect python-html5lib: support for html5lib parser python-lxml-docs: offline docs installing libpng... installing graphite... installing harfbuzz... Optional dependencies for harfbuzz cairo: hb-view program chafa: hb-view program installing freetype2... installing libjpeg-turbo... Optional dependencies for libjpeg-turbo java-runtime>11: for TurboJPEG Java wrapper installing libtiff... Optional dependencies for libtiff freeglut: for using tiffgt installing lcms2... installing fribidi... installing libraqm... installing openjpeg2... installing libimagequant... installing xcb-proto... installing libxdmcp... installing libxau... installing libxcb... installing python-pillow... Optional dependencies for python-pillow libwebp: for webp images tk: for the ImageTK module python-olefile: OLE2 file support python-pyqt5: for the ImageQt module installing python-deprecation... installing python-typing_extensions... installing python-pyparsing... Optional dependencies for python-pyparsing python-railroad-diagrams: for generating Railroad Diagrams python-jinja: for generating Railroad Diagrams installing python-packaging... installing qpdf... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (31) New Version Net Change community/cython 0.29.32-2 7.52 MiB extra/python-appdirs 1.4.4-7 0.07 MiB extra/python-attrs 22.1.0-1 0.43 MiB community/python-autocommand 2.2.1-1 0.07 MiB community/python-exceptiongroup 1.0.1-1 0.08 MiB community/python-execnet 1.9.0-4 0.31 MiB community/python-inflect 6.0.2-1 0.28 MiB community/python-iniconfig 1.1.1-5 0.02 MiB community/python-jaraco.context 4.1.2-1 0.02 MiB community/python-jaraco.functools 3.5.2-1 0.05 MiB community/python-jaraco.text 3.10.0-1 0.07 MiB community/python-more-itertools 9.0.0-1 0.49 MiB extra/python-ordered-set 4.1.0-1 0.06 MiB extra/python-pep517 0.13.0-1 0.13 MiB community/python-pluggy 1.0.0-1 0.10 MiB community/python-pydantic 1.10.2-1 5.79 MiB community/python-pytest 7.2.0-3 2.79 MiB extra/python-setuptools 1:64.0.2-1 3.41 MiB community/python-sortedcontainers 2.4.0-3 0.33 MiB extra/python-tomli 2.0.1-1 0.08 MiB extra/python-trove-classifiers 2022.10.19-1 0.11 MiB extra/python-validate-pyproject 0.10.1-1 0.41 MiB community/pybind11 2.10.1-1 0.80 MiB community/python-build 0.9.0-1 1.06 MiB community/python-hypothesis 6.54.4-2 2.83 MiB community/python-installer 0.5.1-1 1.13 MiB community/python-psutil 5.9.3-1 2.09 MiB community/python-pytest-xdist 3.0.2-1 0.29 MiB community/python-setuptools-scm 7.0.5-1 0.26 MiB community/python-toml 0.10.2-8 0.14 MiB community/python-wheel 0.38.0-1 0.15 MiB Total Installed Size: 31.36 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing pybind11... Optional dependencies for pybind11 python: for python bindings [installed] installing python-tomli... installing python-pep517... installing python-build... Optional dependencies for python-build python-virtualenv: Use virtualenv for build isolation installing python-installer... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures installing python-toml... installing python-appdirs... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing cython... installing python-pydantic... Optional dependencies for python-pydantic python-dotenv: for .env file support python-email-validator: for email validation installing python-inflect... installing python-jaraco.text... installing python-ordered-set... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-setuptools-scm... installing python-execnet... installing python-attrs... installing python-exceptiongroup... installing python-iniconfig... installing python-pluggy... installing python-pytest... installing python-pytest-xdist... installing python-sortedcontainers... installing python-hypothesis... Optional dependencies for python-hypothesis python-pytz: for datetime and django module python-faker: for fakefactory and django module python-django: for django module python-numpy: for numpy module python-pytest: for pytest module [installed] python-lark-parser: for lark module python-libcst: for codemods module installing python-psutil... [?25h==> Retrieving sources...  -> Found pikepdf-6.2.2.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting pikepdf-6.2.2.tar.gz with bsdtar ==> Starting build()... * Getting build dependencies for wheel... /usr/lib/python3.10/site-packages/setuptools_scm/git.py:284: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.10/site-packages/setuptools_scm/git.py:301: UserWarning: unexported git archival found warnings.warn("unexported git archival found") running egg_info writing src/pikepdf.egg-info/PKG-INFO writing dependency_links to src/pikepdf.egg-info/dependency_links.txt writing requirements to src/pikepdf.egg-info/requires.txt writing top-level names to src/pikepdf.egg-info/top_level.txt reading manifest file 'src/pikepdf.egg-info/SOURCES.txt' adding license file 'LICENSE.txt' adding license file 'licenses-for-wheels.txt' writing manifest file 'src/pikepdf.egg-info/SOURCES.txt' * Building wheel... /usr/lib/python3.10/site-packages/setuptools_scm/git.py:284: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.10/site-packages/setuptools_scm/git.py:301: UserWarning: unexported git archival found warnings.warn("unexported git archival found") running bdist_wheel running build running build_py creating build creating build/lib.linux-riscv64-cpython-310 creating build/lib.linux-riscv64-cpython-310/pikepdf copying src/pikepdf/__init__.py -> build/lib.linux-riscv64-cpython-310/pikepdf copying src/pikepdf/_augments.py -> build/lib.linux-riscv64-cpython-310/pikepdf copying src/pikepdf/_cpphelpers.py -> build/lib.linux-riscv64-cpython-310/pikepdf copying src/pikepdf/_exceptions.py -> build/lib.linux-riscv64-cpython-310/pikepdf copying src/pikepdf/_methods.py -> build/lib.linux-riscv64-cpython-310/pikepdf copying src/pikepdf/_version.py -> build/lib.linux-riscv64-cpython-310/pikepdf copying src/pikepdf/_xml.py -> build/lib.linux-riscv64-cpython-310/pikepdf copying src/pikepdf/codec.py -> build/lib.linux-riscv64-cpython-310/pikepdf copying src/pikepdf/jbig2.py -> build/lib.linux-riscv64-cpython-310/pikepdf copying src/pikepdf/objects.py -> build/lib.linux-riscv64-cpython-310/pikepdf copying src/pikepdf/settings.py -> build/lib.linux-riscv64-cpython-310/pikepdf creating build/lib.linux-riscv64-cpython-310/pikepdf/models copying src/pikepdf/models/__init__.py -> build/lib.linux-riscv64-cpython-310/pikepdf/models copying src/pikepdf/models/_content_stream.py -> build/lib.linux-riscv64-cpython-310/pikepdf/models copying src/pikepdf/models/_transcoding.py -> build/lib.linux-riscv64-cpython-310/pikepdf/models copying src/pikepdf/models/encryption.py -> build/lib.linux-riscv64-cpython-310/pikepdf/models copying src/pikepdf/models/image.py -> build/lib.linux-riscv64-cpython-310/pikepdf/models copying src/pikepdf/models/matrix.py -> build/lib.linux-riscv64-cpython-310/pikepdf/models copying src/pikepdf/models/metadata.py -> build/lib.linux-riscv64-cpython-310/pikepdf/models copying src/pikepdf/models/outlines.py -> build/lib.linux-riscv64-cpython-310/pikepdf/models running egg_info writing src/pikepdf.egg-info/PKG-INFO writing dependency_links to src/pikepdf.egg-info/dependency_links.txt writing requirements to src/pikepdf.egg-info/requires.txt writing top-level names to src/pikepdf.egg-info/top_level.txt reading manifest file 'src/pikepdf.egg-info/SOURCES.txt' adding license file 'LICENSE.txt' adding license file 'licenses-for-wheels.txt' writing manifest file 'src/pikepdf.egg-info/SOURCES.txt' copying src/pikepdf/_qpdf.pyi -> build/lib.linux-riscv64-cpython-310/pikepdf copying src/pikepdf/py.typed -> build/lib.linux-riscv64-cpython-310/pikepdf running build_ext building 'pikepdf._qpdf' extension creating build/temp.linux-riscv64-cpython-310 creating build/temp.linux-riscv64-cpython-310/src creating build/temp.linux-riscv64-cpython-310/src/qpdf gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c src/qpdf/nametree.cpp -o build/temp.linux-riscv64-cpython-310/src/qpdf/nametree.o -fvisibility=hidden -g0 -std=c++17 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c src/qpdf/logger.cpp -o build/temp.linux-riscv64-cpython-310/src/qpdf/logger.o -fvisibility=hidden -g0 -std=c++17 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c src/qpdf/embeddedfiles.cpp -o build/temp.linux-riscv64-cpython-310/src/qpdf/embeddedfiles.o -fvisibility=hidden -g0 -std=c++17 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c src/qpdf/annotation.cpp -o build/temp.linux-riscv64-cpython-310/src/qpdf/annotation.o -fvisibility=hidden -g0 -std=c++17 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c src/qpdf/job.cpp -o build/temp.linux-riscv64-cpython-310/src/qpdf/job.o -fvisibility=hidden -g0 -std=c++17 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c src/qpdf/numbertree.cpp -o build/temp.linux-riscv64-cpython-310/src/qpdf/numbertree.o -fvisibility=hidden -g0 -std=c++17 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c src/qpdf/object.cpp -o build/temp.linux-riscv64-cpython-310/src/qpdf/object.o -fvisibility=hidden -g0 -std=c++17 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c src/qpdf/object_convert.cpp -o build/temp.linux-riscv64-cpython-310/src/qpdf/object_convert.o -fvisibility=hidden -g0 -std=c++17 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c src/qpdf/object_repr.cpp -o build/temp.linux-riscv64-cpython-310/src/qpdf/object_repr.o -fvisibility=hidden -g0 -std=c++17 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c src/qpdf/page.cpp -o build/temp.linux-riscv64-cpython-310/src/qpdf/page.o -fvisibility=hidden -g0 -std=c++17 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c src/qpdf/pipeline.cpp -o build/temp.linux-riscv64-cpython-310/src/qpdf/pipeline.o -fvisibility=hidden -g0 -std=c++17 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c src/qpdf/parsers.cpp -o build/temp.linux-riscv64-cpython-310/src/qpdf/parsers.o -fvisibility=hidden -g0 -std=c++17 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c src/qpdf/pikepdf.cpp -o build/temp.linux-riscv64-cpython-310/src/qpdf/pikepdf.o -fvisibility=hidden -g0 -std=c++17 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c src/qpdf/qpdf.cpp -o build/temp.linux-riscv64-cpython-310/src/qpdf/qpdf.o -fvisibility=hidden -g0 -std=c++17 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c src/qpdf/qpdf_pagelist.cpp -o build/temp.linux-riscv64-cpython-310/src/qpdf/qpdf_pagelist.o -fvisibility=hidden -g0 -std=c++17 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c src/qpdf/utils.cpp -o build/temp.linux-riscv64-cpython-310/src/qpdf/utils.o -fvisibility=hidden -g0 -std=c++17 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c src/qpdf/rectangle.cpp -o build/temp.linux-riscv64-cpython-310/src/qpdf/rectangle.o -fvisibility=hidden -g0 -std=c++17 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -fPIC -DPOINTERHOLDER_TRANSITION=4 -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/include/python3.10 -c src/qpdf/tokenfilter.cpp -o build/temp.linux-riscv64-cpython-310/src/qpdf/tokenfilter.o -fvisibility=hidden -g0 -std=c++17 g++ -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto build/temp.linux-riscv64-cpython-310/src/qpdf/annotation.o build/temp.linux-riscv64-cpython-310/src/qpdf/embeddedfiles.o build/temp.linux-riscv64-cpython-310/src/qpdf/job.o build/temp.linux-riscv64-cpython-310/src/qpdf/logger.o build/temp.linux-riscv64-cpython-310/src/qpdf/nametree.o build/temp.linux-riscv64-cpython-310/src/qpdf/numbertree.o build/temp.linux-riscv64-cpython-310/src/qpdf/object.o build/temp.linux-riscv64-cpython-310/src/qpdf/object_convert.o build/temp.linux-riscv64-cpython-310/src/qpdf/object_repr.o build/temp.linux-riscv64-cpython-310/src/qpdf/page.o build/temp.linux-riscv64-cpython-310/src/qpdf/parsers.o build/temp.linux-riscv64-cpython-310/src/qpdf/pikepdf.o build/temp.linux-riscv64-cpython-310/src/qpdf/pipeline.o build/temp.linux-riscv64-cpython-310/src/qpdf/qpdf.o build/temp.linux-riscv64-cpython-310/src/qpdf/qpdf_pagelist.o build/temp.linux-riscv64-cpython-310/src/qpdf/rectangle.o build/temp.linux-riscv64-cpython-310/src/qpdf/tokenfilter.o build/temp.linux-riscv64-cpython-310/src/qpdf/utils.o -L/usr/lib -lqpdf -o build/lib.linux-riscv64-cpython-310/pikepdf/_qpdf.cpython-310-riscv64-linux-gnu.so installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64 creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/pikepdf copying build/lib.linux-riscv64-cpython-310/pikepdf/__init__.py -> build/bdist.linux-riscv64/wheel/pikepdf copying build/lib.linux-riscv64-cpython-310/pikepdf/_augments.py -> build/bdist.linux-riscv64/wheel/pikepdf copying build/lib.linux-riscv64-cpython-310/pikepdf/_cpphelpers.py -> build/bdist.linux-riscv64/wheel/pikepdf copying build/lib.linux-riscv64-cpython-310/pikepdf/_exceptions.py -> build/bdist.linux-riscv64/wheel/pikepdf copying build/lib.linux-riscv64-cpython-310/pikepdf/_methods.py -> build/bdist.linux-riscv64/wheel/pikepdf copying build/lib.linux-riscv64-cpython-310/pikepdf/_version.py -> build/bdist.linux-riscv64/wheel/pikepdf copying build/lib.linux-riscv64-cpython-310/pikepdf/_xml.py -> build/bdist.linux-riscv64/wheel/pikepdf copying build/lib.linux-riscv64-cpython-310/pikepdf/codec.py -> build/bdist.linux-riscv64/wheel/pikepdf copying build/lib.linux-riscv64-cpython-310/pikepdf/jbig2.py -> build/bdist.linux-riscv64/wheel/pikepdf copying build/lib.linux-riscv64-cpython-310/pikepdf/objects.py -> build/bdist.linux-riscv64/wheel/pikepdf copying build/lib.linux-riscv64-cpython-310/pikepdf/settings.py -> build/bdist.linux-riscv64/wheel/pikepdf creating build/bdist.linux-riscv64/wheel/pikepdf/models copying build/lib.linux-riscv64-cpython-310/pikepdf/models/__init__.py -> build/bdist.linux-riscv64/wheel/pikepdf/models copying build/lib.linux-riscv64-cpython-310/pikepdf/models/_content_stream.py -> build/bdist.linux-riscv64/wheel/pikepdf/models copying build/lib.linux-riscv64-cpython-310/pikepdf/models/_transcoding.py -> build/bdist.linux-riscv64/wheel/pikepdf/models copying build/lib.linux-riscv64-cpython-310/pikepdf/models/encryption.py -> build/bdist.linux-riscv64/wheel/pikepdf/models copying build/lib.linux-riscv64-cpython-310/pikepdf/models/image.py -> build/bdist.linux-riscv64/wheel/pikepdf/models copying build/lib.linux-riscv64-cpython-310/pikepdf/models/matrix.py -> build/bdist.linux-riscv64/wheel/pikepdf/models copying build/lib.linux-riscv64-cpython-310/pikepdf/models/metadata.py -> build/bdist.linux-riscv64/wheel/pikepdf/models copying build/lib.linux-riscv64-cpython-310/pikepdf/models/outlines.py -> build/bdist.linux-riscv64/wheel/pikepdf/models copying build/lib.linux-riscv64-cpython-310/pikepdf/_qpdf.pyi -> build/bdist.linux-riscv64/wheel/pikepdf copying build/lib.linux-riscv64-cpython-310/pikepdf/py.typed -> build/bdist.linux-riscv64/wheel/pikepdf copying build/lib.linux-riscv64-cpython-310/pikepdf/_qpdf.cpython-310-riscv64-linux-gnu.so -> build/bdist.linux-riscv64/wheel/pikepdf running install_egg_info Copying src/pikepdf.egg-info to build/bdist.linux-riscv64/wheel/pikepdf-6.2.2-py3.10.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/pikepdf-6.2.2.dist-info/WHEEL creating '/build/python-pikepdf/src/pikepdf-6.2.2/dist/tmpau0k9v6d/pikepdf-6.2.2-cp310-cp310-linux_riscv64.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'pikepdf/__init__.py' adding 'pikepdf/_augments.py' adding 'pikepdf/_cpphelpers.py' adding 'pikepdf/_exceptions.py' adding 'pikepdf/_methods.py' adding 'pikepdf/_qpdf.cpython-310-riscv64-linux-gnu.so' adding 'pikepdf/_qpdf.pyi' adding 'pikepdf/_version.py' adding 'pikepdf/_xml.py' adding 'pikepdf/codec.py' adding 'pikepdf/jbig2.py' adding 'pikepdf/objects.py' adding 'pikepdf/py.typed' adding 'pikepdf/settings.py' adding 'pikepdf/models/__init__.py' adding 'pikepdf/models/_content_stream.py' adding 'pikepdf/models/_transcoding.py' adding 'pikepdf/models/encryption.py' adding 'pikepdf/models/image.py' adding 'pikepdf/models/matrix.py' adding 'pikepdf/models/metadata.py' adding 'pikepdf/models/outlines.py' adding 'pikepdf-6.2.2.dist-info/LICENSE.txt' adding 'pikepdf-6.2.2.dist-info/METADATA' adding 'pikepdf-6.2.2.dist-info/WHEEL' adding 'pikepdf-6.2.2.dist-info/licenses-for-wheels.txt' adding 'pikepdf-6.2.2.dist-info/top_level.txt' adding 'pikepdf-6.2.2.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built pikepdf-6.2.2-cp310-cp310-linux_riscv64.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.10.8, pytest-7.2.0, pluggy-1.0.0 rootdir: /build/python-pikepdf/src/pikepdf-6.2.2, configfile: pyproject.toml, testpaths: tests plugins: xdist-3.0.2, hypothesis-6.54.4 gw0 I / gw1 I / gw2 I / gw3 I / gw4 I / gw5 I / gw6 I / gw7 I / gw8 I / gw9 I / gw10 I / gw11 I / gw12 I / gw13 I / gw14 I / gw15 I / gw16 I / gw17 I / gw18 I / gw19 I gw0 [549] / gw1 [549] / gw2 [549] / gw3 [549] / gw4 [549] / gw5 [549] / gw6 [549] / gw7 [549] / gw8 [549] / gw9 [549] / gw10 [549] / gw11 [549] / gw12 [549] / gw13 [549] / gw14 [549] / gw15 [549] / gw16 [549] / gw17 [549] / gw18 [549] / gw19 [549] ................................................................ss...s.s [ 12%] ....................................................................s... [ 26%] ...x..........s....ss................................................... [ 39%] ........................................................................ [ 52%] ......................................................................... [ 65%] ..........................s..................F.......................... [ 78%] ........................................................s.s...s......s.... [ 91%] ...........................sx..s.......... [100%] =================================== FAILURES =================================== __________________________ test_random_valid_docinfo ___________________________ [gw16] linux -- Python 3.10.8 /build/python-pikepdf/src/pikepdf-6.2.2/test-env/bin/python self = data = ConjectureData(INTERESTING, 1 bytes, frozen) def _execute_once_for_engine(self, data): """Wrapper around ``execute_once`` that intercepts test failure exceptions and single-test control exceptions, and turns them into appropriate method calls to `data` instead. This allows the engine to assume that any exception other than ``StopTest`` must be a fatal error, and should stop the entire engine. """ try: trace = frozenset() if ( self.failed_normally and not self.failed_due_to_deadline and Phase.shrink in self.settings.phases and Phase.explain in self.settings.phases and sys.gettrace() is None and not PYPY ): # pragma: no cover # This is in fact covered by our *non-coverage* tests, but due to the # settrace() contention *not* by our coverage tests. Ah well. tracer = Tracer() try: sys.settrace(tracer.trace) result = self.execute_once(data) if data.status == Status.VALID: self.explain_traces[None].add(frozenset(tracer.branches)) finally: sys.settrace(None) trace = frozenset(tracer.branches) else: > result = self.execute_once(data) /usr/lib/python3.10/site-packages/hypothesis/core.py:749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = data = ConjectureData(INTERESTING, 1 bytes, frozen), print_example = False is_final = False, expected_failure = None def execute_once( self, data, print_example=False, is_final=False, expected_failure=None ): """Run the test function once, using ``data`` as input. If the test raises an exception, it will propagate through to the caller of this method. Depending on its type, this could represent an ordinary test failure, or a fatal error, or a control exception. If this method returns normally, the test might have passed, or it might have placed ``data`` in an unsuccessful state and then swallowed the corresponding control exception. """ self.ever_executed = True data.is_find = self.is_find text_repr = None if self.settings.deadline is None: test = self.test else: @proxies(self.test) def test(*args, **kwargs): self.__test_runtime = None initial_draws = len(data.draw_times) start = time.perf_counter() result = self.test(*args, **kwargs) finish = time.perf_counter() internal_draw_time = sum(data.draw_times[initial_draws:]) runtime = datetime.timedelta( seconds=finish - start - internal_draw_time ) self.__test_runtime = runtime current_deadline = self.settings.deadline if not is_final: current_deadline = (current_deadline // 4) * 5 if runtime >= current_deadline: raise DeadlineExceeded(runtime, self.settings.deadline) return result def run(data): # Set up dynamic context needed by a single test run. with local_settings(self.settings): with deterministic_PRNG(): with BuildContext(data, is_final=is_final): # Generate all arguments to the test function. args, kwargs = data.draw(self.search_strategy) if expected_failure is not None: nonlocal text_repr text_repr = repr_call(test, args, kwargs) if print_example or current_verbosity() >= Verbosity.verbose: output = StringIO() printer = RepresentationPrinter(output) if print_example: printer.text("Falsifying example:") else: printer.text("Trying example:") if self.print_given_args: printer.text(" ") printer.text(test.__name__) with printer.group(indent=4, open="(", close=""): printer.break_() for v in args: printer.pretty(v) # We add a comma unconditionally because # generated arguments will always be kwargs, # so there will always be more to come. printer.text(",") printer.breakable() for i, (k, v) in enumerate(kwargs.items()): printer.text(k) printer.text("=") printer.pretty(v) printer.text(",") if i + 1 < len(kwargs): printer.breakable() printer.break_() printer.text(")") printer.flush() report(output.getvalue()) return test(*args, **kwargs) # Run the test function once, via the executor hook. # In most cases this will delegate straight to `run(data)`. > result = self.test_runner(data, run) /usr/lib/python3.10/site-packages/hypothesis/core.py:688: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = ConjectureData(INTERESTING, 1 bytes, frozen) function = .run at 0x401181bd90> def default_new_style_executor(data, function): > return function(data) /usr/lib/python3.10/site-packages/hypothesis/executors.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = ConjectureData(INTERESTING, 1 bytes, frozen) def run(data): # Set up dynamic context needed by a single test run. with local_settings(self.settings): with deterministic_PRNG(): with BuildContext(data, is_final=is_final): # Generate all arguments to the test function. args, kwargs = data.draw(self.search_strategy) if expected_failure is not None: nonlocal text_repr text_repr = repr_call(test, args, kwargs) if print_example or current_verbosity() >= Verbosity.verbose: output = StringIO() printer = RepresentationPrinter(output) if print_example: printer.text("Falsifying example:") else: printer.text("Trying example:") if self.print_given_args: printer.text(" ") printer.text(test.__name__) with printer.group(indent=4, open="(", close=""): printer.break_() for v in args: printer.pretty(v) # We add a comma unconditionally because # generated arguments will always be kwargs, # so there will always be more to come. printer.text(",") printer.breakable() for i, (k, v) in enumerate(kwargs.items()): printer.text(k) printer.text("=") printer.pretty(v) printer.text(",") if i + 1 < len(kwargs): printer.breakable() printer.break_() printer.text(")") printer.flush() report(output.getvalue()) > return test(*args, **kwargs) /usr/lib/python3.10/site-packages/hypothesis/core.py:684: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ docinfo = {} @given( > st.dictionaries( keys=st.sampled_from( [ "/Author", "/Subject", "/Title", "/Keywords", "/Producer", "/Creator", ] ), values=st.none() | st.characters(blacklist_categories=('Cs',)), ) ) tests/test_metadata.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = ({},), kwargs = {}, initial_draws = 1, start = 3209324.79644065 result = None, finish = 3209325.120548997, internal_draw_time = 0 runtime = datetime.timedelta(microseconds=324108) current_deadline = datetime.timedelta(microseconds=250000) @proxies(self.test) def test(*args, **kwargs): self.__test_runtime = None initial_draws = len(data.draw_times) start = time.perf_counter() result = self.test(*args, **kwargs) finish = time.perf_counter() internal_draw_time = sum(data.draw_times[initial_draws:]) runtime = datetime.timedelta( seconds=finish - start - internal_draw_time ) self.__test_runtime = runtime current_deadline = self.settings.deadline if not is_final: current_deadline = (current_deadline // 4) * 5 if runtime >= current_deadline: > raise DeadlineExceeded(runtime, self.settings.deadline) E hypothesis.errors.DeadlineExceeded: Test took 324.11ms, which exceeds the deadline of 200.00ms /usr/lib/python3.10/site-packages/hypothesis/core.py:636: DeadlineExceeded The above exception was the direct cause of the following exception: @given( > st.dictionaries( keys=st.sampled_from( [ "/Author", "/Subject", "/Title", "/Keywords", "/Producer", "/Creator", ] ), values=st.none() | st.characters(blacklist_categories=('Cs',)), ) ) tests/test_metadata.py:595: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = data = ConjectureData(VALID, 1 bytes, frozen), print_example = True is_final = True expected_failure = (DeadlineExceeded('Test took 324.11ms, which exceeds the deadline of 200.00ms'), 'args = ({},), kwargs = {}, initial_d...hich exceeds the deadline of 200.00ms\n\n/usr/lib/python3.10/site-packages/hypothesis/core.py:636: DeadlineExceeded\n') def execute_once( self, data, print_example=False, is_final=False, expected_failure=None ): """Run the test function once, using ``data`` as input. If the test raises an exception, it will propagate through to the caller of this method. Depending on its type, this could represent an ordinary test failure, or a fatal error, or a control exception. If this method returns normally, the test might have passed, or it might have placed ``data`` in an unsuccessful state and then swallowed the corresponding control exception. """ self.ever_executed = True data.is_find = self.is_find text_repr = None if self.settings.deadline is None: test = self.test else: @proxies(self.test) def test(*args, **kwargs): self.__test_runtime = None initial_draws = len(data.draw_times) start = time.perf_counter() result = self.test(*args, **kwargs) finish = time.perf_counter() internal_draw_time = sum(data.draw_times[initial_draws:]) runtime = datetime.timedelta( seconds=finish - start - internal_draw_time ) self.__test_runtime = runtime current_deadline = self.settings.deadline if not is_final: current_deadline = (current_deadline // 4) * 5 if runtime >= current_deadline: raise DeadlineExceeded(runtime, self.settings.deadline) return result def run(data): # Set up dynamic context needed by a single test run. with local_settings(self.settings): with deterministic_PRNG(): with BuildContext(data, is_final=is_final): # Generate all arguments to the test function. args, kwargs = data.draw(self.search_strategy) if expected_failure is not None: nonlocal text_repr text_repr = repr_call(test, args, kwargs) if print_example or current_verbosity() >= Verbosity.verbose: output = StringIO() printer = RepresentationPrinter(output) if print_example: printer.text("Falsifying example:") else: printer.text("Trying example:") if self.print_given_args: printer.text(" ") printer.text(test.__name__) with printer.group(indent=4, open="(", close=""): printer.break_() for v in args: printer.pretty(v) # We add a comma unconditionally because # generated arguments will always be kwargs, # so there will always be more to come. printer.text(",") printer.breakable() for i, (k, v) in enumerate(kwargs.items()): printer.text(k) printer.text("=") printer.pretty(v) printer.text(",") if i + 1 < len(kwargs): printer.breakable() printer.break_() printer.text(")") printer.flush() report(output.getvalue()) return test(*args, **kwargs) # Run the test function once, via the executor hook. # In most cases this will delegate straight to `run(data)`. result = self.test_runner(data, run) # If a failure was expected, it should have been raised already, so # instead raise an appropriate diagnostic error. if expected_failure is not None: exception, traceback = expected_failure if ( isinstance(exception, DeadlineExceeded) and self.__test_runtime is not None ): report( "Unreliable test timings! On an initial run, this " "test took %.2fms, which exceeded the deadline of " "%.2fms, but on a subsequent run it took %.2f ms, " "which did not. If you expect this sort of " "variability in your test timings, consider turning " "deadlines off for this test by setting deadline=None." % ( exception.runtime.total_seconds() * 1000, self.settings.deadline.total_seconds() * 1000, self.__test_runtime.total_seconds() * 1000, ) ) else: report("Failed to reproduce exception. Expected: \n" + traceback) > raise Flaky( f"Hypothesis {text_repr} produces unreliable results: " "Falsified on the first call but did not on a subsequent one" ) from exception E hypothesis.errors.Flaky: Hypothesis test_random_valid_docinfo(docinfo={}) produces unreliable results: Falsified on the first call but did not on a subsequent one E Falsifying example: test_random_valid_docinfo( E docinfo={}, E ) E Unreliable test timings! On an initial run, this test took 324.11ms, which exceeded the deadline of 200.00ms, but on a subsequent run it took 31.02 ms, which did not. If you expect this sort of variability in your test timings, consider turning deadlines off for this test by setting deadline=None. /usr/lib/python3.10/site-packages/hypothesis/core.py:713: Flaky =============================== warnings summary =============================== tests/test_pages.py:215: 20 warnings /build/python-pikepdf/src/pikepdf-6.2.2/tests/test_pages.py:215: PytestUnknownMarkWarning: Unknown pytest.mark.timeout - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.timeout(1) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_metadata.py::test_random_valid_docinfo - hypothesis.errors.... = 1 failed, 531 passed, 15 skipped, 2 xfailed, 20 warnings in 139.46s (0:02:19) = ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix16/build receiving incremental file list python-pikepdf-6.2.2-1-riscv64-build.log python-pikepdf-6.2.2-1-riscv64-check.log sent 62 bytes received 5,954 bytes 1,718.86 bytes/sec total size is 49,087 speedup is 8.16