2026-12-02 15:59:00,299 - INFO - Domain Default found not creating 2026-12-02 15:59:00,488 - INFO - Project ctest-TestRoutersBasic-38245084 not found, creating it 2026-12-02 15:59:00,986 - INFO - Created Project:ctest-TestRoutersBasic-38245084, ID : 35d9b7cc-2d78-40f7-86ce-9c52fa77ddce 2026-12-02 15:59:02,726 - INFO - ================================================================================ 2026-12-02 15:59:02,726 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-12-02 15:59:02,726 - 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-12-02 15:59:02,998 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.25': '0'}} with 2026-12-02 15:59:02,998 - INFO - Initial checks done. Running the testcase now 2026-12-02 15:59:02,998 - INFO - 2026-12-02 15:59:03,884 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-38245084 2026-12-02 15:59:03,981 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-38245084 2026-12-02 15:59:04,312 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38245084', 'default']} 2026-12-02 15:59:04,618 - DEBUG - Response for create_network : {'network': {'id': '0543e8c9-04da-4678-ab82-cac423995d4d', 'name': 'ctest-vn-02520793', 'tenant_id': '35d9b7cc2d7840f786ce9c52fa77ddce', 'project_id': '35d9b7cc2d7840f786ce9c52fa77ddce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38245084', 'ctest-vn-02520793'], 'port_security_enabled': True, 'description': ''}} 2026-12-02 15:59:04,824 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e63437e2-3051-40f2-9e22-ee8932e9eb7c', 'name': '', 'tenant_id': '35d9b7cc2d7840f786ce9c52fa77ddce', 'network_id': '0543e8c9-04da-4678-ab82-cac423995d4d', 'ip_version': 4, 'cidr': '122.64.10.128/26', 'allocation_pools': [{'start': '122.64.10.130', 'end': '122.64.10.190'}], 'gateway_ip': '122.64.10.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.64.10.130', 'tags': [], 'project_id': '35d9b7cc2d7840f786ce9c52fa77ddce'}} 2026-12-02 15:59:04,842 - INFO - Created VN ctest-vn-02520793 2026-12-02 15:59:04,896 - DEBUG - VN ctest-vn-02520793 UUID is 0543e8c9-04da-4678-ab82-cac423995d4d 2026-12-02 15:59:05,221 - DEBUG - Response for create_network : {'network': {'id': 'e9c3629d-c373-4a07-9885-9d422fdc8925', 'name': 'ctest-ext_vn-51727442', 'tenant_id': '35d9b7cc2d7840f786ce9c52fa77ddce', 'project_id': '35d9b7cc2d7840f786ce9c52fa77ddce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38245084', 'ctest-ext_vn-51727442'], 'port_security_enabled': True, 'description': ''}} 2026-12-02 15:59:05,447 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0439778-0d76-4f0d-9852-f6fce60c8ed3', 'name': '', 'tenant_id': '35d9b7cc2d7840f786ce9c52fa77ddce', 'network_id': 'e9c3629d-c373-4a07-9885-9d422fdc8925', 'ip_version': 4, 'cidr': '26.67.8.0/26', 'allocation_pools': [{'start': '26.67.8.2', 'end': '26.67.8.62'}], 'gateway_ip': '26.67.8.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.67.8.2', 'tags': [], 'project_id': '35d9b7cc2d7840f786ce9c52fa77ddce'}} 2026-12-02 15:59:05,466 - INFO - Created VN ctest-ext_vn-51727442 2026-12-02 15:59:05,520 - DEBUG - VN ctest-ext_vn-51727442 UUID is e9c3629d-c373-4a07-9885-9d422fdc8925 2026-12-02 15:59:05,730 - DEBUG - Services list from nova: [, , ] 2026-12-02 15:59:06,266 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6527-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6527-1) 2026-12-02 15:59:06,699 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6527-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6527-1) 2026-12-02 15:59:06,767 - INFO - Setting gateway for router e9130c98-6dd8-41fc-b75a-98aab00dead5 to network e9c3629d-c373-4a07-9885-9d422fdc8925 2026-12-02 15:59:06,831 - INFO - Adding interface with subnet_id e63437e2-3051-40f2-9e22-ee8932e9eb7c, port_id None to router e9130c98-6dd8-41fc-b75a-98aab00dead5 2026-12-02 15:59:07,110 - INFO - Waiting for VM ctest-TestRoutersBasic-38245084-00068950 to be up.. 2026-12-02 15:59:07,173 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-02 15:59:12,284 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-02 15:59:17,375 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-02 15:59:22,459 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-02 15:59:27,539 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-02 15:59:32,620 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-02 15:59:37,705 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-02 15:59:42,784 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-02 15:59:47,878 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-02 15:59:52,978 - DEBUG - VM is in ACTIVE state now 2026-12-02 15:59:52,979 - INFO - VM name : ctest-TestRoutersBasic-38245084-00068950 2026-12-02 15:59:53,061 - DEBUG - VM ctest-TestRoutersBasic-38245084-00068950 ID is 0b993672-68d9-4e18-8142-c949a9450641 2026-12-02 15:59:53,083 - DEBUG - VM ctest-TestRoutersBasic-38245084-00068950 launched on Node cn-jenkins-deploy-platform-ansible-os-6527-1 2026-12-02 15:59:53,161 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/0b993672-68d9-4e18-8142-c949a9450641 2026-12-02 15:59:53,544 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/0b993672-68d9-4e18-8142-c949a9450641 2026-12-02 15:59:53,594 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/137316ad-5dc9-4dcb-8a89-1825ecc1ae02 2026-12-02 15:59:56,885 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=9.65 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 9.651/9.651/9.651/0.000 ms') 2026-12-02 15:59:56,886 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-38245084-00068950 passed 2026-12-02 15:59:57,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-02 15:59:57,041 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38245084-00068950, IP 122.64.10.131, Port 22 2026-12-02 15:59:57,211 - DEBUG - VM ctest-TestRoutersBasic-38245084-00068950 is ready for SSH connections 2026-12-02 15:59:57,211 - INFO - Waiting for VM ctest-TestRoutersBasic-38245084-55198577 to be up.. 2026-12-02 15:59:57,312 - DEBUG - VM is in ACTIVE state now 2026-12-02 15:59:57,312 - INFO - VM name : ctest-TestRoutersBasic-38245084-55198577 2026-12-02 15:59:57,455 - DEBUG - VM ctest-TestRoutersBasic-38245084-55198577 ID is 239ce75f-1f1c-40df-9954-8e553eaed8d3 2026-12-02 15:59:57,456 - DEBUG - VM ctest-TestRoutersBasic-38245084-55198577 launched on Node cn-jenkins-deploy-platform-ansible-os-6527-1 2026-12-02 15:59:57,535 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/239ce75f-1f1c-40df-9954-8e553eaed8d3 2026-12-02 15:59:57,545 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/41aedba9-f74d-46d8-a61a-52558c59850a 2026-12-02 15:59:58,791 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=3.94 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.452 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.452/2.194/3.936/1.742 ms') 2026-12-02 15:59:58,792 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-38245084-55198577 passed 2026-12-02 15:59:58,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-02 15:59:58,948 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38245084-55198577, IP 26.67.8.4, Port 22 2026-12-02 15:59:59,115 - DEBUG - VM ctest-TestRoutersBasic-38245084-55198577 is ready for SSH connections 2026-12-02 15:59:59,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-02 15:59:59,115 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.67.8.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-12-02 15:59:59,116 - DEBUG - ping -s 56 -c 3 -W 1 26.67.8.4 2026-12-02 16:00:02,201 - DEBUG - PING 26.67.8.4 (26.67.8.4): 56 data bytes 64 bytes from 26.67.8.4: seq=0 ttl=62 time=9.062 ms 64 bytes from 26.67.8.4: seq=1 ttl=62 time=0.997 ms 64 bytes from 26.67.8.4: seq=2 ttl=62 time=1.333 ms --- 26.67.8.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.997/3.797/9.062 ms 2026-12-02 16:00:02,201 - INFO - Ping to IP 26.67.8.4 from VM ctest-TestRoutersBasic-38245084-00068950 passed 2026-12-02 16:00:02,202 - INFO - Deleting interface with subnet_id e63437e2-3051-40f2-9e22-ee8932e9eb7c, port_id None from router e9130c98-6dd8-41fc-b75a-98aab00dead5 2026-12-02 16:00:02,460 - INFO - Deleting VM ctest-TestRoutersBasic-38245084-55198577 2026-12-02 16:00:02,557 - INFO - Deleting VM ctest-TestRoutersBasic-38245084-00068950 2026-12-02 16:00:02,642 - INFO - Deleting VN ctest-ext_vn-51727442 2026-12-02 16:00:02,714 - DEBUG - VN e9c3629d-c373-4a07-9885-9d422fdc8925 still in use: Unable to complete operation on network e9c3629d-c373-4a07-9885-9d422fdc8925. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1cef9911-bcb7-4ed4-8f1a-ea140b530439'] 2026-12-02 16:00:02,714 - WARNING - Deleting VN ctest-ext_vn-51727442 failed..Will retry 2026-12-02 16:00:04,752 - DEBUG - VN e9c3629d-c373-4a07-9885-9d422fdc8925 still in use: Unable to complete operation on network e9c3629d-c373-4a07-9885-9d422fdc8925. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-65ed565b-1035-4dfd-9f34-3338efbe8f9a'] 2026-12-02 16:00:04,752 - WARNING - Deleting VN ctest-ext_vn-51727442 failed..Will retry 2026-12-02 16:00:06,884 - DEBUG - Response for deleting network () 2026-12-02 16:00:06,884 - INFO - Deleting VN ctest-vn-02520793 2026-12-02 16:00:07,041 - DEBUG - Response for deleting network () 2026-12-02 16:00:07,314 - DEBUG - No XMPP flaps were noticed during the test
2026-12-02 16:00:07,315 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:05]
2026-12-02 16:00:07,315 - INFO - -------------------------------------------------------------------------------- 2026-12-02 16:00:08,124 - INFO - Deleted project: ctest-TestRoutersBasic-38245084, ID : 35d9b7cc-2d78-40f7-86ce-9c52fa77ddce