2026-05-14 02:25:55,376 - INFO - Domain Default found not creating 2026-05-14 02:25:55,569 - INFO - Project ctest-TestRoutersBasic-87357456 not found, creating it 2026-05-14 02:25:56,035 - INFO - Created Project:ctest-TestRoutersBasic-87357456, ID : 36c2d53b-3d68-46d8-b292-5f0d12a85348 2026-05-14 02:25:57,591 - INFO - ================================================================================ 2026-05-14 02:25:57,591 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-14 02:25:57,591 - 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-05-14 02:25:57,848 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.25': '0'}} with 2026-05-14 02:25:57,849 - INFO - Initial checks done. Running the testcase now 2026-05-14 02:25:57,849 - INFO - 2026-05-14 02:25:58,578 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-87357456 2026-05-14 02:25:58,675 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-87357456 2026-05-14 02:25:58,994 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87357456', 'default']} 2026-05-14 02:25:59,284 - DEBUG - Response for create_network : {'network': {'id': 'e3c6fc7a-b18d-43c0-8a2f-129a695ff61b', 'name': 'ctest-vn-38457659', 'tenant_id': '36c2d53b3d6846d8b2925f0d12a85348', 'project_id': '36c2d53b3d6846d8b2925f0d12a85348', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87357456', 'ctest-vn-38457659'], 'port_security_enabled': True, 'description': ''}} 2026-05-14 02:25:59,463 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aabb1d65-b4b1-4286-8a15-72e15243644b', 'name': '', 'tenant_id': '36c2d53b3d6846d8b2925f0d12a85348', 'network_id': 'e3c6fc7a-b18d-43c0-8a2f-129a695ff61b', 'ip_version': 4, 'cidr': '141.130.48.0/26', 'allocation_pools': [{'start': '141.130.48.2', 'end': '141.130.48.62'}], 'gateway_ip': '141.130.48.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.130.48.2', 'tags': [], 'project_id': '36c2d53b3d6846d8b2925f0d12a85348'}} 2026-05-14 02:25:59,481 - INFO - Created VN ctest-vn-38457659 2026-05-14 02:25:59,534 - DEBUG - VN ctest-vn-38457659 UUID is e3c6fc7a-b18d-43c0-8a2f-129a695ff61b 2026-05-14 02:25:59,857 - DEBUG - Response for create_network : {'network': {'id': '53030b70-611b-41bf-a521-fb4d9bf3155d', 'name': 'ctest-ext_vn-81903525', 'tenant_id': '36c2d53b3d6846d8b2925f0d12a85348', 'project_id': '36c2d53b3d6846d8b2925f0d12a85348', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87357456', 'ctest-ext_vn-81903525'], 'port_security_enabled': True, 'description': ''}} 2026-05-14 02:26:00,007 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a761a1ea-046b-4e0e-ac61-163a3a74e41b', 'name': '', 'tenant_id': '36c2d53b3d6846d8b2925f0d12a85348', 'network_id': '53030b70-611b-41bf-a521-fb4d9bf3155d', 'ip_version': 4, 'cidr': '195.197.151.192/26', 'allocation_pools': [{'start': '195.197.151.194', 'end': '195.197.151.254'}], 'gateway_ip': '195.197.151.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.197.151.194', 'tags': [], 'project_id': '36c2d53b3d6846d8b2925f0d12a85348'}} 2026-05-14 02:26:00,025 - INFO - Created VN ctest-ext_vn-81903525 2026-05-14 02:26:00,078 - DEBUG - VN ctest-ext_vn-81903525 UUID is 53030b70-611b-41bf-a521-fb4d9bf3155d 2026-05-14 02:26:00,251 - DEBUG - Services list from nova: [, , ] 2026-05-14 02:26:01,347 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5779-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5779-1) 2026-05-14 02:26:02,660 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5779-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5779-1) 2026-05-14 02:26:02,725 - INFO - Setting gateway for router 546f17c4-e359-4522-94a4-b794200744dd to network 53030b70-611b-41bf-a521-fb4d9bf3155d 2026-05-14 02:26:02,795 - INFO - Adding interface with subnet_id aabb1d65-b4b1-4286-8a15-72e15243644b, port_id None to router 546f17c4-e359-4522-94a4-b794200744dd 2026-05-14 02:26:03,154 - INFO - Waiting for VM ctest-TestRoutersBasic-87357456-90678884 to be up.. 2026-05-14 02:26:03,302 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-14 02:26:08,381 - DEBUG - VM is in ACTIVE state now 2026-05-14 02:26:08,382 - INFO - VM name : ctest-TestRoutersBasic-87357456-90678884 2026-05-14 02:26:08,465 - DEBUG - VM ctest-TestRoutersBasic-87357456-90678884 ID is 37f4f608-84a2-4f33-85e2-e1af4bc06f39 2026-05-14 02:26:08,488 - DEBUG - VM ctest-TestRoutersBasic-87357456-90678884 launched on Node cn-jenkins-deploy-platform-ansible-os-5779-1 2026-05-14 02:26:08,571 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/37f4f608-84a2-4f33-85e2-e1af4bc06f39 2026-05-14 02:26:08,870 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/37f4f608-84a2-4f33-85e2-e1af4bc06f39 2026-05-14 02:26:08,910 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/7787a315-0ab4-473b-b094-d321c7497e29 2026-05-14 02:26:12,159 - 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-05-14 02:26:12,159 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87357456-90678884 failed! 2026-05-14 02:26:12,214 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-87357456:ctest-vn-38457659 is 141.130.48.1 and allocation pool is NOT set 2026-05-14 02:26:14,277 - 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=6.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.633 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 = 0.633/3.761/6.889/3.128 ms') 2026-05-14 02:26:14,277 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87357456-90678884 passed 2026-05-14 02:26:14,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:26:14,426 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87357456-90678884, IP 141.130.48.3, Port 22 2026-05-14 02:26:14,593 - DEBUG - VM ctest-TestRoutersBasic-87357456-90678884 is ready for SSH connections 2026-05-14 02:26:14,593 - INFO - Waiting for VM ctest-TestRoutersBasic-87357456-12312208 to be up.. 2026-05-14 02:26:14,679 - DEBUG - VM is in ACTIVE state now 2026-05-14 02:26:14,679 - INFO - VM name : ctest-TestRoutersBasic-87357456-12312208 2026-05-14 02:26:14,759 - DEBUG - VM ctest-TestRoutersBasic-87357456-12312208 ID is b32da1d9-d79e-4674-928e-539988c9d096 2026-05-14 02:26:14,759 - DEBUG - VM ctest-TestRoutersBasic-87357456-12312208 launched on Node cn-jenkins-deploy-platform-ansible-os-5779-1 2026-05-14 02:26:14,837 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/b32da1d9-d79e-4674-928e-539988c9d096 2026-05-14 02:26:14,847 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/22360bb8-0e58-4846-a37d-c0473819c677 2026-05-14 02:26:16,085 - 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=3.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.509 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.509/1.789/3.069/1.280 ms') 2026-05-14 02:26:16,085 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-87357456-12312208 passed 2026-05-14 02:26:16,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:26:16,234 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87357456-12312208, IP 195.197.151.195, Port 22 2026-05-14 02:26:16,390 - DEBUG - VM ctest-TestRoutersBasic-87357456-12312208 is ready for SSH connections 2026-05-14 02:26:16,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 02:26:16,390 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.197.151.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-05-14 02:26:16,391 - DEBUG - ping -s 56 -c 3 -W 1 195.197.151.195 2026-05-14 02:26:20,125 - DEBUG - PING 195.197.151.195 (195.197.151.195): 56 data bytes 64 bytes from 195.197.151.195: seq=0 ttl=62 time=7.595 ms 64 bytes from 195.197.151.195: seq=1 ttl=62 time=1.408 ms 64 bytes from 195.197.151.195: seq=2 ttl=62 time=1.020 ms --- 195.197.151.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.020/3.341/7.595 ms 2026-05-14 02:26:20,125 - INFO - Ping to IP 195.197.151.195 from VM ctest-TestRoutersBasic-87357456-90678884 passed 2026-05-14 02:26:20,125 - INFO - Deleting interface with subnet_id aabb1d65-b4b1-4286-8a15-72e15243644b, port_id None from router 546f17c4-e359-4522-94a4-b794200744dd 2026-05-14 02:26:20,318 - INFO - Deleting VM ctest-TestRoutersBasic-87357456-12312208 2026-05-14 02:26:20,403 - INFO - Deleting VM ctest-TestRoutersBasic-87357456-90678884 2026-05-14 02:26:20,485 - INFO - Deleting VN ctest-ext_vn-81903525 2026-05-14 02:26:20,553 - DEBUG - VN 53030b70-611b-41bf-a521-fb4d9bf3155d still in use: Unable to complete operation on network 53030b70-611b-41bf-a521-fb4d9bf3155d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2ef77175-0865-46a7-8985-6a4826cc106d'] 2026-05-14 02:26:20,553 - WARNING - Deleting VN ctest-ext_vn-81903525 failed..Will retry 2026-05-14 02:26:22,657 - DEBUG - Response for deleting network () 2026-05-14 02:26:22,657 - INFO - Deleting VN ctest-vn-38457659 2026-05-14 02:26:22,763 - DEBUG - Response for deleting network () 2026-05-14 02:26:23,015 - DEBUG - No XMPP flaps were noticed during the test 2026-05-14 02:26:23,015 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-05-14 02:26:23,015 - INFO - -------------------------------------------------------------------------------- 2026-05-14 02:26:23,798 - INFO - Deleted project: ctest-TestRoutersBasic-87357456, ID : 36c2d53b-3d68-46d8-b292-5f0d12a85348