Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 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/f40-build-1465732-23661/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=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5gystyiw:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5gystyiw:/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', '2a466e9e3511465d9abc23b9c9eba824', '-D', '/var/lib/mock/f40-build-1465732-23661/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5gystyiw:/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=1716163200 Wrote: /builddir/build/SRPMS/python-pytest-xprocess-1.0.2-1.fc40.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/f40-build-1465732-23661/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=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5gystyiw:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5gystyiw:/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', 'e8e1147d465d4097952c482c90c567fb', '-D', '/var/lib/mock/f40-build-1465732-23661/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5gystyiw:/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=1716163200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AmHBH4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/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 + rm -rf /builddir/build/BUILD/pytest-xprocess-1.0.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/pytest-xprocess-1.0.2-SPECPARTS + /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.Eiu8ap + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 ' + export CFLAGS + CXXFLAGS='-O2 -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 ' + export CXXFLAGS + FFLAGS='-O2 -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 -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -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-errors -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 -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 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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/pytest_xprocess.py -> build/lib/xprocess copying xprocess/__init__.py -> build/lib/xprocess copying xprocess/xprocess.py -> build/lib/xprocess + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.O6T8oW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch ++ dirname /builddir/build/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch + CFLAGS='-O2 -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 ' + export CFLAGS + CXXFLAGS='-O2 -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 ' + export CXXFLAGS + FFLAGS='-O2 -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 -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -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-errors -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 -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 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch --prefix /usr running install /usr/lib/python3.12/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/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr creating /builddir/build/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib creating /builddir/build/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12 creating /builddir/build/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages creating /builddir/build/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/xprocess copying build/lib/xprocess/pytest_xprocess.py -> /builddir/build/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/xprocess copying build/lib/xprocess/__init__.py -> /builddir/build/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/xprocess copying build/lib/xprocess/xprocess.py -> /builddir/build/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/xprocess byte-compiling /builddir/build/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/xprocess/pytest_xprocess.py to pytest_xprocess.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/xprocess/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/xprocess/xprocess.py to xprocess.cpython-312.pyc writing byte-compilation script '/tmp/tmpl5gcxjug.py' /usr/bin/python3 /tmp/tmpl5gcxjug.py removing /tmp/tmpl5gcxjug.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/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/pytest_xprocess-1.0.2-py3.12.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.0.2-1.fc40 --unique-debug-suffix -1.0.2-1.fc40.noarch --unique-debug-src-base python-pytest-xprocess-1.0.2-1.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pytest-xprocess-1.0.2 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /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/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.79YdHF + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 ' + export CFLAGS + CXXFLAGS='-O2 -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 ' + export CXXFLAGS + FFLAGS='-O2 -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 -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -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-errors -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 -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 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_XDIST_AUTO_NUM_WORKERS=32 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.12.4, pytest-7.4.3, pluggy-1.3.0 rootdir: /builddir/build/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 ... [100%] =================================== FAILURES =================================== _______________________ test_startup_without_pattern[s1] _______________________ tcp_port = 37953, 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/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/xprocess/xprocess.py:284: in ensure if not starter.wait(log_file_handle): ../../BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/xprocess/xprocess.py:413: in wait callback_ok = self.wait_callback() ../../BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12/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 = 37953, 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/pytest-xprocess-1.0.2/.pytest_cache/d/.xprocess/s1$ /usr/bin/python3 /builddir/build/BUILD/pytest-xprocess-1.0.2/tests/server.py 37953 --no-children process 's1' started pid=249 _______________________ test_startup_without_pattern[s2] _______________________ tcp_port = 57093, 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/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/xprocess/xprocess.py:284: in ensure if not starter.wait(log_file_handle): ../../BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/xprocess/xprocess.py:413: in wait callback_ok = self.wait_callback() ../../BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12/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 = 57093, 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/pytest-xprocess-1.0.2/.pytest_cache/d/.xprocess/s2$ /usr/bin/python3 /builddir/build/BUILD/pytest-xprocess-1.0.2/tests/server.py 57093 --no-children process 's2' started pid=250 _______________________ test_startup_without_pattern[s3] _______________________ tcp_port = 50663, 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/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/xprocess/xprocess.py:284: in ensure if not starter.wait(log_file_handle): ../../BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12/site-packages/xprocess/xprocess.py:413: in wait callback_ok = self.wait_callback() ../../BUILDROOT/python-pytest-xprocess-1.0.2-1.fc40.noarch/usr/lib/python3.12/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 = 50663, 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/pytest-xprocess-1.0.2/.pytest_cache/d/.xprocess/s3$ /usr/bin/python3 /builddir/build/BUILD/pytest-xprocess-1.0.2/tests/server.py 50663 --no-children process 's3' started pid=251 _________ test_startup_with_pattern_and_callback[s1-will not match-21] _________ tcp_port = 36457, 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 = 53369, 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 = 53369, 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 = 36835, 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 = 36835, 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 =========================== 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] =================== 6 failed, 45 passed in 100.84s (0:01:40) =================== error: Bad exit status from /var/tmp/rpm-tmp.79YdHF (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.79YdHF (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M e8e1147d465d4097952c482c90c567fb -D /var/lib/mock/f40-build-1465732-23661/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.5gystyiw:/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.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, 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 e8e1147d465d4097952c482c90c567fb -D /var/lib/mock/f40-build-1465732-23661/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.5gystyiw:/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'