Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/systemcloud.spec'], chrootPath='/var/lib/mock/796560-epel-7-x86_64-1536577403.370105/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ihg9o_33:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9c027deec65e4edab6e1a798cbb287fb', '-D', '/var/lib/mock/796560-epel-7-x86_64-1536577403.370105/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ihg9o_33:/etc/resolv.conf', '--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/systemcloud.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/python2: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/systemcloud-0.1-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/systemcloud.spec'], chrootPath='/var/lib/mock/796560-epel-7-x86_64-1536577403.370105/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ihg9o_33:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bc69846c09aa403292b947d058622fb2', '-D', '/var/lib/mock/796560-epel-7-x86_64-1536577403.370105/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ihg9o_33:/etc/resolv.conf', '--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/systemcloud.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.OBO5JV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf systemcloud-0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/systemcloud-0.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd systemcloud-0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cc4BNV + umask 022 + cd /builddir/build/BUILD + cd systemcloud-0.1 + 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/ocf copying ocf/agent.py -> build/lib/ocf copying ocf/exceptions.py -> build/lib/ocf copying ocf/types.py -> build/lib/ocf copying ocf/action.py -> build/lib/ocf copying ocf/parameter.py -> build/lib/ocf copying ocf/crm.py -> build/lib/ocf copying ocf/__init__.py -> build/lib/ocf copying ocf/constants.py -> build/lib/ocf copying ocf/setuptools.py -> build/lib/ocf copying ocf/attribute.py -> build/lib/ocf creating build/lib/systemcloud copying systemcloud/agent.py -> build/lib/systemcloud copying systemcloud/galera.py -> build/lib/systemcloud copying systemcloud/rabbitmq.py -> build/lib/systemcloud copying systemcloud/__init__.py -> build/lib/systemcloud + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3KThWY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64 + cd systemcloud-0.1 + 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/systemcloud-0.1-2.el7.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr creating /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib creating /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/systemcloud copying build/lib/systemcloud/__init__.py -> /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/systemcloud copying build/lib/systemcloud/rabbitmq.py -> /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/systemcloud copying build/lib/systemcloud/galera.py -> /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/systemcloud copying build/lib/systemcloud/agent.py -> /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/systemcloud creating /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf copying build/lib/ocf/attribute.py -> /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf copying build/lib/ocf/setuptools.py -> /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf copying build/lib/ocf/constants.py -> /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf copying build/lib/ocf/__init__.py -> /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf copying build/lib/ocf/crm.py -> /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf copying build/lib/ocf/parameter.py -> /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf copying build/lib/ocf/action.py -> /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf copying build/lib/ocf/types.py -> /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf copying build/lib/ocf/exceptions.py -> /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf copying build/lib/ocf/agent.py -> /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf byte-compiling /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/systemcloud/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/systemcloud/rabbitmq.py to rabbitmq.pyc byte-compiling /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/systemcloud/galera.py to galera.pyc byte-compiling /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/systemcloud/agent.py to agent.pyc byte-compiling /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf/attribute.py to attribute.pyc byte-compiling /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf/setuptools.py to setuptools.pyc byte-compiling /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf/constants.py to constants.pyc byte-compiling /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf/crm.py to crm.pyc byte-compiling /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf/parameter.py to parameter.pyc byte-compiling /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf/action.py to action.pyc byte-compiling /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf/types.py to types.pyc byte-compiling /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf/exceptions.py to exceptions.pyc byte-compiling /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/ocf/agent.py to agent.pyc writing byte-compilation script '/tmp/tmppzgXl7.py' /usr/bin/python2 -O /tmp/tmppzgXl7.py removing /tmp/tmppzgXl7.py running install_data creating /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/libexec copying libexec/systemcloud-check-freshness -> /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/libexec creating /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/systemd creating /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/systemd/system creating /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/systemd/system/mariadb.service.d copying data/systemcloud-common.conf -> /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/systemd/system/mariadb.service.d creating /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/systemd/system/rabbitmq-server.service.d copying data/systemcloud-common.conf -> /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/systemd/system/rabbitmq-server.service.d copying data/rabbitmq/systemcloud.conf -> /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/systemd/system/rabbitmq-server.service.d creating /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/etc creating /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/etc/rabbitmq copying data/rabbitmq/rabbitmq-systemcloud.conf -> /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/etc/rabbitmq running install_egg_info running egg_info creating systemcloud.egg-info writing systemcloud.egg-info/PKG-INFO writing top-level names to systemcloud.egg-info/top_level.txt writing dependency_links to systemcloud.egg-info/dependency_links.txt writing entry points to systemcloud.egg-info/entry_points.txt writing manifest file 'systemcloud.egg-info/SOURCES.txt' reading manifest file 'systemcloud.egg-info/SOURCES.txt' writing manifest file 'systemcloud.egg-info/SOURCES.txt' Copying systemcloud.egg-info to /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/python2.7/site-packages/systemcloud-0.1-py2.7.egg-info running install_scripts Installing systemcloud/galera script to /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/ocf/resource.d Installing systemcloud/rabbitmq script to /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/lib/ocf/resource.d + /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/systemcloud-0.1 /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/systemcloud-0.1-2.el7.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: systemcloud-0.1-2.el7.noarch Provides: systemcloud = 0.1-2.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python Processing files: systemcloud-galera-0.1-2.el7.noarch Provides: systemcloud-galera = 0.1-2.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python2 Processing files: systemcloud-rabbitmq-0.1-2.el7.noarch Provides: systemcloud-rabbitmq = 0.1-2.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python2 Processing files: python2-systemcloud-0.1-2.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Eo3rk3 + umask 022 + cd /builddir/build/BUILD + cd systemcloud-0.1 + DOCDIR=/builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/share/doc/python2-systemcloud-0.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/share/doc/python2-systemcloud-0.1 + cp -pr README.rst /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/share/doc/python2-systemcloud-0.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.39QHJ7 + umask 022 + cd /builddir/build/BUILD + cd systemcloud-0.1 + LICENSEDIR=/builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/share/licenses/python2-systemcloud-0.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/share/licenses/python2-systemcloud-0.1 + cp -pr COPYING /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64/usr/share/licenses/python2-systemcloud-0.1 + exit 0 Provides: python-systemcloud = 0.1-2.el7 python2-systemcloud = 0.1-2.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-systemcloud < 0.1-2.el7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64 Wrote: /builddir/build/RPMS/systemcloud-0.1-2.el7.noarch.rpm Wrote: /builddir/build/RPMS/systemcloud-galera-0.1-2.el7.noarch.rpm Wrote: /builddir/build/RPMS/systemcloud-rabbitmq-0.1-2.el7.noarch.rpm Wrote: /builddir/build/RPMS/python2-systemcloud-0.1-2.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0ZUJMy + umask 022 + cd /builddir/build/BUILD + cd systemcloud-0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/systemcloud-0.1-2.el7.x86_64 + exit 0 Child return code was: 0