Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-configshell.spec'], timeout=0nspawn_args=[]shell=Falseuid=1004chrootPath='/var/lib/mock/centos-7-x86_64/root'gid=135user='mockbuild'env={'LANG': 'en_US.utf8', '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', '21f87649962f4c6682a91f41cf50106d', '-D', '/var/lib/mock/centos-7-x86_64/root', '--setenv=LANG=en_US.utf8', '--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 x86_64 --nodeps /builddir/build/SPECS/python-configshell.spec'] with env {'LANG': 'en_US.utf8', '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-x86_64/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-x86_64/root//sys/fs/selinux: Read-only file system BUILDSTDERR: /etc/localtime is not a symlink, not updating container timezone. BUILDSTDERR: sh: /usr/bin/python: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-configshell-1.1.fb23-4.el7_5.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/python-configshell.spec"], timeout=0nspawn_args=[]shell=Falseuid=1004chrootPath='/var/lib/mock/centos-7-x86_64/root'gid=135user='mockbuild'env={'LANG': 'en_US.utf8', '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', '9b7ffb9b64a340c2a552bd416b192e84', '-D', '/var/lib/mock/centos-7-x86_64/root', '--setenv=LANG=en_US.utf8', '--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 x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/python-configshell.spec"] with env {'LANG': 'en_US.utf8', '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-x86_64/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-x86_64/root//sys/fs/selinux: Read-only file system BUILDSTDERR: /etc/localtime is not a symlink, not updating container timezone. Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9sqE5O + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf configshell-fb-1.1.fb23 + /usr/bin/gzip -dc /builddir/build/SOURCES/configshell-fb-1.1.fb23.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd configshell-fb-1.1.fb23 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (0001-Handle-if-TERM-is-not-set.patch): + echo 'Patch #0 (0001-Handle-if-TERM-is-not-set.patch):' + /usr/bin/cat /builddir/build/SOURCES/0001-Handle-if-TERM-is-not-set.patch + /usr/bin/patch -p1 --fuzz=0 patching file configshell/shell.py Patch #1 (0002-Fix-path-regex-for-and.patch): + echo 'Patch #1 (0002-Fix-path-regex-for-and.patch):' + /usr/bin/cat /builddir/build/SOURCES/0002-Fix-path-regex-for-and.patch + /usr/bin/patch -p1 --fuzz=0 patching file configshell/shell.py Patch #2 (0003-Fix-failing-to-pasre-par-val-parameters.patch): + echo 'Patch #2 (0003-Fix-failing-to-pasre-par-val-parameters.patch):' + /usr/bin/cat /builddir/build/SOURCES/0003-Fix-failing-to-pasre-par-val-parameters.patch + /usr/bin/patch -p1 --fuzz=0 patching file configshell/shell.py Patch #3 (0004-Fix-failing-to-pasre-param-like-cfgstr-par-val.patch): + echo 'Patch #3 (0004-Fix-failing-to-pasre-param-like-cfgstr-par-val.patch):' + /usr/bin/cat /builddir/build/SOURCES/0004-Fix-failing-to-pasre-param-like-cfgstr-par-val.patch + /usr/bin/patch -p1 --fuzz=0 patching file configshell/shell.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.a1b2Pj + umask 022 + cd /builddir/build/BUILD + cd configshell-fb-1.1.fb23 + /usr/bin/python setup.py build running build running build_py creating build creating build/lib creating build/lib/configshell copying configshell/__init__.py -> build/lib/configshell copying configshell/console.py -> build/lib/configshell copying configshell/log.py -> build/lib/configshell copying configshell/node.py -> build/lib/configshell copying configshell/prefs.py -> build/lib/configshell copying configshell/shell.py -> build/lib/configshell creating build/lib/configshell_fb copying configshell_fb/__init__.py -> build/lib/configshell_fb copying configshell_fb/console.py -> build/lib/configshell_fb copying configshell_fb/log.py -> build/lib/configshell_fb copying configshell_fb/node.py -> build/lib/configshell_fb copying configshell_fb/prefs.py -> build/lib/configshell_fb copying configshell_fb/shell.py -> build/lib/configshell_fb + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5rXKKO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64 + cd configshell-fb-1.1.fb23 + rm -rf /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64 + /usr/bin/python setup.py install --skip-build --root /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64 creating /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr creating /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell copying build/lib/configshell/__init__.py -> /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell copying build/lib/configshell/console.py -> /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell copying build/lib/configshell/log.py -> /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell copying build/lib/configshell/node.py -> /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell copying build/lib/configshell/prefs.py -> /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell copying build/lib/configshell/shell.py -> /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell creating /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell_fb copying build/lib/configshell_fb/__init__.py -> /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell_fb copying build/lib/configshell_fb/console.py -> /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell_fb copying build/lib/configshell_fb/log.py -> /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell_fb copying build/lib/configshell_fb/node.py -> /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell_fb copying build/lib/configshell_fb/prefs.py -> /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell_fb copying build/lib/configshell_fb/shell.py -> /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell_fb byte-compiling /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell/console.py to console.pyc byte-compiling /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell/log.py to log.pyc byte-compiling /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell/node.py to node.pyc byte-compiling /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell/prefs.py to prefs.pyc byte-compiling /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell/shell.py to shell.pyc byte-compiling /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell_fb/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell_fb/console.py to console.pyc byte-compiling /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell_fb/log.py to log.pyc byte-compiling /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell_fb/node.py to node.pyc byte-compiling /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell_fb/prefs.py to prefs.pyc byte-compiling /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell_fb/shell.py to shell.pyc running install_egg_info running egg_info creating configshell_fb.egg-info writing configshell_fb.egg-info/PKG-INFO writing top-level names to configshell_fb.egg-info/top_level.txt writing dependency_links to configshell_fb.egg-info/dependency_links.txt writing manifest file 'configshell_fb.egg-info/SOURCES.txt' reading manifest file 'configshell_fb.egg-info/SOURCES.txt' writing manifest file 'configshell_fb.egg-info/SOURCES.txt' Copying configshell_fb.egg-info to /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/lib/python2.7/site-packages/configshell_fb-1.1.23-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/configshell-fb-1.1.fb23 /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-configshell-1.1.fb23-4.el7_5.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 Processing files: python-configshell-1.1.fb23-4.el7_5.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ivCRzk + umask 022 + cd /builddir/build/BUILD + cd configshell-fb-1.1.fb23 + DOCDIR=/builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/share/doc/python-configshell-1.1.fb23 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/share/doc/python-configshell-1.1.fb23 + cp -pr COPYING /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/share/doc/python-configshell-1.1.fb23 + cp -pr README.md /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64/usr/share/doc/python-configshell-1.1.fb23 + exit 0 Provides: python-configshell = 1:1.1.fb23-4.el7_5 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-configshell-1.1.fb23-4.el7_5.x86_64 Wrote: /builddir/build/RPMS/python-configshell-1.1.fb23-4.el7_5.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.A4kBHc + umask 022 + cd /builddir/build/BUILD + cd configshell-fb-1.1.fb23 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-configshell-1.1.fb23-4.el7_5.x86_64 + exit 0 Child return code was: 0