Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-xprocess.spec'], chrootPath='/var/lib/mock/f42-build-3365076-45045/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=864000uid=993gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q8g02a4i:/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.q8g02a4i:/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', '5928f2b54c2e455fb0bb73a0caa39276', '-D', '/var/lib/mock/f42-build-3365076-45045/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q8g02a4i:/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-pytest-xprocess.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=1737158400 Wrote: /builddir/build/SRPMS/python-pytest-xprocess-1.0.2-4.fc42.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-pytest-xprocess.spec'], chrootPath='/var/lib/mock/f42-build-3365076-45045/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=864000uid=993gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q8g02a4i:/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.q8g02a4i:/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', '650e1a9cf30248bcafeb30cc6783187d', '-D', '/var/lib/mock/f42-build-3365076-45045/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q8g02a4i:/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-pytest-xprocess.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=1737158400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.MsEvX9 + umask 022 + cd /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build + test -d /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build + /usr/bin/rm -rf /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qL1MN2 + umask 022 + cd /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build + cd /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build + rm -rf pytest-xprocess-1.0.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytest-xprocess-1.0.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-xprocess-1.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf pytest-xprocess.egg-info + chmod -x README.rst + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Wotjvg + umask 022 + cd /builddir/build/BUILD/python-pytest-xprocess-1.0.2-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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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-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 pytest-xprocess-1.0.2 + 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 -fasynchronous-unwind-tables -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-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/xprocess copying xprocess/__init__.py -> build/lib/xprocess copying xprocess/xprocess.py -> build/lib/xprocess copying xprocess/pytest_xprocess.py -> build/lib/xprocess + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.M0MJTQ + umask 022 + cd /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build + '[' /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build + mkdir /builddir/build/BUILD/python-pytest-xprocess-1.0.2-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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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-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 pytest-xprocess-1.0.2 + 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 -fasynchronous-unwind-tables -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-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT --prefix /usr running install /usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:66: 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-pytest-xprocess-1.0.2-build/BUILDROOT/usr creating /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT/usr/lib creating /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT/usr/lib/python3.13 creating /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT/usr/lib/python3.13/site-packages creating /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT/usr/lib/python3.13/site-packages/xprocess copying build/lib/xprocess/__init__.py -> /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT/usr/lib/python3.13/site-packages/xprocess copying build/lib/xprocess/xprocess.py -> /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT/usr/lib/python3.13/site-packages/xprocess copying build/lib/xprocess/pytest_xprocess.py -> /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT/usr/lib/python3.13/site-packages/xprocess byte-compiling /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT/usr/lib/python3.13/site-packages/xprocess/__init__.py to __init__.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT/usr/lib/python3.13/site-packages/xprocess/xprocess.py to xprocess.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT/usr/lib/python3.13/site-packages/xprocess/pytest_xprocess.py to pytest_xprocess.cpython-313.pyc writing byte-compilation script '/tmp/tmpfs15bdls.py' /usr/bin/python3 /tmp/tmpfs15bdls.py removing /tmp/tmpfs15bdls.py running install_egg_info running egg_info writing pytest_xprocess.egg-info/PKG-INFO writing dependency_links to pytest_xprocess.egg-info/dependency_links.txt writing entry points to pytest_xprocess.egg-info/entry_points.txt writing requirements to pytest_xprocess.egg-info/requires.txt writing top-level names to pytest_xprocess.egg-info/top_level.txt reading manifest file 'pytest_xprocess.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'CHANGELOG' adding license file 'LICENSE' writing manifest file 'pytest_xprocess.egg-info/SOURCES.txt' Copying pytest_xprocess.egg-info to /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT/usr/lib/python3.13/site-packages/pytest_xprocess-1.0.2-py3.13.egg-info running install_scripts + rm -rfv /builddir/build/BUILD/python-pytest-xprocess-1.0.2-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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j32 Bytecompiling .py files below /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT/usr/lib/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j32 /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT/usr/lib/python3.13/site-packages/xprocess/__pycache__/__init__.cpython-313.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT/usr/lib/python3.13/site-packages/xprocess/__pycache__/pytest_xprocess.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT/usr/lib/python3.13/site-packages/xprocess/__pycache__/xprocess.cpython-313.opt-1.pyc: rewriting with normalized contents Scanned 8 directories and 15 files, processed 3 inodes, 3 modified (0 replaced + 3 rewritten), 0 unsupported format, 0 errors Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.VowO4y + umask 022 + cd /builddir/build/BUILD/python-pytest-xprocess-1.0.2-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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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-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 pytest-xprocess-1.0.2 + 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 -fasynchronous-unwind-tables -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-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_XDIST_AUTO_NUM_WORKERS=32 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0 rootdir: /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/pytest-xprocess-1.0.2 configfile: tox.ini plugins: xprocess-1.0.2 collected 51 items tests/test_callback.py ...... [ 11%] tests/test_functional_workflow.py . [ 13%] tests/test_interruption_clean_up.py .. [ 17%] tests/test_process_initialization.py ...............FFFFFF [ 58%] tests/test_process_termination.py ............... [ 88%] tests/test_resource_cleanup.py ... [ 94%] tests/test_startup_timeout.py ..F [100%] =================================== FAILURES =================================== _______________________ test_startup_without_pattern[s1] _______________________ tcp_port = 45909, proc_name = 's1' xprocess = @pytest.mark.parametrize("proc_name", ["s1", "s2", "s3"]) def test_startup_without_pattern(tcp_port, proc_name, xprocess): data = "bacon\n" class Starter(ProcessStarter): args = [sys.executable, server_path, tcp_port, "--no-children"] def startup_check(self): return request_response_cycle(tcp_port, data) > xprocess.ensure(proc_name, Starter) tests/test_process_initialization.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.13/site-packages/xprocess/xprocess.py:284: in ensure if not starter.wait(log_file_handle): ../BUILDROOT/usr/lib/python3.13/site-packages/xprocess/xprocess.py:413: in wait callback_ok = self.wait_callback() ../BUILDROOT/usr/lib/python3.13/site-packages/xprocess/xprocess.py:388: in wait_callback if self.startup_check(): tests/test_process_initialization.py:129: in startup_check return request_response_cycle(tcp_port, data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tcp_port = 45909, data = 'bacon\n' def request_response_cycle(tcp_port, data): """test started server instance by sending request and checking response""" with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: > sock.connect(("localhost", tcp_port)) E ConnectionRefusedError: [Errno 111] Connection refused tests/test_process_initialization.py:16: ConnectionRefusedError ----------------------------- Captured stdout call ----------------------------- /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/pytest-xprocess-1.0.2/.pytest_cache/d/.xprocess/s1$ /usr/bin/python3 /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/pytest-xprocess-1.0.2/tests/server.py 45909 --no-children process 's1' started pid=283 _______________________ test_startup_without_pattern[s2] _______________________ tcp_port = 42747, proc_name = 's2' xprocess = @pytest.mark.parametrize("proc_name", ["s1", "s2", "s3"]) def test_startup_without_pattern(tcp_port, proc_name, xprocess): data = "bacon\n" class Starter(ProcessStarter): args = [sys.executable, server_path, tcp_port, "--no-children"] def startup_check(self): return request_response_cycle(tcp_port, data) > xprocess.ensure(proc_name, Starter) tests/test_process_initialization.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.13/site-packages/xprocess/xprocess.py:284: in ensure if not starter.wait(log_file_handle): ../BUILDROOT/usr/lib/python3.13/site-packages/xprocess/xprocess.py:413: in wait callback_ok = self.wait_callback() ../BUILDROOT/usr/lib/python3.13/site-packages/xprocess/xprocess.py:388: in wait_callback if self.startup_check(): tests/test_process_initialization.py:129: in startup_check return request_response_cycle(tcp_port, data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tcp_port = 42747, data = 'bacon\n' def request_response_cycle(tcp_port, data): """test started server instance by sending request and checking response""" with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: > sock.connect(("localhost", tcp_port)) E ConnectionRefusedError: [Errno 111] Connection refused tests/test_process_initialization.py:16: ConnectionRefusedError ----------------------------- Captured stdout call ----------------------------- /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/pytest-xprocess-1.0.2/.pytest_cache/d/.xprocess/s2$ /usr/bin/python3 /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/pytest-xprocess-1.0.2/tests/server.py 42747 --no-children process 's2' started pid=284 _______________________ test_startup_without_pattern[s3] _______________________ tcp_port = 46695, proc_name = 's3' xprocess = @pytest.mark.parametrize("proc_name", ["s1", "s2", "s3"]) def test_startup_without_pattern(tcp_port, proc_name, xprocess): data = "bacon\n" class Starter(ProcessStarter): args = [sys.executable, server_path, tcp_port, "--no-children"] def startup_check(self): return request_response_cycle(tcp_port, data) > xprocess.ensure(proc_name, Starter) tests/test_process_initialization.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.13/site-packages/xprocess/xprocess.py:284: in ensure if not starter.wait(log_file_handle): ../BUILDROOT/usr/lib/python3.13/site-packages/xprocess/xprocess.py:413: in wait callback_ok = self.wait_callback() ../BUILDROOT/usr/lib/python3.13/site-packages/xprocess/xprocess.py:388: in wait_callback if self.startup_check(): tests/test_process_initialization.py:129: in startup_check return request_response_cycle(tcp_port, data) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tcp_port = 46695, data = 'bacon\n' def request_response_cycle(tcp_port, data): """test started server instance by sending request and checking response""" with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: > sock.connect(("localhost", tcp_port)) E ConnectionRefusedError: [Errno 111] Connection refused tests/test_process_initialization.py:16: ConnectionRefusedError ----------------------------- Captured stdout call ----------------------------- /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/pytest-xprocess-1.0.2/.pytest_cache/d/.xprocess/s3$ /usr/bin/python3 /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/pytest-xprocess-1.0.2/tests/server.py 46695 --no-children process 's3' started pid=285 _________ test_startup_with_pattern_and_callback[s1-will not match-21] _________ tcp_port = 60119, proc_name = 's1', proc_pttrn = 'will not match', lines = 21 xprocess = @pytest.mark.parametrize( "proc_name,proc_pttrn,lines", [ ("s1", "will not match", 21), ("s2", "spam, bacon, eggs", 30), ("s3", "finally started", 130), ], ) def test_startup_with_pattern_and_callback( tcp_port, proc_name, proc_pttrn, lines, xprocess ): data = "bacon\n" class Starter(ProcessStarter): pattern = proc_pttrn max_read_lines = lines args = [sys.executable, server_path, tcp_port, "--no-children"] def startup_check(self): return request_response_cycle(tcp_port, data) if proc_name == "s1": > with pytest.raises(RuntimeError): E Failed: DID NOT RAISE tests/test_process_initialization.py:159: Failed _______ test_startup_with_pattern_and_callback[s2-spam, bacon, eggs-30] ________ tcp_port = 46775, proc_name = 's2', proc_pttrn = 'spam, bacon, eggs', lines = 30 xprocess = @pytest.mark.parametrize( "proc_name,proc_pttrn,lines", [ ("s1", "will not match", 21), ("s2", "spam, bacon, eggs", 30), ("s3", "finally started", 130), ], ) def test_startup_with_pattern_and_callback( tcp_port, proc_name, proc_pttrn, lines, xprocess ): data = "bacon\n" class Starter(ProcessStarter): pattern = proc_pttrn max_read_lines = lines args = [sys.executable, server_path, tcp_port, "--no-children"] def startup_check(self): return request_response_cycle(tcp_port, data) if proc_name == "s1": with pytest.raises(RuntimeError): xprocess.ensure(proc_name, Starter) # since we made xprocess fail to start the server on purpose, we cannot # terminate it using XProcessInfo.terminate method once it does not # know the PID, process name or even that it is running, so we tell the # server to terminate itself. with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: sock.connect(("localhost", tcp_port)) sock.sendall(bytes("exit\n", "utf-8")) else: xprocess.ensure(proc_name, Starter) info = xprocess.getinfo(proc_name) assert info.isrunning() > assert request_response_cycle(tcp_port, data) tests/test_process_initialization.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tcp_port = 46775, data = 'bacon\n' def request_response_cycle(tcp_port, data): """test started server instance by sending request and checking response""" with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: > sock.connect(("localhost", tcp_port)) E ConnectionRefusedError: [Errno 111] Connection refused tests/test_process_initialization.py:16: ConnectionRefusedError ________ test_startup_with_pattern_and_callback[s3-finally started-130] ________ tcp_port = 42337, proc_name = 's3', proc_pttrn = 'finally started', lines = 130 xprocess = @pytest.mark.parametrize( "proc_name,proc_pttrn,lines", [ ("s1", "will not match", 21), ("s2", "spam, bacon, eggs", 30), ("s3", "finally started", 130), ], ) def test_startup_with_pattern_and_callback( tcp_port, proc_name, proc_pttrn, lines, xprocess ): data = "bacon\n" class Starter(ProcessStarter): pattern = proc_pttrn max_read_lines = lines args = [sys.executable, server_path, tcp_port, "--no-children"] def startup_check(self): return request_response_cycle(tcp_port, data) if proc_name == "s1": with pytest.raises(RuntimeError): xprocess.ensure(proc_name, Starter) # since we made xprocess fail to start the server on purpose, we cannot # terminate it using XProcessInfo.terminate method once it does not # know the PID, process name or even that it is running, so we tell the # server to terminate itself. with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: sock.connect(("localhost", tcp_port)) sock.sendall(bytes("exit\n", "utf-8")) else: xprocess.ensure(proc_name, Starter) info = xprocess.getinfo(proc_name) assert info.isrunning() > assert request_response_cycle(tcp_port, data) tests/test_process_initialization.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tcp_port = 42337, data = 'bacon\n' def request_response_cycle(tcp_port, data): """test started server instance by sending request and checking response""" with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: > sock.connect(("localhost", tcp_port)) E ConnectionRefusedError: [Errno 111] Connection refused tests/test_process_initialization.py:16: ConnectionRefusedError _______________________ test_timeout_raise_exception[s3] _______________________ tcp_port = 38291, proc_name = 's3' xprocess = request = > @pytest.mark.parametrize("proc_name", ["s1", "s2", "s3"]) def test_timeout_raise_exception(tcp_port, proc_name, xprocess, request): class Starter(ProcessStarter): timeout = 2 max_read_lines = 500 pattern = "will not match" args = [sys.executable, server_path, tcp_port, "--no-children"] with pytest.raises(TimeoutError): xprocess.ensure(proc_name, Starter) > cleanup_server_instance(tcp_port) tests/test_startup_timeout.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tcp_port = 38291 def cleanup_server_instance(tcp_port): sock = socket.socket() > sock.connect(("localhost", tcp_port)) E ConnectionRefusedError: [Errno 111] Connection refused tests/test_startup_timeout.py:15: ConnectionRefusedError ----------------------------- Captured stdout call ----------------------------- /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/pytest-xprocess-1.0.2/.pytest_cache/d/.xprocess/s3$ /usr/bin/python3 /builddir/build/BUILD/python-pytest-xprocess-1.0.2-build/pytest-xprocess-1.0.2/tests/server.py 38291 --no-children process 's3' started pid=342 =========================== short test summary info ============================ FAILED tests/test_process_initialization.py::test_startup_without_pattern[s1] FAILED tests/test_process_initialization.py::test_startup_without_pattern[s2] FAILED tests/test_process_initialization.py::test_startup_without_pattern[s3] FAILED tests/test_process_initialization.py::test_startup_with_pattern_and_callback[s1-will not match-21] FAILED tests/test_process_initialization.py::test_startup_with_pattern_and_callback[s2-spam, bacon, eggs-30] FAILED tests/test_process_initialization.py::test_startup_with_pattern_and_callback[s3-finally started-130] FAILED tests/test_startup_timeout.py::test_timeout_raise_exception[s3] - Conn... =================== 7 failed, 44 passed in 229.49s (0:03:49) =================== error: Bad exit status from /var/tmp/rpm-tmp.VowO4y (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.VowO4y (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 650e1a9cf30248bcafeb30cc6783187d -D /var/lib/mock/f42-build-3365076-45045/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.q8g02a4i:/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-pytest-xprocess.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 650e1a9cf30248bcafeb30cc6783187d -D /var/lib/mock/f42-build-3365076-45045/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.q8g02a4i:/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-pytest-xprocess.spec'