Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-jwt.spec'], chrootPath='/var/lib/mock/dist-an7_9-updates-build-186639-60119/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=86400uid=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ldomgdfg:/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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ldomgdfg:/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', 'bc36d0f8ef16412dac405d81cd8c3288', '-D', '/var/lib/mock/dist-an7_9-updates-build-186639-60119/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ldomgdfg:/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', '--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-jwt.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 Wrote: /builddir/build/SRPMS/python-jwt-2.3.0-1.an7.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-jwt.spec'], chrootPath='/var/lib/mock/dist-an7_9-updates-build-186639-60119/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=86400uid=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ldomgdfg:/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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ldomgdfg:/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', 'e7066f6a38a447ef8ee59b26a691ebfb', '-D', '/var/lib/mock/dist-an7_9-updates-build-186639-60119/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ldomgdfg:/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', '--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-jwt.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5FlEjc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PyJWT-2.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/PyJWT-2.3.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd PyJWT-2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf PyJWT.egg-info + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JBOUo1 + umask 022 + cd /builddir/build/BUILD + cd PyJWT-2.3.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + LDFLAGS='-Wl,-z,relro ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/jwt copying jwt/__init__.py -> build/lib/jwt copying jwt/algorithms.py -> build/lib/jwt copying jwt/api_jwk.py -> build/lib/jwt copying jwt/api_jws.py -> build/lib/jwt copying jwt/api_jwt.py -> build/lib/jwt copying jwt/exceptions.py -> build/lib/jwt copying jwt/help.py -> build/lib/jwt copying jwt/jwks_client.py -> build/lib/jwt copying jwt/utils.py -> build/lib/jwt running egg_info creating PyJWT.egg-info writing PyJWT.egg-info/PKG-INFO writing dependency_links to PyJWT.egg-info/dependency_links.txt writing requirements to PyJWT.egg-info/requires.txt writing top-level names to PyJWT.egg-info/top_level.txt writing manifest file 'PyJWT.egg-info/SOURCES.txt' reading manifest file 'PyJWT.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'codecov.yml' warning: no previously-included files matching '*' found under directory 'docs/_build' warning: no previously-included files matching '*.py[co]' found under directory '*' warning: no previously-included files matching '__pycache__' found under directory '*' writing manifest file 'PyJWT.egg-info/SOURCES.txt' copying jwt/py.typed -> build/lib/jwt + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dllrOU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64 ++ dirname /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64 + cd PyJWT-2.3.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + LDFLAGS='-Wl,-z,relro ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr creating /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/__init__.py -> /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/algorithms.py -> /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/api_jwk.py -> /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/api_jws.py -> /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/api_jwt.py -> /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/exceptions.py -> /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/help.py -> /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/jwks_client.py -> /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/utils.py -> /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/py.typed -> /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt byte-compiling /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt/algorithms.py to algorithms.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt/api_jwk.py to api_jwk.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt/api_jws.py to api_jws.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt/api_jwt.py to api_jwt.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt/exceptions.py to exceptions.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt/help.py to help.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt/jwks_client.py to jwks_client.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/jwt/utils.py to utils.cpython-36.pyc writing byte-compilation script '/tmp/tmpod13mxgl.py' /usr/bin/python3 /tmp/tmpod13mxgl.py removing /tmp/tmpod13mxgl.py running install_egg_info running egg_info writing PyJWT.egg-info/PKG-INFO writing dependency_links to PyJWT.egg-info/dependency_links.txt writing requirements to PyJWT.egg-info/requires.txt writing top-level names to PyJWT.egg-info/top_level.txt reading manifest file 'PyJWT.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'codecov.yml' warning: no previously-included files matching '*' found under directory 'docs/_build' warning: no previously-included files matching '*.py[co]' found under directory '*' warning: no previously-included files matching '__pycache__' found under directory '*' writing manifest file 'PyJWT.egg-info/SOURCES.txt' Copying PyJWT.egg-info to /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages/PyJWT-2.3.0-py3.6.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/PyJWT-2.3.0 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6 using /usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.50iY0P + umask 022 + cd /builddir/build/BUILD + cd PyJWT-2.3.0 + PYTHONPATH=/builddir/build/BUILDROOT/python-jwt-2.3.0-1.an7.x86_64/usr/lib/python3.6/site-packages + py.test-3.6 --verbose tests ============================= test session starts ============================== platform linux -- Python 3.6.8, pytest-2.9.2, py-1.4.32, pluggy-0.3.1 -- /usr/bin/python3 cachedir: .cache rootdir: /builddir/build/BUILD/PyJWT-2.3.0, inifile: tox.ini collecting ... collected 199 items / 1 errors tests/test_algorithms.py::TestAlgorithms::test_algorithm_should_throw_exception_if_prepare_key_not_impl PASSED tests/test_algorithms.py::TestAlgorithms::test_algorithm_should_throw_exception_if_sign_not_impl PASSED tests/test_algorithms.py::TestAlgorithms::test_algorithm_should_throw_exception_if_verify_not_impl PASSED tests/test_algorithms.py::TestAlgorithms::test_algorithm_should_throw_exception_if_to_jwk_not_impl PASSED tests/test_algorithms.py::TestAlgorithms::test_algorithm_should_throw_exception_if_from_jwk_not_impl PASSED tests/test_algorithms.py::TestAlgorithms::test_none_algorithm_should_throw_exception_if_key_is_not_none PASSED tests/test_algorithms.py::TestAlgorithms::test_hmac_should_reject_nonstring_key PASSED tests/test_algorithms.py::TestAlgorithms::test_hmac_should_accept_unicode_key PASSED tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception[0testkey2_rsa.pub.pem] PASSED tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception[1testkey2_rsa.pub.pem] PASSED tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception[2testkey_pkcs1.pub.pem] PASSED tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception[3testkey_rsa.cer] PASSED tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception[4testkey_rsa.pub] PASSED tests/test_algorithms.py::TestAlgorithms::test_hmac_jwk_should_parse_and_verify PASSED tests/test_algorithms.py::TestAlgorithms::test_hmac_to_jwk_returns_correct_values PASSED tests/test_algorithms.py::TestAlgorithms::test_hmac_from_jwk_should_raise_exception_if_not_hmac_key PASSED tests/test_algorithms.py::TestAlgorithms::test_rsa_should_parse_pem_public_key SKIPPED tests/test_algorithms.py::TestAlgorithms::test_rsa_should_accept_pem_private_key_bytes SKIPPED tests/test_algorithms.py::TestAlgorithms::test_rsa_should_accept_unicode_key SKIPPED tests/test_algorithms.py::TestAlgorithms::test_rsa_should_reject_non_string_key SKIPPED tests/test_algorithms.py::TestAlgorithms::test_rsa_verify_should_return_false_if_signature_invalid SKIPPED tests/test_algorithms.py::TestAlgorithms::test_ec_jwk_public_and_private_keys_should_parse_and_verify SKIPPED tests/test_algorithms.py::TestAlgorithms::test_ec_jwk_fails_on_invalid_json SKIPPED tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_public_and_private_keys_should_parse_and_verify SKIPPED tests/test_algorithms.py::TestAlgorithms::test_rsa_private_key_to_jwk_works_with_from_jwk SKIPPED tests/test_algorithms.py::TestAlgorithms::test_rsa_public_key_to_jwk_works_with_from_jwk SKIPPED tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_with_other_primes_is_invalid SKIPPED tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_with_missing_values_is_invalid SKIPPED tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_can_recover_prime_factors SKIPPED tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_with_missing_required_values_is_invalid SKIPPED tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_raises_exception_if_not_a_valid_key SKIPPED tests/test_algorithms.py::TestAlgorithms::test_rsa_to_jwk_returns_correct_values_for_public_key SKIPPED tests/test_algorithms.py::TestAlgorithms::test_rsa_to_jwk_returns_correct_values_for_private_key SKIPPED tests/test_algorithms.py::TestAlgorithms::test_rsa_to_jwk_raises_exception_on_invalid_key SKIPPED tests/test_algorithms.py::TestAlgorithms::test_rsa_from_jwk_raises_exception_on_invalid_key SKIPPED tests/test_algorithms.py::TestAlgorithms::test_ec_should_reject_non_string_key SKIPPED tests/test_algorithms.py::TestAlgorithms::test_ec_should_accept_pem_private_key_bytes SKIPPED tests/test_algorithms.py::TestAlgorithms::test_ec_should_accept_ssh_public_key_bytes SKIPPED tests/test_algorithms.py::TestAlgorithms::test_ec_verify_should_return_false_if_signature_invalid SKIPPED tests/test_algorithms.py::TestAlgorithms::test_ec_verify_should_return_false_if_signature_wrong_length SKIPPED tests/test_algorithms.py::TestAlgorithms::test_rsa_pss_sign_then_verify_should_return_true SKIPPED tests/test_algorithms.py::TestAlgorithms::test_rsa_pss_verify_should_return_false_if_signature_invalid SKIPPED tests/test_algorithms.py::TestAlgorithmsRFC7520::test_hmac_verify_should_return_true_for_test_vector PASSED tests/test_algorithms.py::TestAlgorithmsRFC7520::test_rsa_verify_should_return_true_for_test_vector SKIPPED tests/test_algorithms.py::TestAlgorithmsRFC7520::test_rsapss_verify_should_return_true_for_test_vector SKIPPED tests/test_algorithms.py::TestAlgorithmsRFC7520::test_ec_verify_should_return_true_for_test_vector SKIPPED tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_should_reject_non_string_key SKIPPED tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_should_accept_unicode_key SKIPPED tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_sign_should_generate_correct_signature_value SKIPPED tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_verify_should_return_false_if_signature_invalid SKIPPED tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_verify_should_return_true_if_signature_valid SKIPPED tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_prepare_key_should_be_idempotent SKIPPED tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_jwk_private_key_should_parse_and_verify SKIPPED tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_jwk_private_key_should_parse_and_verify_with_private_key_as_is SKIPPED tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_jwk_public_key_should_parse_and_verify SKIPPED tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_jwk_fails_on_invalid_json SKIPPED tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed25519_to_jwk_works_with_from_jwk SKIPPED tests/test_algorithms.py::TestOKPAlgorithms::test_okp_to_jwk_raises_exception_on_invalid_key SKIPPED tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed448_jwk_private_key_should_parse_and_verify SKIPPED tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed448_jwk_private_key_should_parse_and_verify_with_private_key_as_is SKIPPED tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed448_jwk_public_key_should_parse_and_verify SKIPPED tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed448_jwk_fails_on_invalid_json SKIPPED tests/test_algorithms.py::TestOKPAlgorithms::test_okp_ed448_to_jwk_works_with_from_jwk SKIPPED tests/test_api_jwk.py::TestPyJWK::test_should_load_key_from_jwk_data_dict SKIPPED tests/test_api_jwk.py::TestPyJWK::test_should_load_key_from_jwk_data_json_string SKIPPED tests/test_api_jwk.py::TestPyJWK::test_should_load_key_without_alg_from_dict SKIPPED tests/test_api_jwk.py::TestPyJWK::test_should_load_key_from_dict_with_algorithm SKIPPED tests/test_api_jwk.py::TestPyJWK::test_should_load_key_ec_p256_from_dict SKIPPED tests/test_api_jwk.py::TestPyJWK::test_should_load_key_ec_p384_from_dict SKIPPED tests/test_api_jwk.py::TestPyJWK::test_should_load_key_ec_p521_from_dict SKIPPED tests/test_api_jwk.py::TestPyJWK::test_should_load_key_ec_secp256k1_from_dict SKIPPED tests/test_api_jwk.py::TestPyJWK::test_should_load_key_hmac_from_dict SKIPPED tests/test_api_jwk.py::TestPyJWK::test_should_load_key_hmac_without_alg_from_dict SKIPPED tests/test_api_jwk.py::TestPyJWK::test_should_load_key_okp_without_alg_from_dict SKIPPED tests/test_api_jwk.py::TestPyJWK::test_from_dict_should_throw_exception_if_arg_is_invalid SKIPPED tests/test_api_jwk.py::TestPyJWKSet::test_should_load_keys_from_jwk_data_dict SKIPPED tests/test_api_jwk.py::TestPyJWKSet::test_should_load_keys_from_jwk_data_json_string SKIPPED tests/test_api_jws.py::TestJWS::test_register_algo_does_not_allow_duplicate_registration PASSED tests/test_api_jws.py::TestJWS::test_register_algo_rejects_non_algorithm_obj PASSED tests/test_api_jws.py::TestJWS::test_unregister_algo_removes_algorithm PASSED tests/test_api_jws.py::TestJWS::test_unregister_algo_throws_error_if_not_registered PASSED tests/test_api_jws.py::TestJWS::test_algo_parameter_removes_alg_from_algorithms_list PASSED tests/test_api_jws.py::TestJWS::test_override_options PASSED tests/test_api_jws.py::TestJWS::test_non_object_options_dont_persist PASSED tests/test_api_jws.py::TestJWS::test_options_must_be_dict PASSED tests/test_api_jws.py::TestJWS::test_encode_decode PASSED tests/test_api_jws.py::TestJWS::test_decode_fails_when_alg_is_not_on_method_algorithms_param PASSED tests/test_api_jws.py::TestJWS::test_decode_works_with_unicode_token PASSED tests/test_api_jws.py::TestJWS::test_decode_missing_segments_throws_exception PASSED tests/test_api_jws.py::TestJWS::test_decode_invalid_token_type_is_none PASSED tests/test_api_jws.py::TestJWS::test_decode_invalid_token_type_is_int PASSED tests/test_api_jws.py::TestJWS::test_decode_with_non_mapping_header_throws_exception PASSED tests/test_api_jws.py::TestJWS::test_encode_algorithm_param_should_be_case_sensitive PASSED tests/test_api_jws.py::TestJWS::test_encode_with_headers_alg_none PASSED tests/test_api_jws.py::TestJWS::test_encode_with_headers_alg_es256 SKIPPED tests/test_api_jws.py::TestJWS::test_encode_with_alg_hs256_and_headers_alg_es256 SKIPPED tests/test_api_jws.py::TestJWS::test_decode_algorithm_param_should_be_case_sensitive PASSED tests/test_api_jws.py::TestJWS::test_bad_secret PASSED tests/test_api_jws.py::TestJWS::test_decodes_valid_jws PASSED tests/test_api_jws.py::TestJWS::test_decodes_complete_valid_jws PASSED tests/test_api_jws.py::TestJWS::test_decodes_valid_es384_jws SKIPPED tests/test_api_jws.py::TestJWS::test_decodes_valid_rs384_jws SKIPPED tests/test_api_jws.py::TestJWS::test_load_verify_valid_jws PASSED tests/test_api_jws.py::TestJWS::test_allow_skip_verification PASSED tests/test_api_jws.py::TestJWS::test_decode_with_optional_algorithms PASSED tests/test_api_jws.py::TestJWS::test_decode_no_algorithms_verify_signature_false PASSED tests/test_api_jws.py::TestJWS::test_load_no_verification PASSED tests/test_api_jws.py::TestJWS::test_no_secret PASSED tests/test_api_jws.py::TestJWS::test_verify_signature_with_no_secret PASSED tests/test_api_jws.py::TestJWS::test_verify_signature_with_no_algo_header_throws_exception PASSED tests/test_api_jws.py::TestJWS::test_invalid_crypto_alg PASSED tests/test_api_jws.py::TestJWS::test_missing_crypto_library_better_error_messages PASSED tests/test_api_jws.py::TestJWS::test_unicode_secret PASSED tests/test_api_jws.py::TestJWS::test_nonascii_secret PASSED tests/test_api_jws.py::TestJWS::test_bytes_secret PASSED tests/test_api_jws.py::TestJWS::test_decode_invalid_header_padding PASSED tests/test_api_jws.py::TestJWS::test_decode_invalid_header_string PASSED tests/test_api_jws.py::TestJWS::test_decode_invalid_payload_padding PASSED tests/test_api_jws.py::TestJWS::test_decode_invalid_crypto_padding PASSED tests/test_api_jws.py::TestJWS::test_decode_with_algo_none_should_fail PASSED tests/test_api_jws.py::TestJWS::test_decode_with_algo_none_and_verify_false_should_pass PASSED tests/test_api_jws.py::TestJWS::test_get_unverified_header_returns_header_values PASSED tests/test_api_jws.py::TestJWS::test_get_unverified_header_fails_on_bad_header_types PASSED tests/test_api_jws.py::TestJWS::test_encode_decode_rsa_related_algorithms[RS256] SKIPPED tests/test_api_jws.py::TestJWS::test_encode_decode_rsa_related_algorithms[RS384] SKIPPED tests/test_api_jws.py::TestJWS::test_encode_decode_rsa_related_algorithms[RS512] SKIPPED tests/test_api_jws.py::TestJWS::test_rsa_related_algorithms PASSED tests/test_api_jws.py::TestJWS::test_encode_decode_ecdsa_related_algorithms[ES256] SKIPPED tests/test_api_jws.py::TestJWS::test_encode_decode_ecdsa_related_algorithms[ES256K] SKIPPED tests/test_api_jws.py::TestJWS::test_encode_decode_ecdsa_related_algorithms[ES384] SKIPPED tests/test_api_jws.py::TestJWS::test_encode_decode_ecdsa_related_algorithms[ES512] SKIPPED tests/test_api_jws.py::TestJWS::test_ecdsa_related_algorithms PASSED tests/test_api_jws.py::TestJWS::test_skip_check_signature PASSED tests/test_api_jws.py::TestJWS::test_decode_options_must_be_dict PASSED tests/test_api_jws.py::TestJWS::test_custom_json_encoder PASSED tests/test_api_jws.py::TestJWS::test_encode_headers_parameter_adds_headers PASSED tests/test_api_jws.py::TestJWS::test_encode_with_typ PASSED tests/test_api_jws.py::TestJWS::test_encode_with_typ_empty_string PASSED tests/test_api_jws.py::TestJWS::test_encode_with_typ_none PASSED tests/test_api_jws.py::TestJWS::test_encode_with_typ_without_keywords PASSED tests/test_api_jws.py::TestJWS::test_encode_fails_on_invalid_kid_types PASSED tests/test_api_jwt.py::TestJWT::test_decodes_valid_jwt PASSED tests/test_api_jwt.py::TestJWT::test_decodes_complete_valid_jwt PASSED tests/test_api_jwt.py::TestJWT::test_load_verify_valid_jwt PASSED tests/test_api_jwt.py::TestJWT::test_decode_invalid_payload_string PASSED tests/test_api_jwt.py::TestJWT::test_decode_with_non_mapping_payload_throws_exception PASSED tests/test_api_jwt.py::TestJWT::test_decode_with_invalid_audience_param_throws_exception PASSED tests/test_api_jwt.py::TestJWT::test_decode_with_nonlist_aud_claim_throws_exception PASSED tests/test_api_jwt.py::TestJWT::test_decode_with_invalid_aud_list_member_throws_exception PASSED tests/test_api_jwt.py::TestJWT::test_encode_bad_type PASSED tests/test_api_jwt.py::TestJWT::test_encode_with_typ PASSED tests/test_api_jwt.py::TestJWT::test_decode_raises_exception_if_exp_is_not_int PASSED tests/test_api_jwt.py::TestJWT::test_decode_raises_exception_if_iat_is_not_int PASSED tests/test_api_jwt.py::TestJWT::test_decode_raises_exception_if_nbf_is_not_int PASSED tests/test_api_jwt.py::TestJWT::test_decode_raises_exception_if_aud_is_none PASSED tests/test_api_jwt.py::TestJWT::test_encode_datetime PASSED tests/test_api_jwt.py::TestJWT::test_decodes_valid_es256_jwt SKIPPED tests/test_api_jwt.py::TestJWT::test_decodes_valid_rs384_jwt SKIPPED tests/test_api_jwt.py::TestJWT::test_decode_with_expiration PASSED tests/test_api_jwt.py::TestJWT::test_decode_with_notbefore PASSED tests/test_api_jwt.py::TestJWT::test_decode_skip_expiration_verification PASSED tests/test_api_jwt.py::TestJWT::test_decode_skip_notbefore_verification PASSED tests/test_api_jwt.py::TestJWT::test_decode_with_expiration_with_leeway PASSED tests/test_api_jwt.py::TestJWT::test_decode_with_notbefore_with_leeway PASSED tests/test_api_jwt.py::TestJWT::test_check_audience_when_valid PASSED tests/test_api_jwt.py::TestJWT::test_check_audience_list_when_valid PASSED tests/test_api_jwt.py::TestJWT::test_check_audience_none_specified PASSED tests/test_api_jwt.py::TestJWT::test_raise_exception_invalid_audience_list PASSED tests/test_api_jwt.py::TestJWT::test_check_audience_in_array_when_valid PASSED tests/test_api_jwt.py::TestJWT::test_raise_exception_invalid_audience PASSED tests/test_api_jwt.py::TestJWT::test_raise_exception_invalid_audience_in_array PASSED tests/test_api_jwt.py::TestJWT::test_raise_exception_token_without_issuer PASSED tests/test_api_jwt.py::TestJWT::test_raise_exception_token_without_audience PASSED tests/test_api_jwt.py::TestJWT::test_raise_exception_token_with_aud_none_and_without_audience PASSED tests/test_api_jwt.py::TestJWT::test_check_issuer_when_valid PASSED tests/test_api_jwt.py::TestJWT::test_raise_exception_invalid_issuer PASSED tests/test_api_jwt.py::TestJWT::test_skip_check_audience PASSED tests/test_api_jwt.py::TestJWT::test_skip_check_exp PASSED tests/test_api_jwt.py::TestJWT::test_decode_should_raise_error_if_exp_required_but_not_present PASSED tests/test_api_jwt.py::TestJWT::test_decode_should_raise_error_if_iat_required_but_not_present PASSED tests/test_api_jwt.py::TestJWT::test_decode_should_raise_error_if_nbf_required_but_not_present PASSED tests/test_api_jwt.py::TestJWT::test_skip_check_signature PASSED tests/test_api_jwt.py::TestJWT::test_skip_check_iat PASSED tests/test_api_jwt.py::TestJWT::test_skip_check_nbf PASSED tests/test_api_jwt.py::TestJWT::test_custom_json_encoder PASSED tests/test_api_jwt.py::TestJWT::test_decode_with_verify_exp_option PASSED tests/test_api_jwt.py::TestJWT::test_decode_with_verify_exp_option_and_signature_off PASSED tests/test_api_jwt.py::TestJWT::test_decode_with_optional_algorithms PASSED tests/test_api_jwt.py::TestJWT::test_decode_no_algorithms_verify_signature_false PASSED tests/test_exceptions.py::test_missing_required_claim_error_has_proper_str PASSED tests/test_jwks_client.py::TestPyJWKClient::test_get_jwk_set SKIPPED tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_keys SKIPPED tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_keys_if_no_use_provided SKIPPED tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_keys_raises_if_none_found SKIPPED tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_key SKIPPED tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_key_caches_result SKIPPED tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_key_does_not_cache_opt_out SKIPPED tests/test_jwks_client.py::TestPyJWKClient::test_get_signing_key_from_jwt SKIPPED tests/test_jwt.py::test_encode_decode PASSED =========================== short test summary info ============================ ERROR tests/test_utils.py SKIP [1] tests/test_algorithms.py:106: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:113: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:120: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:127: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:134: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:157: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:177: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:240: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:253: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:267: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:277: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:288: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:299: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:321: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:332: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:344: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:368: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:425: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:432: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:440: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:447: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:454: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:461: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:482: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:496: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:512: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:565: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:596: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:627: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:668: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:680: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:686: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:703: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:717: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:729: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:738: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:747: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:758: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:770: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:822: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:841: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:847: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:856: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:867: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:879: Requires cryptography library installed SKIP [1] tests/test_algorithms.py:931: Requires cryptography library installed SKIP [1] tests/test_api_jwk.py:15: Requires cryptography library installed SKIP [1] tests/test_api_jwk.py:36: Requires cryptography library installed SKIP [1] tests/test_api_jwk.py:57: Requires cryptography library installed SKIP [1] tests/test_api_jwk.py:69: Requires cryptography library installed SKIP [1] tests/test_api_jwk.py:81: Requires cryptography library installed SKIP [1] tests/test_api_jwk.py:93: Requires cryptography library installed SKIP [1] tests/test_api_jwk.py:105: Requires cryptography library installed SKIP [1] tests/test_api_jwk.py:117: Requires cryptography library installed SKIP [1] tests/test_api_jwk.py:129: Requires cryptography library installed SKIP [1] tests/test_api_jwk.py:141: Requires cryptography library installed SKIP [1] tests/test_api_jwk.py:154: Requires cryptography library installed SKIP [1] tests/test_api_jwk.py:165: Requires cryptography library installed SKIP [1] tests/test_api_jwk.py:211: Requires cryptography library installed SKIP [1] tests/test_api_jwk.py:233: Requires cryptography library installed SKIP [1] tests/test_api_jws.py:174: Requires cryptography library installed SKIP [1] tests/test_api_jws.py:184: Requires cryptography library installed SKIP [1] tests/test_api_jws.py:256: Requires cryptography library installed SKIP [1] tests/test_api_jws.py:275: Requires cryptography library installed SKIP [3] tests/test_api_jws.py:503: Requires cryptography library installed SKIP [4] tests/test_api_jws.py:551: Requires cryptography library installed SKIP [1] tests/test_api_jwt.py:268: Requires cryptography library installed SKIP [1] tests/test_api_jwt.py:286: Requires cryptography library installed SKIP [1] tests/test_jwks_client.py:44: Requires cryptography library installed SKIP [1] tests/test_jwks_client.py:53: Requires cryptography library installed SKIP [1] tests/test_jwks_client.py:63: Requires cryptography library installed SKIP [1] tests/test_jwks_client.py:77: Requires cryptography library installed SKIP [1] tests/test_jwks_client.py:91: Requires cryptography library installed SKIP [1] tests/test_jwks_client.py:104: Requires cryptography library installed SKIP [1] tests/test_jwks_client.py:120: Requires cryptography library installed SKIP [1] tests/test_jwks_client.py:136: Requires cryptography library installed ==================================== ERRORS ==================================== _____________________ ERROR collecting tests/test_utils.py _____________________ tests/test_utils.py:14: in pytest.param(-1, "", marks=pytest.mark.xfail(raises=ValueError)), E AttributeError: module 'pytest' has no attribute 'param' =============== 118 passed, 81 skipped, 1 error in 0.36 seconds ================ error: Bad exit status from /var/tmp/rpm-tmp.50iY0P (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.50iY0P (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M e7066f6a38a447ef8ee59b26a691ebfb -D /var/lib/mock/dist-an7_9-updates-build-186639-60119/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ldomgdfg:/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 --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-jwt.spec