2026-01-22 02:18:08,699 - INFO - Domain Default found not creating 2026-01-22 02:18:08,864 - INFO - Project ctest-TestRoutersBasic-22710106 not found, creating it 2026-01-22 02:18:09,322 - INFO - Created Project:ctest-TestRoutersBasic-22710106, ID : d133afb9-c3dd-4cb0-9274-f2fb293dc732 2026-01-22 02:18:10,891 - INFO - ================================================================================ 2026-01-22 02:18:10,891 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-22 02:18:10,891 - 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-01-22 02:18:11,154 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.242': '0'}} with 2026-01-22 02:18:11,154 - INFO - Initial checks done. Running the testcase now 2026-01-22 02:18:11,154 - INFO - 2026-01-22 02:18:11,902 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-22710106 2026-01-22 02:18:12,002 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-22710106 2026-01-22 02:18:12,329 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22710106', 'default']} 2026-01-22 02:18:12,623 - DEBUG - Response for create_network : {'network': {'id': 'fa5a41a3-5853-4e9a-8940-456a5621ac7a', 'name': 'ctest-vn-08500439', 'tenant_id': 'd133afb9c3dd4cb09274f2fb293dc732', 'project_id': 'd133afb9c3dd4cb09274f2fb293dc732', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22710106', 'ctest-vn-08500439'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 02:18:12,830 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3df3ee5-da9e-4f02-a755-1b25915d17d9', 'name': '', 'tenant_id': 'd133afb9c3dd4cb09274f2fb293dc732', 'network_id': 'fa5a41a3-5853-4e9a-8940-456a5621ac7a', 'ip_version': 4, 'cidr': '203.74.250.192/26', 'allocation_pools': [{'start': '203.74.250.194', 'end': '203.74.250.254'}], 'gateway_ip': '203.74.250.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.74.250.194', 'tags': [], 'project_id': 'd133afb9c3dd4cb09274f2fb293dc732'}} 2026-01-22 02:18:12,848 - INFO - Created VN ctest-vn-08500439 2026-01-22 02:18:12,902 - DEBUG - VN ctest-vn-08500439 UUID is fa5a41a3-5853-4e9a-8940-456a5621ac7a 2026-01-22 02:18:13,232 - DEBUG - Response for create_network : {'network': {'id': '3ad01a9a-0280-4d7b-b70e-96dc806b82e8', 'name': 'ctest-ext_vn-44421202', 'tenant_id': 'd133afb9c3dd4cb09274f2fb293dc732', 'project_id': 'd133afb9c3dd4cb09274f2fb293dc732', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22710106', 'ctest-ext_vn-44421202'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 02:18:13,450 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3a41fb4-cf21-4799-a8c3-442daab29be5', 'name': '', 'tenant_id': 'd133afb9c3dd4cb09274f2fb293dc732', 'network_id': '3ad01a9a-0280-4d7b-b70e-96dc806b82e8', 'ip_version': 4, 'cidr': '125.29.186.0/26', 'allocation_pools': [{'start': '125.29.186.2', 'end': '125.29.186.62'}], 'gateway_ip': '125.29.186.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.29.186.2', 'tags': [], 'project_id': 'd133afb9c3dd4cb09274f2fb293dc732'}} 2026-01-22 02:18:13,467 - INFO - Created VN ctest-ext_vn-44421202 2026-01-22 02:18:13,517 - DEBUG - VN ctest-ext_vn-44421202 UUID is 3ad01a9a-0280-4d7b-b70e-96dc806b82e8 2026-01-22 02:18:13,718 - DEBUG - Services list from nova: [, , ] 2026-01-22 02:18:14,784 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5059-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5059-1) 2026-01-22 02:18:15,925 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5059-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5059-1) 2026-01-22 02:18:15,984 - INFO - Setting gateway for router 5a217114-22d7-4dfb-8a45-c25acf9c012f to network 3ad01a9a-0280-4d7b-b70e-96dc806b82e8 2026-01-22 02:18:16,037 - INFO - Adding interface with subnet_id f3df3ee5-da9e-4f02-a755-1b25915d17d9, port_id None to router 5a217114-22d7-4dfb-8a45-c25acf9c012f 2026-01-22 02:18:16,400 - INFO - Waiting for VM ctest-TestRoutersBasic-22710106-32280660 to be up.. 2026-01-22 02:18:16,581 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-22 02:18:21,664 - DEBUG - VM is in ACTIVE state now 2026-01-22 02:18:21,664 - INFO - VM name : ctest-TestRoutersBasic-22710106-32280660 2026-01-22 02:18:21,738 - DEBUG - VM ctest-TestRoutersBasic-22710106-32280660 ID is 6f4915d9-2834-45ca-8738-49cb7060aa5b 2026-01-22 02:18:21,759 - DEBUG - VM ctest-TestRoutersBasic-22710106-32280660 launched on Node cn-jenkins-deploy-platform-ansible-os-5059-1 2026-01-22 02:18:21,847 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/6f4915d9-2834-45ca-8738-49cb7060aa5b 2026-01-22 02:18:22,155 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/6f4915d9-2834-45ca-8738-49cb7060aa5b 2026-01-22 02:18:22,188 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/ba3b0c9c-38ee-446f-9c53-c591fa0b8e4a 2026-01-22 02:18:25,431 - 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 1003ms') 2026-01-22 02:18:25,431 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22710106-32280660 failed! 2026-01-22 02:18:25,485 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-22710106:ctest-vn-08500439 is 203.74.250.193 and allocation pool is NOT set 2026-01-22 02:18:27,554 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.36 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 = 1.361/2.425/3.489/1.064 ms') 2026-01-22 02:18:27,554 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22710106-32280660 passed 2026-01-22 02:18:27,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:18:27,706 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22710106-32280660, IP 203.74.250.195, Port 22 2026-01-22 02:18:27,861 - DEBUG - VM ctest-TestRoutersBasic-22710106-32280660 is ready for SSH connections 2026-01-22 02:18:27,861 - INFO - Waiting for VM ctest-TestRoutersBasic-22710106-04008910 to be up.. 2026-01-22 02:18:27,941 - DEBUG - VM is in ACTIVE state now 2026-01-22 02:18:27,941 - INFO - VM name : ctest-TestRoutersBasic-22710106-04008910 2026-01-22 02:18:28,021 - DEBUG - VM ctest-TestRoutersBasic-22710106-04008910 ID is 0947805d-f6a9-4928-82ce-8d7306a3eff8 2026-01-22 02:18:28,022 - DEBUG - VM ctest-TestRoutersBasic-22710106-04008910 launched on Node cn-jenkins-deploy-platform-ansible-os-5059-1 2026-01-22 02:18:28,100 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/0947805d-f6a9-4928-82ce-8d7306a3eff8 2026-01-22 02:18:28,109 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/778a1851-058f-42e0-81a2-f772f07a10a0 2026-01-22 02:18:29,348 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.375 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.375/1.744/3.113/1.369 ms') 2026-01-22 02:18:29,348 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-22710106-04008910 passed 2026-01-22 02:18:29,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:18:29,498 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22710106-04008910, IP 125.29.186.3, Port 22 2026-01-22 02:18:29,661 - DEBUG - VM ctest-TestRoutersBasic-22710106-04008910 is ready for SSH connections 2026-01-22 02:18:29,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 02:18:29,661 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.29.186.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-01-22 02:18:29,661 - DEBUG - ping -s 56 -c 3 -W 1 125.29.186.3 2026-01-22 02:18:33,363 - DEBUG - PING 125.29.186.3 (125.29.186.3): 56 data bytes 64 bytes from 125.29.186.3: seq=0 ttl=62 time=7.025 ms 64 bytes from 125.29.186.3: seq=1 ttl=62 time=1.053 ms 64 bytes from 125.29.186.3: seq=2 ttl=62 time=1.135 ms --- 125.29.186.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.053/3.071/7.025 ms 2026-01-22 02:18:33,363 - INFO - Ping to IP 125.29.186.3 from VM ctest-TestRoutersBasic-22710106-32280660 passed 2026-01-22 02:18:33,363 - INFO - Deleting interface with subnet_id f3df3ee5-da9e-4f02-a755-1b25915d17d9, port_id None from router 5a217114-22d7-4dfb-8a45-c25acf9c012f 2026-01-22 02:18:33,588 - INFO - Deleting VM ctest-TestRoutersBasic-22710106-04008910 2026-01-22 02:18:33,689 - INFO - Deleting VM ctest-TestRoutersBasic-22710106-32280660 2026-01-22 02:18:33,780 - INFO - Deleting VN ctest-ext_vn-44421202 2026-01-22 02:18:33,856 - DEBUG - VN 3ad01a9a-0280-4d7b-b70e-96dc806b82e8 still in use: Unable to complete operation on network 3ad01a9a-0280-4d7b-b70e-96dc806b82e8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eb12a5dd-1367-432f-84ac-58482c352186'] 2026-01-22 02:18:33,856 - WARNING - Deleting VN ctest-ext_vn-44421202 failed..Will retry 2026-01-22 02:18:35,957 - DEBUG - Response for deleting network () 2026-01-22 02:18:35,957 - INFO - Deleting VN ctest-vn-08500439 2026-01-22 02:18:36,063 - DEBUG - Response for deleting network () 2026-01-22 02:18:36,323 - DEBUG - No XMPP flaps were noticed during the test 2026-01-22 02:18:36,323 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-01-22 02:18:36,323 - INFO - -------------------------------------------------------------------------------- 2026-01-22 02:18:37,052 - INFO - Deleted project: ctest-TestRoutersBasic-22710106, ID : d133afb9-c3dd-4cb0-9274-f2fb293dc732