Mock Version: 2.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/uflash.spec'], chrootPath='/var/lib/mock/1309955-fedora-rawhide-x86_64-1584453923.859952/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': 'en_US.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.2y47t2cq:/etc/resolv.conf', '--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.2y47t2cq:/etc/resolv.conf', '--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', 'b07b7ad7c49d4b6fa87028969ec42daf', '-D', '/var/lib/mock/1309955-fedora-rawhide-x86_64-1584453923.859952/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2y47t2cq:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/uflash.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1580428800 Wrote: /builddir/build/SRPMS/uflash-1.2.1-6.fc33.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/uflash.spec'], chrootPath='/var/lib/mock/1309955-fedora-rawhide-x86_64-1584453923.859952/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': 'en_US.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.2y47t2cq:/etc/resolv.conf', '--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.2y47t2cq:/etc/resolv.conf', '--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', '81d6f5e075d0417da27f8b69ec144c4e', '-D', '/var/lib/mock/1309955-fedora-rawhide-x86_64-1584453923.859952/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2y47t2cq:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/uflash.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1580428800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zV97bw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf uflash-1.2.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/uflash-1.2.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd uflash-1.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1hWeaw + umask 022 + cd /builddir/build/BUILD + cd uflash-1.2.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 copying uflash.py -> build/lib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iNnhgu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64 ++ dirname /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64 + cd uflash-1.2.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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/uflash-1.2.1-6.fc33.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64/usr creating /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64/usr/lib creating /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64/usr/lib/python3.8 creating /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64/usr/lib/python3.8/site-packages copying build/lib/uflash.py -> /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64/usr/lib/python3.8/site-packages byte-compiling /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64/usr/lib/python3.8/site-packages/uflash.py to uflash.cpython-38.pyc writing byte-compilation script '/tmp/tmpfte8jhj_.py' /usr/bin/python3 /tmp/tmpfte8jhj_.py removing /tmp/tmpfte8jhj_.py running install_egg_info running egg_info writing uflash.egg-info/PKG-INFO writing dependency_links to uflash.egg-info/dependency_links.txt writing entry points to uflash.egg-info/entry_points.txt writing top-level names to uflash.egg-info/top_level.txt reading manifest file 'uflash.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'uflash.egg-info/SOURCES.txt' Copying uflash.egg-info to /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64/usr/lib/python3.8/site-packages/uflash-1.2.1-py3.8.egg-info running install_scripts Installing uflash script to /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64/usr/bin + rm -rfv /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.2.1-6.fc33 --unique-debug-suffix -1.2.1-6.fc33.x86_64 --unique-debug-src-base uflash-1.2.1-6.fc33.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/uflash-1.2.1 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 /usr/bin/python 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64/usr/lib/python3.8 using /usr/bin/python3.8 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.XAsApx + umask 022 + cd /builddir/build/BUILD + cd uflash-1.2.1 + tar -xf /builddir/build/SOURCES/d493b9f027e65a2551bb46407432723b73cf78b4.tar.gz + mv uflash-d493b9f027e65a2551bb46407432723b73cf78b4/tests . + rm -rf uflash-d493b9f027e65a2551bb46407432723b73cf78b4 + py.test-3 -vv ============================= test session starts ============================== platform linux -- Python 3.8.2, pytest-4.6.9, py-1.8.0, pluggy-0.13.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/uflash-1.2.1 collecting ... collected 54 items tests/test_uflash.py::test_get_version PASSED [ 1%] tests/test_uflash.py::test_get_minifier PASSED [ 3%] tests/test_uflash.py::test_hexlify PASSED [ 5%] tests/test_uflash.py::test_unhexlify PASSED [ 7%] tests/test_uflash.py::test_unhexlify_not_python PASSED [ 9%] tests/test_uflash.py::test_unhexlify_bad_unicode PASSED [ 11%] tests/test_uflash.py::test_hexlify_empty_script PASSED [ 12%] tests/test_uflash.py::test_embed_hex PASSED [ 14%] tests/test_uflash.py::test_embed_no_python PASSED [ 16%] tests/test_uflash.py::test_embed_no_runtime PASSED [ 18%] tests/test_uflash.py::test_extract PASSED [ 20%] tests/test_uflash.py::test_extract_sandwiched PASSED [ 22%] tests/test_uflash.py::test_extract_not_valid_hex PASSED [ 24%] tests/test_uflash.py::test_extract_no_python PASSED [ 25%] tests/test_uflash.py::test_find_microbit_posix_exists PASSED [ 27%] tests/test_uflash.py::test_find_microbit_posix_missing PASSED [ 29%] tests/test_uflash.py::test_find_microbit_nt_exists PASSED [ 31%] tests/test_uflash.py::test_find_microbit_nt_missing PASSED [ 33%] tests/test_uflash.py::test_find_microbit_nt_removable_only PASSED [ 35%] tests/test_uflash.py::test_find_microbit_unknown_os PASSED [ 37%] tests/test_uflash.py::test_save_hex PASSED [ 38%] tests/test_uflash.py::test_save_hex_no_hex PASSED [ 40%] tests/test_uflash.py::test_save_hex_path_not_to_hex_file PASSED [ 42%] tests/test_uflash.py::test_flash_no_args PASSED [ 44%] tests/test_uflash.py::test_flash_has_python_no_path_to_microbit PASSED [ 46%] tests/test_uflash.py::test_flash_with_path_to_multiple_microbits PASSED [ 48%] tests/test_uflash.py::test_flash_with_path_to_microbit PASSED [ 50%] tests/test_uflash.py::test_flash_with_path_to_runtime PASSED [ 51%] tests/test_uflash.py::test_flash_with_python_script PASSED [ 53%] tests/test_uflash.py::test_flash_cannot_find_microbit PASSED [ 55%] tests/test_uflash.py::test_flash_wrong_python PASSED [ 57%] tests/test_uflash.py::test_hexlify_minify_without_minifier PASSED [ 59%] tests/test_uflash.py::test_hexlify_minify PASSED [ 61%] tests/test_uflash.py::test_main_no_args PASSED [ 62%] tests/test_uflash.py::test_main_first_arg_python PASSED [ 64%] tests/test_uflash.py::test_main_first_arg_help PASSED [ 66%] tests/test_uflash.py::test_main_first_arg_version PASSED [ 68%] tests/test_uflash.py::test_main_first_arg_not_python PASSED [ 70%] tests/test_uflash.py::test_flash_raises PASSED [ 72%] tests/test_uflash.py::test_flash_raises_with_info PASSED [ 74%] tests/test_uflash.py::test_watch_raises PASSED [ 75%] tests/test_uflash.py::test_extract_raises PASSED [ 77%] tests/test_uflash.py::test_main_two_args PASSED [ 79%] tests/test_uflash.py::test_main_multiple_microbits PASSED [ 81%] tests/test_uflash.py::test_main_runtime PASSED [ 83%] tests/test_uflash.py::test_main_named_args PASSED [ 85%] tests/test_uflash.py::test_main_watch_flag PASSED [ 87%] tests/test_uflash.py::test_extract_command PASSED [ 88%] tests/test_uflash.py::test_extract_paths PASSED [ 90%] tests/test_uflash.py::test_extract_command_source_only PASSED [ 92%] tests/test_uflash.py::test_extract_command_no_source PASSED [ 94%] tests/test_uflash.py::test_watch_no_source PASSED [ 96%] tests/test_uflash.py::test_watch_file PASSED [ 98%] tests/test_uflash.py::test_hexlify_validates_script_length PASSED [100%] ========================== 54 passed in 0.32 seconds =========================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: uflash-1.2.1-6.fc33.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.egB7Kw + umask 022 + cd /builddir/build/BUILD + cd uflash-1.2.1 + DOCDIR=/builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64/usr/share/doc/uflash + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64/usr/share/doc/uflash + cp -pr README.rst /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64/usr/share/doc/uflash + cp -pr CHANGES.rst /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64/usr/share/doc/uflash + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.nsFWAx + umask 022 + cd /builddir/build/BUILD + cd uflash-1.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64/usr/share/licenses/uflash + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64/usr/share/licenses/uflash + cp -pr LICENSE /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64/usr/share/licenses/uflash + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-uflash = 1.2.1-6.fc33 python3-uflash = 1.2.1-6.fc33 python3.8dist(uflash) = 1.2.1 python3dist(uflash) = 1.2.1 uflash = 1.2.1-6.fc33 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: /usr/bin/python3 python(abi) = 3.8 python3.8dist(setuptools) Obsoletes: python-uflash < 1.2.1-6.fc33 Recommends: python3-nudatus Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64 Wrote: /builddir/build/RPMS/uflash-1.2.1-6.fc33.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JvCVAx + umask 022 + cd /builddir/build/BUILD + cd uflash-1.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/uflash-1.2.1-6.fc33.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0