2026-06-01 15:48:51,466 - INFO - Domain Default found not creating
2026-06-01 15:48:51,633 - INFO - Project ctest-TestBasicPolicy-97907598 not found, creating it
2026-06-01 15:48:52,075 - INFO - Created Project:ctest-TestBasicPolicy-97907598, ID : 3f9e4708-a2ef-433c-be31-9d6cd6034dde
2026-06-01 15:48:53,567 - INFO - ================================================================================
2026-06-01 15:48:53,567 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-01 15:48:53,568 - 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-06-01 15:48:53,826 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with
2026-06-01 15:48:53,826 - INFO - Initial checks done. Running the testcase now
2026-06-01 15:48:53,826 - INFO -
2026-06-01 15:48:54,376 - DEBUG - Response for create_network : {'network': {'id': '46f23c9e-d024-41f6-820f-185631049852', 'name': 'ctest-vn-92820719', 'tenant_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'project_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97907598', 'ctest-vn-92820719'], 'port_security_enabled': True, 'description': ''}}
2026-06-01 15:48:54,550 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7ee8b51-9ba1-4cd0-8495-37ef07c53757', 'name': '', 'tenant_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'network_id': '46f23c9e-d024-41f6-820f-185631049852', 'ip_version': 4, 'cidr': '196.135.63.128/26', 'allocation_pools': [{'start': '196.135.63.130', 'end': '196.135.63.190'}], 'gateway_ip': '196.135.63.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.135.63.130', 'tags': [], 'project_id': '3f9e4708a2ef433cbe319d6cd6034dde'}}
2026-06-01 15:48:54,567 - INFO - Created VN ctest-vn-92820719
2026-06-01 15:48:54,617 - DEBUG - VN ctest-vn-92820719 UUID is 46f23c9e-d024-41f6-820f-185631049852
2026-06-01 15:48:54,942 - DEBUG - Response for create_network : {'network': {'id': '97d10d0f-65ec-44c2-aad7-224436b59c3a', 'name': 'ctest-vn-69298694', 'tenant_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'project_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97907598', 'ctest-vn-69298694'], 'port_security_enabled': True, 'description': ''}}
2026-06-01 15:48:55,129 - DEBUG - Response for create_subnet : {'subnet': {'id': '9748f177-c437-4076-a9d6-f99dad5ada91', 'name': '', 'tenant_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'network_id': '97d10d0f-65ec-44c2-aad7-224436b59c3a', 'ip_version': 4, 'cidr': '114.59.111.128/26', 'allocation_pools': [{'start': '114.59.111.130', 'end': '114.59.111.190'}], 'gateway_ip': '114.59.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.59.111.130', 'tags': [], 'project_id': '3f9e4708a2ef433cbe319d6cd6034dde'}}
2026-06-01 15:48:55,147 - INFO - Created VN ctest-vn-69298694
2026-06-01 15:48:55,197 - DEBUG - VN ctest-vn-69298694 UUID is 97d10d0f-65ec-44c2-aad7-224436b59c3a
2026-06-01 15:48:55,345 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-92820719, 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-97907598:ctest-vn-69298694, 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-06-01 15:48:55,638 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '46f23c9e-d024-41f6-820f-185631049852', 'name': 'ctest-vn-92820719', 'tenant_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'project_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7ee8b51-9ba1-4cd0-8495-37ef07c53757'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97907598', 'ctest-vn-92820719'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97907598', 'ctest-policy-allow-all-89179097']], 'subnet_ipam': [{'subnet_cidr': '196.135.63.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-01 15:48:55,865 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97d10d0f-65ec-44c2-aad7-224436b59c3a', 'name': 'ctest-vn-69298694', 'tenant_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'project_id': '3f9e4708a2ef433cbe319d6cd6034dde', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9748f177-c437-4076-a9d6-f99dad5ada91'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97907598', 'ctest-vn-69298694'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97907598', 'ctest-policy-allow-all-89179097']], 'subnet_ipam': [{'subnet_cidr': '114.59.111.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-01 15:48:56,025 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-01 15:48:56,320 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-01 15:48:56,351 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b2a8a80-1e9d-467d-aef7-a6d7d2622cea
2026-06-01 15:48:56,362 - DEBUG - Requesting: http://10.0.0.38:8082/project/3f9e4708-a2ef-433c-be31-9d6cd6034dde
2026-06-01 15:48:56,432 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46f23c9e-d024-41f6-820f-185631049852
2026-06-01 15:48:56,445 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46f23c9e-d024-41f6-820f-185631049852
2026-06-01 15:48:56,456 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9ab4ed4c-0088-4d4c-b1b5-6e98dd6c3510
2026-06-01 15:48:56,463 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9ab4ed4c-0088-4d4c-b1b5-6e98dd6c3510
2026-06-01 15:48:56,469 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7958837a-43c7-4242-92bc-89669c4a6bdf
2026-06-01 15:48:56,475 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-01 15:48:56,475 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46f23c9e-d024-41f6-820f-185631049852
2026-06-01 15:48:56,482 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9ab4ed4c-0088-4d4c-b1b5-6e98dd6c3510
2026-06-01 15:48:56,494 - INFO - Verified VN network id 11 for VN 46f23c9e-d024-41f6-820f-185631049852
2026-06-01 15:48:56,494 - INFO - Verifications in API Server for VN ctest-vn-92820719 passed
2026-06-01 15:48:56,494 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46f23c9e-d024-41f6-820f-185631049852
2026-06-01 15:48:56,503 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9ab4ed4c-0088-4d4c-b1b5-6e98dd6c3510
2026-06-01 15:48:56,510 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9ab4ed4c-0088-4d4c-b1b5-6e98dd6c3510
2026-06-01 15:48:56,517 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7958837a-43c7-4242-92bc-89669c4a6bdf
2026-06-01 15:48:56,527 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-92820719', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97907598', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5112215179813470710', 'uuid-lslong': '9371736108049930322'}, 'enable': 'true', 'created': '2026-06-01T15:48:54', 'last-modified': '2026-06-01T15:48:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.916735'}
2026-06-01 15:48:56,533 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-01 15:48:56,533 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92820719 passed
2026-06-01 15:48:56,534 - DEBUG - ====Verifying policy data for ctest-vn-92820719 in API_Server ======
2026-06-01 15:48:56,534 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-01 15:48:56,538 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b2a8a80-1e9d-467d-aef7-a6d7d2622cea
2026-06-01 15:48:56,548 - DEBUG - Requesting: http://10.0.0.38:8082/project/3f9e4708-a2ef-433c-be31-9d6cd6034dde
2026-06-01 15:48:56,623 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46f23c9e-d024-41f6-820f-185631049852
2026-06-01 15:48:56,633 - DEBUG - ==>Verifying data for policy with id: 07f0cf23-7dd4-4319-897d-62af16467c65, fqn: ['default-domain', 'ctest-TestBasicPolicy-97907598', 'ctest-policy-allow-all-89179097']
2026-06-01 15:48:56,633 - INFO - VN ctest-vn-92820719 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-01 15:48:56,633 - DEBUG - Verifying the vn in opserver
2026-06-01 15:48:56,633 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-92820719 virtual network link through opserver 10.0.0.38
2026-06-01 15:48:56,633 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-01 15:48:56,925 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-01 15:48:56,985 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-92820719', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-92820719?flat'}
2026-06-01 15:48:56,985 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-92820719 is found in opserver
2026-06-01 15:48:56,993 - DEBUG - Do not have enough data to verify VN in agent
2026-06-01 15:48:56,997 - DEBUG - VRF ids for VN ctest-vn-92820719: {}
2026-06-01 15:48:56,997 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-01 15:48:57,003 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b2a8a80-1e9d-467d-aef7-a6d7d2622cea
2026-06-01 15:48:57,014 - DEBUG - Requesting: http://10.0.0.38:8082/project/3f9e4708-a2ef-433c-be31-9d6cd6034dde
2026-06-01 15:48:57,088 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/97d10d0f-65ec-44c2-aad7-224436b59c3a
2026-06-01 15:48:57,099 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/97d10d0f-65ec-44c2-aad7-224436b59c3a
2026-06-01 15:48:57,109 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a5e7006c-e8d6-4993-82ed-32f4397e36f9
2026-06-01 15:48:57,116 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a5e7006c-e8d6-4993-82ed-32f4397e36f9
2026-06-01 15:48:57,123 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c8e7f893-0aac-4ab3-9698-ed1d9d951362
2026-06-01 15:48:57,130 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-01 15:48:57,130 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/97d10d0f-65ec-44c2-aad7-224436b59c3a
2026-06-01 15:48:57,139 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a5e7006c-e8d6-4993-82ed-32f4397e36f9
2026-06-01 15:48:57,153 - INFO - Verified VN network id 12 for VN 97d10d0f-65ec-44c2-aad7-224436b59c3a
2026-06-01 15:48:57,153 - INFO - Verifications in API Server for VN ctest-vn-69298694 passed
2026-06-01 15:48:57,153 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/97d10d0f-65ec-44c2-aad7-224436b59c3a
2026-06-01 15:48:57,163 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a5e7006c-e8d6-4993-82ed-32f4397e36f9
2026-06-01 15:48:57,170 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a5e7006c-e8d6-4993-82ed-32f4397e36f9
2026-06-01 15:48:57,176 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c8e7f893-0aac-4ab3-9698-ed1d9d951362
2026-06-01 15:48:57,189 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-69298694', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97907598', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10939539329645298882', 'uuid-lslong': '12310345782811532346'}, 'enable': 'true', 'created': '2026-06-01T15:48:54', 'last-modified': '2026-06-01T15:48:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.343844'}
2026-06-01 15:48:57,194 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-01 15:48:57,195 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69298694 passed
2026-06-01 15:48:57,195 - DEBUG - ====Verifying policy data for ctest-vn-69298694 in API_Server ======
2026-06-01 15:48:57,195 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-01 15:48:57,200 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b2a8a80-1e9d-467d-aef7-a6d7d2622cea
2026-06-01 15:48:57,211 - DEBUG - Requesting: http://10.0.0.38:8082/project/3f9e4708-a2ef-433c-be31-9d6cd6034dde
2026-06-01 15:48:57,285 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/97d10d0f-65ec-44c2-aad7-224436b59c3a
2026-06-01 15:48:57,294 - DEBUG - ==>Verifying data for policy with id: 07f0cf23-7dd4-4319-897d-62af16467c65, fqn: ['default-domain', 'ctest-TestBasicPolicy-97907598', 'ctest-policy-allow-all-89179097']
2026-06-01 15:48:57,294 - INFO - VN ctest-vn-69298694 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-01 15:48:57,294 - DEBUG - Verifying the vn in opserver
2026-06-01 15:48:57,294 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-69298694 virtual network link through opserver 10.0.0.38
2026-06-01 15:48:57,294 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-01 15:48:57,303 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-69298694', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-69298694?flat'}
2026-06-01 15:48:57,303 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97907598:ctest-vn-69298694 is found in opserver
2026-06-01 15:48:57,312 - DEBUG - Do not have enough data to verify VN in agent
2026-06-01 15:48:57,316 - DEBUG - VRF ids for VN ctest-vn-69298694: {}
2026-06-01 15:48:57,374 - DEBUG - Services list from nova: [