2026-09-03 11:58:09,022 - INFO - Domain Default found not creating
2026-09-03 11:58:09,246 - INFO - Project ctest-TestBasicPolicy-06116041 not found, creating it
2026-09-03 11:58:09,840 - INFO - Created Project:ctest-TestBasicPolicy-06116041, ID : 04efc2eb-3008-48d4-bca4-4e1f03113482
2026-09-03 11:58:12,547 - INFO - ================================================================================
2026-09-03 11:58:12,548 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-03 11:58:12,548 - INFO - TEST DESCRIPTION :
Create 2 Vns and allow icmp traffic between them and validate with pings
Update the policy to deny the same traffic
Check that pings fail
2026-09-03 11:58:12,833 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.14': '0'}} with
2026-09-03 11:58:12,833 - INFO - Initial checks done. Running the testcase now
2026-09-03 11:58:12,833 - INFO -
2026-09-03 11:58:13,567 - DEBUG - Response for create_network : {'network': {'id': '003029e3-a22b-4f32-ba21-c3567abfe506', 'name': 'ctest-vn-00781226', 'tenant_id': '04efc2eb300848d4bca44e1f03113482', 'project_id': '04efc2eb300848d4bca44e1f03113482', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06116041', 'ctest-vn-00781226'], 'port_security_enabled': True, 'description': ''}}
2026-09-03 11:58:13,791 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f08333e2-7aef-4c04-aef7-56d467458f40', 'name': '', 'tenant_id': '04efc2eb300848d4bca44e1f03113482', 'network_id': '003029e3-a22b-4f32-ba21-c3567abfe506', 'ip_version': 4, 'cidr': '47.191.231.128/26', 'allocation_pools': [{'start': '47.191.231.130', 'end': '47.191.231.190'}], 'gateway_ip': '47.191.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.191.231.130', 'tags': [], 'project_id': '04efc2eb300848d4bca44e1f03113482'}}
2026-09-03 11:58:13,815 - INFO - Created VN ctest-vn-00781226
2026-09-03 11:58:13,875 - DEBUG - VN ctest-vn-00781226 UUID is 003029e3-a22b-4f32-ba21-c3567abfe506
2026-09-03 11:58:14,240 - DEBUG - Response for create_network : {'network': {'id': 'f67f752b-c322-4ace-91c2-584b22d38517', 'name': 'ctest-vn-65190962', 'tenant_id': '04efc2eb300848d4bca44e1f03113482', 'project_id': '04efc2eb300848d4bca44e1f03113482', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06116041', 'ctest-vn-65190962'], 'port_security_enabled': True, 'description': ''}}
2026-09-03 11:58:14,474 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a6c7403-60eb-4173-b70c-0785be774919', 'name': '', 'tenant_id': '04efc2eb300848d4bca44e1f03113482', 'network_id': 'f67f752b-c322-4ace-91c2-584b22d38517', 'ip_version': 4, 'cidr': '63.187.153.64/26', 'allocation_pools': [{'start': '63.187.153.66', 'end': '63.187.153.126'}], 'gateway_ip': '63.187.153.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.187.153.66', 'tags': [], 'project_id': '04efc2eb300848d4bca44e1f03113482'}}
2026-09-03 11:58:14,495 - INFO - Created VN ctest-vn-65190962
2026-09-03 11:58:14,550 - DEBUG - VN ctest-vn-65190962 UUID is f67f752b-c322-4ace-91c2-584b22d38517
2026-09-03 11:58:14,681 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-00781226, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-65190962, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None]
2026-09-03 11:58:15,039 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '003029e3-a22b-4f32-ba21-c3567abfe506', 'name': 'ctest-vn-00781226', 'tenant_id': '04efc2eb300848d4bca44e1f03113482', 'project_id': '04efc2eb300848d4bca44e1f03113482', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f08333e2-7aef-4c04-aef7-56d467458f40'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06116041', 'ctest-vn-00781226'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06116041', 'ctest-policy-allow-all-18845912']], 'subnet_ipam': [{'subnet_cidr': '47.191.231.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-03 11:58:15,315 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f67f752b-c322-4ace-91c2-584b22d38517', 'name': 'ctest-vn-65190962', 'tenant_id': '04efc2eb300848d4bca44e1f03113482', 'project_id': '04efc2eb300848d4bca44e1f03113482', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['7a6c7403-60eb-4173-b70c-0785be774919'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06116041', 'ctest-vn-65190962'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06116041', 'ctest-policy-allow-all-18845912']], 'subnet_ipam': [{'subnet_cidr': '63.187.153.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-03 11:58:15,491 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-09-03 11:58:15,865 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-09-03 11:58:15,903 - DEBUG - Requesting: http://10.0.0.162:8082/domain/e5ce8e97-353b-4dcd-b783-44e78990d6ab
2026-09-03 11:58:15,923 - DEBUG - Requesting: http://10.0.0.162:8082/project/04efc2eb-3008-48d4-bca4-4e1f03113482
2026-09-03 11:58:16,016 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/003029e3-a22b-4f32-ba21-c3567abfe506
2026-09-03 11:58:16,035 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/003029e3-a22b-4f32-ba21-c3567abfe506
2026-09-03 11:58:16,048 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/682d2fa1-ea06-43ff-8276-cd0ba90bb7ae
2026-09-03 11:58:16,059 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/682d2fa1-ea06-43ff-8276-cd0ba90bb7ae
2026-09-03 11:58:16,070 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/371df0a3-1a5b-44c0-8a9b-8529a15c876c
2026-09-03 11:58:16,080 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-03 11:58:16,080 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/003029e3-a22b-4f32-ba21-c3567abfe506
2026-09-03 11:58:16,093 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/682d2fa1-ea06-43ff-8276-cd0ba90bb7ae
2026-09-03 11:58:16,114 - INFO - Verified VN network id 12 for VN 003029e3-a22b-4f32-ba21-c3567abfe506
2026-09-03 11:58:16,116 - INFO - Verifications in API Server for VN ctest-vn-00781226 passed
2026-09-03 11:58:16,116 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/003029e3-a22b-4f32-ba21-c3567abfe506
2026-09-03 11:58:16,129 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/682d2fa1-ea06-43ff-8276-cd0ba90bb7ae
2026-09-03 11:58:16,141 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/682d2fa1-ea06-43ff-8276-cd0ba90bb7ae
2026-09-03 11:58:16,153 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/371df0a3-1a5b-44c0-8a9b-8529a15c876c
2026-09-03 11:58:16,168 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-00781226', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06116041', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13556856537173810', 'uuid-lslong': '13412215941480047878'}, 'enable': 'true', 'created': '2026-09-03T11:58:13', 'last-modified': '2026-09-03T11:58:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.165657'}
2026-09-03 11:58:16,176 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-03 11:58:16,176 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00781226 passed
2026-09-03 11:58:16,177 - DEBUG - ====Verifying policy data for ctest-vn-00781226 in API_Server ======
2026-09-03 11:58:16,177 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-09-03 11:58:16,184 - DEBUG - Requesting: http://10.0.0.162:8082/domain/e5ce8e97-353b-4dcd-b783-44e78990d6ab
2026-09-03 11:58:16,198 - DEBUG - Requesting: http://10.0.0.162:8082/project/04efc2eb-3008-48d4-bca4-4e1f03113482
2026-09-03 11:58:16,289 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/003029e3-a22b-4f32-ba21-c3567abfe506
2026-09-03 11:58:16,302 - DEBUG - ==>Verifying data for policy with id: ece2f114-8a54-42e0-aba1-8a03ec0a3c21, fqn: ['default-domain', 'ctest-TestBasicPolicy-06116041', 'ctest-policy-allow-all-18845912']
2026-09-03 11:58:16,302 - INFO - VN ctest-vn-00781226 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-03 11:58:16,302 - DEBUG - Verifying the vn in opserver
2026-09-03 11:58:16,302 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-00781226 virtual network link through opserver 10.0.0.162
2026-09-03 11:58:16,302 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-09-03 11:58:16,696 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-09-03 11:58:16,765 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-00781226', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-00781226?flat'}
2026-09-03 11:58:16,765 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-00781226 is found in opserver
2026-09-03 11:58:16,780 - DEBUG - Do not have enough data to verify VN in agent
2026-09-03 11:58:16,786 - DEBUG - VRF ids for VN ctest-vn-00781226: {}
2026-09-03 11:58:16,786 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-09-03 11:58:16,795 - DEBUG - Requesting: http://10.0.0.162:8082/domain/e5ce8e97-353b-4dcd-b783-44e78990d6ab
2026-09-03 11:58:16,810 - DEBUG - Requesting: http://10.0.0.162:8082/project/04efc2eb-3008-48d4-bca4-4e1f03113482
2026-09-03 11:58:16,900 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/f67f752b-c322-4ace-91c2-584b22d38517
2026-09-03 11:58:16,917 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/f67f752b-c322-4ace-91c2-584b22d38517
2026-09-03 11:58:16,931 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/e78f9f84-3835-4c21-bbf3-7b34f70012ce
2026-09-03 11:58:16,944 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/e78f9f84-3835-4c21-bbf3-7b34f70012ce
2026-09-03 11:58:16,955 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/76a06685-023b-4c7e-8bfe-78dc957f161d
2026-09-03 11:58:16,964 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-03 11:58:16,964 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/f67f752b-c322-4ace-91c2-584b22d38517
2026-09-03 11:58:16,976 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/e78f9f84-3835-4c21-bbf3-7b34f70012ce
2026-09-03 11:58:16,996 - INFO - Verified VN network id 13 for VN f67f752b-c322-4ace-91c2-584b22d38517
2026-09-03 11:58:16,997 - INFO - Verifications in API Server for VN ctest-vn-65190962 passed
2026-09-03 11:58:16,997 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/f67f752b-c322-4ace-91c2-584b22d38517
2026-09-03 11:58:17,011 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/e78f9f84-3835-4c21-bbf3-7b34f70012ce
2026-09-03 11:58:17,021 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/e78f9f84-3835-4c21-bbf3-7b34f70012ce
2026-09-03 11:58:17,030 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/76a06685-023b-4c7e-8bfe-78dc957f161d
2026-09-03 11:58:17,046 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-65190962', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06116041', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17762044286190373582', 'uuid-lslong': '10503054360711496983'}, 'enable': 'true', 'created': '2026-09-03T11:58:14', 'last-modified': '2026-09-03T11:58:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.773999'}
2026-09-03 11:58:17,054 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-03 11:58:17,054 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65190962 passed
2026-09-03 11:58:17,054 - DEBUG - ====Verifying policy data for ctest-vn-65190962 in API_Server ======
2026-09-03 11:58:17,054 - DEBUG - Requesting: http://10.0.0.162:8082/domains
2026-09-03 11:58:17,061 - DEBUG - Requesting: http://10.0.0.162:8082/domain/e5ce8e97-353b-4dcd-b783-44e78990d6ab
2026-09-03 11:58:17,075 - DEBUG - Requesting: http://10.0.0.162:8082/project/04efc2eb-3008-48d4-bca4-4e1f03113482
2026-09-03 11:58:17,170 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/f67f752b-c322-4ace-91c2-584b22d38517
2026-09-03 11:58:17,186 - DEBUG - ==>Verifying data for policy with id: ece2f114-8a54-42e0-aba1-8a03ec0a3c21, fqn: ['default-domain', 'ctest-TestBasicPolicy-06116041', 'ctest-policy-allow-all-18845912']
2026-09-03 11:58:17,186 - INFO - VN ctest-vn-65190962 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-03 11:58:17,186 - DEBUG - Verifying the vn in opserver
2026-09-03 11:58:17,186 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-65190962 virtual network link through opserver 10.0.0.162
2026-09-03 11:58:17,186 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks
2026-09-03 11:58:17,201 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-65190962', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-65190962?flat'}
2026-09-03 11:58:17,201 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06116041:ctest-vn-65190962 is found in opserver
2026-09-03 11:58:17,216 - DEBUG - Do not have enough data to verify VN in agent
2026-09-03 11:58:17,222 - DEBUG - VRF ids for VN ctest-vn-65190962: {}
2026-09-03 11:58:17,298 - DEBUG - Services list from nova: [