Mock Version: 1.1.38 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/python-six.spec'], False, '/srv/build/7/C/mock-root/c7.01.u-i686/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/python-six.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} sh: /usr/bin/python: No such file or directory warning: Could not canonicalize hostname: worker1.bsys.centos.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/python-six-1.9.0-2.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/python-six.spec'], False, '/srv/build/7/C/mock-root/c7.01.u-i686/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/python-six.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jPosKy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf six-1.9.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/six-1.9.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd six-1.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yV7TT1 + umask 022 + cd /builddir/build/BUILD + cd six-1.9.0 + /usr/bin/python setup.py build running build running build_py creating build creating build/lib copying six.py -> build/lib + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0iwWhv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-six-1.9.0-2.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-six-1.9.0-2.el7.i386 ++ dirname /builddir/build/BUILDROOT/python-six-1.9.0-2.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-six-1.9.0-2.el7.i386 + cd six-1.9.0 + rm -rf /builddir/build/BUILDROOT/python-six-1.9.0-2.el7.i386 + /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-six-1.9.0-2.el7.i386 running install running install_lib creating /builddir/build/BUILDROOT/python-six-1.9.0-2.el7.i386 creating /builddir/build/BUILDROOT/python-six-1.9.0-2.el7.i386/usr creating /builddir/build/BUILDROOT/python-six-1.9.0-2.el7.i386/usr/lib creating /builddir/build/BUILDROOT/python-six-1.9.0-2.el7.i386/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-six-1.9.0-2.el7.i386/usr/lib/python2.7/site-packages copying build/lib/six.py -> /builddir/build/BUILDROOT/python-six-1.9.0-2.el7.i386/usr/lib/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/python-six-1.9.0-2.el7.i386/usr/lib/python2.7/site-packages/six.py to six.pyc writing byte-compilation script '/tmp/tmpYF2evm.py' /usr/bin/python -O /tmp/tmpYF2evm.py removing /tmp/tmpYF2evm.py running install_egg_info running egg_info writing six.egg-info/PKG-INFO writing top-level names to six.egg-info/top_level.txt writing dependency_links to six.egg-info/dependency_links.txt reading manifest file 'six.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'documentation/_build' writing manifest file 'six.egg-info/SOURCES.txt' Copying six.egg-info to /builddir/build/BUILDROOT/python-six-1.9.0-2.el7.i386/usr/lib/python2.7/site-packages/six-1.9.0-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/six-1.9.0 /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-six-1.9.0-2.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.HSh9mZ + umask 022 + cd /builddir/build/BUILD + cd six-1.9.0 + py.test -rfsxX test_six.py ============================= test session starts ============================== platform linux2 -- Python 2.7.5 -- pytest-2.3.5 collected 184 items test_six.py .....................................................................s......................................................................................E..................s........ ==================================== ERRORS ==================================== ___________________ ERROR at setup of test_dictionary_views ____________________ Error evaluating 'skipif' expression False Failed: expression is not a string =========================== short test summary info ============================ SKIP [1] /usr/lib/python2.7/site-packages/_pytest/skipping.py:120: condition: sys.version_info[:2] >= (2, 6) SKIP [1] /builddir/build/BUILD/six-1.9.0/test_six.py:108: Windows only module ================ 181 passed, 2 skipped, 1 error in 0.72 seconds ================ error: Bad exit status from /var/tmp/rpm-tmp.HSh9mZ (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.HSh9mZ (%check) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/python-six.spec'] Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.6/site-packages/mockbuild/util.py", line 377, in do raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/python-six.spec'] LEAVE do --> EXCEPTION RAISED