2025-10-16 21:02:23,278 - INFO - Domain Default found not creating 2025-10-16 21:02:23,420 - INFO - Project ctest-TestBasicPolicy-85780970 not found, creating it 2025-10-16 21:02:23,856 - INFO - Created Project:ctest-TestBasicPolicy-85780970, ID : facedf18-0708-4e1a-9474-0e3c4d3287f4 2025-10-16 21:02:25,249 - INFO - ================================================================================ 2025-10-16 21:02:25,250 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-16 21:02:25,250 - 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-16 21:02:25,504 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-16 21:02:25,504 - INFO - Initial checks done. Running the testcase now 2025-10-16 21:02:25,504 - INFO - 2025-10-16 21:02:26,035 - DEBUG - Response for create_network : {'network': {'id': 'cf5fd030-a243-4306-b78f-f01a5fc093de', 'name': 'ctest-vn-39182493', 'tenant_id': 'facedf1807084e1a94740e3c4d3287f4', 'project_id': 'facedf1807084e1a94740e3c4d3287f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85780970', 'ctest-vn-39182493'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 21:02:26,184 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0b4ac8f-c8af-4d7b-92c0-49f378b236f8', 'name': '', 'tenant_id': 'facedf1807084e1a94740e3c4d3287f4', 'network_id': 'cf5fd030-a243-4306-b78f-f01a5fc093de', 'ip_version': 4, 'cidr': '88.72.207.128/26', 'allocation_pools': [{'start': '88.72.207.130', 'end': '88.72.207.190'}], 'gateway_ip': '88.72.207.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.72.207.130', 'tags': [], 'project_id': 'facedf1807084e1a94740e3c4d3287f4'}} 2025-10-16 21:02:26,202 - INFO - Created VN ctest-vn-39182493 2025-10-16 21:02:26,254 - DEBUG - VN ctest-vn-39182493 UUID is cf5fd030-a243-4306-b78f-f01a5fc093de 2025-10-16 21:02:26,564 - DEBUG - Response for create_network : {'network': {'id': 'b5e6940b-fb65-4634-9cc6-31cd0f15868c', 'name': 'ctest-vn-38691351', 'tenant_id': 'facedf1807084e1a94740e3c4d3287f4', 'project_id': 'facedf1807084e1a94740e3c4d3287f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85780970', 'ctest-vn-38691351'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 21:02:26,761 - DEBUG - Response for create_subnet : {'subnet': {'id': '339397f1-b79d-4395-91d5-ac43b797cc8c', 'name': '', 'tenant_id': 'facedf1807084e1a94740e3c4d3287f4', 'network_id': 'b5e6940b-fb65-4634-9cc6-31cd0f15868c', 'ip_version': 4, 'cidr': '67.81.40.64/26', 'allocation_pools': [{'start': '67.81.40.66', 'end': '67.81.40.126'}], 'gateway_ip': '67.81.40.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.81.40.66', 'tags': [], 'project_id': 'facedf1807084e1a94740e3c4d3287f4'}} 2025-10-16 21:02:26,777 - INFO - Created VN ctest-vn-38691351 2025-10-16 21:02:26,830 - DEBUG - VN ctest-vn-38691351 UUID is b5e6940b-fb65-4634-9cc6-31cd0f15868c 2025-10-16 21:02:26,978 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-39182493, 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-85780970:ctest-vn-38691351, 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-16 21:02:27,272 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf5fd030-a243-4306-b78f-f01a5fc093de', 'name': 'ctest-vn-39182493', 'tenant_id': 'facedf1807084e1a94740e3c4d3287f4', 'project_id': 'facedf1807084e1a94740e3c4d3287f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c0b4ac8f-c8af-4d7b-92c0-49f378b236f8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85780970', 'ctest-vn-39182493'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85780970', 'ctest-policy-allow-all-63484771']], 'subnet_ipam': [{'subnet_cidr': '88.72.207.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-16 21:02:27,507 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b5e6940b-fb65-4634-9cc6-31cd0f15868c', 'name': 'ctest-vn-38691351', 'tenant_id': 'facedf1807084e1a94740e3c4d3287f4', 'project_id': 'facedf1807084e1a94740e3c4d3287f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['339397f1-b79d-4395-91d5-ac43b797cc8c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85780970', 'ctest-vn-38691351'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85780970', 'ctest-policy-allow-all-63484771']], 'subnet_ipam': [{'subnet_cidr': '67.81.40.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-16 21:02:27,670 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-16 21:02:27,963 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-16 21:02:27,988 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f18e4429-229b-426d-bf71-acb6e554173d 2025-10-16 21:02:28,000 - DEBUG - Requesting: http://10.0.0.249:8082/project/facedf18-0708-4e1a-9474-0e3c4d3287f4 2025-10-16 21:02:28,068 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5fd030-a243-4306-b78f-f01a5fc093de 2025-10-16 21:02:28,077 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5fd030-a243-4306-b78f-f01a5fc093de 2025-10-16 21:02:28,086 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1de0bcc1-3962-4fd8-8571-0879455f9a8a 2025-10-16 21:02:28,093 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1de0bcc1-3962-4fd8-8571-0879455f9a8a 2025-10-16 21:02:28,099 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1ffb746f-62a8-483e-80d2-109933460fae 2025-10-16 21:02:28,106 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-16 21:02:28,106 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5fd030-a243-4306-b78f-f01a5fc093de 2025-10-16 21:02:28,115 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1de0bcc1-3962-4fd8-8571-0879455f9a8a 2025-10-16 21:02:28,129 - INFO - Verified VN network id 11 for VN cf5fd030-a243-4306-b78f-f01a5fc093de 2025-10-16 21:02:28,129 - INFO - Verifications in API Server for VN ctest-vn-39182493 passed 2025-10-16 21:02:28,129 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5fd030-a243-4306-b78f-f01a5fc093de 2025-10-16 21:02:28,137 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1de0bcc1-3962-4fd8-8571-0879455f9a8a 2025-10-16 21:02:28,143 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1de0bcc1-3962-4fd8-8571-0879455f9a8a 2025-10-16 21:02:28,149 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1ffb746f-62a8-483e-80d2-109933460fae 2025-10-16 21:02:28,160 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-39182493', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85780970', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14942890995937919750', 'uuid-lslong': '13227054626676708318'}, 'enable': 'true', 'created': '2025-10-16T21:02:26', 'last-modified': '2025-10-16T21:02:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.911529'} 2025-10-16 21:02:28,166 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-16 21:02:28,166 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39182493 passed 2025-10-16 21:02:28,166 - DEBUG - ====Verifying policy data for ctest-vn-39182493 in API_Server ====== 2025-10-16 21:02:28,166 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-16 21:02:28,171 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f18e4429-229b-426d-bf71-acb6e554173d 2025-10-16 21:02:28,183 - DEBUG - Requesting: http://10.0.0.249:8082/project/facedf18-0708-4e1a-9474-0e3c4d3287f4 2025-10-16 21:02:28,252 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5fd030-a243-4306-b78f-f01a5fc093de 2025-10-16 21:02:28,260 - DEBUG - ==>Verifying data for policy with id: 47dc368a-0780-4031-aeaa-f5f13041c116, fqn: ['default-domain', 'ctest-TestBasicPolicy-85780970', 'ctest-policy-allow-all-63484771'] 2025-10-16 21:02:28,260 - INFO - VN ctest-vn-39182493 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-16 21:02:28,260 - DEBUG - Verifying the vn in opserver 2025-10-16 21:02:28,260 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-39182493 virtual network link through opserver 10.0.0.249 2025-10-16 21:02:28,260 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-16 21:02:28,561 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-16 21:02:28,614 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-39182493', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-39182493?flat'} 2025-10-16 21:02:28,614 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-39182493 is found in opserver 2025-10-16 21:02:28,623 - DEBUG - Do not have enough data to verify VN in agent 2025-10-16 21:02:28,627 - DEBUG - VRF ids for VN ctest-vn-39182493: {} 2025-10-16 21:02:28,627 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-16 21:02:28,632 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f18e4429-229b-426d-bf71-acb6e554173d 2025-10-16 21:02:28,643 - DEBUG - Requesting: http://10.0.0.249:8082/project/facedf18-0708-4e1a-9474-0e3c4d3287f4 2025-10-16 21:02:28,713 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b5e6940b-fb65-4634-9cc6-31cd0f15868c 2025-10-16 21:02:28,724 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b5e6940b-fb65-4634-9cc6-31cd0f15868c 2025-10-16 21:02:28,735 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e0b3e42d-1766-4e80-a5e7-5eba73066df3 2025-10-16 21:02:28,741 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e0b3e42d-1766-4e80-a5e7-5eba73066df3 2025-10-16 21:02:28,748 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/860feee8-bde9-41e4-9168-3121d0b8c7e0 2025-10-16 21:02:28,754 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-16 21:02:28,754 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b5e6940b-fb65-4634-9cc6-31cd0f15868c 2025-10-16 21:02:28,762 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e0b3e42d-1766-4e80-a5e7-5eba73066df3 2025-10-16 21:02:28,774 - INFO - Verified VN network id 12 for VN b5e6940b-fb65-4634-9cc6-31cd0f15868c 2025-10-16 21:02:28,774 - INFO - Verifications in API Server for VN ctest-vn-38691351 passed 2025-10-16 21:02:28,774 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b5e6940b-fb65-4634-9cc6-31cd0f15868c 2025-10-16 21:02:28,782 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e0b3e42d-1766-4e80-a5e7-5eba73066df3 2025-10-16 21:02:28,787 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e0b3e42d-1766-4e80-a5e7-5eba73066df3 2025-10-16 21:02:28,793 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/860feee8-bde9-41e4-9168-3121d0b8c7e0 2025-10-16 21:02:28,803 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-38691351', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85780970', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13107326544691676724', 'uuid-lslong': '11296771472096593548'}, 'enable': 'true', 'created': '2025-10-16T21:02:26', 'last-modified': '2025-10-16T21:02:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.321198'} 2025-10-16 21:02:28,807 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-16 21:02:28,807 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38691351 passed 2025-10-16 21:02:28,807 - DEBUG - ====Verifying policy data for ctest-vn-38691351 in API_Server ====== 2025-10-16 21:02:28,807 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-16 21:02:28,813 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f18e4429-229b-426d-bf71-acb6e554173d 2025-10-16 21:02:28,822 - DEBUG - Requesting: http://10.0.0.249:8082/project/facedf18-0708-4e1a-9474-0e3c4d3287f4 2025-10-16 21:02:28,895 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b5e6940b-fb65-4634-9cc6-31cd0f15868c 2025-10-16 21:02:28,904 - DEBUG - ==>Verifying data for policy with id: 47dc368a-0780-4031-aeaa-f5f13041c116, fqn: ['default-domain', 'ctest-TestBasicPolicy-85780970', 'ctest-policy-allow-all-63484771'] 2025-10-16 21:02:28,904 - INFO - VN ctest-vn-38691351 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-16 21:02:28,904 - DEBUG - Verifying the vn in opserver 2025-10-16 21:02:28,904 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-38691351 virtual network link through opserver 10.0.0.249 2025-10-16 21:02:28,904 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-16 21:02:28,913 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-38691351', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-38691351?flat'} 2025-10-16 21:02:28,913 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-38691351 is found in opserver 2025-10-16 21:02:28,921 - DEBUG - Do not have enough data to verify VN in agent 2025-10-16 21:02:28,925 - DEBUG - VRF ids for VN ctest-vn-38691351: {} 2025-10-16 21:02:28,976 - DEBUG - Services list from nova: [, , ] 2025-10-16 21:02:29,985 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4351-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4351-1) 2025-10-16 21:02:31,110 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4351-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4351-1) 2025-10-16 21:02:31,110 - INFO - Waiting for VM ctest-TestBasicPolicy-85780970-06610985 to be up.. 2025-10-16 21:02:31,197 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 21:02:36,270 - DEBUG - VM is in ACTIVE state now 2025-10-16 21:02:36,270 - INFO - VM name : ctest-TestBasicPolicy-85780970-06610985 2025-10-16 21:02:36,341 - DEBUG - VM ctest-TestBasicPolicy-85780970-06610985 ID is 430171cf-a9b7-4a45-8930-22bea7cfc847 2025-10-16 21:02:36,358 - DEBUG - VM ctest-TestBasicPolicy-85780970-06610985 launched on Node cn-jenkins-deploy-platform-ansible-os-4351-1 2025-10-16 21:02:36,425 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/430171cf-a9b7-4a45-8930-22bea7cfc847 2025-10-16 21:02:36,433 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/02de2379-2fd3-43d6-8e26-80bf0ca0bb8e 2025-10-16 21:02:39,644 - 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 1022ms') 2025-10-16 21:02:39,645 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85780970-06610985 failed! 2025-10-16 21:02:39,698 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-85780970:ctest-vn-39182493 is 88.72.207.129 and allocation pool is NOT set 2025-10-16 21:02:41,758 - 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=5.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.45 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 = 1.449/3.657/5.865/2.208 ms') 2025-10-16 21:02:41,758 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85780970-06610985 passed 2025-10-16 21:02:41,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 21:02:41,906 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85780970-06610985, IP 88.72.207.131, Port 22 2025-10-16 21:02:42,062 - DEBUG - VM ctest-TestBasicPolicy-85780970-06610985 is ready for SSH connections 2025-10-16 21:02:42,062 - INFO - Waiting for VM ctest-TestBasicPolicy-85780970-95844862 to be up.. 2025-10-16 21:02:42,134 - DEBUG - VM is in ACTIVE state now 2025-10-16 21:02:42,134 - INFO - VM name : ctest-TestBasicPolicy-85780970-95844862 2025-10-16 21:02:42,204 - DEBUG - VM ctest-TestBasicPolicy-85780970-95844862 ID is e1542bb5-546f-4da9-8d23-6a143c94b692 2025-10-16 21:02:42,204 - DEBUG - VM ctest-TestBasicPolicy-85780970-95844862 launched on Node cn-jenkins-deploy-platform-ansible-os-4351-1 2025-10-16 21:02:42,275 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e1542bb5-546f-4da9-8d23-6a143c94b692 2025-10-16 21:02:42,283 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/be668620-9e3d-4b67-aee6-234002dcc076 2025-10-16 21:02:43,528 - 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=4.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.023/2.594/4.165/1.571 ms') 2025-10-16 21:02:43,528 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-85780970-95844862 passed 2025-10-16 21:02:43,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 21:02:43,682 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85780970-95844862, IP 67.81.40.67, Port 22 2025-10-16 21:02:43,841 - DEBUG - VM ctest-TestBasicPolicy-85780970-95844862 is ready for SSH connections 2025-10-16 21:02:43,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 21:02:43,842 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.81.40.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-16 21:02:43,842 - DEBUG - ping -s 56 -c 3 -W 1 67.81.40.67 2025-10-16 21:02:47,839 - DEBUG - PING 67.81.40.67 (67.81.40.67): 56 data bytes 64 bytes from 67.81.40.67: seq=0 ttl=63 time=3.532 ms 64 bytes from 67.81.40.67: seq=1 ttl=63 time=1.097 ms 64 bytes from 67.81.40.67: seq=2 ttl=63 time=1.035 ms --- 67.81.40.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.035/1.888/3.532 ms 2025-10-16 21:02:47,839 - INFO - Ping to IP 67.81.40.67 from VM ctest-TestBasicPolicy-85780970-06610985 passed 2025-10-16 21:02:48,010 - DEBUG - Policy Update Response {"network-policy": {"uuid": "47dc368a-0780-4031-aeaa-f5f13041c116", "href": "http://10.0.0.249:8082/network-policy/47dc368a-0780-4031-aeaa-f5f13041c116"}} 2025-10-16 21:02:48,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 21:02:48,010 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.81.40.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-16 21:02:48,011 - DEBUG - ping -s 56 -c 3 -W 1 67.81.40.67 2025-10-16 21:02:51,219 - DEBUG - PING 67.81.40.67 (67.81.40.67): 56 data bytes --- 67.81.40.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-16 21:02:51,219 - WARNING - Ping to IP 67.81.40.67 from VM ctest-TestBasicPolicy-85780970-06610985 failed 2025-10-16 21:02:51,219 - INFO - Deleting VM ctest-TestBasicPolicy-85780970-95844862 2025-10-16 21:02:51,282 - INFO - Deleting VM ctest-TestBasicPolicy-85780970-06610985 2025-10-16 21:02:51,631 - INFO - Deleted policy ctest-policy-allow-all-63484771 2025-10-16 21:02:51,631 - INFO - Deleting VN ctest-vn-38691351 2025-10-16 21:02:51,668 - DEBUG - VN b5e6940b-fb65-4634-9cc6-31cd0f15868c still in use: Unable to complete operation on network b5e6940b-fb65-4634-9cc6-31cd0f15868c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f0604071-f4cc-47ae-95fe-e50f787fde3e'] 2025-10-16 21:02:51,668 - WARNING - Deleting VN ctest-vn-38691351 failed..Will retry 2025-10-16 21:02:53,760 - DEBUG - Response for deleting network () 2025-10-16 21:02:53,760 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e0b3e42d-1766-4e80-a5e7-5eba73066df3 2025-10-16 21:02:53,768 - DEBUG - Response Code: 404 2025-10-16 21:02:53,768 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-16 21:02:53,773 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f18e4429-229b-426d-bf71-acb6e554173d 2025-10-16 21:02:53,823 - DEBUG - Requesting: http://10.0.0.249:8082/project/facedf18-0708-4e1a-9474-0e3c4d3287f4 2025-10-16 21:02:53,889 - INFO - Validated that VN ctest-vn-38691351 is not found in API Server 2025-10-16 21:02:53,898 - DEBUG - VN ctest-vn-38691351 is not present in Agent 10.0.0.249 2025-10-16 21:02:53,898 - INFO - Validated that VN ctest-vn-38691351 is not in any agent 2025-10-16 21:02:53,910 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38691351 info 2025-10-16 21:02:53,910 - INFO - Deleting VN ctest-vn-39182493 2025-10-16 21:02:54,007 - DEBUG - Response for deleting network () 2025-10-16 21:02:54,007 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1de0bcc1-3962-4fd8-8571-0879455f9a8a 2025-10-16 21:02:54,015 - DEBUG - Response Code: 404 2025-10-16 21:02:54,015 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-16 21:02:54,021 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f18e4429-229b-426d-bf71-acb6e554173d 2025-10-16 21:02:54,075 - DEBUG - Requesting: http://10.0.0.249:8082/project/facedf18-0708-4e1a-9474-0e3c4d3287f4 2025-10-16 21:02:54,145 - INFO - Validated that VN ctest-vn-39182493 is not found in API Server 2025-10-16 21:02:54,155 - DEBUG - VN ctest-vn-39182493 is not present in Agent 10.0.0.249 2025-10-16 21:02:54,155 - INFO - Validated that VN ctest-vn-39182493 is not in any agent 2025-10-16 21:02:54,166 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39182493 info 2025-10-16 21:02:54,420 - DEBUG - No XMPP flaps were noticed during the test 2025-10-16 21:02:54,420 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-16 21:02:54,420 - INFO - -------------------------------------------------------------------------------- 2025-10-16 21:02:55,132 - INFO - Deleted project: ctest-TestBasicPolicy-85780970, ID : facedf18-0708-4e1a-9474-0e3c4d3287f4