Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/spacecmd.spec'], chrootPath='/var/lib/mock/730371-epel-7-x86_64-1521631689.485392/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '09300d7300a24f6b9d8fa719ce38f379', '-D', '/var/lib/mock/730371-epel-7-x86_64-1521631689.485392/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/spacecmd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: warning: Could not canonicalize hostname: 09300d7300a24f6b9d8fa719ce38f379 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/spacecmd-2.8.21-1.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/spacecmd.spec'], chrootPath='/var/lib/mock/730371-epel-7-x86_64-1521631689.485392/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '886b1936a6164473a900aec0483d26da', '-D', '/var/lib/mock/730371-epel-7-x86_64-1521631689.485392/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/spacecmd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ytvISR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf spacecmd-2.8.21 + /usr/bin/gzip -dc /builddir/build/SOURCES/spacecmd-2.8.21.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd spacecmd-2.8.21 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YrESQP + umask 022 + cd /builddir/build/BUILD + cd spacecmd-2.8.21 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qHvvPN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64 + cd spacecmd-2.8.21 + /usr/bin/rm -rf /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64//usr/bin + /usr/bin/install -p -m0755 src/bin/spacecmd /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64//usr/bin/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64//etc + touch /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64//etc/spacecmd.conf + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64//etc/bash_completion.d + /usr/bin/install -p -m0644 src/misc/spacecmd-bash-completion /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64//etc/bash_completion.d/spacecmd + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64//usr/lib/python2.7/site-packages/spacecmd + /usr/bin/install -p -m0644 src/lib/activationkey.py src/lib/api.py src/lib/argumentparser.py src/lib/configchannel.py src/lib/cryptokey.py src/lib/custominfo.py src/lib/distribution.py src/lib/errata.py src/lib/filepreservation.py src/lib/group.py src/lib/kickstart.py src/lib/misc.py src/lib/org.py src/lib/package.py src/lib/repo.py src/lib/report.py src/lib/scap.py src/lib/schedule.py src/lib/shell.py src/lib/snippet.py src/lib/softwarechannel.py src/lib/ssm.py src/lib/system.py src/lib/user.py src/lib/utils.py /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64//usr/lib/python2.7/site-packages/spacecmd/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64//usr/share/man/man1 + /usr/bin/gzip -c src/doc/spacecmd.1 + touch /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64//usr/lib/python2.7/site-packages/spacecmd/__init__.py + /usr/bin/chmod 0644 /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64//usr/lib/python2.7/site-packages/spacecmd/__init__.py + /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/spacecmd-2.8.21 /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/spacecmd-2.8.21-1.el7.centos.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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.5E1OZM + umask 022 + cd /builddir/build/BUILD + cd spacecmd-2.8.21 + PYTHONPATH=/builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64/usr/lib/python2.7/site-packages + spacewalk-python2-pylint /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/spacecmd pylint-2 1.6.5, astroid 1.4.9 Python 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] + exit 0 Processing files: spacecmd-2.8.21-1.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qC0ITr + umask 022 + cd /builddir/build/BUILD + cd spacecmd-2.8.21 + DOCDIR=/builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64/usr/share/doc/spacecmd-2.8.21 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64/usr/share/doc/spacecmd-2.8.21 + cp -pr src/doc/README /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64/usr/share/doc/spacecmd-2.8.21 + cp -pr src/doc/COPYING /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64/usr/share/doc/spacecmd-2.8.21 + exit 0 Provides: config(spacecmd) = 2.8.21-1.el7.centos spacecmd = 2.8.21-1.el7.centos 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: /usr/bin/python python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64 BUILDSTDERR: warning: Could not canonicalize hostname: 886b1936a6164473a900aec0483d26da Wrote: /builddir/build/RPMS/spacecmd-2.8.21-1.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qMKDLl + umask 022 + cd /builddir/build/BUILD + cd spacecmd-2.8.21 + /usr/bin/rm -rf /builddir/build/BUILDROOT/spacecmd-2.8.21-1.el7.centos.x86_64 + exit 0 Child return code was: 0