Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['/usr/bin/rpmbuild', '-bs', '--target', 'noarch', '--nodeps', u'/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/cloud8-openstack-train-el8-build-78938-457970/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'df6499b36f3a4f4f8cb5829ab640828d', '-D', '/var/lib/mock/cloud8-openstack-train-el8-build-78938-457970/root', '--setenv=LANG=en_GB.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', '/usr/bin/rpmbuild', '-bs', '--target', 'noarch', '--nodeps', u'/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.el8.src.rpm Child return code was: 0 ENTER ['do'](['/usr/bin/rpmbuild', '-bb', '--target', 'noarch', '--nodeps', u'/builddir/build/SPECS/python-oslo-policy.spec'], nspawn_args=['--private-network']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/cloud8-openstack-train-el8-build-78938-457970/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1bce43dfe65c45919de2f7341e3a055f', '-D', '/var/lib/mock/cloud8-openstack-train-el8-build-78938-457970/root', '--private-network', '--setenv=LANG=en_GB.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', '/usr/bin/rpmbuild', '-bb', '--target', 'noarch', '--nodeps', u'/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.WRlBVk + 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 -xof - + 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 --allow-empty -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.XJ6UFV + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.4 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py build '--executable=/usr/libexec/platform-python -s' running build running build_py creating build creating build/lib creating build/lib/oslo_policy creating build/lib/oslo_policy/tests copying oslo_policy/tests/test_generator.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_sphinxext.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_shell.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/token_fixture.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_checks.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_external.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_fixtures.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_sphinxpolicygen.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/base.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_policy.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_opts.py -> build/lib/oslo_policy/tests copying oslo_policy/sphinxext.py -> build/lib/oslo_policy copying oslo_policy/generator.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/_external.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/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/_checks.py -> build/lib/oslo_policy copying oslo_policy/sphinxpolicygen.py -> build/lib/oslo_policy copying oslo_policy/_i18n.py -> build/lib/oslo_policy copying oslo_policy/shell.py -> build/lib/oslo_policy running egg_info writing oslo.policy.egg-info/PKG-INFO writing dependency_links to oslo.policy.egg-info/dependency_links.txt writing entry points to oslo.policy.egg-info/entry_points.txt deleting oslo.policy.egg-info/requires.txt writing top-level names to oslo.policy.egg-info/top_level.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-3 -b html doc/source doc/build/html Running Sphinx v2.2.2 connecting events for openstackdocstheme [openstackdocstheme] connecting html-page-context event handler making output directory... done 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/python3.6/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: [new config] 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 [] [openstackdocstheme] Last updated for admin/index is 2020-07-13 06:07:27 writing output... [ 11%] admin/policy-json-file [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for admin/policy-json-file is 2020-07-13 06:07:27 writing output... [ 17%] admin/policy-yaml-file [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for admin/policy-yaml-file is 2020-07-13 06:07:27 writing output... [ 23%] cli/index [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for cli/index is 2020-07-13 06:07:27 writing output... [ 29%] configuration/index [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for configuration/index is 2020-07-13 06:07:27 writing output... [ 35%] contributor/index [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for contributor/index is 2020-07-13 06:07:27 writing output... [ 41%] index [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for index is 2020-07-13 06:07:27 writing output... [ 47%] install/index [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for install/index is 2020-07-13 06:07:27 writing output... [ 52%] reference/api/modules [openstackdocstheme] other_versions [] [openstackdocstheme] could not determine last_updated for 'reference/api/modules' writing output... [ 58%] reference/api/oslo_policy [openstackdocstheme] other_versions [] [openstackdocstheme] could not determine last_updated for 'reference/api/oslo_policy' writing output... [ 64%] reference/api/oslo_policy.tests [openstackdocstheme] other_versions [] [openstackdocstheme] could not determine last_updated for 'reference/api/oslo_policy.tests' writing output... [ 70%] reference/index [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for reference/index is 2020-07-13 06:07:27 writing output... [ 76%] user/history [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for user/history is 2020-07-13 06:07:27 writing output... [ 82%] user/index [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for user/index is 2020-07-13 06:07:27 writing output... [ 88%] user/plugins [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for user/plugins is 2020-07-13 06:07:27 writing output... [ 94%] user/sphinxpolicygen [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for user/sphinxpolicygen is 2020-07-13 06:07:27 writing output... [100%] user/usage [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for user/usage is 2020-07-13 06:07:27 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' done writing additional pages... search[openstackdocstheme] other_versions [] [openstackdocstheme] could not determine last_updated for 'search' done 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 + python3 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.aszJUQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch ++ dirname /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch + cd oslo.policy-2.3.4 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.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.el8.noarch/usr creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/sphinxext.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_generator.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_sphinxext.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_shell.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/token_fixture.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_checks.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_external.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_fixtures.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_sphinxpolicygen.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/base.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_parser.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/__init__.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_policy.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_opts.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests copying build/lib/oslo_policy/generator.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/opts.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/version.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/_external.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/fixture.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/_cache_handler.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/policy.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/_parser.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/__init__.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/_checks.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/sphinxpolicygen.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/_i18n.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/shell.py -> /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/locale creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/locale/en_GB creating /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/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.el8.noarch/usr/lib/python3.6/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.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/locale/en_GB/LC_MESSAGES byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/sphinxext.py to sphinxext.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests/test_generator.py to test_generator.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests/test_sphinxext.py to test_sphinxext.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests/test_shell.py to test_shell.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests/token_fixture.py to token_fixture.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests/test_checks.py to test_checks.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests/test_external.py to test_external.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests/test_fixtures.py to test_fixtures.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests/test_sphinxpolicygen.py to test_sphinxpolicygen.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests/base.py to base.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests/test_parser.py to test_parser.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests/test_policy.py to test_policy.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests/test_opts.py to test_opts.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/generator.py to generator.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/opts.py to opts.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/version.py to version.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/_external.py to _external.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/fixture.py to fixture.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/_cache_handler.py to _cache_handler.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/policy.py to policy.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/_parser.py to _parser.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/_checks.py to _checks.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/sphinxpolicygen.py to sphinxpolicygen.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/_i18n.py to _i18n.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/shell.py to shell.cpython-36.pyc writing byte-compilation script '/tmp/tmpxribudqo.py' /usr/libexec/platform-python /tmp/tmpxribudqo.py removing /tmp/tmpxribudqo.py running install_egg_info running egg_info writing oslo.policy.egg-info/PKG-INFO writing dependency_links to oslo.policy.egg-info/dependency_links.txt writing entry points to oslo.policy.egg-info/entry_points.txt writing top-level names to oslo.policy.egg-info/top_level.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.el8.noarch/usr/lib/python3.6/site-packages/oslo.policy-2.3.4-py3.6.egg-info running install_scripts Installing oslopolicy-checker script to /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/bin Installing oslopolicy-list-redundant script to /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/bin Installing oslopolicy-policy-generator script to /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/bin Installing oslopolicy-policy-upgrade script to /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/bin Installing oslopolicy-sample-generator script to /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/bin /usr/lib/python3.6/site-packages/pbr/packaging.py:435: EasyInstallDeprecationWarning: Use get_header header = easy_install.get_script_header("", executable, is_wininst) + pushd /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch//usr/bin ~/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.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.el8.noarch/usr/bin/oslopolicy-checker-3 + 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.el8.noarch/usr/bin/oslopolicy-list-redundant-3 + 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.el8.noarch/usr/bin/oslopolicy-policy-generator-3 + 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.el8.noarch/usr/bin/oslopolicy-sample-generator-3 ~/build/BUILD/oslo.policy-2.3.4 + popd + install -d -m 755 /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/share + rm -f /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.po + rm -f '/builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/locale/*pot' + mv /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/locale /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/share/locale + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch oslo_policy --all-name + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 2.3.4-1.el8 --unique-debug-suffix -2.3.4-1.el8.noarch --unique-debug-src-base python-oslo-policy-2.3.4-1.el8.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/oslo.policy-2.3.4 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.UwdezP + 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=python3 + stestr-3 --test-path ./oslo_policy/tests run {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_key_match_in_target [0.006182s] ... ok {0} oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_does_not_take_current_rule [0.001284s] ... ok {0} oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_does_not_take_current_rule [0.001180s] ... ok WARNING [oslo_policy.policy] Policies ['foo', 'bar', 'baz'] are part of a cyclical reference. WARNING [oslo_policy.policy] Policies ['foo', 'bar', 'baz'] are part of a cyclical reference. WARNING [oslo_policy.policy] Policies ['foo', 'bar'] are part of a cyclical reference. WARNING [oslo_policy.policy] Policies ['foo', 'bar'] are part of a cyclical reference. {0} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_json [0.011131s] ... ok WARNING [oslo_policy.policy] Policies ['foo', 'bar'] are part of a cyclical reference. WARNING [oslo_policy.policy] Policies ['foo', 'bar'] are part of a cyclical reference. WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. /builddir/build/BUILD/oslo.policy-2.3.4/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) WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. ERROR [oslo_policy._parser] Failed to understand rule foobar Traceback (most recent call last): File "/builddir/build/BUILD/oslo.policy-2.3.4/oslo_policy/_parser.py", line 212, in _parse_check kind, match = rule.split(':', 1) ValueError: not enough values to unpack (expected 2, got 1) WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. ERROR [oslo_policy._parser] No handler for matches of kind no {0} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_invalid_formatting [0.005354s] ... ok /builddir/build/BUILD/oslo.policy-2.3.4/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) /builddir/build/BUILD/oslo.policy-2.3.4/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) {0} oslo_policy.tests.test_parser.ParseCheckTestCase.test_true [0.001029s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_and_D [0.001234s] ... ok {5} oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_takes_current_rule [0.002233s] ... ok {5} oslo_policy.tests.test_external.HttpCheckTestCase.test_reject [0.014562s] ... ok {5} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_loadable_json [0.006534s] ... ok {5} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_file [0.010478s] ... ok {5} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_oneele [0.001203s] ... ok {5} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules_raises [0.005611s] ... ok {5} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_policy_file [0.004250s] ... ok {3} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_accept [0.006490s] ... ok {3} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_false [0.003530s] ... ok {3} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_json [0.011927s] ... ok {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_8 [0.001415s] ... ok {3} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_custom_exception [0.004508s] ... ok {3} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_with_rule [0.003661s] ... ok {3} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_false [0.006279s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_clear [0.003915s] ... ok {3} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_custom_target [0.009974s] ... ok {3} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_operations [0.001564s] ... ok {10} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_stdout [0.011106s] ... ok {10} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_one [0.001718s] ... ok {10} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C [0.001239s] ... ok {10} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_3 [0.001249s] ... ok {10} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_5 [0.001212s] ... ok {19} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_reject [0.016637s] ... ok {19} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_not_expr [0.001143s] ... ok {19} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_and_D [0.001298s] ... ok {19} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_rule [0.006858s] ... ok {19} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_method [0.003711s] ... ok {19} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_true [0.005253s] ... ok {19} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_directory [0.005912s] ... ok {19} oslo_policy.tests.test_policy.RulesTestCase.test_load_json_deprecated [0.003459s] ... ok {19} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_minimal [0.001507s] ... ok {6} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_first_true [0.002125s] ... ok {6} oslo_policy.tests.test_checks.OrCheckTestCase.test_str [0.001072s] ... ok {6} oslo_policy.tests.test_checks.RoleCheckTestCase.test_format_value [0.005167s] ... ok {6} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_missing [0.003342s] ... ok {6} oslo_policy.tests.test_parser.ParseCheckTestCase.test_check_default [0.001204s] ... ok {6} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_empty [0.000988s] ... ok {6} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_multi [0.001179s] ... ok {6} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_and_D [0.001277s] ... ok {28} oslo_policy.tests.test_checks.CheckTestCase.test_str [0.001940s] ... ok {28} oslo_policy.tests.test_checks.NotCheckTestCase.test_call_false [0.001220s] ... ok {28} oslo_policy.tests.test_external.HttpCheckTestCase.test_reject_with_rule_in_argument [0.014312s] ... ok {28} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_true [0.004391s] ... ok {10} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_rule_requires_deprecated_rule_object [0.003780s] ... ok {10} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_not_empty_list [0.003953s] ... ok {10} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload [0.010500s] ... ok {10} oslo_policy.tests.test_policy.RulesTestCase.test_load_json [0.001364s] ... ok {10} oslo_policy.tests.test_policy.RulesTestCase.test_with_default [0.001054s] ... ok {6} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_opts_registered [0.006112s] ... ok {6} oslo_policy.tests.test_shell.CheckerTestCase.test_all_nonadmin [0.005955s] ... ok {15} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_second_true [0.002171s] ... ok {15} oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check_decorator [0.001177s] ... ok {15} oslo_policy.tests.test_checks.NotCheckTestCase.test_call_true [0.001108s] ... ok {15} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_with_rule_in_argument [0.014504s] ... ok {17} oslo_policy.tests.test_checks.CheckTestCase.test_init [0.001978s] ... ok {17} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_and_expr [0.001111s] ... ok {17} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_1 [0.002574s] ... ok {17} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_does_not_log_warning [0.007024s] ... ok {17} oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_registered [0.005484s] ... ok {17} oslo_policy.tests.test_policy.EnforcerTest.test_clear_opts_registered [0.003776s] ... ok {17} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite [0.007027s] ... ok {17} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated_opts_registered [0.006879s] ... ok {17} oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories [0.007339s] ... ok {9} oslo_policy.tests.test_checks.AndCheckTestCase.test_add_check [0.002038s] ... ok {9} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_false [0.006255s] ... ok {9} oslo_policy.tests.test_parser.ParseStateTestCase.test_shift [0.002096s] ... ok {9} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list_of_dicts [0.003823s] ... ok {9} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_contain_method_and_path_only [0.003655s] ... ok {9} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_register_twice_raises [0.004085s] ... ok {9} oslo_policy.tests.test_policy.EnforcerTest.test_load_file [0.004567s] ... ok {9} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_less_obvious [0.003726s] ... ok {9} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_subclass [0.003645s] ... ok {9} oslo_policy.tests.test_policy.RulesTestCase.test_init_basic [0.001088s] ... ok {16} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_literal_block_formatting [0.009038s] ... ok {15} oslo_policy.tests.test_parser.ParseStateTestCase.test_result_unreduced [0.001321s] ... ok {15} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_or_D [0.001285s] ... ok {15} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_path [0.003707s] ... ok {15} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_update [0.008285s] ... ok {15} oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_dict [0.004870s] ... ok {15} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_scope [0.007499s] ... ok {25} oslo_policy.tests.test_checks.RoleCheckTestCase.test_no_roles_case [0.005806s] ... ok {25} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_or_D [0.001311s] ... ok {25} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_no_violations [0.004790s] ... ok {28} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C [0.001309s] ... ok {28} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_for_removal_suppress_does_not_log_warning [0.005838s] ... ok {28} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list [0.003900s] ... ok {28} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_changed [0.007232s] ... ok {28} oslo_policy.tests.test_policy.RulesTestCase.test_load_empty_data [0.001461s] ... ok {25} oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_not_registered [0.003894s] ... ok {25} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite_opts_registered [0.007719s] ... ok {25} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_project_scope [0.005076s] ... ok {25} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated [0.006095s] ... ok {25} oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories_opts_registered [0.008161s] ... ok {25} oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml [0.003352s] ... ok {5} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_multiple_scope_types [0.003824s] ... ok {27} oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_missing_role_does_not_matches [0.006472s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_call_map_context_attributes [0.006328s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory_opts_registered [0.007222s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_no_default [0.001304s] ... ok {2} oslo_policy.tests.test_checks.AndCheckTestCase.test_init [0.001974s] ... ok {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_cred [0.005324s] ... ok {11} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entries_one_matches [0.006662s] ... ok {11} oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules [0.020657s] ... ok {23} oslo_policy.tests.test_checks.GenericCheckTestCase.test_single_entry_in_list_accepted [0.006479s] ... ok {29} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_all_false [0.002349s] ... ok {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_accept [0.006318s] ... ok {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_cred_mismatch [0.003385s] ... ok {11} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_paragraph_formatting [0.005184s] ... ok {11} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_7 [0.002660s] ... ok {27} oslo_policy.tests.test_checks.TrueCheckTestCase.test_str [0.001138s] ... ok {27} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_2 [0.001480s] ... ok {27} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_explicit [0.005535s] ... ok {27} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_default [0.005037s] ... ok {27} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_opts_registered [0.007117s] ... ok {16} oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_reducer [0.001308s] ... ok {29} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_strings_in_target [0.015376s] ... ok {16} oslo_policy.tests.test_parser.ParseStateTestCase.test_init [0.001209s] ... ok {16} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C [0.001415s] ... ok {29} oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_parse_state_meta [0.001500s] ... ok {29} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_2 [0.001481s] ... ok {16} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_empty [0.001371s] ... ok {27} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_clear [0.006920s] ... ok {23} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_all_false [0.001424s] ... ok {29} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_or_D [0.001386s] ... ok {16} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_logs_warning_when_overridden [0.007870s] ... ok {16} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_context_objects [0.007064s] ... ok {16} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite [0.007948s] ... ok {26} oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check [0.002036s] ... ok {26} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_with_same_name [0.006994s] ... ok ERROR [oslo_policy._parser] Failed to understand rule test rule Traceback (most recent call last): File "/builddir/build/BUILD/oslo.policy-2.3.4/oslo_policy/_parser.py", line 340, in _parse_text_rule return state.result File "/builddir/build/BUILD/oslo.policy-2.3.4/oslo_policy/_parser.py", line 141, in result raise ValueError('Could not parse rule') ValueError: Could not parse rule {26} oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer [0.005756s] ... ok {23} oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_strings_in_target [0.011706s] ... ok {23} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_stdout [0.008409s] ... ok {30} oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_does_not_take_current_rule [0.002652s] ... ok {16} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_domain_scope [0.006221s] ... ok {16} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_str [0.004394s] ... ok {27} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equal_subclass [0.003932s] ... ok {31} oslo_policy.tests.test_checks.NotCheckTestCase.test_str [0.002317s] ... ok {1} oslo_policy.tests.test_checks.RoleCheckTestCase.test_accept [0.003316s] ... ok {8} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content [0.007986s] ... ok {8} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_bare [0.001241s] ... ok {8} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_short [0.001703s] ... ok {26} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_or_expr [0.001124s] ... ok {4} oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_role_check_matches [0.006210s] ... ok {31} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_false [0.007373s] ... ok {31} oslo_policy.tests.test_parser.ParseCheckTestCase.test_false [0.001314s] ... ok {31} oslo_policy.tests.test_parser.ParseCheckTestCase.test_no_handler [0.002812s] ... ok {4} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_are_aliased_to_new_names [0.004975s] ... ok {4} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content_stdout [0.004802s] ... ok {26} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_project_scope_type [0.006348s] ... ok {26} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_set_rules [0.004699s] ... ok {26} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice [0.007398s] ... ok {8} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_name_suppress_does_not_log_warning [0.006316s] ... ok /builddir/build/BUILD/oslo.policy-2.3.4/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) {8} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_contain_operations [0.003831s] ... ok {8} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_multiple_operations [0.003561s] ... ok {11} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_and_D [0.001439s] ... ok {2} oslo_policy.tests.test_checks.OrCheckTestCase.test_pop_check [0.001048s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_3 [0.001276s] ... ok {23} oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_list [0.002472s] ... ok {23} oslo_policy.tests.test_parser.ParseStateTestCase.test_result_empty [0.001378s] ... ok {5} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters [0.010640s] ... ok {5} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file_no_base [0.003789s] ... ok {4} oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_raises_error [0.000724s] ... ok {4} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_system_scope_type [0.006572s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_and_expr [0.001521s] ... ok {30} oslo_policy.tests.test_checks.GenericCheckTestCase.test_missing_credentials_dictionary_lookup [0.006258s] ... ok {2} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_rule_not_exist_not_empty_policy_file [0.005411s] ... ok {4} oslo_policy.tests.test_policy.EnforcerTest.test_get_policy_path_raises_exc [0.004613s] ... ok {29} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_name [0.006966s] ... ok {29} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_opts_registered [0.004788s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_result [0.001014s] ... ok {11} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_default_rule_name [0.005052s] ... ok {18} oslo_policy.tests.test_checks.OrCheckTestCase.test_add_check [0.001974s] ... ok {18} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_second_true [0.001303s] ... ok {21} oslo_policy.tests.test_checks.FalseCheckTestCase.test_str [0.001998s] ... ok {18} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_true [0.005409s] ... ok {7} oslo_policy.tests.test_checks.GenericCheckTestCase.test_accept [0.006467s] ... ok {18} oslo_policy.tests.test_generator.ListRedundantTestCase.test_matched_rules [0.012426s] ... ok {21} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_list_accepted [0.005617s] ... ok {21} oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_takes_current_rule [0.001407s] ... ok {7} oslo_policy.tests.test_checks.RoleCheckTestCase.test_reject [0.005794s] ... ok {18} oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_or_expr [0.001466s] ... ok {18} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_1 [0.003558s] ... ok {4} oslo_policy.tests.test_policy.EnforcerTest.test_load_dir_caching_with_files_same_overwrite_false_opts_reg [0.006338s] ... ok {13} oslo_policy.tests.test_checks.GenericCheckTestCase.test_deep_credentials_dictionary_lookup [0.006300s] ... ok {27} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_class [0.003897s] ... ok {23} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_reason [0.004290s] ... ok {18} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_4 [0.002566s] ... ok {12} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_mismatch [0.006848s] ... ok {8} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload_opts_registered [0.010538s] ... ok {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_description_not_empty [0.003684s] ... ok {30} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify [0.015695s] ... ok {31} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_name [0.007511s] ... ok {31} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_for_removal_must_include_deprecated_since [0.004296s] ... ok {29} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_subclassed_context_objects [0.005734s] ... ok {29} oslo_policy.tests.test_policy.EnforcerTest.test_load_file_opts_registered [0.005294s] ... ok {7} oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_policy_file [0.004174s] ... ok {31} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_policy_values_from_context [0.006101s] ... ok {30} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content [0.006311s] ... ok {13} oslo_policy.tests.test_checks.NotCheckTestCase.test_init [0.001055s] ... ok {21} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_oneele [0.001284s] ... ok {21} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_since [0.004125s] ... ok {21} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises [0.006277s] ... ok {4} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same [0.006153s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_2 [0.001243s] ... ok {24} oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_objects_in_target [0.014422s] ... ok {24} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content_stdout [0.004973s] ... ok {24} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file [0.008820s] ... ok {24} oslo_policy.tests.test_parser.ParseCheckTestCase.test_bad_rule [0.004022s] ... ok {31} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_consolidates_context_attributes_with_creds [0.004896s] ... ok {30} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_policies_deprecated_for_removal [0.005758s] ... ok {30} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_1 [0.001683s] ... ok {4} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_types [0.003697s] ... ok {26} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_type_strings_fails [0.003819s] ... ok {2} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules [0.005926s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory [0.006826s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory [0.005846s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C [0.001236s] ... ok {26} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_scope_types [0.001607s] ... ok {30} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_no_rules [0.006441s] ... ok {11} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_check [0.004081s] ... ok {11} oslo_policy.tests.test_policy.RulesTestCase.test_missing_default [0.001918s] ... ok {4} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_multiple_config_files [0.004424s] ... ok {24} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_shifts [0.004365s] ... ok {24} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_overwrite_rules [0.004131s] ... ok {24} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_force [0.011241s] ... ok {24} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_rule_is_parsed [0.003935s] ... ok {24} oslo_policy.tests.test_sphinxext.IndentTest.test_indent [0.001464s] ... ok {20} oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_takes_current_rule [0.002281s] ... ok {18} oslo_policy.tests.test_policy.EnforcerTest.test_set_rules_type [0.004080s] ... ok {11} oslo_policy.tests.test_policy.RulesTestCase.test_str [0.001370s] ... ok {11} oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_file [0.005966s] ... ok {31} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice [0.006090s] ... ok {2} oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml_invalid_exc [0.003744s] ... ok {21} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite_opts_registered [0.008589s] ... ok {21} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_obvious [0.003980s] ... ok {13} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept [0.013798s] ... ok {13} oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer_missing [0.005275s] ... ok {23} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_old_name [0.008140s] ... ok {23} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_force [0.006908s] ... ok {1} oslo_policy.tests.test_parser.ParseTokenizeTestCase.test_tokenize [0.001156s] ... ok {18} oslo_policy.tests.test_policy.RulesTestCase.test_from_dict [0.001133s] ... ok {13} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_multi [0.001332s] ... ok {7} oslo_policy.tests.test_parser.ParseCheckTestCase.test_check [0.001348s] ... ok {12} oslo_policy.tests.test_checks.GenericCheckTestCase.test_entry_not_in_list_rejected [0.003509s] ... ok {12} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept [0.012832s] ... ok {13} oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_string [0.002229s] ... ok {7} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_zeroele [0.001225s] ... ok {7} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_multi [0.001767s] ... ok {21} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_owner [0.007379s] ... ok {8} oslo_policy.tests.test_policy.EnforcerTest.test_map_context_attributes_populated_system [0.004075s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_check_str_suppress_does_not_log_warning [0.005457s] ... ok {30} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_false [0.004262s] ... ok {7} oslo_policy.tests.test_policy.BaseCheckTypesTestCase.test_base_check_types_are_public [0.004330s] ... ok {7} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_domain_scope_type [0.007181s] ... ok {7} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_rejects_non_context_objects [0.008667s] ... ok {30} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_policy_file [0.004367s] ... ok {14} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_nested_list_accepted [0.006624s] ... ok {13} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_but_overwrite_false [0.006655s] ... ok {14} oslo_policy.tests.test_checks.OrCheckTestCase.test_init [0.001157s] ... ok {13} oslo_policy.tests.test_policy.EnforcerTest.test_non_reversible_check [0.005459s] ... ok {7} oslo_policy.tests.test_policy.EnforcerTest.test_rule_with_check [0.004645s] ... ok {20} oslo_policy.tests.test_checks.AndCheckTestCase.test_str [0.001011s] ... ok {8} oslo_policy.tests.test_policy.RulesTestCase.test_retrieval [0.001114s] ... ok {12} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_objects_in_target [0.008674s] ... ok {20} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_mismatch [0.005338s] ... ok {14} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_and_client_certs [0.016400s] ... ok {13} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_name [0.003993s] ... ok {20} oslo_policy.tests.test_checks.TrueCheckTestCase.test_call [0.001074s] ... ok {12} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_true [0.004571s] ... ok {13} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_sorted [0.008375s] ... ok {1} oslo_policy.tests.test_policy.RegisterCheckTestCase.test_register_check [0.003522s] ... ok {12} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_two [0.002390s] ... ok {20} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_generate_loadable_yaml [0.011209s] ... ok {12} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_or_D [0.001495s] ... ok {8} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_description [0.001456s] ... ok {14} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_empty_line_formatting [0.005755s] ... ok {14} oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_call_with_no_arguments_raises_error [0.003125s] ... ok {12} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_update_rules [0.003795s] ... ok {20} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_none [0.001645s] ... ok {14} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_6 [0.001695s] ... ok {14} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_rules [0.004356s] ... ok {12} oslo_policy.tests.test_policy.RulesTestCase.test_init [0.001205s] ... ok {12} oslo_policy.tests.test_policy.RulesTestCase.test_load_json_invalid_exc [0.010277s] ... ok {20} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_check_string [0.006198s] ... ok {14} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope [0.006011s] ... ok {20} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule [0.005386s] ... ok {14} oslo_policy.tests.test_policy.EnforcerTest.test_load_policy_dirs_with_non_directory [0.005719s] ... ok {20} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_ensure_scope_types_are_unique [0.004067s] ... ok {14} oslo_policy.tests.test_policy.RulesTestCase.test_str_true [0.001365s] ... ok {22} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_first_true [0.001484s] ... ok {22} oslo_policy.tests.test_checks.FalseCheckTestCase.test_call [0.000582s] ... ok {22} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_nested_lists_accepted [0.003149s] ... ok {22} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_cert [0.008047s] ... ok {22} oslo_policy.tests.test_parser.ParseStateTestCase.test_wrap_check [0.000636s] ... ok {22} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_fail [0.001883s] ... ok {22} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_both_new_and_old_policy [0.004487s] ... ok {22} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_rule [0.002453s] ... ok {22} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file [0.002139s] ... ok ====== Totals ====== Ran: 305 tests in 0.3937 sec. - Passed: 305 - Skipped: 0 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 1.4207 sec. ============== Worker Balance ============== - Worker 0 (10 tests) => 0:00:00.053836 - Worker 1 (10 tests) => 0:00:00.034322 - Worker 2 (10 tests) => 0:00:00.048449 - Worker 3 (10 tests) => 0:00:00.060271 - Worker 4 (10 tests) => 0:00:00.055376 - Worker 5 (10 tests) => 0:00:00.074310 - Worker 6 (10 tests) => 0:00:00.034413 - Worker 7 (10 tests) => 0:00:00.052447 - Worker 8 (10 tests) => 0:00:00.047908 - Worker 9 (10 tests) => 0:00:00.041687 - Worker 10 (10 tests) => 0:00:00.042478 - Worker 11 (10 tests) => 0:00:00.062021 - Worker 12 (10 tests) => 0:00:00.062451 - Worker 13 (10 tests) => 0:00:00.061354 - Worker 14 (10 tests) => 0:00:00.059310 - Worker 15 (10 tests) => 0:00:00.052812 - Worker 16 (10 tests) => 0:00:00.054216 - Worker 17 (9 tests) => 0:00:00.049087 - Worker 18 (9 tests) => 0:00:00.039733 - Worker 19 (9 tests) => 0:00:00.051722 - Worker 20 (9 tests) => 0:00:00.044568 - Worker 21 (9 tests) => 0:00:00.048243 - Worker 22 (9 tests) => 0:00:00.028452 - Worker 23 (9 tests) => 0:00:00.057450 - Worker 24 (9 tests) => 0:00:00.063929 - Worker 25 (9 tests) => 0:00:00.051763 - Worker 26 (9 tests) => 0:00:00.046340 - Worker 27 (9 tests) => 0:00:00.047883 - Worker 28 (9 tests) => 0:00:00.047989 - Worker 29 (9 tests) => 0:00:00.051390 - Worker 30 (9 tests) => 0:00:00.060175 - Worker 31 (9 tests) => 0:00:00.049054 + exit 0 Processing files: python3-oslo-policy-2.3.4-1.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.niNzyW + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.4 + DOCDIR=/builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/share/doc/python3-oslo-policy + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/share/doc/python3-oslo-policy + cp -pr README.rst /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/share/doc/python3-oslo-policy + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.g4x1z3 + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.4 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/share/licenses/python3-oslo-policy + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/share/licenses/python3-oslo-policy + cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/share/licenses/python3-oslo-policy + exit 0 Provides: python3-oslo-policy = 2.3.4-1.el8 python3.6dist(oslo.policy) = 2.3.4 python3dist(oslo.policy) = 2.3.4 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/libexec/platform-python python(abi) = 3.6 Obsoletes: python2-oslo-policy < 2.3.4-1.el8 Processing files: python-oslo-policy-doc-2.3.4-1.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.L4U7Nk + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.4 + DOCDIR=/builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/share/doc/python-oslo-policy-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/share/doc/python-oslo-policy-doc + cp -pr doc/build/html /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/share/doc/python-oslo-policy-doc + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6WmR4B + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.4 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/share/licenses/python-oslo-policy-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/share/licenses/python-oslo-policy-doc + cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/share/licenses/python-oslo-policy-doc + exit 0 Provides: python-oslo-policy-doc = 2.3.4-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-oslo-policy-tests-2.3.4-1.el8.noarch Provides: python3-oslo-policy-tests = 2.3.4-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.6 Processing files: python-oslo-policy-lang-2.3.4-1.el8.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.RO988Y + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-2.3.4 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/share/licenses/python-oslo-policy-lang + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/share/licenses/python-oslo-policy-lang + cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-policy-2.3.4-1.el8.noarch/usr/share/licenses/python-oslo-policy-lang + exit 0 Provides: python-oslo-policy-lang = 2.3.4-1.el8 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.el8.noarch Wrote: /builddir/build/RPMS/python3-oslo-policy-2.3.4-1.el8.noarch.rpm Wrote: /builddir/build/RPMS/python-oslo-policy-doc-2.3.4-1.el8.noarch.rpm Wrote: /builddir/build/RPMS/python3-oslo-policy-tests-2.3.4-1.el8.noarch.rpm Wrote: /builddir/build/RPMS/python-oslo-policy-lang-2.3.4-1.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.W2wgon + 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.el8.noarch + exit 0 Child return code was: 0