2025-10-22 14:08:43,367 - INFO - Domain Default found not creating 2025-10-22 14:08:43,637 - INFO - Project ctest-TestBasicPolicy-23391665 not found, creating it 2025-10-22 14:08:44,288 - INFO - Created Project:ctest-TestBasicPolicy-23391665, ID : fb29421a-4316-4d49-a01a-4e9a67bac8e7 2025-10-22 14:08:46,258 - INFO - ================================================================================ 2025-10-22 14:08:46,259 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 14:08:46,259 - 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 2025-10-22 14:08:46,590 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-10-22 14:08:46,590 - INFO - Initial checks done. Running the testcase now 2025-10-22 14:08:46,591 - INFO - 2025-10-22 14:08:47,358 - DEBUG - Response for create_network : {'network': {'id': '54b43d6b-1d2b-4f1c-8bf7-2d79a99eec3a', 'name': 'ctest-vn-46629872', 'tenant_id': 'fb29421a43164d49a01a4e9a67bac8e7', 'project_id': 'fb29421a43164d49a01a4e9a67bac8e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23391665', 'ctest-vn-46629872'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:08:47,612 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1de5a33-a914-4850-a432-6af8955797f5', 'name': '', 'tenant_id': 'fb29421a43164d49a01a4e9a67bac8e7', 'network_id': '54b43d6b-1d2b-4f1c-8bf7-2d79a99eec3a', 'ip_version': 4, 'cidr': '187.252.240.64/26', 'allocation_pools': [{'start': '187.252.240.66', 'end': '187.252.240.126'}], 'gateway_ip': '187.252.240.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.252.240.66', 'tags': [], 'project_id': 'fb29421a43164d49a01a4e9a67bac8e7'}} 2025-10-22 14:08:47,639 - INFO - Created VN ctest-vn-46629872 2025-10-22 14:08:47,704 - DEBUG - VN ctest-vn-46629872 UUID is 54b43d6b-1d2b-4f1c-8bf7-2d79a99eec3a 2025-10-22 14:08:48,069 - DEBUG - Response for create_network : {'network': {'id': '6872ea4a-ec75-42ce-984f-287f20b43040', 'name': 'ctest-vn-43961471', 'tenant_id': 'fb29421a43164d49a01a4e9a67bac8e7', 'project_id': 'fb29421a43164d49a01a4e9a67bac8e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23391665', 'ctest-vn-43961471'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:08:48,344 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3d202b7-fe23-4161-b802-58e15636b179', 'name': '', 'tenant_id': 'fb29421a43164d49a01a4e9a67bac8e7', 'network_id': '6872ea4a-ec75-42ce-984f-287f20b43040', 'ip_version': 4, 'cidr': '63.227.239.128/26', 'allocation_pools': [{'start': '63.227.239.130', 'end': '63.227.239.190'}], 'gateway_ip': '63.227.239.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.227.239.130', 'tags': [], 'project_id': 'fb29421a43164d49a01a4e9a67bac8e7'}} 2025-10-22 14:08:48,372 - INFO - Created VN ctest-vn-43961471 2025-10-22 14:08:48,432 - DEBUG - VN ctest-vn-43961471 UUID is 6872ea4a-ec75-42ce-984f-287f20b43040 2025-10-22 14:08:48,593 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23391665:ctest-vn-46629872, 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-23391665:ctest-vn-43961471, 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] 2025-10-22 14:08:49,004 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '54b43d6b-1d2b-4f1c-8bf7-2d79a99eec3a', 'name': 'ctest-vn-46629872', 'tenant_id': 'fb29421a43164d49a01a4e9a67bac8e7', 'project_id': 'fb29421a43164d49a01a4e9a67bac8e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d1de5a33-a914-4850-a432-6af8955797f5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23391665', 'ctest-vn-46629872'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23391665', 'ctest-policy-allow-all-19415494']], 'subnet_ipam': [{'subnet_cidr': '187.252.240.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:08:49,262 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6872ea4a-ec75-42ce-984f-287f20b43040', 'name': 'ctest-vn-43961471', 'tenant_id': 'fb29421a43164d49a01a4e9a67bac8e7', 'project_id': 'fb29421a43164d49a01a4e9a67bac8e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a3d202b7-fe23-4161-b802-58e15636b179'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23391665', 'ctest-vn-43961471'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23391665', 'ctest-policy-allow-all-19415494']], 'subnet_ipam': [{'subnet_cidr': '63.227.239.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:08:49,432 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-22 14:08:49,743 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-22 14:08:49,779 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e71dc404-88de-4b9d-9aaf-b9cae211d205 2025-10-22 14:08:49,798 - DEBUG - Requesting: http://10.0.0.130:8082/project/fb29421a-4316-4d49-a01a-4e9a67bac8e7 2025-10-22 14:08:49,891 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/54b43d6b-1d2b-4f1c-8bf7-2d79a99eec3a 2025-10-22 14:08:49,911 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/54b43d6b-1d2b-4f1c-8bf7-2d79a99eec3a 2025-10-22 14:08:49,927 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/a5f9e73c-d50d-4e87-a19d-5458bb3a7b04 2025-10-22 14:08:49,938 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/a5f9e73c-d50d-4e87-a19d-5458bb3a7b04 2025-10-22 14:08:49,951 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/9d7333b3-0470-474c-baa8-0dc1ac97664d 2025-10-22 14:08:49,964 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 14:08:49,964 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/54b43d6b-1d2b-4f1c-8bf7-2d79a99eec3a 2025-10-22 14:08:49,987 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/a5f9e73c-d50d-4e87-a19d-5458bb3a7b04 2025-10-22 14:08:50,008 - INFO - Verified VN network id 11 for VN 54b43d6b-1d2b-4f1c-8bf7-2d79a99eec3a 2025-10-22 14:08:50,008 - INFO - Verifications in API Server for VN ctest-vn-46629872 passed 2025-10-22 14:08:50,008 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/54b43d6b-1d2b-4f1c-8bf7-2d79a99eec3a 2025-10-22 14:08:50,022 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/a5f9e73c-d50d-4e87-a19d-5458bb3a7b04 2025-10-22 14:08:50,032 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/a5f9e73c-d50d-4e87-a19d-5458bb3a7b04 2025-10-22 14:08:50,039 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/9d7333b3-0470-474c-baa8-0dc1ac97664d 2025-10-22 14:08:50,054 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23391665:ctest-vn-46629872', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23391665', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6103570925254037276', 'uuid-lslong': '10085579891079572538'}, 'enable': 'true', 'created': '2025-10-22T14:08:47', 'last-modified': '2025-10-22T14:08:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.091851'} 2025-10-22 14:08:50,060 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 14:08:50,061 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46629872 passed 2025-10-22 14:08:50,061 - DEBUG - ====Verifying policy data for ctest-vn-46629872 in API_Server ====== 2025-10-22 14:08:50,061 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-22 14:08:50,067 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e71dc404-88de-4b9d-9aaf-b9cae211d205 2025-10-22 14:08:50,085 - DEBUG - Requesting: http://10.0.0.130:8082/project/fb29421a-4316-4d49-a01a-4e9a67bac8e7 2025-10-22 14:08:50,187 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/54b43d6b-1d2b-4f1c-8bf7-2d79a99eec3a 2025-10-22 14:08:50,204 - DEBUG - ==>Verifying data for policy with id: 318a3997-7a06-48ef-a238-ef99ba212876, fqn: ['default-domain', 'ctest-TestBasicPolicy-23391665', 'ctest-policy-allow-all-19415494'] 2025-10-22 14:08:50,204 - INFO - VN ctest-vn-46629872 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 14:08:50,204 - DEBUG - Verifying the vn in opserver 2025-10-22 14:08:50,205 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23391665:ctest-vn-46629872 virtual network link through opserver 10.0.0.130 2025-10-22 14:08:50,205 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-10-22 14:08:50,535 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-10-22 14:08:50,616 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23391665:ctest-vn-46629872', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23391665:ctest-vn-46629872?flat'} 2025-10-22 14:08:50,616 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23391665:ctest-vn-46629872 is found in opserver 2025-10-22 14:08:50,630 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 14:08:50,635 - DEBUG - VRF ids for VN ctest-vn-46629872: {} 2025-10-22 14:08:50,635 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-22 14:08:50,642 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e71dc404-88de-4b9d-9aaf-b9cae211d205 2025-10-22 14:08:50,664 - DEBUG - Requesting: http://10.0.0.130:8082/project/fb29421a-4316-4d49-a01a-4e9a67bac8e7 2025-10-22 14:08:50,758 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6872ea4a-ec75-42ce-984f-287f20b43040 2025-10-22 14:08:50,781 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6872ea4a-ec75-42ce-984f-287f20b43040 2025-10-22 14:08:50,800 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f8f8f070-7f96-4c7c-81fd-ff25ab4ff862 2025-10-22 14:08:50,812 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f8f8f070-7f96-4c7c-81fd-ff25ab4ff862 2025-10-22 14:08:50,824 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/f1de7508-d00f-4dac-bfc0-954acd8af95c 2025-10-22 14:08:50,834 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 14:08:50,834 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6872ea4a-ec75-42ce-984f-287f20b43040 2025-10-22 14:08:50,850 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f8f8f070-7f96-4c7c-81fd-ff25ab4ff862 2025-10-22 14:08:50,873 - INFO - Verified VN network id 12 for VN 6872ea4a-ec75-42ce-984f-287f20b43040 2025-10-22 14:08:50,873 - INFO - Verifications in API Server for VN ctest-vn-43961471 passed 2025-10-22 14:08:50,873 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6872ea4a-ec75-42ce-984f-287f20b43040 2025-10-22 14:08:50,885 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f8f8f070-7f96-4c7c-81fd-ff25ab4ff862 2025-10-22 14:08:50,896 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f8f8f070-7f96-4c7c-81fd-ff25ab4ff862 2025-10-22 14:08:50,905 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/f1de7508-d00f-4dac-bfc0-954acd8af95c 2025-10-22 14:08:50,925 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23391665:ctest-vn-43961471', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23391665', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7526335534805107406', 'uuid-lslong': '10975035343399825472'}, 'enable': 'true', 'created': '2025-10-22T14:08:48', 'last-modified': '2025-10-22T14:08:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.714471'} 2025-10-22 14:08:50,938 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 14:08:50,938 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43961471 passed 2025-10-22 14:08:50,938 - DEBUG - ====Verifying policy data for ctest-vn-43961471 in API_Server ====== 2025-10-22 14:08:50,938 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-22 14:08:50,948 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e71dc404-88de-4b9d-9aaf-b9cae211d205 2025-10-22 14:08:50,968 - DEBUG - Requesting: http://10.0.0.130:8082/project/fb29421a-4316-4d49-a01a-4e9a67bac8e7 2025-10-22 14:08:51,075 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6872ea4a-ec75-42ce-984f-287f20b43040 2025-10-22 14:08:51,094 - DEBUG - ==>Verifying data for policy with id: 318a3997-7a06-48ef-a238-ef99ba212876, fqn: ['default-domain', 'ctest-TestBasicPolicy-23391665', 'ctest-policy-allow-all-19415494'] 2025-10-22 14:08:51,094 - INFO - VN ctest-vn-43961471 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 14:08:51,094 - DEBUG - Verifying the vn in opserver 2025-10-22 14:08:51,094 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23391665:ctest-vn-43961471 virtual network link through opserver 10.0.0.130 2025-10-22 14:08:51,094 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-10-22 14:08:51,112 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23391665:ctest-vn-43961471', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23391665:ctest-vn-43961471?flat'} 2025-10-22 14:08:51,113 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23391665:ctest-vn-43961471 is found in opserver 2025-10-22 14:08:51,132 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 14:08:51,143 - DEBUG - VRF ids for VN ctest-vn-43961471: {} 2025-10-22 14:08:51,244 - DEBUG - Services list from nova: [, , ] 2025-10-22 14:08:52,682 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4429-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4429-1) 2025-10-22 14:08:54,032 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4429-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4429-1) 2025-10-22 14:08:54,032 - INFO - Waiting for VM ctest-TestBasicPolicy-23391665-95760110 to be up.. 2025-10-22 14:08:54,118 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 14:08:59,220 - DEBUG - VM is in ACTIVE state now 2025-10-22 14:08:59,220 - INFO - VM name : ctest-TestBasicPolicy-23391665-95760110 2025-10-22 14:08:59,318 - DEBUG - VM ctest-TestBasicPolicy-23391665-95760110 ID is 92969e4e-6449-4450-b8d9-acb697efca9d 2025-10-22 14:08:59,339 - DEBUG - VM ctest-TestBasicPolicy-23391665-95760110 launched on Node cn-jenkins-deploy-platform-ansible-os-4429-1 2025-10-22 14:08:59,429 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/92969e4e-6449-4450-b8d9-acb697efca9d 2025-10-22 14:08:59,439 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/6f46e8f4-89ed-477a-a3f8-66abf4984bd0 2025-10-22 14:09:02,742 - 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 1029ms') 2025-10-22 14:09:02,742 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23391665-95760110 failed! 2025-10-22 14:09:02,805 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23391665:ctest-vn-46629872 is 187.252.240.65 and allocation pool is NOT set 2025-10-22 14:09:06,896 - 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=2 ttl=63 time=8.05 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1027ms\r\nrtt min/avg/max/mdev = 8.050/8.050/8.050/0.000 ms') 2025-10-22 14:09:06,897 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23391665-95760110 passed 2025-10-22 14:09:07,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:09:07,072 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23391665-95760110, IP 187.252.240.67, Port 22 2025-10-22 14:09:07,251 - DEBUG - VM ctest-TestBasicPolicy-23391665-95760110 is ready for SSH connections 2025-10-22 14:09:07,251 - INFO - Waiting for VM ctest-TestBasicPolicy-23391665-97491496 to be up.. 2025-10-22 14:09:07,363 - DEBUG - VM is in ACTIVE state now 2025-10-22 14:09:07,363 - INFO - VM name : ctest-TestBasicPolicy-23391665-97491496 2025-10-22 14:09:07,509 - DEBUG - VM ctest-TestBasicPolicy-23391665-97491496 ID is 11bd6b53-8342-4a2c-95dd-fe3f432fe5a6 2025-10-22 14:09:07,509 - DEBUG - VM ctest-TestBasicPolicy-23391665-97491496 launched on Node cn-jenkins-deploy-platform-ansible-os-4429-1 2025-10-22 14:09:07,626 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/11bd6b53-8342-4a2c-95dd-fe3f432fe5a6 2025-10-22 14:09:07,639 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/84fa6696-61cb-4de9-ae33-ebf0eede33c2 2025-10-22 14:09:08,923 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=5.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.29 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.286/3.177/5.068/1.891 ms') 2025-10-22 14:09:08,923 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23391665-97491496 passed 2025-10-22 14:09:09,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:09:09,109 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23391665-97491496, IP 63.227.239.131, Port 22 2025-10-22 14:09:09,306 - DEBUG - VM ctest-TestBasicPolicy-23391665-97491496 is ready for SSH connections 2025-10-22 14:09:09,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:09:09,307 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.227.239.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-22 14:09:09,307 - DEBUG - ping -s 56 -c 3 -W 1 63.227.239.131 2025-10-22 14:09:13,629 - DEBUG - PING 63.227.239.131 (63.227.239.131): 56 data bytes 64 bytes from 63.227.239.131: seq=0 ttl=63 time=3.612 ms 64 bytes from 63.227.239.131: seq=1 ttl=63 time=1.273 ms 64 bytes from 63.227.239.131: seq=2 ttl=63 time=1.032 ms --- 63.227.239.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.032/1.972/3.612 ms 2025-10-22 14:09:13,630 - INFO - Ping to IP 63.227.239.131 from VM ctest-TestBasicPolicy-23391665-95760110 passed 2025-10-22 14:09:13,828 - DEBUG - Policy Update Response {"network-policy": {"uuid": "318a3997-7a06-48ef-a238-ef99ba212876", "href": "http://10.0.0.130:8082/network-policy/318a3997-7a06-48ef-a238-ef99ba212876"}} 2025-10-22 14:09:13,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:09:13,828 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.227.239.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-22 14:09:13,828 - DEBUG - ping -s 56 -c 3 -W 1 63.227.239.131 2025-10-22 14:09:17,136 - DEBUG - PING 63.227.239.131 (63.227.239.131): 56 data bytes --- 63.227.239.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 14:09:17,136 - WARNING - Ping to IP 63.227.239.131 from VM ctest-TestBasicPolicy-23391665-95760110 failed 2025-10-22 14:09:17,136 - INFO - Deleting VM ctest-TestBasicPolicy-23391665-97491496 2025-10-22 14:09:17,218 - INFO - Deleting VM ctest-TestBasicPolicy-23391665-95760110 2025-10-22 14:09:17,751 - INFO - Deleted policy ctest-policy-allow-all-19415494 2025-10-22 14:09:17,752 - INFO - Deleting VN ctest-vn-43961471 2025-10-22 14:09:17,828 - DEBUG - VN 6872ea4a-ec75-42ce-984f-287f20b43040 still in use: Unable to complete operation on network 6872ea4a-ec75-42ce-984f-287f20b43040. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b8a573c9-fee4-40c6-bea4-e6d868067254'] 2025-10-22 14:09:17,828 - WARNING - Deleting VN ctest-vn-43961471 failed..Will retry 2025-10-22 14:09:19,997 - DEBUG - Response for deleting network () 2025-10-22 14:09:19,997 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f8f8f070-7f96-4c7c-81fd-ff25ab4ff862 2025-10-22 14:09:20,010 - DEBUG - Response Code: 404 2025-10-22 14:09:20,010 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-22 14:09:20,024 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e71dc404-88de-4b9d-9aaf-b9cae211d205 2025-10-22 14:09:20,052 - DEBUG - Requesting: http://10.0.0.130:8082/project/fb29421a-4316-4d49-a01a-4e9a67bac8e7 2025-10-22 14:09:20,140 - INFO - Validated that VN ctest-vn-43961471 is not found in API Server 2025-10-22 14:09:20,161 - DEBUG - VN ctest-vn-43961471 is not present in Agent 10.0.0.130 2025-10-22 14:09:20,162 - INFO - Validated that VN ctest-vn-43961471 is not in any agent 2025-10-22 14:09:20,178 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43961471 info 2025-10-22 14:09:20,178 - INFO - Deleting VN ctest-vn-46629872 2025-10-22 14:09:20,312 - DEBUG - Response for deleting network () 2025-10-22 14:09:20,313 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/a5f9e73c-d50d-4e87-a19d-5458bb3a7b04 2025-10-22 14:09:20,318 - DEBUG - Response Code: 404 2025-10-22 14:09:20,318 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-22 14:09:20,324 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e71dc404-88de-4b9d-9aaf-b9cae211d205 2025-10-22 14:09:20,380 - DEBUG - Requesting: http://10.0.0.130:8082/project/fb29421a-4316-4d49-a01a-4e9a67bac8e7 2025-10-22 14:09:20,466 - INFO - Validated that VN ctest-vn-46629872 is not found in API Server 2025-10-22 14:09:20,484 - DEBUG - VN ctest-vn-46629872 is not present in Agent 10.0.0.130 2025-10-22 14:09:20,484 - INFO - Validated that VN ctest-vn-46629872 is not in any agent 2025-10-22 14:09:20,504 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46629872 info 2025-10-22 14:09:20,823 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 14:09:20,824 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2025-10-22 14:09:20,824 - INFO - -------------------------------------------------------------------------------- 2025-10-22 14:09:21,655 - INFO - Deleted project: ctest-TestBasicPolicy-23391665, ID : fb29421a-4316-4d49-a01a-4e9a67bac8e7