Mock Version: 1.2.17 Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-os-resource-classes.spec'], chrootPath='/var/lib/mock/cloud7-openstack-train-el7-build-64489-316435/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-os-resource-classes.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-os-resource-classes-0.5.0-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-os-resource-classes.spec'], chrootPath='/var/lib/mock/cloud7-openstack-train-el7-build-64489-316435/root'shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-os-resource-classes.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rfrPSd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf os-resource-classes-0.5.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/os-resource-classes-0.5.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd os-resource-classes-0.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q -a --author 'rpm-build ' -m 'python-os-resource-classes-0.5.0 base' + rm -rf os_resource_classes.egg-info + sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg + rm -rf requirements.txt test-requirements.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qkzje8 + umask 022 + cd /builddir/build/BUILD + cd os-resource-classes-0.5.0 + 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/os_resource_classes creating build/lib/os_resource_classes/tests copying os_resource_classes/tests/test_os_resource_classes.py -> build/lib/os_resource_classes/tests copying os_resource_classes/tests/__init__.py -> build/lib/os_resource_classes/tests copying os_resource_classes/tests/base.py -> build/lib/os_resource_classes/tests copying os_resource_classes/__init__.py -> build/lib/os_resource_classes running egg_info creating os_resource_classes.egg-info writing os_resource_classes.egg-info/PKG-INFO writing top-level names to os_resource_classes.egg-info/top_level.txt writing dependency_links to os_resource_classes.egg-info/dependency_links.txt writing pbr to os_resource_classes.egg-info/pbr.json [pbr] Processing SOURCES.txt writing manifest file 'os_resource_classes.egg-info/SOURCES.txt' [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'os_resource_classes.egg-info/SOURCES.txt' + sleep 1 + sphinx-build-2 -W -b html doc/source doc/build/html Running Sphinx v1.8.4 connecting events for openstackdocstheme [openstackdocstheme] connecting html-page-context event handler making output directory... Using openstackdocstheme Sphinx theme from /usr/lib/python2.7/site-packages/openstackdocstheme/theme No /builddir/build/BUILD/os-resource-classes-0.5.0/.gitreview found building [mo]: targets for 0 po files that are out of date building [html]: targets for 4 source files that are out of date updating environment: 4 added, 0 changed, 0 removed reading sources... [ 25%] contributor/index reading sources... [ 50%] index reading sources... [ 75%] install/index reading sources... [100%] user/index looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 25%] contributor/index [openstackdocstheme] giturl 'https://git.openstack.org/cgit/openstack/os-resource-classes/tree/doc/source' [openstackdocstheme] bug_project (from user) 'nova' [openstackdocstheme] series 'latest' [openstackdocstheme] display_badge False (no stable branches) [openstackdocstheme] other_versions [] fatal: unknown date format format:%Y-%m-%d %H:%M:%S [openstackdocstheme] Could not get modification time of doc/source/contributor/index.rst: Command '['git', 'log', '-n1', '--format=%ad', '--date=format:%Y-%m-%d %H:%M:%S', '--', u'doc/source/contributor/index.rst']' returned non-zero exit status 128 [openstackdocstheme] could not determine last_updated for u'contributor/index' writing output... [ 50%] index [openstackdocstheme] other_versions [] fatal: unknown date format format:%Y-%m-%d %H:%M:%S [openstackdocstheme] Could not get modification time of doc/source/index.rst: Command '['git', 'log', '-n1', '--format=%ad', '--date=format:%Y-%m-%d %H:%M:%S', '--', u'doc/source/index.rst']' returned non-zero exit status 128 [openstackdocstheme] could not determine last_updated for u'index' writing output... [ 75%] install/index [openstackdocstheme] other_versions [] fatal: unknown date format format:%Y-%m-%d %H:%M:%S [openstackdocstheme] Could not get modification time of doc/source/install/index.rst: Command '['git', 'log', '-n1', '--format=%ad', '--date=format:%Y-%m-%d %H:%M:%S', '--', u'doc/source/install/index.rst']' returned non-zero exit status 128 [openstackdocstheme] could not determine last_updated for u'install/index' writing output... [100%] user/index [openstackdocstheme] other_versions [] fatal: unknown date format format:%Y-%m-%d %H:%M:%S [openstackdocstheme] Could not get modification time of doc/source/user/index.rst: Command '['git', 'log', '-n1', '--format=%ad', '--date=format:%Y-%m-%d %H:%M:%S', '--', u'doc/source/user/index.rst']' returned non-zero exit status 128 [openstackdocstheme] could not determine last_updated for u'user/index' generating indices... genindex[openstackdocstheme] other_versions [] [openstackdocstheme] could not determine last_updated for 'genindex' writing additional pages... search[openstackdocstheme] other_versions [] [openstackdocstheme] could not determine last_updated for 'search' copying static files... done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded. The HTML pages are in doc/build/html. + rm -rf doc/build/html/.doctrees doc/build/html/.buildinfo + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bt4yY8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch + cd os-resource-classes-0.5.0 + 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-os-resource-classes-0.5.0-1.el7.noarch running install [pbr] Writing ChangeLog [pbr] Generating ChangeLog [pbr] ChangeLog complete (0.0s) [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running install_lib creating /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr creating /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/lib/python2.7/site-packages/os_resource_classes copying build/lib/os_resource_classes/__init__.py -> /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/lib/python2.7/site-packages/os_resource_classes creating /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/lib/python2.7/site-packages/os_resource_classes/tests copying build/lib/os_resource_classes/tests/test_os_resource_classes.py -> /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/lib/python2.7/site-packages/os_resource_classes/tests copying build/lib/os_resource_classes/tests/__init__.py -> /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/lib/python2.7/site-packages/os_resource_classes/tests copying build/lib/os_resource_classes/tests/base.py -> /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/lib/python2.7/site-packages/os_resource_classes/tests byte-compiling /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/lib/python2.7/site-packages/os_resource_classes/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/lib/python2.7/site-packages/os_resource_classes/tests/test_os_resource_classes.py to test_os_resource_classes.pyc byte-compiling /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/lib/python2.7/site-packages/os_resource_classes/tests/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/lib/python2.7/site-packages/os_resource_classes/tests/base.py to base.pyc writing byte-compilation script '/tmp/tmpVdtEXS.py' /usr/bin/python2 -O /tmp/tmpVdtEXS.py removing /tmp/tmpVdtEXS.py running install_egg_info running egg_info writing os_resource_classes.egg-info/PKG-INFO writing top-level names to os_resource_classes.egg-info/top_level.txt writing dependency_links to os_resource_classes.egg-info/dependency_links.txt writing pbr to os_resource_classes.egg-info/pbr.json [pbr] Processing SOURCES.txt [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'os_resource_classes.egg-info/SOURCES.txt' Copying os_resource_classes.egg-info to /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/lib/python2.7/site-packages/os_resource_classes-0.5.0-py2.7.egg-info running install_scripts /usr/lib/python2.7/site-packages/pbr/packaging.py:410: EasyInstallDeprecationWarning: Use get_header header = easy_install.get_script_header("", executable, is_wininst) + /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/os-resource-classes-0.5.0 /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-os-resource-classes-0.5.0-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.EtXYvb + umask 022 + cd /builddir/build/BUILD + cd os-resource-classes-0.5.0 + python2 setup.py test running test running egg_info writing os_resource_classes.egg-info/PKG-INFO writing top-level names to os_resource_classes.egg-info/top_level.txt writing dependency_links to os_resource_classes.egg-info/dependency_links.txt writing pbr to os_resource_classes.egg-info/pbr.json [pbr] Processing SOURCES.txt [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'os_resource_classes.egg-info/SOURCES.txt' running build_ext test_id_mapping_strings (os_resource_classes.tests.test_os_resource_classes.TestOs_resource_classes) os_resource_classes.tests.test_os_resource_classes.TestOs_resource_classes.test_id_mapping_strings ... ok test_id_mapping_symbols (os_resource_classes.tests.test_os_resource_classes.TestOs_resource_classes) os_resource_classes.tests.test_os_resource_classes.TestOs_resource_classes.test_id_mapping_symbols ... ok test_normalize_name (os_resource_classes.tests.test_os_resource_classes.TestOs_resource_classes) os_resource_classes.tests.test_os_resource_classes.TestOs_resource_classes.test_normalize_name ... ok test_standards_tail (os_resource_classes.tests.test_os_resource_classes.TestOs_resource_classes) os_resource_classes.tests.test_os_resource_classes.TestOs_resource_classes.test_standards_tail ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.004s OK + exit 0 Processing files: python2-os-resource-classes-0.5.0-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TGKzxf + umask 022 + cd /builddir/build/BUILD + cd os-resource-classes-0.5.0 + DOCDIR=/builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/share/doc/python2-os-resource-classes-0.5.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/share/doc/python2-os-resource-classes-0.5.0 + cp -pr README.rst /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/share/doc/python2-os-resource-classes-0.5.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QcYjAj + umask 022 + cd /builddir/build/BUILD + cd os-resource-classes-0.5.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/share/licenses/python2-os-resource-classes-0.5.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/share/licenses/python2-os-resource-classes-0.5.0 + cp -pr LICENSE /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/share/licenses/python2-os-resource-classes-0.5.0 + exit 0 Provides: python-os-resource-classes = 0.5.0-1.el7 python2-os-resource-classes = 0.5.0-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-os-resource-classes < 0.5.0-1.el7 Processing files: python2-os-resource-classes-tests-0.5.0-1.el7.noarch Provides: python2-os-resource-classes-tests = 0.5.0-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 Processing files: python-os-resource-classes-doc-0.5.0-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.auBl2n + umask 022 + cd /builddir/build/BUILD + cd os-resource-classes-0.5.0 + DOCDIR=/builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/share/doc/python-os-resource-classes-doc-0.5.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/share/doc/python-os-resource-classes-doc-0.5.0 + cp -pr doc/build/html /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/share/doc/python-os-resource-classes-doc-0.5.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6QSzxs + umask 022 + cd /builddir/build/BUILD + cd os-resource-classes-0.5.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/share/licenses/python-os-resource-classes-doc-0.5.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/share/licenses/python-os-resource-classes-doc-0.5.0 + cp -pr LICENSE /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch/usr/share/licenses/python-os-resource-classes-doc-0.5.0 + exit 0 Provides: python-os-resource-classes-doc = 0.5.0-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch Wrote: /builddir/build/RPMS/python2-os-resource-classes-0.5.0-1.el7.noarch.rpm Wrote: /builddir/build/RPMS/python2-os-resource-classes-tests-0.5.0-1.el7.noarch.rpm Wrote: /builddir/build/RPMS/python-os-resource-classes-doc-0.5.0-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yuuJXQ + umask 022 + cd /builddir/build/BUILD + cd os-resource-classes-0.5.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-os-resource-classes-0.5.0-1.el7.noarch + exit 0 Child return code was: 0