Mock Version: 1.4.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-docopt.spec'], chrootPath='/var/lib/mock/607979-epel-7-x86_64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-docopt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory warning: Could not canonicalize hostname: copr-builder-458656842.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-docopt-0.6.2-6.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/python-docopt.spec'], chrootPath='/var/lib/mock/607979-epel-7-x86_64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-docopt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YN7Ews + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf docopt-0.6.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/docopt-0.6.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd docopt-0.6.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6I15vA + umask 022 + cd /builddir/build/BUILD + cd docopt-0.6.2 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib copying docopt.py -> build/lib + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OaTQxM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64 + cd docopt-0.6.2 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64/usr creating /builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages copying build/lib/docopt.py -> /builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/docopt.py to docopt.pyc writing byte-compilation script '/tmp/tmpE9lRkD.py' /usr/bin/python2 -O /tmp/tmpE9lRkD.py removing /tmp/tmpE9lRkD.py running install_egg_info running egg_info creating docopt.egg-info writing docopt.egg-info/PKG-INFO writing top-level names to docopt.egg-info/top_level.txt writing dependency_links to docopt.egg-info/dependency_links.txt writing manifest file 'docopt.egg-info/SOURCES.txt' reading manifest file 'docopt.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'docopt.egg-info/SOURCES.txt' Copying docopt.egg-info to /builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64/usr/lib/python2.7/site-packages/docopt-0.6.2-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 110000000 /builddir/build/BUILD/docopt-0.6.2 /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-docopt-0.6.2-6.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.Q18GjZ + umask 022 + cd /builddir/build/BUILD + cd docopt-0.6.2 + py.test-2.7 -v ============================= test session starts ============================== platform linux2 -- Python 2.7.5 -- py-1.4.32 -- pytest-2.7.0 -- /usr/bin/python rootdir: /builddir/build/BUILD/docopt-0.6.2, inifile: collecting ... collected 203 items test_docopt.py::test_pattern_flat PASSED test_docopt.py::test_option PASSED test_docopt.py::test_option_name PASSED test_docopt.py::test_commands PASSED test_docopt.py::test_printable_and_formal_usage PASSED test_docopt.py::test_parse_argv PASSED test_docopt.py::test_parse_pattern PASSED test_docopt.py::test_option_match PASSED test_docopt.py::test_argument_match PASSED test_docopt.py::test_command_match PASSED test_docopt.py::test_optional_match PASSED test_docopt.py::test_required_match PASSED test_docopt.py::test_either_match PASSED test_docopt.py::test_one_or_more_match PASSED test_docopt.py::test_list_argument_match PASSED test_docopt.py::test_basic_pattern_matching PASSED test_docopt.py::test_pattern_either PASSED test_docopt.py::test_pattern_fix_repeating_arguments PASSED test_docopt.py::test_set PASSED test_docopt.py::test_pattern_fix_identities_1 PASSED test_docopt.py::test_pattern_fix_identities_2 PASSED test_docopt.py::test_long_options_error_handling PASSED test_docopt.py::test_short_options_error_handling PASSED test_docopt.py::test_matching_paren PASSED test_docopt.py::test_allow_double_dash PASSED test_docopt.py::test_docopt PASSED test_docopt.py::test_language_errors PASSED test_docopt.py::test_issue_40 PASSED test_docopt.py::test_issue34_unicode_strings PASSED test_docopt.py::test_count_multiple_flags PASSED test_docopt.py::test_count_multiple_commands PASSED test_docopt.py::test_any_options_parameter PASSED test_docopt.py::test_options_shortcut_does_not_add_options_to_patter_second_time PASSED test_docopt.py::test_default_value_for_positional_arguments PASSED test_docopt.py::test_issue_59 PASSED test_docopt.py::test_options_first PASSED test_docopt.py::test_issue_68_options_shortcut_does_not_include_options_in_usage_patter PASSED test_docopt.py::test_issue_65_evaluate_argv_when_called_not_when_imported PASSED test_docopt.py::test_issue_85_any_option_multiple_subcommands PASSED testcases.docopt::testcases(1) PASSED testcases.docopt::testcases(2) PASSED testcases.docopt::testcases(3) PASSED testcases.docopt::testcases(4) PASSED testcases.docopt::testcases(5) PASSED testcases.docopt::testcases(6) PASSED testcases.docopt::testcases(7) PASSED testcases.docopt::testcases(8) PASSED testcases.docopt::testcases(9) PASSED testcases.docopt::testcases(10) PASSED testcases.docopt::testcases(11) PASSED testcases.docopt::testcases(12) PASSED testcases.docopt::testcases(13) PASSED testcases.docopt::testcases(14) PASSED testcases.docopt::testcases(15) PASSED testcases.docopt::testcases(16) PASSED testcases.docopt::testcases(17) PASSED testcases.docopt::testcases(18) PASSED testcases.docopt::testcases(19) PASSED testcases.docopt::testcases(20) PASSED testcases.docopt::testcases(21) PASSED testcases.docopt::testcases(22) PASSED testcases.docopt::testcases(23) PASSED testcases.docopt::testcases(24) PASSED testcases.docopt::testcases(25) PASSED testcases.docopt::testcases(26) PASSED testcases.docopt::testcases(27) PASSED testcases.docopt::testcases(28) PASSED testcases.docopt::testcases(29) PASSED testcases.docopt::testcases(30) PASSED testcases.docopt::testcases(31) PASSED testcases.docopt::testcases(32) PASSED testcases.docopt::testcases(33) PASSED testcases.docopt::testcases(34) PASSED testcases.docopt::testcases(35) PASSED testcases.docopt::testcases(36) PASSED testcases.docopt::testcases(37) PASSED testcases.docopt::testcases(38) PASSED testcases.docopt::testcases(39) PASSED testcases.docopt::testcases(40) PASSED testcases.docopt::testcases(41) PASSED testcases.docopt::testcases(42) PASSED testcases.docopt::testcases(43) PASSED testcases.docopt::testcases(44) PASSED testcases.docopt::testcases(45) PASSED testcases.docopt::testcases(46) PASSED testcases.docopt::testcases(47) PASSED testcases.docopt::testcases(48) PASSED testcases.docopt::testcases(49) PASSED testcases.docopt::testcases(50) PASSED testcases.docopt::testcases(51) PASSED testcases.docopt::testcases(52) PASSED testcases.docopt::testcases(53) PASSED testcases.docopt::testcases(54) PASSED testcases.docopt::testcases(55) PASSED testcases.docopt::testcases(56) PASSED testcases.docopt::testcases(57) PASSED testcases.docopt::testcases(58) PASSED testcases.docopt::testcases(59) PASSED testcases.docopt::testcases(60) PASSED testcases.docopt::testcases(61) PASSED testcases.docopt::testcases(62) PASSED testcases.docopt::testcases(63) PASSED testcases.docopt::testcases(64) PASSED testcases.docopt::testcases(65) PASSED testcases.docopt::testcases(66) PASSED testcases.docopt::testcases(67) PASSED testcases.docopt::testcases(68) PASSED testcases.docopt::testcases(69) PASSED testcases.docopt::testcases(70) PASSED testcases.docopt::testcases(71) PASSED testcases.docopt::testcases(72) PASSED testcases.docopt::testcases(73) PASSED testcases.docopt::testcases(74) PASSED testcases.docopt::testcases(75) PASSED testcases.docopt::testcases(76) PASSED testcases.docopt::testcases(77) PASSED testcases.docopt::testcases(78) PASSED testcases.docopt::testcases(79) PASSED testcases.docopt::testcases(80) PASSED testcases.docopt::testcases(81) PASSED testcases.docopt::testcases(82) PASSED testcases.docopt::testcases(83) PASSED testcases.docopt::testcases(84) PASSED testcases.docopt::testcases(85) PASSED testcases.docopt::testcases(86) PASSED testcases.docopt::testcases(87) PASSED testcases.docopt::testcases(88) PASSED testcases.docopt::testcases(89) PASSED testcases.docopt::testcases(90) PASSED testcases.docopt::testcases(91) PASSED testcases.docopt::testcases(92) PASSED testcases.docopt::testcases(93) PASSED testcases.docopt::testcases(94) PASSED testcases.docopt::testcases(95) PASSED testcases.docopt::testcases(96) PASSED testcases.docopt::testcases(97) PASSED testcases.docopt::testcases(98) PASSED testcases.docopt::testcases(99) PASSED testcases.docopt::testcases(100) PASSED testcases.docopt::testcases(101) PASSED testcases.docopt::testcases(102) PASSED testcases.docopt::testcases(103) PASSED testcases.docopt::testcases(104) PASSED testcases.docopt::testcases(105) PASSED testcases.docopt::testcases(106) PASSED testcases.docopt::testcases(107) PASSED testcases.docopt::testcases(108) PASSED testcases.docopt::testcases(109) PASSED testcases.docopt::testcases(110) PASSED testcases.docopt::testcases(111) PASSED testcases.docopt::testcases(112) PASSED testcases.docopt::testcases(113) PASSED testcases.docopt::testcases(114) PASSED testcases.docopt::testcases(115) PASSED testcases.docopt::testcases(116) PASSED testcases.docopt::testcases(117) PASSED testcases.docopt::testcases(118) PASSED testcases.docopt::testcases(119) PASSED testcases.docopt::testcases(120) PASSED testcases.docopt::testcases(121) PASSED testcases.docopt::testcases(122) PASSED testcases.docopt::testcases(123) PASSED testcases.docopt::testcases(124) PASSED testcases.docopt::testcases(125) PASSED testcases.docopt::testcases(126) PASSED testcases.docopt::testcases(127) PASSED testcases.docopt::testcases(128) PASSED testcases.docopt::testcases(129) PASSED testcases.docopt::testcases(130) PASSED testcases.docopt::testcases(131) PASSED testcases.docopt::testcases(132) PASSED testcases.docopt::testcases(133) PASSED testcases.docopt::testcases(134) PASSED testcases.docopt::testcases(135) PASSED testcases.docopt::testcases(136) PASSED testcases.docopt::testcases(137) PASSED testcases.docopt::testcases(138) PASSED testcases.docopt::testcases(139) PASSED testcases.docopt::testcases(140) PASSED testcases.docopt::testcases(141) PASSED testcases.docopt::testcases(142) PASSED testcases.docopt::testcases(143) PASSED testcases.docopt::testcases(144) PASSED testcases.docopt::testcases(145) PASSED testcases.docopt::testcases(146) PASSED testcases.docopt::testcases(147) PASSED testcases.docopt::testcases(148) PASSED testcases.docopt::testcases(149) PASSED testcases.docopt::testcases(150) PASSED testcases.docopt::testcases(151) PASSED testcases.docopt::testcases(152) PASSED testcases.docopt::testcases(153) PASSED testcases.docopt::testcases(154) PASSED testcases.docopt::testcases(155) PASSED testcases.docopt::testcases(156) PASSED testcases.docopt::testcases(157) PASSED testcases.docopt::testcases(158) PASSED testcases.docopt::testcases(159) PASSED testcases.docopt::testcases(160) PASSED testcases.docopt::testcases(161) PASSED testcases.docopt::testcases(162) PASSED testcases.docopt::testcases(163) PASSED testcases.docopt::testcases(164) PASSED ========================== 203 passed in 0.58 seconds ========================== + exit 0 Processing files: python2-docopt-0.6.2-6.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.eK6YJe + umask 022 + cd /builddir/build/BUILD + cd docopt-0.6.2 + DOCDIR=/builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64/usr/share/doc/python2-docopt-0.6.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64/usr/share/doc/python2-docopt-0.6.2 + cp -pr README.rst /builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64/usr/share/doc/python2-docopt-0.6.2 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.SMqibu + umask 022 + cd /builddir/build/BUILD + cd docopt-0.6.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64/usr/share/licenses/python2-docopt-0.6.2 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64/usr/share/licenses/python2-docopt-0.6.2 + cp -pr LICENSE-MIT /builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64/usr/share/licenses/python2-docopt-0.6.2 + exit 0 Provides: python-docopt = 0.6.2-6.el7.centos python2-docopt = 0.6.2-6.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 2.7 Obsoletes: python-docopt < 0.6.2-6.el7.centos Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-458656842.novalocal Wrote: /builddir/build/RPMS/python2-docopt-0.6.2-6.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.c5EiB0 + umask 022 + cd /builddir/build/BUILD + cd docopt-0.6.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-docopt-0.6.2-6.el7.centos.x86_64 + exit 0 Child return code was: 0