2026-09-09 11:05:03,870 - INFO - Domain Default found not creating
2026-09-09 11:05:04,037 - INFO - Project ctest-TestBasicPolicy-45315593 not found, creating it
2026-09-09 11:05:04,560 - INFO - Created Project:ctest-TestBasicPolicy-45315593, ID : d05e61e8-df1c-475c-8b3e-599c0784d070
2026-09-09 11:05:06,380 - INFO - ================================================================================
2026-09-09 11:05:06,381 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-09 11:05:06,381 - 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-09 11:05:06,659 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.254': '0'}} with
2026-09-09 11:05:06,659 - INFO - Initial checks done. Running the testcase now
2026-09-09 11:05:06,659 - INFO -
2026-09-09 11:05:07,396 - DEBUG - Response for create_network : {'network': {'id': '738e2298-ec70-451e-8d23-fcab4ca0f496', 'name': 'ctest-vn-63064665', 'tenant_id': 'd05e61e8df1c475c8b3e599c0784d070', 'project_id': 'd05e61e8df1c475c8b3e599c0784d070', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45315593', 'ctest-vn-63064665'], 'port_security_enabled': True, 'description': ''}}
2026-09-09 11:05:07,646 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c57cab99-30fd-40cf-9780-2017f0bb5d66', 'name': '', 'tenant_id': 'd05e61e8df1c475c8b3e599c0784d070', 'network_id': '738e2298-ec70-451e-8d23-fcab4ca0f496', 'ip_version': 4, 'cidr': '129.251.36.128/26', 'allocation_pools': [{'start': '129.251.36.130', 'end': '129.251.36.190'}], 'gateway_ip': '129.251.36.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.251.36.130', 'tags': [], 'project_id': 'd05e61e8df1c475c8b3e599c0784d070'}}
2026-09-09 11:05:07,666 - INFO - Created VN ctest-vn-63064665
2026-09-09 11:05:07,718 - DEBUG - VN ctest-vn-63064665 UUID is 738e2298-ec70-451e-8d23-fcab4ca0f496
2026-09-09 11:05:08,112 - DEBUG - Response for create_network : {'network': {'id': '4f8eb5e0-9f24-48b9-a455-46eea46d3606', 'name': 'ctest-vn-06720451', 'tenant_id': 'd05e61e8df1c475c8b3e599c0784d070', 'project_id': 'd05e61e8df1c475c8b3e599c0784d070', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45315593', 'ctest-vn-06720451'], 'port_security_enabled': True, 'description': ''}}
2026-09-09 11:05:08,340 - DEBUG - Response for create_subnet : {'subnet': {'id': '48281c5b-531a-4a42-9f78-fea5870db12a', 'name': '', 'tenant_id': 'd05e61e8df1c475c8b3e599c0784d070', 'network_id': '4f8eb5e0-9f24-48b9-a455-46eea46d3606', 'ip_version': 4, 'cidr': '32.247.36.64/26', 'allocation_pools': [{'start': '32.247.36.66', 'end': '32.247.36.126'}], 'gateway_ip': '32.247.36.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.247.36.66', 'tags': [], 'project_id': 'd05e61e8df1c475c8b3e599c0784d070'}}
2026-09-09 11:05:08,361 - INFO - Created VN ctest-vn-06720451
2026-09-09 11:05:08,414 - DEBUG - VN ctest-vn-06720451 UUID is 4f8eb5e0-9f24-48b9-a455-46eea46d3606
2026-09-09 11:05:08,570 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45315593:ctest-vn-63064665, 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-45315593:ctest-vn-06720451, 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-09 11:05:08,943 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '738e2298-ec70-451e-8d23-fcab4ca0f496', 'name': 'ctest-vn-63064665', 'tenant_id': 'd05e61e8df1c475c8b3e599c0784d070', 'project_id': 'd05e61e8df1c475c8b3e599c0784d070', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c57cab99-30fd-40cf-9780-2017f0bb5d66'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45315593', 'ctest-vn-63064665'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45315593', 'ctest-policy-allow-all-67145701']], 'subnet_ipam': [{'subnet_cidr': '129.251.36.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-09 11:05:09,209 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4f8eb5e0-9f24-48b9-a455-46eea46d3606', 'name': 'ctest-vn-06720451', 'tenant_id': 'd05e61e8df1c475c8b3e599c0784d070', 'project_id': 'd05e61e8df1c475c8b3e599c0784d070', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['48281c5b-531a-4a42-9f78-fea5870db12a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45315593', 'ctest-vn-06720451'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45315593', 'ctest-policy-allow-all-67145701']], 'subnet_ipam': [{'subnet_cidr': '32.247.36.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-09 11:05:09,390 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-09 11:05:10,060 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-09 11:05:10,109 - DEBUG - Requesting: http://10.0.0.250:8082/domain/8bbb7c25-989c-4100-9771-0b0c233d2e27
2026-09-09 11:05:10,125 - DEBUG - Requesting: http://10.0.0.250:8082/project/d05e61e8-df1c-475c-8b3e-599c0784d070
2026-09-09 11:05:10,206 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/738e2298-ec70-451e-8d23-fcab4ca0f496
2026-09-09 11:05:10,219 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/738e2298-ec70-451e-8d23-fcab4ca0f496
2026-09-09 11:05:10,229 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d5a26ed1-b013-436a-b74b-1628132b9a7a
2026-09-09 11:05:10,237 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d5a26ed1-b013-436a-b74b-1628132b9a7a
2026-09-09 11:05:10,246 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/f313721e-a5d5-4741-a75a-0ee991cddc27
2026-09-09 11:05:10,254 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-09 11:05:10,254 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/738e2298-ec70-451e-8d23-fcab4ca0f496
2026-09-09 11:05:10,265 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d5a26ed1-b013-436a-b74b-1628132b9a7a
2026-09-09 11:05:10,281 - INFO - Verified VN network id 12 for VN 738e2298-ec70-451e-8d23-fcab4ca0f496
2026-09-09 11:05:10,281 - INFO - Verifications in API Server for VN ctest-vn-63064665 passed
2026-09-09 11:05:10,281 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/738e2298-ec70-451e-8d23-fcab4ca0f496
2026-09-09 11:05:10,292 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d5a26ed1-b013-436a-b74b-1628132b9a7a
2026-09-09 11:05:10,302 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d5a26ed1-b013-436a-b74b-1628132b9a7a
2026-09-09 11:05:10,308 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/f313721e-a5d5-4741-a75a-0ee991cddc27
2026-09-09 11:05:10,320 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45315593:ctest-vn-63064665', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45315593', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8326630801251779870', 'uuid-lslong': '10170250196187935894'}, 'enable': 'true', 'created': '2026-09-09T11:05:07', 'last-modified': '2026-09-09T11:05:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.440704'}
2026-09-09 11:05:10,325 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-09 11:05:10,325 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63064665 passed
2026-09-09 11:05:10,326 - DEBUG - ====Verifying policy data for ctest-vn-63064665 in API_Server ======
2026-09-09 11:05:10,326 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-09 11:05:10,332 - DEBUG - Requesting: http://10.0.0.250:8082/domain/8bbb7c25-989c-4100-9771-0b0c233d2e27
2026-09-09 11:05:10,347 - DEBUG - Requesting: http://10.0.0.250:8082/project/d05e61e8-df1c-475c-8b3e-599c0784d070
2026-09-09 11:05:10,427 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/738e2298-ec70-451e-8d23-fcab4ca0f496
2026-09-09 11:05:10,439 - DEBUG - ==>Verifying data for policy with id: 29f0f9ef-33d3-4d80-8464-07b9119cdf4a, fqn: ['default-domain', 'ctest-TestBasicPolicy-45315593', 'ctest-policy-allow-all-67145701']
2026-09-09 11:05:10,439 - INFO - VN ctest-vn-63064665 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-09 11:05:10,439 - DEBUG - Verifying the vn in opserver
2026-09-09 11:05:10,439 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45315593:ctest-vn-63064665 virtual network link through opserver 10.0.0.250
2026-09-09 11:05:10,440 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-09-09 11:05:10,806 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-09-09 11:05:10,857 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45315593:ctest-vn-63064665', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45315593:ctest-vn-63064665?flat'}
2026-09-09 11:05:10,857 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45315593:ctest-vn-63064665 is found in opserver
2026-09-09 11:05:10,872 - DEBUG - Do not have enough data to verify VN in agent
2026-09-09 11:05:10,878 - DEBUG - VRF ids for VN ctest-vn-63064665: {}
2026-09-09 11:05:10,878 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-09 11:05:10,885 - DEBUG - Requesting: http://10.0.0.250:8082/domain/8bbb7c25-989c-4100-9771-0b0c233d2e27
2026-09-09 11:05:10,899 - DEBUG - Requesting: http://10.0.0.250:8082/project/d05e61e8-df1c-475c-8b3e-599c0784d070
2026-09-09 11:05:10,982 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/4f8eb5e0-9f24-48b9-a455-46eea46d3606
2026-09-09 11:05:10,996 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/4f8eb5e0-9f24-48b9-a455-46eea46d3606
2026-09-09 11:05:11,006 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/ab2c6d7c-660e-420d-ad19-957ee12b85d2
2026-09-09 11:05:11,017 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/ab2c6d7c-660e-420d-ad19-957ee12b85d2
2026-09-09 11:05:11,024 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/f0029a1a-34da-4404-8a11-b9a1460e5082
2026-09-09 11:05:11,030 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-09 11:05:11,030 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/4f8eb5e0-9f24-48b9-a455-46eea46d3606
2026-09-09 11:05:11,039 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/ab2c6d7c-660e-420d-ad19-957ee12b85d2
2026-09-09 11:05:11,057 - INFO - Verified VN network id 13 for VN 4f8eb5e0-9f24-48b9-a455-46eea46d3606
2026-09-09 11:05:11,058 - INFO - Verifications in API Server for VN ctest-vn-06720451 passed
2026-09-09 11:05:11,058 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/4f8eb5e0-9f24-48b9-a455-46eea46d3606
2026-09-09 11:05:11,070 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/ab2c6d7c-660e-420d-ad19-957ee12b85d2
2026-09-09 11:05:11,080 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/ab2c6d7c-660e-420d-ad19-957ee12b85d2
2026-09-09 11:05:11,089 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/f0029a1a-34da-4404-8a11-b9a1460e5082
2026-09-09 11:05:11,107 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45315593:ctest-vn-06720451', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45315593', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5732719352036477113', 'uuid-lslong': '11841448786015368710'}, 'enable': 'true', 'created': '2026-09-09T11:05:08', 'last-modified': '2026-09-09T11:05:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.918071'}
2026-09-09 11:05:11,114 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-09 11:05:11,114 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06720451 passed
2026-09-09 11:05:11,114 - DEBUG - ====Verifying policy data for ctest-vn-06720451 in API_Server ======
2026-09-09 11:05:11,114 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-09 11:05:11,124 - DEBUG - Requesting: http://10.0.0.250:8082/domain/8bbb7c25-989c-4100-9771-0b0c233d2e27
2026-09-09 11:05:11,140 - DEBUG - Requesting: http://10.0.0.250:8082/project/d05e61e8-df1c-475c-8b3e-599c0784d070
2026-09-09 11:05:11,235 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/4f8eb5e0-9f24-48b9-a455-46eea46d3606
2026-09-09 11:05:11,248 - DEBUG - ==>Verifying data for policy with id: 29f0f9ef-33d3-4d80-8464-07b9119cdf4a, fqn: ['default-domain', 'ctest-TestBasicPolicy-45315593', 'ctest-policy-allow-all-67145701']
2026-09-09 11:05:11,248 - INFO - VN ctest-vn-06720451 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-09 11:05:11,248 - DEBUG - Verifying the vn in opserver
2026-09-09 11:05:11,248 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45315593:ctest-vn-06720451 virtual network link through opserver 10.0.0.250
2026-09-09 11:05:11,248 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-09-09 11:05:11,262 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45315593:ctest-vn-06720451', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45315593:ctest-vn-06720451?flat'}
2026-09-09 11:05:11,262 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45315593:ctest-vn-06720451 is found in opserver
2026-09-09 11:05:11,274 - DEBUG - Do not have enough data to verify VN in agent
2026-09-09 11:05:11,281 - DEBUG - VRF ids for VN ctest-vn-06720451: {}
2026-09-09 11:05:11,356 - DEBUG - Services list from nova: [