2026-04-03 10:51:54,552 - INFO - Domain Default found not creating 2026-04-03 10:51:54,764 - INFO - Project ctest-TestRoutersBasic-26145101 not found, creating it 2026-04-03 10:51:55,267 - INFO - Created Project:ctest-TestRoutersBasic-26145101, ID : 0ce7a2b7-e3cd-4b91-905d-4e2aadcdd0fb 2026-04-03 10:51:56,942 - INFO - ================================================================================ 2026-04-03 10:51:56,942 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-03 10:51:56,942 - 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-03 10:51:57,240 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-04-03 10:51:57,240 - INFO - Initial checks done. Running the testcase now 2026-04-03 10:51:57,240 - INFO - 2026-04-03 10:51:58,040 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-26145101 2026-04-03 10:51:58,139 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-26145101 2026-04-03 10:51:58,479 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26145101', 'default']} 2026-04-03 10:51:58,825 - DEBUG - Response for create_network : {'network': {'id': '67fb2229-af52-470a-9b1c-ac1efdc6842c', 'name': 'ctest-vn-88009311', 'tenant_id': '0ce7a2b7e3cd4b91905d4e2aadcdd0fb', 'project_id': '0ce7a2b7e3cd4b91905d4e2aadcdd0fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26145101', 'ctest-vn-88009311'], 'port_security_enabled': True, 'description': ''}} 2026-04-03 10:51:59,052 - DEBUG - Response for create_subnet : {'subnet': {'id': '04799c54-a9c5-4b31-ad1b-efe3208cdb1c', 'name': '', 'tenant_id': '0ce7a2b7e3cd4b91905d4e2aadcdd0fb', 'network_id': '67fb2229-af52-470a-9b1c-ac1efdc6842c', 'ip_version': 4, 'cidr': '4.107.42.0/26', 'allocation_pools': [{'start': '4.107.42.2', 'end': '4.107.42.62'}], 'gateway_ip': '4.107.42.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.107.42.2', 'tags': [], 'project_id': '0ce7a2b7e3cd4b91905d4e2aadcdd0fb'}} 2026-04-03 10:51:59,076 - INFO - Created VN ctest-vn-88009311 2026-04-03 10:51:59,139 - DEBUG - VN ctest-vn-88009311 UUID is 67fb2229-af52-470a-9b1c-ac1efdc6842c 2026-04-03 10:51:59,530 - DEBUG - Response for create_network : {'network': {'id': '5bced17d-1683-4b85-9e26-14030b9e12b5', 'name': 'ctest-ext_vn-15586754', 'tenant_id': '0ce7a2b7e3cd4b91905d4e2aadcdd0fb', 'project_id': '0ce7a2b7e3cd4b91905d4e2aadcdd0fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26145101', 'ctest-ext_vn-15586754'], 'port_security_enabled': True, 'description': ''}} 2026-04-03 10:51:59,712 - DEBUG - Response for create_subnet : {'subnet': {'id': '04422973-d087-4137-94a1-46c109b2f049', 'name': '', 'tenant_id': '0ce7a2b7e3cd4b91905d4e2aadcdd0fb', 'network_id': '5bced17d-1683-4b85-9e26-14030b9e12b5', 'ip_version': 4, 'cidr': '47.123.248.64/26', 'allocation_pools': [{'start': '47.123.248.66', 'end': '47.123.248.126'}], 'gateway_ip': '47.123.248.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.123.248.66', 'tags': [], 'project_id': '0ce7a2b7e3cd4b91905d4e2aadcdd0fb'}} 2026-04-03 10:51:59,731 - INFO - Created VN ctest-ext_vn-15586754 2026-04-03 10:51:59,787 - DEBUG - VN ctest-ext_vn-15586754 UUID is 5bced17d-1683-4b85-9e26-14030b9e12b5 2026-04-03 10:51:59,979 - DEBUG - Services list from nova: [, , ] 2026-04-03 10:52:01,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5587-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5587-1) 2026-04-03 10:52:02,391 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5587-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5587-1) 2026-04-03 10:52:02,488 - INFO - Setting gateway for router 615d2ae9-a589-4b03-a30e-16674b9bfa4b to network 5bced17d-1683-4b85-9e26-14030b9e12b5 2026-04-03 10:52:02,602 - INFO - Adding interface with subnet_id 04799c54-a9c5-4b31-ad1b-efe3208cdb1c, port_id None to router 615d2ae9-a589-4b03-a30e-16674b9bfa4b 2026-04-03 10:52:03,059 - INFO - Waiting for VM ctest-TestRoutersBasic-26145101-98227774 to be up.. 2026-04-03 10:52:03,223 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-03 10:52:08,319 - DEBUG - VM is in ACTIVE state now 2026-04-03 10:52:08,319 - INFO - VM name : ctest-TestRoutersBasic-26145101-98227774 2026-04-03 10:52:08,423 - DEBUG - VM ctest-TestRoutersBasic-26145101-98227774 ID is 77a12883-ae04-420d-9c24-aa251692d565 2026-04-03 10:52:08,450 - DEBUG - VM ctest-TestRoutersBasic-26145101-98227774 launched on Node cn-jenkins-deploy-platform-ansible-os-5587-1 2026-04-03 10:52:08,544 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/77a12883-ae04-420d-9c24-aa251692d565 2026-04-03 10:52:08,859 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/77a12883-ae04-420d-9c24-aa251692d565 2026-04-03 10:52:08,909 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7cd0510f-562b-48b6-8778-51eb685a8773 2026-04-03 10:52:12,185 - 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') 2026-04-03 10:52:12,185 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26145101-98227774 failed! 2026-04-03 10:52:12,243 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-26145101:ctest-vn-88009311 is 4.107.42.1 and allocation pool is NOT set 2026-04-03 10:52:14,309 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.470 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.470/2.884/5.298/2.414 ms') 2026-04-03 10:52:14,309 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26145101-98227774 passed 2026-04-03 10:52:14,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 10:52:14,468 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26145101-98227774, IP 4.107.42.3, Port 22 2026-04-03 10:52:14,631 - DEBUG - VM ctest-TestRoutersBasic-26145101-98227774 is ready for SSH connections 2026-04-03 10:52:14,631 - INFO - Waiting for VM ctest-TestRoutersBasic-26145101-21929349 to be up.. 2026-04-03 10:52:14,725 - DEBUG - VM is in ACTIVE state now 2026-04-03 10:52:14,725 - INFO - VM name : ctest-TestRoutersBasic-26145101-21929349 2026-04-03 10:52:14,825 - DEBUG - VM ctest-TestRoutersBasic-26145101-21929349 ID is c360588a-e433-4506-832f-db90de9baa8e 2026-04-03 10:52:14,825 - DEBUG - VM ctest-TestRoutersBasic-26145101-21929349 launched on Node cn-jenkins-deploy-platform-ansible-os-5587-1 2026-04-03 10:52:14,924 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c360588a-e433-4506-832f-db90de9baa8e 2026-04-03 10:52:14,935 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8234fdf4-17e5-4f90-bc74-2435b982a9e7 2026-04-03 10:52:16,182 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.896 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 = 0.896/2.298/3.700/1.402 ms') 2026-04-03 10:52:16,182 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-26145101-21929349 passed 2026-04-03 10:52:16,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 10:52:16,335 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26145101-21929349, IP 47.123.248.67, Port 22 2026-04-03 10:52:16,514 - DEBUG - VM ctest-TestRoutersBasic-26145101-21929349 is ready for SSH connections 2026-04-03 10:52:16,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 10:52:16,514 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.123.248.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-04-03 10:52:16,514 - DEBUG - ping -s 56 -c 3 -W 1 47.123.248.67 2026-04-03 10:52:20,239 - DEBUG - PING 47.123.248.67 (47.123.248.67): 56 data bytes 64 bytes from 47.123.248.67: seq=0 ttl=62 time=5.429 ms 64 bytes from 47.123.248.67: seq=1 ttl=62 time=0.964 ms 64 bytes from 47.123.248.67: seq=2 ttl=62 time=1.324 ms --- 47.123.248.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.964/2.572/5.429 ms 2026-04-03 10:52:20,239 - INFO - Ping to IP 47.123.248.67 from VM ctest-TestRoutersBasic-26145101-98227774 passed 2026-04-03 10:52:20,239 - INFO - Deleting interface with subnet_id 04799c54-a9c5-4b31-ad1b-efe3208cdb1c, port_id None from router 615d2ae9-a589-4b03-a30e-16674b9bfa4b 2026-04-03 10:52:20,478 - INFO - Deleting VM ctest-TestRoutersBasic-26145101-21929349 2026-04-03 10:52:20,594 - INFO - Deleting VM ctest-TestRoutersBasic-26145101-98227774 2026-04-03 10:52:20,694 - INFO - Deleting VN ctest-ext_vn-15586754 2026-04-03 10:52:20,905 - DEBUG - VN 5bced17d-1683-4b85-9e26-14030b9e12b5 still in use: Unable to complete operation on network 5bced17d-1683-4b85-9e26-14030b9e12b5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8b8c0ef5-3d55-4532-8d0c-f95bd8c05006'] 2026-04-03 10:52:20,905 - WARNING - Deleting VN ctest-ext_vn-15586754 failed..Will retry 2026-04-03 10:52:23,017 - DEBUG - Response for deleting network () 2026-04-03 10:52:23,018 - INFO - Deleting VN ctest-vn-88009311 2026-04-03 10:52:23,138 - DEBUG - Response for deleting network () 2026-04-03 10:52:23,398 - DEBUG - No XMPP flaps were noticed during the test 2026-04-03 10:52:23,398 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2026-04-03 10:52:23,398 - INFO - -------------------------------------------------------------------------------- 2026-04-03 10:52:24,181 - INFO - Deleted project: ctest-TestRoutersBasic-26145101, ID : 0ce7a2b7-e3cd-4b91-905d-4e2aadcdd0fb