2026-02-25 16:51:52,953 - INFO - Domain Default found not creating 2026-02-25 16:51:53,095 - INFO - Project ctest-TestRoutersBasic-85701381 not found, creating it 2026-02-25 16:51:53,516 - INFO - Created Project:ctest-TestRoutersBasic-85701381, ID : fb35b3dc-a874-4987-8908-1b7c136a81ec 2026-02-25 16:51:54,890 - INFO - ================================================================================ 2026-02-25 16:51:54,890 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-25 16:51:54,890 - 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-25 16:51:55,155 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-02-25 16:51:55,155 - INFO - Initial checks done. Running the testcase now 2026-02-25 16:51:55,155 - INFO - 2026-02-25 16:51:55,845 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-85701381 2026-02-25 16:51:55,938 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-85701381 2026-02-25 16:51:56,254 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85701381', 'default']} 2026-02-25 16:51:56,526 - DEBUG - Response for create_network : {'network': {'id': '17a1c343-b75e-4394-b679-3619cac1c25f', 'name': 'ctest-vn-15810536', 'tenant_id': 'fb35b3dca874498789081b7c136a81ec', 'project_id': 'fb35b3dca874498789081b7c136a81ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85701381', 'ctest-vn-15810536'], 'port_security_enabled': True, 'description': ''}} 2026-02-25 16:51:56,658 - DEBUG - Response for create_subnet : {'subnet': {'id': '1af8d7a2-aaec-4744-adf9-b761b2b2bea0', 'name': '', 'tenant_id': 'fb35b3dca874498789081b7c136a81ec', 'network_id': '17a1c343-b75e-4394-b679-3619cac1c25f', 'ip_version': 4, 'cidr': '57.188.142.0/26', 'allocation_pools': [{'start': '57.188.142.2', 'end': '57.188.142.62'}], 'gateway_ip': '57.188.142.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.188.142.2', 'tags': [], 'project_id': 'fb35b3dca874498789081b7c136a81ec'}} 2026-02-25 16:51:56,674 - INFO - Created VN ctest-vn-15810536 2026-02-25 16:51:56,722 - DEBUG - VN ctest-vn-15810536 UUID is 17a1c343-b75e-4394-b679-3619cac1c25f 2026-02-25 16:51:57,031 - DEBUG - Response for create_network : {'network': {'id': '9b469ea1-490b-4bd2-af8b-cb0b4c83648a', 'name': 'ctest-ext_vn-41350666', 'tenant_id': 'fb35b3dca874498789081b7c136a81ec', 'project_id': 'fb35b3dca874498789081b7c136a81ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85701381', 'ctest-ext_vn-41350666'], 'port_security_enabled': True, 'description': ''}} 2026-02-25 16:51:57,211 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbc077f6-061b-4834-a17b-f3d19f786e6b', 'name': '', 'tenant_id': 'fb35b3dca874498789081b7c136a81ec', 'network_id': '9b469ea1-490b-4bd2-af8b-cb0b4c83648a', 'ip_version': 4, 'cidr': '4.29.129.128/26', 'allocation_pools': [{'start': '4.29.129.130', 'end': '4.29.129.190'}], 'gateway_ip': '4.29.129.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.29.129.130', 'tags': [], 'project_id': 'fb35b3dca874498789081b7c136a81ec'}} 2026-02-25 16:51:57,225 - INFO - Created VN ctest-ext_vn-41350666 2026-02-25 16:51:57,274 - DEBUG - VN ctest-ext_vn-41350666 UUID is 9b469ea1-490b-4bd2-af8b-cb0b4c83648a 2026-02-25 16:51:57,466 - DEBUG - Services list from nova: [, , ] 2026-02-25 16:51:58,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5397-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5397-1) 2026-02-25 16:51:59,479 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5397-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5397-1) 2026-02-25 16:51:59,551 - INFO - Setting gateway for router c5f709e0-0fa8-4e00-85c0-74a23e05eedc to network 9b469ea1-490b-4bd2-af8b-cb0b4c83648a 2026-02-25 16:51:59,622 - INFO - Adding interface with subnet_id 1af8d7a2-aaec-4744-adf9-b761b2b2bea0, port_id None to router c5f709e0-0fa8-4e00-85c0-74a23e05eedc 2026-02-25 16:51:59,847 - INFO - Waiting for VM ctest-TestRoutersBasic-85701381-25653190 to be up.. 2026-02-25 16:51:59,984 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-25 16:52:05,048 - DEBUG - VM is in ACTIVE state now 2026-02-25 16:52:05,048 - INFO - VM name : ctest-TestRoutersBasic-85701381-25653190 2026-02-25 16:52:05,112 - DEBUG - VM ctest-TestRoutersBasic-85701381-25653190 ID is d5566616-6700-4bee-8bb5-2b4294ee5c32 2026-02-25 16:52:05,127 - DEBUG - VM ctest-TestRoutersBasic-85701381-25653190 launched on Node cn-jenkins-deploy-platform-ansible-os-5397-1 2026-02-25 16:52:05,190 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d5566616-6700-4bee-8bb5-2b4294ee5c32 2026-02-25 16:52:05,483 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d5566616-6700-4bee-8bb5-2b4294ee5c32 2026-02-25 16:52:05,510 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e93593b6-46f4-42a8-9a16-087ab1856fd0 2026-02-25 16:52:08,743 - 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 1008ms') 2026-02-25 16:52:08,743 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85701381-25653190 failed! 2026-02-25 16:52:08,794 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-85701381:ctest-vn-15810536 is 57.188.142.1 and allocation pool is NOT set 2026-02-25 16:52:10,855 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 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.395/1.719/3.044/1.324 ms') 2026-02-25 16:52:10,855 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85701381-25653190 passed 2026-02-25 16:52:11,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-25 16:52:11,003 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85701381-25653190, IP 57.188.142.3, Port 22 2026-02-25 16:52:11,158 - DEBUG - VM ctest-TestRoutersBasic-85701381-25653190 is ready for SSH connections 2026-02-25 16:52:11,160 - INFO - Waiting for VM ctest-TestRoutersBasic-85701381-17834681 to be up.. 2026-02-25 16:52:11,225 - DEBUG - VM is in ACTIVE state now 2026-02-25 16:52:11,226 - INFO - VM name : ctest-TestRoutersBasic-85701381-17834681 2026-02-25 16:52:11,287 - DEBUG - VM ctest-TestRoutersBasic-85701381-17834681 ID is 4f3aa9f4-7a34-4713-ba22-1d229a9945df 2026-02-25 16:52:11,287 - DEBUG - VM ctest-TestRoutersBasic-85701381-17834681 launched on Node cn-jenkins-deploy-platform-ansible-os-5397-1 2026-02-25 16:52:11,352 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4f3aa9f4-7a34-4713-ba22-1d229a9945df 2026-02-25 16:52:11,358 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2cc64b0b-5019-4f3f-b309-44344a15cef6 2026-02-25 16:52:12,588 - 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=2.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/1.569/2.736/1.166 ms') 2026-02-25 16:52:12,588 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-85701381-17834681 passed 2026-02-25 16:52:12,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-25 16:52:12,734 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85701381-17834681, IP 4.29.129.131, Port 22 2026-02-25 16:52:12,886 - DEBUG - VM ctest-TestRoutersBasic-85701381-17834681 is ready for SSH connections 2026-02-25 16:52:12,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-25 16:52:12,886 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.29.129.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-25 16:52:12,886 - DEBUG - ping -s 56 -c 3 -W 1 4.29.129.131 2026-02-25 16:52:16,846 - DEBUG - PING 4.29.129.131 (4.29.129.131): 56 data bytes 64 bytes from 4.29.129.131: seq=0 ttl=62 time=6.228 ms 64 bytes from 4.29.129.131: seq=1 ttl=62 time=0.732 ms 64 bytes from 4.29.129.131: seq=2 ttl=62 time=1.025 ms --- 4.29.129.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.732/2.661/6.228 ms 2026-02-25 16:52:16,846 - INFO - Ping to IP 4.29.129.131 from VM ctest-TestRoutersBasic-85701381-25653190 passed 2026-02-25 16:52:16,846 - INFO - Deleting interface with subnet_id 1af8d7a2-aaec-4744-adf9-b761b2b2bea0, port_id None from router c5f709e0-0fa8-4e00-85c0-74a23e05eedc 2026-02-25 16:52:17,014 - INFO - Deleting VM ctest-TestRoutersBasic-85701381-17834681 2026-02-25 16:52:17,093 - INFO - Deleting VM ctest-TestRoutersBasic-85701381-25653190 2026-02-25 16:52:17,177 - INFO - Deleting VN ctest-ext_vn-41350666 2026-02-25 16:52:17,243 - DEBUG - VN 9b469ea1-490b-4bd2-af8b-cb0b4c83648a still in use: Unable to complete operation on network 9b469ea1-490b-4bd2-af8b-cb0b4c83648a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2a1714d4-82da-4e3b-8f13-e695b1faf88e'] 2026-02-25 16:52:17,243 - WARNING - Deleting VN ctest-ext_vn-41350666 failed..Will retry 2026-02-25 16:52:19,322 - DEBUG - Response for deleting network () 2026-02-25 16:52:19,322 - INFO - Deleting VN ctest-vn-15810536 2026-02-25 16:52:19,406 - DEBUG - Response for deleting network () 2026-02-25 16:52:19,671 - DEBUG - No XMPP flaps were noticed during the test
2026-02-25 16:52:19,671 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-02-25 16:52:19,671 - INFO - -------------------------------------------------------------------------------- 2026-02-25 16:52:20,314 - INFO - Deleted project: ctest-TestRoutersBasic-85701381, ID : fb35b3dc-a874-4987-8908-1b7c136a81ec