2025-09-11 15:37:30,004 - INFO - Domain Default found not creating 2025-09-11 15:37:30,170 - INFO - Project ctest-TestRoutersBasic-40260931 not found, creating it 2025-09-11 15:37:30,657 - INFO - Created Project:ctest-TestRoutersBasic-40260931, ID : 99efafbe-ab14-4849-b3f3-ac2b0146a1f8 2025-09-11 15:37:32,102 - INFO - ================================================================================ 2025-09-11 15:37:32,102 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-11 15:37:32,102 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2025-09-11 15:37:32,356 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-11 15:37:32,356 - INFO - Initial checks done. Running the testcase now 2025-09-11 15:37:32,356 - INFO - 2025-09-11 15:37:33,072 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40260931 2025-09-11 15:37:33,171 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40260931 2025-09-11 15:37:33,498 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40260931', 'default']} 2025-09-11 15:37:33,791 - DEBUG - Response for create_network : {'network': {'id': '9ca3aa96-3ca6-486e-866f-aa29c6586a22', 'name': 'ctest-vn-29470874', 'tenant_id': '99efafbeab144849b3f3ac2b0146a1f8', 'project_id': '99efafbeab144849b3f3ac2b0146a1f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40260931', 'ctest-vn-29470874'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 15:37:33,992 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ea6066d-67e5-40b2-9f69-dfd153db8983', 'name': '', 'tenant_id': '99efafbeab144849b3f3ac2b0146a1f8', 'network_id': '9ca3aa96-3ca6-486e-866f-aa29c6586a22', 'ip_version': 4, 'cidr': '57.37.37.64/26', 'allocation_pools': [{'start': '57.37.37.66', 'end': '57.37.37.126'}], 'gateway_ip': '57.37.37.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.37.37.66', 'tags': [], 'project_id': '99efafbeab144849b3f3ac2b0146a1f8'}} 2025-09-11 15:37:34,008 - INFO - Created VN ctest-vn-29470874 2025-09-11 15:37:34,058 - DEBUG - VN ctest-vn-29470874 UUID is 9ca3aa96-3ca6-486e-866f-aa29c6586a22 2025-09-11 15:37:34,384 - DEBUG - Response for create_network : {'network': {'id': '0240737f-b5ac-4e82-8341-62eea191e543', 'name': 'ctest-ext_vn-40792351', 'tenant_id': '99efafbeab144849b3f3ac2b0146a1f8', 'project_id': '99efafbeab144849b3f3ac2b0146a1f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40260931', 'ctest-ext_vn-40792351'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 15:37:34,594 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aed4c470-ed10-46a7-8565-085ed364a348', 'name': '', 'tenant_id': '99efafbeab144849b3f3ac2b0146a1f8', 'network_id': '0240737f-b5ac-4e82-8341-62eea191e543', 'ip_version': 4, 'cidr': '9.157.205.0/26', 'allocation_pools': [{'start': '9.157.205.2', 'end': '9.157.205.62'}], 'gateway_ip': '9.157.205.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.157.205.2', 'tags': [], 'project_id': '99efafbeab144849b3f3ac2b0146a1f8'}} 2025-09-11 15:37:34,615 - INFO - Created VN ctest-ext_vn-40792351 2025-09-11 15:37:34,666 - DEBUG - VN ctest-ext_vn-40792351 UUID is 0240737f-b5ac-4e82-8341-62eea191e543 2025-09-11 15:37:34,836 - DEBUG - Services list from nova: [, , ] 2025-09-11 15:37:35,867 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4094-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4094-1) 2025-09-11 15:37:37,027 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4094-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4094-1) 2025-09-11 15:37:37,127 - INFO - Setting gateway for router 2294d029-89e7-4138-8ffa-146b69ed4e5d to network 0240737f-b5ac-4e82-8341-62eea191e543 2025-09-11 15:37:37,198 - INFO - Adding interface with subnet_id 2ea6066d-67e5-40b2-9f69-dfd153db8983, port_id None to router 2294d029-89e7-4138-8ffa-146b69ed4e5d 2025-09-11 15:37:37,594 - INFO - Waiting for VM ctest-TestRoutersBasic-40260931-67858250 to be up.. 2025-09-11 15:37:37,742 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 15:37:42,823 - DEBUG - VM is in ACTIVE state now 2025-09-11 15:37:42,823 - INFO - VM name : ctest-TestRoutersBasic-40260931-67858250 2025-09-11 15:37:42,902 - DEBUG - VM ctest-TestRoutersBasic-40260931-67858250 ID is d2b656fa-ec4a-4677-aa8d-c3aa2fd04e77 2025-09-11 15:37:42,920 - DEBUG - VM ctest-TestRoutersBasic-40260931-67858250 launched on Node cn-jenkins-deploy-platform-ansible-os-4094-1 2025-09-11 15:37:43,011 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d2b656fa-ec4a-4677-aa8d-c3aa2fd04e77 2025-09-11 15:37:43,330 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d2b656fa-ec4a-4677-aa8d-c3aa2fd04e77 2025-09-11 15:37:43,363 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7f302c94-13cb-415e-bb55-49caf0793aa6 2025-09-11 15:37:46,619 - 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-09-11 15:37:46,619 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40260931-67858250 failed! 2025-09-11 15:37:46,674 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40260931:ctest-vn-29470874 is 57.37.37.65 and allocation pool is NOT set 2025-09-11 15:37:48,734 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.623 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.623/2.900/5.178/2.277 ms') 2025-09-11 15:37:48,734 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40260931-67858250 passed 2025-09-11 15:37:48,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 15:37:48,887 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40260931-67858250, IP 57.37.37.67, Port 22 2025-09-11 15:37:49,042 - DEBUG - VM ctest-TestRoutersBasic-40260931-67858250 is ready for SSH connections 2025-09-11 15:37:49,042 - INFO - Waiting for VM ctest-TestRoutersBasic-40260931-12830970 to be up.. 2025-09-11 15:37:49,124 - DEBUG - VM is in ACTIVE state now 2025-09-11 15:37:49,124 - INFO - VM name : ctest-TestRoutersBasic-40260931-12830970 2025-09-11 15:37:49,204 - DEBUG - VM ctest-TestRoutersBasic-40260931-12830970 ID is a10765ab-9842-425f-b6a5-0f09ef9197ba 2025-09-11 15:37:49,205 - DEBUG - VM ctest-TestRoutersBasic-40260931-12830970 launched on Node cn-jenkins-deploy-platform-ansible-os-4094-1 2025-09-11 15:37:49,276 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a10765ab-9842-425f-b6a5-0f09ef9197ba 2025-09-11 15:37:49,283 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d8ae1f5a-876a-4330-8c86-584d602a726d 2025-09-11 15:37:50,526 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 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 = 0.456/2.398/4.340/1.942 ms') 2025-09-11 15:37:50,526 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40260931-12830970 passed 2025-09-11 15:37:50,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 15:37:50,675 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40260931-12830970, IP 9.157.205.3, Port 22 2025-09-11 15:37:50,834 - DEBUG - VM ctest-TestRoutersBasic-40260931-12830970 is ready for SSH connections 2025-09-11 15:37:50,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 15:37:50,834 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.157.205.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 15:37:50,834 - DEBUG - ping -s 56 -c 3 -W 1 9.157.205.3 2025-09-11 15:37:54,560 - DEBUG - PING 9.157.205.3 (9.157.205.3): 56 data bytes 64 bytes from 9.157.205.3: seq=0 ttl=62 time=4.949 ms 64 bytes from 9.157.205.3: seq=1 ttl=62 time=1.087 ms 64 bytes from 9.157.205.3: seq=2 ttl=62 time=0.905 ms --- 9.157.205.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.905/2.313/4.949 ms 2025-09-11 15:37:54,560 - INFO - Ping to IP 9.157.205.3 from VM ctest-TestRoutersBasic-40260931-67858250 passed 2025-09-11 15:37:54,560 - INFO - Deleting interface with subnet_id 2ea6066d-67e5-40b2-9f69-dfd153db8983, port_id None from router 2294d029-89e7-4138-8ffa-146b69ed4e5d 2025-09-11 15:37:54,753 - INFO - Deleting VM ctest-TestRoutersBasic-40260931-12830970 2025-09-11 15:37:54,823 - INFO - Deleting VM ctest-TestRoutersBasic-40260931-67858250 2025-09-11 15:37:54,905 - INFO - Deleting VN ctest-ext_vn-40792351 2025-09-11 15:37:54,972 - DEBUG - VN 0240737f-b5ac-4e82-8341-62eea191e543 still in use: Unable to complete operation on network 0240737f-b5ac-4e82-8341-62eea191e543. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c278bd6a-4829-47b9-9e16-6b0920ec1718'] 2025-09-11 15:37:54,972 - WARNING - Deleting VN ctest-ext_vn-40792351 failed..Will retry 2025-09-11 15:37:57,075 - DEBUG - Response for deleting network () 2025-09-11 15:37:57,076 - INFO - Deleting VN ctest-vn-29470874 2025-09-11 15:37:57,178 - DEBUG - Response for deleting network () 2025-09-11 15:37:57,434 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 15:37:57,434 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-11 15:37:57,434 - INFO - -------------------------------------------------------------------------------- 2025-09-11 15:37:58,124 - INFO - Deleted project: ctest-TestRoutersBasic-40260931, ID : 99efafbe-ab14-4849-b3f3-ac2b0146a1f8