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-78936-457968/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.4-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-78936-457968/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.I8cJ7T + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oslo.policy-2.3.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/oslo.policy-2.3.4.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd oslo.policy-2.3.4 + /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.4 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.qLycv3 + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.4 + 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_fixtures.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_policy.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_external.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/__init__.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_shell.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_generator.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_parser.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_sphinxpolicygen.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_opts.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/base.py -> build/lib/oslo_policy/tests copying oslo_policy/_checks.py -> build/lib/oslo_policy copying oslo_policy/version.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/fixture.py -> build/lib/oslo_policy copying oslo_policy/policy.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/_i18n.py -> build/lib/oslo_policy copying oslo_policy/_cache_handler.py -> build/lib/oslo_policy copying oslo_policy/_external.py -> build/lib/oslo_policy copying oslo_policy/shell.py -> build/lib/oslo_policy copying oslo_policy/sphinxext.py -> build/lib/oslo_policy copying oslo_policy/generator.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.4/doc/source/reference/api/oslo_policy.rst. Creating file /builddir/build/BUILD/oslo.policy-2.3.4/doc/source/reference/api/oslo_policy.tests.rst. Creating file /builddir/build/BUILD/oslo.policy-2.3.4/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.4/.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.efSs5w + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch + cd oslo.policy-2.3.4 + 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.4-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.4-1.el7.noarch/usr creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-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.4-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.4-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy copying build/lib/oslo_policy/sphinxpolicygen.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-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.4-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/locale creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/locale/en_GB creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-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.4-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.4-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/locale/en_GB/LC_MESSAGES creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/tests copying build/lib/oslo_policy/fixture.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-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.4-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.4-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.4-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy copying build/lib/oslo_policy/_i18n.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-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.4-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.4-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.4-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.4-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.4-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-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.4-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/_i18n.py to _i18n.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-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.4-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.4-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.4-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.4-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/generator.py to generator.pyc writing byte-compilation script '/tmp/tmpBtRupi.py' /usr/bin/python2 -O /tmp/tmpBtRupi.py removing /tmp/tmpBtRupi.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.4-1.el7.noarch/usr/lib/python2.7/site-packages/oslo.policy-2.3.4-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.4-1.el7.noarch/usr/bin Installing oslopolicy-list-redundant script to /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/bin Installing oslopolicy-checker script to /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/bin Installing oslopolicy-sample-generator script to /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/bin Installing oslopolicy-policy-generator script to /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/bin + pushd /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch//usr/bin ~/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/bin ~/build/BUILD/oslo.policy-2.3.4 + for item in checker list-redundant policy-generator sample-generator + ln -s oslopolicy-checker /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-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.4-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.4-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.4-1.el7.noarch/usr/bin/oslopolicy-sample-generator-2 ~/build/BUILD/oslo.policy-2.3.4 + popd + install -d -m 755 /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/share + rm -f /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-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.4-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/locale/*pot' + mv /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/lib/python2.7/site-packages/oslo_policy/locale /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/share/locale + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-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.4 /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.4-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.PIlV42 + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.4 + export OS_TEST_PATH=./oslo_policy/tests + OS_TEST_PATH=./oslo_policy/tests + PYTHON=python2 + stestr-2 --test-path ./oslo_policy/tests run {8} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content_stdout [0.007574s] ... ok oslo_policy/policy.py:684: 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:721: 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) {8} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_oneele [0.007602s] ... ok {8} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_none [0.001792s] ... ok {8} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_old_name [0.008210s] ... ok {5} oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_call_with_no_arguments_raises_error [0.003547s] ... ok {8} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_description_not_empty [0.010573s] ... ok 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', u'bar'] are part of a cyclical reference. 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. WARNING [oslo_policy.policy] Policies [u'foo', u'bar'] are part of a cyclical reference. ERROR [oslo_policy._parser] No handler for matches of kind no WARNING:oslo_policy.policy:Policies [u'foo'] reference a rule that is not defined. oslo_policy/policy.py:684: 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) oslo_policy/policy.py:684: 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) 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. 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. 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 {4} oslo_policy.tests.test_parser.ParseStateTestCase.test_result_unreduced [0.002275s] ... ok {3} oslo_policy.tests.test_checks.GenericCheckTestCase.test_deep_credentials_dictionary_lookup [0.006838s] ... ok {16} oslo_policy.tests.test_checks.GenericCheckTestCase.test_single_entry_in_list_accepted [0.006567s] ... ok {6} oslo_policy.tests.test_checks.FalseCheckTestCase.test_str [0.002154s] ... ok {4} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C [0.001258s] ... ok {4} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_3 [0.001297s] ... ok {1} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify [0.012332s] ... ok {1} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_reject [0.008436s] ... ok {6} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_accept [0.005978s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_and_expr [0.001604s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_or_expr [0.001421s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_and_expr [0.001118s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_since [0.004557s] ... ok {7} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept [0.012674s] ... ok {7} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content_stdout [0.006831s] ... ok {13} oslo_policy.tests.test_checks.CheckTestCase.test_init [0.001828s] ... ok {7} oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_list [0.002557s] ... ok {5} oslo_policy.tests.test_parser.ParseCheckTestCase.test_check [0.001777s] ... ok {5} oslo_policy.tests.test_policy.BaseCheckTypesTestCase.test_base_check_types_are_public [0.007972s] ... ok {5} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_default [0.005763s] ... ok {5} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list [0.004338s] ... ok {5} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_not_empty_list [0.004279s] ... ok {5} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_policy_file [0.004838s] ... ok {7} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_and_D [0.001392s] ... ok {7} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C [0.001298s] ... ok {7} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_check_string [0.006746s] ... ok {5} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_update [0.012578s] ... ok {4} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_rule_not_exist_not_empty_policy_file [0.014683s] ... ok {4} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope [0.006384s] ... ok {4} oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories [0.008315s] ... ok {16} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_json [0.009538s] ... ok {22} oslo_policy.tests.test_checks.AndCheckTestCase.test_add_check [0.001906s] ... ok {14} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_first_true [0.002077s] ... ok {14} oslo_policy.tests.test_checks.AndCheckTestCase.test_init [0.001182s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite_opts_registered [0.011061s] ... ok {26} oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check [0.001991s] ... ok {26} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_mismatch [0.005466s] ... ok {3} oslo_policy.tests.test_checks.GenericCheckTestCase.test_entry_not_in_list_rejected [0.004133s] ... ok {3} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_true [0.004088s] ... ok {3} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_are_aliased_to_new_names [0.007129s] ... ok {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_2 [0.001571s] ... ok {3} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_with_rule [0.004792s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload [0.015787s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_register_twice_raises [0.004466s] ... ok {3} oslo_policy.tests.test_policy.RulesTestCase.test_load_json_invalid_exc [0.010006s] ... ok {8} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite [0.011562s] ... ok {8} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory [0.006284s] ... ok {15} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_multi [0.002068s] ... ok {15} oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_parse_state_meta [0.001205s] ... ok {6} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_all_false [0.002177s] ... ok {3} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_operations [0.001665s] ... ok {13} oslo_policy.tests.test_checks.GenericCheckTestCase.test_missing_credentials_dictionary_lookup [0.005611s] ... ok {15} oslo_policy.tests.test_parser.ParseStateTestCase.test_init [0.000960s] ... ok {12} oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_does_not_take_current_rule [0.001936s] ... ok {6} oslo_policy.tests.test_checks.OrCheckTestCase.test_init [0.001200s] ... ok {5} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_sorted [0.016546s] ... ok {16} oslo_policy.tests.test_parser.ParseCheckTestCase.test_false [0.001257s] ... ok {26} oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_takes_current_rule [0.001332s] ... ok {7} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_both_new_and_old_policy [0.008029s] ... ok {13} oslo_policy.tests.test_checks.RoleCheckTestCase.test_accept [0.007112s] ... ok {15} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_for_removal_suppress_does_not_log_warning [0.007769s] ... ok {22} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_list_accepted [0.005524s] ... ok {4} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_force [0.007960s] ... ok {14} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_second_true [0.001306s] ... ok {8} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice [0.006876s] ... ok {7} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_multiple_operations [0.004106s] ... ok {6} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_with_same_name [0.006782s] ... ok {12} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entries_one_matches [0.008873s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_project_scope_type [0.006404s] ... ok {2} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept [0.011415s] ... ok {5} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_scope [0.014250s] ... ok {26} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_policies_deprecated_for_removal [0.006954s] ... ok {16} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_or_D [0.001498s] ... ok {13} oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_objects_in_target [0.008695s] ... ok {22} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_true [0.004979s] ... ok {15} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_rule_requires_deprecated_rule_object [0.004635s] ... ok {23} oslo_policy.tests.test_checks.GenericCheckTestCase.test_cred_mismatch [0.006365s] ... ok {14} oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_does_not_take_current_rule [0.001155s] ... ok {4} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_ensure_scope_types_are_unique [0.004530s] ... ok {8} oslo_policy.tests.test_policy.EnforcerTest.test_rule_with_check [0.003951s] ... ok {7} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_force [0.009944s] ... ok {6} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_literal_block_formatting [0.005206s] ... ok {12} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_empty [0.001195s] ... ok {9} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_second_true [0.001824s] ... ok {2} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_cert [0.008645s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_rejects_non_context_objects [0.005703s] ... ok {13} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_json [0.007788s] ... ok {26} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_7 [0.001796s] ... ok {15} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_subclassed_context_objects [0.006981s] ... ok {16} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_domain_scope [0.006328s] ... ok {22} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_or_expr [0.001248s] ... ok {23} oslo_policy.tests.test_checks.NotCheckTestCase.test_call_true [0.000908s] ... ok {14} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_loadable_json [0.009628s] ... ok {4} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_subclass [0.004364s] ... ok {21} oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_takes_current_rule [0.002061s] ... ok {20} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_nested_list_accepted [0.006268s] ... ok {7} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_description [0.001720s] ... ok {8} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equal_subclass [0.004159s] ... ok {12} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_or_D [0.001216s] ... ok {9} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_nested_lists_accepted [0.005631s] ... ok {2} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_true [0.004485s] ... ok {6} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_short [0.001648s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_update_rules [0.004171s] ... ok {13} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_multi [0.001754s] ... ok {15} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_changed [0.009243s] ... ok {26} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_no_rules [0.008721s] ... ok {16} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_project_scope [0.005696s] ... ok {23} oslo_policy.tests.test_parser.ParseCheckTestCase.test_true [0.000719s] ... ok {22} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_3 [0.001312s] ... ok {14} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_stdout [0.010262s] ... ok {4} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file_no_base [0.004007s] ... ok {21} oslo_policy.tests.test_checks.GenericCheckTestCase.test_accept [0.005483s] ... ok {20} oslo_policy.tests.test_checks.OrCheckTestCase.test_str [0.001256s] ... ok {0} oslo_policy.tests.test_checks.FalseCheckTestCase.test_call [0.001724s] ... ok {18} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_accept [0.006770s] ... ok {19} oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check_decorator [0.002001s] ... ok {12} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_and_D [0.001201s] ... ok {9} oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_key_match_in_target [0.003930s] ... ok {6} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_default_rule_name [0.005242s] ... ok {2} oslo_policy.tests.test_generator.ListRedundantTestCase.test_matched_rules [0.013242s] ... ok {15} oslo_policy.tests.test_policy.EnforcerTest.test_map_context_attributes_populated_system [0.005501s] ... ok {13} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_false [0.004023s] ... ok {26} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_name [0.006306s] ... ok {16} oslo_policy.tests.test_policy.RulesTestCase.test_from_dict [0.001112s] ... ok {23} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_for_removal_must_include_deprecated_since [0.003710s] ... ok {22} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_contain_method_and_path_only [0.004172s] ... ok {14} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_not_expr [0.001170s] ... ok {21} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_mismatch [0.003971s] ... ok {20} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content [0.005398s] ... ok {17} oslo_policy.tests.test_checks.RoleCheckTestCase.test_reject [0.005795s] ... ok {18} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_bare [0.001566s] ... ok {0} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_first_true [0.001137s] ... ok {12} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_or_D [0.001149s] ... ok {19} oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_does_not_take_current_rule [0.001297s] ... ok {9} oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_raises_error [0.000896s] ... ok {24} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_all_false [0.002018s] ... ok {6} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_domain_scope_type [0.007385s] ... ok {2} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_multi [0.001273s] ... ok {25} oslo_policy.tests.test_checks.CheckTestCase.test_str [0.001809s] ... ok {11} oslo_policy.tests.test_checks.NotCheckTestCase.test_init [0.001881s] ... ok {15} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_multiple_scope_types [0.004492s] ... ok {13} oslo_policy.tests.test_policy.EnforcerTest.test_non_reversible_check [0.012825s] ... ok {26} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_clear [0.007530s] ... ok {16} oslo_policy.tests.test_policy.RulesTestCase.test_init_basic [0.001113s] ... ok {28} oslo_policy.tests.test_checks.AndCheckTestCase.test_str [0.001919s] ... ok {23} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_path [0.004229s] ... ok {29} oslo_policy.tests.test_external.HttpCheckTestCase.test_reject [0.010619s] ... ok {22} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_rule [0.004902s] ... ok {14} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_custom_exception [0.004838s] ... ok {31} oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_missing_role_does_not_matches [0.006302s] ... ok {21} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_false [0.004044s] ... ok {10} oslo_policy.tests.test_checks.RoleCheckTestCase.test_no_roles_case [0.005631s] ... ok {20} oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_reducer [0.001219s] ... ok {17} oslo_policy.tests.test_external.HttpCheckTestCase.test_reject_with_rule_in_argument [0.009572s] ... ok {27} oslo_policy.tests.test_checks.NotCheckTestCase.test_call_false [0.001968s] ... ok {12} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list_of_dicts [0.003893s] ... ok {18} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_6 [0.001589s] ... ok {0} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_objects_in_target [0.010407s] ... ok {19} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_false [0.006831s] ... ok {9} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_one [0.001908s] ... ok {6} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters [0.010248s] ... ok {24} oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_takes_current_rule [0.001330s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_1 [0.001438s] ... ok {25} oslo_policy.tests.test_checks.NotCheckTestCase.test_str [0.001110s] ... ok {11} oslo_policy.tests.test_parser.ParseCheckTestCase.test_no_handler [0.001478s] ... ok {15} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_less_obvious [0.004527s] ... ok {13} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_type_strings_fails [0.005166s] ... ok {26} oslo_policy.tests.test_policy.RulesTestCase.test_load_json [0.001373s] ... ok {28} oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_role_check_matches [0.005692s] ... ok {16} oslo_policy.tests.test_policy.RulesTestCase.test_load_json_deprecated [0.015792s] ... ok {23} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_no_violations [0.005560s] ... ok {29} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_empty_line_formatting [0.006262s] ... ok {14} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_does_not_log_warning [0.006066s] ... ok {31} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_and_client_certs [0.012110s] ... ok {30} oslo_policy.tests.test_checks.OrCheckTestCase.test_add_check [0.001488s] ... ok {22} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_policy_file [0.004220s] ... ok {21} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_paragraph_formatting [0.006898s] ... ok {10} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_strings_in_target [0.009852s] ... ok {20} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C [0.001305s] ... ok {17} oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer [0.006473s] ... ok {27} oslo_policy.tests.test_checks.TrueCheckTestCase.test_call [0.001130s] ... ok {18} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule [0.006367s] ... ok {19} oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules [0.018955s] ... ok {12} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_opts_registered [0.004459s] ... ok {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_result_empty [0.001356s] ... ok {9} oslo_policy.tests.test_parser.ParseStateTestCase.test_result [0.001103s] ... ok {24} oslo_policy.tests.test_checks.TrueCheckTestCase.test_str [0.001125s] ... ok {25} oslo_policy.tests.test_checks.OrCheckTestCase.test_pop_check [0.001079s] ... ok {2} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_false [0.006592s] ... ok {11} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_logs_warning_when_overridden [0.008252s] ... ok {13} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_minimal [0.001621s] ... ok {28} oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_cred [0.004127s] ... ok {23} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises [0.005469s] ... ok {16} oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml [0.003475s] ... ok {29} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated [0.007115s] ... ok {14} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_name [0.004076s] ... ok {31} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content [0.007176s] ... ok {30} oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_strings_in_target [0.007739s] ... ok {22} oslo_policy.tests.test_policy.EnforcerTest.test_set_rules_type [0.004038s] ... ok {20} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_1 [0.002540s] ... ok {21} oslo_policy.tests.test_parser.ParseStateTestCase.test_shift [0.002113s] ... ok {18} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_policy_values_from_context [0.007233s] ... ok {10} oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_policy_file [0.004908s] ... ok {17} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_file [0.011853s] ... ok {27} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_two [0.002526s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_and_D [0.001366s] ... ok {19} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_stdout [0.008239s] ... ok {12} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated_opts_registered [0.006663s] ... ok {9} oslo_policy.tests.test_parser.ParseStateTestCase.test_wrap_check [0.001025s] ... ok {24} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_with_rule_in_argument [0.011206s] ... ok {25} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_missing [0.005164s] ... ok {2} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules_raises [0.006117s] ... ok {11} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_contain_operations [0.004067s] ... ok {28} oslo_policy.tests.test_checks.RoleCheckTestCase.test_format_value [0.004196s] ... ok {23} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_opts_registered [0.006542s] ... ok {31} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_generate_loadable_yaml [0.010033s] ... ok {29} oslo_policy.tests.test_policy.RegisterCheckTestCase.test_register_check [0.004129s] ... ok {30} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_false [0.003382s] ... ok {20} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_class [0.004197s] ... ok {21} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_2 [0.001483s] ... ok {18} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_consolidates_context_attributes_with_creds [0.005178s] ... ok {27} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_empty [0.001206s] ... ok {17} oslo_policy.tests.test_parser.ParseCheckTestCase.test_check_default [0.001398s] ... ok {10} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_2 [0.001502s] ... ok {19} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_name_suppress_does_not_log_warning [0.006717s] ... ok {12} oslo_policy.tests.test_policy.EnforcerTest.test_load_policy_dirs_with_non_directory [0.005501s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_shifts [0.002603s] ... ok {9} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_1 [0.003778s] ... ok {25} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file [0.008123s] ... ok {24} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_invalid_formatting [0.007462s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_not_registered [0.004367s] ... ok {11} oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory [0.006480s] ... ok {28} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_oneele [0.001437s] ... ok {23} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice [0.006078s] ... ok {29} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_obvious [0.004190s] ... ok {31} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_4 [0.001744s] ... ok {30} oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer_missing [0.004082s] ... ok {20} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_rule_is_parsed [0.003969s] ... ok {21} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_fail [0.003922s] ... ok {27} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_check_str_suppress_does_not_log_warning [0.008171s] ... ok {17} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_5 [0.001584s] ... ok {18} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_overwrite_rules [0.004328s] ... ok {19} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_true [0.006219s] ... ok {10} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_or_D [0.001476s] ... ok {0} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules [0.005593s] ... ok {9} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_rule [0.006596s] ... ok {25} oslo_policy.tests.test_parser.ParseCheckTestCase.test_bad_rule [0.001583s] ... ok {24} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_zeroele [0.001301s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_dir_caching_with_files_same_overwrite_false_opts_reg [0.007018s] ... ok {28} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C [0.001400s] ... ok {11} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_types [0.003553s] ... ok {29} oslo_policy.tests.test_policy.RulesTestCase.test_str [0.001410s] ... ok {31} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_method [0.002934s] ... ok {20} oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_file [0.005463s] ... ok {30} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_8 [0.001000s] ... ok {21} oslo_policy.tests.test_parser.ParseTokenizeTestCase.test_tokenize [0.001348s] ... ok {27} oslo_policy.tests.test_policy.EnforcerTest.test_clear [0.004716s] ... ok {18} oslo_policy.tests.test_policy.RulesTestCase.test_no_default [0.001504s] ... ok {17} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_and_D [0.001472s] ... ok {19} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite_opts_registered [0.008026s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_system_scope_type [0.007831s] ... ok {10} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload_opts_registered [0.020677s] ... ok {25} oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_string [0.002404s] ... ok {9} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_opts_registered [0.006658s] ... ok {24} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_reason [0.004480s] ... ok {11} oslo_policy.tests.test_policy.RulesTestCase.test_load_empty_data [0.001393s] ... ok {28} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_name [0.006870s] ... ok {29} oslo_policy.tests.test_policy.RulesTestCase.test_with_default [0.001675s] ... ok {31} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_context_objects [0.004131s] ... ok {30} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_directory [0.004519s] ... ok {27} oslo_policy.tests.test_policy.EnforcerTest.test_clear_opts_registered [0.004702s] ... ok {17} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_set_rules [0.005496s] ... ok {18} oslo_policy.tests.test_policy.RulesTestCase.test_str_true [0.001313s] ... ok {19} oslo_policy.tests.test_policy.RulesTestCase.test_init [0.001376s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_file [0.005124s] ... ok {24} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_str [0.004242s] ... ok {25} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_explicit [0.005015s] ... ok {28} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_rules [0.004343s] ... ok {10} oslo_policy.tests.test_policy.EnforcerTest.test_get_policy_path_raises_exc [0.004705s] ... ok {11} oslo_policy.tests.test_policy.RulesTestCase.test_retrieval [0.001090s] ... ok {29} oslo_policy.tests.test_shell.CheckerTestCase.test_all_nonadmin [0.007043s] ... ok {31} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_but_overwrite_false [0.004256s] ... ok {27} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite [0.008075s] ... ok {30} oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_registered [0.003856s] ... ok {17} oslo_policy.tests.test_policy.RulesTestCase.test_missing_default [0.001794s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml_invalid_exc [0.002713s] ... ok {25} oslo_policy.tests.test_policy.EnforcerTest.test_load_file_opts_registered [0.005125s] ... ok {10} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same [0.007547s] ... ok {24} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_owner [0.013576s] ... ok {28} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_multiple_config_files [0.004237s] ... ok {11} oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_dict [0.004428s] ... ok {29} oslo_policy.tests.test_sphinxext.IndentTest.test_indent [0.001666s] ... ok {31} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file [0.002516s] ... ok {27} oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory_opts_registered [0.005808s] ... ok {30} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_call_map_context_attributes [0.004811s] ... ok {10} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_check [0.004642s] ... ok {11} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_custom_target [0.008979s] ... ok {30} oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories_opts_registered [0.005743s] ... ok {10} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_scope_types [0.002023s] ... ok ====== Totals ====== Ran: 305 tests in 0.0000 sec. - Passed: 305 - Skipped: 0 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 1.4964 sec. ============== Worker Balance ============== - Worker 0 (10 tests) => 0:00:00.046683 - Worker 1 (10 tests) => 0:00:00.062333 - Worker 2 (10 tests) => 0:00:00.070313 - Worker 3 (10 tests) => 0:00:00.067963 - Worker 4 (10 tests) => 0:00:00.061056 - Worker 5 (10 tests) => 0:00:00.082253 - Worker 6 (10 tests) => 0:00:00.055378 - Worker 7 (10 tests) => 0:00:00.065395 - Worker 8 (10 tests) => 0:00:00.074543 - Worker 9 (10 tests) => 0:00:00.040029 - Worker 10 (10 tests) => 0:00:00.070469 - Worker 11 (10 tests) => 0:00:00.048408 - Worker 12 (10 tests) => 0:00:00.042329 - Worker 13 (10 tests) => 0:00:00.063640 - Worker 14 (10 tests) => 0:00:00.048802 - Worker 15 (10 tests) => 0:00:00.053042 - Worker 16 (10 tests) => 0:00:00.060588 - Worker 17 (9 tests) => 0:00:00.051797 - Worker 18 (9 tests) => 0:00:00.043531 - Worker 19 (9 tests) => 0:00:00.066547 - Worker 20 (9 tests) => 0:00:00.038236 - Worker 21 (9 tests) => 0:00:00.036519 - Worker 22 (9 tests) => 0:00:00.038787 - Worker 23 (9 tests) => 0:00:00.044252 - Worker 24 (9 tests) => 0:00:00.054128 - Worker 25 (9 tests) => 0:00:00.038452 - Worker 26 (9 tests) => 0:00:00.048320 - Worker 27 (9 tests) => 0:00:00.044442 - Worker 28 (9 tests) => 0:00:00.041410 - Worker 29 (9 tests) => 0:00:00.050349 - Worker 30 (9 tests) => 0:00:00.040826 - Worker 31 (9 tests) => 0:00:00.056525 + exit 0 Processing files: python2-oslo-policy-2.3.4-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XuoFPF + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.4 + DOCDIR=/builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/share/doc/python2-oslo-policy-2.3.4 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/share/doc/python2-oslo-policy-2.3.4 + cp -pr README.rst /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/share/doc/python2-oslo-policy-2.3.4 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7SP5Ai + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.4 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/share/licenses/python2-oslo-policy-2.3.4 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/share/licenses/python2-oslo-policy-2.3.4 + cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/share/licenses/python2-oslo-policy-2.3.4 + exit 0 Provides: python-oslo-policy = 2.3.4-1.el7 python2-oslo-policy = 2.3.4-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.4-1.el7 Processing files: python-oslo-policy-doc-2.3.4-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.esN2jW + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.4 + DOCDIR=/builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/share/doc/python-oslo-policy-doc-2.3.4 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/share/doc/python-oslo-policy-doc-2.3.4 + cp -pr doc/build/html /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/share/doc/python-oslo-policy-doc-2.3.4 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.l0Lm5z + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.4 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/share/licenses/python-oslo-policy-doc-2.3.4 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/share/licenses/python-oslo-policy-doc-2.3.4 + cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/share/licenses/python-oslo-policy-doc-2.3.4 + exit 0 Provides: python-oslo-policy-doc = 2.3.4-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.4-1.el7.noarch Provides: python-oslo-policy = 2.3.4-1.el7 python2-oslo-policy-tests = 2.3.4-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.4-1.el7 Processing files: python-oslo-policy-lang-2.3.4-1.el7.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7j1Jxg + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.4 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/share/licenses/python-oslo-policy-lang-2.3.4 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/share/licenses/python-oslo-policy-lang-2.3.4 + cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch/usr/share/licenses/python-oslo-policy-lang-2.3.4 + exit 0 Provides: python-oslo-policy-lang = 2.3.4-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.4-1.el7.noarch Wrote: /builddir/build/RPMS/python2-oslo-policy-2.3.4-1.el7.noarch.rpm Wrote: /builddir/build/RPMS/python-oslo-policy-doc-2.3.4-1.el7.noarch.rpm Wrote: /builddir/build/RPMS/python2-oslo-policy-tests-2.3.4-1.el7.noarch.rpm Wrote: /builddir/build/RPMS/python-oslo-policy-lang-2.3.4-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JRXpjK + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el7.noarch + exit 0 Child return code was: 0