Mock Version: 1.2.10 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-foreman.spec'], chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-6811/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=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-foreman.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 warning: Could not canonicalize hostname: copr-builder-965545079 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-foreman-0.3.1-1.el6.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-foreman.spec '], chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-6811/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=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-foreman.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UVRztP + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf python-foreman-0.3.1 + /bin/tar -xvvf - + /usr/bin/gzip -dc /builddir/build/SOURCES/python-foreman-0.3.1.tar.gz drwxr-xr-x root/root 0 2015-07-28 10:39 python-foreman-0.3.1/ drwxr-xr-x root/root 0 2015-07-28 10:39 python-foreman-0.3.1/python_foreman.egg-info/ -rw-r--r-- mockbuild/dcaro 1024 2015-07-28 10:39 python-foreman-0.3.1/python_foreman.egg-info/PKG-INFO -rw-r--r-- mockbuild/dcaro 15 2015-07-28 10:39 python-foreman-0.3.1/python_foreman.egg-info/requires.txt -rw-r--r-- mockbuild/dcaro 24 2015-07-28 10:39 python-foreman-0.3.1/python_foreman.egg-info/top_level.txt -rw-r--r-- mockbuild/dcaro 1 2015-07-28 10:39 python-foreman-0.3.1/python_foreman.egg-info/dependency_links.txt -rw-r--r-- mockbuild/dcaro 543 2015-07-28 10:39 python-foreman-0.3.1/python_foreman.egg-info/SOURCES.txt -rw-r--r-- root/root 1024 2015-07-28 10:39 python-foreman-0.3.1/PKG-INFO -rw-rw-r-- mockbuild/dcaro 18026 2015-07-20 18:01 python-foreman-0.3.1/LICENSE drwxr-xr-x root/root 0 2015-07-28 10:39 python-foreman-0.3.1/foreman_plugins/ -rw-rw-r-- mockbuild/dcaro 923 2015-07-20 18:01 python-foreman-0.3.1/foreman_plugins/foreman_reserve.py -rw-rw-r-- mockbuild/dcaro 0 2015-07-20 18:01 python-foreman-0.3.1/foreman_plugins/__init__.py -rwxrwxr-x mockbuild/dcaro 549 2015-07-20 18:01 python-foreman-0.3.1/setup.py -rw-rw-r-- mockbuild/dcaro 565 2015-07-20 18:01 python-foreman-0.3.1/README.rst -rw-rw-r-- root/root 131 2015-07-28 10:39 python-foreman-0.3.1/setup.cfg -rw-rw-r-- mockbuild/dcaro 78 2015-07-20 18:01 python-foreman-0.3.1/MANIFEST.in drwxr-xr-x root/root 0 2015-07-28 10:39 python-foreman-0.3.1/foreman/ drwxr-xr-x root/root 0 2015-07-28 10:39 python-foreman-0.3.1/foreman/definitions/ -rw-rw-r-- mockbuild/dcaro 670918 2015-07-20 18:01 python-foreman-0.3.1/foreman/definitions/1.5.0-v2.json -rw-rw-r-- mockbuild/dcaro 440378 2015-07-20 18:01 python-foreman-0.3.1/foreman/definitions/1.5.0-v1.json -rw-rw-r-- mockbuild/dcaro 534047 2015-07-20 18:01 python-foreman-0.3.1/foreman/definitions/1.4.2-v2.json -rw-rw-r-- mockbuild/dcaro 1031681 2015-07-20 18:01 python-foreman-0.3.1/foreman/definitions/1.7.2-v2.json -rw-rw-r-- mockbuild/dcaro 378339 2015-07-20 18:01 python-foreman-0.3.1/foreman/definitions/1.4.2-v1.json -rw-rw-r-- mockbuild/dcaro 665347 2015-07-20 18:01 python-foreman-0.3.1/foreman/definitions/1.7.2-v1.json -rw-rw-r-- mockbuild/dcaro 21 2015-07-20 18:01 python-foreman-0.3.1/foreman/__init__.py -rw-rw-r-- mockbuild/dcaro 32688 2015-07-28 09:56 python-foreman-0.3.1/foreman/client.py + STATUS=0 + '[' 0 -ne 0 ']' + cd python-foreman-0.3.1 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8hvoWw + umask 022 + cd /builddir/build/BUILD + cd python-foreman-0.3.1 + LANG=C + export LANG + unset DISPLAY + python setup.py build Traceback (most recent call last): File "setup.py", line 3, in from setuptools import setup ImportError: No module named setuptools error: Bad exit status from /var/tmp/rpm-tmp.8hvoWw (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.8hvoWw (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-foreman.spec Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 494, 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 x86_64 --nodeps /builddir/build/SPECS/python-foreman.spec LEAVE do --> EXCEPTION RAISED