Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-defusedxml.spec'], chrootPath='/var/lib/mock/cloud7-openstack-train-el7-build-156238-957371/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': 'C.UTF-8', 'http_proxy': 'http://cache.rdu2.centos.org:8080', 'https_proxy': 'http://cache.rdu2.centos.org:8080', 'no_proxy': '127.0.0.1,::1,localhost,localhost.localdomain,localhost4,localhost4.localdomain4,localhost6,localhost6.localdomain6'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10245', '--bind=/tmp/mock-resolv.mnmeybdo:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10245', '--bind=/tmp/mock-resolv.mnmeybdo:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3de464c55b6f4cb9a7dbd921afc515dc', '-D', '/var/lib/mock/cloud7-openstack-train-el7-build-156238-957371/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10245', '--bind=/tmp/mock-resolv.mnmeybdo:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--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=C.UTF-8', '--setenv=http_proxy=http://cache.rdu2.centos.org:8080', '--setenv=https_proxy=http://cache.rdu2.centos.org:8080', '--setenv=no_proxy=127.0.0.1,::1,localhost,localhost.localdomain,localhost4,localhost4.localdomain4,localhost6,localhost6.localdomain6', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-defusedxml.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': 'C.UTF-8', 'http_proxy': 'http://cache.rdu2.centos.org:8080', 'https_proxy': 'http://cache.rdu2.centos.org:8080', 'no_proxy': '127.0.0.1,::1,localhost,localhost.localdomain,localhost4,localhost4.localdomain4,localhost6,localhost6.localdomain6', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-defusedxml-0.7.1-1.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-defusedxml.spec'], chrootPath='/var/lib/mock/cloud7-openstack-train-el7-build-156238-957371/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': 'C.UTF-8', 'http_proxy': 'http://cache.rdu2.centos.org:8080', 'https_proxy': 'http://cache.rdu2.centos.org:8080', 'no_proxy': '127.0.0.1,::1,localhost,localhost.localdomain,localhost4,localhost4.localdomain4,localhost6,localhost6.localdomain6'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10245', '--bind=/tmp/mock-resolv.mnmeybdo:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10245', '--bind=/tmp/mock-resolv.mnmeybdo:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'cfcb1bb168884210a4f81423d9b27213', '-D', '/var/lib/mock/cloud7-openstack-train-el7-build-156238-957371/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10245', '--bind=/tmp/mock-resolv.mnmeybdo:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--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=C.UTF-8', '--setenv=http_proxy=http://cache.rdu2.centos.org:8080', '--setenv=https_proxy=http://cache.rdu2.centos.org:8080', '--setenv=no_proxy=127.0.0.1,::1,localhost,localhost.localdomain,localhost4,localhost4.localdomain4,localhost6,localhost6.localdomain6', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-defusedxml.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': 'C.UTF-8', 'http_proxy': 'http://cache.rdu2.centos.org:8080', 'https_proxy': 'http://cache.rdu2.centos.org:8080', 'no_proxy': '127.0.0.1,::1,localhost,localhost.localdomain,localhost4,localhost4.localdomain4,localhost6,localhost6.localdomain6', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sjpxZS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf defusedxml-0.7.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/defusedxml-0.7.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd defusedxml-0.7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.C6GrxS + umask 022 + cd /builddir/build/BUILD + cd defusedxml-0.7.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/defusedxml copying defusedxml/expatreader.py -> build/lib/defusedxml copying defusedxml/pulldom.py -> build/lib/defusedxml copying defusedxml/common.py -> build/lib/defusedxml copying defusedxml/lxml.py -> build/lib/defusedxml copying defusedxml/sax.py -> build/lib/defusedxml copying defusedxml/xmlrpc.py -> build/lib/defusedxml copying defusedxml/minidom.py -> build/lib/defusedxml copying defusedxml/ElementTree.py -> build/lib/defusedxml copying defusedxml/cElementTree.py -> build/lib/defusedxml copying defusedxml/__init__.py -> build/lib/defusedxml copying defusedxml/expatbuilder.py -> build/lib/defusedxml + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3xWGTU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch + cd defusedxml-0.7.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/python-defusedxml-0.7.1-1.el7.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr creating /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml copying build/lib/defusedxml/expatreader.py -> /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml copying build/lib/defusedxml/pulldom.py -> /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml copying build/lib/defusedxml/common.py -> /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml copying build/lib/defusedxml/lxml.py -> /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml copying build/lib/defusedxml/sax.py -> /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml copying build/lib/defusedxml/xmlrpc.py -> /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml copying build/lib/defusedxml/minidom.py -> /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml copying build/lib/defusedxml/ElementTree.py -> /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml copying build/lib/defusedxml/cElementTree.py -> /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml copying build/lib/defusedxml/__init__.py -> /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml copying build/lib/defusedxml/expatbuilder.py -> /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml byte-compiling /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml/expatreader.py to expatreader.pyc byte-compiling /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml/pulldom.py to pulldom.pyc byte-compiling /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml/common.py to common.pyc byte-compiling /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml/lxml.py to lxml.pyc byte-compiling /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml/sax.py to sax.pyc byte-compiling /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml/xmlrpc.py to xmlrpc.pyc byte-compiling /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml/minidom.py to minidom.pyc byte-compiling /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml/ElementTree.py to ElementTree.pyc byte-compiling /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml/cElementTree.py to cElementTree.pyc byte-compiling /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml/expatbuilder.py to expatbuilder.pyc writing byte-compilation script '/tmp/tmpWVDfaB.py' /usr/bin/python2 -O /tmp/tmpWVDfaB.py removing /tmp/tmpWVDfaB.py running install_egg_info running egg_info writing defusedxml.egg-info/PKG-INFO writing top-level names to defusedxml.egg-info/top_level.txt writing dependency_links to defusedxml.egg-info/dependency_links.txt reading manifest file 'defusedxml.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'defusedxml.egg-info/SOURCES.txt' Copying defusedxml.egg-info to /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/lib/python2.7/site-packages/defusedxml-0.7.1-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/defusedxml-0.7.1 /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/python-defusedxml-0.7.1-1.el7.noarch/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.9OT7lY + umask 022 + cd /builddir/build/BUILD + cd defusedxml-0.7.1 + /usr/bin/python2 tests.py .................................................................... ---------------------------------------------------------------------- Ran 68 tests in 0.043s OK + exit 0 Processing files: python2-defusedxml-0.7.1-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.sqSc41 + umask 022 + cd /builddir/build/BUILD + cd defusedxml-0.7.1 + DOCDIR=/builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/share/doc/python2-defusedxml-0.7.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/share/doc/python2-defusedxml-0.7.1 + cp -pr README.txt /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/share/doc/python2-defusedxml-0.7.1 + cp -pr README.html /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/share/doc/python2-defusedxml-0.7.1 + cp -pr CHANGES.txt /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/share/doc/python2-defusedxml-0.7.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6UoxN5 + umask 022 + cd /builddir/build/BUILD + cd defusedxml-0.7.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/share/licenses/python2-defusedxml-0.7.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/share/licenses/python2-defusedxml-0.7.1 + cp -pr LICENSE /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch/usr/share/licenses/python2-defusedxml-0.7.1 + exit 0 Provides: python-defusedxml = 0.7.1-1.el7 python2-defusedxml = 0.7.1-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 Obsoletes: python-defusedxml < 0.7.1-1.el7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch Wrote: /builddir/build/RPMS/python2-defusedxml-0.7.1-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2H0KPe + umask 022 + cd /builddir/build/BUILD + cd defusedxml-0.7.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-defusedxml-0.7.1-1.el7.noarch + exit 0 Child return code was: 0