Mock Version: 6.1 Mock Version: 6.1 Mock Version: 6.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-img2pdf.spec'], chrootPath='/var/lib/mock/f43-build-59182240-6571558/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w_x_wwgm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w_x_wwgm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '42a3e5fc7dac483bab5da0ddb948c0a7', '-D', '/var/lib/mock/f43-build-59182240-6571558/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w_x_wwgm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-img2pdf.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1743379200 Wrote: /builddir/build/SRPMS/python-img2pdf-0.6.0-1.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-img2pdf.spec'], chrootPath='/var/lib/mock/f43-build-59182240-6571558/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w_x_wwgm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w_x_wwgm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '650c15bb3e1142bf959ee8b8c4d9e656', '-D', '/var/lib/mock/f43-build-59182240-6571558/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.w_x_wwgm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-img2pdf.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1743379200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.vbCtgd Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mxVlc0 + umask 022 + cd /builddir/build/BUILD/python-img2pdf-0.6.0-build + cd /builddir/build/BUILD/python-img2pdf-0.6.0-build + rm -rf img2pdf-0.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/img2pdf-0.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd img2pdf-0.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/magick-prog.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LYhaDG + umask 022 + cd /builddir/build/BUILD/python-img2pdf-0.6.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd img2pdf-0.6.0 + sed -i '1{/^#!\//d}' src/img2pdf.py src/img2pdf_test.py src/jp2.py + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running build running build_py creating build/lib copying src/img2pdf.py -> build/lib copying src/jp2.py -> build/lib running egg_info writing src/img2pdf.egg-info/PKG-INFO writing dependency_links to src/img2pdf.egg-info/dependency_links.txt writing entry points to src/img2pdf.egg-info/entry_points.txt writing requirements to src/img2pdf.egg-info/requires.txt writing top-level names to src/img2pdf.egg-info/top_level.txt reading manifest file 'src/img2pdf.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'test.sh' warning: no files found matching 'magick.py' adding license file 'LICENSE' writing manifest file 'src/img2pdf.egg-info/SOURCES.txt' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iapzLw + umask 022 + cd /builddir/build/BUILD/python-img2pdf-0.6.0-build + '[' /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-img2pdf-0.6.0-build + mkdir /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd img2pdf-0.6.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT --prefix /usr /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running install /usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages copying build/lib/img2pdf.py -> /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages copying build/lib/jp2.py -> /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages byte-compiling /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/img2pdf.py to img2pdf.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/jp2.py to jp2.cpython-313.pyc writing byte-compilation script '/tmp/tmpufwpouo0.py' /usr/bin/python3 /tmp/tmpufwpouo0.py removing /tmp/tmpufwpouo0.py running install_egg_info running egg_info writing src/img2pdf.egg-info/PKG-INFO writing dependency_links to src/img2pdf.egg-info/dependency_links.txt writing entry points to src/img2pdf.egg-info/entry_points.txt writing requirements to src/img2pdf.egg-info/requires.txt writing top-level names to src/img2pdf.egg-info/top_level.txt reading manifest file 'src/img2pdf.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'test.sh' warning: no files found matching 'magick.py' adding license file 'LICENSE' writing manifest file 'src/img2pdf.egg-info/SOURCES.txt' Copying src/img2pdf.egg-info to /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/img2pdf-0.6.0-py3.13.egg-info running install_scripts Installing img2pdf script to /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT/usr/bin Installing img2pdf-gui script to /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT/usr/bin + rm -rfv /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT/usr/bin/__pycache__ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j12 Bytecompiling .py files below /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT/usr/lib/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j12 /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/__pycache__/jp2.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/__pycache__/jp2.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/__pycache__/img2pdf.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-img2pdf-0.6.0-build/BUILDROOT/usr/lib/python3.13/site-packages/__pycache__/img2pdf.cpython-313.pyc: replacing with normalized version Scanned 8 directories and 15 files, processed 4 inodes, 4 modified (4 replaced + 0 rewritten), 0 unsupported format, 0 errors Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.uLUB7z + umask 022 + cd /builddir/build/BUILD/python-img2pdf-0.6.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd img2pdf-0.6.0 + sed -i '1i#!/usr/bin/python3' src/img2pdf.py + PYTHONPATH=src + /usr/bin/python3 -m pytest src/img2pdf_test.py -v -k 'not miff_c and not png_icc' ============================= test session starts ============================== platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/python-img2pdf-0.6.0-build/img2pdf-0.6.0 collecting ... collected 352 items / 6 deselected / 346 selected src/img2pdf_test.py::test_jpg[internal] PASSED [ 0%] src/img2pdf_test.py::test_jpg[pikepdf] PASSED [ 0%] src/img2pdf_test.py::test_jpg_rot[internal] PASSED [ 0%] src/img2pdf_test.py::test_jpg_rot[pikepdf] PASSED [ 1%] src/img2pdf_test.py::test_jpg_cmyk[internal] PASSED [ 1%] src/img2pdf_test.py::test_jpg_cmyk[pikepdf] PASSED [ 1%] src/img2pdf_test.py::test_jpg_2000[internal] PASSED [ 2%] src/img2pdf_test.py::test_jpg_2000[pikepdf] PASSED [ 2%] src/img2pdf_test.py::test_jpg_2000_rgba8[internal] PASSED [ 2%] src/img2pdf_test.py::test_jpg_2000_rgba8[pikepdf] PASSED [ 2%] src/img2pdf_test.py::test_jpg_2000_rgba16[internal] PASSED [ 3%] src/img2pdf_test.py::test_jpg_2000_rgba16[pikepdf] PASSED [ 3%] src/img2pdf_test.py::test_png_rgb8[internal] PASSED [ 3%] src/img2pdf_test.py::test_png_rgb8[pikepdf] PASSED [ 4%] src/img2pdf_test.py::test_png_rgb16[internal] FAILED [ 4%] src/img2pdf_test.py::test_png_rgb16[pikepdf] FAILED [ 4%] src/img2pdf_test.py::test_png_rgba8[internal] PASSED [ 4%] src/img2pdf_test.py::test_png_rgba8[pikepdf] PASSED [ 5%] src/img2pdf_test.py::test_png_rgba16[internal] PASSED [ 5%] src/img2pdf_test.py::test_png_rgba16[pikepdf] PASSED [ 5%] src/img2pdf_test.py::test_png_gray8a[internal] PASSED [ 6%] src/img2pdf_test.py::test_png_gray8a[pikepdf] PASSED [ 6%] src/img2pdf_test.py::test_png_gray16a[internal] PASSED [ 6%] src/img2pdf_test.py::test_png_gray16a[pikepdf] PASSED [ 6%] src/img2pdf_test.py::test_png_interlaced[internal] PASSED [ 7%] src/img2pdf_test.py::test_png_interlaced[pikepdf] PASSED [ 7%] src/img2pdf_test.py::test_png_gray1[internal] PASSED [ 7%] src/img2pdf_test.py::test_png_gray1[pikepdf] PASSED [ 8%] src/img2pdf_test.py::test_png_gray2[internal] PASSED [ 8%] src/img2pdf_test.py::test_png_gray2[pikepdf] PASSED [ 8%] src/img2pdf_test.py::test_png_gray4[internal] PASSED [ 8%] src/img2pdf_test.py::test_png_gray4[pikepdf] PASSED [ 9%] src/img2pdf_test.py::test_png_gray8[internal] PASSED [ 9%] src/img2pdf_test.py::test_png_gray8[pikepdf] PASSED [ 9%] src/img2pdf_test.py::test_png_gray16[internal] FAILED [ 10%] src/img2pdf_test.py::test_png_gray16[pikepdf] FAILED [ 10%] src/img2pdf_test.py::test_png_palette1[internal] PASSED [ 10%] src/img2pdf_test.py::test_png_palette1[pikepdf] PASSED [ 10%] src/img2pdf_test.py::test_png_palette2[internal] PASSED [ 11%] src/img2pdf_test.py::test_png_palette2[pikepdf] PASSED [ 11%] src/img2pdf_test.py::test_png_palette4[internal] PASSED [ 11%] src/img2pdf_test.py::test_png_palette4[pikepdf] PASSED [ 12%] src/img2pdf_test.py::test_png_palette8[internal] PASSED [ 12%] src/img2pdf_test.py::test_png_palette8[pikepdf] PASSED [ 12%] src/img2pdf_test.py::test_gif_transparent[internal] PASSED [ 13%] src/img2pdf_test.py::test_gif_transparent[pikepdf] PASSED [ 13%] src/img2pdf_test.py::test_gif_palette1[internal] PASSED [ 13%] src/img2pdf_test.py::test_gif_palette1[pikepdf] PASSED [ 13%] src/img2pdf_test.py::test_gif_palette2[internal] PASSED [ 14%] src/img2pdf_test.py::test_gif_palette2[pikepdf] PASSED [ 14%] src/img2pdf_test.py::test_gif_palette4[internal] PASSED [ 14%] src/img2pdf_test.py::test_gif_palette4[pikepdf] PASSED [ 15%] src/img2pdf_test.py::test_gif_palette8[internal] PASSED [ 15%] src/img2pdf_test.py::test_gif_palette8[pikepdf] PASSED [ 15%] src/img2pdf_test.py::test_gif_animation[internal] PASSED [ 15%] src/img2pdf_test.py::test_gif_animation[pikepdf] PASSED [ 16%] src/img2pdf_test.py::test_tiff_float[internal] PASSED [ 16%] src/img2pdf_test.py::test_tiff_float[pikepdf] PASSED [ 16%] src/img2pdf_test.py::test_tiff_cmyk8[internal] PASSED [ 17%] src/img2pdf_test.py::test_tiff_cmyk8[pikepdf] PASSED [ 17%] src/img2pdf_test.py::test_tiff_cmyk16[internal] PASSED [ 17%] src/img2pdf_test.py::test_tiff_cmyk16[pikepdf] PASSED [ 17%] src/img2pdf_test.py::test_tiff_rgb8[internal] PASSED [ 18%] src/img2pdf_test.py::test_tiff_rgb8[pikepdf] PASSED [ 18%] src/img2pdf_test.py::test_tiff_rgb12[internal] PASSED [ 18%] src/img2pdf_test.py::test_tiff_rgb12[pikepdf] PASSED [ 19%] src/img2pdf_test.py::test_tiff_rgb14[internal] PASSED [ 19%] src/img2pdf_test.py::test_tiff_rgb14[pikepdf] PASSED [ 19%] src/img2pdf_test.py::test_tiff_rgb16[internal] PASSED [ 19%] src/img2pdf_test.py::test_tiff_rgb16[pikepdf] PASSED [ 20%] src/img2pdf_test.py::test_tiff_rgba8[internal] PASSED [ 20%] src/img2pdf_test.py::test_tiff_rgba8[pikepdf] PASSED [ 20%] src/img2pdf_test.py::test_tiff_rgba16[internal] PASSED [ 21%] src/img2pdf_test.py::test_tiff_rgba16[pikepdf] PASSED [ 21%] src/img2pdf_test.py::test_tiff_gray1[internal] PASSED [ 21%] src/img2pdf_test.py::test_tiff_gray1[pikepdf] PASSED [ 21%] src/img2pdf_test.py::test_tiff_gray2[internal] PASSED [ 22%] src/img2pdf_test.py::test_tiff_gray2[pikepdf] PASSED [ 22%] src/img2pdf_test.py::test_tiff_gray4[internal] PASSED [ 22%] src/img2pdf_test.py::test_tiff_gray4[pikepdf] PASSED [ 23%] src/img2pdf_test.py::test_tiff_gray8[internal] PASSED [ 23%] src/img2pdf_test.py::test_tiff_gray8[pikepdf] PASSED [ 23%] src/img2pdf_test.py::test_tiff_gray16[internal] PASSED [ 23%] src/img2pdf_test.py::test_tiff_gray16[pikepdf] PASSED [ 24%] src/img2pdf_test.py::test_tiff_multipage[internal] PASSED [ 24%] src/img2pdf_test.py::test_tiff_multipage[pikepdf] PASSED [ 24%] src/img2pdf_test.py::test_tiff_palette1[internal] PASSED [ 25%] src/img2pdf_test.py::test_tiff_palette1[pikepdf] PASSED [ 25%] src/img2pdf_test.py::test_tiff_palette2[internal] PASSED [ 25%] src/img2pdf_test.py::test_tiff_palette2[pikepdf] PASSED [ 26%] src/img2pdf_test.py::test_tiff_palette4[internal] PASSED [ 26%] src/img2pdf_test.py::test_tiff_palette4[pikepdf] PASSED [ 26%] src/img2pdf_test.py::test_tiff_palette8[internal] PASSED [ 26%] src/img2pdf_test.py::test_tiff_palette8[pikepdf] PASSED [ 27%] src/img2pdf_test.py::test_tiff_ccitt_lsb_m2l_white[internal] PASSED [ 27%] src/img2pdf_test.py::test_tiff_ccitt_lsb_m2l_white[pikepdf] PASSED [ 27%] src/img2pdf_test.py::test_tiff_ccitt_msb_m2l_white[internal] PASSED [ 28%] src/img2pdf_test.py::test_tiff_ccitt_msb_m2l_white[pikepdf] PASSED [ 28%] src/img2pdf_test.py::test_tiff_ccitt_msb_l2m_white[internal] PASSED [ 28%] src/img2pdf_test.py::test_tiff_ccitt_msb_l2m_white[pikepdf] PASSED [ 28%] src/img2pdf_test.py::test_tiff_ccitt_lsb_m2l_black[internal] PASSED [ 29%] src/img2pdf_test.py::test_tiff_ccitt_lsb_m2l_black[pikepdf] PASSED [ 29%] src/img2pdf_test.py::test_tiff_ccitt_nometa1[internal] PASSED [ 29%] src/img2pdf_test.py::test_tiff_ccitt_nometa1[pikepdf] PASSED [ 30%] src/img2pdf_test.py::test_tiff_ccitt_nometa2[internal] PASSED [ 30%] src/img2pdf_test.py::test_tiff_ccitt_nometa2[pikepdf] PASSED [ 30%] src/img2pdf_test.py::test_miff_rgb8[internal] PASSED [ 30%] src/img2pdf_test.py::test_miff_rgb8[pikepdf] PASSED [ 31%] src/img2pdf_test.py::test_layout[layout_test_cases0] PASSED [ 31%] src/img2pdf_test.py::test_layout[layout_test_cases1] PASSED [ 31%] src/img2pdf_test.py::test_layout[layout_test_cases2] PASSED [ 32%] src/img2pdf_test.py::test_layout[layout_test_cases3] PASSED [ 32%] src/img2pdf_test.py::test_layout[layout_test_cases4] PASSED [ 32%] src/img2pdf_test.py::test_layout[layout_test_cases5] PASSED [ 32%] src/img2pdf_test.py::test_layout[layout_test_cases6] PASSED [ 33%] src/img2pdf_test.py::test_layout[layout_test_cases7] PASSED [ 33%] src/img2pdf_test.py::test_layout[layout_test_cases8] PASSED [ 33%] src/img2pdf_test.py::test_layout[layout_test_cases9] PASSED [ 34%] src/img2pdf_test.py::test_layout[layout_test_cases10] PASSED [ 34%] src/img2pdf_test.py::test_layout[layout_test_cases11] PASSED [ 34%] src/img2pdf_test.py::test_layout[layout_test_cases12] PASSED [ 34%] src/img2pdf_test.py::test_layout[layout_test_cases13] PASSED [ 35%] src/img2pdf_test.py::test_layout[layout_test_cases14] PASSED [ 35%] src/img2pdf_test.py::test_layout[layout_test_cases15] PASSED [ 35%] src/img2pdf_test.py::test_layout[layout_test_cases16] PASSED [ 36%] src/img2pdf_test.py::test_layout[layout_test_cases17] PASSED [ 36%] src/img2pdf_test.py::test_layout[layout_test_cases18] PASSED [ 36%] src/img2pdf_test.py::test_layout[layout_test_cases19] PASSED [ 36%] src/img2pdf_test.py::test_layout[layout_test_cases20] PASSED [ 37%] src/img2pdf_test.py::test_layout[layout_test_cases21] PASSED [ 37%] src/img2pdf_test.py::test_layout[layout_test_cases22] PASSED [ 37%] src/img2pdf_test.py::test_layout[layout_test_cases23] PASSED [ 38%] src/img2pdf_test.py::test_layout[layout_test_cases24] PASSED [ 38%] src/img2pdf_test.py::test_layout[layout_test_cases25] PASSED [ 38%] src/img2pdf_test.py::test_layout[layout_test_cases26] PASSED [ 39%] src/img2pdf_test.py::test_layout[layout_test_cases27] PASSED [ 39%] src/img2pdf_test.py::test_layout[layout_test_cases28] PASSED [ 39%] src/img2pdf_test.py::test_layout[layout_test_cases29] PASSED [ 39%] src/img2pdf_test.py::test_layout[layout_test_cases30] PASSED [ 40%] src/img2pdf_test.py::test_layout[layout_test_cases31] PASSED [ 40%] src/img2pdf_test.py::test_layout[layout_test_cases32] PASSED [ 40%] src/img2pdf_test.py::test_layout[layout_test_cases33] PASSED [ 41%] src/img2pdf_test.py::test_layout[layout_test_cases34] PASSED [ 41%] src/img2pdf_test.py::test_layout[layout_test_cases35] PASSED [ 41%] src/img2pdf_test.py::test_layout[layout_test_cases36] PASSED [ 41%] src/img2pdf_test.py::test_layout[layout_test_cases37] PASSED [ 42%] src/img2pdf_test.py::test_layout[layout_test_cases38] PASSED [ 42%] src/img2pdf_test.py::test_layout[layout_test_cases39] PASSED [ 42%] src/img2pdf_test.py::test_layout[layout_test_cases40] PASSED [ 43%] src/img2pdf_test.py::test_layout[layout_test_cases41] PASSED [ 43%] src/img2pdf_test.py::test_layout[layout_test_cases42] PASSED [ 43%] src/img2pdf_test.py::test_layout[layout_test_cases43] PASSED [ 43%] src/img2pdf_test.py::test_layout[layout_test_cases44] PASSED [ 44%] src/img2pdf_test.py::test_layout[layout_test_cases45] PASSED [ 44%] src/img2pdf_test.py::test_layout[layout_test_cases46] PASSED [ 44%] src/img2pdf_test.py::test_layout[layout_test_cases47] PASSED [ 45%] src/img2pdf_test.py::test_layout[layout_test_cases48] PASSED [ 45%] src/img2pdf_test.py::test_layout[layout_test_cases49] PASSED [ 45%] src/img2pdf_test.py::test_layout[layout_test_cases50] PASSED [ 45%] src/img2pdf_test.py::test_layout[layout_test_cases51] PASSED [ 46%] src/img2pdf_test.py::test_layout[layout_test_cases52] PASSED [ 46%] src/img2pdf_test.py::test_layout[layout_test_cases53] PASSED [ 46%] src/img2pdf_test.py::test_layout[layout_test_cases54] PASSED [ 47%] src/img2pdf_test.py::test_layout[layout_test_cases55] PASSED [ 47%] src/img2pdf_test.py::test_layout[layout_test_cases56] PASSED [ 47%] src/img2pdf_test.py::test_layout[layout_test_cases57] PASSED [ 47%] src/img2pdf_test.py::test_layout[layout_test_cases58] PASSED [ 48%] src/img2pdf_test.py::test_layout[layout_test_cases59] PASSED [ 48%] src/img2pdf_test.py::test_layout[layout_test_cases60] PASSED [ 48%] src/img2pdf_test.py::test_layout[layout_test_cases61] PASSED [ 49%] src/img2pdf_test.py::test_layout[layout_test_cases62] PASSED [ 49%] src/img2pdf_test.py::test_layout[layout_test_cases63] PASSED [ 49%] src/img2pdf_test.py::test_layout[layout_test_cases64] PASSED [ 50%] src/img2pdf_test.py::test_layout[layout_test_cases65] PASSED [ 50%] src/img2pdf_test.py::test_layout[layout_test_cases66] PASSED [ 50%] src/img2pdf_test.py::test_layout[layout_test_cases67] PASSED [ 50%] src/img2pdf_test.py::test_layout[layout_test_cases68] PASSED [ 51%] src/img2pdf_test.py::test_layout[layout_test_cases69] PASSED [ 51%] src/img2pdf_test.py::test_layout[layout_test_cases70] PASSED [ 51%] src/img2pdf_test.py::test_layout[layout_test_cases71] PASSED [ 52%] src/img2pdf_test.py::test_layout[layout_test_cases72] PASSED [ 52%] src/img2pdf_test.py::test_layout[layout_test_cases73] PASSED [ 52%] src/img2pdf_test.py::test_layout[layout_test_cases74] PASSED [ 52%] src/img2pdf_test.py::test_layout[layout_test_cases75] PASSED [ 53%] src/img2pdf_test.py::test_layout[layout_test_cases76] PASSED [ 53%] src/img2pdf_test.py::test_layout[layout_test_cases77] PASSED [ 53%] src/img2pdf_test.py::test_layout[layout_test_cases78] PASSED [ 54%] src/img2pdf_test.py::test_layout[layout_test_cases79] PASSED [ 54%] src/img2pdf_test.py::test_layout[layout_test_cases80] PASSED [ 54%] src/img2pdf_test.py::test_layout[layout_test_cases81] PASSED [ 54%] src/img2pdf_test.py::test_layout[layout_test_cases82] PASSED [ 55%] src/img2pdf_test.py::test_layout[layout_test_cases83] PASSED [ 55%] src/img2pdf_test.py::test_layout[layout_test_cases84] PASSED [ 55%] src/img2pdf_test.py::test_layout[layout_test_cases85] PASSED [ 56%] src/img2pdf_test.py::test_layout[layout_test_cases86] PASSED [ 56%] src/img2pdf_test.py::test_layout[layout_test_cases87] PASSED [ 56%] src/img2pdf_test.py::test_layout[layout_test_cases88] PASSED [ 56%] src/img2pdf_test.py::test_layout[layout_test_cases89] PASSED [ 57%] src/img2pdf_test.py::test_layout[layout_test_cases90] PASSED [ 57%] src/img2pdf_test.py::test_layout[layout_test_cases91] PASSED [ 57%] src/img2pdf_test.py::test_layout[layout_test_cases92] PASSED [ 58%] src/img2pdf_test.py::test_layout[layout_test_cases93] PASSED [ 58%] src/img2pdf_test.py::test_layout[layout_test_cases94] PASSED [ 58%] src/img2pdf_test.py::test_layout[layout_test_cases95] PASSED [ 58%] src/img2pdf_test.py::test_layout[layout_test_cases96] PASSED [ 59%] src/img2pdf_test.py::test_layout[layout_test_cases97] PASSED [ 59%] src/img2pdf_test.py::test_layout[layout_test_cases98] PASSED [ 59%] src/img2pdf_test.py::test_layout[layout_test_cases99] PASSED [ 60%] src/img2pdf_test.py::test_layout[layout_test_cases100] PASSED [ 60%] src/img2pdf_test.py::test_layout[layout_test_cases101] PASSED [ 60%] src/img2pdf_test.py::test_layout[layout_test_cases102] PASSED [ 60%] src/img2pdf_test.py::test_layout[layout_test_cases103] PASSED [ 61%] src/img2pdf_test.py::test_layout[layout_test_cases104] PASSED [ 61%] src/img2pdf_test.py::test_layout[layout_test_cases105] PASSED [ 61%] src/img2pdf_test.py::test_layout[layout_test_cases106] PASSED [ 62%] src/img2pdf_test.py::test_layout[layout_test_cases107] PASSED [ 62%] src/img2pdf_test.py::test_layout[layout_test_cases108] PASSED [ 62%] src/img2pdf_test.py::test_layout[layout_test_cases109] PASSED [ 63%] src/img2pdf_test.py::test_layout[layout_test_cases110] PASSED [ 63%] src/img2pdf_test.py::test_layout[layout_test_cases111] PASSED [ 63%] src/img2pdf_test.py::test_layout[layout_test_cases112] PASSED [ 63%] src/img2pdf_test.py::test_layout[layout_test_cases113] PASSED [ 64%] src/img2pdf_test.py::test_layout[layout_test_cases114] PASSED [ 64%] src/img2pdf_test.py::test_layout[layout_test_cases115] PASSED [ 64%] src/img2pdf_test.py::test_layout[layout_test_cases116] PASSED [ 65%] src/img2pdf_test.py::test_layout[layout_test_cases117] PASSED [ 65%] src/img2pdf_test.py::test_layout[layout_test_cases118] PASSED [ 65%] src/img2pdf_test.py::test_layout[layout_test_cases119] PASSED [ 65%] src/img2pdf_test.py::test_layout[layout_test_cases120] PASSED [ 66%] src/img2pdf_test.py::test_layout[layout_test_cases121] PASSED [ 66%] src/img2pdf_test.py::test_layout[layout_test_cases122] PASSED [ 66%] src/img2pdf_test.py::test_layout[layout_test_cases123] PASSED [ 67%] src/img2pdf_test.py::test_layout[layout_test_cases124] PASSED [ 67%] src/img2pdf_test.py::test_layout[layout_test_cases125] PASSED [ 67%] src/img2pdf_test.py::test_layout[layout_test_cases126] PASSED [ 67%] src/img2pdf_test.py::test_layout[layout_test_cases127] PASSED [ 68%] src/img2pdf_test.py::test_layout[layout_test_cases128] PASSED [ 68%] src/img2pdf_test.py::test_layout[layout_test_cases129] PASSED [ 68%] src/img2pdf_test.py::test_layout[layout_test_cases130] PASSED [ 69%] src/img2pdf_test.py::test_layout[layout_test_cases131] PASSED [ 69%] src/img2pdf_test.py::test_layout[layout_test_cases132] PASSED [ 69%] src/img2pdf_test.py::test_layout[layout_test_cases133] PASSED [ 69%] src/img2pdf_test.py::test_layout[layout_test_cases134] PASSED [ 70%] src/img2pdf_test.py::test_layout[layout_test_cases135] PASSED [ 70%] src/img2pdf_test.py::test_layout[layout_test_cases136] PASSED [ 70%] src/img2pdf_test.py::test_layout[layout_test_cases137] PASSED [ 71%] src/img2pdf_test.py::test_layout[layout_test_cases138] PASSED [ 71%] src/img2pdf_test.py::test_layout[layout_test_cases139] PASSED [ 71%] src/img2pdf_test.py::test_layout[layout_test_cases140] PASSED [ 71%] src/img2pdf_test.py::test_layout[layout_test_cases141] PASSED [ 72%] src/img2pdf_test.py::test_layout[layout_test_cases142] PASSED [ 72%] src/img2pdf_test.py::test_layout[layout_test_cases143] PASSED [ 72%] src/img2pdf_test.py::test_layout[layout_test_cases144] PASSED [ 73%] src/img2pdf_test.py::test_layout[layout_test_cases145] PASSED [ 73%] src/img2pdf_test.py::test_layout[layout_test_cases146] PASSED [ 73%] src/img2pdf_test.py::test_layout[layout_test_cases147] PASSED [ 73%] src/img2pdf_test.py::test_layout[layout_test_cases148] PASSED [ 74%] src/img2pdf_test.py::test_layout[layout_test_cases149] PASSED [ 74%] src/img2pdf_test.py::test_layout[layout_test_cases150] PASSED [ 74%] src/img2pdf_test.py::test_layout[layout_test_cases151] PASSED [ 75%] src/img2pdf_test.py::test_layout[layout_test_cases152] PASSED [ 75%] src/img2pdf_test.py::test_layout[layout_test_cases153] PASSED [ 75%] src/img2pdf_test.py::test_layout[layout_test_cases154] PASSED [ 76%] src/img2pdf_test.py::test_layout[layout_test_cases155] PASSED [ 76%] src/img2pdf_test.py::test_layout[layout_test_cases156] PASSED [ 76%] src/img2pdf_test.py::test_layout[layout_test_cases157] PASSED [ 76%] src/img2pdf_test.py::test_layout[layout_test_cases158] PASSED [ 77%] src/img2pdf_test.py::test_layout[layout_test_cases159] PASSED [ 77%] src/img2pdf_test.py::test_layout[layout_test_cases160] PASSED [ 77%] src/img2pdf_test.py::test_layout[layout_test_cases161] PASSED [ 78%] src/img2pdf_test.py::test_layout[layout_test_cases162] PASSED [ 78%] src/img2pdf_test.py::test_layout[layout_test_cases163] PASSED [ 78%] src/img2pdf_test.py::test_layout[layout_test_cases164] PASSED [ 78%] src/img2pdf_test.py::test_layout[layout_test_cases165] PASSED [ 79%] src/img2pdf_test.py::test_layout[layout_test_cases166] PASSED [ 79%] src/img2pdf_test.py::test_layout[layout_test_cases167] PASSED [ 79%] src/img2pdf_test.py::test_layout[layout_test_cases168] PASSED [ 80%] src/img2pdf_test.py::test_layout[layout_test_cases169] PASSED [ 80%] src/img2pdf_test.py::test_layout[layout_test_cases170] PASSED [ 80%] src/img2pdf_test.py::test_layout[layout_test_cases171] PASSED [ 80%] src/img2pdf_test.py::test_layout[layout_test_cases172] PASSED [ 81%] src/img2pdf_test.py::test_layout[layout_test_cases173] PASSED [ 81%] src/img2pdf_test.py::test_layout[layout_test_cases174] PASSED [ 81%] src/img2pdf_test.py::test_layout[layout_test_cases175] PASSED [ 82%] src/img2pdf_test.py::test_layout[layout_test_cases176] PASSED [ 82%] src/img2pdf_test.py::test_layout[layout_test_cases177] PASSED [ 82%] src/img2pdf_test.py::test_layout[layout_test_cases178] PASSED [ 82%] src/img2pdf_test.py::test_layout[layout_test_cases179] PASSED [ 83%] src/img2pdf_test.py::test_layout[layout_test_cases180] PASSED [ 83%] src/img2pdf_test.py::test_faketime[internal-2021-02-05 17:49:00-Europe/Berlin-True] SKIPPED [ 83%] src/img2pdf_test.py::test_faketime[internal-2021-02-05 17:49:00-Europe/Berlin-False] SKIPPED [ 84%] src/img2pdf_test.py::test_faketime[internal-2021-02-05 17:49:00-GMT+12-True] SKIPPED [ 84%] src/img2pdf_test.py::test_faketime[internal-2021-02-05 17:49:00-GMT+12-False] SKIPPED [ 84%] src/img2pdf_test.py::test_faketime[pikepdf-2021-02-05 17:49:00-Europe/Berlin-True] SKIPPED [ 84%] src/img2pdf_test.py::test_faketime[pikepdf-2021-02-05 17:49:00-Europe/Berlin-False] SKIPPED [ 85%] src/img2pdf_test.py::test_faketime[pikepdf-2021-02-05 17:49:00-GMT+12-True] SKIPPED [ 85%] src/img2pdf_test.py::test_faketime[pikepdf-2021-02-05 17:49:00-GMT+12-False] SKIPPED [ 85%] src/img2pdf_test.py::test_date[internal-2021-02-05 17:49:00-Europe/Berlin-True] PASSED [ 86%] src/img2pdf_test.py::test_date[internal-2021-02-05 17:49:00-Europe/Berlin-False] PASSED [ 86%] src/img2pdf_test.py::test_date[internal-2021-02-05 17:49:00-GMT+12-True] PASSED [ 86%] src/img2pdf_test.py::test_date[internal-2021-02-05 17:49:00-GMT+12-False] PASSED [ 86%] src/img2pdf_test.py::test_date[internal-2021-02-05T17:49:00-Europe/Berlin-True] PASSED [ 87%] src/img2pdf_test.py::test_date[internal-2021-02-05T17:49:00-Europe/Berlin-False] PASSED [ 87%] src/img2pdf_test.py::test_date[internal-2021-02-05T17:49:00-GMT+12-True] PASSED [ 87%] src/img2pdf_test.py::test_date[internal-2021-02-05T17:49:00-GMT+12-False] PASSED [ 88%] src/img2pdf_test.py::test_date[internal-Fri, 05 Feb 2021 17:49:00 +0100-Europe/Berlin-True] PASSED [ 88%] src/img2pdf_test.py::test_date[internal-Fri, 05 Feb 2021 17:49:00 +0100-Europe/Berlin-False] PASSED [ 88%] src/img2pdf_test.py::test_date[internal-Fri, 05 Feb 2021 17:49:00 +0100-GMT+12-True] PASSED [ 89%] src/img2pdf_test.py::test_date[internal-Fri, 05 Feb 2021 17:49:00 +0100-GMT+12-False] PASSED [ 89%] src/img2pdf_test.py::test_date[internal-last year 12:00-Europe/Berlin-True] PASSED [ 89%] src/img2pdf_test.py::test_date[internal-last year 12:00-Europe/Berlin-False] PASSED [ 89%] src/img2pdf_test.py::test_date[internal-last year 12:00-GMT+12-True] PASSED [ 90%] src/img2pdf_test.py::test_date[internal-last year 12:00-GMT+12-False] PASSED [ 90%] src/img2pdf_test.py::test_date[pikepdf-2021-02-05 17:49:00-Europe/Berlin-True] PASSED [ 90%] src/img2pdf_test.py::test_date[pikepdf-2021-02-05 17:49:00-Europe/Berlin-False] PASSED [ 91%] src/img2pdf_test.py::test_date[pikepdf-2021-02-05 17:49:00-GMT+12-True] PASSED [ 91%] src/img2pdf_test.py::test_date[pikepdf-2021-02-05 17:49:00-GMT+12-False] PASSED [ 91%] src/img2pdf_test.py::test_date[pikepdf-2021-02-05T17:49:00-Europe/Berlin-True] PASSED [ 91%] src/img2pdf_test.py::test_date[pikepdf-2021-02-05T17:49:00-Europe/Berlin-False] PASSED [ 92%] src/img2pdf_test.py::test_date[pikepdf-2021-02-05T17:49:00-GMT+12-True] PASSED [ 92%] src/img2pdf_test.py::test_date[pikepdf-2021-02-05T17:49:00-GMT+12-False] PASSED [ 92%] src/img2pdf_test.py::test_date[pikepdf-Fri, 05 Feb 2021 17:49:00 +0100-Europe/Berlin-True] PASSED [ 93%] src/img2pdf_test.py::test_date[pikepdf-Fri, 05 Feb 2021 17:49:00 +0100-Europe/Berlin-False] PASSED [ 93%] src/img2pdf_test.py::test_date[pikepdf-Fri, 05 Feb 2021 17:49:00 +0100-GMT+12-True] PASSED [ 93%] src/img2pdf_test.py::test_date[pikepdf-Fri, 05 Feb 2021 17:49:00 +0100-GMT+12-False] PASSED [ 93%] src/img2pdf_test.py::test_date[pikepdf-last year 12:00-Europe/Berlin-True] PASSED [ 94%] src/img2pdf_test.py::test_date[pikepdf-last year 12:00-Europe/Berlin-False] PASSED [ 94%] src/img2pdf_test.py::test_date[pikepdf-last year 12:00-GMT+12-True] PASSED [ 94%] src/img2pdf_test.py::test_date[pikepdf-last year 12:00-GMT+12-False] PASSED [ 95%] src/img2pdf_test.py::test_general[CMYK.jpg-internal] PASSED [ 95%] src/img2pdf_test.py::test_general[CMYK.jpg-pikepdf] PASSED [ 95%] src/img2pdf_test.py::test_general[CMYK.tif-internal] PASSED [ 95%] src/img2pdf_test.py::test_general[CMYK.tif-pikepdf] PASSED [ 96%] src/img2pdf_test.py::test_general[animation.gif-internal] PASSED [ 96%] src/img2pdf_test.py::test_general[animation.gif-pikepdf] PASSED [ 96%] src/img2pdf_test.py::test_general[gray.png-internal] PASSED [ 97%] src/img2pdf_test.py::test_general[gray.png-pikepdf] PASSED [ 97%] src/img2pdf_test.py::test_general[mono.png-internal] PASSED [ 97%] src/img2pdf_test.py::test_general[mono.png-pikepdf] PASSED [ 97%] src/img2pdf_test.py::test_general[mono.tif-internal] PASSED [ 98%] src/img2pdf_test.py::test_general[mono.tif-pikepdf] PASSED [ 98%] src/img2pdf_test.py::test_general[normal.jpg-internal] PASSED [ 98%] src/img2pdf_test.py::test_general[normal.jpg-pikepdf] PASSED [ 99%] src/img2pdf_test.py::test_general[normal.png-internal] PASSED [ 99%] src/img2pdf_test.py::test_general[normal.png-pikepdf] PASSED [ 99%] src/img2pdf_test.py::test_return_engine_doc PASSED [100%] =================================== FAILURES =================================== ___________________________ test_png_rgb16[internal] ___________________________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') png_rgb16_img = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/normal16_png0/normal16.png') png_rgb16_pdf = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/png_rgb16_pdf0/out.pdf') @pytest.mark.skipif( sys.platform in ["win32"], reason="test utilities not available on Windows and MacOS", ) def test_png_rgb16(tmp_path_factory, png_rgb16_img, png_rgb16_pdf): tmpdir = tmp_path_factory.mktemp("png_rgb16") compare_ghostscript(tmpdir, png_rgb16_img, png_rgb16_pdf, gsdevice="tiff48nc") # poppler outputs 8-bit RGB so the comparison will not be exact > compare_poppler(tmpdir, png_rgb16_img, png_rgb16_pdf, exact=False) src/img2pdf_test.py:5661: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/img2pdf_test.py:422: in compare_poppler compare(str(img), str(tmpdir / "poppler-1.png"), exact, icc, False) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ im1 = '/tmp/pytest-of-mockbuild/pytest-0/normal16_png0/normal16.png' im2 = '/tmp/pytest-of-mockbuild/pytest-0/png_rgb160/poppler-1.png' exact = False, icc = False, cmyk = False def compare(im1, im2, exact, icc, cmyk): if exact: if cmyk and not HAVE_EXACT_CMYK8: raise Exception("cmyk cannot be exact before ImageMagick 7.1.0-48") elif icc: raise Exception("icc cannot be exact") else: subprocess.check_call( COMPARE + [ "-metric", "AE", "-alpha", "off", im1, im2, "null:", ] ) else: iccargs = [] if icc: if ICC_PROFILE is None: pytest.skip("Could not locate an ICC profile") iccargs = ["-profile", ICC_PROFILE] psnr = subprocess.run( COMPARE + iccargs + [ "-metric", "PSNR", im1, im2, "null:", ], check=False, stderr=subprocess.PIPE, ).stderr assert psnr != b"0" assert psnr != b"0 (0)" > assert psnr_re.fullmatch(psnr) is not None, psnr E AssertionError: b'4.27547e-05 (8.87677e-07)' E assert None is not None E + where None = (b'4.27547e-05 (8.87677e-07)') E + where = re.compile(b'((?:inf|(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?))(?: \\([0-9.]+\\))?').fullmatch src/img2pdf_test.py:388: AssertionError ----------------------------- Captured stderr call ----------------------------- 0 (0) ___________________________ test_png_rgb16[pikepdf] ____________________________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') png_rgb16_img = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/normal16_png0/normal16.png') png_rgb16_pdf = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/png_rgb16_pdf1/out.pdf') @pytest.mark.skipif( sys.platform in ["win32"], reason="test utilities not available on Windows and MacOS", ) def test_png_rgb16(tmp_path_factory, png_rgb16_img, png_rgb16_pdf): tmpdir = tmp_path_factory.mktemp("png_rgb16") compare_ghostscript(tmpdir, png_rgb16_img, png_rgb16_pdf, gsdevice="tiff48nc") # poppler outputs 8-bit RGB so the comparison will not be exact > compare_poppler(tmpdir, png_rgb16_img, png_rgb16_pdf, exact=False) src/img2pdf_test.py:5661: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/img2pdf_test.py:422: in compare_poppler compare(str(img), str(tmpdir / "poppler-1.png"), exact, icc, False) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ im1 = '/tmp/pytest-of-mockbuild/pytest-0/normal16_png0/normal16.png' im2 = '/tmp/pytest-of-mockbuild/pytest-0/png_rgb161/poppler-1.png' exact = False, icc = False, cmyk = False def compare(im1, im2, exact, icc, cmyk): if exact: if cmyk and not HAVE_EXACT_CMYK8: raise Exception("cmyk cannot be exact before ImageMagick 7.1.0-48") elif icc: raise Exception("icc cannot be exact") else: subprocess.check_call( COMPARE + [ "-metric", "AE", "-alpha", "off", im1, im2, "null:", ] ) else: iccargs = [] if icc: if ICC_PROFILE is None: pytest.skip("Could not locate an ICC profile") iccargs = ["-profile", ICC_PROFILE] psnr = subprocess.run( COMPARE + iccargs + [ "-metric", "PSNR", im1, im2, "null:", ], check=False, stderr=subprocess.PIPE, ).stderr assert psnr != b"0" assert psnr != b"0 (0)" > assert psnr_re.fullmatch(psnr) is not None, psnr E AssertionError: b'4.27547e-05 (8.87677e-07)' E assert None is not None E + where None = (b'4.27547e-05 (8.87677e-07)') E + where = re.compile(b'((?:inf|(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?))(?: \\([0-9.]+\\))?').fullmatch src/img2pdf_test.py:388: AssertionError ----------------------------- Captured stderr call ----------------------------- 0 (0) __________________________ test_png_gray16[internal] ___________________________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') png_gray16_img = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/gray16_png0/gray16.png') png_gray16_pdf = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/png_gray16_pdf0/out.pdf') @pytest.mark.skipif( sys.platform in ["win32"], reason="test utilities not available on Windows and MacOS", ) def test_png_gray16(tmp_path_factory, png_gray16_img, png_gray16_pdf): tmpdir = tmp_path_factory.mktemp("png_gray16") # ghostscript outputs 8-bit grayscale, so the comparison will not be exact > compare_ghostscript( tmpdir, png_gray16_img, png_gray16_pdf, gsdevice="pnggray", exact=False ) src/img2pdf_test.py:5796: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/img2pdf_test.py:414: in compare_ghostscript compare(str(img), str(tmpdir / "gs-1.") + ext, exact, icc, False) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ im1 = '/tmp/pytest-of-mockbuild/pytest-0/gray16_png0/gray16.png' im2 = '/tmp/pytest-of-mockbuild/pytest-0/png_gray160/gs-1.png', exact = False icc = False, cmyk = False def compare(im1, im2, exact, icc, cmyk): if exact: if cmyk and not HAVE_EXACT_CMYK8: raise Exception("cmyk cannot be exact before ImageMagick 7.1.0-48") elif icc: raise Exception("icc cannot be exact") else: subprocess.check_call( COMPARE + [ "-metric", "AE", "-alpha", "off", im1, im2, "null:", ] ) else: iccargs = [] if icc: if ICC_PROFILE is None: pytest.skip("Could not locate an ICC profile") iccargs = ["-profile", ICC_PROFILE] psnr = subprocess.run( COMPARE + iccargs + [ "-metric", "PSNR", im1, im2, "null:", ], check=False, stderr=subprocess.PIPE, ).stderr assert psnr != b"0" assert psnr != b"0 (0)" > assert psnr_re.fullmatch(psnr) is not None, psnr E AssertionError: b'4.24454e-05 (8.81255e-07)' E assert None is not None E + where None = (b'4.24454e-05 (8.81255e-07)') E + where = re.compile(b'((?:inf|(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?))(?: \\([0-9.]+\\))?').fullmatch src/img2pdf_test.py:388: AssertionError ___________________________ test_png_gray16[pikepdf] ___________________________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') png_gray16_img = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/gray16_png0/gray16.png') png_gray16_pdf = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/png_gray16_pdf1/out.pdf') @pytest.mark.skipif( sys.platform in ["win32"], reason="test utilities not available on Windows and MacOS", ) def test_png_gray16(tmp_path_factory, png_gray16_img, png_gray16_pdf): tmpdir = tmp_path_factory.mktemp("png_gray16") # ghostscript outputs 8-bit grayscale, so the comparison will not be exact > compare_ghostscript( tmpdir, png_gray16_img, png_gray16_pdf, gsdevice="pnggray", exact=False ) src/img2pdf_test.py:5796: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/img2pdf_test.py:414: in compare_ghostscript compare(str(img), str(tmpdir / "gs-1.") + ext, exact, icc, False) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ im1 = '/tmp/pytest-of-mockbuild/pytest-0/gray16_png0/gray16.png' im2 = '/tmp/pytest-of-mockbuild/pytest-0/png_gray161/gs-1.png', exact = False icc = False, cmyk = False def compare(im1, im2, exact, icc, cmyk): if exact: if cmyk and not HAVE_EXACT_CMYK8: raise Exception("cmyk cannot be exact before ImageMagick 7.1.0-48") elif icc: raise Exception("icc cannot be exact") else: subprocess.check_call( COMPARE + [ "-metric", "AE", "-alpha", "off", im1, im2, "null:", ] ) else: iccargs = [] if icc: if ICC_PROFILE is None: pytest.skip("Could not locate an ICC profile") iccargs = ["-profile", ICC_PROFILE] psnr = subprocess.run( COMPARE + iccargs + [ "-metric", "PSNR", im1, im2, "null:", ], check=False, stderr=subprocess.PIPE, ).stderr assert psnr != b"0" assert psnr != b"0 (0)" > assert psnr_re.fullmatch(psnr) is not None, psnr E AssertionError: b'4.24454e-05 (8.81255e-07)' E assert None is not None E + where None = (b'4.24454e-05 (8.81255e-07)') E + where = re.compile(b'((?:inf|(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?))(?: \\([0-9.]+\\))?').fullmatch src/img2pdf_test.py:388: AssertionError =========================== short test summary info ============================ FAILED src/img2pdf_test.py::test_png_rgb16[internal] - AssertionError: b'4.27... FAILED src/img2pdf_test.py::test_png_rgb16[pikepdf] - AssertionError: b'4.275... FAILED src/img2pdf_test.py::test_png_gray16[internal] - AssertionError: b'4.2... FAILED src/img2pdf_test.py::test_png_gray16[pikepdf] - AssertionError: b'4.24... =========== 4 failed, 334 passed, 8 skipped, 6 deselected in 49.33s ============ RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.uLUB7z (%check) Bad exit status from /var/tmp/rpm-tmp.uLUB7z (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 650c15bb3e1142bf959ee8b8c4d9e656 -D /var/lib/mock/f43-build-59182240-6571558/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.w_x_wwgm:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-img2pdf.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 650c15bb3e1142bf959ee8b8c4d9e656 -D /var/lib/mock/f43-build-59182240-6571558/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.w_x_wwgm:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-img2pdf.spec'