2026-02-09 10:12:14,277 - INFO - Domain Default found not creating 2026-02-09 10:12:14,420 - INFO - Project ctest-TestRoutersBasic-69381778 not found, creating it 2026-02-09 10:12:14,872 - INFO - Created Project:ctest-TestRoutersBasic-69381778, ID : 0fdfb21e-967e-4512-bf25-905d1d9ef034 2026-02-09 10:12:16,279 - INFO - ================================================================================ 2026-02-09 10:12:16,279 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-09 10:12:16,279 - 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-09 10:12:16,533 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2026-02-09 10:12:16,533 - INFO - Initial checks done. Running the testcase now 2026-02-09 10:12:16,533 - INFO - 2026-02-09 10:12:17,227 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-69381778 2026-02-09 10:12:17,320 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-69381778 2026-02-09 10:12:17,640 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69381778', 'default']} 2026-02-09 10:12:18,182 - DEBUG - Response for create_network : {'network': {'id': '1a99319f-d1ca-4cc0-b1c0-adf49521a160', 'name': 'ctest-vn-30899983', 'tenant_id': '0fdfb21e967e4512bf25905d1d9ef034', 'project_id': '0fdfb21e967e4512bf25905d1d9ef034', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69381778', 'ctest-vn-30899983'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 10:12:18,333 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f19e99e1-bac9-4a0e-9106-65173c9919ea', 'name': '', 'tenant_id': '0fdfb21e967e4512bf25905d1d9ef034', 'network_id': '1a99319f-d1ca-4cc0-b1c0-adf49521a160', 'ip_version': 4, 'cidr': '122.191.24.128/26', 'allocation_pools': [{'start': '122.191.24.130', 'end': '122.191.24.190'}], 'gateway_ip': '122.191.24.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.191.24.130', 'tags': [], 'project_id': '0fdfb21e967e4512bf25905d1d9ef034'}} 2026-02-09 10:12:18,350 - INFO - Created VN ctest-vn-30899983 2026-02-09 10:12:18,400 - DEBUG - VN ctest-vn-30899983 UUID is 1a99319f-d1ca-4cc0-b1c0-adf49521a160 2026-02-09 10:12:18,725 - DEBUG - Response for create_network : {'network': {'id': 'a45f6287-8c97-4979-96c1-e3f6311ccb06', 'name': 'ctest-ext_vn-66842062', 'tenant_id': '0fdfb21e967e4512bf25905d1d9ef034', 'project_id': '0fdfb21e967e4512bf25905d1d9ef034', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69381778', 'ctest-ext_vn-66842062'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 10:12:18,879 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aad76c7f-56af-4e04-97a8-b62d85cfa909', 'name': '', 'tenant_id': '0fdfb21e967e4512bf25905d1d9ef034', 'network_id': 'a45f6287-8c97-4979-96c1-e3f6311ccb06', 'ip_version': 4, 'cidr': '113.248.27.64/26', 'allocation_pools': [{'start': '113.248.27.66', 'end': '113.248.27.126'}], 'gateway_ip': '113.248.27.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.248.27.66', 'tags': [], 'project_id': '0fdfb21e967e4512bf25905d1d9ef034'}} 2026-02-09 10:12:18,894 - INFO - Created VN ctest-ext_vn-66842062 2026-02-09 10:12:18,944 - DEBUG - VN ctest-ext_vn-66842062 UUID is a45f6287-8c97-4979-96c1-e3f6311ccb06 2026-02-09 10:12:19,140 - DEBUG - Services list from nova: [, , ] 2026-02-09 10:12:20,149 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5242-1) 2026-02-09 10:12:21,221 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5242-1) 2026-02-09 10:12:21,283 - INFO - Setting gateway for router d17a805d-4f22-4610-9d71-63e7b2c40472 to network a45f6287-8c97-4979-96c1-e3f6311ccb06 2026-02-09 10:12:21,343 - INFO - Adding interface with subnet_id f19e99e1-bac9-4a0e-9106-65173c9919ea, port_id None to router d17a805d-4f22-4610-9d71-63e7b2c40472 2026-02-09 10:12:21,707 - INFO - Waiting for VM ctest-TestRoutersBasic-69381778-46425286 to be up.. 2026-02-09 10:12:21,905 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 10:12:26,980 - DEBUG - VM is in ACTIVE state now 2026-02-09 10:12:26,980 - INFO - VM name : ctest-TestRoutersBasic-69381778-46425286 2026-02-09 10:12:27,049 - DEBUG - VM ctest-TestRoutersBasic-69381778-46425286 ID is 19071a2f-efb2-46d1-ae48-92932b2c0c87 2026-02-09 10:12:27,066 - DEBUG - VM ctest-TestRoutersBasic-69381778-46425286 launched on Node cn-jenkins-deploy-platform-ansible-os-5242-1 2026-02-09 10:12:27,136 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/19071a2f-efb2-46d1-ae48-92932b2c0c87 2026-02-09 10:12:27,432 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/19071a2f-efb2-46d1-ae48-92932b2c0c87 2026-02-09 10:12:27,467 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/21d7d055-ac24-450b-aaec-6cb9222635a9 2026-02-09 10:12:30,722 - 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 1028ms') 2026-02-09 10:12:30,722 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69381778-46425286 failed! 2026-02-09 10:12:30,776 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69381778:ctest-vn-30899983 is 122.191.24.129 and allocation pool is NOT set 2026-02-09 10:12:32,839 - 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=2.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.346 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.346/1.513/2.680/1.167 ms') 2026-02-09 10:12:32,839 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69381778-46425286 passed 2026-02-09 10:12:32,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 10:12:32,984 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69381778-46425286, IP 122.191.24.131, Port 22 2026-02-09 10:12:33,136 - DEBUG - VM ctest-TestRoutersBasic-69381778-46425286 is ready for SSH connections 2026-02-09 10:12:33,136 - INFO - Waiting for VM ctest-TestRoutersBasic-69381778-29345617 to be up.. 2026-02-09 10:12:33,203 - DEBUG - VM is in ACTIVE state now 2026-02-09 10:12:33,203 - INFO - VM name : ctest-TestRoutersBasic-69381778-29345617 2026-02-09 10:12:33,268 - DEBUG - VM ctest-TestRoutersBasic-69381778-29345617 ID is efee8604-12fc-45c6-a191-c8f798219e4d 2026-02-09 10:12:33,268 - DEBUG - VM ctest-TestRoutersBasic-69381778-29345617 launched on Node cn-jenkins-deploy-platform-ansible-os-5242-1 2026-02-09 10:12:33,333 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/efee8604-12fc-45c6-a191-c8f798219e4d 2026-02-09 10:12:33,340 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/fe57ec33-ae57-4aea-ba16-e677ac91091e 2026-02-09 10:12:34,573 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.07 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.072/2.971/3.870/0.899 ms') 2026-02-09 10:12:34,573 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-69381778-29345617 passed 2026-02-09 10:12:34,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 10:12:34,720 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69381778-29345617, IP 113.248.27.67, Port 22 2026-02-09 10:12:34,872 - DEBUG - VM ctest-TestRoutersBasic-69381778-29345617 is ready for SSH connections 2026-02-09 10:12:34,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 10:12:34,872 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.248.27.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-09 10:12:34,872 - DEBUG - ping -s 56 -c 3 -W 1 113.248.27.67 2026-02-09 10:12:38,919 - DEBUG - PING 113.248.27.67 (113.248.27.67): 56 data bytes 64 bytes from 113.248.27.67: seq=0 ttl=62 time=6.371 ms 64 bytes from 113.248.27.67: seq=1 ttl=62 time=0.889 ms 64 bytes from 113.248.27.67: seq=2 ttl=62 time=0.862 ms --- 113.248.27.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.862/2.707/6.371 ms 2026-02-09 10:12:38,920 - INFO - Ping to IP 113.248.27.67 from VM ctest-TestRoutersBasic-69381778-46425286 passed 2026-02-09 10:12:38,920 - INFO - Deleting interface with subnet_id f19e99e1-bac9-4a0e-9106-65173c9919ea, port_id None from router d17a805d-4f22-4610-9d71-63e7b2c40472 2026-02-09 10:12:39,089 - INFO - Deleting VM ctest-TestRoutersBasic-69381778-29345617 2026-02-09 10:12:39,153 - INFO - Deleting VM ctest-TestRoutersBasic-69381778-46425286 2026-02-09 10:12:39,231 - INFO - Deleting VN ctest-ext_vn-66842062 2026-02-09 10:12:39,289 - DEBUG - VN a45f6287-8c97-4979-96c1-e3f6311ccb06 still in use: Unable to complete operation on network a45f6287-8c97-4979-96c1-e3f6311ccb06. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-90985ef2-a5d4-4495-97c0-89a88b1a4262'] 2026-02-09 10:12:39,289 - WARNING - Deleting VN ctest-ext_vn-66842062 failed..Will retry 2026-02-09 10:12:41,383 - DEBUG - Response for deleting network () 2026-02-09 10:12:41,383 - INFO - Deleting VN ctest-vn-30899983 2026-02-09 10:12:41,470 - DEBUG - Response for deleting network () 2026-02-09 10:12:41,725 - DEBUG - No XMPP flaps were noticed during the test 2026-02-09 10:12:41,725 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-02-09 10:12:41,725 - INFO - -------------------------------------------------------------------------------- 2026-02-09 10:12:42,382 - INFO - Deleted project: ctest-TestRoutersBasic-69381778, ID : 0fdfb21e-967e-4512-bf25-905d1d9ef034