2026-03-26 02:16:54,967 - INFO - Domain Default found not creating
2026-03-26 02:16:55,250 - INFO - Project ctest-TestBasicPolicy-58933428 not found, creating it
2026-03-26 02:16:56,292 - INFO - Created Project:ctest-TestBasicPolicy-58933428, ID : 9e59ba78-6fd8-413c-98d1-5087237e2b20
2026-03-26 02:16:58,365 - INFO - ================================================================================
2026-03-26 02:16:58,365 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-26 02:16:58,365 - 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-03-26 02:16:58,667 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-03-26 02:16:58,667 - INFO - Initial checks done. Running the testcase now
2026-03-26 02:16:58,667 - INFO -
2026-03-26 02:16:59,527 - DEBUG - Response for create_network : {'network': {'id': '6c5bc4d0-a9da-4afe-a09a-d6805e2fded4', 'name': 'ctest-vn-08580804', 'tenant_id': '9e59ba786fd8413c98d15087237e2b20', 'project_id': '9e59ba786fd8413c98d15087237e2b20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58933428', 'ctest-vn-08580804'], 'port_security_enabled': True, 'description': ''}}
2026-03-26 02:16:59,690 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f8ff1b2-09f8-4ed5-ac8f-a5b5cb28fb8a', 'name': '', 'tenant_id': '9e59ba786fd8413c98d15087237e2b20', 'network_id': '6c5bc4d0-a9da-4afe-a09a-d6805e2fded4', 'ip_version': 4, 'cidr': '126.184.199.192/26', 'allocation_pools': [{'start': '126.184.199.194', 'end': '126.184.199.254'}], 'gateway_ip': '126.184.199.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.184.199.194', 'tags': [], 'project_id': '9e59ba786fd8413c98d15087237e2b20'}}
2026-03-26 02:16:59,710 - INFO - Created VN ctest-vn-08580804
2026-03-26 02:16:59,761 - DEBUG - VN ctest-vn-08580804 UUID is 6c5bc4d0-a9da-4afe-a09a-d6805e2fded4
2026-03-26 02:17:00,154 - DEBUG - Response for create_network : {'network': {'id': '78e0647e-1662-4336-926c-b9c79444c84f', 'name': 'ctest-vn-24932190', 'tenant_id': '9e59ba786fd8413c98d15087237e2b20', 'project_id': '9e59ba786fd8413c98d15087237e2b20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58933428', 'ctest-vn-24932190'], 'port_security_enabled': True, 'description': ''}}
2026-03-26 02:17:00,339 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4a0c562-43d9-4ae8-b282-bd2940a256b8', 'name': '', 'tenant_id': '9e59ba786fd8413c98d15087237e2b20', 'network_id': '78e0647e-1662-4336-926c-b9c79444c84f', 'ip_version': 4, 'cidr': '102.25.108.128/26', 'allocation_pools': [{'start': '102.25.108.130', 'end': '102.25.108.190'}], 'gateway_ip': '102.25.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.25.108.130', 'tags': [], 'project_id': '9e59ba786fd8413c98d15087237e2b20'}}
2026-03-26 02:17:00,357 - INFO - Created VN ctest-vn-24932190
2026-03-26 02:17:00,409 - DEBUG - VN ctest-vn-24932190 UUID is 78e0647e-1662-4336-926c-b9c79444c84f
2026-03-26 02:17:00,551 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-08580804, 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-58933428:ctest-vn-24932190, 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-03-26 02:17:00,983 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6c5bc4d0-a9da-4afe-a09a-d6805e2fded4', 'name': 'ctest-vn-08580804', 'tenant_id': '9e59ba786fd8413c98d15087237e2b20', 'project_id': '9e59ba786fd8413c98d15087237e2b20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9f8ff1b2-09f8-4ed5-ac8f-a5b5cb28fb8a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58933428', 'ctest-vn-08580804'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58933428', 'ctest-policy-allow-all-32553772']], 'subnet_ipam': [{'subnet_cidr': '126.184.199.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-26 02:17:01,288 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '78e0647e-1662-4336-926c-b9c79444c84f', 'name': 'ctest-vn-24932190', 'tenant_id': '9e59ba786fd8413c98d15087237e2b20', 'project_id': '9e59ba786fd8413c98d15087237e2b20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b4a0c562-43d9-4ae8-b282-bd2940a256b8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58933428', 'ctest-vn-24932190'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58933428', 'ctest-policy-allow-all-32553772']], 'subnet_ipam': [{'subnet_cidr': '102.25.108.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-26 02:17:01,461 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-26 02:17:01,799 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-26 02:17:01,868 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d02aa1ee-14e5-42fa-9dcf-10f4984e202d
2026-03-26 02:17:01,892 - DEBUG - Requesting: http://10.0.0.33:8082/project/9e59ba78-6fd8-413c-98d1-5087237e2b20
2026-03-26 02:17:01,988 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6c5bc4d0-a9da-4afe-a09a-d6805e2fded4
2026-03-26 02:17:02,004 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6c5bc4d0-a9da-4afe-a09a-d6805e2fded4
2026-03-26 02:17:02,022 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/014227a5-d382-4ee2-8e1f-2820323a92bf
2026-03-26 02:17:02,034 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/014227a5-d382-4ee2-8e1f-2820323a92bf
2026-03-26 02:17:02,046 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2050cecf-eaf6-45cd-af62-fd62d93f9ed8
2026-03-26 02:17:02,057 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-26 02:17:02,057 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6c5bc4d0-a9da-4afe-a09a-d6805e2fded4
2026-03-26 02:17:02,076 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/014227a5-d382-4ee2-8e1f-2820323a92bf
2026-03-26 02:17:02,101 - INFO - Verified VN network id 11 for VN 6c5bc4d0-a9da-4afe-a09a-d6805e2fded4
2026-03-26 02:17:02,101 - INFO - Verifications in API Server for VN ctest-vn-08580804 passed
2026-03-26 02:17:02,101 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6c5bc4d0-a9da-4afe-a09a-d6805e2fded4
2026-03-26 02:17:02,116 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/014227a5-d382-4ee2-8e1f-2820323a92bf
2026-03-26 02:17:02,127 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/014227a5-d382-4ee2-8e1f-2820323a92bf
2026-03-26 02:17:02,138 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2050cecf-eaf6-45cd-af62-fd62d93f9ed8
2026-03-26 02:17:02,164 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-08580804', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58933428', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7808050779458783998', 'uuid-lslong': '11572798039306264276'}, 'enable': 'true', 'created': '2026-03-26T02:16:59', 'last-modified': '2026-03-26T02:17:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.235503'}
2026-03-26 02:17:02,177 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-26 02:17:02,177 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08580804 passed
2026-03-26 02:17:02,177 - DEBUG - ====Verifying policy data for ctest-vn-08580804 in API_Server ======
2026-03-26 02:17:02,178 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-26 02:17:02,194 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d02aa1ee-14e5-42fa-9dcf-10f4984e202d
2026-03-26 02:17:02,222 - DEBUG - Requesting: http://10.0.0.33:8082/project/9e59ba78-6fd8-413c-98d1-5087237e2b20
2026-03-26 02:17:02,321 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6c5bc4d0-a9da-4afe-a09a-d6805e2fded4
2026-03-26 02:17:02,337 - DEBUG - ==>Verifying data for policy with id: 9a0e212c-aa94-4463-a93c-12735a1ec20c, fqn: ['default-domain', 'ctest-TestBasicPolicy-58933428', 'ctest-policy-allow-all-32553772']
2026-03-26 02:17:02,337 - INFO - VN ctest-vn-08580804 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-26 02:17:02,337 - DEBUG - Verifying the vn in opserver
2026-03-26 02:17:02,337 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-08580804 virtual network link through opserver 10.0.0.33
2026-03-26 02:17:02,338 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-26 02:17:02,669 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-26 02:17:03,113 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-08580804', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-08580804?flat'}
2026-03-26 02:17:03,113 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-08580804 is found in opserver
2026-03-26 02:17:03,123 - DEBUG - Do not have enough data to verify VN in agent
2026-03-26 02:17:03,129 - DEBUG - VRF ids for VN ctest-vn-08580804: {}
2026-03-26 02:17:03,129 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-26 02:17:03,134 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d02aa1ee-14e5-42fa-9dcf-10f4984e202d
2026-03-26 02:17:03,146 - DEBUG - Requesting: http://10.0.0.33:8082/project/9e59ba78-6fd8-413c-98d1-5087237e2b20
2026-03-26 02:17:03,230 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/78e0647e-1662-4336-926c-b9c79444c84f
2026-03-26 02:17:03,246 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/78e0647e-1662-4336-926c-b9c79444c84f
2026-03-26 02:17:03,263 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbe356bc-fd4f-49d6-b22d-f1e599461f2f
2026-03-26 02:17:03,277 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbe356bc-fd4f-49d6-b22d-f1e599461f2f
2026-03-26 02:17:03,288 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/43da2adf-48a4-42d9-b230-0de2f5a32be4
2026-03-26 02:17:03,299 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-26 02:17:03,300 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/78e0647e-1662-4336-926c-b9c79444c84f
2026-03-26 02:17:03,316 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbe356bc-fd4f-49d6-b22d-f1e599461f2f
2026-03-26 02:17:03,340 - INFO - Verified VN network id 12 for VN 78e0647e-1662-4336-926c-b9c79444c84f
2026-03-26 02:17:03,340 - INFO - Verifications in API Server for VN ctest-vn-24932190 passed
2026-03-26 02:17:03,340 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/78e0647e-1662-4336-926c-b9c79444c84f
2026-03-26 02:17:03,352 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbe356bc-fd4f-49d6-b22d-f1e599461f2f
2026-03-26 02:17:03,362 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbe356bc-fd4f-49d6-b22d-f1e599461f2f
2026-03-26 02:17:03,371 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/43da2adf-48a4-42d9-b230-0de2f5a32be4
2026-03-26 02:17:03,392 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-24932190', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58933428', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8710072172038734646', 'uuid-lslong': '10551012293859395663'}, 'enable': 'true', 'created': '2026-03-26T02:17:00', 'last-modified': '2026-03-26T02:17:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.146950'}
2026-03-26 02:17:03,407 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-26 02:17:03,407 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24932190 passed
2026-03-26 02:17:03,408 - DEBUG - ====Verifying policy data for ctest-vn-24932190 in API_Server ======
2026-03-26 02:17:03,408 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-26 02:17:03,419 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d02aa1ee-14e5-42fa-9dcf-10f4984e202d
2026-03-26 02:17:03,449 - DEBUG - Requesting: http://10.0.0.33:8082/project/9e59ba78-6fd8-413c-98d1-5087237e2b20
2026-03-26 02:17:03,562 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/78e0647e-1662-4336-926c-b9c79444c84f
2026-03-26 02:17:03,582 - DEBUG - ==>Verifying data for policy with id: 9a0e212c-aa94-4463-a93c-12735a1ec20c, fqn: ['default-domain', 'ctest-TestBasicPolicy-58933428', 'ctest-policy-allow-all-32553772']
2026-03-26 02:17:03,583 - INFO - VN ctest-vn-24932190 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-26 02:17:03,583 - DEBUG - Verifying the vn in opserver
2026-03-26 02:17:03,583 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-24932190 virtual network link through opserver 10.0.0.33
2026-03-26 02:17:03,583 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-26 02:17:03,643 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-24932190', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-24932190?flat'}
2026-03-26 02:17:03,643 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58933428:ctest-vn-24932190 is found in opserver
2026-03-26 02:17:03,663 - DEBUG - Do not have enough data to verify VN in agent
2026-03-26 02:17:03,671 - DEBUG - VRF ids for VN ctest-vn-24932190: {}
2026-03-26 02:17:03,802 - DEBUG - Services list from nova: [