Diff of the two buildlogs: -- --- b1/build.log 2024-12-19 17:11:45.396956853 +0000 +++ b2/build.log 2024-12-19 17:13:45.167573639 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Dec 19 05:10:01 -12 2024 -I: pbuilder-time-stamp: 1734628201 +I: Current time: Fri Dec 20 07:11:48 +14 2024 +I: pbuilder-time-stamp: 1734628308 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,84 @@ dpkg-source: info: applying fix-external-link-broken.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1360263/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3734512/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Dec 19 17:11 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3734512/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3734512/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='d17b1142c10f4c82a4717f1d7eb063c5' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1360263' - PS1='# ' - PS2='> ' + INVOCATION_ID=b1644d9bc09a409baaf20fd84ad25b31 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3734512 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.oo8PuHhq/pbuilderrc_HQpb --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.oo8PuHhq/b1 --logfile b1/build.log python-oslo.policy_4.4.0-3.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.oo8PuHhq/pbuilderrc_6mHE --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.oo8PuHhq/b2 --logfile b2/build.log python-oslo.policy_4.4.0-3.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1360263/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/3734512/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -352,7 +384,7 @@ Get: 194 http://deb.debian.org/debian unstable/main arm64 python3-sphinxcontrib.apidoc all 0.3.0-5 [7796 B] Get: 195 http://deb.debian.org/debian unstable/main arm64 python3-testrepository all 0.0.21-3 [64.6 kB] Get: 196 http://deb.debian.org/debian unstable/main arm64 testrepository all 0.0.21-3 [20.8 kB] -Fetched 59.9 MB in 0s (167 MB/s) +Fetched 59.9 MB in 0s (120 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20084 files and directories currently installed.) @@ -985,8 +1017,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Dec 19 17:10:29 UTC 2024. -Universal Time is now: Thu Dec 19 17:10:29 UTC 2024. +Local time is now: Thu Dec 19 17:12:15 UTC 2024. +Universal Time is now: Thu Dec 19 17:12:15 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:arm64 (3.13.1-2) ... @@ -1183,7 +1215,11 @@ fakeroot is already the newest version (1.36-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/python-oslo.policy-4.4.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../python-oslo.policy_4.4.0-3_source.changes +I: user script /srv/workspace/pbuilder/3734512/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3734512/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/python-oslo.policy-4.4.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../python-oslo.policy_4.4.0-3_source.changes dpkg-buildpackage: info: source package python-oslo.policy dpkg-buildpackage: info: source version 4.4.0-3 dpkg-buildpackage: info: source distribution unstable @@ -1310,155 +1346,124 @@ + PYTHON3S=disabled + TEST_PARALLEL_OPT=--parallel + TEST_SERIAL_OPT= -+ echo WARNING: --no-py2 is deprecated, and always on. ++ for i in $@ ++ case "${1}" in ++ echo 'WARNING: --no-py2 is deprecated, and always on.' WARNING: --no-py2 is deprecated, and always on. + shift -+ py3versions -vr -+ PYTHON3S=3.13 3.12 -+ [ yes = no ] -+ [ no = yes ] -+ [ 3.13 = disabled ] -+ + cut -d. -f1 -echo 3.13 ++ for i in $@ ++ case "${1}" in +++ py3versions -vr ++ PYTHON3S='3.13 3.12' ++ '[' yes = no ']' ++ '[' no = yes ']' ++ for pyvers in ${PYTHON3S} ++ '[' 3.13 = disabled ']' +++ echo 3.13 +++ cut -d. -f1 + PYMAJOR=3 -+ echo ===> Testing with python (python3) ++ echo '===> Testing with python (python3)' ===> Testing with python (python3) -+ pwd -+ [ -d /build/reproducible-path/python-oslo.policy-4.4.0/debian/tmp/usr/lib/python3/dist-packages ] -+ [ -e .stestr.conf ] -+ [ -x /usr/bin/python3-stestr ] +++ pwd ++ '[' -d /build/reproducible-path/python-oslo.policy-4.4.0/debian/tmp/usr/lib/python3/dist-packages ']' ++ '[' -e .stestr.conf ']' ++ '[' -x /usr/bin/python3-stestr ']' + STESTR=stestr + rm -rf .stestr -+ + subunit2pyunit -PYTHON=python3.13 stestr run --parallel --subunit oslo_policy\.tests\.(?!(.*test_fixtures\.FixtureTestCase\.test_enforce_http_true.*|.*test_fixtures\.FixtureTestCase\.test_enforce_https_true.*|.*test_policy\.EnforcerTest\.test_enforcer_understands_domain_scope.*|.*test_policy\.EnforcerTest\.test_enforcer_raises_invalid_scope_with_project_scope_type.*)) - 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. -oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content -oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content ... 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. -oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content_stdout -oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content_stdout ... 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. -oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_json_file_log_warning -oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_json_file_log_warning ... 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. ++ PYTHON=python3.13 ++ subunit2pyunit ++ stestr run --parallel --subunit 'oslo_policy\.tests\.(?!(.*test_fixtures\.FixtureTestCase\.test_enforce_http_true.*|.*test_fixtures\.FixtureTestCase\.test_enforce_https_true.*|.*test_policy\.EnforcerTest\.test_enforcer_understands_domain_scope.*|.*test_policy\.EnforcerTest\.test_enforcer_raises_invalid_scope_with_project_scope_type.*))' +oslo_policy.tests.test_checks.RoleCheckTestCase.test_accept +oslo_policy.tests.test_checks.RoleCheckTestCase.test_accept ... ok +oslo_policy.tests.test_checks.RoleCheckTestCase.test_format_value +oslo_policy.tests.test_checks.RoleCheckTestCase.test_format_value ... ok +oslo_policy.tests.test_checks.RoleCheckTestCase.test_no_roles_case +oslo_policy.tests.test_checks.RoleCheckTestCase.test_no_roles_case ... ok +oslo_policy.tests.test_checks.RoleCheckTestCase.test_reject +oslo_policy.tests.test_checks.RoleCheckTestCase.test_reject ... ok +oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer +oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer ... ok +oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer_missing +oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer_missing ... ok +oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_list +oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_list ... ok +oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_string +oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_string ... ok +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_both_default_policy_file_exist +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_both_default_policy_file_exist ... ok +oslo_policy.tests.test_checks.CheckTestCase.test_init +oslo_policy.tests.test_checks.CheckTestCase.test_init ... ok +oslo_policy.tests.test_checks.CheckTestCase.test_str +oslo_policy.tests.test_checks.CheckTestCase.test_str ... ok +oslo_policy.tests.test_checks.OrCheckTestCase.test_add_check +oslo_policy.tests.test_checks.OrCheckTestCase.test_add_check ... ok +oslo_policy.tests.test_checks.OrCheckTestCase.test_call_all_false +oslo_policy.tests.test_checks.OrCheckTestCase.test_call_all_false ... ok +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_no_fallback_to_json_file +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_no_fallback_to_json_file ... ok +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_new_default_policy_file_exist +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_new_default_policy_file_exist ... ok +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_old_default_policy_file_exist +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_old_default_policy_file_exist ... ok +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_overridden_policy_file +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_overridden_policy_file ... ok +oslo_policy.tests.test_checks.OrCheckTestCase.test_call_first_true +oslo_policy.tests.test_checks.OrCheckTestCase.test_call_first_true ... ok +oslo_policy.tests.test_checks.OrCheckTestCase.test_call_second_true +oslo_policy.tests.test_checks.OrCheckTestCase.test_call_second_true ... ok +oslo_policy.tests.test_checks.OrCheckTestCase.test_init +oslo_policy.tests.test_checks.OrCheckTestCase.test_init ... ok +oslo_policy.tests.test_checks.OrCheckTestCase.test_pop_check +oslo_policy.tests.test_checks.OrCheckTestCase.test_pop_check ... ok +oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_does_not_take_current_rule +oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_does_not_take_current_rule ... ok +oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_takes_current_rule +oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_takes_current_rule ... ok +oslo_policy.tests.test_checks.OrCheckTestCase.test_str +oslo_policy.tests.test_checks.OrCheckTestCase.test_str ... ok + WARNING [oslo_policy.policy] Policies ['foo', 'bar'] are part of a cyclical reference. +oslo_policy.tests.test_generator.ValidatorTestCase.test_cyclical_reference +oslo_policy.tests.test_generator.ValidatorTestCase.test_cyclical_reference ... ok +oslo_policy.tests.test_generator.ValidatorTestCase.test_false_okay +oslo_policy.tests.test_generator.ValidatorTestCase.test_false_okay ... 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] 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. 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. -oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_loadable_json -oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_loadable_json ... ok -oslo_policy.tests.test_parser.ParseCheckTestCase.test_bad_rule -oslo_policy.tests.test_parser.ParseCheckTestCase.test_bad_rule ... ok -oslo_policy.tests.test_parser.ParseCheckTestCase.test_check -oslo_policy.tests.test_parser.ParseCheckTestCase.test_check ... ok - WARNING [oslo_policy.policy] Policies ['rule2_name', 'deprecated_rule1_name'] reference a rule that is not defined. -oslo_policy.tests.test_parser.ParseCheckTestCase.test_check_default -oslo_policy.tests.test_parser.ParseCheckTestCase.test_check_default ... ok -oslo_policy.tests.test_parser.ParseCheckTestCase.test_false -oslo_policy.tests.test_parser.ParseCheckTestCase.test_false ... ok -oslo_policy.tests.test_parser.ParseCheckTestCase.test_no_handler -oslo_policy.tests.test_parser.ParseCheckTestCase.test_no_handler ... ok -oslo_policy.tests.test_parser.ParseCheckTestCase.test_true -oslo_policy.tests.test_parser.ParseCheckTestCase.test_true ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_contain_operations -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_contain_operations ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_description_not_empty -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_description_not_empty ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_multiple_operations -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_multiple_operations ... ok -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_json_to_yaml_file -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_json_to_yaml_file ... ok -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_policy_to_stdout -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_policy_to_stdout ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list_of_dicts -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list_of_dicts ... ok -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_converted_yaml_is_loadable -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_converted_yaml_is_loadable ... 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. -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_contain_method_and_path_only -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_contain_method_and_path_only ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_method -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_method ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_path -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_path ... ok -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_default_rules_comment_out_in_yaml_file -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_default_rules_comment_out_in_yaml_file ... ok -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_existing_deprecated_rules_kept_uncommented_in_yaml_file -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_existing_deprecated_rules_kept_uncommented_in_yaml_file ... ok -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_overridden_rules_uncommented_in_yaml_file -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_overridden_rules_uncommented_in_yaml_file ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_and_D -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_and_D ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_or_D -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_or_D ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_and_D -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_and_D ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_or_D -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_or_D ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_1 -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_1 ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_2 -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_2 ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_1 -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_1 ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_2 -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_2 ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_3 -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_3 ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_4 -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_4 ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_5 -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_5 ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_not_empty_list -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_not_empty_list ... ok -oslo_policy.tests.test_policy.RegisterCheckTestCase.test_register_check -oslo_policy.tests.test_policy.RegisterCheckTestCase.test_register_check ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_6 -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_6 ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_7 -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_7 ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_8 -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_8 ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_1 -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_1 ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_2 -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_2 ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_3 -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_3 ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_and_D -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_and_D ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_or_D -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_or_D ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_and_D -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_and_D ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_or_D -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_or_D ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_empty -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_empty ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_fail -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_fail ... ok -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_shifts -oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_shifts ... 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] Policies ['rule2_name', 'deprecated_rule1_name'] 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. +oslo_policy.tests.test_generator.ValidatorTestCase.test_invalid_syntax +oslo_policy.tests.test_generator.ValidatorTestCase.test_invalid_syntax ... ok +oslo_policy.tests.test_generator.ValidatorTestCase.test_missing_policy_file +oslo_policy.tests.test_generator.ValidatorTestCase.test_missing_policy_file ... ok +oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_call_with_no_arguments_raises_error +oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_call_with_no_arguments_raises_error ... ok +oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_raises_error +oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_raises_error ... ok +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_explicit +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_explicit ... ok +oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_false +oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_false ... ok +oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_false +oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_false ... ok +oslo_policy.tests.test_generator.ValidatorTestCase.test_nonexistent +oslo_policy.tests.test_generator.ValidatorTestCase.test_nonexistent ... ok +oslo_policy.tests.test_generator.ValidatorTestCase.test_reference_nonexistent +oslo_policy.tests.test_generator.ValidatorTestCase.test_reference_nonexistent ... ok +oslo_policy.tests.test_generator.ValidatorTestCase.test_success +oslo_policy.tests.test_generator.ValidatorTestCase.test_success ... ok oslo_policy.tests.test_policy.RulesTestCase.test_from_dict oslo_policy.tests.test_policy.RulesTestCase.test_from_dict ... ok oslo_policy.tests.test_policy.RulesTestCase.test_init @@ -1471,6 +1476,56 @@ oslo_policy.tests.test_policy.RulesTestCase.test_load_json ... ok oslo_policy.tests.test_policy.RulesTestCase.test_load_json_deprecated oslo_policy.tests.test_policy.RulesTestCase.test_load_json_deprecated ... ok +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_json_to_yaml_file +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_json_to_yaml_file ... ok +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_policy_to_stdout +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_policy_to_stdout ... ok +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_converted_yaml_is_loadable +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_converted_yaml_is_loadable ... ok +oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file +oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file ... ok +oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file_with_updates +oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file_with_updates ... ok +oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_cache_with_permission_denied +oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_cache_with_permission_denied ... ok +oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_on_removed_file +oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_on_removed_file ... ok +oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_false +oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_false ... ok +oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_missing +oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_missing ... ok +oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_true +oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_true ... ok +oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_enforce_scope +oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_enforce_scope ... ok +oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_policy_file +oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_policy_file ... ok +oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_two_opts +oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_two_opts ... ok +oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_minimal +oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_minimal ... ok +oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_description +oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_description ... 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.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.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. + 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. +oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_operations +oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_operations ... ok +oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_scope_types +oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_scope_types ... ok oslo_policy.tests.test_policy.RulesTestCase.test_load_json_invalid_exc oslo_policy.tests.test_policy.RulesTestCase.test_load_json_invalid_exc ... ok oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml @@ -1489,120 +1544,44 @@ oslo_policy.tests.test_policy.RulesTestCase.test_str_true ... ok oslo_policy.tests.test_policy.RulesTestCase.test_with_default oslo_policy.tests.test_policy.RulesTestCase.test_with_default ... ok -oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_multiple_config_files -oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_multiple_config_files ... ok -oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file -oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file ... ok -oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file_with_updates -oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file_with_updates ... ok -oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_cache_with_permission_denied -oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_cache_with_permission_denied ... ok -oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_on_removed_file -oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_on_removed_file ... ok -oslo_policy.tests.test_checks.OrCheckTestCase.test_add_check -oslo_policy.tests.test_checks.OrCheckTestCase.test_add_check ... ok -oslo_policy.tests.test_checks.OrCheckTestCase.test_call_all_false -oslo_policy.tests.test_checks.OrCheckTestCase.test_call_all_false ... ok -oslo_policy.tests.test_checks.OrCheckTestCase.test_call_first_true -oslo_policy.tests.test_checks.OrCheckTestCase.test_call_first_true ... ok -oslo_policy.tests.test_checks.OrCheckTestCase.test_call_second_true -oslo_policy.tests.test_checks.OrCheckTestCase.test_call_second_true ... ok -oslo_policy.tests.test_checks.OrCheckTestCase.test_init -oslo_policy.tests.test_checks.OrCheckTestCase.test_init ... ok -oslo_policy.tests.test_checks.OrCheckTestCase.test_pop_check -oslo_policy.tests.test_checks.OrCheckTestCase.test_pop_check ... ok -oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file -oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file ... ok -oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file_no_base -oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file_no_base ... ok -oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_does_not_take_current_rule -oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_does_not_take_current_rule ... ok -oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_takes_current_rule -oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_takes_current_rule ... ok -oslo_policy.tests.test_checks.OrCheckTestCase.test_str -oslo_policy.tests.test_checks.OrCheckTestCase.test_str ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_are_aliased_to_new_names -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_are_aliased_to_new_names ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_with_same_name -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_with_same_name ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_empty_line_formatting -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_empty_line_formatting ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content_stdout -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content_stdout ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_generate_loadable_yaml -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_generate_loadable_yaml ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_invalid_formatting -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_invalid_formatting ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_literal_block_formatting -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_literal_block_formatting ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_paragraph_formatting -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_paragraph_formatting ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_policies_deprecated_for_removal -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_policies_deprecated_for_removal ... ok -oslo_policy.tests.test_policy.BaseCheckTypesTestCase.test_base_check_types_are_public -oslo_policy.tests.test_policy.BaseCheckTypesTestCase.test_base_check_types_are_public ... 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. +Invalid rules found +Failed to parse rule: (bar)) +Configured policy file "bogus.yaml" not found +Unknown rule found in policy file: baz +Invalid rules found oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check ... ok oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check_decorator oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check_decorator ... ok -oslo_policy.tests.test_checks.FalseCheckTestCase.test_call -oslo_policy.tests.test_checks.FalseCheckTestCase.test_call ... ok -oslo_policy.tests.test_checks.FalseCheckTestCase.test_str -oslo_policy.tests.test_checks.FalseCheckTestCase.test_str ... 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.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. -oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_not_registered -oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_not_registered ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_registered -oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_registered ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_clear -oslo_policy.tests.test_policy.EnforcerTest.test_clear ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_clear_opts_registered -oslo_policy.tests.test_policy.EnforcerTest.test_clear_opts_registered ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforce_scope_with_subclassed_checks_when_scope_not_set -oslo_policy.tests.test_policy.EnforcerTest.test_enforce_scope_with_subclassed_checks_when_scope_not_set ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_context_objects -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_context_objects ... 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.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. -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_policy_values_from_context -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_policy_values_from_context ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_subclassed_context_objects -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_subclassed_context_objects ... 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. +/build/reproducible-path/python-oslo.policy-4.4.0/oslo_policy/policy.py:814: 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) + 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] 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. -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_call_map_context_attributes -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_call_map_context_attributes 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. - ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_consolidates_context_attributes_with_creds -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_consolidates_context_attributes_with_creds ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_default_rule_name -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_default_rule_name ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_does_not_modify_original_registered_rule -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_does_not_modify_original_registered_rule ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_false -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_false ... 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. @@ -1614,49 +1593,58 @@ 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. -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite ... 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. -oslo_policy.tests.test_checks.AndCheckTestCase.test_add_check -oslo_policy.tests.test_checks.AndCheckTestCase.test_add_check ... ok -oslo_policy.tests.test_checks.AndCheckTestCase.test_call_all_false -oslo_policy.tests.test_checks.AndCheckTestCase.test_call_all_false ... ok -oslo_policy.tests.test_checks.AndCheckTestCase.test_call_first_true -oslo_policy.tests.test_checks.AndCheckTestCase.test_call_first_true ... ok -oslo_policy.tests.test_checks.AndCheckTestCase.test_call_second_true -oslo_policy.tests.test_checks.AndCheckTestCase.test_call_second_true ... ok -oslo_policy.tests.test_checks.AndCheckTestCase.test_init -oslo_policy.tests.test_checks.AndCheckTestCase.test_init ... ok -oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_does_not_take_current_rule -oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_does_not_take_current_rule ... 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. -oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_takes_current_rule -oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_takes_current_rule ... ok -oslo_policy.tests.test_checks.AndCheckTestCase.test_str -oslo_policy.tests.test_checks.AndCheckTestCase.test_str ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_accept +oslo_policy.tests.test_checks.GenericCheckTestCase.test_accept ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_accept +oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_accept ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_mismatch +oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_mismatch ... ok oslo_policy.tests.test_checks.NotCheckTestCase.test_call_false oslo_policy.tests.test_checks.NotCheckTestCase.test_call_false ... ok oslo_policy.tests.test_checks.NotCheckTestCase.test_call_true oslo_policy.tests.test_checks.NotCheckTestCase.test_call_true ... ok oslo_policy.tests.test_checks.NotCheckTestCase.test_init oslo_policy.tests.test_checks.NotCheckTestCase.test_init ... 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. oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_does_not_take_current_rule oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_does_not_take_current_rule ... ok oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_takes_current_rule -oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_takes_current_rule ... 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. -ok +oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_takes_current_rule ... ok oslo_policy.tests.test_checks.NotCheckTestCase.test_str oslo_policy.tests.test_checks.NotCheckTestCase.test_str ... ok -oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_parse_state_meta -oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_parse_state_meta ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite_opts_registered -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite_opts_registered ... ok +oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept +oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept ... ok +oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_json +oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_json ... ok +oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify +oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify ... ok +oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_and_client_certs +oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_and_client_certs ... ok +oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_cert +oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_cert ... ok +oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_reject +oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_reject ... ok + WARNING [oslo_config.cfg] Deprecated: 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. +oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_objects_in_target +oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_objects_in_target ... 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. +oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_strings_in_target +oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_strings_in_target ... 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. +oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content +oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content ... 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. +oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content_stdout +oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content_stdout ... ok +oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_json_file_log_warning +oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_json_file_log_warning ... ok +oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_loadable_json +oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_loadable_json ... 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. @@ -1670,40 +1658,91 @@ 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.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. 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. +oslo_policy.tests.test_checks.TrueCheckTestCase.test_call +oslo_policy.tests.test_checks.TrueCheckTestCase.test_call ... ok +oslo_policy.tests.test_checks.TrueCheckTestCase.test_str +oslo_policy.tests.test_checks.TrueCheckTestCase.test_str ... ok +oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules +oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_and_expr +oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_and_expr ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_or_expr +oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_or_expr ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_init +oslo_policy.tests.test_parser.ParseStateTestCase.test_init ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_make_and_expr +oslo_policy.tests.test_parser.ParseStateTestCase.test_make_and_expr ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_make_not_expr +oslo_policy.tests.test_parser.ParseStateTestCase.test_make_not_expr ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_make_or_expr +oslo_policy.tests.test_parser.ParseStateTestCase.test_make_or_expr ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_multi +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_multi ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_none +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_none ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_one +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_one ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_short +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_short ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_two +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_two ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_result +oslo_policy.tests.test_parser.ParseStateTestCase.test_result ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_result_empty +oslo_policy.tests.test_parser.ParseStateTestCase.test_result_empty ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_result_unreduced +oslo_policy.tests.test_parser.ParseStateTestCase.test_result_unreduced ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_shift +oslo_policy.tests.test_parser.ParseStateTestCase.test_shift ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_wrap_check +oslo_policy.tests.test_parser.ParseStateTestCase.test_wrap_check ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_not_registered +oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_not_registered ... 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. -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite_opts_registered -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite_opts_registered ... 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] Policy Rules ['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] 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. + 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] Policy Rules ['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] 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.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. /build/reproducible-path/python-oslo.policy-4.4.0/oslo_policy/policy.py:1134: 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) /build/reproducible-path/python-oslo.policy-4.4.0/oslo_policy/policy.py:1134: 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) 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. /build/reproducible-path/python-oslo.policy-4.4.0/oslo_policy/policy.py:1134: 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) 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. @@ -1712,24 +1751,36 @@ warnings.warn(msg) /build/reproducible-path/python-oslo.policy-4.4.0/oslo_policy/policy.py:1134: 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) -/build/reproducible-path/python-oslo.policy-4.4.0/oslo_policy/policy.py:814: 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) -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload ... ok -oslo_policy.tests.test_checks.CheckTestCase.test_init -oslo_policy.tests.test_checks.CheckTestCase.test_init ... ok -oslo_policy.tests.test_checks.CheckTestCase.test_str -oslo_policy.tests.test_checks.CheckTestCase.test_str ... ok -oslo_policy.tests.test_external.HttpCheckTestCase.test_accept -oslo_policy.tests.test_external.HttpCheckTestCase.test_accept ... ok -oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_json -oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_json ... ok -oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_with_rule_in_argument -oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_with_rule_in_argument ... ok -oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_objects_in_target -oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_objects_in_target ... ok -oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_reducer -oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_reducer ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_registered +oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_registered ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_clear +oslo_policy.tests.test_policy.EnforcerTest.test_clear ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_clear_opts_registered +oslo_policy.tests.test_policy.EnforcerTest.test_clear_opts_registered ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforce_scope_with_subclassed_checks_when_scope_not_set +oslo_policy.tests.test_policy.EnforcerTest.test_enforce_scope_with_subclassed_checks_when_scope_not_set ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_context_objects +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_context_objects ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_policy_values_from_context +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_policy_values_from_context ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_subclassed_context_objects +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_subclassed_context_objects ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_call_map_context_attributes +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_call_map_context_attributes ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_consolidates_context_attributes_with_creds +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_consolidates_context_attributes_with_creds ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_default_rule_name +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_default_rule_name ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_does_not_modify_original_registered_rule +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_does_not_modify_original_registered_rule ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_false +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_false ... ok +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_default_rules_comment_out_in_yaml_file +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_default_rules_comment_out_in_yaml_file ... ok +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_existing_deprecated_rules_kept_uncommented_in_yaml_file +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_existing_deprecated_rules_kept_uncommented_in_yaml_file ... ok +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_overridden_rules_uncommented_in_yaml_file +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_overridden_rules_uncommented_in_yaml_file ... ok oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_check_string oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_check_string ... ok oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_does_not_log_warning @@ -1737,11 +1788,9 @@ oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_logs_warning_when_overridden oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_logs_warning_when_overridden ... ok oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_name -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_name 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. - ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_name ... ok oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_an_empty_policy_check_string oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_an_empty_policy_check_string ... 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. oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_check_str_suppress_does_not_log_warning oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_check_str_suppress_does_not_log_warning ... ok oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_for_removal_suppress_does_not_log_warning @@ -1750,56 +1799,47 @@ oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_name_suppress_does_not_log_warning ... ok oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_replace_with_empty_policy_check_string oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_replace_with_empty_policy_check_string ... 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. oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_for_removal_must_include_deprecated_meta oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_for_removal_must_include_deprecated_meta ... ok oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_reason oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_reason ... 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. oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_should_not_include_deprecated_meta oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_should_not_include_deprecated_meta ... ok -oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_false -oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_false ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload_opts_registered -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload_opts_registered WARNING [oslo_policy.policy] Policies ['foo', 'bar'] are part of a cyclical reference. - ... 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. -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_overwrite_rules -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_overwrite_rules ... 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. -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_domain_scope_type -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_domain_scope_type ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_subclassed_checks -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_subclassed_checks ... 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. -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_system_scope_type -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_system_scope_type ... 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. -oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_strings_in_target -oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_strings_in_target ... ok -oslo_policy.tests.test_external.HttpCheckTestCase.test_reject -oslo_policy.tests.test_external.HttpCheckTestCase.test_reject ... ok -oslo_policy.tests.test_external.HttpCheckTestCase.test_reject_with_rule_in_argument -oslo_policy.tests.test_external.HttpCheckTestCase.test_reject_with_rule_in_argument ... ok -oslo_policy.tests.test_generator.ValidatorTestCase.test_cyclical_reference -oslo_policy.tests.test_generator.ValidatorTestCase.test_cyclical_reference ... ok -oslo_policy.tests.test_generator.ValidatorTestCase.test_false_okay -oslo_policy.tests.test_generator.ValidatorTestCase.test_false_okay ... 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] Policies ['foo'] reference a rule that is not defined. +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_rule_requires_deprecated_rule_object +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_rule_requires_deprecated_rule_object ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecation_logic_is_only_performed_once_per_rule +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecation_logic_is_only_performed_once_per_rule ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_disable_enforce_new_defaults_add_old_check_string +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_disable_enforce_new_defaults_add_old_check_string ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_enforce_new_defaults_no_old_check_string +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_enforce_new_defaults_no_old_check_string ... ok +oslo_policy.tests.test_checks.FalseCheckTestCase.test_call +oslo_policy.tests.test_checks.FalseCheckTestCase.test_call ... ok +oslo_policy.tests.test_checks.FalseCheckTestCase.test_str +oslo_policy.tests.test_checks.FalseCheckTestCase.test_str ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_both_new_and_old_policy +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_both_new_and_old_policy ... ok +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_no_rules +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_no_rules ... ok +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_custom_exception +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_custom_exception 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. +ok +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_default +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_default ... ok +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_rule_not_exist_not_empty_policy_file +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_rule_not_exist_not_empty_policy_file ... ok +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_with_rule +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_with_rule ... ok +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_false +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_false ... ok +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_true +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_true ... 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. @@ -1815,20 +1855,140 @@ 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. +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules ... ok +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules_raises +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules_raises ... ok +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_no_violations +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_no_violations ... ok +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule ... ok +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises ... ok +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises_skipped +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises_skipped 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. + ... ok +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_skipped +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_skipped ... 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. +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_multiple_scope_types +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_multiple_scope_types ... ok +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_type_strings_fails +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_type_strings_fails ... ok +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_types +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_types ... ok +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_ensure_scope_types_are_unique +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_ensure_scope_types_are_unique ... 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. +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equal_subclass +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equal_subclass ... ok +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_less_obvious +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_less_obvious ... ok +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_obvious +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_obvious ... ok +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_check +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_check ... 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. +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_class +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_class ... ok +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_name +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_name ... 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. +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_subclass +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_subclass ... ok +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_rule_is_parsed +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_rule_is_parsed ... ok +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_str +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_str ... 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. +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_empty +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_empty ... ok +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_multi +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_multi ... ok +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_oneele +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_oneele ... ok +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_bare +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_bare ... ok +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_multi +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_multi ... ok +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_oneele +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_oneele ... ok +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_zeroele +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_zeroele ... ok +oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_parse_state_meta +oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_parse_state_meta ... ok +oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_reducer +oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_reducer ... ok +oslo_policy.tests.test_policy.BaseCheckTypesTestCase.test_base_check_types_are_public +oslo_policy.tests.test_policy.BaseCheckTypesTestCase.test_base_check_types_are_public ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_contain_operations +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_contain_operations ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_description_not_empty +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_description_not_empty ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_multiple_operations +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_multiple_operations ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list_of_dicts +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list_of_dicts ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_contain_method_and_path_only +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_contain_method_and_path_only ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_method +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_method ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_path +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_path ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_not_empty_list +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_not_empty_list ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite_opts_registered +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite_opts_registered 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. +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. +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite_opts_registered +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite_opts_registered ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload_opts_registered +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload_opts_registered ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_overwrite_rules +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_overwrite_rules ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_domain_scope_type +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_domain_scope_type ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_subclassed_checks +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_subclassed_checks ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_system_scope_type +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_system_scope_type ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_register_twice_raises +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_register_twice_raises ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_rejects_non_context_objects +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_rejects_non_context_objects ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_set_rules +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_set_rules ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_project_scope +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_project_scope 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. + ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope 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. + ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope_creds_dict +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope_creds_dict 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. +ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_update_rules +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_update_rules ... 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. +ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_policy_file +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_policy_file ... 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] Policies ['foo'] reference a rule that is not defined. @@ -1836,39 +1996,156 @@ 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. +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_name +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_name ... 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. +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_rule +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_rule ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_old_name +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_old_name ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_suppress_default_change_warnings_flag_not_log_warning +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_suppress_default_change_warnings_flag_not_log_warning ... 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. +oslo_policy.tests.test_shell.CheckerTestCase.test_all_nonadmin +oslo_policy.tests.test_shell.CheckerTestCase.test_all_nonadmin ... ok +oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_dict +oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_dict ... ok +oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_file +oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_file ... ok +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters ... ok +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_sorted +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_sorted ... ok +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_custom_target +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_custom_target ... ok +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_owner +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_owner ... ok +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_scope +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_scope ... ok +oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file +oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file ... ok +oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file_log_warning +oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file_log_warning ... ok +oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_stdout +oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_stdout ... ok +oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_file +oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_file ... ok +oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_stdout +oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_stdout ... ok +oslo_policy.tests.test_parser.ParseCheckTestCase.test_bad_rule +oslo_policy.tests.test_parser.ParseCheckTestCase.test_bad_rule ... ok +oslo_policy.tests.test_parser.ParseCheckTestCase.test_check +oslo_policy.tests.test_parser.ParseCheckTestCase.test_check ... ok +oslo_policy.tests.test_parser.ParseCheckTestCase.test_check_default +oslo_policy.tests.test_parser.ParseCheckTestCase.test_check_default ... ok +oslo_policy.tests.test_parser.ParseCheckTestCase.test_false +oslo_policy.tests.test_parser.ParseCheckTestCase.test_false ... ok +oslo_policy.tests.test_parser.ParseCheckTestCase.test_no_handler +oslo_policy.tests.test_parser.ParseCheckTestCase.test_no_handler ... 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. +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. +oslo_policy.tests.test_parser.ParseCheckTestCase.test_true +oslo_policy.tests.test_parser.ParseCheckTestCase.test_true ... ok +oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_directory +oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_directory ... 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. +oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_rules +oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_rules ... ok +oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_opts_registered +oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_opts_registered ... 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. +oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_accept +oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_accept 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. + ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_mismatch +oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_mismatch ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_cred_mismatch +oslo_policy.tests.test_checks.GenericCheckTestCase.test_cred_mismatch ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_deep_credentials_dictionary_lookup +oslo_policy.tests.test_checks.GenericCheckTestCase.test_deep_credentials_dictionary_lookup ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_entry_not_in_list_rejected +oslo_policy.tests.test_checks.GenericCheckTestCase.test_entry_not_in_list_rejected ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_missing_role_does_not_matches +oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_missing_role_does_not_matches ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_role_check_matches +oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_role_check_matches ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_missing_credentials_dictionary_lookup +oslo_policy.tests.test_checks.GenericCheckTestCase.test_missing_credentials_dictionary_lookup ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entries_one_matches +oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entries_one_matches ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_list_accepted +oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_list_accepted ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_nested_list_accepted +oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_nested_list_accepted ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_nested_lists_accepted +oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_nested_lists_accepted ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_cred +oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_cred ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_key_match_in_target +oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_key_match_in_target ... 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. +oslo_policy.tests.test_checks.GenericCheckTestCase.test_single_entry_in_list_accepted +oslo_policy.tests.test_checks.GenericCheckTestCase.test_single_entry_in_list_accepted ... ok +oslo_policy.tests.test_generator.ListRedundantTestCase.test_matched_rules +oslo_policy.tests.test_generator.ListRedundantTestCase.test_matched_rules ... 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. +ok +oslo_policy.tests.test_policy.RegisterCheckTestCase.test_register_check +oslo_policy.tests.test_policy.RegisterCheckTestCase.test_register_check ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_rule +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_rule ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_policy_file +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_policy_file ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_get_policy_path_raises_exc +oslo_policy.tests.test_policy.EnforcerTest.test_get_policy_path_raises_exc ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_load_dir_caching_with_files_same_overwrite_false_opts_reg +oslo_policy.tests.test_policy.EnforcerTest.test_load_dir_caching_with_files_same_overwrite_false_opts_reg ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_is_emptied +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_is_emptied ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_update +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_update ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_but_overwrite_false +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_but_overwrite_false ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_opts_registered +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_opts_registered ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated_opts_registered +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated_opts_registered ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_opts_registered +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_opts_registered ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice ... 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. @@ -1876,22 +2153,9 @@ 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. -oslo_policy.tests.test_generator.ValidatorTestCase.test_invalid_syntax -oslo_policy.tests.test_generator.ValidatorTestCase.test_invalid_syntax ... ok -oslo_policy.tests.test_generator.ValidatorTestCase.test_missing_policy_file -oslo_policy.tests.test_generator.ValidatorTestCase.test_missing_policy_file ... ok -oslo_policy.tests.test_generator.ValidatorTestCase.test_nonexistent -oslo_policy.tests.test_generator.ValidatorTestCase.test_nonexistent ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_register_twice_raises -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_register_twice_raises ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_rejects_non_context_objects -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_rejects_non_context_objects ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_set_rules -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_set_rules 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. - ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_project_scope -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_project_scope ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_changed +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_changed ... 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. @@ -1904,23 +2168,19 @@ 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. +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_force +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_force ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_load_file +oslo_policy.tests.test_policy.EnforcerTest.test_load_file ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_load_file_opts_registered +oslo_policy.tests.test_policy.EnforcerTest.test_load_file_opts_registered ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_load_json_file_log_warning +oslo_policy.tests.test_policy.EnforcerTest.test_load_json_file_log_warning ... 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. -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope_creds_dict -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope_creds_dict ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_update_rules -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_update_rules ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_policy_file -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_policy_file ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_rule -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_rule ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_policy_file -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_policy_file ... 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. @@ -1928,6 +2188,8 @@ 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. +oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories +oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories ... 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. @@ -1936,185 +2198,216 @@ 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. +oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories_opts_registered +oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories_opts_registered ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory +oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory_opts_registered +oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory_opts_registered ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_load_policy_dirs_with_non_directory +oslo_policy.tests.test_policy.EnforcerTest.test_load_policy_dirs_with_non_directory ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice +oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice ... 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. -oslo_policy.tests.test_policy.EnforcerTest.test_get_policy_path_raises_exc -oslo_policy.tests.test_policy.EnforcerTest.test_get_policy_path_raises_exc ... ok -oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_call_with_no_arguments_raises_error -oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_call_with_no_arguments_raises_error ... ok -oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_raises_error -oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_raises_error ... ok -oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_enforce_scope -oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_enforce_scope ... ok -oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_policy_file -oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_policy_file ... ok -oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_two_opts -oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_two_opts ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_and_expr -oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_and_expr ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_or_expr -oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_or_expr ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_init -oslo_policy.tests.test_parser.ParseStateTestCase.test_init ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_make_and_expr -oslo_policy.tests.test_parser.ParseStateTestCase.test_make_and_expr ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_make_not_expr -oslo_policy.tests.test_parser.ParseStateTestCase.test_make_not_expr ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_make_or_expr -oslo_policy.tests.test_parser.ParseStateTestCase.test_make_or_expr ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_multi -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_multi ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_dir_caching_with_files_same_overwrite_false_opts_reg -oslo_policy.tests.test_policy.EnforcerTest.test_load_dir_caching_with_files_same_overwrite_false_opts_reg ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_is_emptied -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_is_emptied ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_update -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_update ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_but_overwrite_false -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_but_overwrite_false ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_opts_registered -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_opts_registered ... ok -oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_missing -oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_missing ... ok -oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_true -oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_true ... ok -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_both_default_policy_file_exist -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_both_default_policy_file_exist ... ok -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_no_fallback_to_json_file -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_no_fallback_to_json_file ... ok -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_new_default_policy_file_exist -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_new_default_policy_file_exist ... ok -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_old_default_policy_file_exist -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_old_default_policy_file_exist ... ok -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_overridden_policy_file -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_overridden_policy_file ... ok -oslo_policy.tests.test_shell.CheckerTestCase.test_all_nonadmin -oslo_policy.tests.test_shell.CheckerTestCase.test_all_nonadmin ... ok -oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_dict -oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_dict ... ok -oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_file -oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_file ... ok -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters ... ok -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_sorted -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_sorted ... ok -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_custom_target -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_custom_target ... ok -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_owner -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_owner ... 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. -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_scope -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_scope ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_rule_requires_deprecated_rule_object -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_rule_requires_deprecated_rule_object ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecation_logic_is_only_performed_once_per_rule -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecation_logic_is_only_performed_once_per_rule ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_disable_enforce_new_defaults_add_old_check_string -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_disable_enforce_new_defaults_add_old_check_string ... 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. -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_enforce_new_defaults_no_old_check_string -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_enforce_new_defaults_no_old_check_string ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_both_new_and_old_policy -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_both_new_and_old_policy ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_name -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_name ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_rule -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_rule ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_old_name -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_old_name ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_suppress_default_change_warnings_flag_not_log_warning -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_suppress_default_change_warnings_flag_not_log_warning ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_none -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_none ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_clear +oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_clear ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_force +oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_force ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_non_reversible_check +oslo_policy.tests.test_policy.EnforcerTest.test_non_reversible_check ... 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. -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_one -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_one ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_short -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_short ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_two -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_two ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_result -oslo_policy.tests.test_parser.ParseStateTestCase.test_result ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_result_empty -oslo_policy.tests.test_parser.ParseStateTestCase.test_result_empty ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_result_unreduced -oslo_policy.tests.test_parser.ParseStateTestCase.test_result_unreduced ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_shift -oslo_policy.tests.test_parser.ParseStateTestCase.test_shift ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_wrap_check -oslo_policy.tests.test_parser.ParseStateTestCase.test_wrap_check ... ok -oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_directory -oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_directory ... ok -oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_rules -oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_rules ... ok -oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_opts_registered -oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_opts_registered ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated_opts_registered -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated_opts_registered ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_opts_registered -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_opts_registered ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_changed -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_changed ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_force -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_force ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_file -oslo_policy.tests.test_policy.EnforcerTest.test_load_file ... ok -oslo_policy.tests.test_generator.ValidatorTestCase.test_reference_nonexistent -oslo_policy.tests.test_generator.ValidatorTestCase.test_reference_nonexistent ... ok -oslo_policy.tests.test_generator.ValidatorTestCase.test_success -oslo_policy.tests.test_generator.ValidatorTestCase.test_success ... ok -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_explicit -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_explicit ... ok -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_no_rules -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_no_rules ... ok -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_custom_exception -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_custom_exception ... ok -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_default -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_default ... ok -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_rule_not_exist_not_empty_policy_file -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_rule_not_exist_not_empty_policy_file ... ok -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_with_rule -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_with_rule ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_file_opts_registered -oslo_policy.tests.test_policy.EnforcerTest.test_load_file_opts_registered ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_json_file_log_warning -oslo_policy.tests.test_policy.EnforcerTest.test_load_json_file_log_warning ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories -oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories_opts_registered -oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories_opts_registered ... ok -Invalid rules found -Failed to parse rule: (bar)) -Configured policy file "bogus.yaml" not found -Unknown rule found in policy file: baz -Invalid rules found +oslo_policy.tests.test_policy.EnforcerTest.test_rule_with_check +oslo_policy.tests.test_policy.EnforcerTest.test_rule_with_check ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_set_rules_type +oslo_policy.tests.test_policy.EnforcerTest.test_set_rules_type ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_warning_on_redundant_file_rules +oslo_policy.tests.test_policy.EnforcerTest.test_warning_on_redundant_file_rules ... ok +oslo_policy.tests.test_checks.AndCheckTestCase.test_add_check +oslo_policy.tests.test_checks.AndCheckTestCase.test_add_check ... ok +oslo_policy.tests.test_checks.AndCheckTestCase.test_call_all_false +oslo_policy.tests.test_checks.AndCheckTestCase.test_call_all_false ... ok +oslo_policy.tests.test_checks.AndCheckTestCase.test_call_first_true +oslo_policy.tests.test_checks.AndCheckTestCase.test_call_first_true ... ok +oslo_policy.tests.test_checks.AndCheckTestCase.test_call_second_true +oslo_policy.tests.test_checks.AndCheckTestCase.test_call_second_true ... ok +oslo_policy.tests.test_checks.AndCheckTestCase.test_init +oslo_policy.tests.test_checks.AndCheckTestCase.test_init ... ok +oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_does_not_take_current_rule +oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_does_not_take_current_rule ... ok +oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_takes_current_rule +oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_takes_current_rule ... ok +oslo_policy.tests.test_checks.AndCheckTestCase.test_str +oslo_policy.tests.test_checks.AndCheckTestCase.test_str ... ok +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_are_aliased_to_new_names +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_are_aliased_to_new_names ... ok +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_with_same_name +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_with_same_name ... ok +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_empty_line_formatting +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_empty_line_formatting ... ok +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content ... ok +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content_stdout +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content_stdout ... ok +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_generate_loadable_yaml +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_generate_loadable_yaml ... ok +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_invalid_formatting +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_invalid_formatting ... ok +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_literal_block_formatting +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_literal_block_formatting ... ok +oslo_policy.tests.test_external.HttpCheckTestCase.test_accept +oslo_policy.tests.test_external.HttpCheckTestCase.test_accept ... ok +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_paragraph_formatting +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_paragraph_formatting ... ok +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_policies_deprecated_for_removal +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_policies_deprecated_for_removal ... ok +oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_json +oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_json ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_and_D +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_and_D ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_or_D +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_or_D ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_and_D +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_and_D ... ok +oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_with_rule_in_argument +oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_with_rule_in_argument ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_or_D +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_or_D ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_1 +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_1 ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_2 +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_2 ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_1 +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_1 ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_2 +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_2 ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_3 +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_3 ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_4 +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_4 ... ok +oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_objects_in_target +oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_objects_in_target ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_5 +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_5 ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_6 +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_6 ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_7 +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_7 ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_8 +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_8 ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_1 +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_1 ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_2 +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_2 ... ok +oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_strings_in_target +oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_strings_in_target ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_3 +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_3 ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_and_D +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_and_D ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_or_D +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_or_D ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C ... ok +oslo_policy.tests.test_external.HttpCheckTestCase.test_reject +oslo_policy.tests.test_external.HttpCheckTestCase.test_reject ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_and_D +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_and_D ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_or_D +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_or_D ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_empty +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_empty ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_fail +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_fail ... ok +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_shifts +oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_shifts ... ok +oslo_policy.tests.test_parser.ParseTokenizeTestCase.test_tokenize +oslo_policy.tests.test_parser.ParseTokenizeTestCase.test_tokenize ... ok +oslo_policy.tests.test_external.HttpCheckTestCase.test_reject_with_rule_in_argument +oslo_policy.tests.test_external.HttpCheckTestCase.test_reject_with_rule_in_argument ... ok +oslo_policy.tests.test_policy.DeprecatedRuleTestCase.test_should_include_deprecated_meta +oslo_policy.tests.test_policy.DeprecatedRuleTestCase.test_should_include_deprecated_meta ... ok +oslo_policy.tests.test_sphinxext.IndentTest.test_indent +oslo_policy.tests.test_sphinxext.IndentTest.test_indent ... ok +oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_multiple_config_files +oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_multiple_config_files ... ok +oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file +oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file ... ok +oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file_no_base +oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file_no_base ... ok + +---------------------------------------------------------------------- +Ran 342 tests in 1.849s + +OK ++ stestr slowest +Test id Runtime (s) +---------------------------------------------------------------------------------------------------------------------------- ----------- +oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file 0.014 +oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_stdout 0.008 +oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file_log_warning 0.008 +oslo_policy.tests.test_generator.ValidatorTestCase.test_cyclical_reference 0.008 +oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules 0.007 +oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_directory 0.007 +oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_stdout 0.007 +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite 0.006 +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_reason 0.006 +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite_opts_registered 0.005 ++ rm -rf .stestr ++ for pyvers in ${PYTHON3S} ++ '[' 3.12 = disabled ']' +++ echo 3.12 +++ cut -d. -f1 ++ PYMAJOR=3 ++ echo '===> Testing with python (python3)' +===> Testing with python (python3) +++ pwd ++ '[' -d /build/reproducible-path/python-oslo.policy-4.4.0/debian/tmp/usr/lib/python3/dist-packages ']' ++ '[' -e .stestr.conf ']' ++ '[' -x /usr/bin/python3-stestr ']' ++ STESTR=stestr ++ rm -rf .stestr ++ PYTHON=python3.12 ++ subunit2pyunit ++ stestr run --parallel --subunit 'oslo_policy\.tests\.(?!(.*test_fixtures\.FixtureTestCase\.test_enforce_http_true.*|.*test_fixtures\.FixtureTestCase\.test_enforce_https_true.*|.*test_policy\.EnforcerTest\.test_enforcer_understands_domain_scope.*|.*test_policy\.EnforcerTest\.test_enforcer_raises_invalid_scope_with_project_scope_type.*))' +oslo_policy.tests.test_checks.CheckTestCase.test_init +oslo_policy.tests.test_checks.CheckTestCase.test_init ... ok +oslo_policy.tests.test_checks.CheckTestCase.test_str +oslo_policy.tests.test_checks.CheckTestCase.test_str ... ok +oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file +oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file ... ok +oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file_with_updates +oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file_with_updates ... ok +oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_cache_with_permission_denied +oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_cache_with_permission_denied ... ok +oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_on_removed_file +oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_on_removed_file ... ok oslo_policy.tests.test_checks.GenericCheckTestCase.test_accept oslo_policy.tests.test_checks.GenericCheckTestCase.test_accept ... ok oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_accept @@ -2123,45 +2416,102 @@ oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_mismatch ... ok oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_accept oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_accept ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory -oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory_opts_registered -oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory_opts_registered ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_policy_dirs_with_non_directory -oslo_policy.tests.test_policy.EnforcerTest.test_load_policy_dirs_with_non_directory ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice -oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_clear -oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_clear ... 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. -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_empty -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_empty ... ok -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_multi -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_multi ... ok -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_oneele -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_oneele ... ok -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_bare -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_bare ... ok -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_multi -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_multi ... ok -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_oneele -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_oneele ... ok -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_zeroele -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_zeroele ... ok -oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_list -oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_list ... ok -oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_string -oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_string ... 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. +oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_mismatch +oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_mismatch ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_cred_mismatch +oslo_policy.tests.test_checks.GenericCheckTestCase.test_cred_mismatch ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_deep_credentials_dictionary_lookup +oslo_policy.tests.test_checks.GenericCheckTestCase.test_deep_credentials_dictionary_lookup ... ok oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept ... ok oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_json oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_json ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_entry_not_in_list_rejected +oslo_policy.tests.test_checks.GenericCheckTestCase.test_entry_not_in_list_rejected ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_missing_role_does_not_matches +oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_missing_role_does_not_matches ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_role_check_matches +oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_role_check_matches ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_missing_credentials_dictionary_lookup +oslo_policy.tests.test_checks.GenericCheckTestCase.test_missing_credentials_dictionary_lookup ... ok oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify ... ok oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_and_client_certs oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_and_client_certs ... 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.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. + 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.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. +oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entries_one_matches +oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entries_one_matches ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_list_accepted +oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_list_accepted ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_nested_list_accepted +oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_nested_list_accepted ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_nested_lists_accepted +oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_nested_lists_accepted ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_cred +oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_cred ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_key_match_in_target +oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_key_match_in_target ... ok +oslo_policy.tests.test_checks.GenericCheckTestCase.test_single_entry_in_list_accepted +oslo_policy.tests.test_checks.GenericCheckTestCase.test_single_entry_in_list_accepted ... ok +oslo_policy.tests.test_checks.NotCheckTestCase.test_call_false +oslo_policy.tests.test_checks.NotCheckTestCase.test_call_false ... ok +oslo_policy.tests.test_checks.NotCheckTestCase.test_call_true +oslo_policy.tests.test_checks.NotCheckTestCase.test_call_true ... ok +oslo_policy.tests.test_checks.NotCheckTestCase.test_init +oslo_policy.tests.test_checks.NotCheckTestCase.test_init ... ok +oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_does_not_take_current_rule +oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_does_not_take_current_rule ... ok +oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_takes_current_rule +oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_takes_current_rule ... ok +oslo_policy.tests.test_checks.NotCheckTestCase.test_str +oslo_policy.tests.test_checks.NotCheckTestCase.test_str ... ok +oslo_policy.tests.test_checks.FalseCheckTestCase.test_call +oslo_policy.tests.test_checks.FalseCheckTestCase.test_call ... ok +oslo_policy.tests.test_checks.FalseCheckTestCase.test_str +oslo_policy.tests.test_checks.FalseCheckTestCase.test_str ... ok +oslo_policy.tests.test_checks.TrueCheckTestCase.test_call +oslo_policy.tests.test_checks.TrueCheckTestCase.test_call ... ok +oslo_policy.tests.test_checks.TrueCheckTestCase.test_str +oslo_policy.tests.test_checks.TrueCheckTestCase.test_str ... ok +oslo_policy.tests.test_checks.RoleCheckTestCase.test_accept +oslo_policy.tests.test_checks.RoleCheckTestCase.test_accept ... ok +oslo_policy.tests.test_checks.RoleCheckTestCase.test_format_value +oslo_policy.tests.test_checks.RoleCheckTestCase.test_format_value ... ok +oslo_policy.tests.test_checks.RoleCheckTestCase.test_no_roles_case +oslo_policy.tests.test_checks.RoleCheckTestCase.test_no_roles_case ... ok + WARNING [oslo_policy.policy] Policies ['rule2_name', 'deprecated_rule1_name'] reference a rule that is not defined. + WARNING [oslo_config.cfg] Deprecated: 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. + 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. oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_cert oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_cert ... ok oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_reject @@ -2170,28 +2520,6 @@ oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_objects_in_target ... ok oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_strings_in_target oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_strings_in_target ... ok -oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules -oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules ... ok -oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer -oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer ... ok -oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer_missing -oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer_missing ... ok -oslo_policy.tests.test_parser.ParseTokenizeTestCase.test_tokenize -oslo_policy.tests.test_parser.ParseTokenizeTestCase.test_tokenize ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_mismatch -oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_mismatch ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_cred_mismatch -oslo_policy.tests.test_checks.GenericCheckTestCase.test_cred_mismatch ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_deep_credentials_dictionary_lookup -oslo_policy.tests.test_checks.GenericCheckTestCase.test_deep_credentials_dictionary_lookup ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_entry_not_in_list_rejected -oslo_policy.tests.test_checks.GenericCheckTestCase.test_entry_not_in_list_rejected ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_force -oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_force ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_non_reversible_check -oslo_policy.tests.test_policy.EnforcerTest.test_non_reversible_check ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_rule_with_check -oslo_policy.tests.test_policy.EnforcerTest.test_rule_with_check ... ok oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_multiple_scope_types oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_multiple_scope_types ... ok oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_type_strings_fails @@ -2202,162 +2530,230 @@ oslo_policy.tests.test_policy.RuleDefaultTestCase.test_ensure_scope_types_are_unique ... ok oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equal_subclass oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equal_subclass ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_missing_role_does_not_matches -oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_missing_role_does_not_matches ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_role_check_matches -oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_role_check_matches ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_missing_credentials_dictionary_lookup -oslo_policy.tests.test_checks.GenericCheckTestCase.test_missing_credentials_dictionary_lookup ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entries_one_matches -oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entries_one_matches ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_set_rules_type -oslo_policy.tests.test_policy.EnforcerTest.test_set_rules_type ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_warning_on_redundant_file_rules -oslo_policy.tests.test_policy.EnforcerTest.test_warning_on_redundant_file_rules ... ok -oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_minimal -oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_minimal ... ok -oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_description -oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_description ... ok -oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_operations -oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_operations ... ok -oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_scope_types -oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_scope_types ... ok oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_less_obvious oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_less_obvious ... ok oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_obvious oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_obvious ... ok -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_check -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_check ... ok -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_class -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_class ... 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_config.cfg] Deprecated: 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. -oslo_policy.tests.test_checks.TrueCheckTestCase.test_call -oslo_policy.tests.test_checks.TrueCheckTestCase.test_call ... ok -oslo_policy.tests.test_checks.TrueCheckTestCase.test_str -oslo_policy.tests.test_checks.TrueCheckTestCase.test_str ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_list_accepted -oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_list_accepted ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_nested_list_accepted -oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_nested_list_accepted ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_nested_lists_accepted -oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_nested_lists_accepted ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_cred -oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_cred ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_key_match_in_target -oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_key_match_in_target ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_single_entry_in_list_accepted -oslo_policy.tests.test_checks.GenericCheckTestCase.test_single_entry_in_list_accepted ... ok -oslo_policy.tests.test_generator.ListRedundantTestCase.test_matched_rules -oslo_policy.tests.test_generator.ListRedundantTestCase.test_matched_rules ... ok +oslo_policy.tests.test_checks.OrCheckTestCase.test_add_check +oslo_policy.tests.test_checks.OrCheckTestCase.test_add_check ... ok +oslo_policy.tests.test_checks.OrCheckTestCase.test_call_all_false +oslo_policy.tests.test_checks.OrCheckTestCase.test_call_all_false ... ok +oslo_policy.tests.test_checks.OrCheckTestCase.test_call_first_true +oslo_policy.tests.test_checks.OrCheckTestCase.test_call_first_true ... ok +oslo_policy.tests.test_checks.OrCheckTestCase.test_call_second_true +oslo_policy.tests.test_checks.OrCheckTestCase.test_call_second_true ... ok +oslo_policy.tests.test_checks.OrCheckTestCase.test_init +oslo_policy.tests.test_checks.OrCheckTestCase.test_init ... ok +oslo_policy.tests.test_checks.OrCheckTestCase.test_pop_check +oslo_policy.tests.test_checks.OrCheckTestCase.test_pop_check ... ok +oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_does_not_take_current_rule +oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_does_not_take_current_rule ... ok +oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_takes_current_rule +oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_takes_current_rule ... ok +oslo_policy.tests.test_checks.OrCheckTestCase.test_str +oslo_policy.tests.test_checks.OrCheckTestCase.test_str ... ok +oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_false +oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_false ... ok +oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_missing +oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_missing ... ok +oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_true +oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_true ... ok +oslo_policy.tests.test_parser.ParseCheckTestCase.test_bad_rule +oslo_policy.tests.test_parser.ParseCheckTestCase.test_bad_rule ... ok +oslo_policy.tests.test_parser.ParseCheckTestCase.test_check +oslo_policy.tests.test_parser.ParseCheckTestCase.test_check ... ok +oslo_policy.tests.test_parser.ParseCheckTestCase.test_check_default +oslo_policy.tests.test_parser.ParseCheckTestCase.test_check_default ... ok +oslo_policy.tests.test_parser.ParseCheckTestCase.test_false +oslo_policy.tests.test_parser.ParseCheckTestCase.test_false ... ok +oslo_policy.tests.test_parser.ParseCheckTestCase.test_no_handler +oslo_policy.tests.test_parser.ParseCheckTestCase.test_no_handler ... ok +oslo_policy.tests.test_parser.ParseCheckTestCase.test_true +oslo_policy.tests.test_parser.ParseCheckTestCase.test_true ... ok +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_empty +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_empty ... ok +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_multi +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_multi ... ok +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_oneele +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_oneele ... ok +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_bare +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_bare ... ok +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_multi +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_multi ... ok +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_oneele +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_oneele ... 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.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. +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_zeroele +oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_zeroele ... ok +oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content +oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content ... ok +oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content_stdout +oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content_stdout ... ok +oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_json_file_log_warning +oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_json_file_log_warning ... ok +oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_loadable_json +oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_loadable_json ... ok +oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_enforce_scope +oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_enforce_scope ... 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. +oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_policy_file +oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_policy_file ... 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. +oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_two_opts +oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_two_opts ... ok +oslo_policy.tests.test_policy.BaseCheckTypesTestCase.test_base_check_types_are_public +oslo_policy.tests.test_policy.BaseCheckTypesTestCase.test_base_check_types_are_public ... ok +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_json_to_yaml_file +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_json_to_yaml_file ... ok +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_policy_to_stdout +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_policy_to_stdout ... ok +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_converted_yaml_is_loadable +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_converted_yaml_is_loadable ... 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. -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_name -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_name ... 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.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. +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_are_aliased_to_new_names +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_are_aliased_to_new_names ... ok +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_with_same_name +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_with_same_name ... ok +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_empty_line_formatting +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_empty_line_formatting ... ok +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content ... ok +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content_stdout +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content_stdout ... ok +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_generate_loadable_yaml +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_generate_loadable_yaml ... ok +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_invalid_formatting +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_invalid_formatting ... ok +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_literal_block_formatting +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_literal_block_formatting ... ok +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_paragraph_formatting +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_paragraph_formatting ... ok +oslo_policy.tests.test_external.HttpCheckTestCase.test_accept +oslo_policy.tests.test_external.HttpCheckTestCase.test_accept ... ok +oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_json +oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_json ... ok +oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_with_rule_in_argument +oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_with_rule_in_argument ... ok +oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_objects_in_target +oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_objects_in_target ... ok +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_check +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_check ... ok +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_class +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_class ... ok +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_name +oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_name ... ok oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_subclass oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_subclass ... ok oslo_policy.tests.test_policy.RuleDefaultTestCase.test_rule_is_parsed oslo_policy.tests.test_policy.RuleDefaultTestCase.test_rule_is_parsed ... ok oslo_policy.tests.test_policy.RuleDefaultTestCase.test_str oslo_policy.tests.test_policy.RuleDefaultTestCase.test_str ... ok -oslo_policy.tests.test_sphinxext.IndentTest.test_indent -oslo_policy.tests.test_sphinxext.IndentTest.test_indent ... ok +oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_minimal +oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_minimal ... ok +oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_description +oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_description ... ok +oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_operations +oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_operations ... ok +oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_scope_types +oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_scope_types ... ok +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_policies_deprecated_for_removal +oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_policies_deprecated_for_removal ... ok oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file ... ok +oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_strings_in_target +oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_strings_in_target ... ok +oslo_policy.tests.test_external.HttpCheckTestCase.test_reject +oslo_policy.tests.test_external.HttpCheckTestCase.test_reject ... ok oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file_log_warning oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file_log_warning ... ok oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_stdout oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_stdout ... 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. oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_file oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_file ... ok -oslo_policy.tests.test_checks.RoleCheckTestCase.test_accept -oslo_policy.tests.test_checks.RoleCheckTestCase.test_accept ... ok oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_stdout oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_stdout ... ok -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_false -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_false ... ok -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_true -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_true ... ok -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules ... ok -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules_raises -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules_raises ... ok -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_no_violations -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_no_violations ... ok -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule ... ok -oslo_policy.tests.test_checks.RoleCheckTestCase.test_format_value -oslo_policy.tests.test_checks.RoleCheckTestCase.test_format_value ... ok -oslo_policy.tests.test_checks.RoleCheckTestCase.test_no_roles_case -oslo_policy.tests.test_checks.RoleCheckTestCase.test_no_roles_case ... ok +oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_parse_state_meta +oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_parse_state_meta ... ok +oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_reducer +oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_reducer ... ok +oslo_policy.tests.test_sphinxext.IndentTest.test_indent +oslo_policy.tests.test_sphinxext.IndentTest.test_indent ... 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. oslo_policy.tests.test_checks.RoleCheckTestCase.test_reject oslo_policy.tests.test_checks.RoleCheckTestCase.test_reject ... ok -oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_false -oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_false ... ok -oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_false -oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_false ... ok -oslo_policy.tests.test_policy.DeprecatedRuleTestCase.test_should_include_deprecated_meta -oslo_policy.tests.test_policy.DeprecatedRuleTestCase.test_should_include_deprecated_meta ... ok -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises ... ok -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises_skipped -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises_skipped ... ok -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_skipped -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_skipped ... ok - ----------------------------------------------------------------------- -Ran 342 tests in 1.970s - -OK -+ stestr slowest -Test id Runtime (s) --------------------------------------------------------------------------------------------------------- ----------- -oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_force 0.019 -oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_mismatch 0.017 -oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file 0.010 -oslo_policy.tests.test_generator.ListRedundantTestCase.test_matched_rules 0.009 -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_not_empty_list 0.009 -oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_missing_role_does_not_matches 0.008 -oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file_log_warning 0.008 -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_json_to_yaml_file 0.006 -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload_opts_registered 0.006 -oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content 0.005 -+ rm -rf .stestr -+ [ 3.12 = disabled ] -+ echo 3.12 -+ cut -d. -f1 -+ PYMAJOR=3 -+ echo ===> Testing with python (python3) -===> Testing with python (python3) -+ pwd -+ [ -d /build/reproducible-path/python-oslo.policy-4.4.0/debian/tmp/usr/lib/python3/dist-packages ] -+ [ -e .stestr.conf ] -+ [ -x /usr/bin/python3-stestr ] -+ STESTR=stestr -+ rm -rf .stestr -+ + PYTHON=python3.12 stestr run --parallel --subunit oslo_policy\.tests\.(?!(.*test_fixtures\.FixtureTestCase\.test_enforce_http_true.*|.*test_fixtures\.FixtureTestCase\.test_enforce_https_true.*|.*test_policy\.EnforcerTest\.test_enforcer_understands_domain_scope.*|.*test_policy\.EnforcerTest\.test_enforcer_raises_invalid_scope_with_project_scope_type.*)) -subunit2pyunit -oslo_policy.tests.test_checks.RoleCheckTestCase.test_accept -oslo_policy.tests.test_checks.RoleCheckTestCase.test_accept ... ok -oslo_policy.tests.test_checks.TrueCheckTestCase.test_call -oslo_policy.tests.test_checks.TrueCheckTestCase.test_call ... ok -oslo_policy.tests.test_checks.TrueCheckTestCase.test_str -oslo_policy.tests.test_checks.TrueCheckTestCase.test_str ... ok +oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_directory +oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_directory ... ok +oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_rules +oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_rules ... ok +oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_opts_registered +oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_opts_registered ... ok +/build/reproducible-path/python-oslo.policy-4.4.0/oslo_policy/policy.py:814: 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) + 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. +oslo_policy.tests.test_checks.AndCheckTestCase.test_add_check +oslo_policy.tests.test_checks.AndCheckTestCase.test_add_check ... ok +oslo_policy.tests.test_checks.AndCheckTestCase.test_call_all_false +oslo_policy.tests.test_checks.AndCheckTestCase.test_call_all_false ... ok +oslo_policy.tests.test_checks.AndCheckTestCase.test_call_first_true +oslo_policy.tests.test_checks.AndCheckTestCase.test_call_first_true ... ok +oslo_policy.tests.test_checks.AndCheckTestCase.test_call_second_true +oslo_policy.tests.test_checks.AndCheckTestCase.test_call_second_true ... ok +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_default_rules_comment_out_in_yaml_file +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_default_rules_comment_out_in_yaml_file ... ok +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_existing_deprecated_rules_kept_uncommented_in_yaml_file +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_existing_deprecated_rules_kept_uncommented_in_yaml_file ... ok +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_overridden_rules_uncommented_in_yaml_file +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_overridden_rules_uncommented_in_yaml_file ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_check_string +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_check_string ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_does_not_log_warning +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_does_not_log_warning ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_logs_warning_when_overridden +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_logs_warning_when_overridden ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_name +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_name ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_an_empty_policy_check_string +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_an_empty_policy_check_string ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_check_str_suppress_does_not_log_warning +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_check_str_suppress_does_not_log_warning ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_for_removal_suppress_does_not_log_warning +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_for_removal_suppress_does_not_log_warning ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_name_suppress_does_not_log_warning +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_name_suppress_does_not_log_warning ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_replace_with_empty_policy_check_string +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_replace_with_empty_policy_check_string ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_for_removal_must_include_deprecated_meta +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_for_removal_must_include_deprecated_meta ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_reason +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_reason ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_should_not_include_deprecated_meta +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_should_not_include_deprecated_meta ... ok +oslo_policy.tests.test_checks.AndCheckTestCase.test_init +oslo_policy.tests.test_checks.AndCheckTestCase.test_init ... ok +oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_does_not_take_current_rule +oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_does_not_take_current_rule ... ok +oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_takes_current_rule +oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_takes_current_rule ... ok +oslo_policy.tests.test_checks.AndCheckTestCase.test_str +oslo_policy.tests.test_checks.AndCheckTestCase.test_str ... ok oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C ... ok oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_and_D @@ -2384,6 +2780,9 @@ oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_4 ... ok oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_5 oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_5 ... ok + WARNING [oslo_policy.policy] Policies ['foo', 'bar'] are part of a cyclical reference. + 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. oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_6 oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_6 ... ok oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_7 @@ -2394,12 +2793,6 @@ oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_1 ... ok oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_2 oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_2 ... 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. oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_3 oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_3 ... ok oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C @@ -2420,174 +2813,69 @@ oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_fail ... ok oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_shifts oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_shifts ... ok -oslo_policy.tests.test_checks.RoleCheckTestCase.test_format_value -oslo_policy.tests.test_checks.RoleCheckTestCase.test_format_value ... ok -oslo_policy.tests.test_checks.RoleCheckTestCase.test_no_roles_case -oslo_policy.tests.test_checks.RoleCheckTestCase.test_no_roles_case ... ok -oslo_policy.tests.test_checks.RoleCheckTestCase.test_reject -oslo_policy.tests.test_checks.RoleCheckTestCase.test_reject ... ok -oslo_policy.tests.test_external.HttpCheckTestCase.test_accept -oslo_policy.tests.test_external.HttpCheckTestCase.test_accept ... ok -oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_json -oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_json ... ok -oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_with_rule_in_argument -oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_with_rule_in_argument ... ok -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_explicit -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_explicit ... 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. -oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_objects_in_target -oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_objects_in_target ... ok -oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_strings_in_target -oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_strings_in_target ... ok -oslo_policy.tests.test_external.HttpCheckTestCase.test_reject -oslo_policy.tests.test_external.HttpCheckTestCase.test_reject ... ok +oslo_policy.tests.test_policy.DeprecatedRuleTestCase.test_should_include_deprecated_meta +oslo_policy.tests.test_policy.DeprecatedRuleTestCase.test_should_include_deprecated_meta ... ok +oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_multiple_config_files +oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_multiple_config_files ... ok +oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file +oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file ... ok +oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file_no_base +oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file_no_base ... ok oslo_policy.tests.test_external.HttpCheckTestCase.test_reject_with_rule_in_argument oslo_policy.tests.test_external.HttpCheckTestCase.test_reject_with_rule_in_argument ... ok -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_no_rules -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_no_rules ... ok -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_custom_exception -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_custom_exception ... ok -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_default -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_default ... ok - WARNING [oslo_policy.policy] Policies ['foo', 'bar'] are part of a cyclical reference. -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_rule_not_exist_not_empty_policy_file -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_rule_not_exist_not_empty_policy_file ... ok -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_with_rule -oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_with_rule ... ok -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_both_default_policy_file_exist -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_both_default_policy_file_exist ... ok -oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules -oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules ... ok -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_no_fallback_to_json_file -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_no_fallback_to_json_file ... ok -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_new_default_policy_file_exist -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_new_default_policy_file_exist ... ok -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_old_default_policy_file_exist -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_old_default_policy_file_exist ... ok -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_overridden_policy_file -oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_overridden_policy_file ... ok - WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. -oslo_policy.tests.test_generator.ValidatorTestCase.test_cyclical_reference -oslo_policy.tests.test_generator.ValidatorTestCase.test_cyclical_reference ... ok -oslo_policy.tests.test_generator.ValidatorTestCase.test_false_okay -oslo_policy.tests.test_generator.ValidatorTestCase.test_false_okay ... ok -oslo_policy.tests.test_generator.ValidatorTestCase.test_invalid_syntax -oslo_policy.tests.test_generator.ValidatorTestCase.test_invalid_syntax ... ok -oslo_policy.tests.test_generator.ValidatorTestCase.test_missing_policy_file -oslo_policy.tests.test_generator.ValidatorTestCase.test_missing_policy_file ... ok -oslo_policy.tests.test_generator.ValidatorTestCase.test_nonexistent -oslo_policy.tests.test_generator.ValidatorTestCase.test_nonexistent ... ok -oslo_policy.tests.test_generator.ValidatorTestCase.test_reference_nonexistent -oslo_policy.tests.test_generator.ValidatorTestCase.test_reference_nonexistent ... ok -oslo_policy.tests.test_generator.ValidatorTestCase.test_success -oslo_policy.tests.test_generator.ValidatorTestCase.test_success ... ok -Invalid rules found -Failed to parse rule: (bar)) -Configured policy file "bogus.yaml" not found -Unknown rule found in policy file: baz -Invalid rules found - 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.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. -oslo_policy.tests.test_checks.AndCheckTestCase.test_add_check -oslo_policy.tests.test_checks.AndCheckTestCase.test_add_check ... ok -oslo_policy.tests.test_checks.AndCheckTestCase.test_call_all_false -oslo_policy.tests.test_checks.AndCheckTestCase.test_call_all_false ... ok -oslo_policy.tests.test_checks.AndCheckTestCase.test_call_first_true -oslo_policy.tests.test_checks.AndCheckTestCase.test_call_first_true ... ok -oslo_policy.tests.test_checks.AndCheckTestCase.test_call_second_true -oslo_policy.tests.test_checks.AndCheckTestCase.test_call_second_true ... ok -oslo_policy.tests.test_checks.AndCheckTestCase.test_init -oslo_policy.tests.test_checks.AndCheckTestCase.test_init ... ok -oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_does_not_take_current_rule -oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_does_not_take_current_rule ... ok -oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_takes_current_rule -oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_takes_current_rule ... ok -oslo_policy.tests.test_checks.AndCheckTestCase.test_str -oslo_policy.tests.test_checks.AndCheckTestCase.test_str ... ok -oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content -oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content ... 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. +oslo_policy.tests.test_parser.ParseTokenizeTestCase.test_tokenize +oslo_policy.tests.test_parser.ParseTokenizeTestCase.test_tokenize ... 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. -oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content_stdout -oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content_stdout ... ok -oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_json_file_log_warning -oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_json_file_log_warning ... 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. -oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file -oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file ... ok -oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file_with_updates -oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file_with_updates ... ok -oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_cache_with_permission_denied -oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_cache_with_permission_denied ... ok -oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_on_removed_file -oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_on_removed_file ... ok -oslo_policy.tests.test_checks.FalseCheckTestCase.test_call -oslo_policy.tests.test_checks.FalseCheckTestCase.test_call ... ok -oslo_policy.tests.test_checks.FalseCheckTestCase.test_str -oslo_policy.tests.test_checks.FalseCheckTestCase.test_str ... ok -oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_false -oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_false ... ok -oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_missing -oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_missing ... ok -oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_true -oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_true ... ok oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_not_registered oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_not_registered ... ok -oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_loadable_json -oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_loadable_json ... ok -oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_parse_state_meta -oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_parse_state_meta ... ok -oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_reducer -oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_reducer ... 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. oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_registered oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_registered ... 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. oslo_policy.tests.test_policy.EnforcerTest.test_clear oslo_policy.tests.test_policy.EnforcerTest.test_clear ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_clear_opts_registered -oslo_policy.tests.test_policy.EnforcerTest.test_clear_opts_registered ... 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. -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_multiple_scope_types -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_multiple_scope_types ... ok -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_type_strings_fails -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_type_strings_fails ... ok -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_types -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_types ... ok -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_ensure_scope_types_are_unique -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_ensure_scope_types_are_unique ... ok -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equal_subclass -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equal_subclass ... ok -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_less_obvious -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_less_obvious ... 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. +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_rule_requires_deprecated_rule_object +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_rule_requires_deprecated_rule_object ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecation_logic_is_only_performed_once_per_rule +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecation_logic_is_only_performed_once_per_rule ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_disable_enforce_new_defaults_add_old_check_string +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_disable_enforce_new_defaults_add_old_check_string ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_enforce_new_defaults_no_old_check_string +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_enforce_new_defaults_no_old_check_string ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_both_new_and_old_policy +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_both_new_and_old_policy ... ok +oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check +oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check ... ok +oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check_decorator +oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check_decorator ... ok +oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_false +oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_false ... ok +oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_false +oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_false ... ok +oslo_policy.tests.test_generator.ValidatorTestCase.test_cyclical_reference +oslo_policy.tests.test_generator.ValidatorTestCase.test_cyclical_reference ... 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. -oslo_policy.tests.test_policy.EnforcerTest.test_enforce_scope_with_subclassed_checks_when_scope_not_set -oslo_policy.tests.test_policy.EnforcerTest.test_enforce_scope_with_subclassed_checks_when_scope_not_set 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. - ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_context_objects -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_context_objects ... ok +oslo_policy.tests.test_generator.ValidatorTestCase.test_false_okay +oslo_policy.tests.test_generator.ValidatorTestCase.test_false_okay ... 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. +oslo_policy.tests.test_generator.ValidatorTestCase.test_invalid_syntax +oslo_policy.tests.test_generator.ValidatorTestCase.test_invalid_syntax ... ok +oslo_policy.tests.test_generator.ValidatorTestCase.test_missing_policy_file +oslo_policy.tests.test_generator.ValidatorTestCase.test_missing_policy_file ... 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. +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_name +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_name ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_rule +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_rule ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_old_name +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_old_name ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_suppress_default_change_warnings_flag_not_log_warning +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_suppress_default_change_warnings_flag_not_log_warning ... ok + 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. 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. @@ -2616,12 +2904,39 @@ 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. +oslo_policy.tests.test_policy.EnforcerTest.test_clear_opts_registered +oslo_policy.tests.test_policy.EnforcerTest.test_clear_opts_registered ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_enforce_scope_with_subclassed_checks_when_scope_not_set +oslo_policy.tests.test_policy.EnforcerTest.test_enforce_scope_with_subclassed_checks_when_scope_not_set ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_context_objects +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_context_objects ... 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. oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_policy_values_from_context oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_policy_values_from_context ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_subclassed_context_objects +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_subclassed_context_objects ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_call_map_context_attributes +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_call_map_context_attributes ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_consolidates_context_attributes_with_creds +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_consolidates_context_attributes_with_creds ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_default_rule_name +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_default_rule_name ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_does_not_modify_original_registered_rule +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_does_not_modify_original_registered_rule ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_false +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_false ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite ... ok +oslo_policy.tests.test_generator.ValidatorTestCase.test_nonexistent +oslo_policy.tests.test_generator.ValidatorTestCase.test_nonexistent ... ok +oslo_policy.tests.test_generator.ValidatorTestCase.test_reference_nonexistent +oslo_policy.tests.test_generator.ValidatorTestCase.test_reference_nonexistent ... 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. +ok +oslo_policy.tests.test_generator.ValidatorTestCase.test_success +oslo_policy.tests.test_generator.ValidatorTestCase.test_success ... 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. @@ -2635,107 +2950,27 @@ 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_config.cfg] Deprecated: 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.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] Policy Rules ['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.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. 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. -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_subclassed_context_objects -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_subclassed_context_objects ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_call_map_context_attributes -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_call_map_context_attributes ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_consolidates_context_attributes_with_creds -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_consolidates_context_attributes_with_creds ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_default_rule_name -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_default_rule_name ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_does_not_modify_original_registered_rule -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_does_not_modify_original_registered_rule ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_false -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_false ... ok -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_obvious -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_obvious ... ok /build/reproducible-path/python-oslo.policy-4.4.0/oslo_policy/policy.py:1134: 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) -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_check -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_check ... ok -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_class -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_class ... ok -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_name -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_name ... ok /build/reproducible-path/python-oslo.policy-4.4.0/oslo_policy/policy.py:1134: 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) -oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check -oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check ... ok -oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check_decorator -oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check_decorator ... ok -oslo_policy.tests.test_checks.NotCheckTestCase.test_call_false -oslo_policy.tests.test_checks.NotCheckTestCase.test_call_false ... ok -oslo_policy.tests.test_checks.NotCheckTestCase.test_call_true -oslo_policy.tests.test_checks.NotCheckTestCase.test_call_true ... ok -oslo_policy.tests.test_checks.NotCheckTestCase.test_init -oslo_policy.tests.test_checks.NotCheckTestCase.test_init ... ok -oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_does_not_take_current_rule -oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_does_not_take_current_rule ... 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. -oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_takes_current_rule -oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_takes_current_rule ... ok -oslo_policy.tests.test_checks.NotCheckTestCase.test_str -oslo_policy.tests.test_checks.NotCheckTestCase.test_str ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_and_expr -oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_and_expr ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_or_expr -oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_or_expr ... 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. -oslo_policy.tests.test_parser.ParseStateTestCase.test_init -oslo_policy.tests.test_parser.ParseStateTestCase.test_init ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_make_and_expr -oslo_policy.tests.test_parser.ParseStateTestCase.test_make_and_expr ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_make_not_expr -oslo_policy.tests.test_parser.ParseStateTestCase.test_make_not_expr ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_make_or_expr -oslo_policy.tests.test_parser.ParseStateTestCase.test_make_or_expr ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_multi -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_multi ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_none -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_none ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_one -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_one ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_short -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_short ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_two -oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_two ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_result -oslo_policy.tests.test_parser.ParseStateTestCase.test_result ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_result_empty -oslo_policy.tests.test_parser.ParseStateTestCase.test_result_empty ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_result_unreduced -oslo_policy.tests.test_parser.ParseStateTestCase.test_result_unreduced ... 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. +/build/reproducible-path/python-oslo.policy-4.4.0/oslo_policy/policy.py:1134: 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) 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. -/build/reproducible-path/python-oslo.policy-4.4.0/oslo_policy/policy.py:1134: 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 +/build/reproducible-path/python-oslo.policy-4.4.0/oslo_policy/policy.py:1134: 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) +/build/reproducible-path/python-oslo.policy-4.4.0/oslo_policy/policy.py:1134: 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) -oslo_policy.tests.test_parser.ParseStateTestCase.test_shift -oslo_policy.tests.test_parser.ParseStateTestCase.test_shift ... ok -oslo_policy.tests.test_parser.ParseStateTestCase.test_wrap_check -oslo_policy.tests.test_parser.ParseStateTestCase.test_wrap_check ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite ... ok oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite_opts_registered oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite_opts_registered ... ok oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite @@ -2746,32 +2981,13 @@ oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload ... ok oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload_opts_registered oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload_opts_registered ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_overwrite_rules -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_overwrite_rules ... ok -oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file -oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file ... ok -oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file_log_warning -oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file_log_warning 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. -/build/reproducible-path/python-oslo.policy-4.4.0/oslo_policy/policy.py:1134: 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) - 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. -/build/reproducible-path/python-oslo.policy-4.4.0/oslo_policy/policy.py:1134: 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) - ... ok -oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_multiple_config_files -oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_multiple_config_files ... ok -oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file -oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file ... ok -oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file_no_base -oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file_no_base ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_domain_scope_type -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_domain_scope_type ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_subclassed_checks -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_subclassed_checks ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_system_scope_type -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_system_scope_type ... 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. +Invalid rules found +Failed to parse rule: (bar)) +Configured policy file "bogus.yaml" not found +Unknown rule found in policy file: baz +Invalid rules found +oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer +oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer ... 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. @@ -2786,126 +3002,63 @@ 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. +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_overwrite_rules +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_overwrite_rules ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_domain_scope_type +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_domain_scope_type ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_subclassed_checks +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_subclassed_checks ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_system_scope_type +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_system_scope_type ... ok oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_register_twice_raises oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_register_twice_raises ... ok -oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_stdout -oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_stdout ... ok -oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_file -oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_file ... ok -oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_stdout -oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_stdout ... ok -oslo_policy.tests.test_parser.ParseCheckTestCase.test_bad_rule -oslo_policy.tests.test_parser.ParseCheckTestCase.test_bad_rule ... ok -oslo_policy.tests.test_parser.ParseCheckTestCase.test_check -oslo_policy.tests.test_parser.ParseCheckTestCase.test_check ... ok -oslo_policy.tests.test_parser.ParseCheckTestCase.test_check_default -oslo_policy.tests.test_parser.ParseCheckTestCase.test_check_default ... ok -oslo_policy.tests.test_parser.ParseCheckTestCase.test_false -oslo_policy.tests.test_parser.ParseCheckTestCase.test_false ... ok -oslo_policy.tests.test_parser.ParseCheckTestCase.test_no_handler -oslo_policy.tests.test_parser.ParseCheckTestCase.test_no_handler ... ok -oslo_policy.tests.test_parser.ParseCheckTestCase.test_true -oslo_policy.tests.test_parser.ParseCheckTestCase.test_true ... ok -oslo_policy.tests.test_policy.DeprecatedRuleTestCase.test_should_include_deprecated_meta -oslo_policy.tests.test_policy.DeprecatedRuleTestCase.test_should_include_deprecated_meta ... ok -oslo_policy.tests.test_shell.CheckerTestCase.test_all_nonadmin -oslo_policy.tests.test_shell.CheckerTestCase.test_all_nonadmin ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_accept -oslo_policy.tests.test_checks.GenericCheckTestCase.test_accept ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_accept -oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_accept ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_mismatch -oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_mismatch ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_accept -oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_accept ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_mismatch -oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_mismatch ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_cred_mismatch -oslo_policy.tests.test_checks.GenericCheckTestCase.test_cred_mismatch ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_deep_credentials_dictionary_lookup -oslo_policy.tests.test_checks.GenericCheckTestCase.test_deep_credentials_dictionary_lookup ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_entry_not_in_list_rejected -oslo_policy.tests.test_checks.GenericCheckTestCase.test_entry_not_in_list_rejected ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_missing_role_does_not_matches -oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_missing_role_does_not_matches ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_role_check_matches -oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_role_check_matches ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_missing_credentials_dictionary_lookup -oslo_policy.tests.test_checks.GenericCheckTestCase.test_missing_credentials_dictionary_lookup ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entries_one_matches -oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entries_one_matches ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_list_accepted -oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_list_accepted ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_nested_list_accepted -oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_nested_list_accepted ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_nested_lists_accepted -oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_nested_lists_accepted ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_cred -oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_cred ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_key_match_in_target -oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_key_match_in_target ... ok -oslo_policy.tests.test_checks.GenericCheckTestCase.test_single_entry_in_list_accepted -oslo_policy.tests.test_checks.GenericCheckTestCase.test_single_entry_in_list_accepted ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_contain_operations -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_contain_operations ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_description_not_empty -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_description_not_empty ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_multiple_operations -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_multiple_operations ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list_of_dicts -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list_of_dicts ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_contain_method_and_path_only -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_contain_method_and_path_only ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_method -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_method ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_path -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_path ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_not_empty_list -oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_not_empty_list ... ok -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_subclass -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_subclass ... ok -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_rule_is_parsed -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_rule_is_parsed ... ok -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_str -oslo_policy.tests.test_policy.RuleDefaultTestCase.test_str ... ok +oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer_missing +oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer_missing ... ok +oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_list +oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_list ... ok +oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_string +oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_string ... ok +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_false +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_false ... ok oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_rejects_non_context_objects oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_rejects_non_context_objects ... ok oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_set_rules oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_set_rules ... ok +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_true +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_true ... ok oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_project_scope oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_project_scope ... ok oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope ... ok +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules ... ok +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules_raises +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules_raises ... ok +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_no_violations +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_no_violations ... 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. oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope_creds_dict oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope_creds_dict ... ok oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_update_rules oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_update_rules ... ok oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_policy_file oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_policy_file ... ok -oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_directory -oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_directory ... ok -oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_rules -oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_rules ... ok -oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_opts_registered -oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_opts_registered ... ok -oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_minimal -oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_minimal ... ok -oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_description -oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_description ... ok -oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_operations -oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_operations ... ok oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_rule oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_rule ... ok +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule ... ok oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_policy_file oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_policy_file ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_get_policy_path_raises_exc -oslo_policy.tests.test_policy.EnforcerTest.test_get_policy_path_raises_exc ... 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. +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_get_policy_path_raises_exc +oslo_policy.tests.test_policy.EnforcerTest.test_get_policy_path_raises_exc ... ok +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises_skipped +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises_skipped ... 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. @@ -2918,33 +3071,21 @@ 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. -oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_dict -oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_dict ... ok -oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_file -oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_file ... ok -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters ... ok -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_sorted -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_sorted ... ok -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_custom_target -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_custom_target ... ok -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_owner -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_owner ... ok -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_scope -oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_scope ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_dir_caching_with_files_same_overwrite_false_opts_reg -oslo_policy.tests.test_policy.EnforcerTest.test_load_dir_caching_with_files_same_overwrite_false_opts_reg ... ok +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_skipped +oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_skipped ... ok +oslo_policy.tests.test_policy.RulesTestCase.test_from_dict +oslo_policy.tests.test_policy.RulesTestCase.test_from_dict ... ok +oslo_policy.tests.test_policy.RulesTestCase.test_init +oslo_policy.tests.test_policy.RulesTestCase.test_init ... ok +oslo_policy.tests.test_policy.RulesTestCase.test_init_basic +oslo_policy.tests.test_policy.RulesTestCase.test_init_basic ... 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. -oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_scope_types -oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_scope_types ... ok -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory ... 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. -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_is_emptied -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_is_emptied ... 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. @@ -2954,24 +3095,53 @@ 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. -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_update -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_update ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_load_dir_caching_with_files_same_overwrite_false_opts_reg +oslo_policy.tests.test_policy.EnforcerTest.test_load_dir_caching_with_files_same_overwrite_false_opts_reg ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_is_emptied +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_is_emptied ... 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. +oslo_policy.tests.test_policy.RulesTestCase.test_load_empty_data +oslo_policy.tests.test_policy.RulesTestCase.test_load_empty_data ... ok +oslo_policy.tests.test_policy.RulesTestCase.test_load_json +oslo_policy.tests.test_policy.RulesTestCase.test_load_json ... ok +oslo_policy.tests.test_policy.RulesTestCase.test_load_json_deprecated +oslo_policy.tests.test_policy.RulesTestCase.test_load_json_deprecated ... ok +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_update +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_update ... ok +oslo_policy.tests.test_policy.RulesTestCase.test_load_json_invalid_exc +oslo_policy.tests.test_policy.RulesTestCase.test_load_json_invalid_exc ... ok +oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml +oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml ... 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. oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same ... 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. +oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml_invalid_exc +oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml_invalid_exc ... ok +oslo_policy.tests.test_policy.RulesTestCase.test_missing_default +oslo_policy.tests.test_policy.RulesTestCase.test_missing_default ... ok +oslo_policy.tests.test_policy.RulesTestCase.test_no_default +oslo_policy.tests.test_policy.RulesTestCase.test_no_default ... 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. -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_but_overwrite_false -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_but_overwrite_false ... ok +oslo_policy.tests.test_policy.RulesTestCase.test_retrieval +oslo_policy.tests.test_policy.RulesTestCase.test_retrieval ... ok +oslo_policy.tests.test_policy.RulesTestCase.test_str +oslo_policy.tests.test_policy.RulesTestCase.test_str ... ok +oslo_policy.tests.test_policy.RulesTestCase.test_str_true +oslo_policy.tests.test_policy.RulesTestCase.test_str_true ... ok +oslo_policy.tests.test_policy.RulesTestCase.test_with_default +oslo_policy.tests.test_policy.RulesTestCase.test_with_default ... 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. +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_but_overwrite_false +oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_but_overwrite_false ... ok oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_opts_registered oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_opts_registered ... 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. @@ -3032,13 +3202,14 @@ 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. oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_force oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_force ... 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. oslo_policy.tests.test_policy.EnforcerTest.test_load_file oslo_policy.tests.test_policy.EnforcerTest.test_load_file ... 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. oslo_policy.tests.test_policy.EnforcerTest.test_load_file_opts_registered oslo_policy.tests.test_policy.EnforcerTest.test_load_file_opts_registered ... ok oslo_policy.tests.test_policy.EnforcerTest.test_load_json_file_log_warning @@ -3051,7 +3222,6 @@ 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. oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories ... 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. @@ -3070,6 +3240,8 @@ 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. oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory ... ok +oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules +oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules ... 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. @@ -3078,15 +3250,21 @@ oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory_opts_registered ... 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] 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. oslo_policy.tests.test_policy.EnforcerTest.test_load_policy_dirs_with_non_directory oslo_policy.tests.test_policy.EnforcerTest.test_load_policy_dirs_with_non_directory ... 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. +oslo_policy.tests.test_generator.ListRedundantTestCase.test_matched_rules +oslo_policy.tests.test_generator.ListRedundantTestCase.test_matched_rules ... 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. oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice ... ok +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_explicit +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_explicit 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. + ... 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. @@ -3095,269 +3273,135 @@ 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. oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_clear oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_clear ... ok +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_no_rules +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_no_rules ... 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. +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_custom_exception +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_custom_exception ... ok oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_force oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_force ... ok +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_default +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_default ... 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. -oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept -oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept ... ok oslo_policy.tests.test_policy.EnforcerTest.test_non_reversible_check oslo_policy.tests.test_policy.EnforcerTest.test_non_reversible_check ... ok -oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_json -oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_json ... ok -oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify -oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify ... 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. +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_rule_not_exist_not_empty_policy_file +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_rule_not_exist_not_empty_policy_file ... ok oslo_policy.tests.test_policy.EnforcerTest.test_rule_with_check oslo_policy.tests.test_policy.EnforcerTest.test_rule_with_check ... ok +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_with_rule +oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_with_rule ... ok oslo_policy.tests.test_policy.EnforcerTest.test_set_rules_type oslo_policy.tests.test_policy.EnforcerTest.test_set_rules_type ... ok -oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_and_client_certs -oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_and_client_certs ... ok +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_both_default_policy_file_exist +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_both_default_policy_file_exist ... ok oslo_policy.tests.test_policy.EnforcerTest.test_warning_on_redundant_file_rules oslo_policy.tests.test_policy.EnforcerTest.test_warning_on_redundant_file_rules ... ok -oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_cert -oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_cert ... ok -oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_reject -oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_reject ... ok -oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_objects_in_target -oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_objects_in_target ... ok -oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_strings_in_target -oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_strings_in_target ... 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. -oslo_policy.tests.test_generator.ListRedundantTestCase.test_matched_rules -oslo_policy.tests.test_generator.ListRedundantTestCase.test_matched_rules ... ok -oslo_policy.tests.test_parser.ParseTokenizeTestCase.test_tokenize -oslo_policy.tests.test_parser.ParseTokenizeTestCase.test_tokenize ... ok -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_false -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_false ... 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. -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_true -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_true ... ok -oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_false -oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_false ... 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. -oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_false -oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_false ... ok -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules ... ok -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_json_to_yaml_file -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_json_to_yaml_file ... ok -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules_raises -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules_raises ... 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. -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_no_violations -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_no_violations ... ok -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_policy_to_stdout -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_policy_to_stdout ... ok -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule ... WARNING [oslo_policy.policy] Policies ['rule2_name', 'deprecated_rule1_name'] reference a rule that is not defined. -ok -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_converted_yaml_is_loadable -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_converted_yaml_is_loadable ... ok -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises ... ok -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_default_rules_comment_out_in_yaml_file -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_default_rules_comment_out_in_yaml_file ... ok -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises_skipped -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises_skipped ... ok -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_existing_deprecated_rules_kept_uncommented_in_yaml_file -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_existing_deprecated_rules_kept_uncommented_in_yaml_file ... ok -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_overridden_rules_uncommented_in_yaml_file -oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_overridden_rules_uncommented_in_yaml_file ... ok -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_skipped -oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_skipped ... ok -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_empty -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_empty ... ok -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_multi -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_multi ... ok -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_oneele -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_oneele ... ok -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_bare -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_bare ... ok -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_multi -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_multi ... ok -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_oneele -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_oneele ... ok -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_zeroele -oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_zeroele ... ok -oslo_policy.tests.test_sphinxext.IndentTest.test_indent -oslo_policy.tests.test_sphinxext.IndentTest.test_indent ... ok -oslo_policy.tests.test_checks.OrCheckTestCase.test_add_check -oslo_policy.tests.test_checks.OrCheckTestCase.test_add_check ... ok -oslo_policy.tests.test_checks.OrCheckTestCase.test_call_all_false -oslo_policy.tests.test_checks.OrCheckTestCase.test_call_all_false ... ok -oslo_policy.tests.test_checks.OrCheckTestCase.test_call_first_true -oslo_policy.tests.test_checks.OrCheckTestCase.test_call_first_true ... ok -oslo_policy.tests.test_checks.OrCheckTestCase.test_call_second_true -oslo_policy.tests.test_checks.OrCheckTestCase.test_call_second_true ... ok -oslo_policy.tests.test_checks.OrCheckTestCase.test_init -oslo_policy.tests.test_checks.OrCheckTestCase.test_init ... ok -oslo_policy.tests.test_checks.OrCheckTestCase.test_pop_check -oslo_policy.tests.test_checks.OrCheckTestCase.test_pop_check ... ok -oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_does_not_take_current_rule -oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_does_not_take_current_rule ... 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. -oslo_policy.tests.test_checks.CheckTestCase.test_init -oslo_policy.tests.test_checks.CheckTestCase.test_init ... ok -oslo_policy.tests.test_checks.CheckTestCase.test_str -oslo_policy.tests.test_checks.CheckTestCase.test_str ... ok +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_no_fallback_to_json_file +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_no_fallback_to_json_file ... ok +oslo_policy.tests.test_shell.CheckerTestCase.test_all_nonadmin +oslo_policy.tests.test_shell.CheckerTestCase.test_all_nonadmin ... ok +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_new_default_policy_file_exist +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_new_default_policy_file_exist ... ok +oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_dict +oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_dict ... ok +oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_file +oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_file ... ok +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_old_default_policy_file_exist +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_old_default_policy_file_exist ... ok +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_overridden_policy_file +oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_overridden_policy_file ... ok +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters ... ok +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_sorted +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_sorted ... ok +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_custom_target +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_custom_target ... ok +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_owner +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_owner ... ok +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_scope +oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_scope ... ok oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_call_with_no_arguments_raises_error oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_call_with_no_arguments_raises_error ... ok oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_raises_error oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_raises_error ... ok -oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_enforce_scope -oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_enforce_scope ... ok -oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_takes_current_rule -oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_takes_current_rule ... ok -oslo_policy.tests.test_checks.OrCheckTestCase.test_str -oslo_policy.tests.test_checks.OrCheckTestCase.test_str ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_are_aliased_to_new_names -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_are_aliased_to_new_names ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_with_same_name -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_with_same_name ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_empty_line_formatting -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_empty_line_formatting ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content ... ok -oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_policy_file -oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_policy_file ... ok -oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_two_opts -oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_two_opts ... ok -oslo_policy.tests.test_policy.RulesTestCase.test_from_dict -oslo_policy.tests.test_policy.RulesTestCase.test_from_dict ... ok -oslo_policy.tests.test_policy.RulesTestCase.test_init -oslo_policy.tests.test_policy.RulesTestCase.test_init ... ok -oslo_policy.tests.test_policy.RulesTestCase.test_init_basic -oslo_policy.tests.test_policy.RulesTestCase.test_init_basic ... ok -oslo_policy.tests.test_policy.RulesTestCase.test_load_empty_data -oslo_policy.tests.test_policy.RulesTestCase.test_load_empty_data ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content_stdout -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content_stdout ... ok -oslo_policy.tests.test_policy.RulesTestCase.test_load_json -oslo_policy.tests.test_policy.RulesTestCase.test_load_json ... ok -oslo_policy.tests.test_policy.RulesTestCase.test_load_json_deprecated -oslo_policy.tests.test_policy.RulesTestCase.test_load_json_deprecated ... ok -oslo_policy.tests.test_policy.RulesTestCase.test_load_json_invalid_exc -oslo_policy.tests.test_policy.RulesTestCase.test_load_json_invalid_exc ... ok -oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml -oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_generate_loadable_yaml -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_generate_loadable_yaml ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_invalid_formatting -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_invalid_formatting ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_literal_block_formatting -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_literal_block_formatting ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_paragraph_formatting -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_paragraph_formatting ... ok -oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml_invalid_exc -oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml_invalid_exc ... ok -oslo_policy.tests.test_policy.RulesTestCase.test_missing_default -oslo_policy.tests.test_policy.RulesTestCase.test_missing_default ... ok -oslo_policy.tests.test_policy.RulesTestCase.test_no_default -oslo_policy.tests.test_policy.RulesTestCase.test_no_default ... ok -oslo_policy.tests.test_policy.RulesTestCase.test_retrieval -oslo_policy.tests.test_policy.RulesTestCase.test_retrieval ... ok -oslo_policy.tests.test_policy.RulesTestCase.test_str -oslo_policy.tests.test_policy.RulesTestCase.test_str ... ok -oslo_policy.tests.test_policy.RulesTestCase.test_str_true -oslo_policy.tests.test_policy.RulesTestCase.test_str_true ... ok -oslo_policy.tests.test_policy.RulesTestCase.test_with_default -oslo_policy.tests.test_policy.RulesTestCase.test_with_default ... ok -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_policies_deprecated_for_removal -oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_policies_deprecated_for_removal ... ok -oslo_policy.tests.test_policy.BaseCheckTypesTestCase.test_base_check_types_are_public -oslo_policy.tests.test_policy.BaseCheckTypesTestCase.test_base_check_types_are_public ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_and_expr +oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_and_expr ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_or_expr +oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_or_expr ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_init +oslo_policy.tests.test_parser.ParseStateTestCase.test_init ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_make_and_expr +oslo_policy.tests.test_parser.ParseStateTestCase.test_make_and_expr ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_make_not_expr +oslo_policy.tests.test_parser.ParseStateTestCase.test_make_not_expr ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_make_or_expr +oslo_policy.tests.test_parser.ParseStateTestCase.test_make_or_expr ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_multi +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_multi ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_none +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_none ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_one +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_one ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_short +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_short ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_two +oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_two ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_result +oslo_policy.tests.test_parser.ParseStateTestCase.test_result ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_result_empty +oslo_policy.tests.test_parser.ParseStateTestCase.test_result_empty ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_result_unreduced +oslo_policy.tests.test_parser.ParseStateTestCase.test_result_unreduced ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_shift +oslo_policy.tests.test_parser.ParseStateTestCase.test_shift ... ok +oslo_policy.tests.test_parser.ParseStateTestCase.test_wrap_check +oslo_policy.tests.test_parser.ParseStateTestCase.test_wrap_check ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_contain_operations +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_contain_operations ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_description_not_empty +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_description_not_empty ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_multiple_operations +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_multiple_operations ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list_of_dicts +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list_of_dicts ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_contain_method_and_path_only +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_contain_method_and_path_only ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_method +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_method ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_path +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_path ... ok +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_not_empty_list +oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_not_empty_list ... ok oslo_policy.tests.test_policy.RegisterCheckTestCase.test_register_check oslo_policy.tests.test_policy.RegisterCheckTestCase.test_register_check ... ok -oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer -oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer ... ok -oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer_missing -oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer_missing ... ok -oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_list -oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_list ... ok -oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_string -oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_string ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_check_string -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_check_string ... 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. -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_does_not_log_warning -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_does_not_log_warning ... 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. -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_logs_warning_when_overridden -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_logs_warning_when_overridden ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_name -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_name ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_an_empty_policy_check_string -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_an_empty_policy_check_string ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_check_str_suppress_does_not_log_warning -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_check_str_suppress_does_not_log_warning ... 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. -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_for_removal_suppress_does_not_log_warning -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_for_removal_suppress_does_not_log_warning ... 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. -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_name_suppress_does_not_log_warning -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_name_suppress_does_not_log_warning ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_replace_with_empty_policy_check_string -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_replace_with_empty_policy_check_string ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_for_removal_must_include_deprecated_meta -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_for_removal_must_include_deprecated_meta ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_reason -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_reason ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_should_not_include_deprecated_meta -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_should_not_include_deprecated_meta ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_rule_requires_deprecated_rule_object -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_rule_requires_deprecated_rule_object ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecation_logic_is_only_performed_once_per_rule -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecation_logic_is_only_performed_once_per_rule ... ok -/build/reproducible-path/python-oslo.policy-4.4.0/oslo_policy/policy.py:814: 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) -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_disable_enforce_new_defaults_add_old_check_string -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_disable_enforce_new_defaults_add_old_check_string ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_enforce_new_defaults_no_old_check_string -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_enforce_new_defaults_no_old_check_string ... 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. -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_both_new_and_old_policy -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_both_new_and_old_policy ... 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. -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_name -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_name ... 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. -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_rule -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_rule ... 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. -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_old_name -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_old_name ... ok -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_suppress_default_change_warnings_flag_not_log_warning -oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_suppress_default_change_warnings_flag_not_log_warning ... ok ---------------------------------------------------------------------- -Ran 342 tests in 1.860s +Ran 342 tests in 1.933s OK + stestr slowest -Test id Runtime (s) ---------------------------------------------------------------------------------------------------------- ----------- -oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_registered 0.007 -oslo_policy.tests.test_policy.EnforcerTest.test_load_dir_caching_with_files_same_overwrite_false_opts_reg 0.007 -oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept 0.007 -oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file 0.006 -oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file 0.006 -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_force 0.006 -oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules 0.006 -oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload_opts_registered 0.005 -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice 0.005 -oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_changed 0.005 +Test id Runtime (s) +-------------------------------------------------------------------------------------------------------------------------------- ----------- +oslo_policy.tests.test_external.HttpCheckTestCase.test_reject_with_rule_in_argument 0.012 +oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_not_registered 0.010 +oslo_policy.tests.test_policy.EnforcerTest.test_clear 0.010 +oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_should_not_include_deprecated_meta 0.009 +oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_default_rules_comment_out_in_yaml_file 0.007 +oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules 0.007 +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_call_map_context_attributes 0.007 +oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_policy_values_from_context 0.006 +oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept 0.006 +oslo_policy.tests.test_policy.EnforcerTest.test_enforce_scope_with_subclassed_checks_when_scope_not_set 0.006 + rm -rf .stestr make[1]: Leaving directory '/build/reproducible-path/python-oslo.policy-4.4.0' create-stamp debian/debhelper-build-stamp @@ -3373,19 +3417,22 @@ py3versions: no X-Python3-Version in control file, using supported versions pkgos-dh_auto_install --no-py2 + PKGOS_IN_TMP=no -+ echo WARNING: --no-py2 is deprecated and always on. ++ for i in $@ ++ case "${1}" in ++ echo 'WARNING: --no-py2 is deprecated and always on.' WARNING: --no-py2 is deprecated and always on. + shift -+ dpkg-parsechangelog -SSource +++ dpkg-parsechangelog -SSource + SRC_PKG_NAME=python-oslo.policy -+ echo python-oslo.policy -+ sed s/python-// +++ echo python-oslo.policy +++ sed s/python-// + PY_MODULE_NAME=oslo.policy -+ py3versions -vr -+ PYTHON3S=3.13 3.12 -+ [ no = yes ] +++ py3versions -vr ++ PYTHON3S='3.13 3.12' ++ '[' no = yes ']' + TARGET_DIR=python3-oslo.policy -+ pwd ++ for pyvers in ${PYTHON3S} +++ pwd + python3.13 setup.py install --install-layout=deb --root /build/reproducible-path/python-oslo.policy-4.4.0/debian/python3-oslo.policy /usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! @@ -3547,7 +3594,8 @@ Installing oslopolicy-policy-upgrade script to /build/reproducible-path/python-oslo.policy-4.4.0/debian/python3-oslo.policy/usr/bin Installing oslopolicy-sample-generator script to /build/reproducible-path/python-oslo.policy-4.4.0/debian/python3-oslo.policy/usr/bin Installing oslopolicy-validator script to /build/reproducible-path/python-oslo.policy-4.4.0/debian/python3-oslo.policy/usr/bin -+ pwd ++ for pyvers in ${PYTHON3S} +++ pwd + python3.12 setup.py install --install-layout=deb --root /build/reproducible-path/python-oslo.policy-4.4.0/debian/python3-oslo.policy /usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! @@ -3640,10 +3688,10 @@ Installing oslopolicy-policy-upgrade script to /build/reproducible-path/python-oslo.policy-4.4.0/debian/python3-oslo.policy/usr/bin Installing oslopolicy-sample-generator script to /build/reproducible-path/python-oslo.policy-4.4.0/debian/python3-oslo.policy/usr/bin Installing oslopolicy-validator script to /build/reproducible-path/python-oslo.policy-4.4.0/debian/python3-oslo.policy/usr/bin -+ pwd -+ rm -rf /build/reproducible-path/python-oslo.policy-4.4.0/debian/python*/usr/lib/python*/dist-packages/*.pth -+ pwd -+ rm -rf /build/reproducible-path/python-oslo.policy-4.4.0/debian/tmp/usr/lib/python*/dist-packages/*.pth +++ pwd ++ rm -rf '/build/reproducible-path/python-oslo.policy-4.4.0/debian/python*/usr/lib/python*/dist-packages/*.pth' +++ pwd ++ rm -rf '/build/reproducible-path/python-oslo.policy-4.4.0/debian/tmp/usr/lib/python*/dist-packages/*.pth' make[1]: Leaving directory '/build/reproducible-path/python-oslo.policy-4.4.0' dh_installdocs -O--buildsystem=pybuild debian/rules override_dh_sphinxdoc @@ -3857,10 +3905,10 @@ The HTML pages are in debian/python-oslo.policy-doc/usr/share/doc/python-oslo.policy-doc/html. dh_sphinxdoc -dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/python-oslo.policy-doc/usr/share/doc/python-oslo.policy-doc/html/_static/js/bootstrap.min.js -dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/python-oslo.policy-doc/usr/share/doc/python-oslo.policy-doc/html/_static/js/jquery-3.2.1.min.js -dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/python-oslo.policy-doc/usr/share/doc/python-oslo.policy-doc/html/_static/js/navigation.js dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/python-oslo.policy-doc/usr/share/doc/python-oslo.policy-doc/html/_static/js/docs.js +dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/python-oslo.policy-doc/usr/share/doc/python-oslo.policy-doc/html/_static/js/navigation.js +dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/python-oslo.policy-doc/usr/share/doc/python-oslo.policy-doc/html/_static/js/jquery-3.2.1.min.js +dh_sphinxdoc: warning: ignoring unknown JavaScript code: debian/python-oslo.policy-doc/usr/share/doc/python-oslo.policy-doc/html/_static/js/bootstrap.min.js make[1]: Leaving directory '/build/reproducible-path/python-oslo.policy-4.4.0' debian/rules override_dh_installchangelogs make[1]: Entering directory '/build/reproducible-path/python-oslo.policy-4.4.0' @@ -3896,14 +3944,14 @@ cat /usr/share/openstack-pkg-tools/init-script-template >>$MYINIT.init ; \ pkgos-gen-systemd-unit $i ; \ done -+ ls -1 debian/*.init.in +++ ls -1 'debian/*.init.in' ls: cannot access 'debian/*.init.in': No such file or directory # If there's a service.in file, use that one instead of the generated one set -e ; set -x ; for i in `ls -1 debian/*.service.in`; do \ MYPKG=`echo $i | sed s/.service.in//` ; \ cp $MYPKG.service.in $MYPKG.service ; \ done -+ ls -1 debian/*.service.in +++ ls -1 'debian/*.service.in' ls: cannot access 'debian/*.service.in': No such file or directory # Generate the systemd unit if there's no already existing .service.in set -e ; set -x ; for i in `ls debian/*.init.in` ; do \ @@ -3912,7 +3960,7 @@ pkgos-gen-systemd-unit $i ; \ fi \ done -+ ls debian/*.init.in +++ ls 'debian/*.init.in' ls: cannot access 'debian/*.init.in': No such file or directory dh_installinit --error-handler=true make[1]: Leaving directory '/build/reproducible-path/python-oslo.policy-4.4.0' @@ -3927,14 +3975,14 @@ cat /usr/share/openstack-pkg-tools/init-script-template >>$MYINIT.init ; \ pkgos-gen-systemd-unit $i ; \ done -+ ls -1 debian/*.init.in +++ ls -1 'debian/*.init.in' ls: cannot access 'debian/*.init.in': No such file or directory # If there's a service.in file, use that one instead of the generated one set -e ; set -x ; for i in `ls -1 debian/*.service.in`; do \ MYPKG=`echo $i | sed s/.service.in//` ; \ cp $MYPKG.service.in $MYPKG.service ; \ done -+ ls -1 debian/*.service.in +++ ls -1 'debian/*.service.in' ls: cannot access 'debian/*.service.in': No such file or directory # Generate the systemd unit if there's no already existing .service.in set -e ; set -x ; for i in `ls debian/*.init.in` ; do \ @@ -3943,7 +3991,7 @@ pkgos-gen-systemd-unit $i ; \ fi \ done -+ ls debian/*.init.in +++ ls 'debian/*.init.in' ls: cannot access 'debian/*.init.in': No such file or directory dh_installsystemd make[1]: Leaving directory '/build/reproducible-path/python-oslo.policy-4.4.0' @@ -3977,12 +4025,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3734512/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3734512/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/1360263 and its subdirectories -I: Current time: Thu Dec 19 05:11:44 -12 2024 -I: pbuilder-time-stamp: 1734628304 +I: removing directory /srv/workspace/pbuilder/3734512 and its subdirectories +I: Current time: Fri Dec 20 07:13:44 +14 2024 +I: pbuilder-time-stamp: 1734628424