Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/python-remoto.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.8CiqwZ:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1739529cbc9142678d19f030b6c85bc5', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.8CiqwZ:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/python-remoto.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python2: No such file or directory Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/python-remoto-0.0.25-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/python-remoto.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.8CiqwZ:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a25ce6aa6341449293130ec4cee2d62a', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.8CiqwZ:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/python-remoto.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Yn0SqI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf remoto-0.0.25 + /usr/bin/gzip -dc /builddir/build/SOURCES/remoto-0.0.25.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd remoto-0.0.25 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -name '*.pyc' -print0 + xargs -0 rm + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kjR5Vw + umask 022 + cd /builddir/build/BUILD + cd remoto-0.0.25 + REMOTO_NO_VENDOR=1 + /usr/bin/python2 setup.py build [vendoring] Running command: rm -rf /builddir/build/BUILD/remoto-0.0.25/remoto/lib/vendor/execnet running build running build_py creating build creating build/lib creating build/lib/remoto copying remoto/__init__.py -> build/lib/remoto copying remoto/connection.py -> build/lib/remoto copying remoto/exc.py -> build/lib/remoto copying remoto/file_sync.py -> build/lib/remoto copying remoto/log.py -> build/lib/remoto copying remoto/process.py -> build/lib/remoto copying remoto/util.py -> build/lib/remoto creating build/lib/remoto/lib copying remoto/lib/__init__.py -> build/lib/remoto/lib creating build/lib/remoto/lib/vendor copying remoto/lib/vendor/__init__.py -> build/lib/remoto/lib/vendor + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7REdRl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386 + cd remoto-0.0.25 + REMOTO_NO_VENDOR=1 + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386 [vendoring] Running command: rm -rf /builddir/build/BUILD/remoto-0.0.25/remoto/lib/vendor/execnet running install running install_lib creating /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr creating /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib creating /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto copying build/lib/remoto/__init__.py -> /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto copying build/lib/remoto/connection.py -> /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto copying build/lib/remoto/exc.py -> /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto copying build/lib/remoto/file_sync.py -> /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto copying build/lib/remoto/log.py -> /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto copying build/lib/remoto/process.py -> /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto copying build/lib/remoto/util.py -> /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto creating /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto/lib copying build/lib/remoto/lib/__init__.py -> /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto/lib creating /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto/lib/vendor copying build/lib/remoto/lib/vendor/__init__.py -> /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto/lib/vendor byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto/connection.py to connection.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto/exc.py to exc.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto/file_sync.py to file_sync.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto/log.py to log.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto/process.py to process.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto/util.py to util.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto/lib/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto/lib/vendor/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmppMOKwB.py' /usr/bin/python2 -O /tmp/tmppMOKwB.py removing /tmp/tmppMOKwB.py running install_egg_info running egg_info 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.25-1.el7.i386/usr/lib/python2.7/site-packages/remoto-0.0.25-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.25 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. BUILDSTDERR: 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.25-1.el7.i386/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.frDvac + umask 022 + cd /builddir/build/BUILD + cd remoto-0.0.25 + export REMOTO_NO_VENDOR=1 + REMOTO_NO_VENDOR=1 BUILDSTDERR: ++ pwd + export PYTHONPATH=/builddir/build/BUILD/remoto-0.0.25 + PYTHONPATH=/builddir/build/BUILD/remoto-0.0.25 + 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.25, inifile: collecting ... collected 31 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::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_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::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_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_rsync.py::TestRsync::test_rsync_fallback_to_host_list <- /builddir/build/BUILD/remoto-0.0.25/remoto/tests/test_rsync.py PASSED remoto/tests/test_rsync.py::TestRsync::test_rsync_use_host_list <- /builddir/build/BUILD/remoto-0.0.25/remoto/tests/test_rsync.py 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 ========================== 31 passed in 0.17 seconds =========================== + exit 0 Processing files: python-remoto-0.0.25-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EkfLI3 + umask 022 + cd /builddir/build/BUILD + cd remoto-0.0.25 + DOCDIR=/builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/share/doc/python-remoto-0.0.25 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/share/doc/python-remoto-0.0.25 + cp -pr LICENSE /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/share/doc/python-remoto-0.0.25 + cp -pr README.rst /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386/usr/share/doc/python-remoto-0.0.25 + exit 0 Provides: python-remoto = 0.0.25-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 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386 Wrote: /builddir/build/RPMS/python-remoto-0.0.25-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WwWF3O + umask 022 + cd /builddir/build/BUILD + cd remoto-0.0.25 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-remoto-0.0.25-1.el7.i386 + exit 0 Child return code was: 0