2026-06-19 14:36:02,529 - INFO - Domain Default found not creating 2026-06-19 14:36:02,673 - INFO - Project ctest-TestBasicPolicy-94902507 not found, creating it 2026-06-19 14:36:03,202 - INFO - Created Project:ctest-TestBasicPolicy-94902507, ID : 931cb681-5695-4e05-898e-e107c7f0920f 2026-06-19 14:36:04,714 - INFO - ================================================================================ 2026-06-19 14:36:04,714 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-19 14:36:04,714 - 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-06-19 14:36:05,976 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.25': '0', '10.20.0.193': '0'}, '10.0.0.242': {'10.20.0.25': '0', '10.20.0.193': '0'}} with 2026-06-19 14:36:05,976 - INFO - Initial checks done. Running the testcase now 2026-06-19 14:36:05,976 - INFO - 2026-06-19 14:36:06,634 - DEBUG - Response for create_network : {'network': {'id': '00ac1e0a-09ee-45e4-b11c-422760218549', 'name': 'ctest-vn-04878724', 'tenant_id': '931cb68156954e05898ee107c7f0920f', 'project_id': '931cb68156954e05898ee107c7f0920f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94902507', 'ctest-vn-04878724'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 14:36:06,863 - DEBUG - Response for create_subnet : {'subnet': {'id': '41cc12e4-d1ac-4a90-ad72-18c0823078e3', 'name': '', 'tenant_id': '931cb68156954e05898ee107c7f0920f', 'network_id': '00ac1e0a-09ee-45e4-b11c-422760218549', 'ip_version': 4, 'cidr': '42.69.183.192/26', 'allocation_pools': [{'start': '42.69.183.194', 'end': '42.69.183.254'}], 'gateway_ip': '42.69.183.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.69.183.194', 'tags': [], 'project_id': '931cb68156954e05898ee107c7f0920f'}} 2026-06-19 14:36:06,881 - INFO - Created VN ctest-vn-04878724 2026-06-19 14:36:06,897 - DEBUG - VN ctest-vn-04878724 UUID is 00ac1e0a-09ee-45e4-b11c-422760218549 2026-06-19 14:36:07,256 - DEBUG - Response for create_network : {'network': {'id': '4d2cdcdb-dbea-4fea-b557-db13c9fe4704', 'name': 'ctest-vn-36398202', 'tenant_id': '931cb68156954e05898ee107c7f0920f', 'project_id': '931cb68156954e05898ee107c7f0920f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94902507', 'ctest-vn-36398202'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 14:36:07,479 - DEBUG - Response for create_subnet : {'subnet': {'id': '0880dae4-b01e-40b7-bd9f-de33d482cbae', 'name': '', 'tenant_id': '931cb68156954e05898ee107c7f0920f', 'network_id': '4d2cdcdb-dbea-4fea-b557-db13c9fe4704', 'ip_version': 4, 'cidr': '2.3.145.128/26', 'allocation_pools': [{'start': '2.3.145.130', 'end': '2.3.145.190'}], 'gateway_ip': '2.3.145.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.3.145.130', 'tags': [], 'project_id': '931cb68156954e05898ee107c7f0920f'}} 2026-06-19 14:36:07,498 - INFO - Created VN ctest-vn-36398202 2026-06-19 14:36:07,509 - DEBUG - VN ctest-vn-36398202 UUID is 4d2cdcdb-dbea-4fea-b557-db13c9fe4704 2026-06-19 14:36:07,616 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724, 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-94902507:ctest-vn-36398202, 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-06-19 14:36:07,968 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '00ac1e0a-09ee-45e4-b11c-422760218549', 'name': 'ctest-vn-04878724', 'tenant_id': '931cb68156954e05898ee107c7f0920f', 'project_id': '931cb68156954e05898ee107c7f0920f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['41cc12e4-d1ac-4a90-ad72-18c0823078e3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94902507', 'ctest-vn-04878724'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94902507', 'ctest-policy-allow-all-14220111']], 'subnet_ipam': [{'subnet_cidr': '42.69.183.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 14:36:08,193 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4d2cdcdb-dbea-4fea-b557-db13c9fe4704', 'name': 'ctest-vn-36398202', 'tenant_id': '931cb68156954e05898ee107c7f0920f', 'project_id': '931cb68156954e05898ee107c7f0920f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0880dae4-b01e-40b7-bd9f-de33d482cbae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94902507', 'ctest-vn-36398202'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94902507', 'ctest-policy-allow-all-14220111']], 'subnet_ipam': [{'subnet_cidr': '2.3.145.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 14:36:08,386 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 14:36:08,718 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 14:36:08,744 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aebc79a0-242c-4231-9b01-470290ed3bc5 2026-06-19 14:36:08,757 - DEBUG - Requesting: http://10.0.0.38:8082/project/931cb681-5695-4e05-898e-e107c7f0920f 2026-06-19 14:36:08,843 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/00ac1e0a-09ee-45e4-b11c-422760218549 2026-06-19 14:36:08,859 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/00ac1e0a-09ee-45e4-b11c-422760218549 2026-06-19 14:36:08,867 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/993cdaf6-e83e-496d-990c-454d896fdbb3 2026-06-19 14:36:08,875 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/993cdaf6-e83e-496d-990c-454d896fdbb3 2026-06-19 14:36:08,884 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4f7a7fa7-1310-4bad-98d8-2fc9395a95b0 2026-06-19 14:36:08,890 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 14:36:08,890 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/00ac1e0a-09ee-45e4-b11c-422760218549 2026-06-19 14:36:08,899 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/993cdaf6-e83e-496d-990c-454d896fdbb3 2026-06-19 14:36:08,915 - INFO - Verified VN network id 14 for VN 00ac1e0a-09ee-45e4-b11c-422760218549 2026-06-19 14:36:08,915 - INFO - Verifications in API Server for VN ctest-vn-04878724 passed 2026-06-19 14:36:08,915 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/00ac1e0a-09ee-45e4-b11c-422760218549 2026-06-19 14:36:08,925 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/993cdaf6-e83e-496d-990c-454d896fdbb3 2026-06-19 14:36:08,931 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/993cdaf6-e83e-496d-990c-454d896fdbb3 2026-06-19 14:36:08,936 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4f7a7fa7-1310-4bad-98d8-2fc9395a95b0 2026-06-19 14:36:08,947 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94902507', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '48446724459349476', 'uuid-lslong': '12762148180945110345'}, 'enable': 'true', 'created': '2026-06-19T14:36:06', 'last-modified': '2026-06-19T14:36:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.006767'} 2026-06-19 14:36:08,951 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 14:36:08,956 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94902507', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '48446724459349476', 'uuid-lslong': '12762148180945110345'}, 'enable': 'true', 'created': '2026-06-19T14:36:06', 'last-modified': '2026-06-19T14:36:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.018009'} 2026-06-19 14:36:08,961 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 14:36:08,966 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94902507', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '48446724459349476', 'uuid-lslong': '12762148180945110345'}, 'enable': 'true', 'created': '2026-06-19T14:36:06', 'last-modified': '2026-06-19T14:36:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.029551'} 2026-06-19 14:36:08,972 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 14:36:08,972 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04878724 passed 2026-06-19 14:36:08,972 - DEBUG - ====Verifying policy data for ctest-vn-04878724 in API_Server ====== 2026-06-19 14:36:08,972 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 14:36:08,977 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aebc79a0-242c-4231-9b01-470290ed3bc5 2026-06-19 14:36:08,987 - DEBUG - Requesting: http://10.0.0.38:8082/project/931cb681-5695-4e05-898e-e107c7f0920f 2026-06-19 14:36:09,077 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/00ac1e0a-09ee-45e4-b11c-422760218549 2026-06-19 14:36:09,086 - DEBUG - ==>Verifying data for policy with id: 1cffdd73-3f4a-4d87-b0d8-a68228b1068d, fqn: ['default-domain', 'ctest-TestBasicPolicy-94902507', 'ctest-policy-allow-all-14220111'] 2026-06-19 14:36:09,086 - INFO - VN ctest-vn-04878724 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 14:36:09,086 - DEBUG - Verifying the vn in opserver 2026-06-19 14:36:09,086 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724 virtual network link through opserver 10.0.0.38 2026-06-19 14:36:09,086 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-19 14:36:09,400 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-19 14:36:09,444 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724?flat'} 2026-06-19 14:36:09,445 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724 virtual network link through opserver 10.0.0.19 2026-06-19 14:36:09,445 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-19 14:36:09,756 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-19 14:36:09,800 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724?flat'} 2026-06-19 14:36:09,800 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724 virtual network link through opserver 10.0.0.129 2026-06-19 14:36:09,800 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-19 14:36:10,112 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-19 14:36:10,156 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724?flat'} 2026-06-19 14:36:10,156 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724 is found in opserver 2026-06-19 14:36:10,174 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 14:36:10,183 - DEBUG - VRF ids for VN ctest-vn-04878724: {} 2026-06-19 14:36:10,183 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 14:36:10,188 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aebc79a0-242c-4231-9b01-470290ed3bc5 2026-06-19 14:36:10,198 - DEBUG - Requesting: http://10.0.0.38:8082/project/931cb681-5695-4e05-898e-e107c7f0920f 2026-06-19 14:36:10,293 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4d2cdcdb-dbea-4fea-b557-db13c9fe4704 2026-06-19 14:36:10,310 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4d2cdcdb-dbea-4fea-b557-db13c9fe4704 2026-06-19 14:36:10,320 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b1b06502-b607-44be-9029-477680fe3baa 2026-06-19 14:36:10,327 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b1b06502-b607-44be-9029-477680fe3baa 2026-06-19 14:36:10,334 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c878aa99-2f02-413c-87d9-f740092edc69 2026-06-19 14:36:10,341 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-19 14:36:10,341 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4d2cdcdb-dbea-4fea-b557-db13c9fe4704 2026-06-19 14:36:10,350 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b1b06502-b607-44be-9029-477680fe3baa 2026-06-19 14:36:10,365 - INFO - Verified VN network id 15 for VN 4d2cdcdb-dbea-4fea-b557-db13c9fe4704 2026-06-19 14:36:10,365 - INFO - Verifications in API Server for VN ctest-vn-36398202 passed 2026-06-19 14:36:10,365 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4d2cdcdb-dbea-4fea-b557-db13c9fe4704 2026-06-19 14:36:10,375 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b1b06502-b607-44be-9029-477680fe3baa 2026-06-19 14:36:10,382 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b1b06502-b607-44be-9029-477680fe3baa 2026-06-19 14:36:10,389 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c878aa99-2f02-413c-87d9-f740092edc69 2026-06-19 14:36:10,403 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-36398202', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94902507', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5561062476741234666', 'uuid-lslong': '13067153721878529796'}, 'enable': 'true', 'created': '2026-06-19T14:36:07', 'last-modified': '2026-06-19T14:36:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.255059'} 2026-06-19 14:36:10,407 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-19 14:36:10,412 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-36398202', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94902507', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5561062476741234666', 'uuid-lslong': '13067153721878529796'}, 'enable': 'true', 'created': '2026-06-19T14:36:07', 'last-modified': '2026-06-19T14:36:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.251764'} 2026-06-19 14:36:10,417 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-19 14:36:10,423 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-36398202', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94902507', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5561062476741234666', 'uuid-lslong': '13067153721878529796'}, 'enable': 'true', 'created': '2026-06-19T14:36:07', 'last-modified': '2026-06-19T14:36:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.274906'} 2026-06-19 14:36:10,430 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-06-19 14:36:10,430 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36398202 passed 2026-06-19 14:36:10,430 - DEBUG - ====Verifying policy data for ctest-vn-36398202 in API_Server ====== 2026-06-19 14:36:10,431 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 14:36:10,436 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aebc79a0-242c-4231-9b01-470290ed3bc5 2026-06-19 14:36:10,444 - DEBUG - Requesting: http://10.0.0.38:8082/project/931cb681-5695-4e05-898e-e107c7f0920f 2026-06-19 14:36:10,534 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4d2cdcdb-dbea-4fea-b557-db13c9fe4704 2026-06-19 14:36:10,542 - DEBUG - ==>Verifying data for policy with id: 1cffdd73-3f4a-4d87-b0d8-a68228b1068d, fqn: ['default-domain', 'ctest-TestBasicPolicy-94902507', 'ctest-policy-allow-all-14220111'] 2026-06-19 14:36:10,542 - INFO - VN ctest-vn-36398202 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 14:36:10,542 - DEBUG - Verifying the vn in opserver 2026-06-19 14:36:10,542 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-36398202 virtual network link through opserver 10.0.0.38 2026-06-19 14:36:10,542 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-19 14:36:10,586 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-36398202', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-36398202?flat'} 2026-06-19 14:36:10,586 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-36398202 virtual network link through opserver 10.0.0.19 2026-06-19 14:36:10,586 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-19 14:36:10,627 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-36398202', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-36398202?flat'} 2026-06-19 14:36:10,628 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-36398202 virtual network link through opserver 10.0.0.129 2026-06-19 14:36:10,628 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-19 14:36:10,666 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-36398202', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-36398202?flat'} 2026-06-19 14:36:10,666 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-36398202 is found in opserver 2026-06-19 14:36:10,687 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 14:36:10,697 - DEBUG - VRF ids for VN ctest-vn-36398202: {} 2026-06-19 14:36:10,746 - DEBUG - Services list from nova: [, , , ] 2026-06-19 14:36:11,767 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5994-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5994-1) 2026-06-19 14:36:12,824 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5994-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5994-2) 2026-06-19 14:36:12,824 - INFO - Waiting for VM ctest-TestBasicPolicy-94902507-23131294 to be up.. 2026-06-19 14:36:12,869 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 14:36:17,957 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 14:36:23,036 - DEBUG - VM is in ACTIVE state now 2026-06-19 14:36:23,036 - INFO - VM name : ctest-TestBasicPolicy-94902507-23131294 2026-06-19 14:36:23,128 - DEBUG - VM ctest-TestBasicPolicy-94902507-23131294 ID is d590ba45-b370-4959-aa1b-08760cfc9060 2026-06-19 14:36:23,165 - DEBUG - VM ctest-TestBasicPolicy-94902507-23131294 launched on Node an-jenkins-deploy-platform-ansible-os-5994-1 2026-06-19 14:36:23,252 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/d590ba45-b370-4959-aa1b-08760cfc9060 2026-06-19 14:36:23,592 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/d590ba45-b370-4959-aa1b-08760cfc9060 2026-06-19 14:36:23,623 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/0964d565-71ef-46c4-b156-887c2af3724b 2026-06-19 14:36:26,790 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-06-19 14:36:26,790 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94902507-23131294 failed! 2026-06-19 14:36:26,805 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724 is 42.69.183.193 and allocation pool is NOT set 2026-06-19 14:36:30,887 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2026-06-19 14:36:30,887 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94902507-23131294 failed! 2026-06-19 14:36:30,902 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724 is 42.69.183.193 and allocation pool is NOT set 2026-06-19 14:36:34,979 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2026-06-19 14:36:34,979 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94902507-23131294 failed! 2026-06-19 14:36:34,995 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724 is 42.69.183.193 and allocation pool is NOT set 2026-06-19 14:36:39,083 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms') 2026-06-19 14:36:39,083 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94902507-23131294 failed! 2026-06-19 14:36:39,100 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724 is 42.69.183.193 and allocation pool is NOT set 2026-06-19 14:36:43,170 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-06-19 14:36:43,170 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94902507-23131294 failed! 2026-06-19 14:36:43,186 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724 is 42.69.183.193 and allocation pool is NOT set 2026-06-19 14:36:47,270 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2026-06-19 14:36:47,270 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94902507-23131294 failed! 2026-06-19 14:36:47,286 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94902507:ctest-vn-04878724 is 42.69.183.193 and allocation pool is NOT set 2026-06-19 14:36:49,346 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.806 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.806/4.351/7.897/3.545 ms') 2026-06-19 14:36:49,346 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94902507-23131294 passed 2026-06-19 14:36:49,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 14:36:49,414 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94902507-23131294, IP 42.69.183.195, Port 22 2026-06-19 14:36:49,483 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-19 14:36:49,554 - DEBUG - VM ctest-TestBasicPolicy-94902507-23131294 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-19 14:36:54,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 14:36:54,555 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94902507-23131294, IP 42.69.183.195, Port 22 2026-06-19 14:36:54,623 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-19 14:36:54,694 - DEBUG - VM ctest-TestBasicPolicy-94902507-23131294 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-19 14:36:59,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 14:36:59,695 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94902507-23131294, IP 42.69.183.195, Port 22 2026-06-19 14:36:59,863 - DEBUG - VM ctest-TestBasicPolicy-94902507-23131294 is ready for SSH connections 2026-06-19 14:36:59,863 - INFO - Waiting for VM ctest-TestBasicPolicy-94902507-55557471 to be up.. 2026-06-19 14:36:59,936 - DEBUG - VM is in ACTIVE state now 2026-06-19 14:36:59,936 - INFO - VM name : ctest-TestBasicPolicy-94902507-55557471 2026-06-19 14:37:00,006 - DEBUG - VM ctest-TestBasicPolicy-94902507-55557471 ID is ea38e2df-367b-4714-be8e-5c037edb5215 2026-06-19 14:37:00,006 - DEBUG - VM ctest-TestBasicPolicy-94902507-55557471 launched on Node an-jenkins-deploy-platform-ansible-os-5994-2 2026-06-19 14:37:00,071 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/ea38e2df-367b-4714-be8e-5c037edb5215 2026-06-19 14:37:00,081 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/da547b41-9afc-4692-8fd0-8bd57248d67b 2026-06-19 14:37:01,242 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.57 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.571/3.505/4.439/0.934 ms') 2026-06-19 14:37:01,243 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94902507-55557471 passed 2026-06-19 14:37:01,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 14:37:01,315 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94902507-55557471, IP 2.3.145.131, Port 22 2026-06-19 14:37:01,381 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-19 14:37:01,451 - DEBUG - VM ctest-TestBasicPolicy-94902507-55557471 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-19 14:37:06,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 14:37:06,452 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94902507-55557471, IP 2.3.145.131, Port 22 2026-06-19 14:37:06,622 - DEBUG - VM ctest-TestBasicPolicy-94902507-55557471 is ready for SSH connections 2026-06-19 14:37:06,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 14:37:06,623 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.3.145.131, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-06-19 14:37:06,623 - DEBUG - ping -s 56 -c 3 -W 1 2.3.145.131 2026-06-19 14:37:49,970 - DEBUG - PING 2.3.145.131 (2.3.145.131) 56(84) bytes of data. 64 bytes from 2.3.145.131: icmp_req=1 ttl=63 time=6.46 ms 64 bytes from 2.3.145.131: icmp_req=2 ttl=63 time=1.49 ms 64 bytes from 2.3.145.131: icmp_req=3 ttl=63 time=1.50 ms --- 2.3.145.131 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.495/3.156/6.466/2.340 ms 2026-06-19 14:37:49,970 - INFO - Ping to IP 2.3.145.131 from VM ctest-TestBasicPolicy-94902507-23131294 passed 2026-06-19 14:37:50,200 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1cffdd73-3f4a-4d87-b0d8-a68228b1068d", "href": "http://10.0.0.129:8082/network-policy/1cffdd73-3f4a-4d87-b0d8-a68228b1068d"}} 2026-06-19 14:37:50,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 14:37:50,200 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.3.145.131, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-06-19 14:37:50,200 - DEBUG - ping -s 56 -c 3 -W 1 2.3.145.131 2026-06-19 14:37:53,431 - DEBUG - PING 2.3.145.131 (2.3.145.131) 56(84) bytes of data. 64 bytes from 2.3.145.131: icmp_req=1 ttl=63 time=2.61 ms --- 2.3.145.131 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2002ms rtt min/avg/max/mdev = 2.610/2.610/2.610/0.000 ms 2026-06-19 14:37:53,431 - WARNING - Ping to IP 2.3.145.131 from VM ctest-TestBasicPolicy-94902507-23131294 failed 2026-06-19 14:37:53,431 - INFO - Deleting VM ctest-TestBasicPolicy-94902507-55557471 2026-06-19 14:37:53,494 - INFO - Deleting VM ctest-TestBasicPolicy-94902507-23131294 2026-06-19 14:37:53,889 - INFO - Deleted policy ctest-policy-allow-all-14220111 2026-06-19 14:37:53,889 - INFO - Deleting VN ctest-vn-36398202 2026-06-19 14:37:53,926 - DEBUG - VN 4d2cdcdb-dbea-4fea-b557-db13c9fe4704 still in use: Unable to complete operation on network 4d2cdcdb-dbea-4fea-b557-db13c9fe4704. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-57a5b9b4-7932-447e-8965-d154c6d8e30b'] 2026-06-19 14:37:53,926 - WARNING - Deleting VN ctest-vn-36398202 failed..Will retry 2026-06-19 14:37:56,102 - DEBUG - Response for deleting network () 2026-06-19 14:37:56,102 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b1b06502-b607-44be-9029-477680fe3baa 2026-06-19 14:37:56,109 - DEBUG - Response Code: 404 2026-06-19 14:37:56,109 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 14:37:56,115 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aebc79a0-242c-4231-9b01-470290ed3bc5 2026-06-19 14:37:56,156 - DEBUG - Requesting: http://10.0.0.38:8082/project/931cb681-5695-4e05-898e-e107c7f0920f 2026-06-19 14:37:56,259 - INFO - Validated that VN ctest-vn-36398202 is not found in API Server 2026-06-19 14:37:56,268 - DEBUG - VN ctest-vn-36398202 is not present in Agent 10.0.0.241 2026-06-19 14:37:56,278 - DEBUG - VN ctest-vn-36398202 is not present in Agent 10.0.0.242 2026-06-19 14:37:56,278 - INFO - Validated that VN ctest-vn-36398202 is not in any agent 2026-06-19 14:37:56,318 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36398202 info 2026-06-19 14:37:56,318 - INFO - Deleting VN ctest-vn-04878724 2026-06-19 14:37:56,471 - DEBUG - Response for deleting network () 2026-06-19 14:37:56,472 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/993cdaf6-e83e-496d-990c-454d896fdbb3 2026-06-19 14:37:56,484 - DEBUG - Response Code: 404 2026-06-19 14:37:56,484 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-19 14:37:56,492 - DEBUG - Requesting: http://10.0.0.38:8082/domain/aebc79a0-242c-4231-9b01-470290ed3bc5 2026-06-19 14:37:56,546 - DEBUG - Requesting: http://10.0.0.38:8082/project/931cb681-5695-4e05-898e-e107c7f0920f 2026-06-19 14:37:56,647 - INFO - Validated that VN ctest-vn-04878724 is not found in API Server 2026-06-19 14:37:56,657 - DEBUG - VN ctest-vn-04878724 is not present in Agent 10.0.0.241 2026-06-19 14:37:56,666 - DEBUG - VN ctest-vn-04878724 is not present in Agent 10.0.0.242 2026-06-19 14:37:56,666 - INFO - Validated that VN ctest-vn-04878724 is not in any agent 2026-06-19 14:37:56,695 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04878724 info 2026-06-19 14:37:57,969 - DEBUG - No XMPP flaps were noticed during the test 2026-06-19 14:37:57,969 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:53] 2026-06-19 14:37:57,969 - INFO - -------------------------------------------------------------------------------- 2026-06-19 14:37:58,705 - INFO - Deleted project: ctest-TestBasicPolicy-94902507, ID : 931cb681-5695-4e05-898e-e107c7f0920f