Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-iso8601.spec'], chrootPath='/var/lib/mock/dist-oc8-build-33078-9924/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'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-iso8601.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'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-iso8601-0.1.11-12.oc8.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-iso8601.spec'], chrootPath='/var/lib/mock/dist-oc8-build-33078-9924/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'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-iso8601.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'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.A8jCdc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf iso8601-0.1.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/iso8601-0.1.11.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd iso8601-0.1.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SWrT4W + umask 022 + cd /builddir/build/BUILD + cd iso8601-0.1.11 + export RHEL_ALLOW_PYTHON2_FOR_BUILD=1 + RHEL_ALLOW_PYTHON2_FOR_BUILD=1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/iso8601 copying iso8601/__init__.py -> build/lib/iso8601 copying iso8601/test_iso8601.py -> build/lib/iso8601 copying iso8601/iso8601.py -> build/lib/iso8601 + sleep 1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py build '--executable=/usr/libexec/platform-python -s' running build running build_py + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iosMik + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch ++ dirname /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch + cd iso8601-0.1.11 + export RHEL_ALLOW_PYTHON2_FOR_BUILD=1 + RHEL_ALLOW_PYTHON2_FOR_BUILD=1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr creating /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib creating /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python2.7/site-packages/iso8601 copying build/lib/iso8601/__init__.py -> /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python2.7/site-packages/iso8601 copying build/lib/iso8601/test_iso8601.py -> /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python2.7/site-packages/iso8601 copying build/lib/iso8601/iso8601.py -> /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python2.7/site-packages/iso8601 byte-compiling /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python2.7/site-packages/iso8601/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python2.7/site-packages/iso8601/test_iso8601.py to test_iso8601.pyc byte-compiling /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python2.7/site-packages/iso8601/iso8601.py to iso8601.pyc writing byte-compilation script '/tmp/tmpvOt53f.py' /usr/bin/python2 -O /tmp/tmpvOt53f.py removing /tmp/tmpvOt53f.py running install_egg_info running egg_info writing iso8601.egg-info/PKG-INFO writing top-level names to iso8601.egg-info/top_level.txt writing dependency_links to iso8601.egg-info/dependency_links.txt reading manifest file 'iso8601.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'iso8601.egg-info/SOURCES.txt' Copying iso8601.egg-info to /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python2.7/site-packages/iso8601-0.1.11-py2.7.egg-info running install_scripts + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python3.6/site-packages/iso8601 copying build/lib/iso8601/__init__.py -> /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python3.6/site-packages/iso8601 copying build/lib/iso8601/test_iso8601.py -> /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python3.6/site-packages/iso8601 copying build/lib/iso8601/iso8601.py -> /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python3.6/site-packages/iso8601 byte-compiling /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python3.6/site-packages/iso8601/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python3.6/site-packages/iso8601/test_iso8601.py to test_iso8601.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python3.6/site-packages/iso8601/iso8601.py to iso8601.cpython-36.pyc writing byte-compilation script '/tmp/tmp2hb41ohp.py' /usr/libexec/platform-python /tmp/tmp2hb41ohp.py removing /tmp/tmp2hb41ohp.py running install_egg_info running egg_info writing iso8601.egg-info/PKG-INFO writing dependency_links to iso8601.egg-info/dependency_links.txt writing top-level names to iso8601.egg-info/top_level.txt reading manifest file 'iso8601.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'iso8601.egg-info/SOURCES.txt' Copying iso8601.egg-info to /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python3.6/site-packages/iso8601-0.1.11-py3.6.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 0.1.11-12.oc8 --unique-debug-suffix -0.1.11-12.oc8.noarch --unique-debug-src-base python-iso8601-0.1.11-12.oc8.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/iso8601-0.1.11 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python3.6 using /usr/libexec/platform-python Bytecompiling .py files below /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.KhHe3C + umask 022 + cd /builddir/build/BUILD + cd iso8601-0.1.11 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + PATH=/builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib64/python3.6/site-packages:/builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/lib/python3.6/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/pytest-3 ============================= test session starts ============================== platform linux -- Python 3.6.8, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 rootdir: /builddir/build/BUILD/iso8601-0.1.11, inifile: collected 45 items iso8601/test_iso8601.py ............................................. [100%] ========================== 45 passed in 0.10 seconds =========================== + exit 0 Processing files: python2-iso8601-0.1.11-12.oc8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qnCqjp + umask 022 + cd /builddir/build/BUILD + cd iso8601-0.1.11 + DOCDIR=/builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/share/doc/python2-iso8601 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/share/doc/python2-iso8601 + cp -pr LICENSE /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/share/doc/python2-iso8601 + cp -pr README.rst /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/share/doc/python2-iso8601 + exit 0 Provides: python-iso8601 = 0.1.11-12.oc8 python2-iso8601 = 0.1.11-12.oc8 python2.7dist(iso8601) = 0.1.11 python2dist(iso8601) = 0.1.11 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-iso8601 < 0.1.10-6 Processing files: python3-iso8601-0.1.11-12.oc8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5HX1o7 + umask 022 + cd /builddir/build/BUILD + cd iso8601-0.1.11 + DOCDIR=/builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/share/doc/python3-iso8601 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/share/doc/python3-iso8601 + cp -pr LICENSE /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/share/doc/python3-iso8601 + cp -pr README.rst /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch/usr/share/doc/python3-iso8601 + exit 0 Provides: python3-iso8601 = 0.1.11-12.oc8 python3.6dist(iso8601) = 0.1.11 python3dist(iso8601) = 0.1.11 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) = 3.6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch Wrote: /builddir/build/RPMS/python2-iso8601-0.1.11-12.oc8.noarch.rpm Wrote: /builddir/build/RPMS/python3-iso8601-0.1.11-12.oc8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.74HWKT + umask 022 + cd /builddir/build/BUILD + cd iso8601-0.1.11 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-iso8601-0.1.11-12.oc8.noarch + exit 0 Child return code was: 0