20260523_031014.972 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031014.973 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031014.973 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031014.973 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031014.973 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20260523_031014.973 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260523_031014.973 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031014.978 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031014.979 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031014.980 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031014.980 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMWI1Y2RjNTYtNTY1Yi00OWFjLTllZWYtYjhiNDRjNDRmNzllIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0yM1QwMzoxMDoxNC45ODBaIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0yM1QwNjoxMDoxNC45NTBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDM6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA0OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA2OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}] 20260523_031014.981 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "1b5cdc56-565b-49ac-9eef-b8b44c44f79e", "action": "gathered", "timestamp": "2026-05-23T03:10:14.980Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031014.981 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "1b5cdc56-565b-49ac-9eef-b8b44c44f79e", "action": "gathered", "timestamp": "2026-05-23T03:10:14.980Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20260523_031014.981 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20260523_031014.982 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "1b5cdc56-565b-49ac-9eef-b8b44c44f79e", "action": "gathered", "timestamp": "2026-05-23T03:10:14.980Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031014.982 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_both"] 20260523_031014.982 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260523_031014.983 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiNTYwMmM3NTktMjY1Yy00NWI5LWFmYjEtZGU0NmIxZmY2MDMyIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTIzVDAzOjEwOjE0Ljk4MloifQ=="}}] 20260523_031014.983 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20260523_031014.983 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "5602c759-265c-45b9-afb1-de46b1ff6032", "action": "updated", "timestamp": "2026-05-23T03:10:14.982Z"}, "application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031014.984 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260523_031014.984 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260523_031014.984 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "5602c759-265c-45b9-afb1-de46b1ff6032", "action": "updated", "timestamp": "2026-05-23T03:10:14.982Z"}, "application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031014.984 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260523_031014.985 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260523_031014.985 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ1cGRhdGVfaWQiOiAiOTA0NWRlNzMtOTc3NS00NTEyLTk0MTQtMDZhMmY3NjFiNzIxIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTIzVDAzOjEwOjE0Ljk4NVoifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDQ6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDQ6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9"}}] 20260523_031014.985 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031014.986 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 2, "update_id": "9045de73-9775-4512-9414-06a2f761b721", "action": "updated", "timestamp": "2026-05-23T03:10:14.985Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031014.986 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260523_031014.986 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260523_031014.986 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260523_031014.986 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.006 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.007 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.007 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.007 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMTJlODNjYmItMzUyZi00YTMwLWI3MGYtNTNiMjkzZGU1NTc5IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0yM1QwMzoxMDoxNS4wMDdaIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0yM1QwNjoxMDoxNC45NTBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDM6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA0OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA2OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}] 20260523_031015.008 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "12e83cbb-352f-4a30-b70f-53b293de5579", "action": "gathered", "timestamp": "2026-05-23T03:10:15.007Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.008 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "12e83cbb-352f-4a30-b70f-53b293de5579", "action": "gathered", "timestamp": "2026-05-23T03:10:15.007Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20260523_031015.008 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20260523_031015.008 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260523_031015.009 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260523_031015.009 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "12e83cbb-352f-4a30-b70f-53b293de5579", "action": "gathered", "timestamp": "2026-05-23T03:10:15.007Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.009 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260523_031015.009 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260523_031015.010 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZjQyZDk5NjgtYTAxNS00ZjMzLWI4NTgtMTc1NjY3ZWU3NGJkIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTIzVDAzOjEwOjE1LjAxMFoifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDQ6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDM6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDQ6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA2OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}] 20260523_031015.010 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20260523_031015.011 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "f42d9968-a015-4f33-b858-175667ee74bd", "action": "updated", "timestamp": "2026-05-23T03:10:15.010Z"}, "application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.011 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260523_031015.011 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260523_031015.011 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260523_031015.012 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260523_031015.012 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260523_031015.012 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260523_031015.012 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260523_031015.012 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.027 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260523_031015.028 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.028 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260523_031015.028 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.028 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.029 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.029 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.036 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.036 ERROR MainThread mock-context-logger.wrapper: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 185, in wrapper Policies._set_policies(policies) TypeError: unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20260523_031015.037 INFO MainThread mock-context-logger.test_exception_on_gather: monkeyed_set_policies_boom: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20260523_031015.037 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.042 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.043 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.043 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.043 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiY2NjMmNkMTItMjNlMS00ODFmLWJlZTktNzlmMzU3MjMwNGY4IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0yM1QwMzoxMDoxNS4wNDNaIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0yM1QwNjoxMDoxNC45NTBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDM6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA0OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA2OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}] 20260523_031015.044 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "ccc2cd12-23e1-481f-bee9-79f3572304f8", "action": "gathered", "timestamp": "2026-05-23T03:10:15.043Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.044 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "ccc2cd12-23e1-481f-bee9-79f3572304f8", "action": "gathered", "timestamp": "2026-05-23T03:10:15.043Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20260523_031015.044 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20260523_031015.045 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "ccc2cd12-23e1-481f-bee9-79f3572304f8", "action": "gathered", "timestamp": "2026-05-23T03:10:15.043Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.045 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20260523_031015.045 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.045 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20260523_031015.046 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "ccc2cd12-23e1-481f-bee9-79f3572304f8", "action": "gathered", "timestamp": "2026-05-23T03:10:15.043Z"}, "application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.046 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.061 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260523_031015.061 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.061 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260523_031015.062 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.062 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.062 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.062 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.069 INFO MainThread mock-context-logger.test_wrong_ctx_node_configure: cloudify.relationships.depends_on not a node boom: can only invoke gather_policies_to_node on node 20260523_031015.070 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.072 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.073 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.073 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.073 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.073 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"} 20260523_031015.073 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260523_031015.074 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.079 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260523_031015.079 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.079 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260523_031015.079 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.080 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.080 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.080 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.088 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260523_031015.088 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.088 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260523_031015.089 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.089 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.089 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.089 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.097 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.098 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.098 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.099 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiY2M1MmFmYTQtYjNjOS00NTQyLWE2NjAtYWM4NzM0N2Q5MTcwIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0yM1QwMzoxMDoxNS4wOThaIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0yM1QwNjoxMDoxNC45NTBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDM6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA0OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA2OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}] 20260523_031015.099 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "cc52afa4-b3c9-4542-a660-ac87347d9170", "action": "gathered", "timestamp": "2026-05-23T03:10:15.098Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.099 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "cc52afa4-b3c9-4542-a660-ac87347d9170", "action": "gathered", "timestamp": "2026-05-23T03:10:15.098Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20260523_031015.100 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20260523_031015.100 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260523_031015.100 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260523_031015.100 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "cc52afa4-b3c9-4542-a660-ac87347d9170", "action": "gathered", "timestamp": "2026-05-23T03:10:15.098Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.101 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260523_031015.101 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260523_031015.101 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMWNiMjMyZTktNmUyNS00N2I0LWIxZGMtY2I5ZWFlOTM3ZDIzIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTIzVDAzOjEwOjE1LjEwMVoifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDQ6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDM6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDQ6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA2OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}] 20260523_031015.102 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20260523_031015.102 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "1cb232e9-6e25-47b4-b1dc-cb9eae937d23", "action": "updated", "timestamp": "2026-05-23T03:10:15.101Z"}, "application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.102 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260523_031015.103 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260523_031015.103 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260523_031015.103 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260523_031015.103 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260523_031015.103 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260523_031015.103 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260523_031015.104 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.118 INFO MainThread mock-context-logger.test_wrong_ctx_policy_update: cloudify.relationships.depends_on not a node boom: can only invoke update_policies_on_node on node 20260523_031015.118 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.122 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.123 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.123 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.124 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiODVkMTQ3ZDgtMjY2Mi00OTcyLWJmOGItNTE3NmUyNmVkMTBlIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0yM1QwMzoxMDoxNS4xMjRaIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0yM1QwNjoxMDoxNC45NTBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDM6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA0OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA2OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}] 20260523_031015.124 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "85d147d8-2662-4972-bf8b-5176e26ed10e", "action": "gathered", "timestamp": "2026-05-23T03:10:15.124Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.125 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "85d147d8-2662-4972-bf8b-5176e26ed10e", "action": "gathered", "timestamp": "2026-05-23T03:10:15.124Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20260523_031015.125 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20260523_031015.125 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.134 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.135 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.135 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.136 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNWIyMmI3MzgtODdiNy00ODdiLTg1MzAtMzZhOTQ2MDQ3OGY4IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0yM1QwMzoxMDoxNS4xMzVaIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0yM1QwNjoxMDoxNC45NTBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDM6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA0OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA2OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}] 20260523_031015.136 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "5b22b738-87b7-487b-8530-36a9460478f8", "action": "gathered", "timestamp": "2026-05-23T03:10:15.135Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.136 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "5b22b738-87b7-487b-8530-36a9460478f8", "action": "gathered", "timestamp": "2026-05-23T03:10:15.135Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20260523_031015.137 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20260523_031015.137 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": ["damaged config"], "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260523_031015.137 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260523_031015.137 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "5b22b738-87b7-487b-8530-36a9460478f8", "action": "gathered", "timestamp": "2026-05-23T03:10:15.135Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.138 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": ["damaged config"], "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"none": null, "unexpected": "foo"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260523_031015.138 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"none": null, "unexpected": "foo"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260523_031015.138 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNmVkZjhiNmUtODE0Zi00NTc4LWE2NzgtNzBhOGI0MmE4ZTM0IiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTIzVDAzOjEwOjE1LjEzOFoifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDM6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7Im5vbmUiOiBudWxsLCAidW5leHBlY3RlZCI6ICJmb28ifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA2OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}] 20260523_031015.139 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20260523_031015.139 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": ["damaged config"], "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"none": null, "unexpected": "foo"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "6edf8b6e-814f-4578-a678-70a8b42a8e34", "action": "updated", "timestamp": "2026-05-23T03:10:15.138Z"}, "application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.139 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260523_031015.140 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"none": null, "unexpected": "foo"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260523_031015.140 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": ["damaged config"], "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260523_031015.140 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260523_031015.140 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260523_031015.140 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260523_031015.140 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260523_031015.141 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.157 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.158 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.158 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.158 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMTc2MjE5YzEtZGRkZC00YWExLTg5Y2MtNDY2YWQ0Nzg3ZTI3IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0yM1QwMzoxMDoxNS4xNThaIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0yM1QwNjoxMDoxNC45NTBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDM6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA0OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA2OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}] 20260523_031015.159 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "176219c1-dddd-4aa1-89cc-466ad4787e27", "action": "gathered", "timestamp": "2026-05-23T03:10:15.158Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.159 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "176219c1-dddd-4aa1-89cc-466ad4787e27", "action": "gathered", "timestamp": "2026-05-23T03:10:15.158Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20260523_031015.159 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20260523_031015.160 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "176219c1-dddd-4aa1-89cc-466ad4787e27", "action": "gathered", "timestamp": "2026-05-23T03:10:15.158Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.160 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_both"] 20260523_031015.160 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260523_031015.161 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiMGI1MDcyOGYtYjU1Ny00NDA0LTlkZmMtZjM3NTQ0NmIxMTgyIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTIzVDAzOjEwOjE1LjE2MFoifQ=="}}] 20260523_031015.161 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20260523_031015.161 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "0b50728f-b557-4404-9dfc-f375446b1182", "action": "updated", "timestamp": "2026-05-23T03:10:15.160Z"}, "application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.162 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20260523_031015.162 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260523_031015.162 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260523_031015.162 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "0b50728f-b557-4404-9dfc-f375446b1182", "action": "updated", "timestamp": "2026-05-23T03:10:15.160Z"}, "application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.163 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260523_031015.163 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260523_031015.163 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ1cGRhdGVfaWQiOiAiYjEzMTUyMzctYjBhMC00NmExLTg0NDAtMGQ1MDJjODIzZDRkIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTIzVDAzOjEwOjE1LjE2M1oifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDQ6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDQ6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9"}}] 20260523_031015.163 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.164 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 2, "update_id": "b1315237-b0a0-46a1-8440-0d502c823d4d", "action": "updated", "timestamp": "2026-05-23T03:10:15.163Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.164 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260523_031015.164 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260523_031015.164 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260523_031015.165 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.184 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.185 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.185 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.185 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMmZhOTdjYjEtODA3Mi00NmFmLTk4YTMtNTA2Yzg1ZDdiNzQxIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0yM1QwMzoxMDoxNS4xODVaIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0yM1QwNjoxMDoxNC45NTBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDM6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA0OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA2OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}] 20260523_031015.186 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "2fa97cb1-8072-46af-98a3-506c85d7b741", "action": "gathered", "timestamp": "2026-05-23T03:10:15.185Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.186 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "2fa97cb1-8072-46af-98a3-506c85d7b741", "action": "gathered", "timestamp": "2026-05-23T03:10:15.185Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20260523_031015.186 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20260523_031015.187 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260523_031015.187 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260523_031015.187 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260523_031015.187 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260523_031015.187 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260523_031015.187 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260523_031015.188 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20260523_031015.188 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20260523_031015.188 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.199 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.200 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.200 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.200 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZDBiYzJhODItM2I3NS00ZDRlLTk3OWYtOTRiZDIxY2JhOTE3IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0yM1QwMzoxMDoxNS4yMDBaIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0yM1QwNjoxMDoxNC45NTBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDM6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA0OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA2OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}] 20260523_031015.201 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "d0bc2a82-3b75-4d4e-979f-94bd21cba917", "action": "gathered", "timestamp": "2026-05-23T03:10:15.200Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.201 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "d0bc2a82-3b75-4d4e-979f-94bd21cba917", "action": "gathered", "timestamp": "2026-05-23T03:10:15.200Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20260523_031015.201 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20260523_031015.202 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.202 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi_3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_3"}] 20260523_031015.203 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "d0bc2a82-3b75-4d4e-979f-94bd21cba917", "action": "gathered", "timestamp": "2026-05-23T03:10:15.200Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.203 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi_3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.4.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2"}}}, "dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}}}}, removed_policies: ["<<>>"] 20260523_031015.203 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}} 20260523_031015.203 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach"}], "unexpected": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}], "duplicate": [], "ignored": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi_3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_3"}]} 20260523_031015.204 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "d0bc2a82-3b75-4d4e-979f-94bd21cba917", "action": "gathered", "timestamp": "2026-05-23T03:10:15.200Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.204 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "d0bc2a82-3b75-4d4e-979f-94bd21cba917", "action": "gathered", "timestamp": "2026-05-23T03:10:15.200Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20260523_031015.204 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20260523_031015.205 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.205 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.227 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.228 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.228 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.228 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZjRiZGY5MjctMzkzZS00ODA1LWFkNWQtYTFmMzE4ODhjYWRkIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0yM1QwMzoxMDoxNS4yMjhaIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0yM1QwNjoxMDoxNC45NTBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDM6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA0OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA2OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}] 20260523_031015.229 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "f4bdf927-393e-4805-ad5d-a1f31888cadd", "action": "gathered", "timestamp": "2026-05-23T03:10:15.228Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.229 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "f4bdf927-393e-4805-ad5d-a1f31888cadd", "action": "gathered", "timestamp": "2026-05-23T03:10:15.228Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20260523_031015.229 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20260523_031015.230 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "f4bdf927-393e-4805-ad5d-a1f31888cadd", "action": "gathered", "timestamp": "2026-05-23T03:10:15.228Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.230 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_both"] 20260523_031015.231 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260523_031015.231 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiMmYwNWQxYjctNGE3Zi00MDU2LTkzNjEtZWNkMmI4ZGQ0YTZiIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTIzVDAzOjEwOjE1LjIzMVoifQ=="}}] 20260523_031015.231 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20260523_031015.232 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "2f05d1b7-4a7f-4056-9361-ecd2b8dd4a6b", "action": "updated", "timestamp": "2026-05-23T03:10:15.231Z"}, "application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.232 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_multi', 'monkeyed.Config_both'] 20260523_031015.232 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "2f05d1b7-4a7f-4056-9361-ecd2b8dd4a6b", "action": "updated", "timestamp": "2026-05-23T03:10:15.231Z"}, "application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}} 20260523_031015.232 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20260523_031015.232 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.247 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260523_031015.248 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.248 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.248 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.249 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.249 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.257 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260523_031015.257 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.258 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260523_031015.258 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.258 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.258 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.259 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.265 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.266 ERROR MainThread mock-context-logger.wrapper: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 316, in wrapper Policies._update_policies(updated_policies, added_policies, removed_policies) TypeError: unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20260523_031015.266 INFO MainThread mock-context-logger.test_exception_on_update: monkeyed_update_policies_boom: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20260523_031015.266 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.271 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.272 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.272 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.272 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZmY0MzNmMzAtOTdiZi00ODQyLWI4Y2MtYWU3NjI5NTFkODY5IiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0yM1QwMzoxMDoxNS4yNzJaIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0yM1QwNjoxMDoxNC45NTBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDM6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA0OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA2OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}] 20260523_031015.273 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "ff433f30-97bf-4842-b8cc-ae762951d869", "action": "gathered", "timestamp": "2026-05-23T03:10:15.272Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.273 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "ff433f30-97bf-4842-b8cc-ae762951d869", "action": "gathered", "timestamp": "2026-05-23T03:10:15.272Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20260523_031015.273 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20260523_031015.274 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "ff433f30-97bf-4842-b8cc-ae762951d869", "action": "gathered", "timestamp": "2026-05-23T03:10:15.272Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.274 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20260523_031015.274 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.274 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20260523_031015.275 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "ff433f30-97bf-4842-b8cc-ae762951d869", "action": "gathered", "timestamp": "2026-05-23T03:10:15.272Z"}, "application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.275 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.289 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.289 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260523_031015.289 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.289 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260523_031015.289 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.295 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.296 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.296 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.297 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiM2EyNmRjMmEtOGFmZi00YWE3LTk0OWQtNGMzZmU0YTEzMDRiIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0yM1QwMzoxMDoxNS4yOTZaIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0yM1QwNjoxMDoxNC45NTBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDM6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA0OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA2OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}] 20260523_031015.297 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "3a26dc2a-8aff-4aa7-949d-4c3fe4a1304b", "action": "gathered", "timestamp": "2026-05-23T03:10:15.296Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.297 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "3a26dc2a-8aff-4aa7-949d-4c3fe4a1304b", "action": "gathered", "timestamp": "2026-05-23T03:10:15.296Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20260523_031015.298 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20260523_031015.298 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260523_031015.298 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260523_031015.298 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "3a26dc2a-8aff-4aa7-949d-4c3fe4a1304b", "action": "gathered", "timestamp": "2026-05-23T03:10:15.296Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.299 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260523_031015.299 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260523_031015.299 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZTBmOTE2YjMtMGRiMS00YTFmLWI1OTgtYmE1N2IyYTNmNWQ5IiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTIzVDAzOjEwOjE1LjI5OVoifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDQ6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDM6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDQ6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA2OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}] 20260523_031015.300 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20260523_031015.300 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "e0f916b3-0db1-4a1f-b598-ba57b2a3f5d9", "action": "updated", "timestamp": "2026-05-23T03:10:15.299Z"}, "application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.301 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260523_031015.301 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260523_031015.301 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260523_031015.301 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260523_031015.301 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260523_031015.302 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260523_031015.302 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260523_031015.302 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260523_031015.319 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.320 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260523_031015.320 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260523_031015.321 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiODhmNTIwMDktNGZjZC00ZGMwLTk5NGYtOGQ2YWExNzQ0OGMwIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0yM1QwMzoxMDoxNS4zMjBaIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0yM1QwNjoxMDoxNC45NTBaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMjNUMDM6MTA6MTQuOTUwWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA0OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTIzVDA2OjEwOjE0Ljk1MFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19"}}] 20260523_031015.321 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "88f52009-4fcd-4dc0-994f-8d6aa17448c0", "action": "gathered", "timestamp": "2026-05-23T03:10:15.320Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.321 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "88f52009-4fcd-4dc0-994f-8d6aa17448c0", "action": "gathered", "timestamp": "2026-05-23T03:10:15.320Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}} 20260523_031015.321 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20260523_031015.322 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "88f52009-4fcd-4dc0-994f-8d6aa17448c0", "action": "gathered", "timestamp": "2026-05-23T03:10:15.320Z"}, "application_config": {"db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.322 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_both"] 20260523_031015.323 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260523_031015.323 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiOTRmNzMxYjktMWJiYi00ODM4LWEzNjgtZWZjMWZlMWRjMDE0IiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTIzVDAzOjEwOjE1LjMyM1oifQ=="}}] 20260523_031015.323 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20260523_031015.324 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "94f731b9-1bbb-4838-a368-efc1fe1dc014", "action": "updated", "timestamp": "2026-05-23T03:10:15.323Z"}, "application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.324 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "94f731b9-1bbb-4838-a368-efc1fe1dc014", "action": "updated", "timestamp": "2026-05-23T03:10:15.323Z"}, "application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.324 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_both"] 20260523_031015.325 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260523_031015.325 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "name": null, "retry_number": null}, "instance": {"relationships": [{"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}, "node": {"name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "type": "JSON"}}}, "node": {"name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T05:10:14.950Z", "policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}}, "node": {"name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}, "node": {"name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}, "node": {"name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T04:10:14.950Z", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T06:10:14.950Z", "policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "type": "JSON"}}}, "node": {"name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "responseAttributes": {}, "config": {"policy_updated_ts": "2026-05-23T07:10:14.950Z", "policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}}, "node": {"name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "94f731b9-1bbb-4838-a368-efc1fe1dc014", "action": "updated", "timestamp": "2026-05-23T03:10:15.323Z"}, "application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}}}, "workflow_id": null, "plugin": {"package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null}, "task_id": null, "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_target": null, "node": {"name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}}}, "task_queue": null, "deployment.id": "test_dcae_policy_dpl_id"} 20260523_031015.325 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_multi', 'monkeyed.Config_both'] 20260523_031015.325 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "94f731b9-1bbb-4838-a368-efc1fe1dc014", "action": "updated", "timestamp": "2026-05-23T03:10:15.323Z"}, "application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"}} 20260523_031015.326 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-23T03:10:14.950Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "weather": "snow", "policy_hello": "Lorem"} 20260523_031015.326 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear