2026-02-12 02:13:27,145 - INFO - Domain Default found not creating
2026-02-12 02:13:27,312 - INFO - Project ctest-TestBasicPolicy-96706580 not found, creating it
2026-02-12 02:13:27,761 - INFO - Created Project:ctest-TestBasicPolicy-96706580, ID : 2eb40df6-e0b8-4e4f-8375-4d17ea423988
2026-02-12 02:13:29,286 - INFO - ================================================================================
2026-02-12 02:13:29,286 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-12 02:13:29,286 - 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 02:13:29,544 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.129': '0'}} with
2026-02-12 02:13:29,544 - INFO - Initial checks done. Running the testcase now
2026-02-12 02:13:29,544 - INFO -
2026-02-12 02:13:30,095 - DEBUG - Response for create_network : {'network': {'id': '58cd2d75-1fe0-4025-87ed-db7193dc4af2', 'name': 'ctest-vn-45614570', 'tenant_id': '2eb40df6e0b84e4f83754d17ea423988', 'project_id': '2eb40df6e0b84e4f83754d17ea423988', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96706580', 'ctest-vn-45614570'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 02:13:30,301 - DEBUG - Response for create_subnet : {'subnet': {'id': '64c0d1b9-56b6-4549-89db-fa667eb2e483', 'name': '', 'tenant_id': '2eb40df6e0b84e4f83754d17ea423988', 'network_id': '58cd2d75-1fe0-4025-87ed-db7193dc4af2', 'ip_version': 4, 'cidr': '8.199.11.192/26', 'allocation_pools': [{'start': '8.199.11.194', 'end': '8.199.11.254'}], 'gateway_ip': '8.199.11.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.199.11.194', 'tags': [], 'project_id': '2eb40df6e0b84e4f83754d17ea423988'}}
2026-02-12 02:13:30,317 - INFO - Created VN ctest-vn-45614570
2026-02-12 02:13:30,368 - DEBUG - VN ctest-vn-45614570 UUID is 58cd2d75-1fe0-4025-87ed-db7193dc4af2
2026-02-12 02:13:30,691 - DEBUG - Response for create_network : {'network': {'id': '772472fc-d3da-49a1-9cc8-30005ee5caee', 'name': 'ctest-vn-68269483', 'tenant_id': '2eb40df6e0b84e4f83754d17ea423988', 'project_id': '2eb40df6e0b84e4f83754d17ea423988', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96706580', 'ctest-vn-68269483'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 02:13:30,832 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b719572-2916-418d-b7c2-69aa86ccf867', 'name': '', 'tenant_id': '2eb40df6e0b84e4f83754d17ea423988', 'network_id': '772472fc-d3da-49a1-9cc8-30005ee5caee', 'ip_version': 4, 'cidr': '47.37.57.128/26', 'allocation_pools': [{'start': '47.37.57.130', 'end': '47.37.57.190'}], 'gateway_ip': '47.37.57.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.37.57.130', 'tags': [], 'project_id': '2eb40df6e0b84e4f83754d17ea423988'}}
2026-02-12 02:13:30,851 - INFO - Created VN ctest-vn-68269483
2026-02-12 02:13:30,907 - DEBUG - VN ctest-vn-68269483 UUID is 772472fc-d3da-49a1-9cc8-30005ee5caee
2026-02-12 02:13:31,063 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96706580:ctest-vn-45614570, 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-96706580:ctest-vn-68269483, 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 02:13:31,351 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '58cd2d75-1fe0-4025-87ed-db7193dc4af2', 'name': 'ctest-vn-45614570', 'tenant_id': '2eb40df6e0b84e4f83754d17ea423988', 'project_id': '2eb40df6e0b84e4f83754d17ea423988', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['64c0d1b9-56b6-4549-89db-fa667eb2e483'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96706580', 'ctest-vn-45614570'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96706580', 'ctest-policy-allow-all-37114191']], 'subnet_ipam': [{'subnet_cidr': '8.199.11.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 02:13:31,619 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '772472fc-d3da-49a1-9cc8-30005ee5caee', 'name': 'ctest-vn-68269483', 'tenant_id': '2eb40df6e0b84e4f83754d17ea423988', 'project_id': '2eb40df6e0b84e4f83754d17ea423988', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5b719572-2916-418d-b7c2-69aa86ccf867'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96706580', 'ctest-vn-68269483'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96706580', 'ctest-policy-allow-all-37114191']], 'subnet_ipam': [{'subnet_cidr': '47.37.57.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 02:13:31,767 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-12 02:13:32,071 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-12 02:13:32,104 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b6ccdabb-a28d-4002-93fc-d3c908e88e15
2026-02-12 02:13:32,115 - DEBUG - Requesting: http://10.0.0.249:8082/project/2eb40df6-e0b8-4e4f-8375-4d17ea423988
2026-02-12 02:13:32,185 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58cd2d75-1fe0-4025-87ed-db7193dc4af2
2026-02-12 02:13:32,195 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58cd2d75-1fe0-4025-87ed-db7193dc4af2
2026-02-12 02:13:32,203 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/26a495d3-e9ac-4cec-b9f8-b8aaf478ca29
2026-02-12 02:13:32,209 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/26a495d3-e9ac-4cec-b9f8-b8aaf478ca29
2026-02-12 02:13:32,215 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/b0cdb358-82bb-44ec-a071-495019a2b5a2
2026-02-12 02:13:32,220 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 02:13:32,220 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58cd2d75-1fe0-4025-87ed-db7193dc4af2
2026-02-12 02:13:32,228 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/26a495d3-e9ac-4cec-b9f8-b8aaf478ca29
2026-02-12 02:13:32,239 - INFO - Verified VN network id 12 for VN 58cd2d75-1fe0-4025-87ed-db7193dc4af2
2026-02-12 02:13:32,239 - INFO - Verifications in API Server for VN ctest-vn-45614570 passed
2026-02-12 02:13:32,240 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58cd2d75-1fe0-4025-87ed-db7193dc4af2
2026-02-12 02:13:32,247 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/26a495d3-e9ac-4cec-b9f8-b8aaf478ca29
2026-02-12 02:13:32,253 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/26a495d3-e9ac-4cec-b9f8-b8aaf478ca29
2026-02-12 02:13:32,259 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/b0cdb358-82bb-44ec-a071-495019a2b5a2
2026-02-12 02:13:32,270 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96706580:ctest-vn-45614570', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96706580', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6398820626632556581', 'uuid-lslong': '9794726045459172082'}, 'enable': 'true', 'created': '2026-02-12T02:13:30', 'last-modified': '2026-02-12T02:13:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.939168'}
2026-02-12 02:13:32,275 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 02:13:32,275 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45614570 passed
2026-02-12 02:13:32,276 - DEBUG - ====Verifying policy data for ctest-vn-45614570 in API_Server ======
2026-02-12 02:13:32,276 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-12 02:13:32,281 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b6ccdabb-a28d-4002-93fc-d3c908e88e15
2026-02-12 02:13:32,295 - DEBUG - Requesting: http://10.0.0.249:8082/project/2eb40df6-e0b8-4e4f-8375-4d17ea423988
2026-02-12 02:13:32,368 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/58cd2d75-1fe0-4025-87ed-db7193dc4af2
2026-02-12 02:13:32,376 - DEBUG - ==>Verifying data for policy with id: d30e8dcd-3bce-41f1-985d-258935501321, fqn: ['default-domain', 'ctest-TestBasicPolicy-96706580', 'ctest-policy-allow-all-37114191']
2026-02-12 02:13:32,376 - INFO - VN ctest-vn-45614570 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 02:13:32,376 - DEBUG - Verifying the vn in opserver
2026-02-12 02:13:32,376 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96706580:ctest-vn-45614570 virtual network link through opserver 10.0.0.249
2026-02-12 02:13:32,376 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-02-12 02:13:32,675 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-02-12 02:13:32,742 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96706580:ctest-vn-45614570', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96706580:ctest-vn-45614570?flat'}
2026-02-12 02:13:32,742 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96706580:ctest-vn-45614570 is found in opserver
2026-02-12 02:13:32,751 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 02:13:32,756 - DEBUG - VRF ids for VN ctest-vn-45614570: {}
2026-02-12 02:13:32,756 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-12 02:13:32,761 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b6ccdabb-a28d-4002-93fc-d3c908e88e15
2026-02-12 02:13:32,771 - DEBUG - Requesting: http://10.0.0.249:8082/project/2eb40df6-e0b8-4e4f-8375-4d17ea423988
2026-02-12 02:13:32,836 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/772472fc-d3da-49a1-9cc8-30005ee5caee
2026-02-12 02:13:32,849 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/772472fc-d3da-49a1-9cc8-30005ee5caee
2026-02-12 02:13:32,858 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b9eace60-208d-4814-812f-b7894837b046
2026-02-12 02:13:32,863 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b9eace60-208d-4814-812f-b7894837b046
2026-02-12 02:13:32,869 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/2fdf9a1a-7027-438e-86e0-8c8137888b1b
2026-02-12 02:13:32,875 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 02:13:32,875 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/772472fc-d3da-49a1-9cc8-30005ee5caee
2026-02-12 02:13:32,883 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b9eace60-208d-4814-812f-b7894837b046
2026-02-12 02:13:32,894 - INFO - Verified VN network id 13 for VN 772472fc-d3da-49a1-9cc8-30005ee5caee
2026-02-12 02:13:32,894 - INFO - Verifications in API Server for VN ctest-vn-68269483 passed
2026-02-12 02:13:32,894 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/772472fc-d3da-49a1-9cc8-30005ee5caee
2026-02-12 02:13:32,902 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b9eace60-208d-4814-812f-b7894837b046
2026-02-12 02:13:32,908 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b9eace60-208d-4814-812f-b7894837b046
2026-02-12 02:13:32,914 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/2fdf9a1a-7027-438e-86e0-8c8137888b1b
2026-02-12 02:13:32,923 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96706580:ctest-vn-68269483', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96706580', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8585113219886631329', 'uuid-lslong': '11297332443409140462'}, 'enable': 'true', 'created': '2026-02-12T02:13:30', 'last-modified': '2026-02-12T02:13:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.365326'}
2026-02-12 02:13:32,929 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 02:13:32,929 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68269483 passed
2026-02-12 02:13:32,929 - DEBUG - ====Verifying policy data for ctest-vn-68269483 in API_Server ======
2026-02-12 02:13:32,929 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-12 02:13:32,934 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b6ccdabb-a28d-4002-93fc-d3c908e88e15
2026-02-12 02:13:32,945 - DEBUG - Requesting: http://10.0.0.249:8082/project/2eb40df6-e0b8-4e4f-8375-4d17ea423988
2026-02-12 02:13:33,013 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/772472fc-d3da-49a1-9cc8-30005ee5caee
2026-02-12 02:13:33,021 - DEBUG - ==>Verifying data for policy with id: d30e8dcd-3bce-41f1-985d-258935501321, fqn: ['default-domain', 'ctest-TestBasicPolicy-96706580', 'ctest-policy-allow-all-37114191']
2026-02-12 02:13:33,021 - INFO - VN ctest-vn-68269483 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 02:13:33,021 - DEBUG - Verifying the vn in opserver
2026-02-12 02:13:33,021 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96706580:ctest-vn-68269483 virtual network link through opserver 10.0.0.249
2026-02-12 02:13:33,022 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-02-12 02:13:33,031 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96706580:ctest-vn-68269483', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96706580:ctest-vn-68269483?flat'}
2026-02-12 02:13:33,031 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96706580:ctest-vn-68269483 is found in opserver
2026-02-12 02:13:33,040 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 02:13:33,045 - DEBUG - VRF ids for VN ctest-vn-68269483: {}
2026-02-12 02:13:33,103 - DEBUG - Services list from nova: [