Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv5tel --nodeps /builddir/build/SPECS/python-jwt.spec'], chrootPath='/var/lib/mock/el-8-arm/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=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv5tel --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': 'en_US.UTF-8'} and shell False Building target platforms: armv5tel Building for target armv5tel Wrote: /builddir/build/SRPMS/python-jwt-1.6.1-2.el8.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv5tel --nodeps /builddir/build/SPECS/python-jwt.spec'], chrootPath='/var/lib/mock/el-8-arm/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=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv5tel --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': 'en_US.UTF-8'} and shell False Building target platforms: armv5tel Building for target armv5tel Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0qGBbq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyjwt-1.6.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/pyjwt-1.6.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pyjwt-1.6.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/disable-coverage-and-runner.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm setup.cfg + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.s3RxKG + umask 022 + cd /builddir/build/BUILD + cd pyjwt-1.6.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 -march=armv5te -mfloat-abi=soft' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py build '--executable=/usr/libexec/platform-python -s' running build running build_py creating build creating build/lib creating build/lib/jwt copying jwt/api_jwt.py -> build/lib/jwt copying jwt/exceptions.py -> build/lib/jwt copying jwt/__init__.py -> build/lib/jwt copying jwt/compat.py -> build/lib/jwt copying jwt/__main__.py -> build/lib/jwt copying jwt/algorithms.py -> build/lib/jwt copying jwt/api_jws.py -> build/lib/jwt copying jwt/utils.py -> build/lib/jwt creating build/lib/jwt/contrib copying jwt/contrib/__init__.py -> build/lib/jwt/contrib creating build/lib/jwt/contrib/algorithms copying jwt/contrib/algorithms/__init__.py -> build/lib/jwt/contrib/algorithms copying jwt/contrib/algorithms/pycrypto.py -> build/lib/jwt/contrib/algorithms copying jwt/contrib/algorithms/py_ecdsa.py -> build/lib/jwt/contrib/algorithms + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OPwpvV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm + cd pyjwt-1.6.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 -march=armv5te -mfloat-abi=soft' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm running install running install_lib creating /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr creating /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib creating /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/api_jwt.py -> /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/exceptions.py -> /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/__init__.py -> /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/compat.py -> /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt creating /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt/contrib copying build/lib/jwt/contrib/__init__.py -> /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt/contrib creating /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt/contrib/algorithms copying build/lib/jwt/contrib/algorithms/__init__.py -> /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt/contrib/algorithms copying build/lib/jwt/contrib/algorithms/pycrypto.py -> /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt/contrib/algorithms copying build/lib/jwt/contrib/algorithms/py_ecdsa.py -> /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt/contrib/algorithms copying build/lib/jwt/__main__.py -> /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/algorithms.py -> /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/api_jws.py -> /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/utils.py -> /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt byte-compiling /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt/api_jwt.py to api_jwt.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt/exceptions.py to exceptions.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt/compat.py to compat.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt/contrib/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt/contrib/algorithms/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt/contrib/algorithms/pycrypto.py to pycrypto.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt/contrib/algorithms/py_ecdsa.py to py_ecdsa.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt/__main__.py to __main__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt/algorithms.py to algorithms.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt/api_jws.py to api_jws.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/jwt/utils.py to utils.cpython-36.pyc writing byte-compilation script '/tmp/tmpjurnmh_1.py' /usr/libexec/platform-python /tmp/tmpjurnmh_1.py removing /tmp/tmpjurnmh_1.py running install_egg_info running egg_info creating PyJWT.egg-info writing PyJWT.egg-info/PKG-INFO writing dependency_links to PyJWT.egg-info/dependency_links.txt writing entry points to PyJWT.egg-info/entry_points.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' BUILDSTDERR: warning: no previously-included files matching '__pycache__' found under directory '*' BUILDSTDERR: warning: no previously-included files matching '*.py[co]' found under directory '*' writing manifest file 'PyJWT.egg-info/SOURCES.txt' Copying PyJWT.egg-info to /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6/site-packages/PyJWT-1.6.1-py3.6.egg-info running install_scripts Installing pyjwt script to /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/bin + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.6.1-2.el8 --unique-debug-suffix -1.6.1-2.el8.arm --unique-debug-src-base python-jwt-1.6.1-2.el8.arm --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pyjwt-1.6.1 BUILDSTDERR: find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.swUDYW + umask 022 + cd /builddir/build/BUILD + cd pyjwt-1.6.1 + py.test-3.6 --verbose ============================= test session starts ============================== platform linux -- Python 3.6.6, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 -- /usr/libexec/platform-python cachedir: .pytest_cache rootdir: /builddir/build/BUILD/pyjwt-1.6.1, inifile: collecting ... collected 188 items tests/test_algorithms.py::TestAlgorithms::test_algorithm_should_throw_exception_if_prepare_key_not_impl PASSED [ 0%] tests/test_algorithms.py::TestAlgorithms::test_algorithm_should_throw_exception_if_sign_not_impl PASSED [ 1%] tests/test_algorithms.py::TestAlgorithms::test_algorithm_should_throw_exception_if_verify_not_impl PASSED [ 1%] tests/test_algorithms.py::TestAlgorithms::test_algorithm_should_throw_exception_if_to_jwk_not_impl PASSED [ 2%] tests/test_algorithms.py::TestAlgorithms::test_algorithm_should_throw_exception_if_from_jwk_not_impl PASSED [ 2%] tests/test_algorithms.py::TestAlgorithms::test_none_algorithm_should_throw_exception_if_key_is_not_none PASSED [ 3%] tests/test_algorithms.py::TestAlgorithms::test_hmac_should_reject_nonstring_key PASSED [ 3%] tests/test_algorithms.py::TestAlgorithms::test_hmac_should_accept_unicode_key PASSED [ 4%] tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception_if_key_is_pem_public_key PASSED [ 4%] tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception_if_key_is_x509_certificate PASSED [ 5%] tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception_if_key_is_ssh_public_key PASSED [ 5%] tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception_if_key_is_x509_cert PASSED [ 6%] tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception_if_key_is_pkcs1_pem_public PASSED [ 6%] tests/test_algorithms.py::TestAlgorithms::test_hmac_jwk_should_parse_and_verify PASSED [ 7%] tests/test_algorithms.py::TestAlgorithms::test_hmac_to_jwk_returns_correct_values PASSED [ 7%] tests/test_algorithms.py::TestAlgorithms::test_hmac_from_jwk_should_raise_exception_if_not_hmac_key PASSED [ 8%] tests/test_algorithms.py::TestAlgorithms::test_rsa_should_parse_pem_public_key PASSED [ 9%] tests/test_algorithms.py::TestAlgorithms::test_rsa_should_accept_pem_private_key_bytes PASSED [ 9%] tests/test_algorithms.py::TestAlgorithms::test_rsa_should_accept_unicode_key PASSED [ 10%] tests/test_algorithms.py::TestAlgorithms::test_rsa_should_reject_non_string_key PASSED [ 10%] tests/test_algorithms.py::TestAlgorithms::test_rsa_verify_should_return_false_if_signature_invalid PASSED [ 11%] tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_public_and_private_keys_should_parse_and_verify PASSED [ 11%] tests/test_algorithms.py::TestAlgorithms::test_rsa_private_key_to_jwk_works_with_from_jwk PASSED [ 12%] tests/test_algorithms.py::TestAlgorithms::test_rsa_public_key_to_jwk_works_with_from_jwk PASSED [ 12%] tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_with_other_primes_is_invalid PASSED [ 13%] tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_with_missing_values_is_invalid PASSED [ 13%] tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_can_recover_prime_factors PASSED [ 14%] tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_with_missing_required_values_is_invalid PASSED [ 14%] tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_raises_exception_if_not_a_valid_key PASSED [ 15%] tests/test_algorithms.py::TestAlgorithms::test_rsa_to_jwk_returns_correct_values_for_public_key PASSED [ 15%] tests/test_algorithms.py::TestAlgorithms::test_rsa_to_jwk_returns_correct_values_for_private_key PASSED [ 16%] tests/test_algorithms.py::TestAlgorithms::test_rsa_to_jwk_raises_exception_on_invalid_key PASSED [ 17%] tests/test_algorithms.py::TestAlgorithms::test_rsa_from_jwk_raises_exception_on_invalid_key PASSED [ 17%] tests/test_algorithms.py::TestAlgorithms::test_ec_should_reject_non_string_key PASSED [ 18%] tests/test_algorithms.py::TestAlgorithms::test_ec_should_accept_unicode_key PASSED [ 18%] tests/test_algorithms.py::TestAlgorithms::test_ec_should_accept_pem_private_key_bytes PASSED [ 19%] tests/test_algorithms.py::TestAlgorithms::test_ec_should_accept_ssh_public_key_bytes PASSED [ 19%] tests/test_algorithms.py::TestAlgorithms::test_ec_verify_should_return_false_if_signature_invalid PASSED [ 20%] tests/test_algorithms.py::TestAlgorithms::test_ec_verify_should_return_false_if_signature_wrong_length PASSED [ 20%] tests/test_algorithms.py::TestAlgorithms::test_rsa_pss_sign_then_verify_should_return_true PASSED [ 21%] tests/test_algorithms.py::TestAlgorithms::test_rsa_pss_verify_should_return_false_if_signature_invalid PASSED [ 21%] tests/test_algorithms.py::TestAlgorithmsRFC7520::test_hmac_verify_should_return_true_for_test_vector PASSED [ 22%] tests/test_algorithms.py::TestAlgorithmsRFC7520::test_rsa_verify_should_return_true_for_test_vector PASSED [ 22%] tests/test_algorithms.py::TestAlgorithmsRFC7520::test_rsapss_verify_should_return_true_for_test_vector PASSED [ 23%] tests/test_algorithms.py::TestAlgorithmsRFC7520::test_ec_verify_should_return_true_for_test_vector PASSED [ 23%] tests/test_api_jws.py::TestJWS::test_register_algo_does_not_allow_duplicate_registration PASSED [ 24%] tests/test_api_jws.py::TestJWS::test_register_algo_rejects_non_algorithm_obj PASSED [ 25%] tests/test_api_jws.py::TestJWS::test_unregister_algo_removes_algorithm PASSED [ 25%] tests/test_api_jws.py::TestJWS::test_unregister_algo_throws_error_if_not_registered PASSED [ 26%] tests/test_api_jws.py::TestJWS::test_algo_parameter_removes_alg_from_algorithms_list PASSED [ 26%] tests/test_api_jws.py::TestJWS::test_override_options PASSED [ 27%] tests/test_api_jws.py::TestJWS::test_non_object_options_dont_persist PASSED [ 27%] tests/test_api_jws.py::TestJWS::test_options_must_be_dict PASSED [ 28%] tests/test_api_jws.py::TestJWS::test_encode_decode PASSED [ 28%] tests/test_api_jws.py::TestJWS::test_decode_fails_when_alg_is_not_on_method_algorithms_param PASSED [ 29%] tests/test_api_jws.py::TestJWS::test_decode_works_with_unicode_token PASSED [ 29%] tests/test_api_jws.py::TestJWS::test_decode_missing_segments_throws_exception PASSED [ 30%] tests/test_api_jws.py::TestJWS::test_decode_invalid_token_type_is_none PASSED [ 30%] tests/test_api_jws.py::TestJWS::test_decode_invalid_token_type_is_int PASSED [ 31%] tests/test_api_jws.py::TestJWS::test_decode_with_non_mapping_header_throws_exception PASSED [ 31%] tests/test_api_jws.py::TestJWS::test_encode_algorithm_param_should_be_case_sensitive PASSED [ 32%] tests/test_api_jws.py::TestJWS::test_decode_algorithm_param_should_be_case_sensitive PASSED [ 32%] tests/test_api_jws.py::TestJWS::test_bad_secret PASSED [ 33%] tests/test_api_jws.py::TestJWS::test_decodes_valid_jws PASSED [ 34%] tests/test_api_jws.py::TestJWS::test_decodes_valid_es384_jws PASSED [ 34%] tests/test_api_jws.py::TestJWS::test_decodes_valid_rs384_jws PASSED [ 35%] tests/test_api_jws.py::TestJWS::test_load_verify_valid_jws PASSED [ 35%] tests/test_api_jws.py::TestJWS::test_allow_skip_verification PASSED [ 36%] tests/test_api_jws.py::TestJWS::test_verify_false_deprecated PASSED [ 36%] tests/test_api_jws.py::TestJWS::test_decode_with_optional_algorithms PASSED [ 37%] tests/test_api_jws.py::TestJWS::test_decode_no_algorithms_verify_signature_false PASSED [ 37%] tests/test_api_jws.py::TestJWS::test_load_no_verification PASSED [ 38%] tests/test_api_jws.py::TestJWS::test_no_secret PASSED [ 38%] tests/test_api_jws.py::TestJWS::test_verify_signature_with_no_secret PASSED [ 39%] tests/test_api_jws.py::TestJWS::test_verify_signature_with_no_algo_header_throws_exception PASSED [ 39%] tests/test_api_jws.py::TestJWS::test_invalid_crypto_alg PASSED [ 40%] tests/test_api_jws.py::TestJWS::test_missing_crypto_library_better_error_messages SKIPPED [ 40%] tests/test_api_jws.py::TestJWS::test_unicode_secret PASSED [ 41%] tests/test_api_jws.py::TestJWS::test_nonascii_secret PASSED [ 42%] tests/test_api_jws.py::TestJWS::test_bytes_secret PASSED [ 42%] tests/test_api_jws.py::TestJWS::test_decode_invalid_header_padding PASSED [ 43%] tests/test_api_jws.py::TestJWS::test_decode_invalid_header_string PASSED [ 43%] tests/test_api_jws.py::TestJWS::test_decode_invalid_payload_padding PASSED [ 44%] tests/test_api_jws.py::TestJWS::test_decode_invalid_crypto_padding PASSED [ 44%] tests/test_api_jws.py::TestJWS::test_decode_with_algo_none_should_fail PASSED [ 45%] tests/test_api_jws.py::TestJWS::test_decode_with_algo_none_and_verify_false_should_pass PASSED [ 45%] tests/test_api_jws.py::TestJWS::test_get_unverified_header_returns_header_values PASSED [ 46%] tests/test_api_jws.py::TestJWS::test_get_unverified_header_fails_on_bad_header_types PASSED [ 46%] tests/test_api_jws.py::TestJWS::test_encode_decode_with_rsa_sha256 PASSED [ 47%] tests/test_api_jws.py::TestJWS::test_encode_decode_with_rsa_sha384 PASSED [ 47%] tests/test_api_jws.py::TestJWS::test_encode_decode_with_rsa_sha512 PASSED [ 48%] tests/test_api_jws.py::TestJWS::test_rsa_related_algorithms PASSED [ 48%] tests/test_api_jws.py::TestJWS::test_encode_decode_with_ecdsa_sha256 PASSED [ 49%] tests/test_api_jws.py::TestJWS::test_encode_decode_with_ecdsa_sha384 PASSED [ 50%] tests/test_api_jws.py::TestJWS::test_encode_decode_with_ecdsa_sha512 PASSED [ 50%] tests/test_api_jws.py::TestJWS::test_ecdsa_related_algorithms PASSED [ 51%] tests/test_api_jws.py::TestJWS::test_skip_check_signature PASSED [ 51%] tests/test_api_jws.py::TestJWS::test_decode_options_must_be_dict PASSED [ 52%] tests/test_api_jws.py::TestJWS::test_custom_json_encoder PASSED [ 52%] tests/test_api_jws.py::TestJWS::test_encode_headers_parameter_adds_headers PASSED [ 53%] tests/test_api_jws.py::TestJWS::test_encode_fails_on_invalid_kid_types PASSED [ 53%] tests/test_api_jwt.py::TestJWT::test_decodes_valid_jwt PASSED [ 54%] tests/test_api_jwt.py::TestJWT::test_load_verify_valid_jwt PASSED [ 54%] tests/test_api_jwt.py::TestJWT::test_decode_invalid_payload_string PASSED [ 55%] tests/test_api_jwt.py::TestJWT::test_decode_with_non_mapping_payload_throws_exception PASSED [ 55%] tests/test_api_jwt.py::TestJWT::test_decode_with_invalid_audience_param_throws_exception PASSED [ 56%] tests/test_api_jwt.py::TestJWT::test_decode_with_nonlist_aud_claim_throws_exception PASSED [ 56%] tests/test_api_jwt.py::TestJWT::test_decode_with_invalid_aud_list_member_throws_exception PASSED [ 57%] tests/test_api_jwt.py::TestJWT::test_encode_bad_type PASSED [ 57%] tests/test_api_jwt.py::TestJWT::test_decode_raises_exception_if_exp_is_not_int PASSED [ 58%] tests/test_api_jwt.py::TestJWT::test_decode_raises_exception_if_iat_is_not_int PASSED [ 59%] tests/test_api_jwt.py::TestJWT::test_decode_raises_exception_if_nbf_is_not_int PASSED [ 59%] tests/test_api_jwt.py::TestJWT::test_encode_datetime PASSED [ 60%] tests/test_api_jwt.py::TestJWT::test_decodes_valid_es384_jwt PASSED [ 60%] tests/test_api_jwt.py::TestJWT::test_decodes_valid_rs384_jwt PASSED [ 61%] tests/test_api_jwt.py::TestJWT::test_decode_with_expiration PASSED [ 61%] tests/test_api_jwt.py::TestJWT::test_decode_with_notbefore PASSED [ 62%] tests/test_api_jwt.py::TestJWT::test_decode_skip_expiration_verification PASSED [ 62%] tests/test_api_jwt.py::TestJWT::test_decode_skip_notbefore_verification PASSED [ 63%] tests/test_api_jwt.py::TestJWT::test_decode_with_expiration_with_leeway PASSED [ 63%] tests/test_api_jwt.py::TestJWT::test_decode_with_notbefore_with_leeway PASSED [ 64%] tests/test_api_jwt.py::TestJWT::test_check_audience_when_valid PASSED [ 64%] tests/test_api_jwt.py::TestJWT::test_check_audience_list_when_valid PASSED [ 65%] tests/test_api_jwt.py::TestJWT::test_check_audience_none_specified PASSED [ 65%] tests/test_api_jwt.py::TestJWT::test_raise_exception_invalid_audience_list PASSED [ 66%] tests/test_api_jwt.py::TestJWT::test_check_audience_in_array_when_valid PASSED [ 67%] tests/test_api_jwt.py::TestJWT::test_raise_exception_invalid_audience PASSED [ 67%] tests/test_api_jwt.py::TestJWT::test_raise_exception_invalid_audience_in_array PASSED [ 68%] tests/test_api_jwt.py::TestJWT::test_raise_exception_token_without_issuer PASSED [ 68%] tests/test_api_jwt.py::TestJWT::test_raise_exception_token_without_audience PASSED [ 69%] tests/test_api_jwt.py::TestJWT::test_check_issuer_when_valid PASSED [ 69%] tests/test_api_jwt.py::TestJWT::test_raise_exception_invalid_issuer PASSED [ 70%] tests/test_api_jwt.py::TestJWT::test_skip_check_audience PASSED [ 70%] tests/test_api_jwt.py::TestJWT::test_skip_check_exp PASSED [ 71%] tests/test_api_jwt.py::TestJWT::test_decode_should_raise_error_if_exp_required_but_not_present PASSED [ 71%] tests/test_api_jwt.py::TestJWT::test_decode_should_raise_error_if_iat_required_but_not_present PASSED [ 72%] tests/test_api_jwt.py::TestJWT::test_decode_should_raise_error_if_nbf_required_but_not_present PASSED [ 72%] tests/test_api_jwt.py::TestJWT::test_skip_check_signature PASSED [ 73%] tests/test_api_jwt.py::TestJWT::test_skip_check_iat PASSED [ 73%] tests/test_api_jwt.py::TestJWT::test_skip_check_nbf PASSED [ 74%] tests/test_api_jwt.py::TestJWT::test_custom_json_encoder PASSED [ 75%] tests/test_api_jwt.py::TestJWT::test_decode_with_verify_expiration_kwarg PASSED [ 75%] tests/test_api_jwt.py::TestJWT::test_decode_with_optional_algorithms PASSED [ 76%] tests/test_api_jwt.py::TestJWT::test_decode_no_algorithms_verify_false PASSED [ 76%] tests/test_cli.py::TestCli::test_build_argparse PASSED [ 77%] tests/test_cli.py::TestCli::test_encode_payload_raises_value_error_key_is_required PASSED [ 77%] tests/test_cli.py::TestCli::test_decode_payload_raises_decoded_error PASSED [ 78%] tests/test_cli.py::TestCli::test_decode_payload_raises_decoded_error_isatty PASSED [ 78%] tests/test_cli.py::TestCli::test_decode_payload_terminal_tty PASSED [ 79%] tests/test_cli.py::TestCli::test_decode_payload_raises_terminal_not_a_tty PASSED [ 79%] tests/test_cli.py::TestCli::test_encode_decode[1234-Vader-Sith-None-None] PASSED [ 80%] tests/test_cli.py::TestCli::test_encode_decode[4567-Anakin-Jedi-+1-None] PASSED [ 80%] tests/test_cli.py::TestCli::test_encode_decode[4321-Padme-Queen-4070926800-true] PASSED [ 81%] tests/test_cli.py::TestCli::test_main[1234-Vader-Sith-None-None] PASSED [ 81%] tests/test_cli.py::TestCli::test_main[4567-Anakin-Jedi-+1-None] PASSED [ 82%] tests/test_cli.py::TestCli::test_main[4321-Padme-Queen-4070926800-true] PASSED [ 82%] tests/test_cli.py::TestCli::test_main_throw_exception PASSED [ 83%] tests/test_compat.py::TestCompat::test_constant_time_compare_returns_true_if_same PASSED [ 84%] tests/test_compat.py::TestCompat::test_constant_time_compare_returns_false_if_diff_lengths PASSED [ 84%] tests/test_compat.py::TestCompat::test_constant_time_compare_returns_false_if_totally_different PASSED [ 85%] tests/test_exceptions.py::test_missing_required_claim_error_has_proper_str PASSED [ 85%] tests/test_jwt.py::test_encode_decode PASSED [ 86%] tests/test_utils.py::test_to_base64url_uint[0-AA] PASSED [ 86%] tests/test_utils.py::test_to_base64url_uint[1-AQ] PASSED [ 87%] tests/test_utils.py::test_to_base64url_uint[255-_w] PASSED [ 87%] tests/test_utils.py::test_to_base64url_uint[65537-AQAB] PASSED [ 88%] tests/test_utils.py::test_to_base64url_uint[123456789-B1vNFQ] PASSED [ 88%] tests/test_utils.py::test_to_base64url_uint[-1-] xfail [ 89%] tests/test_utils.py::test_from_base64url_uint[AA-0] PASSED [ 89%] tests/test_utils.py::test_from_base64url_uint[AQ-1] PASSED [ 90%] tests/test_utils.py::test_from_base64url_uint[_w-255] PASSED [ 90%] tests/test_utils.py::test_from_base64url_uint[AQAB-65537] PASSED [ 91%] tests/test_utils.py::test_from_base64url_uint[B1vNFQ-123456789] PASSED [ 92%] tests/test_utils.py::test_force_unicode_raises_error_on_invalid_object PASSED [ 92%] tests/test_utils.py::test_force_bytes_raises_error_on_invalid_object PASSED [ 93%] tests/contrib/test_algorithms.py::TestPycryptoAlgorithms::test_rsa_should_parse_pem_public_key SKIPPED [ 93%] tests/contrib/test_algorithms.py::TestPycryptoAlgorithms::test_rsa_should_accept_unicode_key SKIPPED [ 94%] tests/contrib/test_algorithms.py::TestPycryptoAlgorithms::test_rsa_should_reject_non_string_key SKIPPED [ 94%] tests/contrib/test_algorithms.py::TestPycryptoAlgorithms::test_rsa_sign_should_generate_correct_signature_value SKIPPED [ 95%] tests/contrib/test_algorithms.py::TestPycryptoAlgorithms::test_rsa_verify_should_return_false_if_signature_invalid SKIPPED [ 95%] tests/contrib/test_algorithms.py::TestPycryptoAlgorithms::test_rsa_verify_should_return_true_if_signature_valid SKIPPED [ 96%] tests/contrib/test_algorithms.py::TestPycryptoAlgorithms::test_rsa_prepare_key_should_be_idempotent SKIPPED [ 96%] tests/contrib/test_algorithms.py::TestEcdsaAlgorithms::test_ec_should_reject_non_string_key SKIPPED [ 97%] tests/contrib/test_algorithms.py::TestEcdsaAlgorithms::test_ec_should_accept_unicode_key SKIPPED [ 97%] tests/contrib/test_algorithms.py::TestEcdsaAlgorithms::test_ec_sign_should_generate_correct_signature_value SKIPPED [ 98%] tests/contrib/test_algorithms.py::TestEcdsaAlgorithms::test_ec_verify_should_return_false_if_signature_invalid SKIPPED [ 98%] tests/contrib/test_algorithms.py::TestEcdsaAlgorithms::test_ec_verify_should_return_true_if_signature_valid SKIPPED [ 99%] tests/contrib/test_algorithms.py::TestEcdsaAlgorithms::test_ec_prepare_key_should_be_idempotent SKIPPED [100%] ============== 173 passed, 14 skipped, 1 xfailed in 3.33 seconds =============== + exit 0 Processing files: python3-jwt-1.6.1-2.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9iqaOv + umask 022 + cd /builddir/build/BUILD + cd pyjwt-1.6.1 + DOCDIR=/builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/share/doc/python-jwt + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/share/doc/python-jwt + cp -pr README.rst /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/share/doc/python-jwt + cp -pr AUTHORS /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/share/doc/python-jwt + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.CYzVA6 + umask 022 + cd /builddir/build/BUILD + cd pyjwt-1.6.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/share/licenses/python-jwt + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/share/licenses/python-jwt + cp -pr LICENSE /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm/usr/share/licenses/python-jwt + exit 0 Provides: python3-jwt = 1.6.1-2.el8 python3.6dist(pyjwt) = 1.6.1 python3dist(pyjwt) = 1.6.1 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/libexec/platform-python python(abi) = 3.6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm Wrote: /builddir/build/RPMS/python3-jwt-1.6.1-2.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.srJ9zG + umask 022 + cd /builddir/build/BUILD + cd pyjwt-1.6.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-jwt-1.6.1-2.el8.arm + exit 0 Child return code was: 0