2026-11-02 10:21:21,534 - INFO - Domain Default found not creating
2026-11-02 10:21:21,748 - INFO - Project ctest-TestBasicPolicy-15311470 not found, creating it
2026-11-02 10:21:22,267 - INFO - Created Project:ctest-TestBasicPolicy-15311470, ID : 96d896de-a39f-43f0-8a0c-bc9e8f5dbcce
2026-11-02 10:21:24,134 - INFO - ================================================================================
2026-11-02 10:21:24,134 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-02 10:21:24,134 - 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-11-02 10:21:24,389 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.29': '0'}} with
2026-11-02 10:21:24,389 - INFO - Initial checks done. Running the testcase now
2026-11-02 10:21:24,390 - INFO -
2026-11-02 10:21:25,085 - DEBUG - Response for create_network : {'network': {'id': '88bd4630-70b1-447f-ba85-782d70653e71', 'name': 'ctest-vn-69040716', 'tenant_id': '96d896dea39f43f08a0cbc9e8f5dbcce', 'project_id': '96d896dea39f43f08a0cbc9e8f5dbcce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15311470', 'ctest-vn-69040716'], 'port_security_enabled': True, 'description': ''}}
2026-11-02 10:21:25,254 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c524f9d-d0ab-4fe8-8825-ca6ccb56f9f0', 'name': '', 'tenant_id': '96d896dea39f43f08a0cbc9e8f5dbcce', 'network_id': '88bd4630-70b1-447f-ba85-782d70653e71', 'ip_version': 4, 'cidr': '155.55.146.192/26', 'allocation_pools': [{'start': '155.55.146.194', 'end': '155.55.146.254'}], 'gateway_ip': '155.55.146.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.55.146.194', 'tags': [], 'project_id': '96d896dea39f43f08a0cbc9e8f5dbcce'}}
2026-11-02 10:21:25,274 - INFO - Created VN ctest-vn-69040716
2026-11-02 10:21:25,335 - DEBUG - VN ctest-vn-69040716 UUID is 88bd4630-70b1-447f-ba85-782d70653e71
2026-11-02 10:21:25,673 - DEBUG - Response for create_network : {'network': {'id': 'd4bf78a6-2d44-4ae8-9190-bec6365c67ee', 'name': 'ctest-vn-20284436', 'tenant_id': '96d896dea39f43f08a0cbc9e8f5dbcce', 'project_id': '96d896dea39f43f08a0cbc9e8f5dbcce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15311470', 'ctest-vn-20284436'], 'port_security_enabled': True, 'description': ''}}
2026-11-02 10:21:25,891 - DEBUG - Response for create_subnet : {'subnet': {'id': '8aa1ab55-286d-468b-a851-7db6ccbe1d96', 'name': '', 'tenant_id': '96d896dea39f43f08a0cbc9e8f5dbcce', 'network_id': 'd4bf78a6-2d44-4ae8-9190-bec6365c67ee', 'ip_version': 4, 'cidr': '148.1.159.0/26', 'allocation_pools': [{'start': '148.1.159.2', 'end': '148.1.159.62'}], 'gateway_ip': '148.1.159.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.1.159.2', 'tags': [], 'project_id': '96d896dea39f43f08a0cbc9e8f5dbcce'}}
2026-11-02 10:21:25,911 - INFO - Created VN ctest-vn-20284436
2026-11-02 10:21:25,971 - DEBUG - VN ctest-vn-20284436 UUID is d4bf78a6-2d44-4ae8-9190-bec6365c67ee
2026-11-02 10:21:26,083 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15311470:ctest-vn-69040716, 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-15311470:ctest-vn-20284436, 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-11-02 10:21:26,398 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '88bd4630-70b1-447f-ba85-782d70653e71', 'name': 'ctest-vn-69040716', 'tenant_id': '96d896dea39f43f08a0cbc9e8f5dbcce', 'project_id': '96d896dea39f43f08a0cbc9e8f5dbcce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['2c524f9d-d0ab-4fe8-8825-ca6ccb56f9f0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15311470', 'ctest-vn-69040716'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15311470', 'ctest-policy-allow-all-17363863']], 'subnet_ipam': [{'subnet_cidr': '155.55.146.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-02 10:21:26,633 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd4bf78a6-2d44-4ae8-9190-bec6365c67ee', 'name': 'ctest-vn-20284436', 'tenant_id': '96d896dea39f43f08a0cbc9e8f5dbcce', 'project_id': '96d896dea39f43f08a0cbc9e8f5dbcce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['8aa1ab55-286d-468b-a851-7db6ccbe1d96'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15311470', 'ctest-vn-20284436'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15311470', 'ctest-policy-allow-all-17363863']], 'subnet_ipam': [{'subnet_cidr': '148.1.159.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-02 10:21:26,803 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-02 10:21:27,181 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-02 10:21:27,215 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7ddde34b-8e4a-4dc9-b109-6c5b50450e18
2026-11-02 10:21:27,229 - DEBUG - Requesting: http://10.0.0.38:8082/project/96d896de-a39f-43f0-8a0c-bc9e8f5dbcce
2026-11-02 10:21:27,314 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88bd4630-70b1-447f-ba85-782d70653e71
2026-11-02 10:21:27,330 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88bd4630-70b1-447f-ba85-782d70653e71
2026-11-02 10:21:27,344 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd924886-fe08-4eea-b792-81ec6fa3d8e7
2026-11-02 10:21:27,354 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd924886-fe08-4eea-b792-81ec6fa3d8e7
2026-11-02 10:21:27,365 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/88f9a883-dbe1-42d9-b127-c46701e2fad3
2026-11-02 10:21:27,373 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-02 10:21:27,373 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88bd4630-70b1-447f-ba85-782d70653e71
2026-11-02 10:21:27,384 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd924886-fe08-4eea-b792-81ec6fa3d8e7
2026-11-02 10:21:27,405 - INFO - Verified VN network id 10 for VN 88bd4630-70b1-447f-ba85-782d70653e71
2026-11-02 10:21:27,405 - INFO - Verifications in API Server for VN ctest-vn-69040716 passed
2026-11-02 10:21:27,405 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88bd4630-70b1-447f-ba85-782d70653e71
2026-11-02 10:21:27,418 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd924886-fe08-4eea-b792-81ec6fa3d8e7
2026-11-02 10:21:27,430 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd924886-fe08-4eea-b792-81ec6fa3d8e7
2026-11-02 10:21:27,441 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/88f9a883-dbe1-42d9-b127-c46701e2fad3
2026-11-02 10:21:27,459 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15311470:ctest-vn-69040716', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15311470', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9853108733619553407', 'uuid-lslong': '13440280799511658097'}, 'enable': 'true', 'created': '2026-11-02T10:21:25', 'last-modified': '2026-11-02T10:21:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.090045'}
2026-11-02 10:21:27,469 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-02 10:21:27,469 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69040716 passed
2026-11-02 10:21:27,469 - DEBUG - ====Verifying policy data for ctest-vn-69040716 in API_Server ======
2026-11-02 10:21:27,469 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-02 10:21:27,478 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7ddde34b-8e4a-4dc9-b109-6c5b50450e18
2026-11-02 10:21:27,489 - DEBUG - Requesting: http://10.0.0.38:8082/project/96d896de-a39f-43f0-8a0c-bc9e8f5dbcce
2026-11-02 10:21:27,567 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88bd4630-70b1-447f-ba85-782d70653e71
2026-11-02 10:21:27,579 - DEBUG - ==>Verifying data for policy with id: bd91f8ac-2222-4523-a06d-7e31675d8d54, fqn: ['default-domain', 'ctest-TestBasicPolicy-15311470', 'ctest-policy-allow-all-17363863']
2026-11-02 10:21:27,579 - INFO - VN ctest-vn-69040716 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-02 10:21:27,579 - DEBUG - Verifying the vn in opserver
2026-11-02 10:21:27,579 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15311470:ctest-vn-69040716 virtual network link through opserver 10.0.0.38
2026-11-02 10:21:27,579 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-02 10:21:27,954 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-02 10:21:28,012 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15311470:ctest-vn-69040716', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15311470:ctest-vn-69040716?flat'}
2026-11-02 10:21:28,012 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15311470:ctest-vn-69040716 is found in opserver
2026-11-02 10:21:28,021 - DEBUG - Do not have enough data to verify VN in agent
2026-11-02 10:21:28,028 - DEBUG - VRF ids for VN ctest-vn-69040716: {}
2026-11-02 10:21:28,028 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-02 10:21:28,034 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7ddde34b-8e4a-4dc9-b109-6c5b50450e18
2026-11-02 10:21:28,045 - DEBUG - Requesting: http://10.0.0.38:8082/project/96d896de-a39f-43f0-8a0c-bc9e8f5dbcce
2026-11-02 10:21:28,128 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4bf78a6-2d44-4ae8-9190-bec6365c67ee
2026-11-02 10:21:28,142 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4bf78a6-2d44-4ae8-9190-bec6365c67ee
2026-11-02 10:21:28,152 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/983a29bd-7665-4eb6-957c-bb5c60ed93f4
2026-11-02 10:21:28,160 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/983a29bd-7665-4eb6-957c-bb5c60ed93f4
2026-11-02 10:21:28,167 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/31bba21a-247c-4568-b145-eb833fd2f097
2026-11-02 10:21:28,174 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-02 10:21:28,174 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4bf78a6-2d44-4ae8-9190-bec6365c67ee
2026-11-02 10:21:28,183 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/983a29bd-7665-4eb6-957c-bb5c60ed93f4
2026-11-02 10:21:28,198 - INFO - Verified VN network id 11 for VN d4bf78a6-2d44-4ae8-9190-bec6365c67ee
2026-11-02 10:21:28,198 - INFO - Verifications in API Server for VN ctest-vn-20284436 passed
2026-11-02 10:21:28,198 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4bf78a6-2d44-4ae8-9190-bec6365c67ee
2026-11-02 10:21:28,209 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/983a29bd-7665-4eb6-957c-bb5c60ed93f4
2026-11-02 10:21:28,217 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/983a29bd-7665-4eb6-957c-bb5c60ed93f4
2026-11-02 10:21:28,225 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/31bba21a-247c-4568-b145-eb833fd2f097
2026-11-02 10:21:28,238 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15311470:ctest-vn-20284436', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15311470', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15330104311711812328', 'uuid-lslong': '10489093290670712814'}, 'enable': 'true', 'created': '2026-11-02T10:21:25', 'last-modified': '2026-11-02T10:21:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.629213'}
2026-11-02 10:21:28,246 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-02 10:21:28,246 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20284436 passed
2026-11-02 10:21:28,246 - DEBUG - ====Verifying policy data for ctest-vn-20284436 in API_Server ======
2026-11-02 10:21:28,247 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-11-02 10:21:28,252 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7ddde34b-8e4a-4dc9-b109-6c5b50450e18
2026-11-02 10:21:28,263 - DEBUG - Requesting: http://10.0.0.38:8082/project/96d896de-a39f-43f0-8a0c-bc9e8f5dbcce
2026-11-02 10:21:28,335 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4bf78a6-2d44-4ae8-9190-bec6365c67ee
2026-11-02 10:21:28,344 - DEBUG - ==>Verifying data for policy with id: bd91f8ac-2222-4523-a06d-7e31675d8d54, fqn: ['default-domain', 'ctest-TestBasicPolicy-15311470', 'ctest-policy-allow-all-17363863']
2026-11-02 10:21:28,344 - INFO - VN ctest-vn-20284436 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-02 10:21:28,344 - DEBUG - Verifying the vn in opserver
2026-11-02 10:21:28,344 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15311470:ctest-vn-20284436 virtual network link through opserver 10.0.0.38
2026-11-02 10:21:28,344 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-11-02 10:21:28,354 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15311470:ctest-vn-20284436', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15311470:ctest-vn-20284436?flat'}
2026-11-02 10:21:28,354 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15311470:ctest-vn-20284436 is found in opserver
2026-11-02 10:21:28,366 - DEBUG - Do not have enough data to verify VN in agent
2026-11-02 10:21:28,372 - DEBUG - VRF ids for VN ctest-vn-20284436: {}
2026-11-02 10:21:28,435 - DEBUG - Services list from nova: [