2026-01-28 13:16:54,093 - INFO - Domain Default found not creating 2026-01-28 13:16:54,277 - INFO - Project ctest-TestRoutersBasic-52310543 not found, creating it 2026-01-28 13:16:54,761 - INFO - Created Project:ctest-TestRoutersBasic-52310543, ID : c8634492-8fc3-4fef-adec-a122b279a468 2026-01-28 13:16:56,238 - INFO - ================================================================================ 2026-01-28 13:16:56,239 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-28 13:16:56,239 - 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-28 13:16:56,503 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2026-01-28 13:16:56,503 - INFO - Initial checks done. Running the testcase now 2026-01-28 13:16:56,503 - INFO - 2026-01-28 13:16:57,229 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-52310543 2026-01-28 13:16:57,323 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-52310543 2026-01-28 13:16:57,647 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52310543', 'default']} 2026-01-28 13:16:57,935 - DEBUG - Response for create_network : {'network': {'id': '3476d692-57a3-4a4c-933e-fd9a160c5337', 'name': 'ctest-vn-41369548', 'tenant_id': 'c86344928fc34fefadeca122b279a468', 'project_id': 'c86344928fc34fefadeca122b279a468', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52310543', 'ctest-vn-41369548'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 13:16:58,126 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e636243c-2946-4e00-a57f-168b0dd1d58d', 'name': '', 'tenant_id': 'c86344928fc34fefadeca122b279a468', 'network_id': '3476d692-57a3-4a4c-933e-fd9a160c5337', 'ip_version': 4, 'cidr': '176.4.205.192/26', 'allocation_pools': [{'start': '176.4.205.194', 'end': '176.4.205.254'}], 'gateway_ip': '176.4.205.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.4.205.194', 'tags': [], 'project_id': 'c86344928fc34fefadeca122b279a468'}} 2026-01-28 13:16:58,144 - INFO - Created VN ctest-vn-41369548 2026-01-28 13:16:58,199 - DEBUG - VN ctest-vn-41369548 UUID is 3476d692-57a3-4a4c-933e-fd9a160c5337 2026-01-28 13:16:58,544 - DEBUG - Response for create_network : {'network': {'id': '5e2c8842-dad1-4e5a-943d-58f500419638', 'name': 'ctest-ext_vn-40931202', 'tenant_id': 'c86344928fc34fefadeca122b279a468', 'project_id': 'c86344928fc34fefadeca122b279a468', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52310543', 'ctest-ext_vn-40931202'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 13:16:58,738 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bec7573e-6b17-421b-8363-8b68bf0660ed', 'name': '', 'tenant_id': 'c86344928fc34fefadeca122b279a468', 'network_id': '5e2c8842-dad1-4e5a-943d-58f500419638', 'ip_version': 4, 'cidr': '186.248.10.0/26', 'allocation_pools': [{'start': '186.248.10.2', 'end': '186.248.10.62'}], 'gateway_ip': '186.248.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.248.10.2', 'tags': [], 'project_id': 'c86344928fc34fefadeca122b279a468'}} 2026-01-28 13:16:58,758 - INFO - Created VN ctest-ext_vn-40931202 2026-01-28 13:16:58,811 - DEBUG - VN ctest-ext_vn-40931202 UUID is 5e2c8842-dad1-4e5a-943d-58f500419638 2026-01-28 13:16:59,007 - DEBUG - Services list from nova: [, , ] 2026-01-28 13:17:00,059 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5092-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5092-1) 2026-01-28 13:17:01,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5092-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5092-1) 2026-01-28 13:17:01,328 - INFO - Setting gateway for router a63648b3-8c7b-4be2-980d-309a7124429a to network 5e2c8842-dad1-4e5a-943d-58f500419638 2026-01-28 13:17:01,433 - INFO - Adding interface with subnet_id e636243c-2946-4e00-a57f-168b0dd1d58d, port_id None to router a63648b3-8c7b-4be2-980d-309a7124429a 2026-01-28 13:17:01,789 - INFO - Waiting for VM ctest-TestRoutersBasic-52310543-68667424 to be up.. 2026-01-28 13:17:01,967 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 13:17:07,045 - DEBUG - VM is in ACTIVE state now 2026-01-28 13:17:07,045 - INFO - VM name : ctest-TestRoutersBasic-52310543-68667424 2026-01-28 13:17:07,124 - DEBUG - VM ctest-TestRoutersBasic-52310543-68667424 ID is 83f6b945-0783-4719-8432-4510ffc22095 2026-01-28 13:17:07,143 - DEBUG - VM ctest-TestRoutersBasic-52310543-68667424 launched on Node cn-jenkins-deploy-platform-ansible-os-5092-1 2026-01-28 13:17:07,220 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/83f6b945-0783-4719-8432-4510ffc22095 2026-01-28 13:17:07,515 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/83f6b945-0783-4719-8432-4510ffc22095 2026-01-28 13:17:07,551 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/e0739514-8cad-43ce-a151-ae971c9c6167 2026-01-28 13:17:10,806 - 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 1014ms') 2026-01-28 13:17:10,806 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52310543-68667424 failed! 2026-01-28 13:17:10,863 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-52310543:ctest-vn-41369548 is 176.4.205.193 and allocation pool is NOT set 2026-01-28 13:17:12,926 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.52 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 = 2.522/2.685/2.849/0.163 ms') 2026-01-28 13:17:12,926 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52310543-68667424 passed 2026-01-28 13:17:13,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 13:17:13,083 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52310543-68667424, IP 176.4.205.195, Port 22 2026-01-28 13:17:13,249 - DEBUG - VM ctest-TestRoutersBasic-52310543-68667424 is ready for SSH connections 2026-01-28 13:17:13,249 - INFO - Waiting for VM ctest-TestRoutersBasic-52310543-67079697 to be up.. 2026-01-28 13:17:13,331 - DEBUG - VM is in ACTIVE state now 2026-01-28 13:17:13,331 - INFO - VM name : ctest-TestRoutersBasic-52310543-67079697 2026-01-28 13:17:13,418 - DEBUG - VM ctest-TestRoutersBasic-52310543-67079697 ID is 0d27d861-0575-433e-9332-cc3da41e4095 2026-01-28 13:17:13,418 - DEBUG - VM ctest-TestRoutersBasic-52310543-67079697 launched on Node cn-jenkins-deploy-platform-ansible-os-5092-1 2026-01-28 13:17:13,491 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/0d27d861-0575-433e-9332-cc3da41e4095 2026-01-28 13:17:13,499 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/e3219769-0530-4efd-a1ab-686e81e3ad26 2026-01-28 13:17:14,739 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.515 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 = 0.515/1.743/2.971/1.228 ms') 2026-01-28 13:17:14,739 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-52310543-67079697 passed 2026-01-28 13:17:14,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 13:17:14,895 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52310543-67079697, IP 186.248.10.3, Port 22 2026-01-28 13:17:15,050 - DEBUG - VM ctest-TestRoutersBasic-52310543-67079697 is ready for SSH connections 2026-01-28 13:17:15,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 13:17:15,051 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.248.10.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-28 13:17:15,051 - DEBUG - ping -s 56 -c 3 -W 1 186.248.10.3 2026-01-28 13:17:18,768 - DEBUG - PING 186.248.10.3 (186.248.10.3): 56 data bytes 64 bytes from 186.248.10.3: seq=0 ttl=62 time=5.936 ms 64 bytes from 186.248.10.3: seq=1 ttl=62 time=1.060 ms 64 bytes from 186.248.10.3: seq=2 ttl=62 time=1.152 ms --- 186.248.10.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.060/2.716/5.936 ms 2026-01-28 13:17:18,768 - INFO - Ping to IP 186.248.10.3 from VM ctest-TestRoutersBasic-52310543-68667424 passed 2026-01-28 13:17:18,768 - INFO - Deleting interface with subnet_id e636243c-2946-4e00-a57f-168b0dd1d58d, port_id None from router a63648b3-8c7b-4be2-980d-309a7124429a 2026-01-28 13:17:18,963 - INFO - Deleting VM ctest-TestRoutersBasic-52310543-67079697 2026-01-28 13:17:19,048 - INFO - Deleting VM ctest-TestRoutersBasic-52310543-68667424 2026-01-28 13:17:19,171 - INFO - Deleting VN ctest-ext_vn-40931202 2026-01-28 13:17:19,297 - DEBUG - VN 5e2c8842-dad1-4e5a-943d-58f500419638 still in use: Unable to complete operation on network 5e2c8842-dad1-4e5a-943d-58f500419638. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eeb44c72-a0d6-4905-9351-19c9f5659faf'] 2026-01-28 13:17:19,297 - WARNING - Deleting VN ctest-ext_vn-40931202 failed..Will retry 2026-01-28 13:17:21,398 - DEBUG - Response for deleting network () 2026-01-28 13:17:21,398 - INFO - Deleting VN ctest-vn-41369548 2026-01-28 13:17:21,493 - DEBUG - Response for deleting network () 2026-01-28 13:17:21,753 - DEBUG - No XMPP flaps were noticed during the test 2026-01-28 13:17:21,753 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-01-28 13:17:21,753 - INFO - -------------------------------------------------------------------------------- 2026-01-28 13:17:22,434 - INFO - Deleted project: ctest-TestRoutersBasic-52310543, ID : c8634492-8fc3-4fef-adec-a122b279a468