2026-01-30 13:39:54,954 - INFO - Domain Default found not creating 2026-01-30 13:39:55,142 - INFO - Project ctest-TestRoutersBasic-81209960 not found, creating it 2026-01-30 13:39:55,619 - INFO - Created Project:ctest-TestRoutersBasic-81209960, ID : a478e8b0-8a0b-4d04-a07b-0302fa8d6f46 2026-01-30 13:39:57,151 - INFO - ================================================================================ 2026-01-30 13:39:57,151 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-30 13:39:57,151 - 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-30 13:39:57,406 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-01-30 13:39:57,406 - INFO - Initial checks done. Running the testcase now 2026-01-30 13:39:57,406 - INFO - 2026-01-30 13:39:58,123 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81209960 2026-01-30 13:39:58,217 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81209960 2026-01-30 13:39:58,536 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81209960', 'default']} 2026-01-30 13:39:58,836 - DEBUG - Response for create_network : {'network': {'id': '43c8d087-b195-4369-b1ef-85494e8a3d02', 'name': 'ctest-vn-99222586', 'tenant_id': 'a478e8b08a0b4d04a07b0302fa8d6f46', 'project_id': 'a478e8b08a0b4d04a07b0302fa8d6f46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81209960', 'ctest-vn-99222586'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 13:39:59,004 - DEBUG - Response for create_subnet : {'subnet': {'id': '8afdfcde-71c6-43c8-991f-3e749be4996b', 'name': '', 'tenant_id': 'a478e8b08a0b4d04a07b0302fa8d6f46', 'network_id': '43c8d087-b195-4369-b1ef-85494e8a3d02', 'ip_version': 4, 'cidr': '204.201.184.0/26', 'allocation_pools': [{'start': '204.201.184.2', 'end': '204.201.184.62'}], 'gateway_ip': '204.201.184.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.201.184.2', 'tags': [], 'project_id': 'a478e8b08a0b4d04a07b0302fa8d6f46'}} 2026-01-30 13:39:59,023 - INFO - Created VN ctest-vn-99222586 2026-01-30 13:39:59,081 - DEBUG - VN ctest-vn-99222586 UUID is 43c8d087-b195-4369-b1ef-85494e8a3d02 2026-01-30 13:39:59,416 - DEBUG - Response for create_network : {'network': {'id': '8ca0e6a3-e252-4397-b277-f9e86908aa92', 'name': 'ctest-ext_vn-84436920', 'tenant_id': 'a478e8b08a0b4d04a07b0302fa8d6f46', 'project_id': 'a478e8b08a0b4d04a07b0302fa8d6f46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81209960', 'ctest-ext_vn-84436920'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 13:39:59,577 - DEBUG - Response for create_subnet : {'subnet': {'id': '08843985-1c42-4f95-b913-fd30084a6976', 'name': '', 'tenant_id': 'a478e8b08a0b4d04a07b0302fa8d6f46', 'network_id': '8ca0e6a3-e252-4397-b277-f9e86908aa92', 'ip_version': 4, 'cidr': '208.216.51.0/26', 'allocation_pools': [{'start': '208.216.51.2', 'end': '208.216.51.62'}], 'gateway_ip': '208.216.51.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.216.51.2', 'tags': [], 'project_id': 'a478e8b08a0b4d04a07b0302fa8d6f46'}} 2026-01-30 13:39:59,595 - INFO - Created VN ctest-ext_vn-84436920 2026-01-30 13:39:59,653 - DEBUG - VN ctest-ext_vn-84436920 UUID is 8ca0e6a3-e252-4397-b277-f9e86908aa92 2026-01-30 13:39:59,816 - DEBUG - Services list from nova: [, , ] 2026-01-30 13:40:00,880 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5147-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5147-1) 2026-01-30 13:40:02,085 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5147-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5147-1) 2026-01-30 13:40:02,155 - INFO - Setting gateway for router 7c7fff1b-8e49-401a-a962-9bafa4aea7c4 to network 8ca0e6a3-e252-4397-b277-f9e86908aa92 2026-01-30 13:40:02,226 - INFO - Adding interface with subnet_id 8afdfcde-71c6-43c8-991f-3e749be4996b, port_id None to router 7c7fff1b-8e49-401a-a962-9bafa4aea7c4 2026-01-30 13:40:02,615 - INFO - Waiting for VM ctest-TestRoutersBasic-81209960-45179385 to be up.. 2026-01-30 13:40:02,818 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-30 13:40:07,893 - DEBUG - VM is in ACTIVE state now 2026-01-30 13:40:07,893 - INFO - VM name : ctest-TestRoutersBasic-81209960-45179385 2026-01-30 13:40:07,971 - DEBUG - VM ctest-TestRoutersBasic-81209960-45179385 ID is 58c8bfb5-1783-40ed-823b-c217215d7897 2026-01-30 13:40:07,991 - DEBUG - VM ctest-TestRoutersBasic-81209960-45179385 launched on Node cn-jenkins-deploy-platform-ansible-os-5147-1 2026-01-30 13:40:08,065 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/58c8bfb5-1783-40ed-823b-c217215d7897 2026-01-30 13:40:08,360 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/58c8bfb5-1783-40ed-823b-c217215d7897 2026-01-30 13:40:08,396 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/112528e8-fd8c-49b2-bbd6-69ec5feb97c1 2026-01-30 13:40:11,650 - 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 1022ms') 2026-01-30 13:40:11,650 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81209960-45179385 failed! 2026-01-30 13:40:11,705 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81209960:ctest-vn-99222586 is 204.201.184.1 and allocation pool is NOT set 2026-01-30 13:40:13,772 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.389 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.389/1.568/2.748/1.179 ms') 2026-01-30 13:40:13,772 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81209960-45179385 passed 2026-01-30 13:40:13,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 13:40:13,921 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81209960-45179385, IP 204.201.184.3, Port 22 2026-01-30 13:40:14,076 - DEBUG - VM ctest-TestRoutersBasic-81209960-45179385 is ready for SSH connections 2026-01-30 13:40:14,076 - INFO - Waiting for VM ctest-TestRoutersBasic-81209960-01198132 to be up.. 2026-01-30 13:40:14,150 - DEBUG - VM is in ACTIVE state now 2026-01-30 13:40:14,150 - INFO - VM name : ctest-TestRoutersBasic-81209960-01198132 2026-01-30 13:40:14,221 - DEBUG - VM ctest-TestRoutersBasic-81209960-01198132 ID is 0c774d01-b3ec-40ba-8441-72fe563eb6a9 2026-01-30 13:40:14,221 - DEBUG - VM ctest-TestRoutersBasic-81209960-01198132 launched on Node cn-jenkins-deploy-platform-ansible-os-5147-1 2026-01-30 13:40:14,293 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0c774d01-b3ec-40ba-8441-72fe563eb6a9 2026-01-30 13:40:14,300 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5dfc7d92-9d85-496c-9ac2-99c693d4749f 2026-01-30 13:40:15,543 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.453 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.453/2.012/3.571/1.559 ms') 2026-01-30 13:40:15,543 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-81209960-01198132 passed 2026-01-30 13:40:15,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 13:40:15,689 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81209960-01198132, IP 208.216.51.3, Port 22 2026-01-30 13:40:15,855 - DEBUG - VM ctest-TestRoutersBasic-81209960-01198132 is ready for SSH connections 2026-01-30 13:40:15,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 13:40:15,855 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.216.51.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-30 13:40:15,855 - DEBUG - ping -s 56 -c 3 -W 1 208.216.51.3 2026-01-30 13:40:19,859 - DEBUG - PING 208.216.51.3 (208.216.51.3): 56 data bytes 64 bytes from 208.216.51.3: seq=0 ttl=62 time=4.441 ms 64 bytes from 208.216.51.3: seq=1 ttl=62 time=1.061 ms 64 bytes from 208.216.51.3: seq=2 ttl=62 time=1.134 ms --- 208.216.51.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.061/2.212/4.441 ms 2026-01-30 13:40:19,859 - INFO - Ping to IP 208.216.51.3 from VM ctest-TestRoutersBasic-81209960-45179385 passed 2026-01-30 13:40:19,859 - INFO - Deleting interface with subnet_id 8afdfcde-71c6-43c8-991f-3e749be4996b, port_id None from router 7c7fff1b-8e49-401a-a962-9bafa4aea7c4 2026-01-30 13:40:20,030 - INFO - Deleting VM ctest-TestRoutersBasic-81209960-01198132 2026-01-30 13:40:20,097 - INFO - Deleting VM ctest-TestRoutersBasic-81209960-45179385 2026-01-30 13:40:20,174 - INFO - Deleting VN ctest-ext_vn-84436920 2026-01-30 13:40:20,232 - DEBUG - VN 8ca0e6a3-e252-4397-b277-f9e86908aa92 still in use: Unable to complete operation on network 8ca0e6a3-e252-4397-b277-f9e86908aa92. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-349ece1c-07ff-453f-98e1-88e05a0f2d21'] 2026-01-30 13:40:20,232 - WARNING - Deleting VN ctest-ext_vn-84436920 failed..Will retry 2026-01-30 13:40:22,325 - DEBUG - Response for deleting network () 2026-01-30 13:40:22,325 - INFO - Deleting VN ctest-vn-99222586 2026-01-30 13:40:22,422 - DEBUG - Response for deleting network () 2026-01-30 13:40:22,678 - DEBUG - No XMPP flaps were noticed during the test
2026-01-30 13:40:22,678 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-01-30 13:40:22,678 - INFO - -------------------------------------------------------------------------------- 2026-01-30 13:40:23,349 - INFO - Deleted project: ctest-TestRoutersBasic-81209960, ID : a478e8b0-8a0b-4d04-a07b-0302fa8d6f46