2026-01-19 02:19:35,139 - INFO - Domain Default found not creating 2026-01-19 02:19:35,290 - INFO - Project ctest-TestRoutersBasic-51073605 not found, creating it 2026-01-19 02:19:35,867 - INFO - Created Project:ctest-TestRoutersBasic-51073605, ID : d54b7431-3c64-40d9-8cc6-9d1eeb59e740 2026-01-19 02:19:37,433 - INFO - ================================================================================ 2026-01-19 02:19:37,434 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-19 02:19:37,434 - 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-19 02:19:38,706 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.25': '0', '10.20.0.193': '0'}, '10.0.0.65': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2026-01-19 02:19:38,706 - INFO - Initial checks done. Running the testcase now 2026-01-19 02:19:38,706 - INFO - 2026-01-19 02:19:39,432 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51073605 2026-01-19 02:19:39,491 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51073605 2026-01-19 02:19:39,791 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51073605', 'default']} 2026-01-19 02:19:40,174 - DEBUG - Response for create_network : {'network': {'id': '239628bb-d1ff-4f18-994a-5fc51d73100d', 'name': 'ctest-vn-02003956', 'tenant_id': 'd54b74313c6440d98cc69d1eeb59e740', 'project_id': 'd54b74313c6440d98cc69d1eeb59e740', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51073605', 'ctest-vn-02003956'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 02:19:40,483 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a921c36b-4e57-471a-bb41-1871ac1f81f2', 'name': '', 'tenant_id': 'd54b74313c6440d98cc69d1eeb59e740', 'network_id': '239628bb-d1ff-4f18-994a-5fc51d73100d', 'ip_version': 4, 'cidr': '121.164.242.0/26', 'allocation_pools': [{'start': '121.164.242.2', 'end': '121.164.242.62'}], 'gateway_ip': '121.164.242.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.164.242.2', 'tags': [], 'project_id': 'd54b74313c6440d98cc69d1eeb59e740'}} 2026-01-19 02:19:40,504 - INFO - Created VN ctest-vn-02003956 2026-01-19 02:19:40,515 - DEBUG - VN ctest-vn-02003956 UUID is 239628bb-d1ff-4f18-994a-5fc51d73100d 2026-01-19 02:19:40,929 - DEBUG - Response for create_network : {'network': {'id': '771c8f56-3820-43d5-b883-3396008266af', 'name': 'ctest-ext_vn-73269219', 'tenant_id': 'd54b74313c6440d98cc69d1eeb59e740', 'project_id': 'd54b74313c6440d98cc69d1eeb59e740', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51073605', 'ctest-ext_vn-73269219'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 02:19:41,152 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c60ed928-84a0-49f4-a770-8f677da3ce1c', 'name': '', 'tenant_id': 'd54b74313c6440d98cc69d1eeb59e740', 'network_id': '771c8f56-3820-43d5-b883-3396008266af', 'ip_version': 4, 'cidr': '168.114.115.192/26', 'allocation_pools': [{'start': '168.114.115.194', 'end': '168.114.115.254'}], 'gateway_ip': '168.114.115.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.114.115.194', 'tags': [], 'project_id': 'd54b74313c6440d98cc69d1eeb59e740'}} 2026-01-19 02:19:41,174 - INFO - Created VN ctest-ext_vn-73269219 2026-01-19 02:19:41,189 - DEBUG - VN ctest-ext_vn-73269219 UUID is 771c8f56-3820-43d5-b883-3396008266af 2026-01-19 02:19:41,361 - DEBUG - Services list from nova: [, , , ] 2026-01-19 02:19:42,489 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5040-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5040-1) 2026-01-19 02:19:43,758 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5040-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5040-2) 2026-01-19 02:19:43,864 - INFO - Setting gateway for router e60f4595-3984-4b56-a215-f4ac7902dd04 to network 771c8f56-3820-43d5-b883-3396008266af 2026-01-19 02:19:43,950 - INFO - Adding interface with subnet_id a921c36b-4e57-471a-bb41-1871ac1f81f2, port_id None to router e60f4595-3984-4b56-a215-f4ac7902dd04 2026-01-19 02:19:44,509 - INFO - Waiting for VM ctest-TestRoutersBasic-51073605-73390326 to be up.. 2026-01-19 02:19:44,649 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-19 02:19:49,728 - DEBUG - VM is in ACTIVE state now 2026-01-19 02:19:49,728 - INFO - VM name : ctest-TestRoutersBasic-51073605-73390326 2026-01-19 02:19:49,811 - DEBUG - VM ctest-TestRoutersBasic-51073605-73390326 ID is 2feb8368-5c5e-4d1b-a778-cc3bb4dac7e1 2026-01-19 02:19:49,836 - DEBUG - VM ctest-TestRoutersBasic-51073605-73390326 launched on Node an-jenkins-deploy-platform-ansible-os-5040-1 2026-01-19 02:19:49,918 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/2feb8368-5c5e-4d1b-a778-cc3bb4dac7e1 2026-01-19 02:19:50,222 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/2feb8368-5c5e-4d1b-a778-cc3bb4dac7e1 2026-01-19 02:19:50,265 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/7afe7012-763c-4908-8670-a7a728b86f6c 2026-01-19 02:19:53,450 - 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 1023ms') 2026-01-19 02:19:53,450 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51073605-73390326 failed! 2026-01-19 02:19:53,466 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51073605:ctest-vn-02003956 is 121.164.242.1 and allocation pool is NOT set 2026-01-19 02:19:55,527 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.488 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.488/2.027/3.566/1.539 ms') 2026-01-19 02:19:55,527 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51073605-73390326 passed 2026-01-19 02:19:55,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 02:19:55,600 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51073605-73390326, IP 121.164.242.3, Port 22 2026-01-19 02:19:55,755 - DEBUG - VM ctest-TestRoutersBasic-51073605-73390326 is ready for SSH connections 2026-01-19 02:19:55,756 - INFO - Waiting for VM ctest-TestRoutersBasic-51073605-53447828 to be up.. 2026-01-19 02:19:55,834 - DEBUG - VM is in ACTIVE state now 2026-01-19 02:19:55,834 - INFO - VM name : ctest-TestRoutersBasic-51073605-53447828 2026-01-19 02:19:55,910 - DEBUG - VM ctest-TestRoutersBasic-51073605-53447828 ID is 12caa9a4-7f77-4582-9fbf-43b50924c685 2026-01-19 02:19:55,910 - DEBUG - VM ctest-TestRoutersBasic-51073605-53447828 launched on Node an-jenkins-deploy-platform-ansible-os-5040-2 2026-01-19 02:19:55,986 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/12caa9a4-7f77-4582-9fbf-43b50924c685 2026-01-19 02:19:55,997 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/dc41a40f-96ec-4966-8721-0bb7bc89a3d4 2026-01-19 02:19:57,160 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.479 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.479/1.730/2.982/1.251 ms') 2026-01-19 02:19:57,160 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51073605-53447828 passed 2026-01-19 02:19:57,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 02:19:57,236 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51073605-53447828, IP 168.114.115.195, Port 22 2026-01-19 02:19:57,393 - DEBUG - VM ctest-TestRoutersBasic-51073605-53447828 is ready for SSH connections 2026-01-19 02:19:57,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 02:19:57,394 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.114.115.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-19 02:19:57,394 - DEBUG - ping -s 56 -c 3 -W 1 168.114.115.195 2026-01-19 02:20:01,079 - DEBUG - PING 168.114.115.195 (168.114.115.195): 56 data bytes 64 bytes from 168.114.115.195: seq=0 ttl=62 time=7.932 ms 64 bytes from 168.114.115.195: seq=1 ttl=62 time=1.332 ms 64 bytes from 168.114.115.195: seq=2 ttl=62 time=1.589 ms --- 168.114.115.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.332/3.617/7.932 ms 2026-01-19 02:20:01,079 - INFO - Ping to IP 168.114.115.195 from VM ctest-TestRoutersBasic-51073605-73390326 passed 2026-01-19 02:20:01,080 - INFO - Deleting interface with subnet_id a921c36b-4e57-471a-bb41-1871ac1f81f2, port_id None from router e60f4595-3984-4b56-a215-f4ac7902dd04 2026-01-19 02:20:01,460 - INFO - Deleting VM ctest-TestRoutersBasic-51073605-53447828 2026-01-19 02:20:01,542 - INFO - Deleting VM ctest-TestRoutersBasic-51073605-73390326 2026-01-19 02:20:01,621 - INFO - Deleting VN ctest-ext_vn-73269219 2026-01-19 02:20:01,745 - DEBUG - VN 771c8f56-3820-43d5-b883-3396008266af still in use: Unable to complete operation on network 771c8f56-3820-43d5-b883-3396008266af. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e8de2728-b4f6-44f9-9c9d-103e15073546'] 2026-01-19 02:20:01,745 - WARNING - Deleting VN ctest-ext_vn-73269219 failed..Will retry 2026-01-19 02:20:03,937 - DEBUG - Response for deleting network () 2026-01-19 02:20:03,937 - INFO - Deleting VN ctest-vn-02003956 2026-01-19 02:20:04,115 - DEBUG - Response for deleting network () 2026-01-19 02:20:05,390 - DEBUG - No XMPP flaps were noticed during the test
2026-01-19 02:20:05,390 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2026-01-19 02:20:05,391 - INFO - -------------------------------------------------------------------------------- 2026-01-19 02:20:06,165 - INFO - Deleted project: ctest-TestRoutersBasic-51073605, ID : d54b7431-3c64-40d9-8cc6-9d1eeb59e740