Mock Version: 1.2.17 Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-remoto.spec'], chrootPath='/var/lib/mock/storage7-ceph-nautilus-el7-build-57682-238068/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.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=86400logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-remoto.spec'] with env {'LANG': 'en_GB.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-remoto-0.0.35-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-remoto.spec'], chrootPath='/var/lib/mock/storage7-ceph-nautilus-el7-build-57682-238068/root'shell=Falseuid=996env={'LANG': 'en_GB.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=86400private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-remoto.spec'] with env {'LANG': 'en_GB.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oaeeZV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf remoto-0.0.35 + /usr/bin/gzip -dc /builddir/build/SOURCES/remoto-0.0.35.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd remoto-0.0.35 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eUPGhH + umask 022 + cd /builddir/build/BUILD + cd remoto-0.0.35 + /usr/bin/python2 setup.py build running build running build_py creating build creating build/lib creating build/lib/remoto copying remoto/exc.py -> build/lib/remoto copying remoto/log.py -> build/lib/remoto copying remoto/util.py -> build/lib/remoto copying remoto/connection.py -> build/lib/remoto copying remoto/__init__.py -> build/lib/remoto copying remoto/file_sync.py -> build/lib/remoto copying remoto/process.py -> build/lib/remoto creating build/lib/remoto/tests copying remoto/tests/test_log.py -> build/lib/remoto/tests copying remoto/tests/__init__.py -> build/lib/remoto/tests copying remoto/tests/test_connection.py -> build/lib/remoto/tests copying remoto/tests/test_util.py -> build/lib/remoto/tests copying remoto/tests/test_process.py -> build/lib/remoto/tests copying remoto/tests/fake_module.py -> build/lib/remoto/tests copying remoto/tests/test_rsync.py -> build/lib/remoto/tests + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2IfFMs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch + cd remoto-0.0.35 + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr creating /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto copying build/lib/remoto/exc.py -> /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto creating /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests copying build/lib/remoto/tests/test_log.py -> /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests copying build/lib/remoto/tests/__init__.py -> /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests copying build/lib/remoto/tests/test_connection.py -> /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests copying build/lib/remoto/tests/test_util.py -> /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests copying build/lib/remoto/tests/test_process.py -> /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests copying build/lib/remoto/tests/fake_module.py -> /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests copying build/lib/remoto/tests/test_rsync.py -> /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests copying build/lib/remoto/log.py -> /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto copying build/lib/remoto/util.py -> /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto copying build/lib/remoto/connection.py -> /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto copying build/lib/remoto/__init__.py -> /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto copying build/lib/remoto/file_sync.py -> /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto copying build/lib/remoto/process.py -> /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/exc.py to exc.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests/test_log.py to test_log.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests/test_connection.py to test_connection.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests/test_util.py to test_util.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests/test_process.py to test_process.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests/fake_module.py to fake_module.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests/test_rsync.py to test_rsync.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/log.py to log.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/util.py to util.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/connection.py to connection.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/file_sync.py to file_sync.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto/process.py to process.pyc writing byte-compilation script '/tmp/tmpBf_IBH.py' /usr/bin/python2 -O /tmp/tmpBf_IBH.py removing /tmp/tmpBf_IBH.py running install_egg_info running egg_info writing requirements to remoto.egg-info/requires.txt writing remoto.egg-info/PKG-INFO writing top-level names to remoto.egg-info/top_level.txt writing dependency_links to remoto.egg-info/dependency_links.txt reading manifest file 'remoto.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'remoto.egg-info/SOURCES.txt' Copying remoto.egg-info to /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/lib/python2.7/site-packages/remoto-0.0.35-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/remoto-0.0.35 /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-remoto-0.0.35-1.el7.noarch/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.rhJwjf + umask 022 + cd /builddir/build/BUILD + cd remoto-0.0.35 ++ pwd + export PYTHONPATH=/builddir/build/BUILD/remoto-0.0.35 + PYTHONPATH=/builddir/build/BUILD/remoto-0.0.35 + py.test-2.7 -v remoto/tests ============================= test session starts ============================== platform linux2 -- Python 2.7.5 -- py-1.4.32 -- pytest-2.7.0 -- /usr/bin/python rootdir: /builddir/build/BUILD/remoto-0.0.35, inifile: collecting ... collected 41 items remoto/tests/test_connection.py::TestNeedsSsh::test_short_hostname_matches PASSED remoto/tests/test_connection.py::TestNeedsSsh::test_long_hostname_matches PASSED remoto/tests/test_connection.py::TestNeedsSsh::test_hostname_does_not_match PASSED remoto/tests/test_connection.py::TestNeedsSsh::test_fqdn_hostname_matches_short_hostname PASSED remoto/tests/test_connection.py::TestRemoteModule::test_importing_it_sets_it_as_remote_module PASSED remoto/tests/test_connection.py::TestRemoteModule::test_importing_it_returns_the_module_too PASSED remoto/tests/test_connection.py::TestModuleExecuteArgs::test_single_argument PASSED remoto/tests/test_connection.py::TestModuleExecuteArgs::test_more_than_one_argument PASSED remoto/tests/test_connection.py::TestModuleExecuteArgs::test_dictionary_as_argument PASSED remoto/tests/test_connection.py::TestModuleExecuteGetAttr::test_raise_attribute_error PASSED remoto/tests/test_connection.py::TestMakeConnectionString::test_makes_sudo_python_no_ssh PASSED remoto/tests/test_connection.py::TestMakeConnectionString::test_makes_sudo_python_with_ssh PASSED remoto/tests/test_connection.py::TestMakeConnectionString::test_makes_sudo_python_with_ssh_options PASSED remoto/tests/test_connection.py::TestMakeConnectionString::test_makes_python_no_ssh PASSED remoto/tests/test_connection.py::TestMakeConnectionString::test_makes_python_with_ssh PASSED remoto/tests/test_connection.py::TestMakeConnectionString::test_makes_sudo_python_with_forced_sudo PASSED remoto/tests/test_connection.py::TestMakeConnectionString::test_does_not_make_sudo_python_with_forced_sudo PASSED remoto/tests/test_connection.py::TestMakeConnectionString::test_detects_python3 PASSED remoto/tests/test_connection.py::TestMakeConnectionString::test_detects_python2 PASSED remoto/tests/test_connection.py::TestDetectSudo::test_does_not_need_sudo PASSED remoto/tests/test_connection.py::TestDetectSudo::test_does_need_sudo PASSED remoto/tests/test_log.py::TestReporting::test_reporting_when_channel_is_empty PASSED remoto/tests/test_log.py::TestReporting::test_write_debug_statements PASSED remoto/tests/test_log.py::TestReporting::test_write_info_statements PASSED remoto/tests/test_log.py::TestReporting::test_strip_new_lines PASSED remoto/tests/test_log.py::TestReporting::test_strip_new_line PASSED remoto/tests/test_log.py::TestReporting::test_strip_new_line_and_carriage_return PASSED remoto/tests/test_log.py::TestReporting::test_strip_return PASSED remoto/tests/test_log.py::TestReporting::test_timeout_error PASSED remoto/tests/test_log.py::TestReporting::test_raises_other_errors PASSED remoto/tests/test_process.py::TestExtendPath::test_no_environment_sets_path PASSED remoto/tests/test_process.py::TestExtendPath::test_custom_path_does_not_get_overridden PASSED remoto/tests/test_process.py::TestExtendPath::test_custom_env_var_extends_existing_env PASSED remoto/tests/test_process.py::TestExtendPath::test_extend_env_gets_removed PASSED remoto/tests/test_rsync.py::TestRsync::test_rsync_fallback_to_host_list PASSED remoto/tests/test_rsync.py::TestRsync::test_rsync_use_host_list PASSED remoto/tests/test_util.py::TestAdminCommand::test_prepend_list_if_sudo PASSED remoto/tests/test_util.py::TestAdminCommand::test_skip_prepend_if_not_sudo PASSED remoto/tests/test_util.py::TestAdminCommand::test_command_that_is_not_a_list PASSED remoto/tests/test_util.py::TestRemoteError::test_exception_name PASSED remoto/tests/test_util.py::TestRemoteError::test_exception_line PASSED ========================== 41 passed in 0.17 seconds =========================== + exit 0 Processing files: python2-remoto-0.0.35-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.568px2 + umask 022 + cd /builddir/build/BUILD + cd remoto-0.0.35 + DOCDIR=/builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/share/doc/python2-remoto-0.0.35 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/share/doc/python2-remoto-0.0.35 + cp -pr README.rst /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/share/doc/python2-remoto-0.0.35 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Bm0mMP + umask 022 + cd /builddir/build/BUILD + cd remoto-0.0.35 + LICENSEDIR=/builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/share/licenses/python2-remoto-0.0.35 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/share/licenses/python2-remoto-0.0.35 + cp -pr LICENSE /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch/usr/share/licenses/python2-remoto-0.0.35 + exit 0 Provides: python-remoto = 0.0.35-1.el7 python2-remoto = 0.0.35-1.el7 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 Obsoletes: python-remoto < 0.0.35-1.el7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch Wrote: /builddir/build/RPMS/python2-remoto-0.0.35-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.FZsvWs + umask 022 + cd /builddir/build/BUILD + cd remoto-0.0.35 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-remoto-0.0.35-1.el7.noarch + exit 0 Child return code was: 0