Mock Version: 1.2.12 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cmdtest.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-2639/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', '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/cmdtest.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'} and shell False sh: /usr/bin/python: No such file or directory warning: Could not canonicalize hostname: copr-builder-867851040.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/cmdtest-0.19-1.el7.centos.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/cmdtest.spec '], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-2639/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', '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/cmdtest.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fwXzDv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cmdtest-0.19 + /usr/bin/xz -dc /builddir/build/SOURCES/cmdtest_0.19.orig.tar.xz + /usr/bin/tar -xvvf - drwxrwxr-x root/root 0 2016-01-09 09:16 cmdtest-0.19/ -rw-rw-r-- root/root 9 2016-01-09 09:16 cmdtest-0.19/.gitignore -rw-rw-r-- root/root 35147 2016-01-09 09:16 cmdtest-0.19/COPYING -rw-rw-r-- root/root 6780 2016-01-09 09:16 cmdtest-0.19/NEWS -rw-rw-r-- root/root 1909 2016-01-09 09:16 cmdtest-0.19/README -rw-rw-r-- root/root 9204 2016-01-09 09:16 cmdtest-0.19/README.yarn -rwxrwxr-x root/root 8347 2016-01-09 09:16 cmdtest-0.19/cmdtest -rw-rw-r-- root/root 4415 2016-01-09 09:16 cmdtest-0.19/cmdtest.1.in -rw-rw-r-- root/root 2676 2016-01-09 09:16 cmdtest-0.19/cmdtestlib.py -rw-rw-r-- root/root 2978 2016-01-09 09:16 cmdtest-0.19/cmdtestlib_tests.py drwxrwxr-x root/root 0 2016-01-09 09:16 cmdtest-0.19/debian/ -rw-rw-r-- root/root 3039 2016-01-09 09:16 cmdtest-0.19/debian/changelog -rw-rw-r-- root/root 2 2016-01-09 09:16 cmdtest-0.19/debian/compat -rw-rw-r-- root/root 885 2016-01-09 09:16 cmdtest-0.19/debian/control -rw-rw-r-- root/root 940 2016-01-09 09:16 cmdtest-0.19/debian/copyright -rwxrwxr-x root/root 77 2016-01-09 09:16 cmdtest-0.19/debian/rules drwxrwxr-x root/root 0 2016-01-09 09:16 cmdtest-0.19/debian/source/ -rw-rw-r-- root/root 12 2016-01-09 09:16 cmdtest-0.19/debian/source/format drwxrwxr-x root/root 0 2016-01-09 09:16 cmdtest-0.19/echo-tests/ -rwxrwxr-x root/root 28 2016-01-09 09:16 cmdtest-0.19/echo-tests/hello.script -rwxrwxr-x root/root 35 2016-01-09 09:16 cmdtest-0.19/echo-tests/hello.setup -rw-rw-r-- root/root 13 2016-01-09 09:16 cmdtest-0.19/echo-tests/hello.stdout -rwxrwxr-x root/root 35 2016-01-09 09:16 cmdtest-0.19/echo-tests/setup_once drwxrwxr-x root/root 0 2016-01-09 09:16 cmdtest-0.19/fail-tests/ -rwxrwxr-x root/root 108 2016-01-09 09:16 cmdtest-0.19/fail-tests/fail.script -rwxrwxr-x root/root 60 2016-01-09 09:16 cmdtest-0.19/run-yarn -rw-rw-r-- root/root 3286 2016-01-09 09:16 cmdtest-0.19/setup.py -rw-rw-r-- root/root 78 2016-01-09 09:16 cmdtest-0.19/shell-lib.sh -rw-rw-r-- root/root 490 2016-01-09 09:16 cmdtest-0.19/shell-lib.yarn -rw-rw-r-- root/root 814 2016-01-09 09:16 cmdtest-0.19/simple.scenario drwxrwxr-x root/root 0 2016-01-09 09:16 cmdtest-0.19/sort-tests/ -rwxrwxr-x root/root 27 2016-01-09 09:16 cmdtest-0.19/sort-tests/empty.script -rwxrwxr-x root/root 26 2016-01-09 09:16 cmdtest-0.19/sort-tests/empty.setup -rw-rw-r-- root/root 0 2016-01-09 09:16 cmdtest-0.19/sort-tests/empty.stdin -rw-rw-r-- root/root 0 2016-01-09 09:16 cmdtest-0.19/sort-tests/empty.stdout -rwxrwxr-x root/root 26 2016-01-09 09:16 cmdtest-0.19/sort-tests/setup -rwxrwxr-x root/root 26 2016-01-09 09:16 cmdtest-0.19/sort-tests/setup_once -rwxrwxr-x root/root 27 2016-01-09 09:16 cmdtest-0.19/sort-tests/single-line.script -rw-rw-r-- root/root 13 2016-01-09 09:16 cmdtest-0.19/sort-tests/single-line.stdin -rw-rw-r-- root/root 13 2016-01-09 09:16 cmdtest-0.19/sort-tests/single-line.stdout -rw-rw-r-- root/root 49 2016-01-09 09:16 cmdtest-0.19/without-tests -rwxrwxr-x root/root 19666 2016-01-09 09:16 cmdtest-0.19/yarn drwxrwxr-x root/root 0 2016-01-09 09:16 cmdtest-0.19/yarn-doc/ -rw-rw-r-- root/root 10488 2016-01-09 09:16 cmdtest-0.19/yarn-doc/index.mdwn -rw-rw-r-- root/root 4886 2016-01-09 09:16 cmdtest-0.19/yarn.1.in drwxrwxr-x root/root 0 2016-01-09 09:16 cmdtest-0.19/yarn.tests/ -rwxrwxr-x root/root 420 2016-01-09 09:16 cmdtest-0.19/yarn.tests/assuming-failure.script -rw-rw-r-- root/root 51 2016-01-09 09:16 cmdtest-0.19/yarn.tests/assuming-failure.stdout -rwxrwxr-x root/root 415 2016-01-09 09:16 cmdtest-0.19/yarn.tests/assuming.script -rw-rw-r-- root/root 2 2016-01-09 09:16 cmdtest-0.19/yarn.tests/duplicate-scenario-names.exit -rwxrwxr-x root/root 207 2016-01-09 09:16 cmdtest-0.19/yarn.tests/duplicate-scenario-names.script -rw-rw-r-- root/root 56 2016-01-09 09:16 cmdtest-0.19/yarn.tests/duplicate-scenario-names.stderr -rwxrwxr-x root/root 218 2016-01-09 09:16 cmdtest-0.19/yarn.tests/env-option.script -rwxrwxr-x root/root 500 2016-01-09 09:16 cmdtest-0.19/yarn.tests/env.script -rwxrwxr-x root/root 406 2016-01-09 09:16 cmdtest-0.19/yarn.tests/finally.script -rwxrwxr-x root/root 373 2016-01-09 09:16 cmdtest-0.19/yarn.tests/multi.script -rwxrwxr-x root/root 357 2016-01-09 09:16 cmdtest-0.19/yarn.tests/no-act.script -rw-rw-r-- root/root 2 2016-01-09 09:16 cmdtest-0.19/yarn.tests/no-scenarios.exit -rwxrwxr-x root/root 91 2016-01-09 09:16 cmdtest-0.19/yarn.tests/no-scenarios.script -rw-rw-r-- root/root 55 2016-01-09 09:16 cmdtest-0.19/yarn.tests/no-scenarios.stderr -rw-rw-r-- root/root 2 2016-01-09 09:16 cmdtest-0.19/yarn.tests/no-then.exit -rwxrwxr-x root/root 169 2016-01-09 09:16 cmdtest-0.19/yarn.tests/no-then.script -rw-rw-r-- root/root 46 2016-01-09 09:16 cmdtest-0.19/yarn.tests/no-then.stderr -rwxrwxr-x root/root 293 2016-01-09 09:16 cmdtest-0.19/yarn.tests/selected-test.script -rwxrwxr-x root/root 47 2016-01-09 09:16 cmdtest-0.19/yarn.tests/setup -rwxrwxr-x root/root 75 2016-01-09 09:16 cmdtest-0.19/yarn.tests/shell-lib.script -rw-rw-r-- root/root 2 2016-01-09 09:16 cmdtest-0.19/yarn.tests/simple.exit -rwxrwxr-x root/root 47 2016-01-09 09:16 cmdtest-0.19/yarn.tests/simple.script -rw-rw-r-- root/root 82 2016-01-09 09:16 cmdtest-0.19/yarn.tests/simple.stderr -rwxrwxr-x root/root 1781 2016-01-09 09:16 cmdtest-0.19/yarn.tests/snapshot.script -rwxrwxr-x root/root 2 2016-01-09 09:16 cmdtest-0.19/yarn.tests/two-no-thens.exit -rwxrwxr-x root/root 307 2016-01-09 09:16 cmdtest-0.19/yarn.tests/two-no-thens.script -rwxrwxr-x root/root 59 2016-01-09 09:16 cmdtest-0.19/yarn.tests/two-no-thens.stderr drwxrwxr-x root/root 0 2016-01-09 09:16 cmdtest-0.19/yarnlib/ -rw-rw-r-- root/root 844 2016-01-09 09:16 cmdtest-0.19/yarnlib/__init__.py -rw-rw-r-- root/root 4875 2016-01-09 09:16 cmdtest-0.19/yarnlib/block_parser.py -rw-rw-r-- root/root 5640 2016-01-09 09:16 cmdtest-0.19/yarnlib/block_parser_tests.py -rw-rw-r-- root/root 1236 2016-01-09 09:16 cmdtest-0.19/yarnlib/elements.py -rw-rw-r-- root/root 2547 2016-01-09 09:16 cmdtest-0.19/yarnlib/mdparser.py -rw-rw-r-- root/root 2455 2016-01-09 09:16 cmdtest-0.19/yarnlib/mdparser_tests.py Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EHBBn7 + STATUS=0 + '[' 0 -ne 0 ']' + cd cmdtest-0.19 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 + umask 022 + cd /builddir/build/BUILD + cd cmdtest-0.19 + /usr/bin/python setup.py build running build running build_py creating build creating build/lib copying cmdtestlib.py -> build/lib creating build/lib/yarnlib copying yarnlib/mdparser_tests.py -> build/lib/yarnlib copying yarnlib/mdparser.py -> build/lib/yarnlib copying yarnlib/elements.py -> build/lib/yarnlib copying yarnlib/block_parser_tests.py -> build/lib/yarnlib copying yarnlib/block_parser.py -> build/lib/yarnlib copying yarnlib/__init__.py -> build/lib/yarnlib running build_scripts creating build/scripts-2.7 copying and adjusting cmdtest -> build/scripts-2.7 copying and adjusting yarn -> build/scripts-2.7 changing mode of build/scripts-2.7/cmdtest from 644 to 755 changing mode of build/scripts-2.7/yarn from 644 to 755 building manpages + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GHUnKJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64 + cd cmdtest-0.19 + /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr creating /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/lib creating /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/yarnlib copying build/lib/yarnlib/__init__.py -> /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/yarnlib copying build/lib/yarnlib/block_parser.py -> /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/yarnlib copying build/lib/yarnlib/block_parser_tests.py -> /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/yarnlib copying build/lib/yarnlib/elements.py -> /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/yarnlib copying build/lib/yarnlib/mdparser.py -> /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/yarnlib copying build/lib/yarnlib/mdparser_tests.py -> /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/yarnlib copying build/lib/cmdtestlib.py -> /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/lib/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/yarnlib/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/yarnlib/block_parser.py to block_parser.pyc byte-compiling /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/yarnlib/block_parser_tests.py to block_parser_tests.pyc byte-compiling /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/yarnlib/elements.py to elements.pyc byte-compiling /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/yarnlib/mdparser.py to mdparser.pyc byte-compiling /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/yarnlib/mdparser_tests.py to mdparser_tests.pyc byte-compiling /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/cmdtestlib.py to cmdtestlib.pyc writing byte-compilation script '/tmp/tmp7wt_ew.py' /usr/bin/python -O /tmp/tmp7wt_ew.py removing /tmp/tmp7wt_ew.py running install_scripts creating /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/bin copying build/scripts-2.7/yarn -> /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/bin copying build/scripts-2.7/cmdtest -> /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/bin/yarn to 755 changing mode of /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/bin/cmdtest to 755 running install_data creating /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/share creating /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/share/man creating /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/share/man/man1 copying cmdtest.1 -> /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/share/man/man1 running install_egg_info Writing /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/cmdtest-0.19-py2.7.egg-info + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/cmdtest-0.19 /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/cmdtest-0.19-1.el7.centos.x86_64/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.7Ra2cn + umask 022 + cd /builddir/build/BUILD + cd cmdtest-0.19 + rm -rf build + /usr/bin/python setup.py check running check 1/1 tests OK, 0 failures 2/2 tests OK, 0 failures FAIL: fail: stdout diff: --- /dev/null 2016-01-11 23:32:52.427000000 +0000 +++ fail-tests/fail.stdout-actual 2016-01-11 23:34:23.013000000 +0000 @@ -0,0 +1 @@ +this is not empty output to make test fail 0/1 tests OK, 1 failures + exit 0 Processing files: cmdtest-0.19-1.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dATSJ2 + umask 022 + cd /builddir/build/BUILD + cd cmdtest-0.19 + DOCDIR=/builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/share/doc/cmdtest-0.19 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/share/doc/cmdtest-0.19 + cp -pr COPYING /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/share/doc/cmdtest-0.19 + cp -pr NEWS /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/share/doc/cmdtest-0.19 + cp -pr README /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/share/doc/cmdtest-0.19 + cp -pr README.yarn /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64/usr/share/doc/cmdtest-0.19 + exit 0 Provides: cmdtest = 0.19-1.el7.centos 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: /usr/bin/python python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-867851040.novalocal Wrote: /builddir/build/RPMS/cmdtest-0.19-1.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oGPq5q + umask 022 + cd /builddir/build/BUILD + cd cmdtest-0.19 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cmdtest-0.19-1.el7.centos.x86_64 + exit 0 Child return code was: 0 LEAVE do -->