Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/insights-client.spec'], logger=timeout=0user='mockbuild'shell=FalseprintOutput=Falsenspawn_args=[]env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'HOME': '/builddir'}chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-8830/root'uid=1001gid=135) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/insights-client.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'HOME': '/builddir'} and shell False sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory warning: Could not canonicalize hostname: copr-builder-314426253.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/insights-client-2.0.5-12.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/insights-client.spec'], logger=timeout=0user='mockbuild'shell=FalseprintOutput=Falsenspawn_args=[]env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'HOME': '/builddir'}chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-8830/root'uid=1001gid=135) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/insights-client.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'HOME': '/builddir'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SnCyX8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf insights-client-2.0.5 + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/insights-client-2.0.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd insights-client-2.0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4Xlca5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64 + cd insights-client-2.0.5 + rm -rf /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64 + /usr/bin/python setup.py install --root=/builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64 running install running build running build_py creating build creating build/lib creating build/lib/insights_client copying insights_client/__init__.py -> build/lib/insights_client copying insights_client/mount.py -> build/lib/insights_client copying insights_client/support.py -> build/lib/insights_client copying insights_client/collection_rules.py -> build/lib/insights_client copying insights_client/dmsetupWrap.py -> build/lib/insights_client copying insights_client/archive.py -> build/lib/insights_client copying insights_client/cert_auth.py -> build/lib/insights_client copying insights_client/utilities.py -> build/lib/insights_client copying insights_client/docker_wrap.py -> build/lib/insights_client copying insights_client/util.py -> build/lib/insights_client copying insights_client/subp.py -> build/lib/insights_client copying insights_client/auto_config.py -> build/lib/insights_client copying insights_client/containers.py -> build/lib/insights_client copying insights_client/insights_spec.py -> build/lib/insights_client copying insights_client/soscleaner.py -> build/lib/insights_client copying insights_client/data_collector.py -> build/lib/insights_client copying insights_client/constants.py -> build/lib/insights_client copying insights_client/connection.py -> build/lib/insights_client copying insights_client/schedule.py -> build/lib/insights_client copying insights_client/client_config.py -> build/lib/insights_client running egg_info writing requirements to insights_client.egg-info/requires.txt writing insights_client.egg-info/PKG-INFO writing top-level names to insights_client.egg-info/top_level.txt writing dependency_links to insights_client.egg-info/dependency_links.txt writing entry points to insights_client.egg-info/entry_points.txt reading manifest file 'insights_client.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'insights_client.egg-info/SOURCES.txt' running build_scripts creating build/scripts-2.7 copying and adjusting scripts/insights-client -> build/scripts-2.7 changing mode of build/scripts-2.7/insights-client from 644 to 755 running install_lib creating /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64 creating /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr creating /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib creating /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/client_config.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/schedule.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/connection.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/constants.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/data_collector.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/soscleaner.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/insights_spec.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/containers.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/auto_config.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/subp.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/util.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/docker_wrap.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/utilities.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/cert_auth.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/archive.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/dmsetupWrap.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/collection_rules.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/support.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/mount.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client copying build/lib/insights_client/__init__.py -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/client_config.py to client_config.pyc byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/schedule.py to schedule.pyc byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/connection.py to connection.pyc byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/constants.py to constants.pyc byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/data_collector.py to data_collector.pyc byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/soscleaner.py to soscleaner.pyc byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/insights_spec.py to insights_spec.pyc byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/containers.py to containers.pyc byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/auto_config.py to auto_config.pyc byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/subp.py to subp.pyc byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/util.py to util.pyc byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/docker_wrap.py to docker_wrap.pyc byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/utilities.py to utilities.pyc byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/cert_auth.py to cert_auth.pyc byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/archive.py to archive.pyc byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/dmsetupWrap.py to dmsetupWrap.pyc byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/collection_rules.py to collection_rules.pyc byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/support.py to support.pyc byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/mount.py to mount.pyc byte-compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/__init__.py to __init__.pyc Sorry: IndentationError: expected an indented block (__init__.py, line 609) running install_data creating /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/etc creating /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/etc/insights-client copying etc/insights-client.conf -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/etc/insights-client copying etc/.fallback.json -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/etc/insights-client copying etc/.fallback.json.asc -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/etc/insights-client copying etc/redhattools.pub.gpg -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/etc/insights-client copying etc/api.access.redhat.com.pem -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/etc/insights-client copying etc/cert-api.access.redhat.com.pem -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/etc/insights-client copying etc/.exp.sed -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/etc/insights-client copying etc/insights-client-container.cron -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/etc/insights-client copying etc/insights-client.cron -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/etc/insights-client creating /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/share creating /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/share/man creating /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/share/man/man5 copying docs/insights-client.conf.5 -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/share/man/man5/ creating /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/share/man/man8 copying docs/insights-client.8 -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/share/man/man8/ creating /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/var creating /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/var/log creating /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/var/log/insights-client creating /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/var/lib creating /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/var/lib/insights_client copying insights-client-2.0.5.tar.gz -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/var/lib/insights_client running install_egg_info Copying insights_client.egg-info to /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client-2.0.5-py2.7.egg-info running install_scripts creating /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/bin copying build/scripts-2.7/insights-client -> /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/bin/insights-client to 755 Installing insights-client script to /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/bin + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7 using /usr/bin/python2.7 Compiling /builddir/build/BUILDROOT/insights-client-2.0.5-12.el7.centos.x86_64/usr/lib/python2.7/site-packages/insights_client/__init__.py ... Sorry: IndentationError: expected an indented block (__init__.py, line 609) error: Bad exit status from /var/tmp/rpm-tmp.4Xlca5 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.4Xlca5 (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.5/site-packages/mockbuild/trace_decorator.py", line 89, in trace result = func(*args, **kw) File "/usr/lib/python3.5/site-packages/mockbuild/util.py", line 582, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) mockbuild.exception.Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/insights-client.spec