Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-twine.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1611948540.817706/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.pb2ai9b5:/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.pb2ai9b5:/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', '1cf18a55ca1a4fde8fe221b38faf92b4', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1611948540.817706/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pb2ai9b5:/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-twine.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 warning: extra tokens at the end of %endif directive in line 52: %endif # with internet warning: extra tokens at the end of %endif directive in line 54: %endif # with tests warning: extra tokens at the end of %endif directive in line 85: %endif # with tests Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1609804800 Wrote: /builddir/build/SRPMS/python-twine-3.3.0-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-twine.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1611948540.817706/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.pb2ai9b5:/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.pb2ai9b5:/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', '5365e95d9cf84b648d4722719413062a', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1611948540.817706/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pb2ai9b5:/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-twine.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 warning: extra tokens at the end of %endif directive in line 52: %endif # with internet warning: extra tokens at the end of %endif directive in line 54: %endif # with tests warning: extra tokens at the end of %endif directive in line 85: %endif # with tests Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1609804800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fOc4Pz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf twine-3.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/twine-3.3.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd twine-3.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i /--disable-socket/d pytest.ini + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mpVqY8 + umask 022 + cd /builddir/build/BUILD + cd twine-3.3.0 + 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/twine copying twine/wininst.py -> build/lib/twine copying twine/wheel.py -> build/lib/twine copying twine/utils.py -> build/lib/twine copying twine/settings.py -> build/lib/twine copying twine/repository.py -> build/lib/twine copying twine/package.py -> build/lib/twine copying twine/exceptions.py -> build/lib/twine copying twine/cli.py -> build/lib/twine copying twine/auth.py -> build/lib/twine copying twine/_installed.py -> build/lib/twine copying twine/__main__.py -> build/lib/twine copying twine/__init__.py -> build/lib/twine creating build/lib/twine/commands copying twine/commands/upload.py -> build/lib/twine/commands copying twine/commands/register.py -> build/lib/twine/commands copying twine/commands/check.py -> build/lib/twine/commands copying twine/commands/__init__.py -> build/lib/twine/commands running egg_info writing twine.egg-info/PKG-INFO writing dependency_links to twine.egg-info/dependency_links.txt writing entry points to twine.egg-info/entry_points.txt writing requirements to twine.egg-info/requires.txt writing top-level names to twine.egg-info/top_level.txt reading manifest file 'twine.egg-info/SOURCES.txt' writing manifest file 'twine.egg-info/SOURCES.txt' copying twine/py.typed -> build/lib/twine + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lXy5eQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64 ++ dirname /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64 + cd twine-3.3.0 + 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-twine-3.3.0-1.fc34.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr creating /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine copying build/lib/twine/py.typed -> /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine creating /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/commands copying build/lib/twine/commands/__init__.py -> /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/commands copying build/lib/twine/commands/check.py -> /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/commands copying build/lib/twine/commands/register.py -> /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/commands copying build/lib/twine/commands/upload.py -> /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/commands copying build/lib/twine/__init__.py -> /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine copying build/lib/twine/__main__.py -> /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine copying build/lib/twine/_installed.py -> /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine copying build/lib/twine/auth.py -> /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine copying build/lib/twine/cli.py -> /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine copying build/lib/twine/exceptions.py -> /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine copying build/lib/twine/package.py -> /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine copying build/lib/twine/repository.py -> /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine copying build/lib/twine/settings.py -> /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine copying build/lib/twine/utils.py -> /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine copying build/lib/twine/wheel.py -> /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine copying build/lib/twine/wininst.py -> /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine byte-compiling /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/commands/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/commands/check.py to check.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/commands/register.py to register.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/commands/upload.py to upload.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/__main__.py to __main__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/_installed.py to _installed.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/auth.py to auth.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/cli.py to cli.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/exceptions.py to exceptions.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/package.py to package.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/repository.py to repository.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/settings.py to settings.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/utils.py to utils.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/wheel.py to wheel.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine/wininst.py to wininst.cpython-39.pyc writing byte-compilation script '/tmp/tmpit9kz8uc.py' /usr/bin/python3 /tmp/tmpit9kz8uc.py removing /tmp/tmpit9kz8uc.py running install_egg_info running egg_info writing twine.egg-info/PKG-INFO writing dependency_links to twine.egg-info/dependency_links.txt writing entry points to twine.egg-info/entry_points.txt writing requirements to twine.egg-info/requires.txt writing top-level names to twine.egg-info/top_level.txt reading manifest file 'twine.egg-info/SOURCES.txt' writing manifest file 'twine.egg-info/SOURCES.txt' Copying twine.egg-info to /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages/twine-3.3.0-py3.9.egg-info running install_scripts Installing twine script to /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/bin + rm -rfv /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/bin/__pycache__ + install -p -D -T -m 0644 /builddir/build/SOURCES/twine.1 /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/share/man/man1/twine.1 + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 3.3.0-1.fc34 --unique-debug-suffix -3.3.0-1.fc34.x86_64 --unique-debug-src-base python-twine-3.3.0-1.fc34.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/twine-3.3.0 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-twine-3.3.0-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.Uk8v0o + umask 022 + cd /builddir/build/BUILD + cd twine-3.3.0 + 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 ' + PATH=/builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib64/python3.9/site-packages:/builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/lib/python3.9/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/pytest -v --deselect tests/test_integration.py --deselect tests/test_upload.py::test_check_status_code_for_wrong_repo_url ============================= test session starts ============================== platform linux -- Python 3.9.1, pytest-6.0.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/twine-3.3.0, configfile: pytest.ini plugins: cov-2.11.1 collecting ... collected 167 items / 13 deselected / 154 selected tests/test_auth.py::test_get_password_keyring_overrides_prompt PASSED [ 0%] tests/test_auth.py::test_get_password_keyring_defers_to_prompt PASSED [ 1%] tests/test_auth.py::test_no_password_defers_to_prompt PASSED [ 1%] tests/test_auth.py::test_empty_password_bypasses_prompt PASSED [ 2%] tests/test_auth.py::test_no_username_non_interactive_aborts PASSED [ 3%] tests/test_auth.py::test_no_password_non_interactive_aborts PASSED [ 3%] tests/test_auth.py::test_get_username_and_password_keyring_overrides_prompt PASSED [ 4%] tests/test_auth.py::test_get_username_keyring_missing_get_credentials_prompts PASSED [ 5%] tests/test_auth.py::test_get_username_keyring_missing_non_interactive_aborts PASSED [ 5%] tests/test_auth.py::test_get_password_keyring_missing_non_interactive_aborts PASSED [ 6%] tests/test_auth.py::test_get_username_runtime_error_suppressed PASSED [ 7%] tests/test_auth.py::test_get_password_runtime_error_suppressed PASSED [ 7%] tests/test_auth.py::test_get_username_return_none PASSED [ 8%] tests/test_auth.py::test_logs_cli_values PASSED [ 9%] tests/test_auth.py::test_logs_config_values PASSED [ 9%] tests/test_check.py::TestWarningStream::test_write_match PASSED [ 10%] tests/test_check.py::TestWarningStream::test_write_nomatch PASSED [ 11%] tests/test_check.py::TestWarningStream::test_str_representation PASSED [ 11%] tests/test_check.py::test_check_no_distributions PASSED [ 12%] tests/test_check.py::test_check_passing_distribution PASSED [ 12%] tests/test_check.py::test_check_passing_distribution_with_none_renderer[text/plain] PASSED [ 13%] tests/test_check.py::test_check_passing_distribution_with_none_renderer[text/markdown] PASSED [ 14%] tests/test_check.py::test_check_no_description PASSED [ 14%] tests/test_check.py::test_strict_fails_on_warnings PASSED [ 15%] tests/test_check.py::test_check_failing_distribution PASSED [ 16%] tests/test_check.py::test_main PASSED [ 16%] tests/test_cli.py::test_dispatch_to_subcommand PASSED [ 17%] tests/test_cli.py::test_catches_enoent PASSED [ 18%] tests/test_commands.py::test_ensure_wheel_files_uploaded_first PASSED [ 18%] tests/test_commands.py::test_ensure_if_no_wheel_files PASSED [ 19%] tests/test_commands.py::test_find_dists_expands_globs PASSED [ 20%] tests/test_commands.py::test_find_dists_errors_on_invalid_globs PASSED [ 20%] tests/test_commands.py::test_find_dists_handles_real_files PASSED [ 21%] tests/test_main.py::test_exception_handling PASSED [ 22%] tests/test_main.py::test_no_color_exception PASSED [ 22%] tests/test_package.py::test_sign_file PASSED [ 23%] tests/test_package.py::test_sign_file_with_identity PASSED [ 24%] tests/test_package.py::test_run_gpg_raises_exception_if_no_gpgs PASSED [ 24%] tests/test_package.py::test_run_gpg_raises_exception_if_not_using_gpg PASSED [ 25%] tests/test_package.py::test_run_gpg_falls_back_to_gpg2 PASSED [ 25%] tests/test_package.py::test_package_signed_name_is_correct PASSED [ 26%] tests/test_package.py::test_metadata_dictionary[None] PASSED [ 27%] tests/test_package.py::test_metadata_dictionary[gpg_signature1] PASSED [ 27%] tests/test_package.py::test_hash_manager PASSED [ 28%] tests/test_package.py::test_fips_hash_manager_md5 PASSED [ 29%] tests/test_package.py::test_fips_hash_manager_blake2 PASSED [ 29%] tests/test_package.py::test_pkginfo_returns_no_metadata PASSED [ 30%] tests/test_package.py::test_malformed_from_file PASSED [ 31%] tests/test_register.py::test_successful_register PASSED [ 31%] tests/test_register.py::test_exception_for_redirect PASSED [ 32%] tests/test_register.py::test_non_existent_package PASSED [ 33%] tests/test_register.py::test_values_from_env PASSED [ 33%] tests/test_repository.py::test_gpg_signature_structure_is_preserved PASSED [ 34%] tests/test_repository.py::test_content_structure_is_preserved PASSED [ 35%] tests/test_repository.py::test_iterables_are_flattened PASSED [ 35%] tests/test_repository.py::test_set_client_certificate PASSED [ 36%] tests/test_repository.py::test_set_certificate_authority PASSED [ 37%] tests/test_repository.py::test_make_user_agent_string PASSED [ 37%] tests/test_repository.py::test_package_is_uploaded_404s PASSED [ 38%] tests/test_repository.py::test_package_is_uploaded_200s_with_no_releases PASSED [ 38%] tests/test_repository.py::test_package_is_uploaded_with_releases_using_cache PASSED [ 39%] tests/test_repository.py::test_package_is_uploaded_with_releases_not_using_cache PASSED [ 40%] tests/test_repository.py::test_package_is_uploaded_different_filenames PASSED [ 40%] tests/test_repository.py::test_package_is_registered PASSED [ 41%] tests/test_repository.py::test_disable_progress_bar_is_forwarded_to_tqdm[True] PASSED [ 42%] tests/test_repository.py::test_disable_progress_bar_is_forwarded_to_tqdm[False] PASSED [ 42%] tests/test_repository.py::test_upload_retry PASSED [ 43%] tests/test_repository.py::test_release_urls[package_meta0-https://upload.pypi.org/legacy/-release_urls0] PASSED [ 44%] tests/test_repository.py::test_release_urls[package_meta1-https://test.pypi.org/legacy/-release_urls1] PASSED [ 44%] tests/test_repository.py::test_release_urls[package_meta2-https://upload.pypi.org/legacy/-release_urls2] PASSED [ 45%] tests/test_repository.py::test_release_urls[package_meta3-https://upload.pypi.org/legacy/-release_urls3] PASSED [ 46%] tests/test_repository.py::test_release_urls[package_meta4-http://devpi.example.com-release_urls4] PASSED [ 46%] tests/test_repository.py::test_release_urls[package_meta5-https://upload.pypi.org/legacy/-release_urls5] PASSED [ 47%] tests/test_repository.py::test_package_is_uploaded_incorrect_repo_url PASSED [ 48%] tests/test_repository.py::test_logs_username_and_password[None-None-messages0] PASSED [ 48%] tests/test_repository.py::test_logs_username_and_password[--messages1] PASSED [ 49%] tests/test_repository.py::test_logs_username_and_password[username-password-messages2] PASSED [ 50%] tests/test_settings.py::test_settings_takes_no_positional_arguments PASSED [ 50%] tests/test_settings.py::test_settings_transforms_repository_config PASSED [ 51%] tests/test_settings.py::test_setup_logging[True-20] PASSED [ 51%] tests/test_settings.py::test_setup_logging[False-30] PASSED [ 52%] tests/test_settings.py::test_print_config_path_if_verbose[True] PASSED [ 53%] tests/test_settings.py::test_print_config_path_if_verbose[False] PASSED [ 53%] tests/test_settings.py::test_identity_requires_sign PASSED [ 54%] tests/test_settings.py::test_password_is_required_if_no_client_cert[None] PASSED [ 55%] tests/test_settings.py::test_password_is_required_if_no_client_cert[] PASSED [ 55%] tests/test_settings.py::test_client_cert_and_password_both_set_if_given PASSED [ 56%] tests/test_settings.py::test_password_required_if_no_client_cert_and_non_interactive PASSED [ 57%] tests/test_settings.py::test_no_password_prompt_if_client_cert_and_non_interactive PASSED [ 57%] tests/test_settings.py::TestArgumentParsing::test_non_interactive_flag PASSED [ 58%] tests/test_settings.py::TestArgumentParsing::test_non_interactive_environment PASSED [ 59%] tests/test_upload.py::test_make_package_pre_signed_dist PASSED [ 59%] tests/test_upload.py::test_make_package_unsigned_dist PASSED [ 60%] tests/test_upload.py::test_successs_prints_release_urls PASSED [ 61%] tests/test_upload.py::test_print_packages_if_verbose PASSED [ 61%] tests/test_upload.py::test_success_with_pre_signed_distribution PASSED [ 62%] tests/test_upload.py::test_success_when_gpg_is_run PASSED [ 62%] tests/test_upload.py::test_exception_for_http_status[False] PASSED [ 63%] tests/test_upload.py::test_exception_for_http_status[True] PASSED [ 64%] tests/test_upload.py::test_get_config_old_format PASSED [ 64%] tests/test_upload.py::test_deprecated_repo PASSED [ 65%] tests/test_upload.py::test_exception_for_redirect PASSED [ 66%] tests/test_upload.py::test_prints_skip_message_for_uploaded_package PASSED [ 66%] tests/test_upload.py::test_prints_skip_message_for_response PASSED [ 67%] tests/test_upload.py::test_skip_existing_skips_files_on_repository[pypi] PASSED [ 68%] tests/test_upload.py::test_skip_existing_skips_files_on_repository[nexus] PASSED [ 68%] tests/test_upload.py::test_skip_existing_skips_files_on_repository[nexus_new] PASSED [ 69%] tests/test_upload.py::test_skip_existing_skips_files_on_repository[pypiserver] PASSED [ 70%] tests/test_upload.py::test_skip_existing_skips_files_on_repository[artifactory_old] PASSED [ 70%] tests/test_upload.py::test_skip_existing_skips_files_on_repository[artifactory_new] PASSED [ 71%] tests/test_upload.py::test_skip_existing_skips_files_on_repository[gitlab_enterprise] PASSED [ 72%] tests/test_upload.py::test_skip_upload_doesnt_match[wrong_reason] PASSED [ 72%] tests/test_upload.py::test_skip_upload_doesnt_match[wrong_code] PASSED [ 73%] tests/test_upload.py::test_skip_upload_respects_skip_existing PASSED [ 74%] tests/test_upload.py::test_values_from_env PASSED [ 74%] tests/test_utils.py::test_get_config PASSED [ 75%] tests/test_utils.py::test_get_config_no_distutils PASSED [ 75%] tests/test_utils.py::test_get_config_no_section PASSED [ 76%] tests/test_utils.py::test_get_config_override_pypi_url PASSED [ 77%] tests/test_utils.py::test_get_config_missing PASSED [ 77%] tests/test_utils.py::test_empty_userpass PASSED [ 78%] tests/test_utils.py::test_get_repository_config_missing PASSED [ 79%] tests/test_utils.py::test_get_repository_config_with_invalid_url[ftp://test.pypi.org-scheme was required to be one of \\['http', 'https'\\]] PASSED [ 79%] tests/test_utils.py::test_get_repository_config_with_invalid_url[https:/-host was required but missing.] PASSED [ 80%] tests/test_utils.py::test_get_repository_config_with_invalid_url[//test.pypi.org-scheme was required but missing.] PASSED [ 81%] tests/test_utils.py::test_get_repository_config_with_invalid_url[foo.bar-host, scheme were required but missing.] PASSED [ 81%] tests/test_utils.py::test_get_repository_config_missing_config PASSED [ 82%] tests/test_utils.py::test_get_config_deprecated_pypirc PASSED [ 83%] tests/test_utils.py::test_get_userpass_value[cli-config0-key--cli] PASSED [ 83%] tests/test_utils.py::test_get_userpass_value[None-config1-key--value] PASSED [ 84%] tests/test_utils.py::test_get_userpass_value[None-config2-key--fallback] PASSED [ 85%] tests/test_utils.py::test_default_to_environment_action[MY_PASSWORD-None-environ0-None] PASSED [ 85%] tests/test_utils.py::test_default_to_environment_action[MY_PASSWORD-None-environ1-foo] PASSED [ 86%] tests/test_utils.py::test_default_to_environment_action[URL-https://example.org-environ2-https://example.org] PASSED [ 87%] tests/test_utils.py::test_default_to_environment_action[URL-https://example.org-environ3-https://pypi.org] PASSED [ 87%] tests/test_utils.py::test_check_status_code_for_deprecated_pypi_url[https://pypi.python.org] PASSED [ 88%] tests/test_utils.py::test_check_status_code_for_deprecated_pypi_url[https://testpypi.python.org] PASSED [ 88%] tests/test_utils.py::test_check_status_code_for_missing_status_code[True-https://pypi.python.org] PASSED [ 89%] tests/test_utils.py::test_check_status_code_for_missing_status_code[True-https://testpypi.python.org] PASSED [ 90%] tests/test_utils.py::test_check_status_code_for_missing_status_code[False-https://pypi.python.org] PASSED [ 90%] tests/test_utils.py::test_check_status_code_for_missing_status_code[False-https://testpypi.python.org] PASSED [ 91%] tests/test_utils.py::test_get_file_size[3704-3.6 KB] PASSED [ 92%] tests/test_utils.py::test_get_file_size[1153433-1.1 MB] PASSED [ 92%] tests/test_utils.py::test_get_file_size[21412841-20.4 MB] PASSED [ 93%] tests/test_wheel.py::test_version_parsing[fixtures/twine-1.5.0-py2.py3-none-any.whl] PASSED [ 94%] tests/test_wheel.py::test_version_parsing[alt-fixtures/twine-1.5.0-py2.py3-none-any.whl] PASSED [ 94%] tests/test_wheel.py::test_version_parsing_missing_pyver[fixtures/twine-1.5.0-py2.py3-none-any.whl] PASSED [ 95%] tests/test_wheel.py::test_version_parsing_missing_pyver[alt-fixtures/twine-1.5.0-py2.py3-none-any.whl] PASSED [ 96%] tests/test_wheel.py::test_find_metadata_files PASSED [ 96%] tests/test_wheel.py::test_read_valid[fixtures/twine-1.5.0-py2.py3-none-any.whl] PASSED [ 97%] tests/test_wheel.py::test_read_valid[alt-fixtures/twine-1.5.0-py2.py3-none-any.whl] PASSED [ 98%] tests/test_wheel.py::test_read_non_existent_wheel_file_name PASSED [ 98%] tests/test_wheel.py::test_read_invalid_wheel_extension PASSED [ 99%] tests/test_wheel.py::test_read_wheel_empty_metadata PASSED [100%] =============================== warnings summary =============================== tests/test_integration.py:20 /builddir/build/BUILD/twine-3.3.0/tests/test_integration.py:20: PytestUnknownMarkWarning: Unknown pytest.mark.enable_socket - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html pytestmark = [pytest.mark.enable_socket, pytest.mark.flaky(reruns=3, reruns_delay=1)] tests/test_integration.py:20 /builddir/build/BUILD/twine-3.3.0/tests/test_integration.py:20: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html pytestmark = [pytest.mark.enable_socket, pytest.mark.flaky(reruns=3, reruns_delay=1)] tests/test_auth.py::test_no_password_defers_to_prompt tests/test_auth.py::test_no_username_non_interactive_aborts tests/test_auth.py::test_no_password_non_interactive_aborts tests/test_auth.py::test_get_password_keyring_missing_non_interactive_aborts tests/test_settings.py::test_password_is_required_if_no_client_cert[None] tests/test_settings.py::test_password_is_required_if_no_client_cert[] tests/test_settings.py::test_password_required_if_no_client_cert_and_non_interactive tests/test_settings.py::test_no_password_prompt_if_client_cert_and_non_interactive /builddir/build/BUILD/twine-3.3.0/twine/auth.py:72: UserWarning: No recommended backend was available. Install a recommended 3rd party backend package; or, install the keyrings.alt package if you want to use the non-recommended backends. See https://pypi.org/project/keyring for details. warnings.warn(str(exc)) -- Docs: https://docs.pytest.org/en/stable/warnings.html =============== 154 passed, 13 deselected, 10 warnings in 1.84s ================ + RPM_EC=0 ++ jobs -p + exit 0 Processing files: twine-3.3.0-1.fc34.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CNTwE0 + umask 022 + cd /builddir/build/BUILD + cd twine-3.3.0 + DOCDIR=/builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/share/doc/twine + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/share/doc/twine + cp -pr README.rst /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/share/doc/twine + cp -pr AUTHORS /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/share/doc/twine + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PjjGID + umask 022 + cd /builddir/build/BUILD + cd twine-3.3.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/share/licenses/twine + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/share/licenses/twine + cp -pr LICENSE /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64/usr/share/licenses/twine + RPM_EC=0 ++ jobs -p + exit 0 Provides: python3.9dist(twine) = 3.3 python3dist(twine) = 3.3 twine = 3.3.0-1.fc34 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: ((python3.9dist(requests-toolbelt) < 0.9 or python3.9dist(requests-toolbelt) > 0.9) with python3.9dist(requests-toolbelt) >= 0.8) /usr/bin/python3 python(abi) = 3.9 python3.9dist(colorama) >= 0.4.3 python3.9dist(keyring) >= 15.1 python3.9dist(pkginfo) >= 1.4.2 python3.9dist(readme-renderer) >= 21 python3.9dist(requests) >= 2.20 python3.9dist(rfc3986) >= 1.4 python3.9dist(setuptools) >= 0.7 python3.9dist(tqdm) >= 4.14 Obsoletes: python2-twine < 1.12.2-3 python3-twine < 1.12.2-3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64 Wrote: /builddir/build/RPMS/twine-3.3.0-1.fc34.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Y6pTKI + umask 022 + cd /builddir/build/BUILD + cd twine-3.3.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-twine-3.3.0-1.fc34.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0