Mock Version: 1.2.18 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-mechanize.spec'], user='mockbuild'shell=Falseuid=1001logger=timeout=0gid=135chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6646/root'env={'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash'}printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-mechanize.spec'] with env {'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash'} and shell False sh: /usr/bin/python: No such file or directory warning: Could not canonicalize hostname: copr-builder-774953659.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-mechanize-0.2.5-11.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-mechanize.spec'], user='mockbuild'shell=Falseuid=1001private_network=Truelogger=gid=135chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6646/root'env={'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash'}timeout=0printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-mechanize.spec'] with env {'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.agU6X3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mechanize-0.2.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/mechanize-0.2.5.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd mechanize-0.2.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod -x examples/forms/echo.cgi examples/forms/example.py examples/forms/simple.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xjL8sV + umask 022 + cd /builddir/build/BUILD + cd mechanize-0.2.5 + /usr/bin/python setup.py build running build running build_py creating build creating build/lib creating build/lib/mechanize copying mechanize/_mechanize.py -> build/lib/mechanize copying mechanize/_lwpcookiejar.py -> build/lib/mechanize copying mechanize/_clientcookie.py -> build/lib/mechanize copying mechanize/_html.py -> build/lib/mechanize copying mechanize/_gzip.py -> build/lib/mechanize copying mechanize/_http.py -> build/lib/mechanize copying mechanize/_firefox3cookiejar.py -> build/lib/mechanize copying mechanize/_form.py -> build/lib/mechanize copying mechanize/_mozillacookiejar.py -> build/lib/mechanize copying mechanize/_urllib2_fork.py -> build/lib/mechanize copying mechanize/_util.py -> build/lib/mechanize copying mechanize/_auth.py -> build/lib/mechanize copying mechanize/_headersutil.py -> build/lib/mechanize copying mechanize/_pullparser.py -> build/lib/mechanize copying mechanize/_beautifulsoup.py -> build/lib/mechanize copying mechanize/_opener.py -> build/lib/mechanize copying mechanize/_markupbase.py -> build/lib/mechanize copying mechanize/_sockettimeout.py -> build/lib/mechanize copying mechanize/__init__.py -> build/lib/mechanize copying mechanize/_version.py -> build/lib/mechanize copying mechanize/_request.py -> build/lib/mechanize copying mechanize/_urllib2.py -> build/lib/mechanize copying mechanize/_msiecookiejar.py -> build/lib/mechanize copying mechanize/_testcase.py -> build/lib/mechanize copying mechanize/_sgmllib_copy.py -> build/lib/mechanize copying mechanize/_debug.py -> build/lib/mechanize copying mechanize/_useragent.py -> build/lib/mechanize copying mechanize/_rfc3986.py -> build/lib/mechanize copying mechanize/_response.py -> build/lib/mechanize + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EQOKfN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64 + cd mechanize-0.2.5 + rm -rf /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64 + /usr/bin/python setup.py install --single-version-externally-managed -O1 --root=/builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64 running install running build running build_py running install_lib creating /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64 creating /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr creating /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_response.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_rfc3986.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_useragent.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_debug.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_sgmllib_copy.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_testcase.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_msiecookiejar.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_urllib2.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_request.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_version.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/__init__.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_sockettimeout.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_markupbase.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_opener.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_beautifulsoup.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_pullparser.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_headersutil.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_auth.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_util.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_urllib2_fork.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_mozillacookiejar.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_form.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_firefox3cookiejar.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_http.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_gzip.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_html.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_clientcookie.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_lwpcookiejar.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_mechanize.py -> /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_response.py to _response.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_rfc3986.py to _rfc3986.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_useragent.py to _useragent.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_debug.py to _debug.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_sgmllib_copy.py to _sgmllib_copy.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_testcase.py to _testcase.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_msiecookiejar.py to _msiecookiejar.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_urllib2.py to _urllib2.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_request.py to _request.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_version.py to _version.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_sockettimeout.py to _sockettimeout.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_markupbase.py to _markupbase.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_opener.py to _opener.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_beautifulsoup.py to _beautifulsoup.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_pullparser.py to _pullparser.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_headersutil.py to _headersutil.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_auth.py to _auth.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_util.py to _util.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_urllib2_fork.py to _urllib2_fork.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_mozillacookiejar.py to _mozillacookiejar.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_form.py to _form.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_firefox3cookiejar.py to _firefox3cookiejar.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_http.py to _http.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_gzip.py to _gzip.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_html.py to _html.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_clientcookie.py to _clientcookie.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_lwpcookiejar.py to _lwpcookiejar.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize/_mechanize.py to _mechanize.pyc writing byte-compilation script '/tmp/tmpw_iT95.py' /usr/bin/python -O /tmp/tmpw_iT95.py removing /tmp/tmpw_iT95.py running install_egg_info running egg_info writing mechanize.egg-info/PKG-INFO writing top-level names to mechanize.egg-info/top_level.txt writing dependency_links to mechanize.egg-info/dependency_links.txt reading manifest file 'mechanize.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'mechanize.egg-info/SOURCES.txt' Copying mechanize.egg-info to /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/lib/python2.7/site-packages/mechanize-0.2.5-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/mechanize-0.2.5 /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-mechanize-0.2.5-11.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.FNlquH + umask 022 + cd /builddir/build/BUILD + cd mechanize-0.2.5 + rm test/test_pullparser.py + chmod +x examples/forms/echo.cgi examples/forms/example.py examples/forms/simple.py + /usr/bin/python test.py --log-server /builddir/build/BUILD/mechanize-0.2.5/test/test_api.py:6: SyntaxWarning: import * only allowed at module level def test_import_all(self): ....................s...........................................................................................................................................................................................................................2016-08-07 15:13:53+0000 [-] Log opened. 2016-08-07 15:13:53+0000 [-] HTTPFactory starting on 8000 2016-08-07 15:13:53+0000 [-] Starting factory ...................................................................................................................................................................................................................................................................................................2016-08-07 15:14:00+0000 [-] Received SIGTERM, shutting down. 2016-08-07 15:14:00+0000 [twisted.web2.channel.http.HTTPFactory] (TCP Port 8000 Closed) 2016-08-07 15:14:00+0000 [twisted.web2.channel.http.HTTPFactory] Stopping factory 2016-08-07 15:14:00+0000 [-] Main loop terminated. ---------------------------------------------------------------------- Ran 531 tests in 6.899s OK (skipped=1) + chmod -x examples/forms/echo.cgi examples/forms/example.py examples/forms/simple.py + exit 0 Processing files: python-mechanize-0.2.5-11.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wqbze5 + umask 022 + cd /builddir/build/BUILD + cd mechanize-0.2.5 + DOCDIR=/builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/share/doc/python-mechanize-0.2.5 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/share/doc/python-mechanize-0.2.5 + cp -pr COPYING.txt /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/share/doc/python-mechanize-0.2.5 + cp -pr README.txt /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/share/doc/python-mechanize-0.2.5 + cp -pr docs/ /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/share/doc/python-mechanize-0.2.5 + cp -pr examples/ /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64/usr/share/doc/python-mechanize-0.2.5 + exit 0 Provides: python-mechanize = 0.2.5-11.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: python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-774953659.novalocal Wrote: /builddir/build/RPMS/python-mechanize-0.2.5-11.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UT5X0X + umask 022 + cd /builddir/build/BUILD + cd mechanize-0.2.5 + rm -rf /builddir/build/BUILDROOT/python-mechanize-0.2.5-11.el7.centos.x86_64 + exit 0 Child return code was: 0