Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-certbot-dns-route53.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-93453d7ec2f2f98cade23730167319bce8609820/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=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-certbot-dns-route53.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 sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-certbot-dns-route53-0.29.1-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/python-certbot-dns-route53.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-93453d7ec2f2f98cade23730167319bce8609820/root'shell=Falseuid=995env={'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/python-certbot-dns-route53.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.33Xu8A + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf certbot-dns-route53-0.29.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/certbot-dns-route53-0.29.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd certbot-dns-route53-0.29.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.28rdR6 + umask 022 + cd /builddir/build/BUILD + cd certbot-dns-route53-0.29.1 + 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/python2 setup.py build '--executable=/usr/bin/python2 -s' /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires' warnings.warn(msg) running build running build_py creating build creating build/lib creating build/lib/certbot_dns_route53 copying certbot_dns_route53/authenticator.py -> build/lib/certbot_dns_route53 copying certbot_dns_route53/__init__.py -> build/lib/certbot_dns_route53 copying certbot_dns_route53/dns_route53.py -> build/lib/certbot_dns_route53 copying certbot_dns_route53/dns_route53_test.py -> build/lib/certbot_dns_route53 running egg_info writing requirements to certbot_dns_route53.egg-info/requires.txt writing certbot_dns_route53.egg-info/PKG-INFO writing top-level names to certbot_dns_route53.egg-info/top_level.txt writing dependency_links to certbot_dns_route53.egg-info/dependency_links.txt writing entry points to certbot_dns_route53.egg-info/entry_points.txt reading manifest file 'certbot_dns_route53.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'README' writing manifest file 'certbot_dns_route53.egg-info/SOURCES.txt' + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.l7UaHF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-certbot-dns-route53-0.29.1-2.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-certbot-dns-route53-0.29.1-2.el7.noarch ++ dirname /builddir/build/BUILDROOT/python-certbot-dns-route53-0.29.1-2.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-certbot-dns-route53-0.29.1-2.el7.noarch + cd certbot-dns-route53-0.29.1 + 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/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-certbot-dns-route53-0.29.1-2.el7.noarch /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires' warnings.warn(msg) running install running install_lib creating /builddir/build/BUILDROOT/python-certbot-dns-route53-0.29.1-2.el7.noarch/usr creating /builddir/build/BUILDROOT/python-certbot-dns-route53-0.29.1-2.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/python-certbot-dns-route53-0.29.1-2.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-certbot-dns-route53-0.29.1-2.el7.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-certbot-dns-route53-0.29.1-2.el7.noarch/usr/lib/python2.7/site-packages/certbot_dns_route53 copying build/lib/certbot_dns_route53/authenticator.py -> /builddir/build/BUILDROOT/python-certbot-dns-route53-0.29.1-2.el7.noarch/usr/lib/python2.7/site-packages/certbot_dns_route53 copying build/lib/certbot_dns_route53/__init__.py -> /builddir/build/BUILDROOT/python-certbot-dns-route53-0.29.1-2.el7.noarch/usr/lib/python2.7/site-packages/certbot_dns_route53 copying build/lib/certbot_dns_route53/dns_route53.py -> /builddir/build/BUILDROOT/python-certbot-dns-route53-0.29.1-2.el7.noarch/usr/lib/python2.7/site-packages/certbot_dns_route53 copying build/lib/certbot_dns_route53/dns_route53_test.py -> /builddir/build/BUILDROOT/python-certbot-dns-route53-0.29.1-2.el7.noarch/usr/lib/python2.7/site-packages/certbot_dns_route53 byte-compiling /builddir/build/BUILDROOT/python-certbot-dns-route53-0.29.1-2.el7.noarch/usr/lib/python2.7/site-packages/certbot_dns_route53/authenticator.py to authenticator.pyc byte-compiling /builddir/build/BUILDROOT/python-certbot-dns-route53-0.29.1-2.el7.noarch/usr/lib/python2.7/site-packages/certbot_dns_route53/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-certbot-dns-route53-0.29.1-2.el7.noarch/usr/lib/python2.7/site-packages/certbot_dns_route53/dns_route53.py to dns_route53.pyc byte-compiling /builddir/build/BUILDROOT/python-certbot-dns-route53-0.29.1-2.el7.noarch/usr/lib/python2.7/site-packages/certbot_dns_route53/dns_route53_test.py to dns_route53_test.pyc writing byte-compilation script '/tmp/tmpTH8ok2.py' /usr/bin/python2 -O /tmp/tmpTH8ok2.py removing /tmp/tmpTH8ok2.py running install_egg_info running egg_info writing requirements to certbot_dns_route53.egg-info/requires.txt writing certbot_dns_route53.egg-info/PKG-INFO writing top-level names to certbot_dns_route53.egg-info/top_level.txt writing dependency_links to certbot_dns_route53.egg-info/dependency_links.txt writing entry points to certbot_dns_route53.egg-info/entry_points.txt reading manifest file 'certbot_dns_route53.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'README' writing manifest file 'certbot_dns_route53.egg-info/SOURCES.txt' Copying certbot_dns_route53.egg-info to /builddir/build/BUILDROOT/python-certbot-dns-route53-0.29.1-2.el7.noarch/usr/lib/python2.7/site-packages/certbot_dns_route53-0.29.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/certbot-dns-route53-0.29.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-certbot-dns-route53-0.29.1-2.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.bIuGZZ + umask 022 + cd /builddir/build/BUILD + cd certbot-dns-route53-0.29.1 + /usr/bin/python2 setup.py test /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires' warnings.warn(msg) running test Searching for jmespath>=0.7.1,<1.0.0 Reading https://pypi.python.org/simple/jmespath/ Best match: jmespath 0.9.3 Downloading https://files.pythonhosted.org/packages/e5/21/795b7549397735e911b032f255cff5fb0de58f96da794274660bca4f58ef/jmespath-0.9.3.tar.gz#sha256=6a81d4c9aa62caf061cb517b4d9ad1dd300374cd4706997aff9cd6aedd61fc64 Processing jmespath-0.9.3.tar.gz Writing /tmp/easy_install-vn8VpR/jmespath-0.9.3/setup.cfg Running jmespath-0.9.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-vn8VpR/jmespath-0.9.3/egg-dist-tmp-VB1wm3 zip_safe flag not set; analyzing archive contents... Installed /builddir/build/BUILD/certbot-dns-route53-0.29.1/jmespath-0.9.3-py2.7.egg Searching for botocore>=1.6.0,<1.7.0 Reading https://pypi.python.org/simple/botocore/ Best match: botocore 1.6.8 Downloading https://files.pythonhosted.org/packages/40/db/c378869a1f19ae516bb97a0640c3e9ddd7293cacead3f5ba4e27b274875d/botocore-1.6.8.tar.gz#sha256=2e679f2327b1064dc74b5a62ce71a725add031b8e539668ce666da3a857a1b63 Processing botocore-1.6.8.tar.gz Writing /tmp/easy_install-z8Pa6V/botocore-1.6.8/setup.cfg Running botocore-1.6.8/setup.py -q bdist_egg --dist-dir /tmp/easy_install-z8Pa6V/botocore-1.6.8/egg-dist-tmp-lJaVin no previously-included directories found matching 'docs/build' zip_safe flag not set; analyzing archive contents... botocore.__init__: module references __file__ botocore.vendored.six: module references __path__ botocore.vendored.requests.certs: module references __file__ Installed /builddir/build/BUILD/certbot-dns-route53-0.29.1/botocore-1.6.8-py2.7.egg Searching for futures>=2.2.0,<4.0.0 Reading https://pypi.python.org/simple/futures/ Best match: futures 3.2.0 Downloading https://files.pythonhosted.org/packages/1f/9e/7b2ff7e965fc654592269f2906ade1c7d705f1bf25b7d469fa153f7d19eb/futures-3.2.0.tar.gz#sha256=9ec02aa7d674acb8618afb127e27fde7fc68994c0437ad759fa094a574adb265 Processing futures-3.2.0.tar.gz Writing /tmp/easy_install-JApKr6/futures-3.2.0/setup.cfg Running futures-3.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-JApKr6/futures-3.2.0/egg-dist-tmp-wtkZNe warning: no files found matching 'CHANGES' Installed /builddir/build/BUILD/certbot-dns-route53-0.29.1/futures-3.2.0-py2.7.egg Traceback (most recent call last): File "setup.py", line 57, in test_suite='certbot_dns_route53', File "/usr/lib/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 128, in run self.distribution.fetch_build_eggs(self.distribution.install_requires) File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs parse_requirements(requires), installer=self.fetch_build_egg File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 630, in resolve raise VersionConflict(dist,req) # XXX put more info here pkg_resources.VersionConflict: (python-dateutil 1.5 (/usr/lib/python2.7/site-packages), Requirement.parse('python-dateutil>=2.1,<3.0.0')) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.bIuGZZ (%check) Bad exit status from /var/tmp/rpm-tmp.bIuGZZ (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-certbot-dns-route53.spec