Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-acme.spec'], chrootPath='/var/lib/mock/epel7-build-11283575-849517/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-acme.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 sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory warning: Could not canonicalize hostname: buildhw-10.phx2.fedoraproject.org Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-acme-0.21.1-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-acme.spec'], chrootPath='/var/lib/mock/epel7-build-11283575-849517/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-acme.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Wi0pcO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf acme-0.21.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/acme-0.21.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd acme-0.21.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/epel7-setup.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/remove-acme-other-doc.patch + /usr/bin/patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7h7jvb + umask 022 + cd /builddir/build/BUILD + cd acme-0.21.1 + 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' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/acme copying acme/test_util.py -> build/lib/acme copying acme/errors.py -> build/lib/acme copying acme/util.py -> build/lib/acme copying acme/crypto_util.py -> build/lib/acme copying acme/client_test.py -> build/lib/acme copying acme/__init__.py -> build/lib/acme copying acme/jws.py -> build/lib/acme copying acme/errors_test.py -> build/lib/acme copying acme/messages_test.py -> build/lib/acme copying acme/util_test.py -> build/lib/acme copying acme/jws_test.py -> build/lib/acme copying acme/crypto_util_test.py -> build/lib/acme copying acme/challenges.py -> build/lib/acme copying acme/fields.py -> build/lib/acme copying acme/standalone.py -> build/lib/acme copying acme/standalone_test.py -> build/lib/acme copying acme/messages.py -> build/lib/acme copying acme/client.py -> build/lib/acme copying acme/challenges_test.py -> build/lib/acme copying acme/fields_test.py -> build/lib/acme running egg_info writing requirements to acme.egg-info/requires.txt writing acme.egg-info/PKG-INFO writing top-level names to acme.egg-info/top_level.txt writing dependency_links to acme.egg-info/dependency_links.txt reading manifest file 'acme.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'acme.egg-info/SOURCES.txt' creating build/lib/acme/testdata copying acme/testdata/README -> build/lib/acme/testdata copying acme/testdata/cert-100sans.pem -> build/lib/acme/testdata copying acme/testdata/cert-idnsans.pem -> build/lib/acme/testdata copying acme/testdata/cert-san.pem -> build/lib/acme/testdata copying acme/testdata/cert.der -> build/lib/acme/testdata copying acme/testdata/cert.pem -> build/lib/acme/testdata copying acme/testdata/critical-san.pem -> build/lib/acme/testdata copying acme/testdata/csr-100sans.pem -> build/lib/acme/testdata copying acme/testdata/csr-6sans.pem -> build/lib/acme/testdata copying acme/testdata/csr-idnsans.pem -> build/lib/acme/testdata copying acme/testdata/csr-nosans.pem -> build/lib/acme/testdata copying acme/testdata/csr-san.pem -> build/lib/acme/testdata copying acme/testdata/csr.der -> build/lib/acme/testdata copying acme/testdata/csr.pem -> build/lib/acme/testdata copying acme/testdata/dsa512_key.pem -> build/lib/acme/testdata copying acme/testdata/rsa1024_key.pem -> build/lib/acme/testdata copying acme/testdata/rsa2048_cert.pem -> build/lib/acme/testdata copying acme/testdata/rsa2048_key.pem -> build/lib/acme/testdata copying acme/testdata/rsa256_key.pem -> build/lib/acme/testdata copying acme/testdata/rsa512_key.pem -> build/lib/acme/testdata + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tMO4vB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch + cd acme-0.21.1 + 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' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr creating /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme copying build/lib/acme/test_util.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme copying build/lib/acme/errors.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme copying build/lib/acme/util.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme copying build/lib/acme/crypto_util.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme copying build/lib/acme/client_test.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme copying build/lib/acme/__init__.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme copying build/lib/acme/jws.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme creating /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/dsa512_key.pem -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/csr-nosans.pem -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/csr.der -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/cert.der -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/rsa2048_cert.pem -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/rsa1024_key.pem -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/cert-100sans.pem -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/cert-san.pem -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/critical-san.pem -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/README -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/csr-san.pem -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/cert.pem -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/rsa512_key.pem -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/csr-idnsans.pem -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/cert-idnsans.pem -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/csr-6sans.pem -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/csr-100sans.pem -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/rsa256_key.pem -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/csr.pem -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/testdata/rsa2048_key.pem -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/testdata copying build/lib/acme/errors_test.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme copying build/lib/acme/messages_test.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme copying build/lib/acme/util_test.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme copying build/lib/acme/jws_test.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme copying build/lib/acme/crypto_util_test.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme copying build/lib/acme/challenges.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme copying build/lib/acme/fields.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme copying build/lib/acme/standalone.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme copying build/lib/acme/standalone_test.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme copying build/lib/acme/messages.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme copying build/lib/acme/client.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme copying build/lib/acme/challenges_test.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme copying build/lib/acme/fields_test.py -> /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/test_util.py to test_util.pyc byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/errors.py to errors.pyc byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/util.py to util.pyc byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/crypto_util.py to crypto_util.pyc byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/client_test.py to client_test.pyc byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/jws.py to jws.pyc byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/errors_test.py to errors_test.pyc byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/messages_test.py to messages_test.pyc byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/util_test.py to util_test.pyc byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/jws_test.py to jws_test.pyc byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/crypto_util_test.py to crypto_util_test.pyc byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/challenges.py to challenges.pyc byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/fields.py to fields.pyc byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/standalone.py to standalone.pyc byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/standalone_test.py to standalone_test.pyc byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/messages.py to messages.pyc byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/client.py to client.pyc byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/challenges_test.py to challenges_test.pyc byte-compiling /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme/fields_test.py to fields_test.pyc writing byte-compilation script '/tmp/tmptKogqy.py' /usr/bin/python2 -O /tmp/tmptKogqy.py removing /tmp/tmptKogqy.py running install_egg_info running egg_info writing requirements to acme.egg-info/requires.txt writing acme.egg-info/PKG-INFO writing top-level names to acme.egg-info/top_level.txt writing dependency_links to acme.egg-info/dependency_links.txt reading manifest file 'acme.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'acme.egg-info/SOURCES.txt' Copying acme.egg-info to /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/lib/python2.7/site-packages/acme-0.21.1-py2.7.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 50000000 /builddir/build/BUILD/acme-0.21.1 /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-acme-0.21.1-1.el7.noarch/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.pYzbX2 + umask 022 + cd /builddir/build/BUILD + cd acme-0.21.1 + /usr/bin/python2 setup.py test running test running egg_info writing requirements to acme.egg-info/requires.txt writing acme.egg-info/PKG-INFO writing top-level names to acme.egg-info/top_level.txt writing dependency_links to acme.egg-info/dependency_links.txt reading manifest file 'acme.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'acme.egg-info/SOURCES.txt' running build_ext test_check_response_conflict (acme.client_test.ClientNetworkTest) ... ok test_check_response_jobj (acme.client_test.ClientNetworkTest) ... ok test_check_response_not_ok_jobj_error (acme.client_test.ClientNetworkTest) ... ok test_check_response_not_ok_jobj_no_error (acme.client_test.ClientNetworkTest) ... ok test_check_response_not_ok_no_jobj (acme.client_test.ClientNetworkTest) ... ok test_check_response_ok_no_jobj_ct_required (acme.client_test.ClientNetworkTest) ... ok test_check_response_ok_no_jobj_no_ct (acme.client_test.ClientNetworkTest) ... ok test_del (acme.client_test.ClientNetworkTest) ... ok test_del_error (acme.client_test.ClientNetworkTest) ... ok test_init (acme.client_test.ClientNetworkTest) ... ok test_requests_error_passthrough (acme.client_test.ClientNetworkTest) ... ok test_send_request (acme.client_test.ClientNetworkTest) ... ok test_send_request_get_der (acme.client_test.ClientNetworkTest) ... ok test_send_request_post (acme.client_test.ClientNetworkTest) ... ok test_send_request_timeout (acme.client_test.ClientNetworkTest) ... ok test_send_request_user_agent (acme.client_test.ClientNetworkTest) ... ok test_send_request_verify_ssl (acme.client_test.ClientNetworkTest) ... ok test_urllib_error (acme.client_test.ClientNetworkTest) ... ok test_wrap_in_jws (acme.client_test.ClientNetworkTest) ... ok test_get (acme.client_test.ClientNetworkWithMockedResponseTest) ... ok test_head (acme.client_test.ClientNetworkWithMockedResponseTest) ... ok test_head_get_post_error_passthrough (acme.client_test.ClientNetworkWithMockedResponseTest) ... ok test_post (acme.client_test.ClientNetworkWithMockedResponseTest) ... ok test_post_failed_retry (acme.client_test.ClientNetworkWithMockedResponseTest) ... ok test_post_no_content_type (acme.client_test.ClientNetworkWithMockedResponseTest) ... ok test_post_not_retried (acme.client_test.ClientNetworkWithMockedResponseTest) ... ok test_post_successful_retry (acme.client_test.ClientNetworkWithMockedResponseTest) ... ok test_post_wrong_initial_nonce (acme.client_test.ClientNetworkWithMockedResponseTest) ... ok test_post_wrong_post_response_nonce (acme.client_test.ClientNetworkWithMockedResponseTest) ... ok test_agree_to_tos (acme.client_test.ClientTest) ... ok test_answer_challenge (acme.client_test.ClientTest) ... ok test_answer_challenge_missing_next (acme.client_test.ClientTest) ... ok test_check_cert (acme.client_test.ClientTest) ... ok test_check_cert_missing_location (acme.client_test.ClientTest) ... ok test_deactivate_account (acme.client_test.ClientTest) ... ok test_fetch_chain_max (acme.client_test.ClientTest) ... ok test_fetch_chain_no_up_link (acme.client_test.ClientTest) ... ok test_fetch_chain_single (acme.client_test.ClientTest) ... ok test_fetch_chain_too_many (acme.client_test.ClientTest) ... ok test_init_downloads_directory (acme.client_test.ClientTest) ... ok test_poll (acme.client_test.ClientTest) ... ok test_poll_and_request_issuance (acme.client_test.ClientTest) ... ok test_query_registration (acme.client_test.ClientTest) ... ok test_refresh (acme.client_test.ClientTest) ... ok test_register (acme.client_test.ClientTest) ... ok test_request_challenges (acme.client_test.ClientTest) ... ok test_request_challenges_custom_uri (acme.client_test.ClientTest) ... ok test_request_challenges_deprecated_arg (acme.client_test.ClientTest) ... ok test_request_challenges_unexpected_update (acme.client_test.ClientTest) ... ok test_request_domain_challenges (acme.client_test.ClientTest) ... ok test_request_issuance (acme.client_test.ClientTest) ... ok test_request_issuance_missing_location (acme.client_test.ClientTest) ... ok test_request_issuance_missing_up (acme.client_test.ClientTest) ... ok test_retry_after_date (acme.client_test.ClientTest) ... ok test_retry_after_invalid (acme.client_test.ClientTest) ... ok test_retry_after_missing (acme.client_test.ClientTest) ... ok test_retry_after_overflow (acme.client_test.ClientTest) ... ok test_retry_after_seconds (acme.client_test.ClientTest) ... ok test_revocation_payload (acme.client_test.ClientTest) ... ok test_revoke (acme.client_test.ClientTest) ... ok test_revoke_bad_status_raises_error (acme.client_test.ClientTest) ... ok test_update_registration (acme.client_test.ClientTest) ... ok test_str (acme.errors_test.BadNonceTest) ... ok test_str (acme.errors_test.MissingNonceTest) ... ok test_repr (acme.errors_test.PollErrorTest) ... ok test_timeout (acme.errors_test.PollErrorTest) ... ok test_json_de_serializable (acme.messages_test.AuthorizationResourceTest) ... ok test_from_json (acme.messages_test.AuthorizationTest) ... ok test_from_json_hashable (acme.messages_test.AuthorizationTest) ... ok test_resolved_combinations (acme.messages_test.AuthorizationTest) ... ok test_json_de_serializable (acme.messages_test.CertificateRequestTest) ... ok test_json_de_serializable (acme.messages_test.CertificateResourceTest) ... ok test_encode (acme.messages_test.ChallengeBodyTest) ... ok test_from_json (acme.messages_test.ChallengeBodyTest) ... ok test_from_json_hashable (acme.messages_test.ChallengeBodyTest) ... ok test_proxy (acme.messages_test.ChallengeBodyTest) ... ok test_to_partial_json (acme.messages_test.ChallengeBodyTest) ... ok test_uri (acme.messages_test.ChallengeResourceTest) ... ok test_equality (acme.messages_test.ConstantTest) ... ok test_from_json (acme.messages_test.ConstantTest) ... ok test_from_json_hashable (acme.messages_test.ConstantTest) ... ok test_repr (acme.messages_test.ConstantTest) ... ok test_to_partial_json (acme.messages_test.ConstantTest) ... ok test_from_json_deserialization_unknown_key_success (acme.messages_test.DirectoryTest) ... ok test_getattr (acme.messages_test.DirectoryTest) ... ok test_getattr_fails_with_attribute_error (acme.messages_test.DirectoryTest) ... ok test_getitem (acme.messages_test.DirectoryTest) ... ok test_getitem_fails_with_key_error (acme.messages_test.DirectoryTest) ... ok test_init_wrong_key_value_success (acme.messages_test.DirectoryTest) ... ok test_to_json (acme.messages_test.DirectoryTest) ... ok test_code (acme.messages_test.ErrorTest) ... ok test_default_typ (acme.messages_test.ErrorTest) ... ok test_description (acme.messages_test.ErrorTest) ... ok test_from_json_empty (acme.messages_test.ErrorTest) ... ok test_from_json_hashable (acme.messages_test.ErrorTest) ... ok test_is_acme_error (acme.messages_test.ErrorTest) ... ok test_str (acme.messages_test.ErrorTest) ... ok test_unicode_error (acme.messages_test.ErrorTest) ... ok test_with_code (acme.messages_test.ErrorTest) ... ok test_to_partial_json (acme.messages_test.RegistrationResourceTest) ... ok test_emails (acme.messages_test.RegistrationTest) ... ok test_from_data (acme.messages_test.RegistrationTest) ... ok test_from_json (acme.messages_test.RegistrationTest) ... ok test_from_json_hashable (acme.messages_test.RegistrationTest) ... ok test_phones (acme.messages_test.RegistrationTest) ... ok test_to_partial_json (acme.messages_test.RegistrationTest) ... ok test_from_json_hashable (acme.messages_test.RevocationTest) ... ok test_empty (acme.messages_test.UpdateRegistrationTest) ... ok test_it (acme.util_test.MapKeysTest) ... ok test_nonce_decoder (acme.jws_test.HeaderTest) ... ok test_jwk_serialize (acme.jws_test.JWSTest) ... ok test_kid_serialize (acme.jws_test.JWSTest) ... ok test_make_csr (acme.crypto_util_test.MakeCSRTest) ... ok test_make_csr_must_staple (acme.crypto_util_test.MakeCSRTest) ... ok test_cert_hundred_sans (acme.crypto_util_test.PyOpenSSLCertOrReqSANTest) ... ok test_cert_idn_sans (acme.crypto_util_test.PyOpenSSLCertOrReqSANTest) ... ok test_cert_no_sans (acme.crypto_util_test.PyOpenSSLCertOrReqSANTest) ... ok test_cert_two_sans (acme.crypto_util_test.PyOpenSSLCertOrReqSANTest) ... ok test_critical_san (acme.crypto_util_test.PyOpenSSLCertOrReqSANTest) ... ok test_csr_hundred_sans (acme.crypto_util_test.PyOpenSSLCertOrReqSANTest) ... ok test_csr_idn_sans (acme.crypto_util_test.PyOpenSSLCertOrReqSANTest) ... ok test_csr_no_sans (acme.crypto_util_test.PyOpenSSLCertOrReqSANTest) ... ok test_csr_one_san (acme.crypto_util_test.PyOpenSSLCertOrReqSANTest) ... ok test_csr_six_sans (acme.crypto_util_test.PyOpenSSLCertOrReqSANTest) ... ok test_csr_two_sans (acme.crypto_util_test.PyOpenSSLCertOrReqSANTest) ... ok test_sn_collisions (acme.crypto_util_test.RandomSnTest) ... ok test_probe_not_recognized_name (acme.crypto_util_test.SSLSocketAndProbeSNITest) ... ok test_probe_ok (acme.crypto_util_test.SSLSocketAndProbeSNITest) ... ok test_fail_to_bind (acme.standalone_test.BaseDualNetworkedServersTest) ... ok test_ports_equal (acme.standalone_test.BaseDualNetworkedServersTest) ... ok test_404 (acme.standalone_test.HTTP01DualNetworkedServersTest) ... ok test_http01_found (acme.standalone_test.HTTP01DualNetworkedServersTest) ... No handlers could be found for logger "acme.challenges" ok test_http01_not_found (acme.standalone_test.HTTP01DualNetworkedServersTest) ... ok test_index (acme.standalone_test.HTTP01DualNetworkedServersTest) ... ok test_404 (acme.standalone_test.HTTP01ServerTest) ... ok test_http01_found (acme.standalone_test.HTTP01ServerTest) ... ok test_http01_not_found (acme.standalone_test.HTTP01ServerTest) ... ok test_index (acme.standalone_test.HTTP01ServerTest) ... ok test_connect (acme.standalone_test.TLSSNI01DualNetworkedServersTest) ... ok test_it (acme.standalone_test.TLSSNI01ServerTest) ... ok test_bind (acme.standalone_test.TLSServerTest) ... ok test_ipv6 (acme.standalone_test.TLSServerTest) ... ok test_it (acme.standalone_test.TestSimpleTLSSNI01Server) ... DEBUG:acme.crypto_util:Attempting to connect to 0.0.0.0:1234 from :0. INFO:acme.standalone:Serving at https://0.0.0.0:1234... DEBUG:acme.crypto_util:Attempting to connect to 0.0.0.0:1234 from :0. DEBUG:acme.crypto_util:Performing handshake with ('127.0.0.1', 55567) DEBUG:acme.standalone:127.0.0.1 - - Incoming request ok test_from_json_unrecognized (acme.challenges_test.ChallengeTest) ... DEBUG:acme.challenges:foo was not recognized, full message: {'type': 'foo'} ok test_from_json (acme.challenges_test.DNS01ResponseTest) ... ok test_from_json_hashable (acme.challenges_test.DNS01ResponseTest) ... ok test_simple_verify_failure (acme.challenges_test.DNS01ResponseTest) ... DEBUG:acme.challenges:Mismatching thumbprint in key authorization: u'eHh4eHh4eHh4eHh4eHh4eA' instead of u'g0vcIzOYypjty4CAPAzwlblIsipsvSTlJnxPkdQgsFk' DEBUG:acme.challenges:Verification of key authorization in response failed ok test_simple_verify_success (acme.challenges_test.DNS01ResponseTest) ... ok test_to_partial_json (acme.challenges_test.DNS01ResponseTest) ... ok test_from_json (acme.challenges_test.DNS01Test) ... ok test_from_json_hashable (acme.challenges_test.DNS01Test) ... ok test_to_partial_json (acme.challenges_test.DNS01Test) ... ok test_validation (acme.challenges_test.DNS01Test) ... ok test_validation_domain_name (acme.challenges_test.DNS01Test) ... ok test_check_validation (acme.challenges_test.DNSResponseTest) ... ok test_from_json (acme.challenges_test.DNSResponseTest) ... ok test_from_json_hashable (acme.challenges_test.DNSResponseTest) ... ok test_to_partial_json (acme.challenges_test.DNSResponseTest) ... ok test_check_validation_wrong_fields (acme.challenges_test.DNSTest) ... ok test_check_validation_wrong_payload (acme.challenges_test.DNSTest) ... DEBUG:acme.challenges:Checking validation for DNS failed: Deserialization error: No JSON object could be decoded DEBUG:acme.challenges:Checking validation for DNS failed: Deserialization error: Missing type field (type) ok test_from_json (acme.challenges_test.DNSTest) ... ok test_from_json_hashable (acme.challenges_test.DNSTest) ... ok test_gen_check_validation (acme.challenges_test.DNSTest) ... ok test_gen_check_validation_wrong_key (acme.challenges_test.DNSTest) ... DEBUG:josepy.jwa: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/josepy/jwa.py", line 126, in verify verifier.verify() File "/usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 370, in verify self._hash_ctx.finalize() File "/usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/openssl/rsa.py", line 313, in _rsa_sig_verify raise InvalidSignature InvalidSignature ok test_gen_response (acme.challenges_test.DNSTest) ... ok test_to_partial_json (acme.challenges_test.DNSTest) ... ok test_validation_domain_name (acme.challenges_test.DNSTest) ... ok test_from_json (acme.challenges_test.HTTP01ResponseTest) ... ok test_from_json_hashable (acme.challenges_test.HTTP01ResponseTest) ... ok test_simple_verify_bad_key_authorization (acme.challenges_test.HTTP01ResponseTest) ... DEBUG:acme.challenges:Mismatching thumbprint in key authorization: u'eHh4eHh4eHh4eHh4eHh4eA' instead of u'g0vcIzOYypjty4CAPAzwlblIsipsvSTlJnxPkdQgsFk' DEBUG:acme.challenges:Verification of key authorization in response failed ok test_simple_verify_bad_validation (acme.challenges_test.HTTP01ResponseTest) ... DEBUG:acme.challenges:Verifying http-01 at http://local/.well-known/acme-challenge/eHh4eHh4eHh4eHh4eHh4eA... DEBUG:acme.challenges:Received : !. Headers: DEBUG:acme.challenges:Key authorization from response (u'eHh4eHh4eHh4eHh4eHh4eA.oKGqedy-b-acd5eoybm2f-NVFxvyOoET5CNy3xnv8WY') doesn't match HTTP response ('!') ok test_simple_verify_connection_error (acme.challenges_test.HTTP01ResponseTest) ... DEBUG:acme.challenges:Verifying http-01 at http://local/.well-known/acme-challenge/eHh4eHh4eHh4eHh4eHh4eA... ERROR:acme.challenges:Unable to reach http://local/.well-known/acme-challenge/eHh4eHh4eHh4eHh4eHh4eA: ok test_simple_verify_good_validation (acme.challenges_test.HTTP01ResponseTest) ... DEBUG:acme.challenges:Verifying http-01 at http://local/.well-known/acme-challenge/eHh4eHh4eHh4eHh4eHh4eA... DEBUG:acme.challenges:Received : eHh4eHh4eHh4eHh4eHh4eA.oKGqedy-b-acd5eoybm2f-NVFxvyOoET5CNy3xnv8WY. Headers: ok test_simple_verify_port (acme.challenges_test.HTTP01ResponseTest) ... WARNING:acme.challenges:Using non-standard port for http-01 verification: 8080 DEBUG:acme.challenges:Verifying http-01 at http://local:8080/.well-known/acme-challenge/eHh4eHh4eHh4eHh4eHh4eA... DEBUG:acme.challenges:Received : . Headers: DEBUG:acme.challenges:Key authorization from response (u'eHh4eHh4eHh4eHh4eHh4eA.oKGqedy-b-acd5eoybm2f-NVFxvyOoET5CNy3xnv8WY') doesn't match HTTP response () ok test_simple_verify_whitespace_validation (acme.challenges_test.HTTP01ResponseTest) ... DEBUG:acme.challenges:Verifying http-01 at http://local/.well-known/acme-challenge/eHh4eHh4eHh4eHh4eHh4eA... DEBUG:acme.challenges:Received : eHh4eHh4eHh4eHh4eHh4eA.oKGqedy-b-acd5eoybm2f-NVFxvyOoET5CNy3xnv8WY . Headers: ok test_to_partial_json (acme.challenges_test.HTTP01ResponseTest) ... ok test_from_json (acme.challenges_test.HTTP01Test) ... ok test_from_json_hashable (acme.challenges_test.HTTP01Test) ... ok test_good_token (acme.challenges_test.HTTP01Test) ... ok test_path (acme.challenges_test.HTTP01Test) ... ok test_to_partial_json (acme.challenges_test.HTTP01Test) ... ok test_uri (acme.challenges_test.HTTP01Test) ... ok test_verify_ok (acme.challenges_test.KeyAuthorizationChallengeResponseTest) ... ok test_verify_wrong_form (acme.challenges_test.KeyAuthorizationChallengeResponseTest) ... DEBUG:acme.challenges:Key authorization ('.foo.oKGqedy-b-acd5eoybm2f-NVFxvyOoET5CNy3xnv8WY') is not well formed ok test_verify_wrong_thumbprint (acme.challenges_test.KeyAuthorizationChallengeResponseTest) ... DEBUG:acme.challenges:Mismatching thumbprint in key authorization: 'foo' instead of u'oKGqedy-b-acd5eoybm2f-NVFxvyOoET5CNy3xnv8WY' ok test_verify_wrong_token (acme.challenges_test.KeyAuthorizationChallengeResponseTest) ... DEBUG:acme.challenges:Mismatching token in key authorization: 'bar' instead of 'foo' ok test_from_json (acme.challenges_test.TLSSNI01ResponseTest) ... ok test_from_json_hashable (acme.challenges_test.TLSSNI01ResponseTest) ... ok test_gen_verify_cert (acme.challenges_test.TLSSNI01ResponseTest) ... DEBUG:acme.challenges:Certificate 98:5A:94:DA:AD:F5:28:AE:54:0E:BE:B3:35:3F:6C:06:8E:77:FB:F2:2B:B9:6C:5D:FF:81:36:E5:85:13:1F:07. SANs: [u'dummy', u'dc38d9c3fa1a4fdcc3a5501f2d38583f.b7793728f084394f2a1afd459556bb5c.acme.invalid'] ok test_gen_verify_cert_gen_key (acme.challenges_test.TLSSNI01ResponseTest) ... DEBUG:acme.challenges:Certificate E6:1C:D8:3F:7B:51:D2:71:83:06:12:71:8D:10:63:17:F1:57:22:F2:A4:C6:F1:81:56:AA:F4:83:8E:68:8B:B1. SANs: [u'dummy', u'dc38d9c3fa1a4fdcc3a5501f2d38583f.b7793728f084394f2a1afd459556bb5c.acme.invalid'] ok test_probe_cert (acme.challenges_test.TLSSNI01ResponseTest) ... DEBUG:acme.challenges:foo.com resolved to 127.0.0.1 DEBUG:acme.challenges:foo.com resolved to 127.0.0.1 DEBUG:acme.challenges:foo.com resolved to 127.0.0.1 DEBUG:acme.challenges:foo.com resolved to 127.0.0.1 ok test_simple_verify (acme.challenges_test.TLSSNI01ResponseTest) ... ok test_simple_verify_bad_key_authorization (acme.challenges_test.TLSSNI01ResponseTest) ... DEBUG:acme.challenges:Mismatching thumbprint in key authorization: u'a82d5ff8ef740d12881f6d3c2277ab2e' instead of u'g0vcIzOYypjty4CAPAzwlblIsipsvSTlJnxPkdQgsFk' DEBUG:acme.challenges:Verification of key authorization in response failed ok test_simple_verify_false_on_probe_error (acme.challenges_test.TLSSNI01ResponseTest) ... DEBUG:acme.challenges: Traceback (most recent call last): File "/builddir/build/BUILD/acme-0.21.1/acme/challenges.py", line 478, in simple_verify cert = self.probe_cert(domain=domain, **kwargs) File "/usr/lib/python2.7/site-packages/mock.py", line 955, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib/python2.7/site-packages/mock.py", line 1010, in _mock_call raise effect Error ok test_to_partial_json (acme.challenges_test.TLSSNI01ResponseTest) ... ok test_verify_bad_cert (acme.challenges_test.TLSSNI01ResponseTest) ... DEBUG:acme.challenges:Certificate EF:F3:90:BB:01:98:FB:8B:70:04:3A:7F:AE:B9:23:0C:3B:29:9C:22:4B:2F:AF:0D:0D:31:F6:01:CB:31:21:D0. SANs: [] ok test_z_and_domain (acme.challenges_test.TLSSNI01ResponseTest) ... ok test_from_json (acme.challenges_test.TLSSNI01Test) ... ok test_from_json_hashable (acme.challenges_test.TLSSNI01Test) ... ok test_from_json_invalid_token_length (acme.challenges_test.TLSSNI01Test) ... ok test_to_partial_json (acme.challenges_test.TLSSNI01Test) ... ok test_validation (acme.challenges_test.TLSSNI01Test) ... ok test_from_json (acme.challenges_test.UnrecognizedChallengeTest) ... ok test_to_partial_json (acme.challenges_test.UnrecognizedChallengeTest) ... ok test_decode (acme.fields_test.FixedTest) ... ok test_decode_bad (acme.fields_test.FixedTest) ... ok test_encode (acme.fields_test.FixedTest) ... ok test_encode_override (acme.fields_test.FixedTest) ... WARNING:acme.fields:Overriding fixed field (name) with 'y' ok test_default_decoder (acme.fields_test.RFC3339FieldTest) ... ok test_default_decoder_raises_deserialization_error (acme.fields_test.RFC3339FieldTest) ... ok test_default_encoder (acme.fields_test.RFC3339FieldTest) ... ok test_default_encoder_naive_fails (acme.fields_test.RFC3339FieldTest) ... ok test_decode_good (acme.fields_test.ResourceTest) ... ok test_decode_wrong (acme.fields_test.ResourceTest) ... ok ---------------------------------------------------------------------- Ran 214 tests in 9.775s OK + exit 0 Processing files: python2-acme-0.21.1-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8MbnFT + umask 022 + cd /builddir/build/BUILD + cd acme-0.21.1 + DOCDIR=/builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/share/doc/python2-acme-0.21.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/share/doc/python2-acme-0.21.1 + cp -pr README.rst /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/share/doc/python2-acme-0.21.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yjVKoK + umask 022 + cd /builddir/build/BUILD + cd acme-0.21.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/share/licenses/python2-acme-0.21.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/share/licenses/python2-acme-0.21.1 + cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch/usr/share/licenses/python2-acme-0.21.1 + exit 0 Provides: python-acme = 0.21.1-1.el7 python2-acme = 0.21.1-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 Obsoletes: python-acme < 0.21.1-1.el7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch warning: Could not canonicalize hostname: buildhw-10.phx2.fedoraproject.org Wrote: /builddir/build/RPMS/python2-acme-0.21.1-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8KzSKv + umask 022 + cd /builddir/build/BUILD + cd acme-0.21.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-acme-0.21.1-1.el7.noarch + exit 0 Child return code was: 0