Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/python-jwcrypto.spec'], chrootPath='/var/lib/mock/python-jwcrypto-0.4.2-1.el7-20180411000257-12723/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.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=1006) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/python-jwcrypto.spec'] with env {'LANG': 'en_GB.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 sh: /usr/bin/python2: No such file or directory warning: Could not canonicalize hostname: x86-01.bsys.centos.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/python-jwcrypto-0.4.2-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/python-jwcrypto.spec'], chrootPath='/var/lib/mock/python-jwcrypto-0.4.2-1.el7-20180411000257-12723/root'shell=Falseuid=1006env={'LANG': 'en_GB.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 i686 --nodeps /builddir/build/SPECS/python-jwcrypto.spec'] with env {'LANG': 'en_GB.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: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.X6eCAI + umask 022 + cd /builddir/build/BUILD ++ sha512sum /builddir/build/SOURCES/jwcrypto-0.4.2.tar.gz + grep b21bd13013ed91e2c5bbffb51c1380b761f5d26e930edc047c3f9ebf37d604aa822a12c9d4f42d5c52a66f97bca1c6cecd586c8100159ea2c15459a35a784cd0 /builddir/build/SOURCES/jwcrypto-0.4.2.tar.gz /builddir/build/SOURCES/jwcrypto-0.4.2.tar.gz.sha512sum.txt /builddir/build/SOURCES/jwcrypto-0.4.2.tar.gz.sha512sum.txt:b21bd13013ed91e2c5bbffb51c1380b761f5d26e930edc047c3f9ebf37d604aa822a12c9d4f42d5c52a66f97bca1c6cecd586c8100159ea2c15459a35a784cd0 dist/jwcrypto-0.4.2.tar.gz + cd /builddir/build/BUILD + rm -rf jwcrypto-0.4.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/jwcrypto-0.4.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd jwcrypto-0.4.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kOQMBu + umask 022 + cd /builddir/build/BUILD + cd jwcrypto-0.4.2 + /usr/bin/python2 setup.py build running build running build_py creating build creating build/lib creating build/lib/jwcrypto copying jwcrypto/jwe.py -> build/lib/jwcrypto copying jwcrypto/jwa.py -> build/lib/jwcrypto copying jwcrypto/__init__.py -> build/lib/jwcrypto copying jwcrypto/common.py -> build/lib/jwcrypto copying jwcrypto/jws.py -> build/lib/jwcrypto copying jwcrypto/jwt.py -> build/lib/jwcrypto copying jwcrypto/tests-cookbook.py -> build/lib/jwcrypto copying jwcrypto/tests.py -> build/lib/jwcrypto copying jwcrypto/jwk.py -> build/lib/jwcrypto + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VOikYg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386 ++ dirname /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386 + cd jwcrypto-0.4.2 + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386 running install running install_lib creating /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr creating /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib creating /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto copying build/lib/jwcrypto/jwe.py -> /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto copying build/lib/jwcrypto/jwa.py -> /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto copying build/lib/jwcrypto/__init__.py -> /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto copying build/lib/jwcrypto/common.py -> /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto copying build/lib/jwcrypto/jws.py -> /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto copying build/lib/jwcrypto/jwt.py -> /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto copying build/lib/jwcrypto/tests-cookbook.py -> /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto copying build/lib/jwcrypto/tests.py -> /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto copying build/lib/jwcrypto/jwk.py -> /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto byte-compiling /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto/jwe.py to jwe.pyc byte-compiling /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto/jwa.py to jwa.pyc byte-compiling /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto/common.py to common.pyc byte-compiling /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto/jws.py to jws.pyc byte-compiling /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto/jwt.py to jwt.pyc byte-compiling /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto/tests-cookbook.py to tests-cookbook.pyc byte-compiling /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto/tests.py to tests.pyc byte-compiling /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto/jwk.py to jwk.pyc writing byte-compilation script '/tmp/tmpOoWFK3.py' /usr/bin/python2 -O /tmp/tmpOoWFK3.py removing /tmp/tmpOoWFK3.py running install_data creating /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/share creating /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/share/doc creating /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/share/doc/jwcrypto copying LICENSE -> /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/share/doc/jwcrypto copying README.md -> /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/share/doc/jwcrypto running install_egg_info running egg_info writing requirements to jwcrypto.egg-info/requires.txt writing jwcrypto.egg-info/PKG-INFO writing top-level names to jwcrypto.egg-info/top_level.txt writing dependency_links to jwcrypto.egg-info/dependency_links.txt reading manifest file 'jwcrypto.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'jwcrypto.egg-info/SOURCES.txt' Copying jwcrypto.egg-info to /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto-0.4.2-py2.7.egg-info running install_scripts + rm -rf /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/share/doc/jwcrypto + rm -rf /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto/tests.py /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto/tests.pyc /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto/tests.pyo /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto/tests-cookbook.py /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto/tests-cookbook.pyc /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7/site-packages/jwcrypto/tests-cookbook.pyo + /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/jwcrypto-0.4.2 /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-jwcrypto-0.4.2-1.el7.i386/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.6djAO4 + umask 022 + cd /builddir/build/BUILD + cd jwcrypto-0.4.2 + /usr/bin/python2 -m py.test -vv ./jwcrypto/tests.py ./jwcrypto/tests-cookbook.py ============================= test session starts ============================== platform linux2 -- Python 2.7.5 -- py-1.4.32 -- pytest-2.7.0 -- /usr/bin/python2 rootdir: /builddir/build/BUILD/jwcrypto-0.4.2, inifile: tox.ini collecting ... collected 63 items jwcrypto/tests.py::TestJWK::test_create_priKeys PASSED jwcrypto/tests.py::TestJWK::test_create_pubKeys PASSED jwcrypto/tests.py::TestJWK::test_create_symKeys PASSED jwcrypto/tests.py::TestJWK::test_export_private PASSED jwcrypto/tests.py::TestJWK::test_export_public PASSED jwcrypto/tests.py::TestJWK::test_export_public_keys PASSED jwcrypto/tests.py::TestJWK::test_export_symmetric PASSED jwcrypto/tests.py::TestJWK::test_generate_EC_key PASSED jwcrypto/tests.py::TestJWK::test_generate_keys PASSED jwcrypto/tests.py::TestJWK::test_generate_oct_key PASSED jwcrypto/tests.py::TestJWK::test_import_from_pem PASSED jwcrypto/tests.py::TestJWK::test_import_pyca_keys PASSED jwcrypto/tests.py::TestJWK::test_jwkset PASSED jwcrypto/tests.py::TestJWK::test_thumbprint PASSED jwcrypto/tests.py::TestJWS::test_A1 PASSED jwcrypto/tests.py::TestJWS::test_A2 PASSED jwcrypto/tests.py::TestJWS::test_A3 PASSED jwcrypto/tests.py::TestJWS::test_A4 PASSED jwcrypto/tests.py::TestJWS::test_A5 PASSED jwcrypto/tests.py::TestJWS::test_A6 PASSED jwcrypto/tests.py::TestJWS::test_A7 PASSED jwcrypto/tests.py::TestJWS::test_E PASSED jwcrypto/tests.py::TestJWE::test_A1 PASSED jwcrypto/tests.py::TestJWE::test_A2 PASSED jwcrypto/tests.py::TestJWE::test_A3 PASSED jwcrypto/tests.py::TestJWE::test_A4 PASSED jwcrypto/tests.py::TestJWE::test_A5 PASSED jwcrypto/tests.py::TestMMA::test_MMA PASSED jwcrypto/tests.py::TestJWT::test_A1 PASSED jwcrypto/tests.py::TestJWT::test_A2 PASSED jwcrypto/tests.py::TestJWT::test_decrypt_keyset PASSED jwcrypto/tests.py::ConformanceTests::test_aes_128 PASSED jwcrypto/tests.py::ConformanceTests::test_aes_192 PASSED jwcrypto/tests.py::ConformanceTests::test_aes_256 PASSED jwcrypto/tests.py::ConformanceTests::test_jwe_default_recipient PASSED jwcrypto/tests.py::ConformanceTests::test_jwe_headers_as_dicts PASSED jwcrypto/tests.py::ConformanceTests::test_jwe_no_alg_in_jose_headers PASSED jwcrypto/tests.py::ConformanceTests::test_jwe_no_enc_in_jose_headers PASSED jwcrypto/tests.py::ConformanceTests::test_jwe_no_protected_header PASSED jwcrypto/tests.py::ConformanceTests::test_jws_headers_as_dicts PASSED jwcrypto/tests.py::ConformanceTests::test_jws_loopback PASSED jwcrypto/tests.py::ConformanceTests::test_key_ops_values PASSED jwcrypto/tests.py::ConformanceTests::test_unknown_key_params PASSED jwcrypto/tests.py::JWATests::test_jwa_create PASSED jwcrypto/tests-cookbook.py::Cookbook08JWSTests::test_4_1_signing PASSED jwcrypto/tests-cookbook.py::Cookbook08JWSTests::test_4_2_signing PASSED jwcrypto/tests-cookbook.py::Cookbook08JWSTests::test_4_3_signing PASSED jwcrypto/tests-cookbook.py::Cookbook08JWSTests::test_4_4_signing PASSED jwcrypto/tests-cookbook.py::Cookbook08JWSTests::test_4_6_signing PASSED jwcrypto/tests-cookbook.py::Cookbook08JWSTests::test_4_7_signing PASSED jwcrypto/tests-cookbook.py::Cookbook08JWSTests::test_4_8_signing PASSED jwcrypto/tests-cookbook.py::Cookbook08JWETests::test_5_10_encryption PASSED jwcrypto/tests-cookbook.py::Cookbook08JWETests::test_5_11_encryption PASSED jwcrypto/tests-cookbook.py::Cookbook08JWETests::test_5_12_encryption PASSED jwcrypto/tests-cookbook.py::Cookbook08JWETests::test_5_1_encryption PASSED jwcrypto/tests-cookbook.py::Cookbook08JWETests::test_5_2_encryption PASSED jwcrypto/tests-cookbook.py::Cookbook08JWETests::test_5_3_encryption PASSED jwcrypto/tests-cookbook.py::Cookbook08JWETests::test_5_4_encryption PASSED jwcrypto/tests-cookbook.py::Cookbook08JWETests::test_5_5_encryption PASSED jwcrypto/tests-cookbook.py::Cookbook08JWETests::test_5_6_encryption PASSED jwcrypto/tests-cookbook.py::Cookbook08JWETests::test_5_7_encryption PASSED jwcrypto/tests-cookbook.py::Cookbook08JWETests::test_5_8_encryption PASSED jwcrypto/tests-cookbook.py::Cookbook08JWETests::test_5_9_encryption PASSED ========================== 63 passed in 8.23 seconds =========================== + exit 0 Processing files: python-jwcrypto-0.4.2-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BnFTXc + umask 022 + cd /builddir/build/BUILD + cd jwcrypto-0.4.2 + DOCDIR=/builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/share/doc/python-jwcrypto-0.4.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/share/doc/python-jwcrypto-0.4.2 + cp -pr README.md /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/share/doc/python-jwcrypto-0.4.2 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.lVh97k + exit 0 + umask 022 + cd /builddir/build/BUILD + cd jwcrypto-0.4.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/share/licenses/python-jwcrypto-0.4.2 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/share/licenses/python-jwcrypto-0.4.2 + cp -pr LICENSE /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386/usr/share/licenses/python-jwcrypto-0.4.2 + exit 0 Provides: python-jwcrypto = 0.4.2-1.el7 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: python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386 warning: Could not canonicalize hostname: x86-01.bsys.centos.org Wrote: /builddir/build/RPMS/python-jwcrypto-0.4.2-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bf471C + umask 022 + cd /builddir/build/BUILD + cd jwcrypto-0.4.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-jwcrypto-0.4.2-1.el7.i386 + exit 0 Child return code was: 0