Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python3-jwt.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-a310b94785ceb4863ddf9e345cfb092898f4483f/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python3-jwt.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python3-jwt-1.6.4-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python3-jwt.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-a310b94785ceb4863ddf9e345cfb092898f4483f/root'shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python3-jwt.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uQlHO9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PyJWT-1.6.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/PyJWT-1.6.4.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd PyJWT-1.6.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm setup.cfg + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2p468f + umask 022 + cd /builddir/build/BUILD + cd PyJWT-1.6.4 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + /usr/bin/python3.6 setup.py build '--executable=/usr/bin/python3.6 -s' running build running build_py creating build creating build/lib creating build/lib/jwt copying jwt/utils.py -> build/lib/jwt copying jwt/api_jwt.py -> build/lib/jwt copying jwt/compat.py -> build/lib/jwt copying jwt/exceptions.py -> build/lib/jwt copying jwt/help.py -> build/lib/jwt copying jwt/__init__.py -> build/lib/jwt copying jwt/algorithms.py -> build/lib/jwt copying jwt/api_jws.py -> build/lib/jwt copying jwt/__main__.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/py_ecdsa.py -> build/lib/jwt/contrib/algorithms copying jwt/contrib/algorithms/pycrypto.py -> build/lib/jwt/contrib/algorithms copying jwt/contrib/algorithms/__init__.py -> build/lib/jwt/contrib/algorithms + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2u6WHG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch ++ dirname /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch + cd PyJWT-1.6.4 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + /usr/bin/python3.6 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch running install running install_lib creating /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr creating /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/utils.py -> /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/api_jwt.py -> /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt creating /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/contrib copying build/lib/jwt/contrib/__init__.py -> /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/contrib creating /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/contrib/algorithms copying build/lib/jwt/contrib/algorithms/py_ecdsa.py -> /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/contrib/algorithms copying build/lib/jwt/contrib/algorithms/pycrypto.py -> /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/contrib/algorithms copying build/lib/jwt/contrib/algorithms/__init__.py -> /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/contrib/algorithms copying build/lib/jwt/compat.py -> /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/exceptions.py -> /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/help.py -> /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/__init__.py -> /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/algorithms.py -> /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/api_jws.py -> /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt copying build/lib/jwt/__main__.py -> /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt byte-compiling /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/utils.py to utils.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/api_jwt.py to api_jwt.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/contrib/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/contrib/algorithms/py_ecdsa.py to py_ecdsa.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/contrib/algorithms/pycrypto.py to pycrypto.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/contrib/algorithms/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/compat.py to compat.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/exceptions.py to exceptions.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/help.py to help.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/algorithms.py to algorithms.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/api_jws.py to api_jws.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/__main__.py to __main__.cpython-36.pyc writing byte-compilation script '/tmp/tmpimr2dl_g.py' /usr/bin/python3.6 /tmp/tmpimr2dl_g.py removing /tmp/tmpimr2dl_g.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 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 reading manifest file 'PyJWT.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found under directory '*' 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/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/PyJWT-1.6.4-py3.6.egg-info running install_scripts Installing pyjwt script to /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/bin + sed -e 's/\r$//' -i /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/__main__.py + sed -e '/#!\/usr\/bin\/env/d' -i /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/lib/python3.6/site-packages/jwt/__main__.py + mv /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/bin/pyjwt /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/bin/pyjwt-3.6 + ln -s /usr/bin/pyjwt-3.6 /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/bin/pyjwt-3 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/PyJWT-1.6.4 /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 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.pTCLGY + umask 022 + cd /builddir/build/BUILD + cd PyJWT-1.6.4 + py.test-3.6 --verbose tests ============================= test session starts ============================== platform linux -- Python 3.6.6, pytest-2.9.2, py-1.4.32, pluggy-0.3.1 -- /usr/bin/python3.6 cachedir: .cache rootdir: /builddir/build/BUILD/PyJWT-1.6.4, inifile: collecting ... collected 188 items 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_if_key_is_pem_public_key PASSED tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception_if_key_is_x509_certificate PASSED tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception_if_key_is_ssh_public_key PASSED tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception_if_key_is_x509_cert PASSED tests/test_algorithms.py::TestAlgorithms::test_hmac_should_throw_exception_if_key_is_pkcs1_pem_public 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 PASSED tests/test_algorithms.py::TestAlgorithms::test_rsa_should_accept_pem_private_key_bytes PASSED tests/test_algorithms.py::TestAlgorithms::test_rsa_should_accept_unicode_key PASSED tests/test_algorithms.py::TestAlgorithms::test_rsa_should_reject_non_string_key PASSED tests/test_algorithms.py::TestAlgorithms::test_rsa_verify_should_return_false_if_signature_invalid PASSED tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_public_and_private_keys_should_parse_and_verify PASSED tests/test_algorithms.py::TestAlgorithms::test_rsa_private_key_to_jwk_works_with_from_jwk PASSED tests/test_algorithms.py::TestAlgorithms::test_rsa_public_key_to_jwk_works_with_from_jwk PASSED tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_with_other_primes_is_invalid PASSED tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_with_missing_values_is_invalid PASSED tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_can_recover_prime_factors PASSED tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_private_key_with_missing_required_values_is_invalid PASSED tests/test_algorithms.py::TestAlgorithms::test_rsa_jwk_raises_exception_if_not_a_valid_key PASSED tests/test_algorithms.py::TestAlgorithms::test_rsa_to_jwk_returns_correct_values_for_public_key PASSED tests/test_algorithms.py::TestAlgorithms::test_rsa_to_jwk_returns_correct_values_for_private_key PASSED tests/test_algorithms.py::TestAlgorithms::test_rsa_to_jwk_raises_exception_on_invalid_key PASSED tests/test_algorithms.py::TestAlgorithms::test_rsa_from_jwk_raises_exception_on_invalid_key PASSED tests/test_algorithms.py::TestAlgorithms::test_ec_should_reject_non_string_key PASSED tests/test_algorithms.py::TestAlgorithms::test_ec_should_accept_unicode_key PASSED tests/test_algorithms.py::TestAlgorithms::test_ec_should_accept_pem_private_key_bytes PASSED tests/test_algorithms.py::TestAlgorithms::test_ec_should_accept_ssh_public_key_bytes PASSED tests/test_algorithms.py::TestAlgorithms::test_ec_verify_should_return_false_if_signature_invalid PASSED tests/test_algorithms.py::TestAlgorithms::test_ec_verify_should_return_false_if_signature_wrong_length PASSED tests/test_algorithms.py::TestAlgorithms::test_rsa_pss_sign_then_verify_should_return_true PASSED tests/test_algorithms.py::TestAlgorithms::test_rsa_pss_verify_should_return_false_if_signature_invalid PASSED 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 PASSED tests/test_algorithms.py::TestAlgorithmsRFC7520::test_rsapss_verify_should_return_true_for_test_vector PASSED tests/test_algorithms.py::TestAlgorithmsRFC7520::test_ec_verify_should_return_true_for_test_vector PASSED 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_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_valid_es384_jws PASSED tests/test_api_jws.py::TestJWS::test_decodes_valid_rs384_jws PASSED 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_verify_false_deprecated 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 SKIPPED 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_with_rsa_sha256 PASSED tests/test_api_jws.py::TestJWS::test_encode_decode_with_rsa_sha384 PASSED tests/test_api_jws.py::TestJWS::test_encode_decode_with_rsa_sha512 PASSED tests/test_api_jws.py::TestJWS::test_rsa_related_algorithms PASSED tests/test_api_jws.py::TestJWS::test_encode_decode_with_ecdsa_sha256 PASSED tests/test_api_jws.py::TestJWS::test_encode_decode_with_ecdsa_sha384 PASSED tests/test_api_jws.py::TestJWS::test_encode_decode_with_ecdsa_sha512 PASSED 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_fails_on_invalid_kid_types PASSED tests/test_api_jwt.py::TestJWT::test_decodes_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_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_encode_datetime PASSED tests/test_api_jwt.py::TestJWT::test_decodes_valid_es384_jwt PASSED tests/test_api_jwt.py::TestJWT::test_decodes_valid_rs384_jwt PASSED 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_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_expiration_kwarg PASSED tests/test_api_jwt.py::TestJWT::test_decode_with_optional_algorithms PASSED tests/test_api_jwt.py::TestJWT::test_decode_no_algorithms_verify_false PASSED tests/test_cli.py::TestCli::test_build_argparse PASSED tests/test_cli.py::TestCli::test_encode_payload_raises_value_error_key_is_required PASSED tests/test_cli.py::TestCli::test_decode_payload_raises_decoded_error PASSED tests/test_cli.py::TestCli::test_decode_payload_raises_decoded_error_isatty PASSED tests/test_cli.py::TestCli::test_decode_payload_terminal_tty PASSED tests/test_cli.py::TestCli::test_decode_payload_raises_terminal_not_a_tty PASSED tests/test_cli.py::TestCli::test_encode_decode[1234-Vader-Sith-None-None] PASSED tests/test_cli.py::TestCli::test_encode_decode[4567-Anakin-Jedi-+1-None] PASSED tests/test_cli.py::TestCli::test_encode_decode[4321-Padme-Queen-4070926800-true] PASSED tests/test_cli.py::TestCli::test_main[1234-Vader-Sith-None-None] PASSED tests/test_cli.py::TestCli::test_main[4567-Anakin-Jedi-+1-None] PASSED tests/test_cli.py::TestCli::test_main[4321-Padme-Queen-4070926800-true] PASSED tests/test_cli.py::TestCli::test_main_throw_exception PASSED tests/test_compat.py::TestCompat::test_constant_time_compare_returns_true_if_same PASSED tests/test_compat.py::TestCompat::test_constant_time_compare_returns_false_if_diff_lengths PASSED tests/test_compat.py::TestCompat::test_constant_time_compare_returns_false_if_totally_different PASSED tests/test_exceptions.py::test_missing_required_claim_error_has_proper_str PASSED tests/test_jwt.py::test_encode_decode PASSED tests/test_utils.py::test_to_base64url_uint[0-AA] PASSED tests/test_utils.py::test_to_base64url_uint[1-AQ] PASSED tests/test_utils.py::test_to_base64url_uint[255-_w] PASSED tests/test_utils.py::test_to_base64url_uint[65537-AQAB] PASSED tests/test_utils.py::test_to_base64url_uint[123456789-B1vNFQ] PASSED tests/test_utils.py::test_to_base64url_uint[-1-] xfail tests/test_utils.py::test_from_base64url_uint[AA-0] PASSED tests/test_utils.py::test_from_base64url_uint[AQ-1] PASSED tests/test_utils.py::test_from_base64url_uint[_w-255] PASSED tests/test_utils.py::test_from_base64url_uint[AQAB-65537] PASSED tests/test_utils.py::test_from_base64url_uint[B1vNFQ-123456789] PASSED tests/test_utils.py::test_force_unicode_raises_error_on_invalid_object PASSED tests/test_utils.py::test_force_bytes_raises_error_on_invalid_object PASSED tests/contrib/test_algorithms.py::TestPycryptoAlgorithms::test_rsa_should_parse_pem_public_key SKIPPED tests/contrib/test_algorithms.py::TestPycryptoAlgorithms::test_rsa_should_accept_unicode_key SKIPPED tests/contrib/test_algorithms.py::TestPycryptoAlgorithms::test_rsa_should_reject_non_string_key SKIPPED tests/contrib/test_algorithms.py::TestPycryptoAlgorithms::test_rsa_sign_should_generate_correct_signature_value SKIPPED tests/contrib/test_algorithms.py::TestPycryptoAlgorithms::test_rsa_verify_should_return_false_if_signature_invalid SKIPPED tests/contrib/test_algorithms.py::TestPycryptoAlgorithms::test_rsa_verify_should_return_true_if_signature_valid SKIPPED tests/contrib/test_algorithms.py::TestPycryptoAlgorithms::test_rsa_prepare_key_should_be_idempotent SKIPPED tests/contrib/test_algorithms.py::TestEcdsaAlgorithms::test_ec_should_reject_non_string_key SKIPPED tests/contrib/test_algorithms.py::TestEcdsaAlgorithms::test_ec_should_accept_unicode_key SKIPPED tests/contrib/test_algorithms.py::TestEcdsaAlgorithms::test_ec_sign_should_generate_correct_signature_value SKIPPED tests/contrib/test_algorithms.py::TestEcdsaAlgorithms::test_ec_verify_should_return_false_if_signature_invalid SKIPPED tests/contrib/test_algorithms.py::TestEcdsaAlgorithms::test_ec_verify_should_return_true_if_signature_valid SKIPPED tests/contrib/test_algorithms.py::TestEcdsaAlgorithms::test_ec_prepare_key_should_be_idempotent SKIPPED ============== 173 passed, 14 skipped, 1 xfailed in 12.71 seconds ============== + exit 0 Processing files: python36-jwt-1.6.4-2.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2swpz9 + umask 022 + cd /builddir/build/BUILD + cd PyJWT-1.6.4 + DOCDIR=/builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/share/doc/python36-jwt-1.6.4 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/share/doc/python36-jwt-1.6.4 + cp -pr README.rst /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/share/doc/python36-jwt-1.6.4 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Jetqun + umask 022 + cd /builddir/build/BUILD + cd PyJWT-1.6.4 + LICENSEDIR=/builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/share/licenses/python36-jwt-1.6.4 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/share/licenses/python36-jwt-1.6.4 + cp -pr LICENSE /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch/usr/share/licenses/python36-jwt-1.6.4 + exit 0 Provides: python36-jwt = 1.6.4-2.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3.6 python(abi) = 3.6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch Wrote: /builddir/build/RPMS/python36-jwt-1.6.4-2.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Vcs3lN + umask 022 + cd /builddir/build/BUILD + cd PyJWT-1.6.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python3-jwt-1.6.4-2.el7.noarch + exit 0 Child return code was: 0