Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-oslo-policy.spec'], chrootPath='/var/lib/mock/cloud8s-openstack-ussuri-el8-build-112820-869446/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g4gbnyg6:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g4gbnyg6:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f82500299f344130b2a4f96efc2128ef', '-D', '/var/lib/mock/cloud8s-openstack-ussuri-el8-build-112820-869446/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g4gbnyg6:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-oslo-policy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False sh: python3: command not found sh: python3: command not found sh: python3: command not found sh: python3: command not found sh: python3: command not found sh: python3: command not found sh: python3: command not found Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-oslo-policy-3.1.2-1.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-oslo-policy.spec'], chrootPath='/var/lib/mock/cloud8s-openstack-ussuri-el8-build-112820-869446/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g4gbnyg6:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g4gbnyg6:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e2baf84458f44052a78baafc31724d99', '-D', '/var/lib/mock/cloud8s-openstack-ussuri-el8-build-112820-869446/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g4gbnyg6:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-oslo-policy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zp1NTu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oslo.policy-3.1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/oslo.policy-3.1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd oslo.policy-3.1.2 + /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-3.1.2 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.wOCdXs + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-3.1.2 ++ '[' -f _current_flavor ']' ++ true + python_flavor= + '[' -z '' ']' + python_flavor=tmp + '[' tmp '!=' python3 ']' + '[' -d build ']' + '[' -d _build.python3 ']' + echo python3 + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/oslo_policy copying oslo_policy/sphinxpolicygen.py -> build/lib/oslo_policy copying oslo_policy/_checks.py -> build/lib/oslo_policy copying oslo_policy/sphinxext.py -> build/lib/oslo_policy copying oslo_policy/_parser.py -> build/lib/oslo_policy copying oslo_policy/generator.py -> build/lib/oslo_policy copying oslo_policy/policy.py -> build/lib/oslo_policy copying oslo_policy/_cache_handler.py -> build/lib/oslo_policy copying oslo_policy/version.py -> build/lib/oslo_policy copying oslo_policy/shell.py -> build/lib/oslo_policy copying oslo_policy/_external.py -> build/lib/oslo_policy copying oslo_policy/__init__.py -> build/lib/oslo_policy copying oslo_policy/fixture.py -> build/lib/oslo_policy copying oslo_policy/_i18n.py -> build/lib/oslo_policy copying oslo_policy/opts.py -> build/lib/oslo_policy creating build/lib/oslo_policy/tests copying oslo_policy/tests/test_policy.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_sphinxpolicygen.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_opts.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/base.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/token_fixture.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_external.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_sphinxext.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_generator.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/__init__.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_fixtures.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_parser.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_checks.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_shell.py -> build/lib/oslo_policy/tests 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 + 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-3.1.2/doc/source/reference/api/oslo_policy.rst. Creating file /builddir/build/BUILD/oslo.policy-3.1.2/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-3.1.2/.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] 16 added, 0 changed, 0 removed reading sources... [ 6%] admin/index reading sources... [ 12%] admin/policy-json-file reading sources... [ 18%] admin/policy-yaml-file reading sources... [ 25%] cli/index reading sources... [ 31%] configuration/index reading sources... [ 37%] contributor/index reading sources... [ 43%] index reading sources... [ 50%] install/index reading sources... [ 56%] reference/api/modules reading sources... [ 62%] reference/api/oslo_policy reading sources... [ 68%] reference/index reading sources... [ 75%] user/history reading sources... [ 81%] user/index reading sources... [ 87%] user/plugins reading sources... [ 93%] user/sphinxpolicygen reading sources... [100%] user/usage WARNING: autodoc: failed to import module 'fixture' from module 'oslo_policy'; the following exception was raised: No module named 'oslo_policy' WARNING: autodoc: failed to import module 'generator' from module 'oslo_policy'; the following exception was raised: No module named 'oslo_policy' WARNING: autodoc: failed to import module 'opts' from module 'oslo_policy'; the following exception was raised: No module named 'oslo_policy' WARNING: autodoc: failed to import module 'policy' from module 'oslo_policy'; the following exception was raised: No module named 'oslo_policy' WARNING: autodoc: failed to import module 'shell' from module 'oslo_policy'; the following exception was raised: No module named 'oslo_policy' WARNING: autodoc: failed to import module 'sphinxext' from module 'oslo_policy'; the following exception was raised: No module named 'oslo_policy' WARNING: autodoc: failed to import module 'sphinxpolicygen' from module 'oslo_policy'; the following exception was raised: No module named 'oslo_policy' WARNING: autodoc: failed to import module 'version' from module 'oslo_policy'; the following exception was raised: No module named 'oslo_policy' WARNING: autodoc: failed to import module 'oslo_policy'; the following exception was raised: No module named 'oslo_policy' looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 6%] 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 2021-11-19 11:21:07 writing output... [ 12%] admin/policy-json-file [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for admin/policy-json-file is 2021-11-19 11:21:07 writing output... [ 18%] admin/policy-yaml-file [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for admin/policy-yaml-file is 2021-11-19 11:21:07 writing output... [ 25%] cli/index [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for cli/index is 2021-11-19 11:21:07 writing output... [ 31%] configuration/index [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for configuration/index is 2021-11-19 11:21:07 writing output... [ 37%] contributor/index [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for contributor/index is 2021-11-19 11:21:07 writing output... [ 43%] index [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for index is 2021-11-19 11:21:07 writing output... [ 50%] install/index [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for install/index is 2021-11-19 11:21:07 writing output... [ 56%] reference/api/modules [openstackdocstheme] other_versions [] [openstackdocstheme] could not determine last_updated for 'reference/api/modules' writing output... [ 62%] reference/api/oslo_policy [openstackdocstheme] other_versions [] [openstackdocstheme] could not determine last_updated for 'reference/api/oslo_policy' writing output... [ 68%] reference/index [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for reference/index is 2021-11-19 11:21:07 writing output... [ 75%] user/history [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for user/history is 2021-11-19 11:21:07 writing output... [ 81%] user/index [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for user/index is 2021-11-19 11:21:07 writing output... [ 87%] user/plugins [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for user/plugins is 2021-11-19 11:21:07 writing output... [ 93%] user/sphinxpolicygen [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for user/sphinxpolicygen is 2021-11-19 11:21:07 writing output... [100%] user/usage [openstackdocstheme] other_versions [] [openstackdocstheme] Last updated for user/usage is 2021-11-19 11:21:07 generating indices... genindex[openstackdocstheme] other_versions [] [openstackdocstheme] could not determine last_updated for 'genindex' 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, 9 warnings. 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.Fudvlv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch ++ dirname /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch + cd oslo.policy-3.1.2 ++ '[' -f _current_flavor ']' ++ cat _current_flavor + python_flavor=python3 + '[' -z python3 ']' + '[' python3 '!=' python3 ']' + echo python3 + /usr/bin/python3 setup.py install -O1 --skip-build --force --root /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch --prefix /usr 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-3.1.2-1.el8.noarch/usr creating /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/lib creating /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/sphinxpolicygen.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/_checks.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/sphinxext.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy creating /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/tests creating /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/locale creating /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/locale/en_GB creating /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-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-3.1.2-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-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/locale/en_GB/LC_MESSAGES copying build/lib/oslo_policy/_parser.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/generator.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/policy.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-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-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/version.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/shell.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/_external.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/__init__.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/fixture.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/_i18n.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy copying build/lib/oslo_policy/opts.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/shell.py to shell.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/opts.py to opts.cpython-36.pyc writing byte-compilation script '/tmp/tmpqyfwy1z4.py' /usr/bin/python3 /tmp/tmpqyfwy1z4.py removing /tmp/tmpqyfwy1z4.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-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo.policy-3.1.2-py3.6.egg-info running install_scripts Installing oslopolicy-checker script to /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/bin Installing oslopolicy-list-redundant script to /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/bin Installing oslopolicy-policy-generator script to /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/bin Installing oslopolicy-policy-upgrade script to /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/bin Installing oslopolicy-sample-generator script to /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-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-3.1.2-1.el8.noarch//usr/bin + for item in checker list-redundant policy-generator sample-generator ~/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/bin ~/build/BUILD/oslo.policy-3.1.2 + ln -s oslopolicy-checker /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-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-3.1.2-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-3.1.2-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-3.1.2-1.el8.noarch/usr/bin/oslopolicy-sample-generator-3 + popd ~/build/BUILD/oslo.policy-3.1.2 + install -d -m 755 /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/share + rm -f /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-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-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/locale/*pot' + mv /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/lib/python3.6/site-packages/oslo_policy/locale /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/share/locale + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch oslo_policy --all-name + /usr/lib/rpm/find-debuginfo.sh -j40 --strict-build-id -m -i --build-id-seed 3.1.2-1.el8 --unique-debug-suffix -3.1.2-1.el8.noarch --unique-debug-src-base python-oslo-policy-3.1.2-1.el8.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/oslo.policy-3.1.2 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-3.1.2-1.el8.noarch/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.4RrA1w + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-3.1.2 + 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.CheckRegisterTestCase.test_register_check_decorator [0.001720s] ... ok {3} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_literal_block_formatting [0.005350s] ... ok {3} oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_reducer [0.000703s] ... ok WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_mismatch [0.005020s] ... ok {1} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_cert [0.011781s] ... ok {1} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_invalid_formatting [0.004257s] ... ok {1} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_file [0.007776s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_1 [0.002445s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_logs_warning_when_overridden [0.004653s] ... ok {1} oslo_policy.tests.test_policy.RulesTestCase.test_load_json_deprecated [0.002759s] ... ok {1} oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_dict [0.003642s] ... ok {0} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content [0.005550s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_shifts [0.002191s] ... ok {0} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules_raises [0.005636s] ... ok {0} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_opts_registered [0.003062s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload_opts_registered [0.006340s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_project_scope [0.003844s] ... ok {0} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_type_strings_fails [0.002868s] ... ok {13} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_accept [0.005392s] ... ok {13} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify [0.011147s] ... ok {13} oslo_policy.tests.test_parser.ParseCheckTestCase.test_bad_rule [0.002201s] ... ok {13} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_custom_exception [0.004240s] ... ok {13} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_no_violations [0.004297s] ... ok {13} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_overwrite_rules [0.003314s] ... ok {13} oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory [0.004876s] ... ok {13} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_sorted [0.006623s] ... ok {5} oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check [0.001726s] ... ok {5} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_generate_loadable_yaml [0.009850s] ... ok {5} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_2 [0.001048s] ... ok {5} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_check_string [0.007052s] ... ok {5} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload [0.007088s] ... ok {5} oslo_policy.tests.test_policy.EnforcerTest.test_rule_with_check [0.003335s] ... ok {5} oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml_invalid_exc [0.002300s] ... ok {5} oslo_policy.tests.test_sphinxext.IndentTest.test_indent [0.001095s] ... ok {15} oslo_policy.tests.test_checks.GenericCheckTestCase.test_accept [0.004866s] ... ok {15} oslo_policy.tests.test_checks.RoleCheckTestCase.test_accept [0.002660s] ... ok {15} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_true [0.002697s] ... ok {15} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_with_rule_in_argument [0.009778s] ... ok {15} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept [0.006826s] ... ok {15} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_policies_deprecated_for_removal [0.003889s] ... ok {15} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_or_D [0.001004s] ... ok {15} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_rule_requires_deprecated_rule_object [0.002976s] ... ok {10} oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_does_not_take_current_rule [0.002021s] ... ok {10} oslo_policy.tests.test_checks.CheckTestCase.test_str [0.000782s] ... ok {10} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_name [0.007301s] ... ok {10} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_for_removal_suppress_does_not_log_warning [0.005038s] ... ok {10} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule [0.006099s] ... ok {10} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_subclassed_context_objects [0.004608s] ... ok {10} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_project_scope_type [0.004620s] ... ok {10} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope_creds_dict [0.003879s] ... ok {22} oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_strings_in_target [0.010215s] ... ok {22} oslo_policy.tests.test_parser.ParseCheckTestCase.test_true [0.000817s] ... ok {22} oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_or_expr [0.001039s] ... ok {22} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_rule_not_exist_not_empty_policy_file [0.004063s] ... ok {22} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_replace_with_empty_policy_check_string [0.006562s] ... ok {22} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_enforce_new_defaults_no_old_check_string [0.005719s] ... ok {22} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite [0.005482s] ... ok {20} oslo_policy.tests.test_checks.AndCheckTestCase.test_str [0.001606s] ... ok {20} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_nested_lists_accepted [0.004141s] ... ok {20} oslo_policy.tests.test_checks.GenericCheckTestCase.test_single_entry_in_list_accepted [0.002778s] ... ok {20} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_paragraph_formatting [0.004312s] ... ok {20} oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_call_with_no_arguments_raises_error [0.001912s] ... ok {20} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_check_str_suppress_does_not_log_warning [0.004811s] ... ok {20} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_update [0.006293s] ... ok {20} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters [0.006641s] ... ok {9} oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_role_check_matches [0.004637s] ... ok {9} oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules [0.013499s] ... ok {9} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_and_expr [0.000832s] ... ok {9} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_multi [0.001165s] ... ok {9} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_4 [0.001658s] ... ok {9} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_multiple_operations [0.002677s] ... ok {9} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list_of_dicts [0.002760s] ... ok {9} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_scope [0.005960s] ... ok {12} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_second_true [0.001747s] ... ok {12} oslo_policy.tests.test_generator.ListRedundantTestCase.test_matched_rules [0.010942s] ... ok {12} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_not_empty_list [0.003083s] ... ok {12} oslo_policy.tests.test_policy.EnforcerTest.test_clear_opts_registered [0.003149s] ... ok {12} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope [0.004360s] ... ok {12} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_rule [0.003454s] ... ok {12} oslo_policy.tests.test_policy.EnforcerTest.test_set_rules_type [0.002997s] ... ok {12} oslo_policy.tests.test_policy.RulesTestCase.test_missing_default [0.000943s] ... ok {17} oslo_policy.tests.test_checks.NotCheckTestCase.test_call_false [0.001633s] ... ok {17} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_loadable_json [0.005989s] ... ok {17} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_empty_line_formatting [0.003934s] ... ok {17} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_short [0.001152s] ... ok {17} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_empty [0.000699s] ... ok {17} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_fail [0.001376s] ... ok {17} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_no_rules [0.003910s] ... ok {17} oslo_policy.tests.test_policy.RulesTestCase.test_retrieval [0.000832s] ... ok {22} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_force [0.006080s] ... ok {16} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_stdout [0.008839s] ... ok {16} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C [0.000959s] ... ok {16} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_policy_values_from_context [0.004323s] ... ok {16} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite [0.005295s] ... ok {16} oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories [0.005226s] ... ok {16} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_ensure_scope_types_are_unique [0.003008s] ... ok {14} oslo_policy.tests.test_checks.FalseCheckTestCase.test_call [0.001548s] ... ok {16} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_class [0.002843s] ... ok {16} oslo_policy.tests.test_policy.RulesTestCase.test_load_json [0.000970s] ... ok {6} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entries_one_matches [0.004902s] ... ok {6} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_multi [0.000959s] ... ok {6} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_or_D [0.000857s] ... ok {6} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_2 [0.000783s] ... ok {19} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_first_true [0.001747s] ... ok {19} oslo_policy.tests.test_checks.NotCheckTestCase.test_str [0.000769s] ... ok {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_suppress_default_change_warnings_flag_not_log_warning [0.006250s] ... ok {24} oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_does_not_take_current_rule [0.001923s] ... ok {24} oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_does_not_take_current_rule [0.001012s] ... ok {24} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_not_expr [0.000930s] ... ok {24} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_and_D [0.000892s] ... ok {24} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C [0.000745s] ... ok {24} oslo_policy.tests.test_policy.BaseCheckTypesTestCase.test_base_check_types_are_public [0.004546s] ... ok {24} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite_opts_registered [0.005462s] ... ok {24} oslo_policy.tests.test_policy.EnforcerTest.test_load_dir_caching_with_files_same_overwrite_false_opts_reg [0.004345s] ... ok {2} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_oneele [0.001577s] ... ok {2} oslo_policy.tests.test_parser.ParseStateTestCase.test_result_empty [0.000853s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_and_D [0.000946s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_default_rule_name [0.003447s] ... ok {11} oslo_policy.tests.test_checks.FalseCheckTestCase.test_str [0.001513s] ... ok {11} oslo_policy.tests.test_checks.NotCheckTestCase.test_init [0.000663s] ... ok {11} oslo_policy.tests.test_checks.OrCheckTestCase.test_str [0.000707s] ... ok {11} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content_stdout [0.005039s] ... ok {19} oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_takes_current_rule [0.000859s] ... ok {19} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_reject [0.011462s] ... ok {11} oslo_policy.tests.test_parser.ParseStateTestCase.test_shift [0.001683s] ... ok {11} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C [0.000838s] ... ok {11} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_rules [0.003004s] ... ok {19} oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_policy_file [0.002644s] ... ok {19} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_name [0.004637s] ... ok {19} oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_registered [0.003570s] ... ok {19} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_opts_registered [0.004557s] ... ok {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_reason [0.004714s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same [0.004617s] ... ok {2} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_less_obvious [0.002762s] ... ok {2} oslo_policy.tests.test_policy.RulesTestCase.test_str [0.000882s] ... ok {2} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_scope_types [0.001092s] ... ok {4} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_all_false [0.001709s] ... ok {4} oslo_policy.tests.test_checks.RoleCheckTestCase.test_reject [0.004031s] ... ok {4} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_false [0.002704s] ... ok {4} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite_opts_registered [0.006043s] ... ok {6} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_register_twice_raises [0.003068s] ... ok {6} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_rule_is_parsed [0.002523s] ... ok {11} oslo_policy.tests.test_policy.RegisterCheckTestCase.test_register_check [0.002621s] ... ok {26} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_second_true [0.001984s] ... ok {26} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_missing [0.004485s] ... ok {26} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_one [0.001593s] ... ok {14} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_objects_in_target [0.011439s] ... ok {14} oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_list [0.001751s] ... ok {4} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_but_overwrite_false [0.004603s] ... ok {4} oslo_policy.tests.test_policy.EnforcerTest.test_load_file [0.003519s] ... ok {27} oslo_policy.tests.test_checks.GenericCheckTestCase.test_entry_not_in_list_rejected [0.005804s] ... ok {18} oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_takes_current_rule [0.001799s] ... ok {18} oslo_policy.tests.test_checks.RoleCheckTestCase.test_no_roles_case [0.003994s] ... ok {18} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_multi [0.001003s] ... ok {18} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_zeroele [0.000677s] ... ok {26} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_false [0.007020s] ... ok {26} oslo_policy.tests.test_policy.EnforcerTest.test_load_policy_dirs_with_non_directory [0.004838s] ... ok {26} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_str [0.003180s] ... ok {7} oslo_policy.tests.test_checks.CheckTestCase.test_init [0.001688s] ... ok {7} oslo_policy.tests.test_checks.NotCheckTestCase.test_call_true [0.000950s] ... ok {7} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_bare [0.000794s] ... ok {7} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_or_D [0.000962s] ... ok {7} oslo_policy.tests.test_policy.EnforcerTest.test_clear [0.004342s] ... ok {4} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_force [0.005032s] ... ok {29} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_are_aliased_to_new_names [0.006274s] ... ok {29} oslo_policy.tests.test_parser.ParseCheckTestCase.test_false [0.000847s] ... ok {29} oslo_policy.tests.test_parser.ParseStateTestCase.test_result_unreduced [0.000969s] ... ok {34} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content_stdout [0.005998s] ... ok {34} oslo_policy.tests.test_parser.ParseCheckTestCase.test_no_handler [0.001917s] ... ok {18} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_3 [0.000937s] ... ok {18} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_7 [0.001673s] ... ok {18} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_policy_file [0.003199s] ... ok {14} oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_and_expr [0.001094s] ... ok {14} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_explicit [0.004321s] ... ok {14} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_old_name [0.005973s] ... ok {14} oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_not_registered [0.003380s] ... ok {31} oslo_policy.tests.test_checks.AndCheckTestCase.test_add_check [0.001547s] ... ok {27} oslo_policy.tests.test_checks.GenericCheckTestCase.test_missing_credentials_dictionary_lookup [0.003344s] ... ok {39} oslo_policy.tests.test_checks.OrCheckTestCase.test_init [0.001294s] ... ok {26} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_custom_target [0.009095s] ... ok {26} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file [0.006929s] ... ok {6} oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml [0.002227s] ... ok {4} oslo_policy.tests.test_policy.RulesTestCase.test_init [0.000826s] ... ok {34} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_and_D [0.000958s] ... ok {31} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept [0.011596s] ... ok {31} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file [0.006482s] ... ok {21} oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_missing_role_does_not_matches [0.005365s] ... ok {31} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_2 [0.001014s] ... ok {31} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_8 [0.000764s] ... ok {31} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_call_map_context_attributes [0.005185s] ... ok {31} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice [0.005002s] ... ok {39} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_false [0.004000s] ... ok {35} oslo_policy.tests.test_checks.AndCheckTestCase.test_init [0.001572s] ... ok {35} oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_key_match_in_target [0.003847s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_set_rules [0.003365s] ... ok {23} oslo_policy.tests.test_external.HttpCheckTestCase.test_reject_with_rule_in_argument [0.011115s] ... ok {23} oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_string [0.001571s] ... ok {23} oslo_policy.tests.test_parser.ParseStateTestCase.test_result [0.000783s] ... ok {23} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C [0.001067s] ... ok {14} oslo_policy.tests.test_policy.RulesTestCase.test_no_default [0.001070s] ... ok {8} oslo_policy.tests.test_checks.GenericCheckTestCase.test_cred_mismatch [0.004696s] ... ok {8} oslo_policy.tests.test_checks.RoleCheckTestCase.test_format_value [0.002441s] ... ok {8} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_none [0.001204s] ... ok {34} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_rule [0.005816s] ... ok {34} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_method [0.003490s] ... ok {34} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_policy_file [0.003369s] ... ok {34} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated_opts_registered [0.005238s] ... ok {8} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_does_not_log_warning [0.003809s] ... ok {35} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content [0.004251s] ... ok {35} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_with_same_name [0.004336s] ... ok {8} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_since [0.002760s] ... ok {8} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_directory [0.004537s] ... ok {8} oslo_policy.tests.test_policy.RulesTestCase.test_str_true [0.000879s] ... ok {8} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_minimal [0.000980s] ... ok {7} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_context_objects [0.004261s] ... ok {29} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_1 [0.000991s] ... ok {28} oslo_policy.tests.test_checks.GenericCheckTestCase.test_deep_credentials_dictionary_lookup [0.005515s] ... ok {28} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_nested_list_accepted [0.002959s] ... ok {28} oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_takes_current_rule [0.001123s] ... ok {28} oslo_policy.tests.test_external.HttpCheckTestCase.test_reject [0.011526s] ... ok {28} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_stdout [0.006667s] ... ok {28} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_with_rule [0.003783s] ... ok {28} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_changed [0.006236s] ... ok {28} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_subclass [0.003064s] ... ok {39} oslo_policy.tests.test_parser.ParseCheckTestCase.test_check [0.000807s] ... ok {39} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_name_suppress_does_not_log_warning [0.004088s] ... ok {39} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_opts_registered [0.004844s] ... ok {6} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file_no_base [0.002805s] ... ok {23} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules [0.006074s] ... ok {23} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_system_scope_type [0.005419s] ... ok {7} oslo_policy.tests.test_policy.RulesTestCase.test_load_json_invalid_exc [0.007170s] ... ok {30} oslo_policy.tests.test_checks.OrCheckTestCase.test_add_check [0.001788s] ... ok {30} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_json [0.012631s] ... ok {18} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_check [0.002506s] ... ok {30} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_true [0.003827s] ... ok {7} oslo_policy.tests.test_shell.CheckerTestCase.test_all_nonadmin [0.005046s] ... ok {21} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_list_accepted [0.002723s] ... ok {21} oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_objects_in_target [0.009010s] ... ok {32} oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_cred [0.005194s] ... ok {32} oslo_policy.tests.test_parser.ParseStateTestCase.test_wrap_check [0.000921s] ... ok {32} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_6 [0.000877s] ... ok {25} oslo_policy.tests.test_checks.OrCheckTestCase.test_pop_check [0.001802s] ... ok {32} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_multiple_scope_types [0.002843s] ... ok {39} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated [0.005217s] ... ok {39} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_obvious [0.003152s] ... ok {29} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_default [0.004212s] ... ok {35} oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_raises_error [0.000657s] ... ok {30} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_oneele [0.000875s] ... ok {27} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_false [0.004325s] ... ok {27} oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer [0.005394s] ... ok {27} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_an_empty_policy_check_string [0.006911s] ... ok {32} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_types [0.002518s] ... ok {32} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_description [0.001170s] ... ok {30} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_1 [0.001313s] ... ok {30} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_consolidates_context_attributes_with_creds [0.003128s] ... ok {32} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_multiple_config_files [0.003193s] ... ok {35} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_for_removal_must_include_deprecated_since [0.003088s] ... ok {35} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_true [0.004384s] ... ok {29} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_path [0.003165s] ... ok {29} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises [0.006733s] ... ok {21} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_empty [0.000932s] ... ok {21} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_or_expr [0.000767s] ... ok {21} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory [0.004993s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_update_rules [0.002535s] ... ok {27} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_both_new_and_old_policy [0.006038s] ... ok {27} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list [0.003230s] ... ok {27} oslo_policy.tests.test_policy.EnforcerTest.test_non_reversible_check [0.004421s] ... ok {21} oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories_opts_registered [0.005637s] ... ok {21} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_operations [0.001428s] ... ok {36} oslo_policy.tests.test_checks.TrueCheckTestCase.test_str [0.001553s] ... ok {36} oslo_policy.tests.test_parser.ParseCheckTestCase.test_check_default [0.000941s] ... ok {36} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_two [0.001637s] ... ok {36} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice [0.006493s] ... ok {30} oslo_policy.tests.test_policy.RulesTestCase.test_init_basic [0.000799s] ... ok {38} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_accept [0.005504s] ... ok {38} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_first_true [0.001062s] ... ok {23} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_rejects_non_context_objects [0.004839s] ... ok {37} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_all_false [0.001486s] ... ok {37} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_strings_in_target [0.008512s] ... ok {37} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_5 [0.000876s] ... ok {33} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_mismatch [0.005059s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_load_file_opts_registered [0.003190s] ... ok {33} oslo_policy.tests.test_checks.TrueCheckTestCase.test_call [0.000759s] ... ok {33} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_json [0.009048s] ... ok {33} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_and_client_certs [0.009578s] ... ok {36} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_name [0.002047s] ... ok {36} oslo_policy.tests.test_policy.RulesTestCase.test_load_empty_data [0.000775s] ... ok {38} oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer_missing [0.004400s] ... ok {33} oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_parse_state_meta [0.001005s] ... ok {33} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_3 [0.000852s] ... ok {33} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_false [0.003282s] ... ok {25} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_true [0.005407s] ... ok {36} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_owner [0.004327s] ... ok {25} oslo_policy.tests.test_parser.ParseStateTestCase.test_init [0.000889s] ... ok {25} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_and_D [0.000942s] ... ok {37} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_contain_operations [0.002036s] ... ok {25} oslo_policy.tests.test_parser.ParseTokenizeTestCase.test_tokenize [0.000764s] ... ok {25} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_description_not_empty [0.003123s] ... ok {25} oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory_opts_registered [0.004788s] ... ok {25} oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_file [0.004536s] ... ok {23} oslo_policy.tests.test_policy.EnforcerTest.test_get_policy_path_raises_exc [0.003487s] ... ok {37} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_domain_scope_type [0.003638s] ... ok {37} oslo_policy.tests.test_policy.RulesTestCase.test_from_dict [0.000654s] ... ok {38} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_or_D [0.001201s] ... ok {38} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_contain_method_and_path_only [0.002990s] ... ok {37} oslo_policy.tests.test_policy.RulesTestCase.test_with_default [0.000434s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_clear [0.004805s] ... ok {38} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_domain_scope [0.003785s] ... ok {38} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equal_subclass [0.002318s] ... ok ====== Totals ====== Ran: 309 tests in 0.2948 sec. - Passed: 309 - Skipped: 0 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 1.1196 sec. ============== Worker Balance ============== - Worker 0 (8 tests) => 0:00:00.035643 - Worker 1 (8 tests) => 0:00:00.046892 - Worker 2 (8 tests) => 0:00:00.021068 - Worker 3 (8 tests) => 0:00:00.032775 - Worker 4 (8 tests) => 0:00:00.033009 - Worker 5 (8 tests) => 0:00:00.038168 - Worker 6 (8 tests) => 0:00:00.022212 - Worker 7 (8 tests) => 0:00:00.029614 - Worker 8 (8 tests) => 0:00:00.025438 - Worker 9 (8 tests) => 0:00:00.037266 - Worker 10 (8 tests) => 0:00:00.038704 - Worker 11 (8 tests) => 0:00:00.019744 - Worker 12 (8 tests) => 0:00:00.034804 - Worker 13 (8 tests) => 0:00:00.047305 - Worker 14 (8 tests) => 0:00:00.035143 - Worker 15 (8 tests) => 0:00:00.038371 - Worker 16 (8 tests) => 0:00:00.035045 - Worker 17 (8 tests) => 0:00:00.023400 - Worker 18 (8 tests) => 0:00:00.019905 - Worker 19 (8 tests) => 0:00:00.034057 - Worker 20 (8 tests) => 0:00:00.036987 - Worker 21 (8 tests) => 0:00:00.035350 - Worker 22 (8 tests) => 0:00:00.043783 - Worker 23 (8 tests) => 0:00:00.038145 - Worker 24 (8 tests) => 0:00:00.023649 - Worker 25 (8 tests) => 0:00:00.026428 - Worker 26 (8 tests) => 0:00:00.044454 - Worker 27 (8 tests) => 0:00:00.044718 - Worker 28 (8 tests) => 0:00:00.045588 - Worker 29 (7 tests) => 0:00:00.026258 - Worker 30 (7 tests) => 0:00:00.028155 - Worker 31 (7 tests) => 0:00:00.035569 - Worker 32 (7 tests) => 0:00:00.020561 - Worker 33 (7 tests) => 0:00:00.033072 - Worker 34 (7 tests) => 0:00:00.030423 - Worker 35 (7 tests) => 0:00:00.025713 - Worker 36 (7 tests) => 0:00:00.020943 - Worker 37 (7 tests) => 0:00:00.020167 - Worker 38 (7 tests) => 0:00:00.025316 - Worker 39 (7 tests) => 0:00:00.026626 + exit 0 Processing files: python3-oslo-policy-3.1.2-1.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CBeTqx + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-3.1.2 + DOCDIR=/builddir/build/BUILDROOT/python-oslo-policy-3.1.2-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-3.1.2-1.el8.noarch/usr/share/doc/python3-oslo-policy + cp -pr README.rst /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/share/doc/python3-oslo-policy + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.G6cxux + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-3.1.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-3.1.2-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-3.1.2-1.el8.noarch/usr/share/licenses/python3-oslo-policy + cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/share/licenses/python3-oslo-policy + exit 0 Provides: python3-oslo-policy = 3.1.2-1.el8 python3.6dist(oslo.policy) = 3.1.2 python3dist(oslo.policy) = 3.1.2 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/python3 python(abi) = 3.6 Obsoletes: python2-oslo-policy < 3.1.2-1.el8 Processing files: python-oslo-policy-doc-3.1.2-1.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.d3btzx + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-3.1.2 + DOCDIR=/builddir/build/BUILDROOT/python-oslo-policy-3.1.2-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-3.1.2-1.el8.noarch/usr/share/doc/python-oslo-policy-doc + cp -pr doc/build/html /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/share/doc/python-oslo-policy-doc + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.TU6zIt + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-3.1.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-3.1.2-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-3.1.2-1.el8.noarch/usr/share/licenses/python-oslo-policy-doc + cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/share/licenses/python-oslo-policy-doc + exit 0 Provides: python-oslo-policy-doc = 3.1.2-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-3.1.2-1.el8.noarch Provides: python3-oslo-policy-tests = 3.1.2-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-3.1.2-1.el8.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QfVAvu + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-3.1.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-3.1.2-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-3.1.2-1.el8.noarch/usr/share/licenses/python-oslo-policy-lang + cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch/usr/share/licenses/python-oslo-policy-lang + exit 0 Provides: python-oslo-policy-lang = 3.1.2-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-3.1.2-1.el8.noarch Wrote: /builddir/build/RPMS/python3-oslo-policy-3.1.2-1.el8.noarch.rpm Wrote: /builddir/build/RPMS/python-oslo-policy-doc-3.1.2-1.el8.noarch.rpm Wrote: /builddir/build/RPMS/python3-oslo-policy-tests-3.1.2-1.el8.noarch.rpm Wrote: /builddir/build/RPMS/python-oslo-policy-lang-3.1.2-1.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1HD1fx + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-3.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-oslo-policy-3.1.2-1.el8.noarch + exit 0 Child return code was: 0