2025-12-03 16:13:03,560 - INFO - Domain Default found not creating 2025-12-03 16:13:03,733 - INFO - Project ctest-TestRoutersBasic-24005227 not found, creating it 2025-12-03 16:13:04,198 - INFO - Created Project:ctest-TestRoutersBasic-24005227, ID : 049d24f7-952f-41e7-abcc-70c31afe724f 2025-12-03 16:13:05,838 - INFO - ================================================================================ 2025-12-03 16:13:05,839 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-03 16:13:05,839 - 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-12-03 16:13:06,092 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-12-03 16:13:06,092 - INFO - Initial checks done. Running the testcase now 2025-12-03 16:13:06,092 - INFO - 2025-12-03 16:13:06,923 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-24005227 2025-12-03 16:13:07,018 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-24005227 2025-12-03 16:13:07,362 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24005227', 'default']} 2025-12-03 16:13:07,669 - DEBUG - Response for create_network : {'network': {'id': '395f9038-9956-4722-a938-b9867a97a4b5', 'name': 'ctest-vn-83845287', 'tenant_id': '049d24f7952f41e7abcc70c31afe724f', 'project_id': '049d24f7952f41e7abcc70c31afe724f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24005227', 'ctest-vn-83845287'], 'port_security_enabled': True, 'description': ''}} 2025-12-03 16:13:07,902 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bbb52530-ce65-4426-9f60-ac0755a95e88', 'name': '', 'tenant_id': '049d24f7952f41e7abcc70c31afe724f', 'network_id': '395f9038-9956-4722-a938-b9867a97a4b5', 'ip_version': 4, 'cidr': '56.98.108.64/26', 'allocation_pools': [{'start': '56.98.108.66', 'end': '56.98.108.126'}], 'gateway_ip': '56.98.108.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.98.108.66', 'tags': [], 'project_id': '049d24f7952f41e7abcc70c31afe724f'}} 2025-12-03 16:13:07,922 - INFO - Created VN ctest-vn-83845287 2025-12-03 16:13:07,978 - DEBUG - VN ctest-vn-83845287 UUID is 395f9038-9956-4722-a938-b9867a97a4b5 2025-12-03 16:13:08,308 - DEBUG - Response for create_network : {'network': {'id': '30b945be-aea7-4eec-9cf9-109300eb239a', 'name': 'ctest-ext_vn-41883277', 'tenant_id': '049d24f7952f41e7abcc70c31afe724f', 'project_id': '049d24f7952f41e7abcc70c31afe724f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24005227', 'ctest-ext_vn-41883277'], 'port_security_enabled': True, 'description': ''}} 2025-12-03 16:13:08,499 - DEBUG - Response for create_subnet : {'subnet': {'id': '83c95d18-5f4a-4f6e-987d-ffe01a2e3fdf', 'name': '', 'tenant_id': '049d24f7952f41e7abcc70c31afe724f', 'network_id': '30b945be-aea7-4eec-9cf9-109300eb239a', 'ip_version': 4, 'cidr': '48.119.62.0/26', 'allocation_pools': [{'start': '48.119.62.2', 'end': '48.119.62.62'}], 'gateway_ip': '48.119.62.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.119.62.2', 'tags': [], 'project_id': '049d24f7952f41e7abcc70c31afe724f'}} 2025-12-03 16:13:08,518 - INFO - Created VN ctest-ext_vn-41883277 2025-12-03 16:13:08,570 - DEBUG - VN ctest-ext_vn-41883277 UUID is 30b945be-aea7-4eec-9cf9-109300eb239a 2025-12-03 16:13:08,734 - DEBUG - Services list from nova: [, , ] 2025-12-03 16:13:09,903 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4834-1) 2025-12-03 16:13:11,211 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4834-1) 2025-12-03 16:13:11,293 - INFO - Setting gateway for router fb612429-cb1b-47e1-a31e-4977787f81bb to network 30b945be-aea7-4eec-9cf9-109300eb239a 2025-12-03 16:13:11,377 - INFO - Adding interface with subnet_id bbb52530-ce65-4426-9f60-ac0755a95e88, port_id None to router fb612429-cb1b-47e1-a31e-4977787f81bb 2025-12-03 16:13:11,815 - INFO - Waiting for VM ctest-TestRoutersBasic-24005227-68548106 to be up.. 2025-12-03 16:13:11,974 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-03 16:13:17,059 - DEBUG - VM is in ACTIVE state now 2025-12-03 16:13:17,060 - INFO - VM name : ctest-TestRoutersBasic-24005227-68548106 2025-12-03 16:13:17,170 - DEBUG - VM ctest-TestRoutersBasic-24005227-68548106 ID is 71c371b7-b427-4920-b42a-b76d6339a8fe 2025-12-03 16:13:17,199 - DEBUG - VM ctest-TestRoutersBasic-24005227-68548106 launched on Node cn-jenkins-deploy-platform-ansible-os-4834-1 2025-12-03 16:13:17,292 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/71c371b7-b427-4920-b42a-b76d6339a8fe 2025-12-03 16:13:17,632 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/71c371b7-b427-4920-b42a-b76d6339a8fe 2025-12-03 16:13:17,697 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e0ab757b-d950-4832-8fec-6a6efc7d086b 2025-12-03 16:13:20,968 - 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 1017ms') 2025-12-03 16:13:20,969 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24005227-68548106 failed! 2025-12-03 16:13:21,026 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-24005227:ctest-vn-83845287 is 56.98.108.65 and allocation pool is NOT set 2025-12-03 16:13:23,084 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.25 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.249/2.704/4.159/1.455 ms') 2025-12-03 16:13:23,084 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24005227-68548106 passed 2025-12-03 16:13:23,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 16:13:23,242 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24005227-68548106, IP 56.98.108.67, Port 22 2025-12-03 16:13:23,397 - DEBUG - VM ctest-TestRoutersBasic-24005227-68548106 is ready for SSH connections 2025-12-03 16:13:23,397 - INFO - Waiting for VM ctest-TestRoutersBasic-24005227-96598185 to be up.. 2025-12-03 16:13:23,488 - DEBUG - VM is in ACTIVE state now 2025-12-03 16:13:23,488 - INFO - VM name : ctest-TestRoutersBasic-24005227-96598185 2025-12-03 16:13:23,567 - DEBUG - VM ctest-TestRoutersBasic-24005227-96598185 ID is 66aa280a-1387-4f9a-a9c3-59ff76a0a3df 2025-12-03 16:13:23,567 - DEBUG - VM ctest-TestRoutersBasic-24005227-96598185 launched on Node cn-jenkins-deploy-platform-ansible-os-4834-1 2025-12-03 16:13:23,641 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/66aa280a-1387-4f9a-a9c3-59ff76a0a3df 2025-12-03 16:13:23,650 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/35c236d9-dab8-494d-a2c2-4f14af5756b7 2025-12-03 16:13:24,887 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.82 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.815/3.107/4.400/1.292 ms') 2025-12-03 16:13:24,888 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-24005227-96598185 passed 2025-12-03 16:13:25,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 16:13:25,038 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24005227-96598185, IP 48.119.62.3, Port 22 2025-12-03 16:13:25,193 - DEBUG - VM ctest-TestRoutersBasic-24005227-96598185 is ready for SSH connections 2025-12-03 16:13:25,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 16:13:25,194 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.119.62.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-03 16:13:25,194 - DEBUG - ping -s 56 -c 3 -W 1 48.119.62.3 2025-12-03 16:13:28,988 - DEBUG - PING 48.119.62.3 (48.119.62.3): 56 data bytes 64 bytes from 48.119.62.3: seq=0 ttl=62 time=7.036 ms 64 bytes from 48.119.62.3: seq=1 ttl=62 time=0.920 ms 64 bytes from 48.119.62.3: seq=2 ttl=62 time=1.092 ms --- 48.119.62.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.920/3.016/7.036 ms 2025-12-03 16:13:28,988 - INFO - Ping to IP 48.119.62.3 from VM ctest-TestRoutersBasic-24005227-68548106 passed 2025-12-03 16:13:28,988 - INFO - Deleting interface with subnet_id bbb52530-ce65-4426-9f60-ac0755a95e88, port_id None from router fb612429-cb1b-47e1-a31e-4977787f81bb 2025-12-03 16:13:29,225 - INFO - Deleting VM ctest-TestRoutersBasic-24005227-96598185 2025-12-03 16:13:29,313 - INFO - Deleting VM ctest-TestRoutersBasic-24005227-68548106 2025-12-03 16:13:29,422 - INFO - Deleting VN ctest-ext_vn-41883277 2025-12-03 16:13:29,502 - DEBUG - VN 30b945be-aea7-4eec-9cf9-109300eb239a still in use: Unable to complete operation on network 30b945be-aea7-4eec-9cf9-109300eb239a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ede6ab81-93ab-4a44-9eec-121c3b1e4fa4'] 2025-12-03 16:13:29,502 - WARNING - Deleting VN ctest-ext_vn-41883277 failed..Will retry 2025-12-03 16:13:31,606 - DEBUG - Response for deleting network () 2025-12-03 16:13:31,606 - INFO - Deleting VN ctest-vn-83845287 2025-12-03 16:13:31,718 - DEBUG - Response for deleting network () 2025-12-03 16:13:31,978 - DEBUG - No XMPP flaps were noticed during the test
2025-12-03 16:13:31,978 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-12-03 16:13:31,978 - INFO - -------------------------------------------------------------------------------- 2025-12-03 16:13:32,710 - INFO - Deleted project: ctest-TestRoutersBasic-24005227, ID : 049d24f7-952f-41e7-abcc-70c31afe724f