2026-03-16 14:50:23,027 - INFO - Domain Default found not creating 2026-03-16 14:50:23,235 - INFO - Project ctest-TestRoutersBasic-27553071 not found, creating it 2026-03-16 14:50:23,762 - INFO - Created Project:ctest-TestRoutersBasic-27553071, ID : eb1bf0b5-2659-4cf1-b81b-f78fba6a34eb 2026-03-16 14:50:25,358 - INFO - ================================================================================ 2026-03-16 14:50:25,358 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-16 14:50:25,358 - 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-03-16 14:50:25,621 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2026-03-16 14:50:25,621 - INFO - Initial checks done. Running the testcase now 2026-03-16 14:50:25,621 - INFO - 2026-03-16 14:50:26,360 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-27553071 2026-03-16 14:50:26,455 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-27553071 2026-03-16 14:50:26,790 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27553071', 'default']} 2026-03-16 14:50:27,112 - DEBUG - Response for create_network : {'network': {'id': 'b7096d4d-c893-4852-b560-e53c6d594ae9', 'name': 'ctest-vn-54396176', 'tenant_id': 'eb1bf0b526594cf1b81bf78fba6a34eb', 'project_id': 'eb1bf0b526594cf1b81bf78fba6a34eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27553071', 'ctest-vn-54396176'], 'port_security_enabled': True, 'description': ''}} 2026-03-16 14:50:27,297 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a8033b8-f69d-4d02-806b-26c018c6874b', 'name': '', 'tenant_id': 'eb1bf0b526594cf1b81bf78fba6a34eb', 'network_id': 'b7096d4d-c893-4852-b560-e53c6d594ae9', 'ip_version': 4, 'cidr': '156.23.143.0/26', 'allocation_pools': [{'start': '156.23.143.2', 'end': '156.23.143.62'}], 'gateway_ip': '156.23.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.23.143.2', 'tags': [], 'project_id': 'eb1bf0b526594cf1b81bf78fba6a34eb'}} 2026-03-16 14:50:27,318 - INFO - Created VN ctest-vn-54396176 2026-03-16 14:50:27,371 - DEBUG - VN ctest-vn-54396176 UUID is b7096d4d-c893-4852-b560-e53c6d594ae9 2026-03-16 14:50:27,704 - DEBUG - Response for create_network : {'network': {'id': '6c44123f-b30b-4343-a570-54584df7eafe', 'name': 'ctest-ext_vn-57109254', 'tenant_id': 'eb1bf0b526594cf1b81bf78fba6a34eb', 'project_id': 'eb1bf0b526594cf1b81bf78fba6a34eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27553071', 'ctest-ext_vn-57109254'], 'port_security_enabled': True, 'description': ''}} 2026-03-16 14:50:27,878 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f6d757c-bc52-4b52-a3dc-8780b72fb380', 'name': '', 'tenant_id': 'eb1bf0b526594cf1b81bf78fba6a34eb', 'network_id': '6c44123f-b30b-4343-a570-54584df7eafe', 'ip_version': 4, 'cidr': '207.47.162.128/26', 'allocation_pools': [{'start': '207.47.162.130', 'end': '207.47.162.190'}], 'gateway_ip': '207.47.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.47.162.130', 'tags': [], 'project_id': 'eb1bf0b526594cf1b81bf78fba6a34eb'}} 2026-03-16 14:50:27,897 - INFO - Created VN ctest-ext_vn-57109254 2026-03-16 14:50:27,950 - DEBUG - VN ctest-ext_vn-57109254 UUID is 6c44123f-b30b-4343-a570-54584df7eafe 2026-03-16 14:50:28,142 - DEBUG - Services list from nova: [, , ] 2026-03-16 14:50:29,223 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5476-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5476-1) 2026-03-16 14:50:30,420 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5476-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5476-1) 2026-03-16 14:50:30,509 - INFO - Setting gateway for router 77bd368d-b1de-472d-8d59-6ab41d47d680 to network 6c44123f-b30b-4343-a570-54584df7eafe 2026-03-16 14:50:30,570 - INFO - Adding interface with subnet_id 5a8033b8-f69d-4d02-806b-26c018c6874b, port_id None to router 77bd368d-b1de-472d-8d59-6ab41d47d680 2026-03-16 14:50:30,935 - INFO - Waiting for VM ctest-TestRoutersBasic-27553071-87554521 to be up.. 2026-03-16 14:50:31,132 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-16 14:50:36,233 - DEBUG - VM is in ACTIVE state now 2026-03-16 14:50:36,233 - INFO - VM name : ctest-TestRoutersBasic-27553071-87554521 2026-03-16 14:50:36,327 - DEBUG - VM ctest-TestRoutersBasic-27553071-87554521 ID is a849d7ae-cac9-4ab3-a570-072cf495c718 2026-03-16 14:50:36,356 - DEBUG - VM ctest-TestRoutersBasic-27553071-87554521 launched on Node cn-jenkins-deploy-platform-ansible-os-5476-1 2026-03-16 14:50:36,449 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a849d7ae-cac9-4ab3-a570-072cf495c718 2026-03-16 14:50:36,767 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a849d7ae-cac9-4ab3-a570-072cf495c718 2026-03-16 14:50:36,815 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2f90b054-d4f5-4d15-9d85-0f94d50d32aa 2026-03-16 14:50:40,072 - 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 1018ms') 2026-03-16 14:50:40,072 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27553071-87554521 failed! 2026-03-16 14:50:40,126 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-27553071:ctest-vn-54396176 is 156.23.143.1 and allocation pool is NOT set 2026-03-16 14:50:42,190 - 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=4.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.35 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 = 1.347/2.808/4.270/1.461 ms') 2026-03-16 14:50:42,190 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27553071-87554521 passed 2026-03-16 14:50:42,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 14:50:42,343 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27553071-87554521, IP 156.23.143.3, Port 22 2026-03-16 14:50:42,412 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-16 14:50:42,500 - DEBUG - VM ctest-TestRoutersBasic-27553071-87554521 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-16 14:50:47,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 14:50:47,501 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27553071-87554521, IP 156.23.143.3, Port 22 2026-03-16 14:50:47,668 - DEBUG - VM ctest-TestRoutersBasic-27553071-87554521 is ready for SSH connections 2026-03-16 14:50:47,669 - INFO - Waiting for VM ctest-TestRoutersBasic-27553071-94994523 to be up.. 2026-03-16 14:50:47,756 - DEBUG - VM is in ACTIVE state now 2026-03-16 14:50:47,756 - INFO - VM name : ctest-TestRoutersBasic-27553071-94994523 2026-03-16 14:50:47,846 - DEBUG - VM ctest-TestRoutersBasic-27553071-94994523 ID is c0cf63fd-4ceb-4f70-a7d3-ee2bbff0c922 2026-03-16 14:50:47,848 - DEBUG - VM ctest-TestRoutersBasic-27553071-94994523 launched on Node cn-jenkins-deploy-platform-ansible-os-5476-1 2026-03-16 14:50:47,937 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c0cf63fd-4ceb-4f70-a7d3-ee2bbff0c922 2026-03-16 14:50:47,951 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3d42014b-65da-409c-ae20-993dc8927acd 2026-03-16 14:50:49,200 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.510 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.510/1.853/3.197/1.343 ms') 2026-03-16 14:50:49,201 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-27553071-94994523 passed 2026-03-16 14:50:49,354 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 14:50:49,355 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27553071-94994523, IP 207.47.162.131, Port 22 2026-03-16 14:50:49,521 - DEBUG - VM ctest-TestRoutersBasic-27553071-94994523 is ready for SSH connections 2026-03-16 14:50:49,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 14:50:49,521 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.47.162.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-16 14:50:49,521 - DEBUG - ping -s 56 -c 3 -W 1 207.47.162.131 2026-03-16 14:50:53,253 - DEBUG - PING 207.47.162.131 (207.47.162.131): 56 data bytes 64 bytes from 207.47.162.131: seq=0 ttl=62 time=6.760 ms 64 bytes from 207.47.162.131: seq=1 ttl=62 time=1.202 ms 64 bytes from 207.47.162.131: seq=2 ttl=62 time=1.015 ms --- 207.47.162.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.015/2.992/6.760 ms 2026-03-16 14:50:53,253 - INFO - Ping to IP 207.47.162.131 from VM ctest-TestRoutersBasic-27553071-87554521 passed 2026-03-16 14:50:53,253 - INFO - Deleting interface with subnet_id 5a8033b8-f69d-4d02-806b-26c018c6874b, port_id None from router 77bd368d-b1de-472d-8d59-6ab41d47d680 2026-03-16 14:50:53,483 - INFO - Deleting VM ctest-TestRoutersBasic-27553071-94994523 2026-03-16 14:50:53,569 - INFO - Deleting VM ctest-TestRoutersBasic-27553071-87554521 2026-03-16 14:50:53,659 - INFO - Deleting VN ctest-ext_vn-57109254 2026-03-16 14:50:53,733 - DEBUG - VN 6c44123f-b30b-4343-a570-54584df7eafe still in use: Unable to complete operation on network 6c44123f-b30b-4343-a570-54584df7eafe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8a534f6e-2042-4732-9f87-e863af286e69'] 2026-03-16 14:50:53,733 - WARNING - Deleting VN ctest-ext_vn-57109254 failed..Will retry 2026-03-16 14:50:55,844 - DEBUG - Response for deleting network () 2026-03-16 14:50:55,844 - INFO - Deleting VN ctest-vn-54396176 2026-03-16 14:50:55,973 - DEBUG - Response for deleting network () 2026-03-16 14:50:56,237 - DEBUG - No XMPP flaps were noticed during the test 2026-03-16 14:50:56,237 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-03-16 14:50:56,237 - INFO - -------------------------------------------------------------------------------- 2026-03-16 14:50:56,977 - INFO - Deleted project: ctest-TestRoutersBasic-27553071, ID : eb1bf0b5-2659-4cf1-b81b-f78fba6a34eb