2026-02-11 13:10:46,265 - INFO - Domain Default found not creating 2026-02-11 13:10:46,439 - INFO - Project ctest-TestRoutersBasic-79680857 not found, creating it 2026-02-11 13:10:46,885 - INFO - Created Project:ctest-TestRoutersBasic-79680857, ID : 11578103-d544-43cb-a4be-1be99ded2960 2026-02-11 13:10:48,351 - INFO - ================================================================================ 2026-02-11 13:10:48,352 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-11 13:10:48,352 - 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 2026-02-11 13:10:48,608 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2026-02-11 13:10:48,608 - INFO - Initial checks done. Running the testcase now 2026-02-11 13:10:48,609 - INFO - 2026-02-11 13:10:49,325 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79680857 2026-02-11 13:10:49,419 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79680857 2026-02-11 13:10:49,739 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79680857', 'default']} 2026-02-11 13:10:50,033 - DEBUG - Response for create_network : {'network': {'id': '13380cea-a9f0-440d-9d4a-339736555b6f', 'name': 'ctest-vn-43432345', 'tenant_id': '11578103d54443cba4be1be99ded2960', 'project_id': '11578103d54443cba4be1be99ded2960', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79680857', 'ctest-vn-43432345'], 'port_security_enabled': True, 'description': ''}} 2026-02-11 13:10:50,206 - DEBUG - Response for create_subnet : {'subnet': {'id': '0daa855e-d052-43bb-9b8c-418b24d16e77', 'name': '', 'tenant_id': '11578103d54443cba4be1be99ded2960', 'network_id': '13380cea-a9f0-440d-9d4a-339736555b6f', 'ip_version': 4, 'cidr': '57.55.46.0/26', 'allocation_pools': [{'start': '57.55.46.2', 'end': '57.55.46.62'}], 'gateway_ip': '57.55.46.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.55.46.2', 'tags': [], 'project_id': '11578103d54443cba4be1be99ded2960'}} 2026-02-11 13:10:50,226 - INFO - Created VN ctest-vn-43432345 2026-02-11 13:10:50,275 - DEBUG - VN ctest-vn-43432345 UUID is 13380cea-a9f0-440d-9d4a-339736555b6f 2026-02-11 13:10:50,612 - DEBUG - Response for create_network : {'network': {'id': '0e564926-210c-4a5f-9a0a-007ec6664d40', 'name': 'ctest-ext_vn-55758476', 'tenant_id': '11578103d54443cba4be1be99ded2960', 'project_id': '11578103d54443cba4be1be99ded2960', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79680857', 'ctest-ext_vn-55758476'], 'port_security_enabled': True, 'description': ''}} 2026-02-11 13:10:50,759 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a14d6da2-4df1-4456-b6e5-5a5e34747926', 'name': '', 'tenant_id': '11578103d54443cba4be1be99ded2960', 'network_id': '0e564926-210c-4a5f-9a0a-007ec6664d40', 'ip_version': 4, 'cidr': '66.2.233.192/26', 'allocation_pools': [{'start': '66.2.233.194', 'end': '66.2.233.254'}], 'gateway_ip': '66.2.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.2.233.194', 'tags': [], 'project_id': '11578103d54443cba4be1be99ded2960'}} 2026-02-11 13:10:50,777 - INFO - Created VN ctest-ext_vn-55758476 2026-02-11 13:10:50,827 - DEBUG - VN ctest-ext_vn-55758476 UUID is 0e564926-210c-4a5f-9a0a-007ec6664d40 2026-02-11 13:10:50,995 - DEBUG - Services list from nova: [, , ] 2026-02-11 13:10:52,027 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5291-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5291-1) 2026-02-11 13:10:53,197 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5291-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5291-1) 2026-02-11 13:10:53,282 - INFO - Setting gateway for router b2e27d81-a501-476c-84e7-e80d928a98a4 to network 0e564926-210c-4a5f-9a0a-007ec6664d40 2026-02-11 13:10:53,356 - INFO - Adding interface with subnet_id 0daa855e-d052-43bb-9b8c-418b24d16e77, port_id None to router b2e27d81-a501-476c-84e7-e80d928a98a4 2026-02-11 13:10:53,736 - INFO - Waiting for VM ctest-TestRoutersBasic-79680857-91661688 to be up.. 2026-02-11 13:10:53,889 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-11 13:10:58,962 - DEBUG - VM is in ACTIVE state now 2026-02-11 13:10:58,962 - INFO - VM name : ctest-TestRoutersBasic-79680857-91661688 2026-02-11 13:10:59,044 - DEBUG - VM ctest-TestRoutersBasic-79680857-91661688 ID is 9a46a797-1c26-470a-9e32-0ccb2907dd2f 2026-02-11 13:10:59,069 - DEBUG - VM ctest-TestRoutersBasic-79680857-91661688 launched on Node cn-jenkins-deploy-platform-ansible-os-5291-1 2026-02-11 13:10:59,188 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9a46a797-1c26-470a-9e32-0ccb2907dd2f 2026-02-11 13:10:59,512 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9a46a797-1c26-470a-9e32-0ccb2907dd2f 2026-02-11 13:10:59,584 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/40c65b14-7e47-4f0d-a7e0-285f9430404c 2026-02-11 13:11:02,845 - 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 1007ms') 2026-02-11 13:11:02,845 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79680857-91661688 failed! 2026-02-11 13:11:02,899 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79680857:ctest-vn-43432345 is 57.55.46.1 and allocation pool is NOT set 2026-02-11 13:11:04,960 - 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=3.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.635 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 = 0.635/2.153/3.671/1.518 ms') 2026-02-11 13:11:04,960 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79680857-91661688 passed 2026-02-11 13:11:05,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 13:11:05,115 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79680857-91661688, IP 57.55.46.3, Port 22 2026-02-11 13:11:05,281 - DEBUG - VM ctest-TestRoutersBasic-79680857-91661688 is ready for SSH connections 2026-02-11 13:11:05,281 - INFO - Waiting for VM ctest-TestRoutersBasic-79680857-34203739 to be up.. 2026-02-11 13:11:05,362 - DEBUG - VM is in ACTIVE state now 2026-02-11 13:11:05,362 - INFO - VM name : ctest-TestRoutersBasic-79680857-34203739 2026-02-11 13:11:05,442 - DEBUG - VM ctest-TestRoutersBasic-79680857-34203739 ID is 397fd94e-6bbd-486c-9ab4-3be2c2e5b975 2026-02-11 13:11:05,442 - DEBUG - VM ctest-TestRoutersBasic-79680857-34203739 launched on Node cn-jenkins-deploy-platform-ansible-os-5291-1 2026-02-11 13:11:05,519 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/397fd94e-6bbd-486c-9ab4-3be2c2e5b975 2026-02-11 13:11:05,527 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/44dbcd39-8ad7-4cc3-8ebc-61952c661753 2026-02-11 13:11:06,765 - 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=3.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.371 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.371/1.806/3.241/1.435 ms') 2026-02-11 13:11:06,765 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79680857-34203739 passed 2026-02-11 13:11:06,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 13:11:06,923 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79680857-34203739, IP 66.2.233.195, Port 22 2026-02-11 13:11:07,079 - DEBUG - VM ctest-TestRoutersBasic-79680857-34203739 is ready for SSH connections 2026-02-11 13:11:07,079 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 13:11:07,079 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.2.233.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-02-11 13:11:07,079 - DEBUG - ping -s 56 -c 3 -W 1 66.2.233.195 2026-02-11 13:11:10,763 - DEBUG - PING 66.2.233.195 (66.2.233.195): 56 data bytes 64 bytes from 66.2.233.195: seq=0 ttl=62 time=5.169 ms 64 bytes from 66.2.233.195: seq=1 ttl=62 time=0.839 ms 64 bytes from 66.2.233.195: seq=2 ttl=62 time=0.918 ms --- 66.2.233.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.839/2.308/5.169 ms 2026-02-11 13:11:10,763 - INFO - Ping to IP 66.2.233.195 from VM ctest-TestRoutersBasic-79680857-91661688 passed 2026-02-11 13:11:10,763 - INFO - Deleting interface with subnet_id 0daa855e-d052-43bb-9b8c-418b24d16e77, port_id None from router b2e27d81-a501-476c-84e7-e80d928a98a4 2026-02-11 13:11:10,941 - INFO - Deleting VM ctest-TestRoutersBasic-79680857-34203739 2026-02-11 13:11:11,006 - INFO - Deleting VM ctest-TestRoutersBasic-79680857-91661688 2026-02-11 13:11:11,082 - INFO - Deleting VN ctest-ext_vn-55758476 2026-02-11 13:11:11,137 - DEBUG - VN 0e564926-210c-4a5f-9a0a-007ec6664d40 still in use: Unable to complete operation on network 0e564926-210c-4a5f-9a0a-007ec6664d40. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a4bb8283-32c1-44fd-8c68-df909d0b8e83'] 2026-02-11 13:11:11,137 - WARNING - Deleting VN ctest-ext_vn-55758476 failed..Will retry 2026-02-11 13:11:13,244 - DEBUG - Response for deleting network () 2026-02-11 13:11:13,244 - INFO - Deleting VN ctest-vn-43432345 2026-02-11 13:11:13,345 - DEBUG - Response for deleting network () 2026-02-11 13:11:13,600 - DEBUG - No XMPP flaps were noticed during the test
2026-02-11 13:11:13,600 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-02-11 13:11:13,600 - INFO - -------------------------------------------------------------------------------- 2026-02-11 13:11:14,277 - INFO - Deleted project: ctest-TestRoutersBasic-79680857, ID : 11578103-d544-43cb-a4be-1be99ded2960