Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-oslo-policy.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/cloud7-openstack-train-el7-build-69340-365431/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-oslo-policy.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-oslo-policy-2.3.3-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-oslo-policy.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/cloud7-openstack-train-el7-build-69340-365431/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-oslo-policy.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dzUMH2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oslo.policy-2.3.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/oslo.policy-2.3.3.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd oslo.policy-2.3.3 + /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-oslo-policy-2.3.3 base' + rm -f requirements.txt test-requirements.txt + sed -i '/^\"PO-Revision-Date: \\n\"/d' oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.po + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LINluc + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.3 + 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/oslo_policy creating build/lib/oslo_policy/tests copying oslo_policy/tests/test_policy.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_sphinxpolicygen.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_parser.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/__init__.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_opts.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_checks.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_sphinxext.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/token_fixture.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_fixtures.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_generator.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_shell.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/base.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_external.py -> build/lib/oslo_policy/tests copying oslo_policy/sphinxext.py -> build/lib/oslo_policy copying oslo_policy/_parser.py -> build/lib/oslo_policy copying oslo_policy/__init__.py -> build/lib/oslo_policy copying oslo_policy/_external.py -> build/lib/oslo_policy copying oslo_policy/generator.py -> build/lib/oslo_policy copying oslo_policy/policy.py -> build/lib/oslo_policy copying oslo_policy/shell.py -> build/lib/oslo_policy copying oslo_policy/_checks.py -> build/lib/oslo_policy copying oslo_policy/sphinxpolicygen.py -> build/lib/oslo_policy copying oslo_policy/opts.py -> build/lib/oslo_policy copying oslo_policy/version.py -> build/lib/oslo_policy copying oslo_policy/fixture.py -> build/lib/oslo_policy copying oslo_policy/_cache_handler.py -> build/lib/oslo_policy copying oslo_policy/_i18n.py -> build/lib/oslo_policy running egg_info deleting oslo.policy.egg-info/requires.txt writing oslo.policy.egg-info/PKG-INFO writing top-level names to oslo.policy.egg-info/top_level.txt writing dependency_links to oslo.policy.egg-info/dependency_links.txt writing entry points to oslo.policy.egg-info/entry_points.txt writing pbr to oslo.policy.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 'oslo.policy.egg-info/SOURCES.txt' creating build/lib/oslo_policy/locale creating build/lib/oslo_policy/locale/en_GB creating build/lib/oslo_policy/locale/en_GB/LC_MESSAGES copying oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.po -> build/lib/oslo_policy/locale/en_GB/LC_MESSAGES + sleep 1 + sphinx-build-2 -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... Creating file /builddir/build/BUILD/oslo.policy-2.3.3/doc/source/reference/api/oslo_policy.rst. Creating file /builddir/build/BUILD/oslo.policy-2.3.3/doc/source/reference/api/oslo_policy.tests.rst. Creating file /builddir/build/BUILD/oslo.policy-2.3.3/doc/source/reference/api/modules.rst. Using openstackdocstheme Sphinx theme from /usr/lib/python2.7/site-packages/openstackdocstheme/theme No /builddir/build/BUILD/oslo.policy-2.3.3/.gitreview found building [mo]: targets for 0 po files that are out of date building [html]: targets for 14 source files that are out of date updating environment: 17 added, 0 changed, 0 removed reading sources... [ 5%] admin/index reading sources... [ 11%] admin/policy-json-file reading sources... [ 17%] admin/policy-yaml-file reading sources... [ 23%] cli/index reading sources... [ 29%] configuration/index reading sources... [ 35%] contributor/index reading sources... [ 41%] index reading sources... [ 47%] install/index reading sources... [ 52%] reference/api/modules reading sources... [ 58%] reference/api/oslo_policy reading sources... [ 64%] reference/api/oslo_policy.tests reading sources... [ 70%] reference/index reading sources... [ 76%] user/history reading sources... [ 82%] user/index reading sources... [ 88%] user/plugins reading sources... [ 94%] user/sphinxpolicygen reading sources... [100%] user/usage looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 5%] admin/index [openstackdocstheme] giturl 'https://git.openstack.org/cgit/openstack/oslo.policy/tree/doc/source' [openstackdocstheme] bug_project (from user) 'oslo.policy' [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/admin/index.rst: Command '['git', 'log', '-n1', '--format=%ad', '--date=format:%Y-%m-%d %H:%M:%S', '--', u'doc/source/admin/index.rst']' returned non-zero exit status 128 [openstackdocstheme] could not determine last_updated for u'admin/index' writing output... [ 11%] admin/policy-json-file [openstackdocstheme] other_versions [] fatal: unknown date format format:%Y-%m-%d %H:%M:%S [openstackdocstheme] Could not get modification time of doc/source/admin/policy-json-file.rst: Command '['git', 'log', '-n1', '--format=%ad', '--date=format:%Y-%m-%d %H:%M:%S', '--', u'doc/source/admin/policy-json-file.rst']' returned non-zero exit status 128 [openstackdocstheme] could not determine last_updated for u'admin/policy-json-file' writing output... [ 17%] admin/policy-yaml-file [openstackdocstheme] other_versions [] fatal: unknown date format format:%Y-%m-%d %H:%M:%S [openstackdocstheme] Could not get modification time of doc/source/admin/policy-yaml-file.rst: Command '['git', 'log', '-n1', '--format=%ad', '--date=format:%Y-%m-%d %H:%M:%S', '--', u'doc/source/admin/policy-yaml-file.rst']' returned non-zero exit status 128 [openstackdocstheme] could not determine last_updated for u'admin/policy-yaml-file' writing output... [ 23%] cli/index [openstackdocstheme] other_versions [] fatal: unknown date format format:%Y-%m-%d %H:%M:%S [openstackdocstheme] Could not get modification time of doc/source/cli/index.rst: Command '['git', 'log', '-n1', '--format=%ad', '--date=format:%Y-%m-%d %H:%M:%S', '--', u'doc/source/cli/index.rst']' returned non-zero exit status 128 [openstackdocstheme] could not determine last_updated for u'cli/index' writing output... [ 29%] configuration/index [openstackdocstheme] other_versions [] fatal: unknown date format format:%Y-%m-%d %H:%M:%S [openstackdocstheme] Could not get modification time of doc/source/configuration/index.rst: Command '['git', 'log', '-n1', '--format=%ad', '--date=format:%Y-%m-%d %H:%M:%S', '--', u'doc/source/configuration/index.rst']' returned non-zero exit status 128 [openstackdocstheme] could not determine last_updated for u'configuration/index' writing output... [ 35%] contributor/index [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... [ 41%] 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... [ 47%] 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... [ 52%] reference/api/modules [openstackdocstheme] other_versions [] fatal: unknown date format format:%Y-%m-%d %H:%M:%S [openstackdocstheme] Could not get modification time of doc/source/reference/api/modules.rst: Command '['git', 'log', '-n1', '--format=%ad', '--date=format:%Y-%m-%d %H:%M:%S', '--', u'doc/source/reference/api/modules.rst']' returned non-zero exit status 128 [openstackdocstheme] could not determine last_updated for u'reference/api/modules' writing output... [ 58%] reference/api/oslo_policy [openstackdocstheme] other_versions [] fatal: unknown date format format:%Y-%m-%d %H:%M:%S [openstackdocstheme] Could not get modification time of doc/source/reference/api/oslo_policy.rst: Command '['git', 'log', '-n1', '--format=%ad', '--date=format:%Y-%m-%d %H:%M:%S', '--', u'doc/source/reference/api/oslo_policy.rst']' returned non-zero exit status 128 [openstackdocstheme] could not determine last_updated for u'reference/api/oslo_policy' writing output... [ 64%] reference/api/oslo_policy.tests [openstackdocstheme] other_versions [] fatal: unknown date format format:%Y-%m-%d %H:%M:%S [openstackdocstheme] Could not get modification time of doc/source/reference/api/oslo_policy.tests.rst: Command '['git', 'log', '-n1', '--format=%ad', '--date=format:%Y-%m-%d %H:%M:%S', '--', u'doc/source/reference/api/oslo_policy.tests.rst']' returned non-zero exit status 128 [openstackdocstheme] could not determine last_updated for u'reference/api/oslo_policy.tests' writing output... [ 70%] reference/index [openstackdocstheme] other_versions [] fatal: unknown date format format:%Y-%m-%d %H:%M:%S [openstackdocstheme] Could not get modification time of doc/source/reference/index.rst: Command '['git', 'log', '-n1', '--format=%ad', '--date=format:%Y-%m-%d %H:%M:%S', '--', u'doc/source/reference/index.rst']' returned non-zero exit status 128 [openstackdocstheme] could not determine last_updated for u'reference/index' writing output... [ 76%] user/history [openstackdocstheme] other_versions [] fatal: unknown date format format:%Y-%m-%d %H:%M:%S [openstackdocstheme] Could not get modification time of doc/source/user/history.rst: Command '['git', 'log', '-n1', '--format=%ad', '--date=format:%Y-%m-%d %H:%M:%S', '--', u'doc/source/user/history.rst']' returned non-zero exit status 128 [openstackdocstheme] could not determine last_updated for u'user/history' writing output... [ 82%] 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' writing output... [ 88%] user/plugins [openstackdocstheme] other_versions [] fatal: unknown date format format:%Y-%m-%d %H:%M:%S [openstackdocstheme] Could not get modification time of doc/source/user/plugins.rst: Command '['git', 'log', '-n1', '--format=%ad', '--date=format:%Y-%m-%d %H:%M:%S', '--', u'doc/source/user/plugins.rst']' returned non-zero exit status 128 [openstackdocstheme] could not determine last_updated for u'user/plugins' writing output... [ 94%] user/sphinxpolicygen [openstackdocstheme] other_versions [] fatal: unknown date format format:%Y-%m-%d %H:%M:%S [openstackdocstheme] Could not get modification time of doc/source/user/sphinxpolicygen.rst: Command '['git', 'log', '-n1', '--format=%ad', '--date=format:%Y-%m-%d %H:%M:%S', '--', u'doc/source/user/sphinxpolicygen.rst']' returned non-zero exit status 128 [openstackdocstheme] could not determine last_updated for u'user/sphinxpolicygen' writing output... [100%] user/usage [openstackdocstheme] other_versions [] fatal: unknown date format format:%Y-%m-%d %H:%M:%S [openstackdocstheme] Could not get modification time of doc/source/user/usage.rst: Command '['git', 'log', '-n1', '--format=%ad', '--date=format:%Y-%m-%d %H:%M:%S', '--', u'doc/source/user/usage.rst']' returned non-zero exit status 128 [openstackdocstheme] could not determine last_updated for u'user/usage' generating indices... genindex[openstackdocstheme] other_versions [] [openstackdocstheme] could not determine last_updated for 'genindex' py-modindex[openstackdocstheme] other_versions [] [openstackdocstheme] could not determine last_updated for 'py-modindex' 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 + python2 setup.py compile_catalog -d build/lib/oslo_policy/locale running compile_catalog compiling catalog build/lib/oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.po to build/lib/oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.mo + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rucYfG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch + cd oslo.policy-2.3.3 + 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-oslo-policy-2.3.3-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-oslo-policy-2.3.3-1.el7.noarch/usr creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy copying build/lib/oslo_policy/sphinxext.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy copying build/lib/oslo_policy/_parser.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy copying build/lib/oslo_policy/__init__.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy copying build/lib/oslo_policy/_external.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy copying build/lib/oslo_policy/generator.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy copying build/lib/oslo_policy/policy.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy copying build/lib/oslo_policy/shell.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy copying build/lib/oslo_policy/_checks.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/locale creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/locale/en_GB creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/locale/en_GB/LC_MESSAGES copying build/lib/oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.mo -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/locale/en_GB/LC_MESSAGES copying build/lib/oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.po -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/locale/en_GB/LC_MESSAGES copying build/lib/oslo_policy/sphinxpolicygen.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy copying build/lib/oslo_policy/opts.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy copying build/lib/oslo_policy/version.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy copying build/lib/oslo_policy/fixture.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy copying build/lib/oslo_policy/_cache_handler.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_policy.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_sphinxpolicygen.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_parser.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/__init__.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_opts.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_checks.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_sphinxext.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/token_fixture.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_fixtures.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_generator.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_shell.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/base.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_external.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests copying build/lib/oslo_policy/_i18n.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/sphinxext.py to sphinxext.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/_parser.py to _parser.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/_external.py to _external.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/generator.py to generator.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/policy.py to policy.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/shell.py to shell.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/_checks.py to _checks.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/sphinxpolicygen.py to sphinxpolicygen.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/opts.py to opts.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/version.py to version.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/fixture.py to fixture.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/_cache_handler.py to _cache_handler.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests/test_policy.py to test_policy.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests/test_sphinxpolicygen.py to test_sphinxpolicygen.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests/test_parser.py to test_parser.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests/test_opts.py to test_opts.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests/test_checks.py to test_checks.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests/test_sphinxext.py to test_sphinxext.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests/token_fixture.py to token_fixture.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests/test_fixtures.py to test_fixtures.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests/test_generator.py to test_generator.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests/test_shell.py to test_shell.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests/base.py to base.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests/test_external.py to test_external.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/_i18n.py to _i18n.pyc writing byte-compilation script '/tmp/tmprE8z7_.py' /usr/bin/python2 -O /tmp/tmprE8z7_.py removing /tmp/tmprE8z7_.py running install_egg_info running egg_info writing oslo.policy.egg-info/PKG-INFO writing top-level names to oslo.policy.egg-info/top_level.txt writing dependency_links to oslo.policy.egg-info/dependency_links.txt writing entry points to oslo.policy.egg-info/entry_points.txt writing pbr to oslo.policy.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 'oslo.policy.egg-info/SOURCES.txt' Copying oslo.policy.egg-info to /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo.policy-2.3.3-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) Installing oslopolicy-policy-upgrade script to /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/bin Installing oslopolicy-list-redundant script to /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/bin Installing oslopolicy-checker script to /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/bin Installing oslopolicy-sample-generator script to /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/bin Installing oslopolicy-policy-generator script to /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/bin + pushd /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch//usr/bin ~/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/bin ~/build/BUILD/oslo.policy-2.3.3 + for item in checker list-redundant policy-generator sample-generator + ln -s oslopolicy-checker /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/bin/oslopolicy-checker-2 + for item in checker list-redundant policy-generator sample-generator + ln -s oslopolicy-list-redundant /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/bin/oslopolicy-list-redundant-2 + for item in checker list-redundant policy-generator sample-generator + ln -s oslopolicy-policy-generator /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/bin/oslopolicy-policy-generator-2 + for item in checker list-redundant policy-generator sample-generator + ln -s oslopolicy-sample-generator /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/bin/oslopolicy-sample-generator-2 ~/build/BUILD/oslo.policy-2.3.3 + popd + install -d -m 755 /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/share + rm -f /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.po + rm -f '/builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/locale/*pot' + mv /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/locale /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/share/locale + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch oslo_policy --all-name + /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/oslo.policy-2.3.3 /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-oslo-policy-2.3.3-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.0S56Jc + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.3 + export OS_TEST_PATH=./oslo_policy/tests + OS_TEST_PATH=./oslo_policy/tests + PYTHON=python2 + stestr-2 --test-path ./oslo_policy/tests run ERROR [oslo_policy._parser] No handler for matches of kind no {5} oslo_policy.tests.test_checks.FalseCheckTestCase.test_str [0.001983s] ... ok {5} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_accept [0.005334s] ... ok {5} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_all_false [0.001381s] ... ok {0} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify [0.011673s] ... ok {4} oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_call_with_no_arguments_raises_error [0.003735s] ... ok {4} oslo_policy.tests.test_parser.ParseCheckTestCase.test_check [0.001937s] ... ok WARNING [oslo_policy.policy] Policies [u'foo', u'bar'] are part of a cyclical reference. WARNING [oslo_policy.policy] Policies [u'foo', u'bar'] are part of a cyclical reference. oslo_policy/policy.py:670: UserWarning: Policy "foo:bar":"role:fizz" was deprecated in N in favor of "foo:create_bar":"role:bang". Reason: "role:bang" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually. warnings.warn(deprecated_msg) oslo_policy/policy.py:707: UserWarning: Policy "foo:bar":"role:fizz" was deprecated in N in favor of "foo:create_bar":"role:bang". Reason: "role:bang" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually. warnings.warn(deprecated_msg) oslo_policy/policy.py:670: UserWarning: Policy "foo:bar":"role:fizz" was deprecated in N in favor of "foo:create_bar":"role:bang". Reason: "role:bang" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually. warnings.warn(deprecated_msg) {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_deep_credentials_dictionary_lookup [0.006138s] ... ok {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_entry_not_in_list_rejected [0.004080s] ... ok {2} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_true [0.004110s] ... ok oslo_policy/policy.py:670: UserWarning: Policy "old_rule":"role:bang" was deprecated in N in favor of "new_rule":"role:bang". Reason: "old_rule" is a bad name. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually. warnings.warn(deprecated_msg) WARNING [oslo_policy.policy] Policies [u'baz', u'foo', u'bar'] are part of a cyclical reference. WARNING [oslo_policy.policy] Policies [u'baz', u'foo', u'bar'] are part of a cyclical reference. WARNING [oslo_policy.policy] Policies [u'foo'] reference a rule that is not defined. WARNING [oslo_policy.policy] Policies [u'foo'] reference a rule that is not defined. WARNING [oslo_policy.policy] Policies [u'foo', u'bar'] are part of a cyclical reference. WARNING [oslo_policy.policy] Policies [u'foo', u'bar'] are part of a cyclical reference. ERROR [oslo_policy._parser] Failed to understand rule foobar Traceback (most recent call last): File "oslo_policy/_parser.py", line 212, in _parse_check kind, match = rule.split(':', 1) ValueError: need more than 1 value to unpack ERROR [oslo_policy._parser] Failed to understand rule test rule Traceback (most recent call last): File "oslo_policy/_parser.py", line 340, in _parse_text_rule return state.result File "oslo_policy/_parser.py", line 141, in result raise ValueError('Could not parse rule') ValueError: Could not parse rule WARNING [oslo_policy.policy] Policies [u'foo'] reference a rule that is not defined. WARNING [oslo_policy.policy] Policies [u'foo'] reference a rule that is not defined. {8} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_second_true [0.002219s] ... ok {2} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_cert [0.010922s] ... ok {2} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_are_aliased_to_new_names [0.007773s] ... ok {3} oslo_policy.tests.test_parser.ParseStateTestCase.test_result_unreduced [0.002067s] ... ok {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C [0.001256s] ... ok {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_3 [0.001260s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_2 [0.001511s] ... ok {9} oslo_policy.tests.test_checks.RoleCheckTestCase.test_no_roles_case [0.006489s] ... ok {6} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept [0.012599s] ... ok {6} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content_stdout [0.006942s] ... ok {6} oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_list [0.002403s] ... ok {6} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_and_D [0.001453s] ... ok {6} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C [0.001255s] ... ok {6} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_check_string [0.007286s] ... ok {3} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_rule_not_exist_not_empty_policy_file [0.014630s] ... ok {3} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_with_rule [0.004607s] ... ok {11} oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_does_not_take_current_rule [0.002283s] ... ok {11} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entries_one_matches [0.005966s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload [0.018520s] ... ok {9} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_strings_in_target [0.011568s] ... ok {9} oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_policy_file [0.005446s] ... ok {4} oslo_policy.tests.test_policy.BaseCheckTypesTestCase.test_base_check_types_are_public [0.007791s] ... ok {9} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_2 [0.001618s] ... ok {9} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_or_D [0.001579s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_register_twice_raises [0.004954s] ... ok {6} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_both_new_and_old_policy [0.009413s] ... ok {6} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_multiple_operations [0.004446s] ... ok {11} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_empty [0.001309s] ... ok {5} oslo_policy.tests.test_checks.OrCheckTestCase.test_init [0.001308s] ... ok {6} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_force [0.010797s] ... ok {8} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_nested_lists_accepted [0.005612s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope [0.006269s] ... ok {10} oslo_policy.tests.test_checks.NotCheckTestCase.test_init [0.002059s] ... ok {2} oslo_policy.tests.test_policy.RulesTestCase.test_load_json_invalid_exc [0.011593s] ... ok {0} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_reject [0.011063s] ... ok {6} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_description [0.001695s] ... ok {8} oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_key_match_in_target [0.010638s] ... ok {8} oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_raises_error [0.001052s] ... ok {4} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_default [0.004628s] ... ok {5} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_with_same_name [0.007212s] ... ok {11} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_or_D [0.001546s] ... ok {9} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload_opts_registered [0.014169s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories [0.008035s] ... ok {10} oslo_policy.tests.test_parser.ParseCheckTestCase.test_no_handler [0.001557s] ... ok {2} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_operations [0.001781s] ... ok {8} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_one [0.002145s] ... ok {5} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_literal_block_formatting [0.005601s] ... ok {4} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list [0.003804s] ... ok {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_and_expr [0.001574s] ... ok {11} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_and_D [0.001434s] ... ok {9} oslo_policy.tests.test_policy.EnforcerTest.test_get_policy_path_raises_exc [0.005059s] ... ok {3} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_ensure_scope_types_are_unique [0.004503s] ... ok {10} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_logs_warning_when_overridden [0.008375s] ... ok {8} oslo_policy.tests.test_parser.ParseStateTestCase.test_result [0.001343s] ... ok {5} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_short [0.001710s] ... ok {4} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_not_empty_list [0.003986s] ... ok {14} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_multi [0.002400s] ... ok {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_or_expr [0.001387s] ... ok {11} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_or_D [0.001316s] ... ok {9} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same [0.006929s] ... ok {3} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_subclass [0.004787s] ... ok {10} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_contain_operations [0.004427s] ... ok {15} oslo_policy.tests.test_checks.GenericCheckTestCase.test_single_entry_in_list_accepted [0.006101s] ... ok {8} oslo_policy.tests.test_parser.ParseStateTestCase.test_wrap_check [0.001174s] ... ok {20} oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_takes_current_rule [0.002198s] ... ok {13} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_first_true [0.002141s] ... ok {7} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content_stdout [0.007259s] ... ok {5} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_default_rule_name [0.005386s] ... ok {4} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_policy_file [0.004128s] ... ok {14} oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_parse_state_meta [0.001505s] ... ok {11} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list_of_dicts [0.004342s] ... ok {19} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_nested_list_accepted [0.005909s] ... ok {9} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_check [0.004139s] ... ok {3} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file_no_base [0.004327s] ... ok {23} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_all_false [0.001876s] ... ok {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_and_expr [0.001120s] ... ok {10} oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory [0.006274s] ... ok {15} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_json [0.010442s] ... ok {8} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_1 [0.004089s] ... ok {20} oslo_policy.tests.test_checks.GenericCheckTestCase.test_accept [0.005398s] ... ok {13} oslo_policy.tests.test_checks.AndCheckTestCase.test_init [0.001182s] ... ok {22} oslo_policy.tests.test_checks.GenericCheckTestCase.test_cred_mismatch [0.005975s] ... ok {7} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_oneele [0.001359s] ... ok {5} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_domain_scope_type [0.006607s] ... ok {17} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_accept [0.005488s] ... ok {4} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_force [0.006150s] ... ok {14} oslo_policy.tests.test_parser.ParseStateTestCase.test_init [0.001246s] ... ok {16} oslo_policy.tests.test_checks.RoleCheckTestCase.test_reject [0.006641s] ... ok {24} oslo_policy.tests.test_checks.CheckTestCase.test_str [0.001853s] ... ok {11} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_opts_registered [0.004712s] ... ok {9} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_scope_types [0.001692s] ... ok {19} oslo_policy.tests.test_checks.OrCheckTestCase.test_str [0.001290s] ... ok {23} oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_takes_current_rule [0.001166s] ... ok {10} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_types [0.003872s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_since [0.004333s] ... ok {25} oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check [0.001994s] ... ok {12} oslo_policy.tests.test_checks.CheckTestCase.test_init [0.002043s] ... ok {15} oslo_policy.tests.test_parser.ParseCheckTestCase.test_false [0.001438s] ... ok {26} oslo_policy.tests.test_checks.NotCheckTestCase.test_call_false [0.002363s] ... ok {8} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_rule [0.009166s] ... ok {13} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_second_true [0.001289s] ... ok {20} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_mismatch [0.004099s] ... ok {22} oslo_policy.tests.test_checks.NotCheckTestCase.test_call_true [0.001265s] ... ok {7} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_none [0.001572s] ... ok {28} oslo_policy.tests.test_external.HttpCheckTestCase.test_reject [0.012082s] ... ok {5} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters [0.008439s] ... ok {17} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_bare [0.001250s] ... ok {4} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_sorted [0.008976s] ... ok {27} oslo_policy.tests.test_checks.AndCheckTestCase.test_str [0.001959s] ... ok {1} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept [0.012455s] ... ok {14} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_for_removal_suppress_does_not_log_warning [0.008535s] ... ok {24} oslo_policy.tests.test_checks.NotCheckTestCase.test_str [0.001065s] ... ok {11} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated_opts_registered [0.007244s] ... ok {16} oslo_policy.tests.test_external.HttpCheckTestCase.test_reject_with_rule_in_argument [0.010387s] ... ok {19} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content [0.005338s] ... ok {23} oslo_policy.tests.test_checks.TrueCheckTestCase.test_str [0.000853s] ... ok {10} oslo_policy.tests.test_policy.RulesTestCase.test_load_empty_data [0.003673s] ... ok {21} oslo_policy.tests.test_checks.AndCheckTestCase.test_add_check [0.001997s] ... ok {0} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules [0.005467s] ... ok {12} oslo_policy.tests.test_checks.GenericCheckTestCase.test_missing_credentials_dictionary_lookup [0.005158s] ... ok {25} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_mismatch [0.004896s] ... ok {18} oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check_decorator [0.002428s] ... ok {15} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_or_D [0.001543s] ... ok {26} oslo_policy.tests.test_checks.TrueCheckTestCase.test_call [0.001382s] ... ok {8} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_opts_registered [0.008044s] ... ok {13} oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_does_not_take_current_rule [0.001249s] ... ok {20} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_false [0.004225s] ... ok {22} oslo_policy.tests.test_parser.ParseCheckTestCase.test_true [0.001201s] ... ok {28} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_empty_line_formatting [0.007371s] ... ok {7} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_old_name [0.008374s] ... ok {17} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_6 [0.001402s] ... ok {4} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_scope [0.014440s] ... ok {27} oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_role_check_matches [0.005121s] ... ok {31} oslo_policy.tests.test_checks.FalseCheckTestCase.test_call [0.001964s] ... ok {1} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_true [0.005478s] ... ok {14} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_rule_requires_deprecated_rule_object [0.004633s] ... ok {29} oslo_policy.tests.test_checks.OrCheckTestCase.test_add_check [0.001816s] ... ok {11} oslo_policy.tests.test_policy.EnforcerTest.test_load_policy_dirs_with_non_directory [0.005789s] ... ok {24} oslo_policy.tests.test_checks.OrCheckTestCase.test_pop_check [0.001030s] ... ok {19} oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_reducer [0.001231s] ... ok {30} oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_missing_role_does_not_matches [0.004362s] ... ok {16} oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer [0.006728s] ... ok {23} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_with_rule_in_argument [0.007164s] ... ok {10} oslo_policy.tests.test_policy.RulesTestCase.test_retrieval [0.001185s] ... ok {21} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_list_accepted [0.005151s] ... ok {12} oslo_policy.tests.test_checks.RoleCheckTestCase.test_accept [0.003954s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_project_scope_type [0.007123s] ... ok {25} oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_takes_current_rule [0.001268s] ... ok {18} oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_does_not_take_current_rule [0.001547s] ... ok {15} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_domain_scope [0.006638s] ... ok {26} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_two [0.002681s] ... ok {13} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_loadable_json [0.008875s] ... ok {20} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_paragraph_formatting [0.007397s] ... ok {22} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_for_removal_must_include_deprecated_since [0.004420s] ... ok {7} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_description_not_empty [0.005035s] ... ok {28} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated [0.007608s] ... ok {17} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule [0.005112s] ... ok {27} oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_cred [0.003992s] ... ok {31} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_first_true [0.001273s] ... ok {14} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_subclassed_context_objects [0.006638s] ... ok {1} oslo_policy.tests.test_generator.ListRedundantTestCase.test_matched_rules [0.015173s] ... ok {29} oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_strings_in_target [0.008162s] ... ok {16} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_file [0.011690s] ... ok {24} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_missing [0.004973s] ... ok {19} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C [0.001411s] ... ok {23} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_invalid_formatting [0.004557s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_rejects_non_context_objects [0.006107s] ... ok {21} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_true [0.003460s] ... ok {10} oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_dict [0.004847s] ... ok {12} oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_objects_in_target [0.008585s] ... ok {30} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_and_client_certs [0.008260s] ... ok {25} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_policies_deprecated_for_removal [0.006658s] ... ok {18} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_false [0.006574s] ... ok {15} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_project_scope [0.005979s] ... ok {26} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_empty [0.001419s] ... ok {13} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_stdout [0.009875s] ... ok {20} oslo_policy.tests.test_parser.ParseStateTestCase.test_shift [0.002325s] ... ok {7} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite [0.008245s] ... ok {22} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_path [0.004402s] ... ok {28} oslo_policy.tests.test_policy.RegisterCheckTestCase.test_register_check [0.003851s] ... ok {27} oslo_policy.tests.test_checks.RoleCheckTestCase.test_format_value [0.003921s] ... ok {17} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_policy_values_from_context [0.006050s] ... ok {31} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_objects_in_target [0.011372s] ... ok {1} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_multi [0.001514s] ... ok {14} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_changed [0.006948s] ... ok {19} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_1 [0.002715s] ... ok {29} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_false [0.003222s] ... ok {16} oslo_policy.tests.test_parser.ParseCheckTestCase.test_check_default [0.001496s] ... ok {24} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file [0.009206s] ... ok {23} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_zeroele [0.001078s] ... ok {10} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_custom_target [0.008803s] ... ok {21} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_or_expr [0.001356s] ... ok {12} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_json [0.007399s] ... ok {25} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_7 [0.002494s] ... ok {30} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content [0.005324s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_update_rules [0.004247s] ... ok {15} oslo_policy.tests.test_policy.RulesTestCase.test_from_dict [0.001317s] ... ok {18} oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules [0.020079s] ... ok {26} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_check_str_suppress_does_not_log_warning [0.008067s] ... ok {13} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_not_expr [0.001365s] ... ok {20} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_2 [0.001503s] ... ok {22} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_no_violations [0.005893s] ... ok {7} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory [0.007608s] ... ok {28} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_obvious [0.003767s] ... ok {27} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_oneele [0.001468s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_1 [0.001594s] ... ok {17} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_consolidates_context_attributes_with_creds [0.004632s] ... ok {31} oslo_policy.tests.test_parser.ParseStateTestCase.test_result_empty [0.001464s] ... ok {14} oslo_policy.tests.test_policy.EnforcerTest.test_map_context_attributes_populated_system [0.003605s] ... ok {29} oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer_missing [0.003861s] ... ok {16} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_5 [0.001572s] ... ok {19} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_class [0.004464s] ... ok {23} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_reason [0.002885s] ... ok {21} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_3 [0.001598s] ... ok {24} oslo_policy.tests.test_parser.ParseCheckTestCase.test_bad_rule [0.001702s] ... ok {12} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_multi [0.001865s] ... ok {25} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_no_rules [0.012077s] ... ok {30} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_generate_loadable_yaml [0.008338s] ... ok {15} oslo_policy.tests.test_policy.RulesTestCase.test_init_basic [0.001112s] ... ok {18} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_stdout [0.009258s] ... ok {26} oslo_policy.tests.test_policy.EnforcerTest.test_clear [0.004073s] ... ok {13} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_custom_exception [0.003610s] ... ok {20} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_fail [0.002282s] ... ok {22} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises [0.007018s] ... ok {7} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice [0.008754s] ... ok {28} oslo_policy.tests.test_policy.RulesTestCase.test_str [0.001293s] ... ok {17} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_overwrite_rules [0.004445s] ... ok {27} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C [0.001589s] ... ok {1} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_false [0.008258s] ... ok {31} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_and_D [0.001491s] ... ok {14} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_multiple_scope_types [0.003064s] ... ok {29} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_8 [0.001066s] ... ok {16} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_and_D [0.001448s] ... ok {19} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_rule_is_parsed [0.004310s] ... ok {23} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_str [0.002859s] ... ok {25} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_name [0.006250s] ... ok {24} oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_string [0.002160s] ... ok {21} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_contain_method_and_path_only [0.004548s] ... ok {12} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_false [0.004391s] ... ok {30} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_4 [0.001857s] ... ok {18} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_name_suppress_does_not_log_warning [0.006971s] ... ok {15} oslo_policy.tests.test_policy.RulesTestCase.test_load_json_deprecated [0.009504s] ... ok {26} oslo_policy.tests.test_policy.EnforcerTest.test_clear_opts_registered [0.003089s] ... ok {13} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_does_not_log_warning [0.003891s] ... ok {20} oslo_policy.tests.test_parser.ParseTokenizeTestCase.test_tokenize [0.001313s] ... ok {7} oslo_policy.tests.test_policy.EnforcerTest.test_rule_with_check [0.005024s] ... ok {22} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_opts_registered [0.007904s] ... ok {17} oslo_policy.tests.test_policy.RulesTestCase.test_no_default [0.001641s] ... ok {28} oslo_policy.tests.test_policy.RulesTestCase.test_with_default [0.001381s] ... ok {1} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules_raises [0.006165s] ... ok {27} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_name [0.007563s] ... ok {14} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_less_obvious [0.002678s] ... ok {29} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_directory [0.004221s] ... ok {31} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_shifts [0.002567s] ... ok {16} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_set_rules [0.005407s] ... ok {19} oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_file [0.005614s] ... ok {23} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_owner [0.009582s] ... ok {25} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_clear [0.006919s] ... ok {24} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_explicit [0.005218s] ... ok {21} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_rule [0.004714s] ... ok {12} oslo_policy.tests.test_policy.EnforcerTest.test_non_reversible_check [0.012390s] ... ok {30} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_method [0.003209s] ... ok {18} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_true [0.006064s] ... ok {15} oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml [0.003369s] ... ok {26} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite [0.005670s] ... ok {13} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_name [0.002949s] ... ok {7} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equal_subclass [0.004503s] ... ok {22} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice [0.007444s] ... ok {28} oslo_policy.tests.test_shell.CheckerTestCase.test_all_nonadmin [0.006293s] ... ok {17} oslo_policy.tests.test_policy.RulesTestCase.test_str_true [0.001386s] ... ok {31} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_system_scope_type [0.006324s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_not_registered [0.005529s] ... ok {27} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_rules [0.004816s] ... ok {29} oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_registered [0.003510s] ... ok {25} oslo_policy.tests.test_policy.RulesTestCase.test_load_json [0.001363s] ... ok {16} oslo_policy.tests.test_policy.RulesTestCase.test_missing_default [0.001969s] ... ok {24} oslo_policy.tests.test_policy.EnforcerTest.test_load_file_opts_registered [0.005211s] ... ok {30} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_context_objects [0.004439s] ... ok {21} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_policy_file [0.004512s] ... ok {12} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_type_strings_fails [0.004568s] ... ok {18} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite_opts_registered [0.007600s] ... ok {26} oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory_opts_registered [0.004519s] ... ok {27} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_multiple_config_files [0.004566s] ... ok {28} oslo_policy.tests.test_sphinxext.IndentTest.test_indent [0.001559s] ... ok {31} oslo_policy.tests.test_policy.EnforcerTest.test_load_file [0.003305s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite_opts_registered [0.007273s] ... ok {29} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_call_map_context_attributes [0.003960s] ... ok {30} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_but_overwrite_false [0.004533s] ... ok {21} oslo_policy.tests.test_policy.EnforcerTest.test_set_rules_type [0.004248s] ... ok {12} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_minimal [0.001674s] ... ok {18} oslo_policy.tests.test_policy.RulesTestCase.test_init [0.001252s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_dir_caching_with_files_same_overwrite_false_opts_reg [0.006403s] ... ok {31} oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml_invalid_exc [0.001690s] ... ok {29} oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories_opts_registered [0.004874s] ... ok {30} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file [0.003178s] ... ok ====== Totals ====== Ran: 304 tests in 0.0000 sec. - Passed: 304 - Skipped: 0 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 1.4421 sec. ============== Worker Balance ============== - Worker 0 (10 tests) => 0:00:00.059370 - Worker 1 (10 tests) => 0:00:00.076188 - Worker 2 (10 tests) => 0:00:00.079104 - Worker 3 (10 tests) => 0:00:00.057278 - Worker 4 (10 tests) => 0:00:00.065376 - Worker 5 (10 tests) => 0:00:00.053219 - Worker 6 (10 tests) => 0:00:00.065614 - Worker 7 (10 tests) => 0:00:00.063870 - Worker 8 (10 tests) => 0:00:00.052663 - Worker 9 (10 tests) => 0:00:00.066026 - Worker 10 (10 tests) => 0:00:00.051768 - Worker 11 (10 tests) => 0:00:00.042756 - Worker 12 (10 tests) => 0:00:00.059528 - Worker 13 (10 tests) => 0:00:00.042572 - Worker 14 (10 tests) => 0:00:00.046533 - Worker 15 (10 tests) => 0:00:00.054202 - Worker 16 (9 tests) => 0:00:00.053931 - Worker 17 (9 tests) => 0:00:00.037442 - Worker 18 (9 tests) => 0:00:00.068491 - Worker 19 (9 tests) => 0:00:00.038957 - Worker 20 (9 tests) => 0:00:00.035877 - Worker 21 (9 tests) => 0:00:00.038142 - Worker 22 (9 tests) => 0:00:00.051706 - Worker 23 (9 tests) => 0:00:00.036783 - Worker 24 (9 tests) => 0:00:00.038275 - Worker 25 (9 tests) => 0:00:00.050332 - Worker 26 (9 tests) => 0:00:00.038873 - Worker 27 (9 tests) => 0:00:00.042303 - Worker 28 (9 tests) => 0:00:00.051357 - Worker 29 (9 tests) => 0:00:00.038568 - Worker 30 (9 tests) => 0:00:00.048286 - Worker 31 (9 tests) => 0:00:00.037347 + exit 0 Processing files: python2-oslo-policy-2.3.3-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SCrALP + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.3 + DOCDIR=/builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/share/doc/python2-oslo-policy-2.3.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/share/doc/python2-oslo-policy-2.3.3 + cp -pr README.rst /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/share/doc/python2-oslo-policy-2.3.3 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3W00Ns + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.3 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/share/licenses/python2-oslo-policy-2.3.3 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/share/licenses/python2-oslo-policy-2.3.3 + cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/share/licenses/python2-oslo-policy-2.3.3 + exit 0 Provides: python-oslo-policy = 2.3.3-1.el7 python2-oslo-policy = 2.3.3-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: /usr/bin/python2 python(abi) = 2.7 Obsoletes: python-oslo-policy < 2.3.3-1.el7 Processing files: python-oslo-policy-doc-2.3.3-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uKDW46 + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.3 + DOCDIR=/builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/share/doc/python-oslo-policy-doc-2.3.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/share/doc/python-oslo-policy-doc-2.3.3 + cp -pr doc/build/html /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/share/doc/python-oslo-policy-doc-2.3.3 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.On9yoL + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.3 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/share/licenses/python-oslo-policy-doc-2.3.3 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/share/licenses/python-oslo-policy-doc-2.3.3 + cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/share/licenses/python-oslo-policy-doc-2.3.3 + exit 0 Provides: python-oslo-policy-doc = 2.3.3-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python2-oslo-policy-tests-2.3.3-1.el7.noarch Provides: python-oslo-policy = 2.3.3-1.el7 python2-oslo-policy-tests = 2.3.3-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-oslo-policy < 2.3.3-1.el7 Processing files: python-oslo-policy-lang-2.3.3-1.el7.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2681Gs + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.3 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/share/licenses/python-oslo-policy-lang-2.3.3 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/share/licenses/python-oslo-policy-lang-2.3.3 + cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch/usr/share/licenses/python-oslo-policy-lang-2.3.3 + exit 0 Provides: python-oslo-policy-lang = 2.3.3-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-oslo-policy-2.3.3-1.el7.noarch Wrote: /builddir/build/RPMS/python2-oslo-policy-2.3.3-1.el7.noarch.rpm Wrote: /builddir/build/RPMS/python-oslo-policy-doc-2.3.3-1.el7.noarch.rpm Wrote: /builddir/build/RPMS/python2-oslo-policy-tests-2.3.3-1.el7.noarch.rpm Wrote: /builddir/build/RPMS/python-oslo-policy-lang-2.3.3-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.S55Yo0 + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-oslo-policy-2.3.3-1.el7.noarch + exit 0 Child return code was: 0