Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-pexpect.spec'], chrootPath='/var/lib/mock/f41-build-51781356-6200846/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'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vlfz24ek:/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.vlfz24ek:/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', 'ed155ec39c0241d5989f15b6cbe1d2e7', '-D', '/var/lib/mock/f41-build-51781356-6200846/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vlfz24ek:/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-pexpect.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=1717718400 Wrote: /builddir/build/SRPMS/python-pexpect-4.9.0-5.fc41.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-pexpect.spec'], chrootPath='/var/lib/mock/f41-build-51781356-6200846/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'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vlfz24ek:/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.vlfz24ek:/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', '96bf93085cbf47f1bd9a12b910057bee', '-D', '/var/lib/mock/f41-build-51781356-6200846/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vlfz24ek:/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-pexpect.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=1717718400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.alosYM + umask 022 + cd /builddir/build/BUILD/python-pexpect-4.9.0-build + test -d /builddir/build/BUILD/python-pexpect-4.9.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-pexpect-4.9.0-build + /usr/bin/rm -rf /builddir/build/BUILD/python-pexpect-4.9.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-pexpect-4.9.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-pexpect-4.9.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kGqprs + umask 022 + cd /builddir/build/BUILD/python-pexpect-4.9.0-build + cd /builddir/build/BUILD/python-pexpect-4.9.0-build + rm -rf pexpect-4.9.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pexpect-4.9.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pexpect-4.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/794.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.m1HLsu + umask 022 + cd /builddir/build/BUILD/python-pexpect-4.9.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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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 pexpect-4.9.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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0TdsFV + umask 022 + cd /builddir/build/BUILD/python-pexpect-4.9.0-build + '[' /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-pexpect-4.9.0-build + mkdir /builddir/build/BUILD/python-pexpect-4.9.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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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 pexpect-4.9.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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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-pexpect-4.9.0-build/BUILDROOT --prefix /usr /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() no previously-included directories found matching 'doc/_build' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*~' found anywhere in distribution + rm -rfv /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/bin/__pycache__ + rm -rf /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/tests + /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 -j3 Bytecompiling .py files below /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j3 /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/__pycache__/_async_pre_await.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/__pycache__/ANSI.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/__pycache__/expect.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/__pycache__/_async_w_await.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/__pycache__/exceptions.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/__pycache__/FSM.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/__pycache__/fdpexpect.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/__pycache__/_async.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/__pycache__/popen_spawn.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/__pycache__/socket_pexpect.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/__pycache__/pxssh.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/__pycache__/spawnbase.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/__pycache__/replwrap.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/__pycache__/run.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/__pycache__/utils.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/__pycache__/pty_spawn.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/__pycache__/pty_spawn.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-pexpect-4.9.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pexpect/__pycache__/screen.cpython-313.pyc: rewriting with normalized contents Processed 19 paths Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ixrDtE + umask 022 + cd /builddir/build/BUILD/python-pexpect-4.9.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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -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 pexpect-4.9.0 + export PYTHONIOENCODING=UTF-8 + PYTHONIOENCODING=UTF-8 + echo 'set enable-bracketed-paste off' + export INPUTRC=/builddir/build/BUILD/python-pexpect-4.9.0-build/pexpect-4.9.0/.inputrc + INPUTRC=/builddir/build/BUILD/python-pexpect-4.9.0-build/pexpect-4.9.0/.inputrc + /usr/bin/python3 ./tools/display-sighandlers.py name value description --------------------------------- SIGABRT 6 default(SIG_DFL) SIGALRM 14 default(SIG_DFL) SIGBUS 7 default(SIG_DFL) SIGCHLD 17 default(SIG_DFL) SIGCLD 17 default(SIG_DFL) SIGCONT 18 default(SIG_DFL) SIGFPE 8 default(SIG_DFL) SIGHUP 1 default(SIG_DFL) SIGILL 4 default(SIG_DFL) SIGINT 2 SIGIO 29 default(SIG_DFL) SIGIOT 6 default(SIG_DFL) SIGKILL 9 default(SIG_DFL) SIGPIPE 13 ignored(SIG_IGN) SIGPOLL 29 default(SIG_DFL) SIGPROF 27 default(SIG_DFL) SIGPWR 30 default(SIG_DFL) SIGQUIT 3 default(SIG_DFL) SIGRTMAX 64 default(SIG_DFL) SIGRTMIN 34 default(SIG_DFL) SIGSEGV 11 default(SIG_DFL) SIGSTKFLT 16 default(SIG_DFL) SIGSTOP 19 default(SIG_DFL) SIGSYS 31 default(SIG_DFL) SIGTERM 15 default(SIG_DFL) SIGTRAP 5 default(SIG_DFL) SIGTSTP 20 default(SIG_DFL) SIGTTIN 21 default(SIG_DFL) SIGTTOU 22 default(SIG_DFL) SIGURG 23 default(SIG_DFL) SIGUSR1 10 default(SIG_DFL) SIGUSR2 12 default(SIG_DFL) SIGVTALRM 26 default(SIG_DFL) SIGWINCH 28 default(SIG_DFL) SIGXCPU 24 default(SIG_DFL) SIGXFSZ 25 ignored(SIG_IGN) + /usr/bin/python3 ./tools/display-terminalinfo.py os.isatty(0) => False locale.getpreferredencoding() => UTF-8 pathconf value --------------------- --------------------------- PC_ALLOC_SIZE_MIN 4096 PC_ASYNC_IO -1 PC_CHOWN_RESTRICTED 1 PC_FILESIZEBITS 32 PC_LINK_MAX 127 PC_MAX_CANON 255 PC_MAX_INPUT 255 PC_NAME_MAX 255 PC_NO_TRUNC 1 PC_PATH_MAX 4096 PC_PIPE_BUF 4096 PC_PRIO_IO -1 PC_REC_INCR_XFER_SIZE -1 PC_REC_MAX_XFER_SIZE -1 PC_REC_MIN_XFER_SIZE 4096 PC_REC_XFER_ALIGN 4096 PC_SOCK_MAXBUF -1 PC_SYMLINK_MAX -1 PC_SYNC_IO -1 PC_VDISABLE 0 stdin is not a typewriter: (25, 'Inappropriate ioctl for device') + CI=true + py.test-3 --verbose ============================= test session starts ============================== platform linux -- Python 3.13.0b2, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/python-pexpect-4.9.0-build/pexpect-4.9.0 configfile: setup.cfg collecting ... collected 257 items tests/test_FSM.py::FSMTestCase::test_run_fsm PASSED [ 0%] tests/test_ansi.py::ansiTestCase::test_decode_error PASSED [ 0%] tests/test_ansi.py::ansiTestCase::test_fsm_memory PASSED [ 1%] tests/test_ansi.py::ansiTestCase::test_lines PASSED [ 1%] tests/test_ansi.py::ansiTestCase::test_number_x PASSED [ 1%] tests/test_ansi.py::ansiTestCase::test_tetris PASSED [ 2%] tests/test_ansi.py::ansiTestCase::test_torturet PASSED [ 2%] tests/test_ansi.py::ansiTestCase::test_unicode PASSED [ 3%] tests/test_ansi.py::ansiTestCase::test_utf8_bytes PASSED [ 3%] tests/test_ansi.py::ansiTestCase::test_write PASSED [ 3%] tests/test_async.py::AsyncTests::test_async_and_gc PASSED [ 4%] tests/test_async.py::AsyncTests::test_async_and_sync PASSED [ 4%] tests/test_async.py::AsyncTests::test_async_replwrap PASSED [ 5%] tests/test_async.py::AsyncTests::test_async_replwrap_multiline PASSED [ 5%] tests/test_async.py::AsyncTests::test_async_utf8 PASSED [ 5%] tests/test_async.py::AsyncTests::test_eof PASSED [ 6%] tests/test_async.py::AsyncTests::test_expect_exact PASSED [ 6%] tests/test_async.py::AsyncTests::test_simple_expect PASSED [ 7%] tests/test_async.py::AsyncTests::test_timeout PASSED [ 7%] tests/test_command_list_split.py::SplitCommandLineTestCase::testSplitSizes PASSED [ 7%] tests/test_constructor.py::TestCaseConstructor::test_constructor PASSED [ 8%] tests/test_constructor.py::TestCaseConstructor::test_named_parameters PASSED [ 8%] tests/test_ctrl_chars.py::TestCtrlChars::test_bad_sendcontrol_chars PASSED [ 8%] tests/test_ctrl_chars.py::TestCtrlChars::test_control_chars PASSED [ 9%] tests/test_ctrl_chars.py::TestCtrlChars::test_sendcontrol PASSED [ 9%] tests/test_ctrl_chars.py::TestCtrlChars::test_sendeof PASSED [ 10%] tests/test_ctrl_chars.py::TestCtrlChars::test_sendintr PASSED [ 10%] tests/test_delay.py::TestCaseDelay::test_delayafterread PASSED [ 10%] tests/test_delay.py::TestCaseDelay::test_delaybeforesend PASSED [ 11%] tests/test_destructor.py::TestCaseDestructor::test_destructor PASSED [ 11%] tests/test_dotall.py::TestCaseDotall::test_dotall PASSED [ 12%] tests/test_dotall.py::TestCaseDotall::test_precompiled PASSED [ 12%] tests/test_env.py::TestCaseEnv::test_run_uses_env PASSED [ 12%] tests/test_env.py::TestCaseEnv::test_run_uses_env_path PASSED [ 13%] tests/test_env.py::TestCaseEnv::test_run_uses_env_path_over_path PASSED [ 13%] tests/test_env.py::TestCaseEnv::test_spawn_uses_env PASSED [ 14%] tests/test_expect.py::ExpectTestCase::test_bad_arg PASSED [ 14%] tests/test_expect.py::ExpectTestCase::test_before_across_chunks PASSED [ 14%] tests/test_expect.py::ExpectTestCase::test_before_after PASSED [ 15%] tests/test_expect.py::ExpectTestCase::test_before_after_exact PASSED [ 15%] tests/test_expect.py::ExpectTestCase::test_before_after_timeout PASSED [ 15%] tests/test_expect.py::ExpectTestCase::test_buffer_interface PASSED [ 16%] tests/test_expect.py::ExpectTestCase::test_coerce_expect_re_enc_ascii PASSED [ 16%] tests/test_expect.py::ExpectTestCase::test_coerce_expect_re_enc_none PASSED [ 17%] tests/test_expect.py::ExpectTestCase::test_coerce_expect_re_enc_utf8 PASSED [ 17%] tests/test_expect.py::ExpectTestCase::test_expect PASSED [ 17%] tests/test_expect.py::ExpectTestCase::test_expect_basic PASSED [ 18%] tests/test_expect.py::ExpectTestCase::test_expect_echo PASSED [ 18%] tests/test_expect.py::ExpectTestCase::test_expect_echo_exact PASSED [ 19%] tests/test_expect.py::ExpectTestCase::test_expect_eof PASSED [ 19%] tests/test_expect.py::ExpectTestCase::test_expect_exact PASSED [ 19%] tests/test_expect.py::ExpectTestCase::test_expect_exact_basic PASSED [ 20%] tests/test_expect.py::ExpectTestCase::test_expect_ignore_case PASSED [ 20%] tests/test_expect.py::ExpectTestCase::test_expect_ignore_case_flag PASSED [ 21%] tests/test_expect.py::ExpectTestCase::test_expect_index PASSED [ 21%] tests/test_expect.py::ExpectTestCase::test_expect_index_exact PASSED [ 21%] tests/test_expect.py::ExpectTestCase::test_expect_order PASSED [ 22%] tests/test_expect.py::ExpectTestCase::test_expect_order_exact PASSED [ 22%] tests/test_expect.py::ExpectTestCase::test_expect_regex_enc_none PASSED [ 22%] tests/test_expect.py::ExpectTestCase::test_expect_regex_enc_utf8 PASSED [ 23%] tests/test_expect.py::ExpectTestCase::test_expect_setecho_off PASSED [ 23%] tests/test_expect.py::ExpectTestCase::test_expect_setecho_off_exact PASSED [ 24%] tests/test_expect.py::ExpectTestCase::test_expect_timeout PASSED [ 24%] tests/test_expect.py::ExpectTestCase::test_greed PASSED [ 24%] tests/test_expect.py::ExpectTestCase::test_greed_exact PASSED [ 25%] tests/test_expect.py::ExpectTestCase::test_increasing_searchwindowsize PASSED [ 25%] tests/test_expect.py::ExpectTestCase::test_ordering PASSED [ 26%] tests/test_expect.py::ExpectTestCase::test_ordering_exact PASSED [ 26%] tests/test_expect.py::ExpectTestCase::test_searchwindowsize PASSED [ 26%] tests/test_expect.py::ExpectTestCase::test_signal_handling PASSED [ 27%] tests/test_expect.py::ExpectTestCase::test_stdin_closed PASSED [ 27%] tests/test_expect.py::ExpectTestCase::test_stdin_stdout_closed PASSED [ 28%] tests/test_expect.py::ExpectTestCase::test_timeout_none PASSED [ 28%] tests/test_expect.py::ExpectTestCase::test_unexpected_eof PASSED [ 28%] tests/test_expect.py::ExpectTestCase::test_waitnoecho PASSED [ 29%] tests/test_expect.py::ExpectTestCase::test_waitnoecho_order PASSED [ 29%] tests/test_filedescriptor.py::ExpectTestCase::test_fd PASSED [ 29%] tests/test_filedescriptor.py::ExpectTestCase::test_fd_isalive PASSED [ 30%] tests/test_filedescriptor.py::ExpectTestCase::test_fd_isatty PASSED [ 30%] tests/test_filedescriptor.py::ExpectTestCase::test_fileobj PASSED [ 31%] tests/test_filedescriptor.py::ExpectTestCase::test_maxread PASSED [ 31%] tests/test_interact.py::InteractTestCase::test_interact_escape PASSED [ 31%] tests/test_interact.py::InteractTestCase::test_interact_escape_None PASSED [ 32%] tests/test_interact.py::InteractTestCase::test_interact_exit_unicode PASSED [ 32%] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_consistent_multiple_calls PASSED [ 33%] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_SIGHUP PASSED [ 33%] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_SIGINT PASSED [ 33%] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_SIGKILL PASSED [ 34%] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_normal_termination PASSED [ 34%] tests/test_isalive.py::IsAliveTestCase::test_expect_wait PASSED [ 35%] tests/test_isalive.py::IsAliveTestCase::test_expect_wait_after_termination PASSED [ 35%] tests/test_isalive.py::IsAliveTestCase::test_forced_terminate PASSED [ 35%] tests/test_isalive.py::IsAliveTestCase::test_signal_wait PASSED [ 36%] tests/test_log.py::TestCaseLog::test_log PASSED [ 36%] tests/test_log.py::TestCaseLog::test_log_logfile_read PASSED [ 36%] tests/test_log.py::TestCaseLog::test_log_logfile_send PASSED [ 37%] tests/test_log.py::TestCaseLog::test_log_send_and_received PASSED [ 37%] tests/test_misc.py::TestCaseMisc::test_bad_arguments_second_arg_is_list PASSED [ 38%] tests/test_misc.py::TestCaseMisc::test_bad_arguments_suggest_fdpsawn PASSED [ 38%] tests/test_misc.py::TestCaseMisc::test_bad_child_pid PASSED [ 38%] tests/test_misc.py::TestCaseMisc::test_bad_type_in_expect PASSED [ 39%] tests/test_misc.py::TestCaseMisc::test_cwd PASSED [ 39%] tests/test_misc.py::TestCaseMisc::test_eof PASSED [ 40%] tests/test_misc.py::TestCaseMisc::test_exception_tb PASSED [ 40%] tests/test_misc.py::TestCaseMisc::test_isalive PASSED [ 40%] tests/test_misc.py::TestCaseMisc::test_isatty PASSED [ 41%] tests/test_misc.py::TestCaseMisc::test_isatty_poll PASSED [ 41%] tests/test_misc.py::TestCaseMisc::test_iter PASSED [ 42%] tests/test_misc.py::TestCaseMisc::test_nonnative_pty_fork PASSED [ 42%] tests/test_misc.py::TestCaseMisc::test_read PASSED [ 42%] tests/test_misc.py::TestCaseMisc::test_read_after_close_raises_value_error PASSED [ 43%] tests/test_misc.py::TestCaseMisc::test_read_poll PASSED [ 43%] tests/test_misc.py::TestCaseMisc::test_read_poll_timeout PASSED [ 43%] tests/test_misc.py::TestCaseMisc::test_readline PASSED [ 44%] tests/test_misc.py::TestCaseMisc::test_readline_bin_echo PASSED [ 44%] tests/test_misc.py::TestCaseMisc::test_readlines PASSED [ 45%] tests/test_misc.py::TestCaseMisc::test_searcher_as_string PASSED [ 45%] tests/test_misc.py::TestCaseMisc::test_searcher_as_string_with_EOF PASSED [ 45%] tests/test_misc.py::TestCaseMisc::test_searcher_as_string_with_TIMEOUT PASSED [ 46%] tests/test_misc.py::TestCaseMisc::test_searcher_re_as_string PASSED [ 46%] tests/test_misc.py::TestCaseMisc::test_searcher_re_as_string_with_EOF PASSED [ 47%] tests/test_misc.py::TestCaseMisc::test_searcher_re_as_string_with_TIMEOUT PASSED [ 47%] tests/test_misc.py::TestCaseMisc::test_sighup PASSED [ 47%] tests/test_misc.py::TestCaseMisc::test_terminate PASSED [ 48%] tests/test_misc.py::TestCaseMisc::test_with PASSED [ 48%] tests/test_misc.py::TestCaseMisc::test_write PASSED [ 49%] tests/test_misc.py::TestCaseMisc::test_writelines PASSED [ 49%] tests/test_missing_command.py::MissingCommandTestCase::testMissingCommand PASSED [ 49%] tests/test_performance.py::PerformanceTestCase::test_100000 FAILED [ 50%] tests/test_performance.py::PerformanceTestCase::test_large_stdout_stream PASSED [ 50%] tests/test_pickling.py::PickleTest::test_picking PASSED [ 50%] tests/test_popen_spawn.py::ExpectTestCase::test_bad_arg PASSED [ 51%] tests/test_popen_spawn.py::ExpectTestCase::test_crlf PASSED [ 51%] tests/test_popen_spawn.py::ExpectTestCase::test_crlf_encoding PASSED [ 52%] tests/test_popen_spawn.py::ExpectTestCase::test_expect PASSED [ 52%] tests/test_popen_spawn.py::ExpectTestCase::test_expect_basic PASSED [ 52%] tests/test_popen_spawn.py::ExpectTestCase::test_expect_eof PASSED [ 53%] tests/test_popen_spawn.py::ExpectTestCase::test_expect_exact PASSED [ 53%] tests/test_popen_spawn.py::ExpectTestCase::test_expect_exact_basic PASSED [ 54%] tests/test_popen_spawn.py::ExpectTestCase::test_expect_timeout PASSED [ 54%] tests/test_popen_spawn.py::ExpectTestCase::test_timeout_none PASSED [ 54%] tests/test_popen_spawn.py::ExpectTestCase::test_unexpected_eof PASSED [ 55%] tests/test_pxssh.py::PxsshTestCase::test_connection_refused PASSED [ 55%] tests/test_pxssh.py::PxsshTestCase::test_custom_ssh_cmd PASSED [ 56%] tests/test_pxssh.py::PxsshTestCase::test_custom_ssh_cmd_debug PASSED [ 56%] tests/test_pxssh.py::PxsshTestCase::test_failed_custom_ssh_cmd PASSED [ 56%] tests/test_pxssh.py::PxsshTestCase::test_failed_custom_ssh_cmd_debug PASSED [ 57%] tests/test_pxssh.py::PxsshTestCase::test_failed_set_unique_prompt PASSED [ 57%] tests/test_pxssh.py::PxsshTestCase::test_fake_ssh PASSED [ 57%] tests/test_pxssh.py::PxsshTestCase::test_login_bash PASSED [ 58%] tests/test_pxssh.py::PxsshTestCase::test_login_tcsh PASSED [ 58%] tests/test_pxssh.py::PxsshTestCase::test_login_zsh PASSED [ 59%] tests/test_pxssh.py::PxsshTestCase::test_remote_ssh_tunnel_string PASSED [ 59%] tests/test_pxssh.py::PxsshTestCase::test_ssh_config_empty_user PASSED [ 59%] tests/test_pxssh.py::PxsshTestCase::test_ssh_config_no_user PASSED [ 60%] tests/test_pxssh.py::PxsshTestCase::test_ssh_config_no_username_empty_config PASSED [ 60%] tests/test_pxssh.py::PxsshTestCase::test_ssh_config_passing_string PASSED [ 61%] tests/test_pxssh.py::PxsshTestCase::test_ssh_config_user PASSED [ 61%] tests/test_pxssh.py::PxsshTestCase::test_ssh_config_wrong_Host PASSED [ 61%] tests/test_pxssh.py::PxsshTestCase::test_ssh_key_string PASSED [ 62%] tests/test_pxssh.py::PxsshTestCase::test_ssh_tunnel_string PASSED [ 62%] tests/test_pxssh.py::PxsshTestCase::test_username_or_ssh_config PASSED [ 63%] tests/test_pxssh.py::PxsshTestCase::test_wrong_pw PASSED [ 63%] tests/test_replwrap.py::REPLWrapTestCase::test_bash PASSED [ 63%] tests/test_replwrap.py::REPLWrapTestCase::test_bash_env PASSED [ 64%] tests/test_replwrap.py::REPLWrapTestCase::test_existing_spawn PASSED [ 64%] tests/test_replwrap.py::REPLWrapTestCase::test_long_running_continuation PASSED [ 64%] tests/test_replwrap.py::REPLWrapTestCase::test_long_running_multiline PASSED [ 65%] tests/test_replwrap.py::REPLWrapTestCase::test_multiline PASSED [ 65%] tests/test_replwrap.py::REPLWrapTestCase::test_no_change_prompt PASSED [ 66%] tests/test_replwrap.py::REPLWrapTestCase::test_pager_as_cat PASSED [ 66%] tests/test_replwrap.py::REPLWrapTestCase::test_python PASSED [ 66%] tests/test_replwrap.py::REPLWrapTestCase::test_zsh PASSED [ 67%] tests/test_repr.py::TestCaseMisc::test_str_before_spawn PASSED [ 67%] tests/test_repr.py::TestCaseMisc::test_str_spawn PASSED [ 68%] tests/test_repr.py::TestCaseMisc::test_str_spawnu PASSED [ 68%] tests/test_run.py::RunFuncTestCase::test_run PASSED [ 68%] tests/test_run.py::RunFuncTestCase::test_run_bad_exitstatus PASSED [ 69%] tests/test_run.py::RunFuncTestCase::test_run_callback PASSED [ 69%] tests/test_run.py::RunFuncTestCase::test_run_event_as_function PASSED [ 70%] tests/test_run.py::RunFuncTestCase::test_run_event_as_method PASSED [ 70%] tests/test_run.py::RunFuncTestCase::test_run_event_as_string PASSED [ 70%] tests/test_run.py::RunFuncTestCase::test_run_event_typeerror PASSED [ 71%] tests/test_run.py::RunFuncTestCase::test_run_exit PASSED [ 71%] tests/test_run.py::RunUnicodeFuncTestCase::test_run PASSED [ 71%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_bad_exitstatus PASSED [ 72%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_callback PASSED [ 72%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_as_function PASSED [ 73%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_as_method PASSED [ 73%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_as_string PASSED [ 73%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_typeerror PASSED [ 74%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_exit PASSED [ 74%] tests/test_run.py::RunUnicodeFuncTestCase::test_run_unicode PASSED [ 75%] tests/test_screen.py::screenTestCase::test_cursor_save PASSED [ 75%] tests/test_screen.py::screenTestCase::test_decoding_errors PASSED [ 75%] tests/test_screen.py::screenTestCase::test_fill PASSED [ 76%] tests/test_screen.py::screenTestCase::test_get_region PASSED [ 76%] tests/test_screen.py::screenTestCase::test_insert PASSED [ 77%] tests/test_screen.py::screenTestCase::test_no_bytes PASSED [ 77%] tests/test_screen.py::screenTestCase::test_put PASSED [ 77%] tests/test_screen.py::screenTestCase::test_scroll PASSED [ 78%] tests/test_screen.py::screenTestCase::test_unicode_ascii PASSED [ 78%] tests/test_screen.py::screenTestCase::test_unicode_cp437 PASSED [ 78%] tests/test_screen.py::screenTestCase::test_unicode_utf8 PASSED [ 79%] tests/test_socket.py::ExpectTestCase::test_fd_isalive PASSED [ 79%] tests/test_socket.py::ExpectTestCase::test_fd_isalive_poll PASSED [ 80%] tests/test_socket.py::ExpectTestCase::test_fd_isatty PASSED [ 80%] tests/test_socket.py::ExpectTestCase::test_fd_isatty_poll PASSED [ 80%] tests/test_socket.py::ExpectTestCase::test_interrupt PASSED [ 81%] tests/test_socket.py::ExpectTestCase::test_maxread PASSED [ 81%] tests/test_socket.py::ExpectTestCase::test_multiple_interrupts PASSED [ 82%] tests/test_socket.py::ExpectTestCase::test_socket PASSED [ 82%] tests/test_socket.py::ExpectTestCase::test_socket_with_write PASSED [ 82%] tests/test_socket.py::ExpectTestCase::test_timeout PASSED [ 83%] tests/test_socket_fd.py::ExpectTestCase::test_fd_isalive PASSED [ 83%] tests/test_socket_fd.py::ExpectTestCase::test_fd_isalive_poll PASSED [ 84%] tests/test_socket_fd.py::ExpectTestCase::test_fd_isatty PASSED [ 84%] tests/test_socket_fd.py::ExpectTestCase::test_fd_isatty_poll PASSED [ 84%] tests/test_socket_fd.py::ExpectTestCase::test_fileobj PASSED [ 85%] tests/test_socket_fd.py::ExpectTestCase::test_interrupt PASSED [ 85%] tests/test_socket_fd.py::ExpectTestCase::test_maxread PASSED [ 85%] tests/test_socket_fd.py::ExpectTestCase::test_multiple_interrupts PASSED [ 86%] tests/test_socket_fd.py::ExpectTestCase::test_not_file_descriptor PASSED [ 86%] tests/test_socket_fd.py::ExpectTestCase::test_not_int PASSED [ 87%] tests/test_socket_fd.py::ExpectTestCase::test_socket PASSED [ 87%] tests/test_socket_fd.py::ExpectTestCase::test_socket_with_write PASSED [ 87%] tests/test_socket_fd.py::ExpectTestCase::test_timeout PASSED [ 88%] tests/test_socket_pexpect.py::ExpectTestCase::test_maxread PASSED [ 88%] tests/test_socket_pexpect.py::ExpectTestCase::test_socket PASSED [ 89%] tests/test_socket_pexpect.py::ExpectTestCase::test_socket_isalive PASSED [ 89%] tests/test_socket_pexpect.py::ExpectTestCase::test_socket_isatty PASSED [ 89%] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_correctStackTrace PASSED [ 90%] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_exp_timeout_notThrown PASSED [ 90%] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_matches_exp_timeout PASSED [ 91%] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_pattern_printout PASSED [ 91%] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_stacktraceMunging PASSED [ 91%] tests/test_unicode.py::UnicodeTests::test_expect_basic PASSED [ 92%] tests/test_unicode.py::UnicodeTests::test_expect_echo_exact PASSED [ 92%] tests/test_unicode.py::UnicodeTests::test_expect_exact_basic PASSED [ 92%] tests/test_unicode.py::UnicodeTests::test_expect_setecho_toggle PASSED [ 93%] tests/test_unicode.py::UnicodeTests::test_expect_setecho_toggle_exact PASSED [ 93%] tests/test_unicode.py::UnicodeTests::test_log_unicode PASSED [ 94%] tests/test_unicode.py::UnicodeTests::test_readline_bin_echo PASSED [ 94%] tests/test_unicode.py::UnicodeTests::test_spawn_expect_ascii_unicode PASSED [ 94%] tests/test_unicode.py::UnicodeTests::test_spawn_send_unicode PASSED [ 95%] tests/test_unicode.py::UnicodeTests::test_spawn_utf8_incomplete PASSED [ 95%] tests/test_unicode.py::UnicodeTests::test_unicode_argv PASSED [ 96%] tests/test_which.py::TestCaseWhich::test_os_defpath_which PASSED [ 96%] tests/test_which.py::TestCaseWhich::test_path_from_env PASSED [ 96%] tests/test_which.py::TestCaseWhich::test_path_search_which PASSED [ 97%] tests/test_which.py::TestCaseWhich::test_which_finds_ls PASSED [ 97%] tests/test_which.py::TestCaseWhich::test_which_follows_symlink PASSED [ 98%] tests/test_which.py::TestCaseWhich::test_which_should_match_other_group_user PASSED [ 98%] tests/test_which.py::TestCaseWhich::test_which_should_not_match_folders PASSED [ 98%] tests/test_winsize.py::TestCaseWinsize::test_initial_winsize PASSED [ 99%] tests/test_winsize.py::TestCaseWinsize::test_initial_winsize_by_dimension PASSED [ 99%] tests/test_winsize.py::TestCaseWinsize::test_setwinsize PASSED [100%] =================================== FAILURES =================================== _______________________ PerformanceTestCase.test_100000 ________________________ self = def test_100000(self): if platform.python_implementation() == 'PyPy': raise unittest.SkipTest("This test fails on PyPy because of REPL differences") print() start_time = time.time() self.plain_range (100000) print("100000 calls to plain_range:", (time.time() - start_time)) start_time = time.time() > self.window_range(100000) tests/test_performance.py:93: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_performance.py:61: in window_range self.assertEqual(e.expect([b'inquisition', '%d' % n], searchwindowsize=20), 1) pexpect/spawnbase.py:354: in expect return self.expect_list(compiled_pattern_list, pexpect/spawnbase.py:383: in expect_list return exp.expect_loop(timeout) pexpect/expect.py:181: in expect_loop return self.timeout(e) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = err = TIMEOUT('Timeout exceeded.') def timeout(self, err=None): spawn = self.spawn spawn.before = spawn._before.getvalue() spawn.after = TIMEOUT index = self.searcher.timeout_index if index >= 0: spawn.match = TIMEOUT spawn.match_index = index return index else: spawn.match = None spawn.match_index = None msg = str(spawn) msg += '\nsearcher: %s' % self.searcher if err is not None: msg = str(err) + '\n' + msg exc = TIMEOUT(msg) exc.__cause__ = None # in Python 3.x we can use "raise exc from None" > raise exc E pexpect.exceptions.TIMEOUT: Timeout exceeded. E E command: /usr/bin/python3 E args: ['/usr/bin/python3'] E buffer (last 100 chars): b';35m>>> \x1b[0m\x1b[4D\x1b[4C' E before (last 100 chars): b'99993\r\n99994\r\n99995\r\n99996\r\n99997\r\n99998\r\n99999\r\n100000\r\n\x1b[?2004h\x1b[?1h\x1b=\x1b[1A\n\x1b[1;35m>>> \x1b[0m\x1b[4D\x1b[4C' E after: E match: None E match_index: None E exitstatus: None E flag_eof: False E pid: 605 E child_fd: 18 E closed: False E timeout: 100 E delimiter: E logfile: None E logfile_read: None E logfile_send: None E maxread: 2000 E ignorecase: False E searchwindowsize: None E delaybeforesend: 0.05 E delayafterclose: 0.1 E delayafterterminate: 0.1 E searcher: searcher_re: E 0: re.compile(b'inquisition') E 1: re.compile(b'100000') pexpect/expect.py:144: TIMEOUT ----------------------------- Captured stdout call ----------------------------- tests.test_performance.PerformanceTestCase.test_100000 100000 calls to plain_range: 0.5103085041046143 =============================== warnings summary =============================== pexpect/ANSI.py:29 /builddir/build/BUILD/python-pexpect-4.9.0-build/pexpect-4.9.0/pexpect/ANSI.py:29: UserWarning: pexpect.screen and pexpect.ANSI are deprecated. We recommend using pyte to emulate a terminal screen: https://pypi.python.org/pypi/pyte from . import screen tests/test_filedescriptor.py::ExpectTestCase::test_fileobj /usr/lib/python3.13/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: <_io.TextIOWrapper name='TESTDATA.txt' mode='r' encoding='UTF-8'> Traceback (most recent call last): File "/usr/lib64/python3.13/unittest/case.py", line 606, in _callTestMethod if method() is not None: ~~~~~~^^ OSError: [Errno 9] Bad file descriptor warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/test_pxssh.py: 9 warnings tests/test_replwrap.py: 10 warnings tests/test_repr.py: 2 warnings tests/test_run.py: 17 warnings tests/test_timeout_pattern.py: 4 warnings tests/test_unicode.py: 11 warnings tests/test_winsize.py: 3 warnings /usr/lib64/python3.13/pty.py:95: DeprecationWarning: This process (pid=429) is multi-threaded, use of forkpty() may lead to deadlocks in the child. pid, fd = os.forkpty() tests/test_socket.py: 12 warnings tests/test_socket_fd.py: 15 warnings /usr/lib64/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: This process (pid=429) is multi-threaded, use of fork() may lead to deadlocks in the child. self.pid = os.fork() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_performance.py::PerformanceTestCase::test_100000 - pexpect.exceptions.TIMEOUT: Timeout exceeded. command: /usr/bin/python3 args: ['/usr/bin/python3'] buffer (last 100 chars): b';35m>>> \x1b[0m\x1b[4D\x1b[4C' before (last 100 chars): b'99993\r\n99994\r\n99995\r\n99996\r\n99997\r\n99998\r\n99999\r\n100000\r\n\x1b[?2004h\x1b[?1h\x1b=\x1b[1A\n\x1b[1;35m>>> \x1b[0m\x1b[4D\x1b[4C' after: match: None match_index: None exitstatus: None flag_eof: False pid: 605 child_fd: 18 closed: False timeout: 100 delimiter: logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'inquisition') 1: re.compile(b'100000') ============ 1 failed, 256 passed, 85 warnings in 339.00s (0:05:39) ============ error: Bad exit status from /var/tmp/rpm-tmp.ixrDtE (%check) Bad exit status from /var/tmp/rpm-tmp.ixrDtE (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 96bf93085cbf47f1bd9a12b910057bee -D /var/lib/mock/f41-build-51781356-6200846/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.vlfz24ek:/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-pexpect.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 96bf93085cbf47f1bd9a12b910057bee -D /var/lib/mock/f41-build-51781356-6200846/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.vlfz24ek:/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-pexpect.spec'