Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-subprocess-tee.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1608588200.287881/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i1_bq1re:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i1_bq1re:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '6445b5ac700e4253ba1ae11ab0df4c98', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1608588200.287881/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i1_bq1re:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/python-subprocess-tee.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1606262400 Wrote: /builddir/build/SRPMS/python-subprocess-tee-0.1.5-1.fc34.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-subprocess-tee.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1608588200.287881/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i1_bq1re:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i1_bq1re:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '287cdc65ba35492980c410e1ec41fa63', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1608588200.287881/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i1_bq1re:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/python-subprocess-tee.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1606262400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GbCfYt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf subprocess-tee-0.1.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/subprocess-tee-0.1.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd subprocess-tee-0.1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-remove-unsuported-pytest-option.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-remove-pytest-type-annotation.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5h8p0t + umask 022 + cd /builddir/build/BUILD + cd subprocess-tee-0.1.5 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/subprocess_tee copying lib/subprocess_tee/rich.py -> build/lib/subprocess_tee copying lib/subprocess_tee/__init__.py -> build/lib/subprocess_tee creating build/lib/subprocess_tee/test copying lib/subprocess_tee/test/test_unit.py -> build/lib/subprocess_tee/test copying lib/subprocess_tee/test/test_rich.py -> build/lib/subprocess_tee/test copying lib/subprocess_tee/test/__init__.py -> build/lib/subprocess_tee/test running egg_info writing lib/subprocess_tee.egg-info/PKG-INFO writing dependency_links to lib/subprocess_tee.egg-info/dependency_links.txt writing requirements to lib/subprocess_tee.egg-info/requires.txt writing top-level names to lib/subprocess_tee.egg-info/top_level.txt reading manifest file 'lib/subprocess_tee.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'asset' warning: no files found matching '*.pyi' anywhere in distribution writing manifest file 'lib/subprocess_tee.egg-info/SOURCES.txt' copying lib/subprocess_tee/py.typed -> build/lib/subprocess_tee + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fKFzkv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64 ++ dirname /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64 + cd subprocess-tee-0.1.5 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr creating /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/lib/python3.9/site-packages/subprocess_tee copying build/lib/subprocess_tee/py.typed -> /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/lib/python3.9/site-packages/subprocess_tee creating /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/lib/python3.9/site-packages/subprocess_tee/test copying build/lib/subprocess_tee/test/__init__.py -> /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/lib/python3.9/site-packages/subprocess_tee/test copying build/lib/subprocess_tee/test/test_rich.py -> /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/lib/python3.9/site-packages/subprocess_tee/test copying build/lib/subprocess_tee/test/test_unit.py -> /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/lib/python3.9/site-packages/subprocess_tee/test copying build/lib/subprocess_tee/__init__.py -> /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/lib/python3.9/site-packages/subprocess_tee copying build/lib/subprocess_tee/rich.py -> /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/lib/python3.9/site-packages/subprocess_tee byte-compiling /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/lib/python3.9/site-packages/subprocess_tee/test/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/lib/python3.9/site-packages/subprocess_tee/test/test_rich.py to test_rich.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/lib/python3.9/site-packages/subprocess_tee/test/test_unit.py to test_unit.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/lib/python3.9/site-packages/subprocess_tee/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/lib/python3.9/site-packages/subprocess_tee/rich.py to rich.cpython-39.pyc writing byte-compilation script '/tmp/tmppex_pw7q.py' /usr/bin/python3 /tmp/tmppex_pw7q.py removing /tmp/tmppex_pw7q.py running install_egg_info running egg_info writing lib/subprocess_tee.egg-info/PKG-INFO writing dependency_links to lib/subprocess_tee.egg-info/dependency_links.txt writing requirements to lib/subprocess_tee.egg-info/requires.txt writing top-level names to lib/subprocess_tee.egg-info/top_level.txt reading manifest file 'lib/subprocess_tee.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'asset' warning: no files found matching '*.pyi' anywhere in distribution writing manifest file 'lib/subprocess_tee.egg-info/SOURCES.txt' Copying lib/subprocess_tee.egg-info to /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/lib/python3.9/site-packages/subprocess_tee-0.1.5-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.1.5-1.fc34 --unique-debug-suffix -0.1.5-1.fc34.x86_64 --unique-debug-src-base python-subprocess-tee-0.1.5-1.fc34.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/subprocess-tee-0.1.5 find: 'debug': No such file or directory + /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/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/lib/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.GZjxiw + umask 022 + cd /builddir/build/BUILD + cd subprocess-tee-0.1.5 + /usr/bin/python3 -m pytest lib/subprocess_tee/test -v ============================= test session starts ============================== platform linux -- Python 3.9.1, pytest-6.0.2, py-1.9.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/subprocess-tee-0.1.5, configfile: setup.cfg plugins: cov-2.10.1, xdist-2.2.0, forked-1.3.0 collecting ... collected 11 items lib/subprocess_tee/test/test_rich.py::test_rich_console_ex PASSED [ 9%] lib/subprocess_tee/test/test_rich.py::test_rich_console_ex_ansi PASSED [ 18%] lib/subprocess_tee/test/test_unit.py::test_run_string PASSED [ 27%] lib/subprocess_tee/test/test_unit.py::test_run_list PASSED [ 36%] lib/subprocess_tee/test/test_unit.py::test_run_echo PASSED [ 45%] lib/subprocess_tee/test/test_unit.py::test_run_with_env[auto] PASSED [ 54%] lib/subprocess_tee/test/test_unit.py::test_run_with_env[sh] PASSED [ 63%] lib/subprocess_tee/test/test_unit.py::test_run_with_env[bash] PASSED [ 72%] lib/subprocess_tee/test/test_unit.py::test_run_with_env[zsh] PASSED [ 81%] lib/subprocess_tee/test/test_unit.py::test_run_shell PASSED [ 90%] lib/subprocess_tee/test/test_unit.py::test_run_shell_undefined PASSED [100%] ============================= slowest 10 durations ============================= 0.01s call lib/subprocess_tee/test/test_rich.py::test_rich_console_ex 0.01s call lib/subprocess_tee/test/test_unit.py::test_run_echo 0.01s call lib/subprocess_tee/test/test_unit.py::test_run_list 0.01s call lib/subprocess_tee/test/test_unit.py::test_run_string 0.01s call lib/subprocess_tee/test/test_rich.py::test_rich_console_ex_ansi (5 durations < 0.005s hidden. Use -vv to show these durations.) ============================== 11 passed in 0.19s ============================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-subprocess-tee-0.1.5-1.fc34.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1fnDnv + umask 022 + cd /builddir/build/BUILD + cd subprocess-tee-0.1.5 + LICENSEDIR=/builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/share/licenses/python3-subprocess-tee + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/share/licenses/python3-subprocess-tee + cp -pr LICENSE /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64/usr/share/licenses/python3-subprocess-tee + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-subprocess-tee = 0.1.5-1.fc34 python3-subprocess-tee = 0.1.5-1.fc34 python3.9-subprocess-tee = 0.1.5-1.fc34 python3.9dist(subprocess-tee) = 0.1.5 python3dist(subprocess-tee) = 0.1.5 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64 Wrote: /builddir/build/RPMS/python3-subprocess-tee-0.1.5-1.fc34.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CSdhOw + umask 022 + cd /builddir/build/BUILD + cd subprocess-tee-0.1.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-subprocess-tee-0.1.5-1.fc34.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0