Starting lpci, version 0.2.1 Logging execution to '/home/buildd/.local/state/lpci/log/lpci-20230608-211119.680433.log' Launching environment for jammy/amd64 Checking for instance 'lpci-tree-774263-jammy-amd64' in project 'lpci' in remote 'local' Instance exists and is not running. Starting instance. Running ['apt', 'update'] :: :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. :: :: Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease :: Hit:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease :: Hit:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease :: Hit:4 https://ppa.launchpadcontent.net/ubuntu-cloud-archive/bobcat-staging/ubuntu jammy InRelease :: Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease :: Reading package lists... :: Building dependency tree... :: Reading state information... :: 77 packages can be upgraded. Run 'apt list --upgradable' to see them. Installing system packages Running ['apt', 'install', '-y', 'autopkgtest', 'dirmngr', 'software-properties-common'] :: :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts. :: :: Reading package lists... :: Building dependency tree... :: Reading state information... :: dirmngr is already the newest version (2.2.27-3ubuntu2.1). :: software-properties-common is already the newest version (0.99.22.7). :: Suggested packages: :: docker.io fakemachine lxc lxd ovmf ovmf-ia32 python3-distro-info :: qemu-efi-aarch64 qemu-efi-arm qemu-system qemu-utils podman schroot :: util-linux vmdb2 zerofree :: Recommended packages: :: autodep8 :: The following NEW packages will be installed: :: autopkgtest python3-debian zstd :: 0 upgraded, 3 newly installed, 0 to remove and 77 not upgraded. :: Need to get 872 kB of archives. :: After this operation, 2924 kB of additional disk space will be used. :: Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 zstd amd64 1.4.8+dfsg-3build1 [603 kB] :: Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-debian all 0.1.43ubuntu1 [107 kB] :: Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 autopkgtest all 5.28ubuntu0.22.04.0 [162 kB] :: Fetched 872 kB in 0s (22.5 MB/s) :: Selecting previously unselected package zstd. :: (Reading database ... 28035 files and directories currently installed.) :: Preparing to unpack .../zstd_1.4.8+dfsg-3build1_amd64.deb ... :: Unpacking zstd (1.4.8+dfsg-3build1) ... :: Selecting previously unselected package python3-debian. :: Preparing to unpack .../python3-debian_0.1.43ubuntu1_all.deb ... :: Unpacking python3-debian (0.1.43ubuntu1) ... :: Selecting previously unselected package autopkgtest. :: Preparing to unpack .../autopkgtest_5.28ubuntu0.22.04.0_all.deb ... :: Unpacking autopkgtest (5.28ubuntu0.22.04.0) ... :: Setting up zstd (1.4.8+dfsg-3build1) ... :: Setting up python3-debian (0.1.43ubuntu1) ... :: Setting up autopkgtest (5.28ubuntu0.22.04.0) ... :: Processing triggers for man-db (2.10.2-1) ... :: Not building database; man-db/auto-update is not 'true'. Running command for the job... Running ['bash', '--noprofile', '--norc', '-ec', 'openstack_series="bobcat"\nadd-apt-repository ppa:ubuntu-cloud-archive/${openstack_series}-staging --yes\n[ ! -d debian/tests ] || autopkgtest ./files/*.changes -- null\n'] :: Hit:1 https://ppa.launchpadcontent.net/ubuntu-cloud-archive/bobcat-staging/ubuntu jammy InRelease :: Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease :: Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease :: Hit:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease :: Hit:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease :: Reading package lists... :: PPA publishes dbgsym, you may need to include 'main/debug' component :: Repository: 'deb https://ppa.launchpadcontent.net/ubuntu-cloud-archive/bobcat-staging/ubuntu/ jammy main' :: Description: :: Staging PPA for bobcat :: More info: https://launchpad.net/~ubuntu-cloud-archive/+archive/ubuntu/bobcat-staging :: Adding repository. :: Found existing deb entry in /etc/apt/sources.list.d/ubuntu-cloud-archive-ubuntu-bobcat-staging-jammy.list :: Adding deb entry to /etc/apt/sources.list.d/ubuntu-cloud-archive-ubuntu-bobcat-staging-jammy.list :: Found existing deb-src entry in /etc/apt/sources.list.d/ubuntu-cloud-archive-ubuntu-bobcat-staging-jammy.list :: Adding disabled deb-src entry to /etc/apt/sources.list.d/ubuntu-cloud-archive-ubuntu-bobcat-staging-jammy.list :: Adding key to /etc/apt/trusted.gpg.d/ubuntu-cloud-archive-ubuntu-bobcat-staging.gpg with fingerprint 7D5C473EB80C00FC133071068A6844A29F68104E :: autopkgtest [21:11:30]: starting date and time: 2023-06-08 21:11:30+0000 :: autopkgtest [21:11:30]: version 5.28ubuntu0.22.04.0 :: autopkgtest [21:11:30]: host lpci-tree-774263-jammy-amd64; command line: /usr/bin/autopkgtest ./files/python-oslo.policy_4.1.1-0ubuntu1.1_amd64.changes -- null :: autopkgtest [21:11:30]: testbed dpkg architecture: amd64 :: autopkgtest [21:11:30]: testbed running kernel: Linux 5.4.0-150-generic #167-Ubuntu SMP Mon May 15 17:35:05 UTC 2023 :: autopkgtest [21:11:30]: @@@@@@@@@@@@@@@@@@@@ unbuilt-tree . :: dpkg-source: info: using options from real-tree/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/ :: dpkg-source: info: using patch list from debian/patches/series :: dpkg-source: info: applying skip-if-root.patch :: autopkgtest [21:11:30]: testing package python-oslo.policy version 4.1.1-0ubuntu1.1 :: autopkgtest [21:11:30]: build not needed :: autopkgtest [21:11:30]: test python-stestr: preparing testbed :: Get:1 file:/tmp/autopkgtest.HHG89U/binaries InRelease :: Ign:1 file:/tmp/autopkgtest.HHG89U/binaries InRelease :: Get:2 file:/tmp/autopkgtest.HHG89U/binaries Release [816 B] :: Get:2 file:/tmp/autopkgtest.HHG89U/binaries Release [816 B] :: Get:3 file:/tmp/autopkgtest.HHG89U/binaries Release.gpg :: Ign:3 file:/tmp/autopkgtest.HHG89U/binaries Release.gpg :: Get:4 file:/tmp/autopkgtest.HHG89U/binaries Packages [2189 B] :: Reading package lists... :: WARNING: pkgstripfiles: no lock file name available (autopkgtest-satdep) :: WARNING: pkgstripfiles: no lock file name available (autopkgtest-satdep) :: Reading package lists... :: Building dependency tree... :: Reading state information... :: Correcting dependencies...Starting pkgProblemResolver with broken count: 0 :: Starting 2 pkgProblemResolver with broken count: 0 :: Done :: Done :: Starting pkgProblemResolver with broken count: 0 :: Starting 2 pkgProblemResolver with broken count: 0 :: Done :: The following additional packages will be installed: :: python-oslo.policy-doc python3-oslo.policy :: The following NEW packages will be installed: :: python-oslo.policy-doc python3-oslo.policy :: 0 upgraded, 2 newly installed, 0 to remove and 77 not upgraded. :: 1 not fully installed or removed. :: Need to get 0 B/1001 kB of archives. :: After this operation, 3421 kB of additional disk space will be used. :: Get:1 file:/tmp/autopkgtest.HHG89U/binaries python-oslo.policy-doc 4.1.1-0ubuntu1.1 [944 kB] :: Get:2 file:/tmp/autopkgtest.HHG89U/binaries python3-oslo.policy 4.1.1-0ubuntu1.1 [56.5 kB] :: Selecting previously unselected package python-oslo.policy-doc. :: (Reading database ... 28183 files and directories currently installed.) :: Preparing to unpack ..././python-oslo.policy-doc.deb ... :: Unpacking python-oslo.policy-doc (4.1.1-0ubuntu1.1) ... :: Selecting previously unselected package python3-oslo.policy. :: Preparing to unpack ..././python3-oslo.policy.deb ... :: Unpacking python3-oslo.policy (4.1.1-0ubuntu1.1) ... :: Setting up python3-oslo.policy (4.1.1-0ubuntu1.1) ... :: Setting up python-oslo.policy-doc (4.1.1-0ubuntu1.1) ... :: Setting up autopkgtest-satdep (0) ... :: (Reading database ... 28382 files and directories currently installed.) :: Removing autopkgtest-satdep (0) ... :: autopkgtest [21:11:34]: test python-stestr: [----------------------- :: + py3versions -r :: Testing with python3.10: :: + echo Testing with python3.10: :: + PYTHON=python3.10 stestr run :: {0} oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_cache_with_permission_denied ... SKIPPED: Test skipped when running as root :: {0} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_all_false [0.000687s] ... ok :: {0} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_first_true [0.000343s] ... ok :: {0} oslo_policy.tests.test_checks.AndCheckTestCase.test_call_second_true [0.000302s] ... ok :: {0} oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_takes_current_rule [0.000326s] ... ok :: {0} oslo_policy.tests.test_checks.AndCheckTestCase.test_str [0.000264s] ... ok :: {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_mismatch [0.001496s] ... ok :: {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_cred_mismatch [0.000907s] ... ok :: {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_list_accepted [0.000886s] ... ok :: {0} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entry_in_nested_list_accepted [0.000882s] ... ok :: {0} oslo_policy.tests.test_checks.NotCheckTestCase.test_call_false [0.000386s] ... ok :: {0} oslo_policy.tests.test_checks.NotCheckTestCase.test_str [0.000309s] ... ok :: {0} oslo_policy.tests.test_checks.OrCheckTestCase.test_add_check [0.000263s] ... ok :: {0} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_all_false [0.000327s] ... ok :: {0} oslo_policy.tests.test_checks.OrCheckTestCase.test_init [0.000255s] ... ok :: {0} oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_does_not_take_current_rule [0.000301s] ... ok :: {0} oslo_policy.tests.test_checks.RoleCheckTestCase.test_accept [0.000873s] ... ok :: {0} oslo_policy.tests.test_checks.RoleCheckTestCase.test_reject [0.000883s] ... ok :: {0} oslo_policy.tests.test_checks.TrueCheckTestCase.test_str [0.000273s] ... ok :: {0} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_and_client_certs [0.015404s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {2} oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check_decorator [0.003670s] ... ok :: {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_accept [0.001870s] ... ok :: {0} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_false [0.001398s] ... ok :: {0} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_https_true [0.001040s] ... ok :: {0} oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_policy_to_stdout [0.004794s] ... ok :: {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_string_accept [0.001380s] ... ok :: {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_role_check_matches [0.001977s] ... ok :: {1} oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_reloading_on_removed_file [0.002496s] ... ok :: {1} oslo_policy.tests.test_checks.AndCheckTestCase.test_add_check [0.000348s] ... ok :: {1} oslo_policy.tests.test_checks.AndCheckTestCase.test_rule_does_not_take_current_rule [0.000370s] ... ok :: {1} oslo_policy.tests.test_checks.CheckRegisterTestCase.test_register_check [0.000422s] ... ok :: {1} oslo_policy.tests.test_checks.CheckTestCase.test_str [0.000430s] ... ok :: {1} oslo_policy.tests.test_checks.FalseCheckTestCase.test_str [0.000740s] ... ok :: {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_deep_credentials_dictionary_lookup [0.001810s] ... ok :: {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_entry_not_in_list_rejected [0.001074s] ... ok :: {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_missing_credentials_dictionary_lookup [0.000977s] ... ok :: {2} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_nested_lists_accepted [0.001874s] ... ok :: {2} oslo_policy.tests.test_checks.OrCheckTestCase.test_rule_takes_current_rule [0.000931s] ... ok :: {2} oslo_policy.tests.test_checks.OrCheckTestCase.test_str [0.000773s] ... ok :: {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_multiple_entries_one_matches [0.001004s] ... ok :: {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_cred [0.000950s] ... ok :: {2} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_false [0.002391s] ... ok :: {1} oslo_policy.tests.test_checks.GenericCheckTestCase.test_no_key_match_in_target [0.001118s] ... ok :: {1} oslo_policy.tests.test_checks.NotCheckTestCase.test_call_true [0.000391s] ... ok :: {1} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_missing [0.001133s] ... ok :: {1} oslo_policy.tests.test_checks.TrueCheckTestCase.test_call [0.000296s] ... ok :: {0} oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_overridden_rules_uncommented_in_yaml_file [0.007131s] ... ok :: {2} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_reject [0.007396s] ... ok :: {0} oslo_policy.tests.test_generator.GeneratePolicyTestCase.test_merged_rules [0.007115s] ... 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.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. :: {0} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content [0.001746s] ... ok :: {2} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_false [0.002101s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {0} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_are_aliased_to_new_names [0.001738s] ... ok :: {2} oslo_policy.tests.test_fixtures.FixtureTestCase.test_enforce_http_true [0.002378s] ... ok :: {0} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_literal_block_formatting [0.001700s] ... ok :: {0} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_paragraph_formatting [0.001609s] ... ok :: {0} oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_call_with_no_arguments_raises_error [0.000730s] ... 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. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.generator] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {0} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file [0.003390s] ... 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. :: {1} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept [0.020785s] ... ok :: {3} oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file [0.002339s] ... ok :: {1} oslo_policy.tests.test_external.HttpCheckTestCase.test_reject [0.002067s] ... ok :: {0} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_stdout [0.006870s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {1} oslo_policy.tests.test_external.HttpCheckTestCase.test_reject_with_rule_in_argument [0.002200s] ... ok :: {0} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_file [0.003633s] ... ok :: {1} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_json [0.002569s] ... ok :: {2} oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_convert_json_to_yaml_file [0.018507s] ... ok :: {3} oslo_policy.tests.test_cache_handler.CacheHandlerTest.test_read_cached_file_with_updates [0.006760s] ... ok :: {3} oslo_policy.tests.test_checks.AndCheckTestCase.test_init [0.000599s] ... ok :: {1} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify [0.002365s] ... ok :: {3} oslo_policy.tests.test_checks.CheckTestCase.test_init [0.001112s] ... ok :: {3} oslo_policy.tests.test_checks.FalseCheckTestCase.test_call [0.000786s] ... ok :: WARNING [oslo_policy.policy] Policies ['foo', 'bar'] are part of a cyclical reference. :: {2} oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_default_rules_comment_out_in_yaml_file [0.003858s] ... ok :: {1} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_strings_in_target [0.002219s] ... ok :: {0} oslo_policy.tests.test_generator.ValidatorTestCase.test_cyclical_reference [0.005650s] ... ok :: {0} oslo_policy.tests.test_parser.ParseCheckTestCase.test_check_default [0.000380s] ... ok :: {0} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_oneele [0.000331s] ... ok :: {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_or_expr [0.000539s] ... ok :: {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_init [0.000279s] ... ok :: {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_result_empty [0.000337s] ... ok :: {0} oslo_policy.tests.test_parser.ParseStateTestCase.test_shift [0.000833s] ... ok :: {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C [0.000327s] ... ok :: {2} oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_existing_deprecated_rules_kept_uncommented_in_yaml_file [0.004412s] ... ok :: WARNING [oslo_policy.policy] Policies ['rule2_name', 'deprecated_rule1_name'] reference a rule that is not defined. :: {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_6 [0.000355s] ... ok :: {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_3 [0.000312s] ... ok :: {0} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_empty [0.000289s] ... ok :: {1} oslo_policy.tests.test_generator.ConvertJsonToYamlTestCase.test_converted_yaml_is_loadable [0.005572s] ... 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. :: {0} oslo_policy.tests.test_policy.BaseCheckTypesTestCase.test_base_check_types_are_public [0.001782s] ... 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.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {3} oslo_policy.tests.test_checks.GenericCheckTestCase.test_accept [0.008645s] ... ok :: {2} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_deprecated_policies_with_same_name [0.003344s] ... ok :: {1} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_expected_content_stdout [0.002647s] ... ok :: {0} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_explicit [0.002120s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {3} oslo_policy.tests.test_checks.GenericCheckTestCase.test_constant_literal_mismatch [0.003396s] ... ok :: {2} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content [0.003188s] ... ok :: {0} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_rule_not_exist_not_empty_policy_file [0.002523s] ... ok :: {1} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_json_file_log_warning [0.003693s] ... 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. :: {0} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_with_rule [0.001770s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {1} oslo_policy.tests.test_generator.GenerateSampleJSONTestCase.test_generate_loadable_json [0.002979s] ... ok :: {3} oslo_policy.tests.test_checks.GenericCheckTestCase.test_generic_missing_role_does_not_matches [0.003823s] ... ok :: {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_an_empty_policy_check_string [0.002869s] ... ok :: {2} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_generate_loadable_yaml [0.005169s] ... ok :: {1} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_empty_line_formatting [0.002073s] ... ok :: {3} oslo_policy.tests.test_checks.GenericCheckTestCase.test_single_entry_in_list_accepted [0.002630s] ... ok :: {3} oslo_policy.tests.test_checks.NotCheckTestCase.test_init [0.000891s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {1} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_expected_content_stdout [0.001882s] ... ok :: {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_name_suppress_does_not_log_warning [0.003403s] ... ok :: {2} oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer_missing [0.002996s] ... ok :: {3} oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_does_not_take_current_rule [0.002020s] ... ok :: {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_for_removal_must_include_deprecated_meta [0.001032s] ... ok :: {1} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_policies_deprecated_for_removal [0.002165s] ... ok :: {1} oslo_policy.tests.test_generator.GeneratorRaiseErrorTestCase.test_generator_raises_error [0.000810s] ... ok :: {3} oslo_policy.tests.test_checks.NotCheckTestCase.test_rule_takes_current_rule [0.002138s] ... ok :: {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_rule_requires_deprecated_rule_object [0.002070s] ... 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. :: {3} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_first_true [0.001232s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {1} oslo_policy.tests.test_generator.GetEnforcerTestCase.test_get_enforcer [0.002736s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {3} oslo_policy.tests.test_checks.OrCheckTestCase.test_call_second_true [0.001412s] ... ok :: {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_both_new_and_old_policy [0.003180s] ... ok :: {3} oslo_policy.tests.test_checks.OrCheckTestCase.test_pop_check [0.001162s] ... ok :: {2} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_json_file_log_warning [0.007024s] ... ok :: {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list [0.001229s] ... ok :: {0} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_contain_method_and_path_only [0.000959s] ... 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. :: {3} oslo_policy.tests.test_checks.RoleCheckTestCase.test_format_value [0.002782s] ... ok :: {1} oslo_policy.tests.test_generator.ListRedundantTestCase.test_matched_rules [0.005169s] ... ok :: {3} oslo_policy.tests.test_checks.RoleCheckTestCase.test_no_roles_case [0.001804s] ... ok :: {2} oslo_policy.tests.test_generator.ValidatorTestCase.test_false_okay [0.004216s] ... ok :: {0} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule [0.003599s] ... ok :: {1} oslo_policy.tests.test_generator.ValidatorTestCase.test_missing_policy_file [0.002789s] ... ok :: {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_false [0.001480s] ... ok :: {1} oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_two_opts [0.001153s] ... ok :: {1} oslo_policy.tests.test_parser.ParseCheckTestCase.test_check [0.000516s] ... ok :: {3} oslo_policy.tests.test_checks.RuleCheckTestCase.test_rule_true [0.003369s] ... ok :: {1} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_empty [0.000314s] ... ok :: {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_extend_and_expr [0.000949s] ... ok :: {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_or_expr [0.000347s] ... ok :: {2} oslo_policy.tests.test_generator.ValidatorTestCase.test_success [0.004789s] ... ok :: {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_overwrite_rules [0.003063s] ... ok :: {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_multi [0.000795s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_short [0.001071s] ... ok :: /tmp/autopkgtest.HHG89U/build.if0/real-tree/oslo_policy/policy.py:1130: 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) :: {2} oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_policy_file [0.002398s] ... ok :: /tmp/autopkgtest.HHG89U/build.if0/real-tree/oslo_policy/policy.py:1130: 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) :: {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_domain_scope_type [0.003302s] ... ok :: {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_two [0.001359s] ... ok :: {2} oslo_policy.tests.test_parser.ParseCheckTestCase.test_bad_rule [0.002092s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {1} oslo_policy.tests.test_parser.ParseStateTestCase.test_wrap_check [0.000303s] ... ok :: {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C [0.000632s] ... ok :: /tmp/autopkgtest.HHG89U/build.if0/real-tree/oslo_policy/policy.py:1130: UserWarning: Policy "fake_rule": "role:test" failed scope check. The token used to make the request was system scoped but the policy requires ['project'] scope. This behavior may change in the future where using the intended scope is required :: warnings.warn(msg) :: /tmp/autopkgtest.HHG89U/build.if0/real-tree/oslo_policy/policy.py:1130: UserWarning: Policy "fake_rule": "role:test" failed scope check. The token used to make the request was domain scoped but the policy requires ['project'] scope. This behavior may change in the future where using the intended scope is required :: warnings.warn(msg) :: {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_4 [0.000760s] ... ok :: {2} oslo_policy.tests.test_parser.ParseCheckTestCase.test_false [0.000630s] ... ok :: {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_project_scope_type [0.003445s] ... ok :: {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_7 [0.001441s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_2 [0.000483s] ... ok :: {2} oslo_policy.tests.test_parser.ParseCheckTestCase.test_no_handler [0.002714s] ... ok :: {1} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_or_D [0.000646s] ... ok :: {2} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_multi_multi [0.000713s] ... 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. :: {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_rejects_non_context_objects [0.002470s] ... ok :: {1} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_custom_exception [0.001848s] ... ok :: {2} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_multi [0.001506s] ... ok :: {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_domain_scope [0.001772s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {1} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_raise_default [0.001878s] ... ok :: {3} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_json [0.014435s] ... ok :: {2} oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_list [0.001442s] ... ok :: {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_project_scope [0.002193s] ... ok :: {2} oslo_policy.tests.test_parser.ParseRuleTestCase.test_parse_rule_string [0.001760s] ... ok :: {0} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_policy_file [0.001071s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {0} oslo_policy.tests.test_policy.EnforcerTest.test_get_policy_path_raises_exc [0.001244s] ... 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. :: {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_does_not_log_warning [0.002339s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_for_removal_logs_warning_when_overridden [0.002214s] ... ok :: {3} oslo_policy.tests.test_external.HttpCheckTestCase.test_accept_with_rule_in_argument [0.004566s] ... ok :: {2} oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_reducer [0.000419s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {2} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_one [0.000619s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {2} oslo_policy.tests.test_parser.ParseStateTestCase.test_result_unreduced [0.000851s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_or_D [0.000355s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_or_D [0.001801s] ... ok :: {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory [0.003285s] ... ok :: /tmp/autopkgtest.HHG89U/build.if0/real-tree/oslo_policy/policy.py:810: UserWarning: Policy "foo:create_bar":"role:fizz" was deprecated in N in favor of "foo:create_bar":"role:bang". Reason: "role:bang" is a better default. Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually. :: warnings.warn(deprecated_msg) :: {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_for_removal_suppress_does_not_log_warning [0.002828s] ... ok :: {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_2 [0.001513s] ... ok :: {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_is_emptied [0.003146s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_3 [0.001608s] ... ok :: {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecation_logic_is_only_performed_once_per_rule [0.004203s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated [0.002353s] ... 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. :: {3} oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_objects_in_target [0.008567s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_rule [0.002139s] ... ok :: {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_not_1 [0.000746s] ... 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. :: {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_updated_opts_registered [0.002891s] ... ok :: {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_and_D [0.000378s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C [0.000327s] ... ok :: {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_contain_operations [0.001688s] ... ok :: {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_file [0.001523s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {2} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_shifts [0.003585s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {3} oslo_policy.tests.test_external.HttpCheckTestCase.test_http_with_strings_in_target [0.004262s] ... ok :: {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_description_not_empty [0.001475s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_file_opts_registered [0.002053s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {1} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_multiple_operations [0.001460s] ... ok :: {2} oslo_policy.tests.test_policy.CheckFunctionTestCase.test_check_no_rules [0.004157s] ... ok :: {1} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_directory [0.002840s] ... ok :: {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_json_file_log_warning [0.003722s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {1} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_load_rules [0.001119s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {2} oslo_policy.tests.test_policy.DeprecatedRuleTestCase.test_should_include_deprecated_meta [0.002232s] ... ok :: {1} oslo_policy.tests.test_policy.EnforcerNoPolicyFileTest.test_opts_registered [0.001992s] ... ok :: {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory_opts_registered [0.002561s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_context_objects [0.001921s] ... ok :: {0} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice [0.002208s] ... ok :: {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_replace_with_empty_policy_check_string [0.003774s] ... ok :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_consolidates_context_attributes_with_creds [0.001306s] ... ok :: {0} oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_new_default_policy_file_exist [0.002390s] ... ok :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_default_rule_name [0.001723s] ... ok :: {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_should_not_include_deprecated_meta [0.002407s] ... ok :: {0} oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_only_old_default_policy_file_exist [0.002287s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite_opts_registered [0.002407s] ... ok :: {0} oslo_policy.tests.test_policy.RegisterCheckTestCase.test_register_check [0.001197s] ... ok :: {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_new_name [0.002815s] ... ok :: {0} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_subclass [0.001048s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite [0.002726s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {0} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_rule_is_parsed [0.001448s] ... ok :: {0} oslo_policy.tests.test_policy.RulesTestCase.test_init [0.000303s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {0} oslo_policy.tests.test_policy.RulesTestCase.test_load_json [0.000617s] ... ok :: {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_override_deprecated_policy_with_old_name [0.003523s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {0} oslo_policy.tests.test_policy.RulesTestCase.test_load_json_deprecated [0.001280s] ... ok :: {0} oslo_policy.tests.test_policy.RulesTestCase.test_missing_default [0.000362s] ... ok :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_without_overwrite_opts_registered [0.003791s] ... ok :: {0} oslo_policy.tests.test_policy.RulesTestCase.test_str [0.000695s] ... ok :: {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_suppress_default_change_warnings_flag_not_log_warning [0.003067s] ... ok :: {0} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_scope [0.002487s] ... ok :: {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_method [0.001341s] ... ok :: {0} oslo_policy.tests.test_sphinxext.IndentTest.test_indent [0.000518s] ... ok :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload_opts_registered [0.003421s] ... ok :: Invalid rules found :: /tmp/autopkgtest.HHG89U/build.if0/real-tree/oslo_policy/policy.py:1130: 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) :: {2} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_have_path [0.002076s] ... ok :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_subclassed_checks [0.002552s] ... ok :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_set_rules [0.001661s] ... ok :: {3} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept [0.032150s] ... ok :: {2} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules [0.004153s] ... ok :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope [0.001713s] ... ok :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_understands_system_scope_creds_dict [0.001911s] ... ok :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_default_rule [0.001379s] ... ok :: {2} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_undefined_rule_raises [0.003557s] ... ok :: {3} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_accept_with_verify_cert [0.004687s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_dir_caching_with_files_same_overwrite_false_opts_reg [0.002642s] ... ok :: {2} oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_registered [0.002321s] ... ok :: {3} oslo_policy.tests.test_external.HttpsCheckTestCase.test_https_with_objects_in_target [0.003171s] ... ok :: {2} oslo_policy.tests.test_policy.EnforcerTest.test_clear_opts_registered [0.001725s] ... ok :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_opts_registered [0.002329s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforce_scope_with_subclassed_checks_when_scope_not_set [0.002660s] ... ok :: {3} oslo_policy.tests.test_generator.GenerateSampleYAMLTestCase.test_invalid_formatting [0.002713s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_changed [0.004446s] ... ok :: {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_subclassed_context_objects [0.002294s] ... 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_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] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories [0.003117s] ... ok :: {3} oslo_policy.tests.test_generator.UpgradePolicyTestCase.test_upgrade_policy_yaml_stdout [0.005340s] ... 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. :: {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_keep_use_conf_flag_after_reload [0.005871s] ... ok :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_multiple_directories_opts_registered [0.003595s] ... ok :: {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_register_twice_raises [0.001666s] ... ok :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_non_existed_directory [0.001835s] ... ok :: {3} oslo_policy.tests.test_generator.ValidatorTestCase.test_invalid_syntax [0.005855s] ... ok :: {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_update_rules [0.001532s] ... ok :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_load_policy_dirs_with_non_directory [0.001706s] ... ok :: {2} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_with_policy_file [0.002110s] ... ok :: {1} oslo_policy.tests.test_policy.EnforcerTest.test_set_rules_type [0.001265s] ... 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. :: {3} oslo_policy.tests.test_generator.ValidatorTestCase.test_nonexistent [0.005228s] ... 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. :: {1} oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_both_default_policy_file_exist [0.003565s] ... ok :: {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_update [0.004454s] ... ok :: {1} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_type_strings_fails [0.001475s] ... 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. :: {1} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_check [0.001721s] ... ok :: {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same [0.003197s] ... ok :: WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. :: {1} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_name [0.001329s] ... ok :: {1} oslo_policy.tests.test_policy.RulesTestCase.test_with_default [0.000479s] ... 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. :: {3} oslo_policy.tests.test_generator.ValidatorTestCase.test_reference_nonexistent [0.007413s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_but_overwrite_false [0.002975s] ... ok :: {1} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_owner [0.002665s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {3} oslo_policy.tests.test_opts.OptsTestCase.test_set_defaults_enforce_scope [0.001647s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {3} oslo_policy.tests.test_parser.ParseCheckTestCase.test_true [0.001155s] ... ok :: {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_caching_with_files_same_opts_registered [0.003188s] ... ok :: {3} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_bare [0.000782s] ... ok :: {1} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file_no_base [0.002540s] ... ok :: {3} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_oneele [0.001353s] ... ok :: Configured policy file "bogus.yaml" not found :: {3} oslo_policy.tests.test_parser.ParseListRuleTestCase.test_oneele_zeroele [0.000757s] ... 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. :: {3} oslo_policy.tests.test_parser.ParseStateMetaTestCase.test_parse_state_meta [0.000805s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {3} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_and_expr [0.000838s] ... ok :: {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice [0.005184s] ... ok :: {3} oslo_policy.tests.test_parser.ParseStateTestCase.test_make_not_expr [0.000751s] ... ok :: {3} oslo_policy.tests.test_parser.ParseStateTestCase.test_reduce_none [0.001371s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {3} oslo_policy.tests.test_parser.ParseStateTestCase.test_result [0.000812s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_and_C_and_D [0.000976s] ... 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. :: {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_and_D [0.000857s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_twice_force [0.005966s] ... ok :: {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_1 [0.001705s] ... ok :: {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_2 [0.000952s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_1 [0.001127s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_5 [0.000964s] ... ok :: {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_and_B_or_C_with_group_and_not_8 [0.000679s] ... ok :: {2} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_force [0.004101s] ... ok :: {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C [0.000391s] ... ok :: {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_and_C_or_D [0.000405s] ... ok :: {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_A_or_B_or_C_and_D [0.000523s] ... ok :: {3} oslo_policy.tests.test_parser.ParseTextRuleTestCase.test_fail [0.000941s] ... ok :: {3} oslo_policy.tests.test_parser.ParseTokenizeTestCase.test_tokenize [0.000432s] ... ok :: {2} oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_no_fallback_to_json_file [0.003121s] ... ok :: {2} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_multiple_scope_types [0.001303s] ... ok :: {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_check_string [0.002976s] ... ok :: {2} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_ensure_scope_types_are_unique [0.001346s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {2} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equal_subclass [0.001579s] ... ok :: {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_a_policy_name [0.002490s] ... ok :: {2} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_less_obvious [0.001603s] ... ok :: {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecate_check_str_suppress_does_not_log_warning [0.001967s] ... ok :: {2} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_equality_obvious [0.001379s] ... ok :: {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_deprecated_policy_must_include_deprecated_reason [0.001102s] ... ok :: {2} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_not_equal_class [0.001515s] ... ok :: {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultDeprecationTestCase.test_enforce_new_defaults_no_old_check_string [0.002247s] ... ok :: {2} oslo_policy.tests.test_policy.RulesTestCase.test_load_empty_data [0.000721s] ... ok :: {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_must_be_list_of_dicts [0.001194s] ... ok :: {2} oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml [0.001340s] ... ok :: {3} oslo_policy.tests.test_policy.DocumentedRuleDefaultTestCase.test_operation_not_empty_list [0.001175s] ... ok :: {2} oslo_policy.tests.test_policy.RulesTestCase.test_load_yaml_invalid_exc [0.001229s] ... ok :: {2} oslo_policy.tests.test_policy.RulesTestCase.test_no_default [0.000615s] ... ok :: {3} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_false [0.003059s] ... ok :: {2} oslo_policy.tests.test_shell.CheckerTestCase.test_all_nonadmin [0.002117s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {3} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_complex_cyclical_rules_true [0.001881s] ... ok :: {2} oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_dict [0.001956s] ... ok :: {3} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_cyclical_rules_raises [0.002731s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {2} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters [0.003373s] ... ok :: {3} oslo_policy.tests.test_policy.EnforcerCheckRulesTest.test_no_violations [0.001646s] ... ok :: {3} oslo_policy.tests.test_policy.EnforcerTest.test_authorize_opt_not_registered [0.001201s] ... ok :: {3} oslo_policy.tests.test_policy.EnforcerTest.test_clear [0.001178s] ... ok :: {2} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_sorted [0.002761s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_accepts_policy_values_from_context [0.002087s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {2} oslo_policy.tests.test_shell.CheckerTestCase.test_pass_rule_parameters_with_custom_target [0.003323s] ... ok :: {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_call_map_context_attributes [0.002511s] ... ok :: {2} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_operations [0.001034s] ... ok :: {2} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_scope_types [0.000719s] ... ok :: {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_does_not_modify_original_registered_rule [0.001495s] ... 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. :: {2} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_multiple_config_files [0.001758s] ... ok :: {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_force_reload_with_overwrite [0.002862s] ... ok :: {2} oslo_policy.tests.test_sphinxpolicygen.SingleSampleGenerationTest.test_sample_gen_with_single_config_file [0.001516s] ... 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. :: /tmp/autopkgtest.HHG89U/build.if0/real-tree/oslo_policy/policy.py:1130: 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) :: /tmp/autopkgtest.HHG89U/build.if0/real-tree/oslo_policy/policy.py:1130: 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) :: {3} oslo_policy.tests.test_policy.EnforcerTest.test_enforcer_raises_invalid_scope_with_system_scope_type [0.002685s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {3} oslo_policy.tests.test_policy.EnforcerTest.test_load_rules_twice_clear [0.002990s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {3} oslo_policy.tests.test_policy.EnforcerTest.test_non_reversible_check [0.002011s] ... ok :: WARNING [oslo_policy.policy] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html. :: {3} oslo_policy.tests.test_policy.EnforcerTest.test_rule_with_check [0.002039s] ... ok :: {3} oslo_policy.tests.test_policy.EnforcerTest.test_warning_on_redundant_file_rules [0.003686s] ... ok :: {3} oslo_policy.tests.test_policy.PickPolicyFileTestCase.test_overridden_policy_file [0.002640s] ... ok :: {3} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_create_opt_with_scope_types [0.001430s] ... ok :: {3} oslo_policy.tests.test_policy.RuleDefaultTestCase.test_str [0.001069s] ... ok :: {3} oslo_policy.tests.test_policy.RulesTestCase.test_from_dict [0.000493s] ... ok :: {3} oslo_policy.tests.test_policy.RulesTestCase.test_init_basic [0.000376s] ... ok :: {3} oslo_policy.tests.test_policy.RulesTestCase.test_load_json_invalid_exc [0.002770s] ... ok :: {3} oslo_policy.tests.test_policy.RulesTestCase.test_retrieval [0.000460s] ... ok :: {3} oslo_policy.tests.test_policy.RulesTestCase.test_str_true [0.000438s] ... ok :: {3} oslo_policy.tests.test_shell.CheckerTestCase.test_flatten_from_file [0.001708s] ... ok :: {3} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_minimal [0.000558s] ... ok :: {3} oslo_policy.tests.test_sphinxext.FormatPolicyTest.test_with_description [0.000460s] ... ok :: Failed to parse rule: (bar)) :: Unknown rule found in policy file: baz :: Invalid rules found :: :: ====== :: Totals :: ====== :: Ran: 343 tests in 0.3010 sec. :: - Passed: 342 :: - Skipped: 1 :: - Expected Fail: 0 :: - Unexpected Success: 0 :: - Failed: 0 :: Sum of execute time for each test: 0.7927 sec. :: :: ============== :: Worker Balance :: ============== :: - Worker 0 (86 tests) => 0:00:00.171987 :: - Worker 1 (86 tests) => 0:00:00.190041 :: - Worker 2 (86 tests) => 0:00:00.248518 :: - Worker 3 (85 tests) => 0:00:00.238123 :: + rm -rf .stestr :: autopkgtest [21:11:36]: test python-stestr: -----------------------] :: python-stestr PASS :: autopkgtest [21:11:36]: test python-stestr: - - - - - - - - - - results - - - - - - - - - - :: autopkgtest [21:11:36]: test python-import: preparing testbed :: Get:1 file:/tmp/autopkgtest.HHG89U/binaries InRelease :: Ign:1 file:/tmp/autopkgtest.HHG89U/binaries InRelease :: Get:2 file:/tmp/autopkgtest.HHG89U/binaries Release [816 B] :: Get:2 file:/tmp/autopkgtest.HHG89U/binaries Release [816 B] :: Get:3 file:/tmp/autopkgtest.HHG89U/binaries Release.gpg :: Ign:3 file:/tmp/autopkgtest.HHG89U/binaries Release.gpg :: Reading package lists... :: Reading package lists... :: Building dependency tree... :: Reading state information... :: Starting pkgProblemResolver with broken count: 0 :: Starting 2 pkgProblemResolver with broken count: 0 :: Done :: 0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 77 not upgraded. :: Need to get 0 B/1001 kB of archives. :: After this operation, 0 B of additional disk space will be used. :: Get:1 file:/tmp/autopkgtest.HHG89U/binaries python-oslo.policy-doc 4.1.1-0ubuntu1.1 [944 kB] :: Get:2 file:/tmp/autopkgtest.HHG89U/binaries python3-oslo.policy 4.1.1-0ubuntu1.1 [56.5 kB] :: (Reading database ... 28382 files and directories currently installed.) :: Preparing to unpack ..././python-oslo.policy-doc.deb ... :: Unpacking python-oslo.policy-doc (4.1.1-0ubuntu1.1) over (4.1.1-0ubuntu1.1) ... :: Preparing to unpack ..././python3-oslo.policy.deb ... :: Unpacking python3-oslo.policy (4.1.1-0ubuntu1.1) over (4.1.1-0ubuntu1.1) ... :: Setting up python3-oslo.policy (4.1.1-0ubuntu1.1) ... :: Setting up python-oslo.policy-doc (4.1.1-0ubuntu1.1) ... :: W: --force-yes is deprecated, use one of the options starting with --allow instead. :: WARNING: pkgstripfiles: no lock file name available (autopkgtest-satdep) :: WARNING: pkgstripfiles: no lock file name available (autopkgtest-satdep) :: Reading package lists... :: Building dependency tree... :: Reading state information... :: Starting pkgProblemResolver with broken count: 0 :: Starting 2 pkgProblemResolver with broken count: 0 :: Done :: 0 upgraded, 0 newly installed, 0 to remove and 77 not upgraded. :: 1 not fully installed or removed. :: After this operation, 0 B of additional disk space will be used. :: Setting up autopkgtest-satdep (0) ... :: (Reading database ... 28382 files and directories currently installed.) :: Removing autopkgtest-satdep (0) ... :: autopkgtest [21:11:41]: test python-import: [----------------------- :: + python3 setup.py --name :: + sed s/\./_/g :: /usr/lib/python3/dist-packages/setuptools/command/easy_install.py:158: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. :: warnings.warn( :: /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. :: warnings.warn( :: + MODULE_NAME=oslo_policy :: + py3versions -r :: Testing with python3.10: :: + cd /tmp/autopkgtest.HHG89U/autopkgtest_tmp :: + echo Testing with python3.10: :: + python3.10 -c import oslo_policy; print(oslo_policy) :: :: autopkgtest [21:11:41]: test python-import: -----------------------] :: autopkgtest [21:11:42]: test python-import: - - - - - - - - - - results - - - - - - - - - - :: python-import PASS :: autopkgtest [21:11:42]: @@@@@@@@@@@@@@@@@@@@ summary :: python-stestr PASS :: python-import PASS :: autopkgtest [21:11:42]: Binaries: resetting testbed apt configuration :: Hit:1 https://ppa.launchpadcontent.net/ubuntu-cloud-archive/bobcat-staging/ubuntu jammy InRelease :: Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease :: Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease :: Hit:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease :: Hit:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease :: Reading package lists...