2026-02-12 15:19:44,941 - INFO - Domain Default found not creating
2026-02-12 15:19:45,170 - INFO - Project ctest-TestBasicPolicy-15497487 not found, creating it
2026-02-12 15:19:45,706 - INFO - Created Project:ctest-TestBasicPolicy-15497487, ID : 23059b56-5c4a-49d6-9e4c-7a3d8a46d76e
2026-02-12 15:19:48,214 - INFO - ================================================================================
2026-02-12 15:19:48,214 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-12 15:19:48,214 - 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-02-12 15:19:48,481 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with
2026-02-12 15:19:48,482 - INFO - Initial checks done. Running the testcase now
2026-02-12 15:19:48,482 - INFO -
2026-02-12 15:19:49,127 - DEBUG - Response for create_network : {'network': {'id': '77773dab-cb41-4836-8dfd-92d3601c1260', 'name': 'ctest-vn-84367731', 'tenant_id': '23059b565c4a49d69e4c7a3d8a46d76e', 'project_id': '23059b565c4a49d69e4c7a3d8a46d76e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15497487', 'ctest-vn-84367731'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 15:19:49,329 - DEBUG - Response for create_subnet : {'subnet': {'id': '59be460f-16fb-4f6a-a759-14666ada1e1a', 'name': '', 'tenant_id': '23059b565c4a49d69e4c7a3d8a46d76e', 'network_id': '77773dab-cb41-4836-8dfd-92d3601c1260', 'ip_version': 4, 'cidr': '16.174.189.128/26', 'allocation_pools': [{'start': '16.174.189.130', 'end': '16.174.189.190'}], 'gateway_ip': '16.174.189.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.174.189.130', 'tags': [], 'project_id': '23059b565c4a49d69e4c7a3d8a46d76e'}}
2026-02-12 15:19:49,354 - INFO - Created VN ctest-vn-84367731
2026-02-12 15:19:49,411 - DEBUG - VN ctest-vn-84367731 UUID is 77773dab-cb41-4836-8dfd-92d3601c1260
2026-02-12 15:19:49,763 - DEBUG - Response for create_network : {'network': {'id': '2ceb81f6-7309-4f84-82ff-12b0a9cf9f1d', 'name': 'ctest-vn-08290783', 'tenant_id': '23059b565c4a49d69e4c7a3d8a46d76e', 'project_id': '23059b565c4a49d69e4c7a3d8a46d76e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15497487', 'ctest-vn-08290783'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 15:19:50,010 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4c706e0-b925-4bf5-9d13-9bd385240b84', 'name': '', 'tenant_id': '23059b565c4a49d69e4c7a3d8a46d76e', 'network_id': '2ceb81f6-7309-4f84-82ff-12b0a9cf9f1d', 'ip_version': 4, 'cidr': '223.125.60.128/26', 'allocation_pools': [{'start': '223.125.60.130', 'end': '223.125.60.190'}], 'gateway_ip': '223.125.60.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.125.60.130', 'tags': [], 'project_id': '23059b565c4a49d69e4c7a3d8a46d76e'}}
2026-02-12 15:19:50,033 - INFO - Created VN ctest-vn-08290783
2026-02-12 15:19:50,091 - DEBUG - VN ctest-vn-08290783 UUID is 2ceb81f6-7309-4f84-82ff-12b0a9cf9f1d
2026-02-12 15:19:50,232 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15497487:ctest-vn-84367731, 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-15497487:ctest-vn-08290783, 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-02-12 15:19:50,568 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '77773dab-cb41-4836-8dfd-92d3601c1260', 'name': 'ctest-vn-84367731', 'tenant_id': '23059b565c4a49d69e4c7a3d8a46d76e', 'project_id': '23059b565c4a49d69e4c7a3d8a46d76e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['59be460f-16fb-4f6a-a759-14666ada1e1a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15497487', 'ctest-vn-84367731'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15497487', 'ctest-policy-allow-all-75867736']], 'subnet_ipam': [{'subnet_cidr': '16.174.189.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 15:19:50,888 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2ceb81f6-7309-4f84-82ff-12b0a9cf9f1d', 'name': 'ctest-vn-08290783', 'tenant_id': '23059b565c4a49d69e4c7a3d8a46d76e', 'project_id': '23059b565c4a49d69e4c7a3d8a46d76e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a4c706e0-b925-4bf5-9d13-9bd385240b84'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15497487', 'ctest-vn-08290783'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15497487', 'ctest-policy-allow-all-75867736']], 'subnet_ipam': [{'subnet_cidr': '223.125.60.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 15:19:51,039 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-12 15:19:51,421 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-12 15:19:51,462 - DEBUG - Requesting: http://10.0.0.129:8082/domain/a0463cad-1b8f-499c-be49-0d07820a3594
2026-02-12 15:19:51,478 - DEBUG - Requesting: http://10.0.0.129:8082/project/23059b56-5c4a-49d6-9e4c-7a3d8a46d76e
2026-02-12 15:19:51,560 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/77773dab-cb41-4836-8dfd-92d3601c1260
2026-02-12 15:19:51,573 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/77773dab-cb41-4836-8dfd-92d3601c1260
2026-02-12 15:19:51,584 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3104b8a2-82cd-472d-bf74-240c4809baba
2026-02-12 15:19:51,593 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3104b8a2-82cd-472d-bf74-240c4809baba
2026-02-12 15:19:51,601 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/98a9fac4-72ff-4c33-9213-208a423902b4
2026-02-12 15:19:51,609 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 15:19:51,609 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/77773dab-cb41-4836-8dfd-92d3601c1260
2026-02-12 15:19:51,619 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3104b8a2-82cd-472d-bf74-240c4809baba
2026-02-12 15:19:51,636 - INFO - Verified VN network id 12 for VN 77773dab-cb41-4836-8dfd-92d3601c1260
2026-02-12 15:19:51,636 - INFO - Verifications in API Server for VN ctest-vn-84367731 passed
2026-02-12 15:19:51,636 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/77773dab-cb41-4836-8dfd-92d3601c1260
2026-02-12 15:19:51,647 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3104b8a2-82cd-472d-bf74-240c4809baba
2026-02-12 15:19:51,656 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3104b8a2-82cd-472d-bf74-240c4809baba
2026-02-12 15:19:51,664 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/98a9fac4-72ff-4c33-9213-208a423902b4
2026-02-12 15:19:51,678 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15497487:ctest-vn-84367731', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15497487', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8608417020800747574', 'uuid-lslong': '10231495365003842144'}, 'enable': 'true', 'created': '2026-02-12T15:19:49', 'last-modified': '2026-02-12T15:19:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.128813'}
2026-02-12 15:19:51,686 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 15:19:51,686 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84367731 passed
2026-02-12 15:19:51,686 - DEBUG - ====Verifying policy data for ctest-vn-84367731 in API_Server ======
2026-02-12 15:19:51,686 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-12 15:19:51,693 - DEBUG - Requesting: http://10.0.0.129:8082/domain/a0463cad-1b8f-499c-be49-0d07820a3594
2026-02-12 15:19:51,705 - DEBUG - Requesting: http://10.0.0.129:8082/project/23059b56-5c4a-49d6-9e4c-7a3d8a46d76e
2026-02-12 15:19:51,783 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/77773dab-cb41-4836-8dfd-92d3601c1260
2026-02-12 15:19:51,796 - DEBUG - ==>Verifying data for policy with id: dd407fd1-bf4b-4270-b0a9-d4a66d9791fb, fqn: ['default-domain', 'ctest-TestBasicPolicy-15497487', 'ctest-policy-allow-all-75867736']
2026-02-12 15:19:51,796 - INFO - VN ctest-vn-84367731 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 15:19:51,796 - DEBUG - Verifying the vn in opserver
2026-02-12 15:19:51,796 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15497487:ctest-vn-84367731 virtual network link through opserver 10.0.0.129
2026-02-12 15:19:51,796 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-02-12 15:19:52,149 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-02-12 15:19:52,223 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15497487:ctest-vn-84367731', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15497487:ctest-vn-84367731?flat'}
2026-02-12 15:19:52,223 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15497487:ctest-vn-84367731 is found in opserver
2026-02-12 15:19:52,235 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 15:19:52,240 - DEBUG - VRF ids for VN ctest-vn-84367731: {}
2026-02-12 15:19:52,240 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-12 15:19:52,246 - DEBUG - Requesting: http://10.0.0.129:8082/domain/a0463cad-1b8f-499c-be49-0d07820a3594
2026-02-12 15:19:52,262 - DEBUG - Requesting: http://10.0.0.129:8082/project/23059b56-5c4a-49d6-9e4c-7a3d8a46d76e
2026-02-12 15:19:52,338 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2ceb81f6-7309-4f84-82ff-12b0a9cf9f1d
2026-02-12 15:19:52,352 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2ceb81f6-7309-4f84-82ff-12b0a9cf9f1d
2026-02-12 15:19:52,363 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/6ea199e9-b109-4a51-a143-f97e499c4ad3
2026-02-12 15:19:52,372 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/6ea199e9-b109-4a51-a143-f97e499c4ad3
2026-02-12 15:19:52,380 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/9ce41f95-b809-4d69-bc3a-a295757a66ae
2026-02-12 15:19:52,389 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 15:19:52,389 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2ceb81f6-7309-4f84-82ff-12b0a9cf9f1d
2026-02-12 15:19:52,399 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/6ea199e9-b109-4a51-a143-f97e499c4ad3
2026-02-12 15:19:52,416 - INFO - Verified VN network id 13 for VN 2ceb81f6-7309-4f84-82ff-12b0a9cf9f1d
2026-02-12 15:19:52,416 - INFO - Verifications in API Server for VN ctest-vn-08290783 passed
2026-02-12 15:19:52,416 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2ceb81f6-7309-4f84-82ff-12b0a9cf9f1d
2026-02-12 15:19:52,427 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/6ea199e9-b109-4a51-a143-f97e499c4ad3
2026-02-12 15:19:52,438 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/6ea199e9-b109-4a51-a143-f97e499c4ad3
2026-02-12 15:19:52,447 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/9ce41f95-b809-4d69-bc3a-a295757a66ae
2026-02-12 15:19:52,461 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15497487:ctest-vn-08290783', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15497487', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3236823652687761284', 'uuid-lslong': '9439283893964349213'}, 'enable': 'true', 'created': '2026-02-12T15:19:49', 'last-modified': '2026-02-12T15:19:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.655750'}
2026-02-12 15:19:52,468 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 15:19:52,468 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08290783 passed
2026-02-12 15:19:52,468 - DEBUG - ====Verifying policy data for ctest-vn-08290783 in API_Server ======
2026-02-12 15:19:52,468 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-12 15:19:52,475 - DEBUG - Requesting: http://10.0.0.129:8082/domain/a0463cad-1b8f-499c-be49-0d07820a3594
2026-02-12 15:19:52,489 - DEBUG - Requesting: http://10.0.0.129:8082/project/23059b56-5c4a-49d6-9e4c-7a3d8a46d76e
2026-02-12 15:19:52,569 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/2ceb81f6-7309-4f84-82ff-12b0a9cf9f1d
2026-02-12 15:19:52,581 - DEBUG - ==>Verifying data for policy with id: dd407fd1-bf4b-4270-b0a9-d4a66d9791fb, fqn: ['default-domain', 'ctest-TestBasicPolicy-15497487', 'ctest-policy-allow-all-75867736']
2026-02-12 15:19:52,581 - INFO - VN ctest-vn-08290783 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 15:19:52,581 - DEBUG - Verifying the vn in opserver
2026-02-12 15:19:52,581 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15497487:ctest-vn-08290783 virtual network link through opserver 10.0.0.129
2026-02-12 15:19:52,581 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-02-12 15:19:52,593 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15497487:ctest-vn-08290783', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15497487:ctest-vn-08290783?flat'}
2026-02-12 15:19:52,593 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15497487:ctest-vn-08290783 is found in opserver
2026-02-12 15:19:52,606 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 15:19:52,612 - DEBUG - VRF ids for VN ctest-vn-08290783: {}
2026-02-12 15:19:52,683 - DEBUG - Services list from nova: [