2026-10-31 23:27:11,033 - INFO - Domain Default found not creating 2026-10-31 23:27:11,230 - INFO - Project ctest-TestRoutersBasic-84816369 not found, creating it 2026-10-31 23:27:11,720 - INFO - Created Project:ctest-TestRoutersBasic-84816369, ID : 811f7b29-8d3a-4adb-88a7-a5575ea4569c 2026-10-31 23:27:13,462 - INFO - ================================================================================ 2026-10-31 23:27:13,462 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-31 23:27:13,462 - 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-10-31 23:27:13,720 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with 2026-10-31 23:27:13,720 - INFO - Initial checks done. Running the testcase now 2026-10-31 23:27:13,720 - INFO - 2026-10-31 23:27:14,565 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84816369 2026-10-31 23:27:14,666 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84816369 2026-10-31 23:27:14,985 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84816369', 'default']} 2026-10-31 23:27:15,273 - DEBUG - Response for create_network : {'network': {'id': 'afe268cd-b423-41d5-ac81-dd15e2566d5f', 'name': 'ctest-vn-64911166', 'tenant_id': '811f7b298d3a4adb88a7a5575ea4569c', 'project_id': '811f7b298d3a4adb88a7a5575ea4569c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84816369', 'ctest-vn-64911166'], 'port_security_enabled': True, 'description': ''}} 2026-10-31 23:27:15,503 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf40657b-58ca-418b-a104-6142476d0ad8', 'name': '', 'tenant_id': '811f7b298d3a4adb88a7a5575ea4569c', 'network_id': 'afe268cd-b423-41d5-ac81-dd15e2566d5f', 'ip_version': 4, 'cidr': '84.51.21.64/26', 'allocation_pools': [{'start': '84.51.21.66', 'end': '84.51.21.126'}], 'gateway_ip': '84.51.21.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.51.21.66', 'tags': [], 'project_id': '811f7b298d3a4adb88a7a5575ea4569c'}} 2026-10-31 23:27:15,520 - INFO - Created VN ctest-vn-64911166 2026-10-31 23:27:15,574 - DEBUG - VN ctest-vn-64911166 UUID is afe268cd-b423-41d5-ac81-dd15e2566d5f 2026-10-31 23:27:15,927 - DEBUG - Response for create_network : {'network': {'id': 'ddc7e301-42a3-45af-9ed5-15ebfa7ea828', 'name': 'ctest-ext_vn-17595214', 'tenant_id': '811f7b298d3a4adb88a7a5575ea4569c', 'project_id': '811f7b298d3a4adb88a7a5575ea4569c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84816369', 'ctest-ext_vn-17595214'], 'port_security_enabled': True, 'description': ''}} 2026-10-31 23:27:16,119 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d275f31-f084-4f01-a16f-4eadb673efd5', 'name': '', 'tenant_id': '811f7b298d3a4adb88a7a5575ea4569c', 'network_id': 'ddc7e301-42a3-45af-9ed5-15ebfa7ea828', 'ip_version': 4, 'cidr': '96.216.25.128/26', 'allocation_pools': [{'start': '96.216.25.130', 'end': '96.216.25.190'}], 'gateway_ip': '96.216.25.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.216.25.130', 'tags': [], 'project_id': '811f7b298d3a4adb88a7a5575ea4569c'}} 2026-10-31 23:27:16,135 - INFO - Created VN ctest-ext_vn-17595214 2026-10-31 23:27:16,190 - DEBUG - VN ctest-ext_vn-17595214 UUID is ddc7e301-42a3-45af-9ed5-15ebfa7ea828 2026-10-31 23:27:16,403 - DEBUG - Services list from nova: [, , ] 2026-10-31 23:27:16,745 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6456-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6456-1) 2026-10-31 23:27:17,151 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6456-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6456-1) 2026-10-31 23:27:17,213 - INFO - Setting gateway for router 3ec02b7b-66cb-49d9-9bfb-09fcb42ddd47 to network ddc7e301-42a3-45af-9ed5-15ebfa7ea828 2026-10-31 23:27:17,268 - INFO - Adding interface with subnet_id bf40657b-58ca-418b-a104-6142476d0ad8, port_id None to router 3ec02b7b-66cb-49d9-9bfb-09fcb42ddd47 2026-10-31 23:27:17,558 - INFO - Waiting for VM ctest-TestRoutersBasic-84816369-96399143 to be up.. 2026-10-31 23:27:17,616 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 23:27:22,687 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 23:27:27,772 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 23:27:32,851 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 23:27:38,057 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 23:27:43,131 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 23:27:48,226 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 23:27:53,295 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-31 23:27:58,371 - DEBUG - VM is in ACTIVE state now 2026-10-31 23:27:58,371 - INFO - VM name : ctest-TestRoutersBasic-84816369-96399143 2026-10-31 23:27:58,444 - DEBUG - VM ctest-TestRoutersBasic-84816369-96399143 ID is 80df83a0-3075-404a-9a4b-3f23ce8efe0e 2026-10-31 23:27:58,464 - DEBUG - VM ctest-TestRoutersBasic-84816369-96399143 launched on Node cn-jenkins-deploy-platform-ansible-os-6456-1 2026-10-31 23:27:58,535 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/80df83a0-3075-404a-9a4b-3f23ce8efe0e 2026-10-31 23:27:58,902 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/80df83a0-3075-404a-9a4b-3f23ce8efe0e 2026-10-31 23:27:58,933 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/9e742898-54cc-432d-88b0-6fc680c5d09e 2026-10-31 23:28:02,200 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2026-10-31 23:28:02,200 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-84816369-96399143 failed! 2026-10-31 23:28:02,254 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84816369:ctest-vn-64911166 is 84.51.21.65 and allocation pool is NOT set 2026-10-31 23:28:04,312 - 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=1 ttl=63 time=4.18 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.436 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.436/2.309/4.183/1.873 ms') 2026-10-31 23:28:04,312 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-84816369-96399143 passed 2026-10-31 23:28:04,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-31 23:28:04,462 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84816369-96399143, IP 84.51.21.67, Port 22 2026-10-31 23:28:04,621 - DEBUG - VM ctest-TestRoutersBasic-84816369-96399143 is ready for SSH connections 2026-10-31 23:28:04,621 - INFO - Waiting for VM ctest-TestRoutersBasic-84816369-23902309 to be up.. 2026-10-31 23:28:04,715 - DEBUG - VM is in ACTIVE state now 2026-10-31 23:28:04,715 - INFO - VM name : ctest-TestRoutersBasic-84816369-23902309 2026-10-31 23:28:04,789 - DEBUG - VM ctest-TestRoutersBasic-84816369-23902309 ID is 9e8c2e5d-8d07-41a9-b90a-2a35268e85c3 2026-10-31 23:28:04,789 - DEBUG - VM ctest-TestRoutersBasic-84816369-23902309 launched on Node cn-jenkins-deploy-platform-ansible-os-6456-1 2026-10-31 23:28:04,871 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/9e8c2e5d-8d07-41a9-b90a-2a35268e85c3 2026-10-31 23:28:04,879 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/c916474c-5c5a-4fec-ae6a-35e97643972f 2026-10-31 23:28:08,123 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1002ms') 2026-10-31 23:28:08,123 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-84816369-23902309 failed! 2026-10-31 23:28:08,182 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84816369:ctest-ext_vn-17595214 is 96.216.25.129 and allocation pool is NOT set 2026-10-31 23:28:10,256 - 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.84 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.446 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.446/2.142/3.838/1.696 ms') 2026-10-31 23:28:10,257 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-84816369-23902309 passed 2026-10-31 23:28:10,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-31 23:28:10,410 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84816369-23902309, IP 96.216.25.132, Port 22 2026-10-31 23:28:10,565 - DEBUG - VM ctest-TestRoutersBasic-84816369-23902309 is ready for SSH connections 2026-10-31 23:28:10,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-31 23:28:10,565 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.216.25.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-10-31 23:28:10,565 - DEBUG - ping -s 56 -c 3 -W 1 96.216.25.132 2026-10-31 23:28:13,588 - DEBUG - PING 96.216.25.132 (96.216.25.132): 56 data bytes 64 bytes from 96.216.25.132: seq=0 ttl=62 time=5.823 ms 64 bytes from 96.216.25.132: seq=1 ttl=62 time=0.962 ms 64 bytes from 96.216.25.132: seq=2 ttl=62 time=1.216 ms --- 96.216.25.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.962/2.667/5.823 ms 2026-10-31 23:28:13,588 - INFO - Ping to IP 96.216.25.132 from VM ctest-TestRoutersBasic-84816369-96399143 passed 2026-10-31 23:28:13,588 - INFO - Deleting interface with subnet_id bf40657b-58ca-418b-a104-6142476d0ad8, port_id None from router 3ec02b7b-66cb-49d9-9bfb-09fcb42ddd47 2026-10-31 23:28:13,892 - INFO - Deleting VM ctest-TestRoutersBasic-84816369-23902309 2026-10-31 23:28:13,972 - INFO - Deleting VM ctest-TestRoutersBasic-84816369-96399143 2026-10-31 23:28:14,061 - INFO - Deleting VN ctest-ext_vn-17595214 2026-10-31 23:28:14,124 - DEBUG - VN ddc7e301-42a3-45af-9ed5-15ebfa7ea828 still in use: Unable to complete operation on network ddc7e301-42a3-45af-9ed5-15ebfa7ea828. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d3de93d2-154f-483e-a468-c6ea602517d3'] 2026-10-31 23:28:14,125 - WARNING - Deleting VN ctest-ext_vn-17595214 failed..Will retry 2026-10-31 23:28:16,157 - DEBUG - VN ddc7e301-42a3-45af-9ed5-15ebfa7ea828 still in use: Unable to complete operation on network ddc7e301-42a3-45af-9ed5-15ebfa7ea828. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f98fcd1a-60aa-4bda-9c32-0470a5381222'] 2026-10-31 23:28:16,157 - WARNING - Deleting VN ctest-ext_vn-17595214 failed..Will retry 2026-10-31 23:28:18,258 - DEBUG - Response for deleting network () 2026-10-31 23:28:18,258 - INFO - Deleting VN ctest-vn-64911166 2026-10-31 23:28:18,352 - DEBUG - Response for deleting network () 2026-10-31 23:28:18,621 - DEBUG - No XMPP flaps were noticed during the test
2026-10-31 23:28:18,621 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:05]
2026-10-31 23:28:18,621 - INFO - -------------------------------------------------------------------------------- 2026-10-31 23:28:19,390 - INFO - Deleted project: ctest-TestRoutersBasic-84816369, ID : 811f7b29-8d3a-4adb-88a7-a5575ea4569c