2026-02-26 10:40:43,120 - INFO - Domain Default found not creating 2026-02-26 10:40:43,336 - INFO - Project ctest-TestRoutersBasic-16659945 not found, creating it 2026-02-26 10:40:43,834 - INFO - Created Project:ctest-TestRoutersBasic-16659945, ID : e2002116-6e3a-4078-9d68-f6faf0484477 2026-02-26 10:40:45,452 - INFO - ================================================================================ 2026-02-26 10:40:45,452 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-26 10:40:45,452 - 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-26 10:40:45,708 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2026-02-26 10:40:45,708 - INFO - Initial checks done. Running the testcase now 2026-02-26 10:40:45,708 - INFO - 2026-02-26 10:40:46,465 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16659945 2026-02-26 10:40:46,567 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16659945 2026-02-26 10:40:46,899 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16659945', 'default']} 2026-02-26 10:40:47,230 - DEBUG - Response for create_network : {'network': {'id': 'ef240c3a-7c8f-4e4b-a5ee-d3bd0274afdd', 'name': 'ctest-vn-94757738', 'tenant_id': 'e20021166e3a40789d68f6faf0484477', 'project_id': 'e20021166e3a40789d68f6faf0484477', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16659945', 'ctest-vn-94757738'], 'port_security_enabled': True, 'description': ''}} 2026-02-26 10:40:47,418 - DEBUG - Response for create_subnet : {'subnet': {'id': '54e9a57b-89ed-451d-abe6-1c82afe52ec3', 'name': '', 'tenant_id': 'e20021166e3a40789d68f6faf0484477', 'network_id': 'ef240c3a-7c8f-4e4b-a5ee-d3bd0274afdd', 'ip_version': 4, 'cidr': '68.228.111.128/26', 'allocation_pools': [{'start': '68.228.111.130', 'end': '68.228.111.190'}], 'gateway_ip': '68.228.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.228.111.130', 'tags': [], 'project_id': 'e20021166e3a40789d68f6faf0484477'}} 2026-02-26 10:40:47,438 - INFO - Created VN ctest-vn-94757738 2026-02-26 10:40:47,491 - DEBUG - VN ctest-vn-94757738 UUID is ef240c3a-7c8f-4e4b-a5ee-d3bd0274afdd 2026-02-26 10:40:47,867 - DEBUG - Response for create_network : {'network': {'id': '4ce223f0-72dc-42e2-93a5-d9aae259cec5', 'name': 'ctest-ext_vn-72652633', 'tenant_id': 'e20021166e3a40789d68f6faf0484477', 'project_id': 'e20021166e3a40789d68f6faf0484477', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16659945', 'ctest-ext_vn-72652633'], 'port_security_enabled': True, 'description': ''}} 2026-02-26 10:40:48,070 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7190680-24b4-478c-8a7b-47e16840b4e5', 'name': '', 'tenant_id': 'e20021166e3a40789d68f6faf0484477', 'network_id': '4ce223f0-72dc-42e2-93a5-d9aae259cec5', 'ip_version': 4, 'cidr': '16.134.71.128/26', 'allocation_pools': [{'start': '16.134.71.130', 'end': '16.134.71.190'}], 'gateway_ip': '16.134.71.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.134.71.130', 'tags': [], 'project_id': 'e20021166e3a40789d68f6faf0484477'}} 2026-02-26 10:40:48,093 - INFO - Created VN ctest-ext_vn-72652633 2026-02-26 10:40:48,147 - DEBUG - VN ctest-ext_vn-72652633 UUID is 4ce223f0-72dc-42e2-93a5-d9aae259cec5 2026-02-26 10:40:48,336 - DEBUG - Services list from nova: [, , ] 2026-02-26 10:40:49,421 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5405-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5405-1) 2026-02-26 10:40:50,673 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5405-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5405-1) 2026-02-26 10:40:50,772 - INFO - Setting gateway for router 5ba81cda-57da-412a-81ef-de32f6bdebe6 to network 4ce223f0-72dc-42e2-93a5-d9aae259cec5 2026-02-26 10:40:50,855 - INFO - Adding interface with subnet_id 54e9a57b-89ed-451d-abe6-1c82afe52ec3, port_id None to router 5ba81cda-57da-412a-81ef-de32f6bdebe6 2026-02-26 10:40:51,183 - INFO - Waiting for VM ctest-TestRoutersBasic-16659945-47509131 to be up.. 2026-02-26 10:40:51,329 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-26 10:40:56,427 - DEBUG - VM is in ACTIVE state now 2026-02-26 10:40:56,427 - INFO - VM name : ctest-TestRoutersBasic-16659945-47509131 2026-02-26 10:40:56,523 - DEBUG - VM ctest-TestRoutersBasic-16659945-47509131 ID is 81eb9469-02f6-4578-a9c8-53ab7145ba3a 2026-02-26 10:40:56,544 - DEBUG - VM ctest-TestRoutersBasic-16659945-47509131 launched on Node cn-jenkins-deploy-platform-ansible-os-5405-1 2026-02-26 10:40:56,628 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/81eb9469-02f6-4578-a9c8-53ab7145ba3a 2026-02-26 10:40:56,947 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/81eb9469-02f6-4578-a9c8-53ab7145ba3a 2026-02-26 10:40:57,000 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/4fd5fe7f-d971-43e0-b3cb-0d8b252c9992 2026-02-26 10:41:00,252 - 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 1004ms') 2026-02-26 10:41:00,252 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16659945-47509131 failed! 2026-02-26 10:41:00,307 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16659945:ctest-vn-94757738 is 68.228.111.129 and allocation pool is NOT set 2026-02-26 10:41:02,374 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.01 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 = 3.010/4.307/5.604/1.297 ms') 2026-02-26 10:41:02,374 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16659945-47509131 passed 2026-02-26 10:41:02,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 10:41:02,527 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16659945-47509131, IP 68.228.111.131, Port 22 2026-02-26 10:41:02,684 - DEBUG - VM ctest-TestRoutersBasic-16659945-47509131 is ready for SSH connections 2026-02-26 10:41:02,684 - INFO - Waiting for VM ctest-TestRoutersBasic-16659945-42617306 to be up.. 2026-02-26 10:41:02,785 - DEBUG - VM is in ACTIVE state now 2026-02-26 10:41:02,785 - INFO - VM name : ctest-TestRoutersBasic-16659945-42617306 2026-02-26 10:41:02,874 - DEBUG - VM ctest-TestRoutersBasic-16659945-42617306 ID is 5b6cad5f-de17-4725-b3a0-b20f2f6135e9 2026-02-26 10:41:02,875 - DEBUG - VM ctest-TestRoutersBasic-16659945-42617306 launched on Node cn-jenkins-deploy-platform-ansible-os-5405-1 2026-02-26 10:41:02,972 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/5b6cad5f-de17-4725-b3a0-b20f2f6135e9 2026-02-26 10:41:02,982 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/0c128b31-9570-42c4-bf5e-bf4452fda2d4 2026-02-26 10:41:04,237 - 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=4.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.36 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 = 1.361/2.768/4.176/1.407 ms') 2026-02-26 10:41:04,237 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16659945-42617306 passed 2026-02-26 10:41:04,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 10:41:04,396 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16659945-42617306, IP 16.134.71.131, Port 22 2026-02-26 10:41:04,566 - DEBUG - VM ctest-TestRoutersBasic-16659945-42617306 is ready for SSH connections 2026-02-26 10:41:04,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 10:41:04,567 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.134.71.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-02-26 10:41:04,567 - DEBUG - ping -s 56 -c 3 -W 1 16.134.71.131 2026-02-26 10:41:08,322 - DEBUG - PING 16.134.71.131 (16.134.71.131): 56 data bytes 64 bytes from 16.134.71.131: seq=0 ttl=62 time=6.339 ms 64 bytes from 16.134.71.131: seq=1 ttl=62 time=1.098 ms 64 bytes from 16.134.71.131: seq=2 ttl=62 time=1.244 ms --- 16.134.71.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.098/2.893/6.339 ms 2026-02-26 10:41:08,323 - INFO - Ping to IP 16.134.71.131 from VM ctest-TestRoutersBasic-16659945-47509131 passed 2026-02-26 10:41:08,323 - INFO - Deleting interface with subnet_id 54e9a57b-89ed-451d-abe6-1c82afe52ec3, port_id None from router 5ba81cda-57da-412a-81ef-de32f6bdebe6 2026-02-26 10:41:08,587 - INFO - Deleting VM ctest-TestRoutersBasic-16659945-42617306 2026-02-26 10:41:08,670 - INFO - Deleting VM ctest-TestRoutersBasic-16659945-47509131 2026-02-26 10:41:08,785 - INFO - Deleting VN ctest-ext_vn-72652633 2026-02-26 10:41:08,901 - DEBUG - VN 4ce223f0-72dc-42e2-93a5-d9aae259cec5 still in use: Unable to complete operation on network 4ce223f0-72dc-42e2-93a5-d9aae259cec5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-99457dd0-f9fb-452c-ac92-d4daf3f8ee68'] 2026-02-26 10:41:08,901 - WARNING - Deleting VN ctest-ext_vn-72652633 failed..Will retry 2026-02-26 10:41:11,020 - DEBUG - Response for deleting network () 2026-02-26 10:41:11,020 - INFO - Deleting VN ctest-vn-94757738 2026-02-26 10:41:11,146 - DEBUG - Response for deleting network () 2026-02-26 10:41:11,416 - DEBUG - No XMPP flaps were noticed during the test 2026-02-26 10:41:11,416 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-02-26 10:41:11,416 - INFO - -------------------------------------------------------------------------------- 2026-02-26 10:41:12,158 - INFO - Deleted project: ctest-TestRoutersBasic-16659945, ID : e2002116-6e3a-4078-9d68-f6faf0484477