2026-04-24 15:37:42,718 - INFO - Domain Default found not creating 2026-04-24 15:37:42,911 - INFO - Project ctest-TestRoutersBasic-15199968 not found, creating it 2026-04-24 15:37:43,423 - INFO - Created Project:ctest-TestRoutersBasic-15199968, ID : 3c02fcf6-4e85-419e-9803-560567a67fab 2026-04-24 15:37:45,135 - INFO - ================================================================================ 2026-04-24 15:37:45,135 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-24 15:37:45,135 - 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-04-24 15:37:45,404 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-04-24 15:37:45,404 - INFO - Initial checks done. Running the testcase now 2026-04-24 15:37:45,404 - INFO - 2026-04-24 15:37:46,196 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-15199968 2026-04-24 15:37:46,295 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-15199968 2026-04-24 15:37:46,631 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15199968', 'default']} 2026-04-24 15:37:46,956 - DEBUG - Response for create_network : {'network': {'id': '8249cdfa-d95d-4d95-9e52-731c83fbb8c4', 'name': 'ctest-vn-03797822', 'tenant_id': '3c02fcf64e85419e9803560567a67fab', 'project_id': '3c02fcf64e85419e9803560567a67fab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15199968', 'ctest-vn-03797822'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 15:37:47,188 - DEBUG - Response for create_subnet : {'subnet': {'id': '44b38167-49d6-44b7-a93f-1ef44bab86d5', 'name': '', 'tenant_id': '3c02fcf64e85419e9803560567a67fab', 'network_id': '8249cdfa-d95d-4d95-9e52-731c83fbb8c4', 'ip_version': 4, 'cidr': '73.9.244.64/26', 'allocation_pools': [{'start': '73.9.244.66', 'end': '73.9.244.126'}], 'gateway_ip': '73.9.244.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.9.244.66', 'tags': [], 'project_id': '3c02fcf64e85419e9803560567a67fab'}} 2026-04-24 15:37:47,214 - INFO - Created VN ctest-vn-03797822 2026-04-24 15:37:47,268 - DEBUG - VN ctest-vn-03797822 UUID is 8249cdfa-d95d-4d95-9e52-731c83fbb8c4 2026-04-24 15:37:47,657 - DEBUG - Response for create_network : {'network': {'id': '9d4d8345-8be2-404e-9e33-5d8285f86172', 'name': 'ctest-ext_vn-47875280', 'tenant_id': '3c02fcf64e85419e9803560567a67fab', 'project_id': '3c02fcf64e85419e9803560567a67fab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15199968', 'ctest-ext_vn-47875280'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 15:37:47,839 - DEBUG - Response for create_subnet : {'subnet': {'id': '0975014e-2912-45d1-9083-1990ace980d5', 'name': '', 'tenant_id': '3c02fcf64e85419e9803560567a67fab', 'network_id': '9d4d8345-8be2-404e-9e33-5d8285f86172', 'ip_version': 4, 'cidr': '170.74.94.128/26', 'allocation_pools': [{'start': '170.74.94.130', 'end': '170.74.94.190'}], 'gateway_ip': '170.74.94.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.74.94.130', 'tags': [], 'project_id': '3c02fcf64e85419e9803560567a67fab'}} 2026-04-24 15:37:47,862 - INFO - Created VN ctest-ext_vn-47875280 2026-04-24 15:37:47,919 - DEBUG - VN ctest-ext_vn-47875280 UUID is 9d4d8345-8be2-404e-9e33-5d8285f86172 2026-04-24 15:37:48,125 - DEBUG - Services list from nova: [, , ] 2026-04-24 15:37:49,237 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5682-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5682-1) 2026-04-24 15:37:50,540 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5682-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5682-1) 2026-04-24 15:37:50,642 - INFO - Setting gateway for router 70bffec0-9abf-4305-8331-4a7a2e2ffcbc to network 9d4d8345-8be2-404e-9e33-5d8285f86172 2026-04-24 15:37:50,721 - INFO - Adding interface with subnet_id 44b38167-49d6-44b7-a93f-1ef44bab86d5, port_id None to router 70bffec0-9abf-4305-8331-4a7a2e2ffcbc 2026-04-24 15:37:51,193 - INFO - Waiting for VM ctest-TestRoutersBasic-15199968-08730385 to be up.. 2026-04-24 15:37:51,433 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-24 15:37:56,555 - DEBUG - VM is in ACTIVE state now 2026-04-24 15:37:56,555 - INFO - VM name : ctest-TestRoutersBasic-15199968-08730385 2026-04-24 15:37:56,648 - DEBUG - VM ctest-TestRoutersBasic-15199968-08730385 ID is 352e5c22-5dff-41ff-92c2-934cae01b7df 2026-04-24 15:37:56,673 - DEBUG - VM ctest-TestRoutersBasic-15199968-08730385 launched on Node cn-jenkins-deploy-platform-ansible-os-5682-1 2026-04-24 15:37:56,783 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/352e5c22-5dff-41ff-92c2-934cae01b7df 2026-04-24 15:37:57,085 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/352e5c22-5dff-41ff-92c2-934cae01b7df 2026-04-24 15:37:57,127 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d35f674f-b3c9-4d18-a976-e7ce7bde4240 2026-04-24 15:38:00,405 - 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 1025ms') 2026-04-24 15:38:00,405 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15199968-08730385 failed! 2026-04-24 15:38:00,463 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-15199968:ctest-vn-03797822 is 73.9.244.65 and allocation pool is NOT set 2026-04-24 15:38:02,531 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.371 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.371/2.838/5.305/2.467 ms') 2026-04-24 15:38:02,531 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15199968-08730385 passed 2026-04-24 15:38:02,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 15:38:02,688 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15199968-08730385, IP 73.9.244.67, Port 22 2026-04-24 15:38:02,866 - DEBUG - VM ctest-TestRoutersBasic-15199968-08730385 is ready for SSH connections 2026-04-24 15:38:02,866 - INFO - Waiting for VM ctest-TestRoutersBasic-15199968-64499122 to be up.. 2026-04-24 15:38:02,973 - DEBUG - VM is in ACTIVE state now 2026-04-24 15:38:02,973 - INFO - VM name : ctest-TestRoutersBasic-15199968-64499122 2026-04-24 15:38:03,069 - DEBUG - VM ctest-TestRoutersBasic-15199968-64499122 ID is b09687ab-0171-42ca-b3d8-3ca10d51c305 2026-04-24 15:38:03,070 - DEBUG - VM ctest-TestRoutersBasic-15199968-64499122 launched on Node cn-jenkins-deploy-platform-ansible-os-5682-1 2026-04-24 15:38:03,171 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b09687ab-0171-42ca-b3d8-3ca10d51c305 2026-04-24 15:38:03,182 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/69f39231-06ff-4595-ab3e-8814c5b8422a 2026-04-24 15:38:04,439 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.510 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.510/2.336/4.163/1.826 ms') 2026-04-24 15:38:04,439 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-15199968-64499122 passed 2026-04-24 15:38:04,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 15:38:04,591 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15199968-64499122, IP 170.74.94.131, Port 22 2026-04-24 15:38:04,762 - DEBUG - VM ctest-TestRoutersBasic-15199968-64499122 is ready for SSH connections 2026-04-24 15:38:04,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 15:38:04,762 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.74.94.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-24 15:38:04,762 - DEBUG - ping -s 56 -c 3 -W 1 170.74.94.131 2026-04-24 15:38:08,528 - DEBUG - PING 170.74.94.131 (170.74.94.131): 56 data bytes 64 bytes from 170.74.94.131: seq=0 ttl=62 time=8.574 ms 64 bytes from 170.74.94.131: seq=1 ttl=62 time=1.236 ms 64 bytes from 170.74.94.131: seq=2 ttl=62 time=1.237 ms --- 170.74.94.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.236/3.682/8.574 ms 2026-04-24 15:38:08,528 - INFO - Ping to IP 170.74.94.131 from VM ctest-TestRoutersBasic-15199968-08730385 passed 2026-04-24 15:38:08,528 - INFO - Deleting interface with subnet_id 44b38167-49d6-44b7-a93f-1ef44bab86d5, port_id None from router 70bffec0-9abf-4305-8331-4a7a2e2ffcbc 2026-04-24 15:38:08,761 - INFO - Deleting VM ctest-TestRoutersBasic-15199968-64499122 2026-04-24 15:38:08,862 - INFO - Deleting VM ctest-TestRoutersBasic-15199968-08730385 2026-04-24 15:38:08,972 - INFO - Deleting VN ctest-ext_vn-47875280 2026-04-24 15:38:09,080 - DEBUG - VN 9d4d8345-8be2-404e-9e33-5d8285f86172 still in use: Unable to complete operation on network 9d4d8345-8be2-404e-9e33-5d8285f86172. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c251ed63-aa9e-4189-aa01-86c247a87afe'] 2026-04-24 15:38:09,080 - WARNING - Deleting VN ctest-ext_vn-47875280 failed..Will retry 2026-04-24 15:38:11,214 - DEBUG - Response for deleting network () 2026-04-24 15:38:11,214 - INFO - Deleting VN ctest-vn-03797822 2026-04-24 15:38:11,345 - DEBUG - Response for deleting network () 2026-04-24 15:38:11,627 - DEBUG - No XMPP flaps were noticed during the test
2026-04-24 15:38:11,627 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-04-24 15:38:11,627 - INFO - -------------------------------------------------------------------------------- 2026-04-24 15:38:12,404 - INFO - Deleted project: ctest-TestRoutersBasic-15199968, ID : 3c02fcf6-4e85-419e-9803-560567a67fab