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-57939-239304/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-1.1.2-1.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-57939-239304/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.eCOVYZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf remoto-1.1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/remoto-1.1.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd remoto-1.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.I3GlXa + umask 022 + cd /builddir/build/BUILD + cd remoto-1.1.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 creating build/lib/remoto copying remoto/process.py -> build/lib/remoto copying remoto/__init__.py -> build/lib/remoto copying remoto/file_sync.py -> build/lib/remoto copying remoto/util.py -> build/lib/remoto copying remoto/log.py -> build/lib/remoto copying remoto/exc.py -> build/lib/remoto copying remoto/connection.py -> build/lib/remoto creating build/lib/remoto/backends copying remoto/backends/kubernetes.py -> build/lib/remoto/backends copying remoto/backends/__init__.py -> build/lib/remoto/backends copying remoto/backends/openshift.py -> build/lib/remoto/backends copying remoto/backends/podman.py -> build/lib/remoto/backends copying remoto/backends/local.py -> build/lib/remoto/backends copying remoto/backends/docker.py -> build/lib/remoto/backends copying remoto/backends/ssh.py -> build/lib/remoto/backends creating 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_log.py -> build/lib/remoto/tests copying remoto/tests/conftest.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 copying remoto/tests/test_util.py -> build/lib/remoto/tests + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9O5gmo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch ++ dirname /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch + cd remoto-1.1.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-remoto-1.1.2-1.1.el7.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr creating /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto copying build/lib/remoto/process.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto copying build/lib/remoto/__init__.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto copying build/lib/remoto/file_sync.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto creating /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/backends copying build/lib/remoto/backends/kubernetes.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/backends copying build/lib/remoto/backends/__init__.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/backends copying build/lib/remoto/backends/openshift.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/backends copying build/lib/remoto/backends/podman.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/backends copying build/lib/remoto/backends/local.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/backends copying build/lib/remoto/backends/docker.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/backends copying build/lib/remoto/backends/ssh.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/backends copying build/lib/remoto/util.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto copying build/lib/remoto/log.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto copying build/lib/remoto/exc.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto creating /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests copying build/lib/remoto/tests/__init__.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests copying build/lib/remoto/tests/test_connection.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests copying build/lib/remoto/tests/test_log.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests copying build/lib/remoto/tests/conftest.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests copying build/lib/remoto/tests/test_process.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests copying build/lib/remoto/tests/fake_module.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests copying build/lib/remoto/tests/test_rsync.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests copying build/lib/remoto/tests/test_util.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests copying build/lib/remoto/connection.py -> /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto byte-compiling /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/process.py to process.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/file_sync.py to file_sync.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/backends/kubernetes.py to kubernetes.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/backends/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/backends/openshift.py to openshift.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/backends/podman.py to podman.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/backends/local.py to local.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/backends/docker.py to docker.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/backends/ssh.py to ssh.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/util.py to util.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/log.py to log.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/exc.py to exc.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-1.1.2-1.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-1.1.2-1.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-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/tests/conftest.py to conftest.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-1.1.2-1.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-1.1.2-1.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-1.1.2-1.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-1.1.2-1.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-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto/connection.py to connection.pyc writing byte-compilation script '/tmp/tmpc9S9xa.py' /usr/bin/python2 -O /tmp/tmpc9S9xa.py removing /tmp/tmpc9S9xa.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-1.1.2-1.1.el7.noarch/usr/lib/python2.7/site-packages/remoto-1.1.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 50000000 /builddir/build/BUILD/remoto-1.1.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-remoto-1.1.2-1.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.mxIU6C + umask 022 + cd /builddir/build/BUILD + cd remoto-1.1.2 + 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-1.1.2, inifile: collecting ... collected 52 items remoto/tests/test_connection.py::TestGet::test_valid_names[ssh] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[oc] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[openshift] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[kubernetes] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[k8s] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[local] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[popen] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[localhost] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[docker] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[podman] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[Ssh] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[Oc] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[Openshift] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[Kubernetes] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[K8s] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[Local] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[Popen] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[Localhost] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[Docker] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[Podman] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[ ssh ] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[ oc ] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[ openshift ] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[ kubernetes ] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[ k8s ] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[ local ] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[ popen ] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[ localhost ] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[ docker ] PASSED remoto/tests/test_connection.py::TestGet::test_valid_names[ podman ] PASSED remoto/tests/test_connection.py::TestGet::test_fallback PASSED remoto/tests/test_connection.py::TestGet::test_custom_fallback 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 ========================== 52 passed in 0.15 seconds =========================== + exit 0 Processing files: python2-remoto-1.1.2-1.1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wSD4yS + umask 022 + cd /builddir/build/BUILD + cd remoto-1.1.2 + DOCDIR=/builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/share/doc/python2-remoto-1.1.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/share/doc/python2-remoto-1.1.2 + cp -pr README.rst /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/share/doc/python2-remoto-1.1.2 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.kaoA27 + umask 022 + cd /builddir/build/BUILD + cd remoto-1.1.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/share/licenses/python2-remoto-1.1.2 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/share/licenses/python2-remoto-1.1.2 + cp -pr LICENSE /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch/usr/share/licenses/python2-remoto-1.1.2 + exit 0 Provides: python-remoto = 1.1.2-1.1.el7 python2-remoto = 1.1.2-1.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 < 1.1.2-1.1.el7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch Wrote: /builddir/build/RPMS/python2-remoto-1.1.2-1.1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9r18hH + umask 022 + cd /builddir/build/BUILD + cd remoto-1.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-remoto-1.1.2-1.1.el7.noarch + exit 0 Child return code was: 0