Mock Version: 1.4.2 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/certmaster.spec'], nspawn_args=[]shell=Falseuid=1000env={'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\\$ '}chrootPath='/var/lib/mock/centos-7-epel-i386/root'gid=135user='mockbuild'timeout=0logger=printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd47ba6776d4c4e969d033b656e1a86b2', '-D', '/var/lib/mock/centos-7-epel-i386/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 i686 --nodeps /builddir/build/SPECS/certmaster.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 Failed to create directory /var/lib/mock/centos-7-epel-i386/root//sys/fs/selinux: Read-only file system Failed to create directory /var/lib/mock/centos-7-epel-i386/root//sys/fs/selinux: Read-only file system sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory warning: Could not canonicalize hostname: kvm.centos.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/certmaster-0.28-12.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/certmaster.spec'], nspawn_args=['--private-network']shell=Falseuid=1000env={'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\\$ '}chrootPath='/var/lib/mock/centos-7-epel-i386/root'gid=135user='mockbuild'timeout=0logger=printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '651a8649bd294e7eb8f72d0e813cd248', '-D', '/var/lib/mock/centos-7-epel-i386/root', '--private-network', '--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 i686 --nodeps /builddir/build/SPECS/certmaster.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 Failed to create directory /var/lib/mock/centos-7-epel-i386/root//sys/fs/selinux: Read-only file system Failed to create directory /var/lib/mock/centos-7-epel-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.n4Ii8z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf certmaster-0.28 + /usr/bin/gzip -dc /builddir/build/SOURCES/certmaster-0.28.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd certmaster-0.28 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (certmaster-0.28-hostname.patch): + echo 'Patch #0 (certmaster-0.28-hostname.patch):' + /usr/bin/cat /builddir/build/SOURCES/certmaster-0.28-hostname.patch + /usr/bin/patch -p1 -b --suffix .hostname --fuzz=0 patching file scripts/certmaster-request + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EGFu7R + umask 022 + cd /builddir/build/BUILD + cd certmaster-0.28 + /usr/bin/python setup.py build running build running build_py creating build creating build/lib creating build/lib/certmaster copying certmaster/certmaster.py -> build/lib/certmaster copying certmaster/commonconfig.py -> build/lib/certmaster copying certmaster/SSLCommon.py -> build/lib/certmaster copying certmaster/config.py -> build/lib/certmaster copying certmaster/sub_process.py -> build/lib/certmaster copying certmaster/requester.py -> build/lib/certmaster copying certmaster/certs.py -> build/lib/certmaster copying certmaster/__init__.py -> build/lib/certmaster copying certmaster/SSLConnection.py -> build/lib/certmaster copying certmaster/utils.py -> build/lib/certmaster copying certmaster/CommonErrors.py -> build/lib/certmaster copying certmaster/codes.py -> build/lib/certmaster copying certmaster/logger.py -> build/lib/certmaster running build_scripts creating build/scripts-2.7 copying and adjusting scripts/certmaster -> build/scripts-2.7 copying and adjusting scripts/certmaster-ca -> build/scripts-2.7 copying and adjusting scripts/certmaster-request -> build/scripts-2.7 copying and adjusting scripts/certmaster-sync -> build/scripts-2.7 changing mode of build/scripts-2.7/certmaster from 644 to 755 changing mode of build/scripts-2.7/certmaster-ca from 644 to 755 changing mode of build/scripts-2.7/certmaster-request from 644 to 755 changing mode of build/scripts-2.7/certmaster-sync from 644 to 755 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6ZwLna + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386 ++ dirname /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386 + cd certmaster-0.28 + test x/builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386 '!=' x + rm -rf /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386 + /usr/bin/python setup.py install --prefix=/usr --root=/builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386 running install running build running build_py running build_scripts running install_lib creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386 creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7 creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster copying build/lib/certmaster/certmaster.py -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster copying build/lib/certmaster/commonconfig.py -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster copying build/lib/certmaster/SSLCommon.py -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster copying build/lib/certmaster/config.py -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster copying build/lib/certmaster/sub_process.py -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster copying build/lib/certmaster/requester.py -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster copying build/lib/certmaster/certs.py -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster copying build/lib/certmaster/__init__.py -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster copying build/lib/certmaster/SSLConnection.py -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster copying build/lib/certmaster/utils.py -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster copying build/lib/certmaster/CommonErrors.py -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster copying build/lib/certmaster/codes.py -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster copying build/lib/certmaster/logger.py -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster byte-compiling /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster/certmaster.py to certmaster.pyc byte-compiling /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster/commonconfig.py to commonconfig.pyc byte-compiling /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster/SSLCommon.py to SSLCommon.pyc byte-compiling /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster/config.py to config.pyc byte-compiling /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster/sub_process.py to sub_process.pyc byte-compiling /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster/requester.py to requester.pyc byte-compiling /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster/certs.py to certs.pyc byte-compiling /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster/SSLConnection.py to SSLConnection.pyc byte-compiling /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster/utils.py to utils.pyc byte-compiling /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster/CommonErrors.py to CommonErrors.pyc byte-compiling /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster/codes.py to codes.pyc byte-compiling /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster/logger.py to logger.pyc running install_scripts creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/bin copying build/scripts-2.7/certmaster -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/bin copying build/scripts-2.7/certmaster-ca -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/bin copying build/scripts-2.7/certmaster-request -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/bin copying build/scripts-2.7/certmaster-sync -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/bin changing mode of /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/bin/certmaster to 755 changing mode of /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/bin/certmaster-ca to 755 changing mode of /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/bin/certmaster-request to 755 changing mode of /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/bin/certmaster-sync to 755 running install_data creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/etc creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/etc/init.d copying init-scripts/certmaster -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/etc/init.d/ creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/etc/certmaster copying etc/minion.conf -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/etc/certmaster copying etc/certmaster.conf -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/etc/certmaster copying etc/version -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/etc/certmaster creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/share creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/share/man creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/share/man/man1 copying docs/certmaster.1.gz -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/share/man/man1/ copying docs/certmaster-request.1.gz -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/share/man/man1/ copying docs/certmaster-ca.1.gz -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/share/man/man1/ copying docs/certmaster-sync.1.gz -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/share/man/man1/ creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/etc/logrotate.d copying etc/certmaster_rotate -> /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/etc/logrotate.d creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/log creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/log/certmaster creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/lib creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/lib/certmaster creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/lib/certmaster/certmaster creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/lib/certmaster/certmaster/certs creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/lib/certmaster/certmaster/csrs creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/etc/pki creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/etc/pki/certmaster creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/etc/certmaster/minion-acl.d creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/lib/certmaster/peers creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/lib/certmaster/triggers creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/lib/certmaster/triggers/sign creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/lib/certmaster/triggers/sign/pre creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/lib/certmaster/triggers/sign/post creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/lib/certmaster/triggers/remove creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/lib/certmaster/triggers/remove/pre creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/lib/certmaster/triggers/remove/post creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/lib/certmaster/triggers/request creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/lib/certmaster/triggers/request/pre creating /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/lib/certmaster/triggers/request/post running install_egg_info Writing /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/python2.7/site-packages/certmaster-0.28-py2.7.egg-info + ln -s ../../../../../../usr/bin/certmaster-sync /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/lib/certmaster/triggers/sign/post/certmaster-sync + ln -s ../../../../../../usr/bin/certmaster-sync /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/lib/certmaster/triggers/remove/post/certmaster-sync + touch /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/log/certmaster/certmaster.log + touch /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/var/log/certmaster/audit.log + rm -f /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/etc/logrotate.d/certmaster_rotate + install -D -p -m 0644 /builddir/build/SOURCES/certmaster.logrotate-init /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/etc/logrotate.d/certmaster + rm -rf /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/etc/init.d/ + install -D -p -m 0644 /builddir/build/SOURCES/certmaster.service /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/lib/systemd/system/certmaster.service + install -D -p -m 0644 /builddir/build/SOURCES/certmaster.logrotate-service /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/etc/logrotate.d/certmaster + /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/certmaster-0.28 /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/certmaster-0.28-12.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 Processing files: certmaster-0.28-12.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AFcrvv + umask 022 + cd /builddir/build/BUILD + cd certmaster-0.28 + DOCDIR=/builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/share/doc/certmaster-0.28 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/share/doc/certmaster-0.28 + cp -pr AUTHORS /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/share/doc/certmaster-0.28 + cp -pr README /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/share/doc/certmaster-0.28 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ADm1FQ + umask 022 + cd /builddir/build/BUILD + cd certmaster-0.28 + LICENSEDIR=/builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/share/licenses/certmaster-0.28 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/share/licenses/certmaster-0.28 + cp -pr LICENSE /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386/usr/share/licenses/certmaster-0.28 + exit 0 Provides: certmaster = 0.28-12.el7 config(certmaster) = 0.28-12.el7 Requires(interp): /bin/sh /bin/sh /bin/sh 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(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/python python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386 Wrote: /builddir/build/RPMS/certmaster-0.28-12.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vVmZDE + umask 022 + cd /builddir/build/BUILD + cd certmaster-0.28 + rm -fr /builddir/build/BUILDROOT/certmaster-0.28-12.el7.i386 + exit 0 Child return code was: 0