Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-policy.spec'], chrootPath='/var/lib/mock/dlrn-centos9-master-uc-x86_64-5/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=0uid=1026gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.src.rpm Child return code was: 0 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-policy.spec'], chrootPath='/var/lib/mock/dlrn-centos9-master-uc-x86_64-5/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=0uid=1026gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-oslo-policy.spec'], chrootPath='/var/lib/mock/dlrn-centos9-master-uc-x86_64-5/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=0uid=1026gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6CITHb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oslo.policy-4.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/oslo.policy-4.1.1-0.20230223082520.043db50.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd oslo.policy-4.1.1 + /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 config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'python-oslo-policy-4.1.1 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.reszkM + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-4.1.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /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/version.py -> build/lib/oslo_policy copying oslo_policy/sphinxpolicygen.py -> build/lib/oslo_policy copying oslo_policy/sphinxext.py -> build/lib/oslo_policy copying oslo_policy/shell.py -> build/lib/oslo_policy copying oslo_policy/policy.py -> build/lib/oslo_policy copying oslo_policy/opts.py -> build/lib/oslo_policy copying oslo_policy/generator.py -> build/lib/oslo_policy copying oslo_policy/fixture.py -> build/lib/oslo_policy copying oslo_policy/_parser.py -> build/lib/oslo_policy copying oslo_policy/_i18n.py -> build/lib/oslo_policy copying oslo_policy/_external.py -> build/lib/oslo_policy copying oslo_policy/_checks.py -> build/lib/oslo_policy copying oslo_policy/_cache_handler.py -> build/lib/oslo_policy copying oslo_policy/__init__.py -> build/lib/oslo_policy creating build/lib/oslo_policy/tests copying oslo_policy/tests/token_fixture.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_sphinxpolicygen.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/test_policy.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_parser.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_opts.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_generator.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_fixtures.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_external.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_checks.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_cache_handler.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/base.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/__init__.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 adding license file 'LICENSE' adding license file 'AUTHORS' 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 v3.4.3 [openstackdocstheme] version: 3.0.0 [openstackdocstheme] connecting html-page-context event handler making output directory... done [openstackdocstheme] overriding configured project name (Python) with name extracted from the package (oslo.policy); you can disable this behavior with the 'openstackdocs_auto_name' option Creating file /builddir/build/BUILD/oslo.policy-4.1.1/doc/source/reference/api/oslo_policy.rst. Creating file /builddir/build/BUILD/oslo.policy-4.1.1/doc/source/reference/api/modules.rst. [openstackdocstheme] using theme from /usr/lib/python3.9/site-packages/openstackdocstheme/theme [openstackdocstheme] no /builddir/build/BUILD/oslo.policy-4.1.1/.gitreview found building [mo]: targets for 0 po files that are out of date building [html]: targets for 25 source files that are out of date updating environment: [new config] 27 added, 0 changed, 0 removed reading sources... [ 3%] admin/index reading sources... [ 7%] admin/policy-json-file reading sources... [ 11%] admin/policy-yaml-file reading sources... [ 14%] cli/common/convert-opts reading sources... [ 18%] cli/common/default-opts reading sources... [ 22%] cli/common/enforcer-opts reading sources... [ 25%] cli/common/generator-opts reading sources... [ 29%] cli/common/rule-opts reading sources... [ 33%] cli/index reading sources... [ 37%] cli/oslopolicy-checker reading sources... [ 40%] cli/oslopolicy-convert-json-to-yaml reading sources... [ 44%] cli/oslopolicy-list-redundant reading sources... [ 48%] cli/oslopolicy-policy-generator reading sources... [ 51%] cli/oslopolicy-sample-generator reading sources... [ 55%] cli/oslopolicy-validator reading sources... [ 59%] configuration/index reading sources... [ 62%] contributor/index reading sources... [ 66%] index reading sources... [ 70%] install/index reading sources... [ 74%] reference/api/modules reading sources... [ 77%] reference/api/oslo_policy reading sources... [ 81%] reference/index reading sources... [ 85%] user/history reading sources... [ 88%] user/index reading sources... [ 92%] user/plugins reading sources... [ 96%] user/sphinxpolicygen reading sources... [100%] user/usage looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... 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' done writing output... [ 3%] admin/index writing output... [ 7%] admin/policy-json-file writing output... [ 11%] admin/policy-yaml-file writing output... [ 14%] cli/common/convert-opts writing output... [ 18%] cli/common/default-opts writing output... [ 22%] cli/common/enforcer-opts writing output... [ 25%] cli/common/generator-opts writing output... [ 29%] cli/common/rule-opts writing output... [ 33%] cli/index writing output... [ 37%] cli/oslopolicy-checker writing output... [ 40%] cli/oslopolicy-convert-json-to-yaml writing output... [ 44%] cli/oslopolicy-list-redundant writing output... [ 48%] cli/oslopolicy-policy-generator writing output... [ 51%] cli/oslopolicy-sample-generator writing output... [ 55%] cli/oslopolicy-validator writing output... [ 59%] configuration/index writing output... [ 62%] contributor/index writing output... [ 66%] index writing output... [ 70%] install/index writing output... [ 74%] reference/api/modules [openstackdocstheme] could not determine last_updated for 'reference/api/modules' writing output... [ 77%] reference/api/oslo_policy [openstackdocstheme] could not determine last_updated for 'reference/api/oslo_policy' writing output... [ 81%] reference/index writing output... [ 85%] user/history writing output... [ 88%] user/index writing output... [ 92%] user/plugins writing output... [ 96%] user/sphinxpolicygen writing output... [100%] user/usage generating indices... genindex done writing additional pages... 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 --domain oslo_policy 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iEXHTw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64 + cd oslo.policy-4.1.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64 running install [pbr] Writing ChangeLog [pbr] Generating ChangeLog [pbr] ChangeLog complete (0.1s) [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.1s) running install_lib creating /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr creating /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy creating /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/locale creating /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/locale/en_GB creating /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/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-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/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-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/locale/en_GB/LC_MESSAGES creating /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/__init__.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/base.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_cache_handler.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_checks.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_external.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_fixtures.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_generator.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_opts.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_parser.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_policy.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_shell.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_sphinxext.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_sphinxpolicygen.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/token_fixture.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests copying build/lib/oslo_policy/__init__.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy copying build/lib/oslo_policy/_cache_handler.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy copying build/lib/oslo_policy/_checks.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy copying build/lib/oslo_policy/_external.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy copying build/lib/oslo_policy/_i18n.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy copying build/lib/oslo_policy/_parser.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy copying build/lib/oslo_policy/fixture.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy copying build/lib/oslo_policy/generator.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy copying build/lib/oslo_policy/opts.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy copying build/lib/oslo_policy/policy.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy copying build/lib/oslo_policy/shell.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy copying build/lib/oslo_policy/sphinxext.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy copying build/lib/oslo_policy/sphinxpolicygen.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy copying build/lib/oslo_policy/version.py -> /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests/base.py to base.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests/test_cache_handler.py to test_cache_handler.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests/test_checks.py to test_checks.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests/test_external.py to test_external.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests/test_fixtures.py to test_fixtures.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests/test_generator.py to test_generator.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests/test_opts.py to test_opts.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests/test_parser.py to test_parser.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests/test_policy.py to test_policy.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests/test_shell.py to test_shell.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests/test_sphinxext.py to test_sphinxext.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests/test_sphinxpolicygen.py to test_sphinxpolicygen.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/tests/token_fixture.py to token_fixture.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/_cache_handler.py to _cache_handler.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/_checks.py to _checks.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/_external.py to _external.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/_i18n.py to _i18n.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/_parser.py to _parser.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/fixture.py to fixture.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/generator.py to generator.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/opts.py to opts.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/policy.py to policy.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/shell.py to shell.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/sphinxext.py to sphinxext.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/sphinxpolicygen.py to sphinxpolicygen.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/version.py to version.cpython-39.pyc writing byte-compilation script '/tmp/tmpkk1ugb0f.py' /usr/bin/python3 /tmp/tmpkk1ugb0f.py removing /tmp/tmpkk1ugb0f.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 adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'oslo.policy.egg-info/SOURCES.txt' Copying oslo.policy.egg-info to /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo.policy-4.1.1-py3.9.egg-info running install_scripts Installing oslopolicy-checker script to /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/bin Installing oslopolicy-convert-json-to-yaml script to /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/bin Installing oslopolicy-list-redundant script to /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/bin Installing oslopolicy-policy-generator script to /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/bin Installing oslopolicy-policy-upgrade script to /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/bin Installing oslopolicy-sample-generator script to /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/bin Installing oslopolicy-validator script to /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/bin + rm -rfv /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/bin/__pycache__ ~/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/bin ~/build/BUILD/oslo.policy-4.1.1 + pushd /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64//usr/bin + for item in checker list-redundant policy-generator sample-generator + ln -s oslopolicy-checker /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/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-4.1.1-0.20230223082520.043db50.el9.x86_64/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-4.1.1-0.20230223082520.043db50.el9.x86_64/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-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/bin/oslopolicy-sample-generator-3 ~/build/BUILD/oslo.policy-4.1.1 + popd + install -d -m 755 /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/share + rm -f /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.po + rm -f '/builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/locale/*pot' + mv /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9/site-packages/oslo_policy/locale /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/share/locale + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64 oslo_policy --all-name + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 4.1.1-0.20230223082520.043db50.el9 --unique-debug-suffix -4.1.1-0.20230223082520.043db50.el9.x86_64 --unique-debug-src-base python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/oslo.policy-4.1.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/lib/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.dV6fg2 + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-4.1.1 + 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.AndCheckTestCase.test_call_all_false [0.004151s] ... ok {0} oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_does_not_take_current_rule [0.000435s] ... ok {0} oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_takes_current_rule [0.000391s] ... ok {0} oslo_policy.tests.test_checks.AndCheckTestCase.test_str [0.000339s] ... ok {0} oslo_policy.tests.test_checks.CheckTestCase.test_str [0.000346s] ... ok {0} oslo_policy.tests.test_checks.FalseCheckTestCase.test_call [0.000491s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_accept [0.001635s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entries_one_matches [0.005954s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_nested_list_accepted [0.001043s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_nested_lists_accepted [0.001354s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_key_match_in_target [0.003516s] ... ok {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_single_entry_in_list_accepted [0.001254s] ... ok {0} oslo_policy.tests.test_checks.NotCheckTestCase.test_call_false [0.000444s] ... ok {0} oslo_policy.tests.test_checks.NotCheckTestCase.test_call_true [0.000382s] ... ok {0} oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_does_not_take_current_rule [0.000392s] ... ok {0} oslo_policy.tests.test_checks.OrCheckTestCase.test_add_check [0.000333s] ... ok {0} oslo_policy.tests.test_checks.OrCheckTestCase.test_init [0.000337s] ... ok {0} oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_takes_current_rule [0.001026s] ... ok {0} oslo_policy.tests.test_checks.OrCheckTestCase.test_str [0.000596s] ... ok {0} oslo_policy.tests.test_checks.TrueCheckTestCase.test_call [0.000587s] ... ok {0} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_json [0.010131s] ... ok {0} oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_overridden_rules_uncommented_in_yaml_file [0.003043s] ... ok {0} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_are_aliased_to_new_names [0.009324s] ... ok {0} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content_stdout [0.001837s] ... ok {0} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_literal_block_formatting [0.001899s] ... ok WARNING [oslo_config.cfg] Option "format" from group "DEFAULT" is deprecated for removal ( ``policy_file`` support for JSON formatted file is deprecated. So these tools also deprecate the support of generating or upgrading policy file in JSON format. ). Its value may be silently ignored in the future. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {0} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file [0.009094s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {0} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file_log_warning [0.004350s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {0} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_stdout [0.031059s] ... ok {0} oslo_policy.tests.test_generator.ValidatorTestCase.test_missing_policy_file [0.008354s] ... ok {0} oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_policy_file [0.001189s] ... ok {0} oslo_policy.tests.test_parser.ParseCheckTestCase.test_false [0.000272s] ... ok {0} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_bare [0.000308s] ... ok {0} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_multi [0.000290s] ... ok {0} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_zeroele [0.000270s] ... ok {0} oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_reducer [0.000275s] ... ok {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_or_expr [0.000473s] ... ok {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_none [0.000525s] ... ok {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_result [0.000249s] ... ok {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_result_unreduced [0.000297s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_or_D [0.000309s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_3 [0.000314s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_4 [0.000643s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_8 [0.000311s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_1 [0.008770s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_or_D [0.000341s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_and_D [0.000824s] ... ok {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_shifts [0.001583s] ... ok {0} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_custom_exception [0.002394s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_rule_requires_deprecated_rule_object [0.001074s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_old_name [0.001881s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_multiple_operations [0.000929s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list [0.000933s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list_of_dicts [0.000938s] ... ok {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_not_empty_list [0.000937s] ... ok {0} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_true [0.002341s] ... ok {0} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules [0.003411s] ... ok {0} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_no_violations [0.002518s] ... ok {0} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_opts_registered [0.001470s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_not_registered [0.001491s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_clear_opts_registered [0.001579s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_context_objects [0.001551s] ... ok /builddir/build/BUILD/oslo.policy-4.1.1/oslo_policy/policy.py:1129: UserWarning: Policy @ failed scope check. The token used to make the request was system scoped but the policy requires ['domain'] scope. This behavior may change in the future where using the intended scope is required warnings.warn(msg) {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_policy_values_from_context [0.001466s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_false [0.000943s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload_opts_registered [0.002387s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_subclassed_checks [0.003857s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope_creds_dict [0.014743s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_get_policy_path_raises_exc [0.001648s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_force [0.022383s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories [0.002765s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_policy_dirs_with_non_directory [0.004505s] ... ok {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_force [0.004415s] ... ok {0} oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_both_default_policy_file_exist [0.009981s] ... ok {0} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_types [0.059057s] ... ok {0} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_less_obvious [0.000965s] ... ok {0} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_check [0.000906s] ... ok {0} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_name [0.000906s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_load_json [0.000350s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_load_json_deprecated [0.001291s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_load_json_invalid_exc [0.002654s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_no_default [0.000280s] ... ok {0} oslo_policy.tests.test_policy.RulesTestCase.test_with_default [0.001454s] ... ok {0} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_minimal [0.001310s] ... ok {0} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_description [0.000400s] ... ok {0} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_operations [0.000386s] ... ok {0} oslo_policy.tests.test_sphinxext.IndentTest.test_indent [0.000406s] ... ok {0} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file [0.003104s] ... ok Configured policy file "bogus.yaml" not found {1} oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file_with_updates [0.001026s] ... ok {1} oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_on_removed_file [0.001103s] ... ok {1} oslo_policy.tests.test_checks.AndCheckTestCase.test_init [0.000281s] ... ok {1} oslo_policy.tests.test_checks.FalseCheckTestCase.test_str [0.000248s] ... ok {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_accept [0.034113s] ... ok {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_role_check_matches [0.001081s] ... ok {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_missing_credentials_dictionary_lookup [0.000955s] ... ok {1} oslo_policy.tests.test_checks.NotCheckTestCase.test_str [0.000310s] ... ok {1} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_all_false [0.000436s] ... ok {1} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_first_true [0.000284s] ... ok {1} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_false [0.000953s] ... ok {1} oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_strings_in_target [0.002962s] ... ok {1} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_json [0.007317s] ... ok {1} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_cert [0.002634s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {1} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_reject [0.002166s] ... ok {1} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_objects_in_target [0.001946s] ... ok {1} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_false [0.001194s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {1} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_false [0.009037s] ... ok {1} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_true [0.001093s] ... ok {1} oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_json_to_yaml_file [0.003351s] ... ok {1} oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_policy_to_stdout [0.002243s] ... ok {1} oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_existing_deprecated_rules_kept_uncommented_in_yaml_file [0.002728s] ... ok {1} oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules [0.009996s] ... ok WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {1} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_loadable_json [0.002772s] ... ok {1} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content [0.001919s] ... ok {1} oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer [0.002406s] ... ok WARNING [oslo_policy.policy] Policy Rules ['admin', 'owner'] specified in policy files are the same as the defaults provided by the service. You can remove these rules from policy files which will make maintenance easier. You can detect these redundant rules by ``oslopolicy-list-redundant`` tool also. WARNING [oslo_policy.policy] Policies ['foo', 'bar'] are part of a cyclical reference. {1} oslo_policy.tests.test_generator.ListRedundantTestCase.test_matched_rules [0.004219s] ... ok {1} oslo_policy.tests.test_generator.ValidatorTestCase.test_cyclical_reference [0.003484s] ... ok {1} oslo_policy.tests.test_generator.ValidatorTestCase.test_false_okay [0.002916s] ... ok {1} oslo_policy.tests.test_generator.ValidatorTestCase.test_success [0.005438s] ... ok {1} oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_enforce_scope [0.000982s] ... ok {1} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_empty [0.000285s] ... ok {1} oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_list [0.000803s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_and_expr [0.000466s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_and_expr [0.000287s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_or_expr [0.000255s] ... ok {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_short [0.000480s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C [0.000295s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_1 [0.000902s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_2 [0.000318s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_2 [0.000313s] ... ok {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_3 [0.000288s] ... ok {1} oslo_policy.tests.test_policy.BaseCheckTypesTestCase.test_base_check_types_are_public [0.001845s] ... ok {1} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_with_rule [0.005523s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_check_string [0.003445s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_an_empty_policy_check_string [0.002098s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_for_removal_suppress_does_not_log_warning [0.016481s] ... ok /builddir/build/BUILD/oslo.policy-4.1.1/oslo_policy/policy.py:809: UserWarning: Policy "foo:create_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) {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_replace_with_empty_policy_check_string [0.018797s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_for_removal_must_include_deprecated_meta [0.001169s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_reason [0.000924s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecation_logic_is_only_performed_once_per_rule [0.001933s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_enforce_new_defaults_no_old_check_string [0.008171s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_both_new_and_old_policy [0.018475s] ... ok {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_method [0.001070s] ... ok {1} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_false [0.050312s] ... ok {1} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule [0.002625s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {1} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises [0.002451s] ... ok {1} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_rules [0.001316s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_subclassed_context_objects [0.001529s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_call_map_context_attributes [0.001823s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite_opts_registered [0.002608s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite [0.002176s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload [0.003792s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_overwrite_rules [0.000999s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. /builddir/build/BUILD/oslo.policy-4.1.1/oslo_policy/policy.py:1129: UserWarning: Policy "fake_rule": "role:test" failed scope check. The token used to make the request was system scoped but the policy requires ['project'] scope. This behavior may change in the future where using the intended scope is required warnings.warn(msg) /builddir/build/BUILD/oslo.policy-4.1.1/oslo_policy/policy.py:1129: UserWarning: Policy "fake_rule": "role:test" failed scope check. The token used to make the request was domain scoped but the policy requires ['project'] scope. This behavior may change in the future where using the intended scope is required warnings.warn(msg) WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_project_scope_type [0.001777s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_set_rules [0.002547s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_project_scope [0.001754s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope [0.001631s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_update_rules [0.000896s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_dir_caching_with_files_same_overwrite_false_opts_reg [0.001664s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory [0.001818s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice [0.003327s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_changed [0.002469s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_non_reversible_check [0.001281s] ... ok {1} oslo_policy.tests.test_policy.EnforcerTest.test_set_rules_type [0.000994s] ... ok {1} oslo_policy.tests.test_policy.RegisterCheckTestCase.test_register_check [0.000960s] ... ok {1} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_multiple_scope_types [0.000876s] ... ok {1} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_type_strings_fails [0.000885s] ... ok {1} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_obvious [0.001819s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {1} oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml_invalid_exc [0.000801s] ... ok {2} oslo_policy.tests.test_checks.AndCheckTestCase.test_add_check [0.001497s] ... ok {2} oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check [0.000362s] ... ok {2} oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check_decorator [0.000528s] ... ok {1} oslo_policy.tests.test_policy.RulesTestCase.test_str_true [0.000417s] ... ok {1} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters [0.002498s] ... ok {1} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_sorted [0.002892s] ... ok {1} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_owner [0.001679s] ... ok {1} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_scope [0.002035s] ... ok {1} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file_no_base [0.001402s] ... ok Invalid rules found {3} oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file [0.003618s] ... ok {3} oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_cache_with_permission_denied [0.003059s] ... ok {3} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_first_true [0.004792s] ... ok {3} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_second_true [0.000470s] ... ok {3} oslo_policy.tests.test_checks.GenericCheckTestCase.test_deep_credentials_dictionary_lookup [0.002088s] ... ok {3} oslo_policy.tests.test_checks.GenericCheckTestCase.test_entry_not_in_list_rejected [0.000989s] ... ok {3} oslo_policy.tests.test_checks.NotCheckTestCase.test_init [0.000762s] ... ok {2} oslo_policy.tests.test_checks.CheckTestCase.test_init [0.045568s] ... ok {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_accept [0.001811s] ... ok {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_mismatch [0.000917s] ... ok {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_mismatch [0.001022s] ... ok {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_cred_mismatch [0.000902s] ... ok {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_missing_role_does_not_matches [0.000884s] ... ok {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_list_accepted [0.000915s] ... ok {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_cred [0.000876s] ... ok {2} oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_takes_current_rule [0.000360s] ... ok {2} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_second_true [0.000319s] ... ok {3} oslo_policy.tests.test_checks.OrCheckTestCase.test_pop_check [0.000378s] ... ok {2} oslo_policy.tests.test_checks.RoleCheckTestCase.test_reject [0.001376s] ... ok {2} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_missing [0.006150s] ... ok {2} oslo_policy.tests.test_checks.TrueCheckTestCase.test_str [0.000285s] ... ok {2} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_with_rule_in_argument [0.003221s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_external.HttpCheckTestCase.test_reject [0.001994s] ... ok {2} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept [0.002031s] ... ok {2} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_true [0.001184s] ... ok {3} oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_does_not_take_current_rule [0.000650s] ... ok {3} oslo_policy.tests.test_checks.RoleCheckTestCase.test_accept [0.001143s] ... ok {3} oslo_policy.tests.test_checks.RoleCheckTestCase.test_format_value [0.000892s] ... ok {3} oslo_policy.tests.test_checks.RoleCheckTestCase.test_no_roles_case [0.000857s] ... ok {3} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_true [0.000926s] ... ok {3} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept [0.007766s] ... ok {3} oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_objects_in_target [0.002573s] ... ok {3} oslo_policy.tests.test_external.HttpCheckTestCase.test_reject_with_rule_in_argument [0.002747s] ... ok {3} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify [0.002344s] ... ok {3} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_and_client_certs [0.004539s] ... ok {3} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_strings_in_target [0.003458s] ... ok {2} oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_default_rules_comment_out_in_yaml_file [0.043729s] ... ok WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content_stdout [0.001629s] ... ok {2} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_invalid_formatting [0.001484s] ... ok {2} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_paragraph_formatting [0.001495s] ... ok {2} oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer_missing [0.001638s] ... ok WARNING [oslo_policy.policy] Policies ['rule2_name', 'deprecated_rule1_name'] reference a rule that is not defined. {3} oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_converted_yaml_is_loadable [0.015285s] ... ok {3} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content [0.001725s] ... ok WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_config.cfg] Option "format" from group "DEFAULT" is deprecated for removal ( ``policy_file`` support for JSON formatted file is deprecated. So these tools also deprecate the support of generating or upgrading policy file in JSON format. ). Its value may be silently ignored in the future. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_stdout [0.022931s] ... ok {2} oslo_policy.tests.test_generator.ValidatorTestCase.test_invalid_syntax [0.003604s] ... ok WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. {2} oslo_policy.tests.test_generator.ValidatorTestCase.test_reference_nonexistent [0.002870s] ... ok {2} oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_two_opts [0.001019s] ... ok {2} oslo_policy.tests.test_parser.ParseCheckTestCase.test_check [0.008865s] ... ok {2} oslo_policy.tests.test_parser.ParseCheckTestCase.test_check_default [0.000328s] ... ok {2} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_multi [0.000452s] ... ok {2} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_oneele [0.000280s] ... ok {2} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_multi [0.000661s] ... ok {2} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_one [0.000794s] ... ok {2} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_two [0.000805s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_parser.ParseStateTestCase.test_result_empty [0.000384s] ... ok {2} oslo_policy.tests.test_parser.ParseStateTestCase.test_wrap_check [0.000241s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C [0.000365s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_2 [0.000310s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_5 [0.000334s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_6 [0.000303s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_and_D [0.000323s] ... ok {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C [0.000266s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_fail [0.000722s] ... ok {2} oslo_policy.tests.test_parser.ParseTokenizeTestCase.test_tokenize [0.000293s] ... ok {2} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_explicit [0.001525s] ... ok {2} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_rule_not_exist_not_empty_policy_file [0.001285s] ... ok {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_does_not_log_warning [0.001787s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_logs_warning_when_overridden [0.001835s] ... ok {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_check_str_suppress_does_not_log_warning [0.001626s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_name_suppress_does_not_log_warning [0.001692s] ... ok {3} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_json_file_log_warning [0.059113s] ... ok {3} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_with_same_name [0.001777s] ... ok {3} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_empty_line_formatting [0.001500s] ... ok {3} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_generate_loadable_yaml [0.006219s] ... ok {3} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_policies_deprecated_for_removal [0.001446s] ... ok {3} oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_call_with_no_arguments_raises_error [0.001062s] ... ok {3} oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_raises_error [0.000593s] ... ok WARNING [oslo_config.cfg] Option "format" from group "DEFAULT" is deprecated for removal ( ``policy_file`` support for JSON formatted file is deprecated. So these tools also deprecate the support of generating or upgrading policy file in JSON format. ). Its value may be silently ignored in the future. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {3} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_file [0.006313s] ... ok {3} oslo_policy.tests.test_generator.ValidatorTestCase.test_nonexistent [0.006070s] ... ok {3} oslo_policy.tests.test_parser.ParseCheckTestCase.test_bad_rule [0.004428s] ... ok {3} oslo_policy.tests.test_parser.ParseCheckTestCase.test_no_handler [0.001497s] ... ok {3} oslo_policy.tests.test_parser.ParseCheckTestCase.test_true [0.000359s] ... ok {3} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_oneele [0.000391s] ... ok {3} oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_string [0.000864s] ... ok {3} oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_parse_state_meta [0.000518s] ... ok {3} oslo_policy.tests.test_parser.ParseStateTestCase.test_init [0.000524s] ... ok {3} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_not_expr [0.000499s] ... ok {3} oslo_policy.tests.test_parser.ParseStateTestCase.test_shift [0.002677s] ... ok {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_and_D [0.000540s] ... ok {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_and_D [0.000773s] ... ok {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_or_D [0.000576s] ... ok {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_1 [0.000673s] ... ok {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_7 [0.001335s] ... ok {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C [0.000533s] ... ok {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_or_D [0.000600s] ... ok {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_empty [0.000511s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {3} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_no_rules [0.001861s] ... ok {3} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_default [0.001258s] ... ok {3} oslo_policy.tests.test_policy.DeprecatedRuleTestCase.test_should_include_deprecated_meta [0.001403s] ... ok {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_suppress_default_change_warnings_flag_not_log_warning [0.062415s] ... ok {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_contain_operations [0.001075s] ... ok {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_path [0.000931s] ... ok {2} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules_raises [0.003200s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_directory [0.001628s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_clear [0.000960s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_name [0.002609s] ... ok {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_should_not_include_deprecated_meta [0.001448s] ... ok {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_name [0.004939s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_rule [0.002543s] ... ok {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_description_not_empty [0.001063s] ... ok {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_contain_method_and_path_only [0.001333s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforce_scope_with_subclassed_checks_when_scope_not_set [0.017312s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_default_rule_name [0.001346s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite [0.001838s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_policy_file [0.001086s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_rule [0.001153s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_policy_file [0.000993s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_is_emptied [0.002159s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_registered [0.001841s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_consolidates_context_attributes_with_creds [0.003709s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_does_not_modify_original_registered_rule [0.001120s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite_opts_registered [0.002850s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. /builddir/build/BUILD/oslo.policy-4.1.1/oslo_policy/policy.py:1129: UserWarning: Policy "fake_rule": "role:test" failed scope check. The token used to make the request was system scoped but the policy requires ['domain'] scope. This behavior may change in the future where using the intended scope is required warnings.warn(msg) /builddir/build/BUILD/oslo.policy-4.1.1/oslo_policy/policy.py:1129: UserWarning: Policy "fake_rule": "role:test" failed scope check. The token used to make the request was project scoped but the policy requires ['domain'] scope. This behavior may change in the future where using the intended scope is required warnings.warn(msg) {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_domain_scope_type [0.002745s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same [0.034302s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_but_overwrite_false [0.001615s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_opts_registered [0.001731s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated [0.002102s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated_opts_registered [0.007165s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_opts_registered [0.001802s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory [0.001455s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_clear [0.002084s] ... ok {2} oslo_policy.tests.test_policy.EnforcerTest.test_warning_on_redundant_file_rules [0.003192s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_system_scope_type [0.042104s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_register_twice_raises [0.001159s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_rejects_non_context_objects [0.001667s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_domain_scope [0.001427s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_update [0.002043s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_load_file [0.001182s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. /builddir/build/BUILD/oslo.policy-4.1.1/oslo_policy/policy.py:1129: UserWarning: Policy "fake_rule": "role:test" failed scope check. The token used to make the request was domain scoped but the policy requires ['system'] scope. This behavior may change in the future where using the intended scope is required warnings.warn(msg) /builddir/build/BUILD/oslo.policy-4.1.1/oslo_policy/policy.py:1129: UserWarning: Policy "fake_rule": "role:test" failed scope check. The token used to make the request was project scoped but the policy requires ['system'] scope. This behavior may change in the future where using the intended scope is required warnings.warn(msg) WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {2} oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_no_fallback_to_json_file [0.035210s] ... ok {2} oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_old_default_policy_file_exist [0.001975s] ... ok {2} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_ensure_scope_types_are_unique [0.001006s] ... ok {2} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equal_subclass [0.000973s] ... ok {2} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_class [0.000910s] ... ok {2} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_rule_is_parsed [0.000901s] ... ok {2} oslo_policy.tests.test_policy.RulesTestCase.test_init [0.001184s] ... ok {2} oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_dict [0.001134s] ... ok {2} oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_file [0.001102s] ... ok {2} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_custom_target [0.002802s] ... ok {2} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_scope_types [0.000455s] ... ok {2} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_multiple_config_files [0.001463s] ... ok Failed to parse rule: (bar)) Invalid rules found WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {3} oslo_policy.tests.test_policy.EnforcerTest.test_load_file_opts_registered [0.042862s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_load_json_file_log_warning [0.002786s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories_opts_registered [0.002049s] ... ok {3} oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory_opts_registered [0.002363s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {3} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice [0.001936s] ... ok WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. {3} oslo_policy.tests.test_policy.EnforcerTest.test_rule_with_check [0.001238s] ... ok {3} oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_new_default_policy_file_exist [0.002095s] ... ok {3} oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_overridden_policy_file [0.001535s] ... ok {3} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_subclass [0.000916s] ... ok {3} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_str [0.000870s] ... ok {3} oslo_policy.tests.test_policy.RulesTestCase.test_from_dict [0.000300s] ... ok {3} oslo_policy.tests.test_policy.RulesTestCase.test_init_basic [0.000242s] ... ok {3} oslo_policy.tests.test_policy.RulesTestCase.test_load_empty_data [0.000345s] ... ok {3} oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml [0.000798s] ... ok {3} oslo_policy.tests.test_policy.RulesTestCase.test_missing_default [0.000310s] ... ok {3} oslo_policy.tests.test_policy.RulesTestCase.test_retrieval [0.000240s] ... ok {3} oslo_policy.tests.test_policy.RulesTestCase.test_str [0.000264s] ... ok {3} oslo_policy.tests.test_shell.CheckerTestCase.test_all_nonadmin [0.001492s] ... ok Unknown rule found in policy file: baz ====== Totals ====== Ran: 343 tests in 1.0918 sec. - Passed: 343 - Skipped: 0 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 1.2738 sec. ============== Worker Balance ============== - Worker 0 (86 tests) => 0:00:00.341287 - Worker 1 (86 tests) => 0:00:00.315591 - Worker 2 (86 tests) => 0:00:00.388463 - Worker 3 (85 tests) => 0:00:00.394983 Processing files: python3-oslo-policy-4.1.1-0.20230223082520.043db50.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TXcasw + RPM_EC=0 ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-4.1.1 + DOCDIR=/builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/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-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/share/doc/python3-oslo-policy + cp -pr README.rst /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/share/doc/python3-oslo-policy + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.nGQdeg + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-4.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/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-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/share/licenses/python3-oslo-policy + cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/share/licenses/python3-oslo-policy + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-oslo-policy = 4.1.1-0.20230223082520.043db50.el9 python3-oslo-policy = 4.1.1-0.20230223082520.043db50.el9 python3.9-oslo-policy = 4.1.1-0.20230223082520.043db50.el9 python3.9dist(oslo-policy) = 4.1.1 python3.9dist(oslo.policy) = 4.1.1 python3dist(oslo-policy) = 4.1.1 python3dist(oslo.policy) = 4.1.1 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.9 python3.9dist(setuptools) Obsoletes: python-oslo-policy < 4.1.1-0.20230223082520.043db50.el9 python2-oslo-policy < 4.1.1-0.20230223082520.043db50.el9 python39-oslo-policy < 4.1.1-0.20230223082520.043db50.el9 Processing files: python-oslo-policy-doc-4.1.1-0.20230223082520.043db50.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6WDc8a + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-4.1.1 + DOCDIR=/builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/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-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/share/doc/python-oslo-policy-doc + cp -pr doc/build/html /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/share/doc/python-oslo-policy-doc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.0cV5ua + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-4.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/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-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/share/licenses/python-oslo-policy-doc + cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/share/licenses/python-oslo-policy-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-oslo-policy-doc = 4.1.1-0.20230223082520.043db50.el9 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-4.1.1-0.20230223082520.043db50.el9.noarch Provides: python-oslo-policy = 4.1.1-0.20230223082520.043db50.el9 python-oslo-policy-tests = 4.1.1-0.20230223082520.043db50.el9 python3-oslo-policy-tests = 4.1.1-0.20230223082520.043db50.el9 python3.9-oslo-policy = 4.1.1-0.20230223082520.043db50.el9 python3.9-oslo-policy-tests = 4.1.1-0.20230223082520.043db50.el9 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.9 Obsoletes: python-oslo-policy < 4.1.1-0.20230223082520.043db50.el9 python39-oslo-policy-tests < 4.1.1-0.20230223082520.043db50.el9 Processing files: python-oslo-policy-lang-4.1.1-0.20230223082520.043db50.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.e6kFYM + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-4.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/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-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/share/licenses/python-oslo-policy-lang + cp -pr LICENSE /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64/usr/share/licenses/python-oslo-policy-lang + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-oslo-policy-lang = 4.1.1-0.20230223082520.043db50.el9 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-4.1.1-0.20230223082520.043db50.el9.x86_64 Wrote: /builddir/build/RPMS/python-oslo-policy-lang-4.1.1-0.20230223082520.043db50.el9.noarch.rpm Wrote: /builddir/build/RPMS/python3-oslo-policy-4.1.1-0.20230223082520.043db50.el9.noarch.rpm Wrote: /builddir/build/RPMS/python3-oslo-policy-tests-4.1.1-0.20230223082520.043db50.el9.noarch.rpm Wrote: /builddir/build/RPMS/python-oslo-policy-doc-4.1.1-0.20230223082520.043db50.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WshaXo + umask 022 + cd /builddir/build/BUILD + cd oslo.policy-4.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-oslo-policy-4.1.1-0.20230223082520.043db50.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0