2026-10-28 09:12:48,264 - INFO - Domain Default found not creating 2026-10-28 09:12:48,448 - INFO - Project ctest-TestRoutersBasic-71079112 not found, creating it 2026-10-28 09:12:48,967 - INFO - Created Project:ctest-TestRoutersBasic-71079112, ID : cde208c0-39dc-440e-9cb7-0d09be02e540 2026-10-28 09:12:50,895 - INFO - ================================================================================ 2026-10-28 09:12:50,895 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-28 09:12:50,895 - 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-28 09:12:51,157 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-10-28 09:12:51,158 - INFO - Initial checks done. Running the testcase now 2026-10-28 09:12:51,158 - INFO - 2026-10-28 09:12:52,053 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-71079112 2026-10-28 09:12:52,157 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-71079112 2026-10-28 09:12:52,497 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71079112', 'default']} 2026-10-28 09:12:52,845 - DEBUG - Response for create_network : {'network': {'id': '1807681c-fbd7-4fd3-b05a-a7204eb4ef55', 'name': 'ctest-vn-52956235', 'tenant_id': 'cde208c039dc440e9cb70d09be02e540', 'project_id': 'cde208c039dc440e9cb70d09be02e540', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71079112', 'ctest-vn-52956235'], 'port_security_enabled': True, 'description': ''}} 2026-10-28 09:12:53,041 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c18cb3f-3318-45e8-8dbe-f333234b0d7c', 'name': '', 'tenant_id': 'cde208c039dc440e9cb70d09be02e540', 'network_id': '1807681c-fbd7-4fd3-b05a-a7204eb4ef55', 'ip_version': 4, 'cidr': '159.152.155.128/26', 'allocation_pools': [{'start': '159.152.155.130', 'end': '159.152.155.190'}], 'gateway_ip': '159.152.155.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.152.155.130', 'tags': [], 'project_id': 'cde208c039dc440e9cb70d09be02e540'}} 2026-10-28 09:12:53,061 - INFO - Created VN ctest-vn-52956235 2026-10-28 09:12:53,117 - DEBUG - VN ctest-vn-52956235 UUID is 1807681c-fbd7-4fd3-b05a-a7204eb4ef55 2026-10-28 09:12:53,533 - DEBUG - Response for create_network : {'network': {'id': '57d65873-caf8-40d4-abee-bd2fad8fc2b7', 'name': 'ctest-ext_vn-96107811', 'tenant_id': 'cde208c039dc440e9cb70d09be02e540', 'project_id': 'cde208c039dc440e9cb70d09be02e540', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71079112', 'ctest-ext_vn-96107811'], 'port_security_enabled': True, 'description': ''}} 2026-10-28 09:12:53,774 - DEBUG - Response for create_subnet : {'subnet': {'id': '30e941be-eee4-4142-9d26-884b5a042180', 'name': '', 'tenant_id': 'cde208c039dc440e9cb70d09be02e540', 'network_id': '57d65873-caf8-40d4-abee-bd2fad8fc2b7', 'ip_version': 4, 'cidr': '30.187.74.0/26', 'allocation_pools': [{'start': '30.187.74.2', 'end': '30.187.74.62'}], 'gateway_ip': '30.187.74.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.187.74.2', 'tags': [], 'project_id': 'cde208c039dc440e9cb70d09be02e540'}} 2026-10-28 09:12:53,793 - INFO - Created VN ctest-ext_vn-96107811 2026-10-28 09:12:53,845 - DEBUG - VN ctest-ext_vn-96107811 UUID is 57d65873-caf8-40d4-abee-bd2fad8fc2b7 2026-10-28 09:12:54,061 - DEBUG - Services list from nova: [, , ] 2026-10-28 09:12:54,512 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6430-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6430-1) 2026-10-28 09:12:55,116 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6430-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6430-1) 2026-10-28 09:12:55,193 - INFO - Setting gateway for router eb39b057-fa3d-451c-ae45-3af7ef94d436 to network 57d65873-caf8-40d4-abee-bd2fad8fc2b7 2026-10-28 09:12:55,253 - INFO - Adding interface with subnet_id 3c18cb3f-3318-45e8-8dbe-f333234b0d7c, port_id None to router eb39b057-fa3d-451c-ae45-3af7ef94d436 2026-10-28 09:12:55,623 - INFO - Waiting for VM ctest-TestRoutersBasic-71079112-70899506 to be up.. 2026-10-28 09:12:55,736 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 09:13:00,812 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 09:13:05,904 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 09:13:11,004 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 09:13:16,082 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 09:13:21,154 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 09:13:26,237 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 09:13:31,315 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-28 09:13:36,400 - DEBUG - VM is in ACTIVE state now 2026-10-28 09:13:36,401 - INFO - VM name : ctest-TestRoutersBasic-71079112-70899506 2026-10-28 09:13:36,511 - DEBUG - VM ctest-TestRoutersBasic-71079112-70899506 ID is e0212e9e-8ae7-4591-9af7-a427bb2b7b10 2026-10-28 09:13:36,534 - DEBUG - VM ctest-TestRoutersBasic-71079112-70899506 launched on Node cn-jenkins-deploy-platform-ansible-os-6430-1 2026-10-28 09:13:36,613 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/e0212e9e-8ae7-4591-9af7-a427bb2b7b10 2026-10-28 09:13:36,986 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/e0212e9e-8ae7-4591-9af7-a427bb2b7b10 2026-10-28 09:13:37,018 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/107c24d2-5d6f-4c24-976a-19c2b55383c5 2026-10-28 09:13:40,270 - 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 1006ms') 2026-10-28 09:13:40,270 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-71079112-70899506 failed! 2026-10-28 09:13:40,333 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-71079112:ctest-vn-52956235 is 159.152.155.129 and allocation pool is NOT set 2026-10-28 09:13:42,396 - 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=7.93 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.415 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.415/4.171/7.927/3.756 ms') 2026-10-28 09:13:42,397 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-71079112-70899506 passed 2026-10-28 09:13:42,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 09:13:42,549 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71079112-70899506, IP 159.152.155.131, Port 22 2026-10-28 09:13:42,720 - DEBUG - VM ctest-TestRoutersBasic-71079112-70899506 is ready for SSH connections 2026-10-28 09:13:42,720 - INFO - Waiting for VM ctest-TestRoutersBasic-71079112-18188746 to be up.. 2026-10-28 09:13:42,803 - DEBUG - VM is in ACTIVE state now 2026-10-28 09:13:42,803 - INFO - VM name : ctest-TestRoutersBasic-71079112-18188746 2026-10-28 09:13:42,886 - DEBUG - VM ctest-TestRoutersBasic-71079112-18188746 ID is df6bd2fe-5005-4c81-92f9-f265258ab4b7 2026-10-28 09:13:42,886 - DEBUG - VM ctest-TestRoutersBasic-71079112-18188746 launched on Node cn-jenkins-deploy-platform-ansible-os-6430-1 2026-10-28 09:13:42,970 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/df6bd2fe-5005-4c81-92f9-f265258ab4b7 2026-10-28 09:13:42,980 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/62bcf6eb-55bb-4913-9583-06177f211469 2026-10-28 09:13:46,221 - 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=2 ttl=63 time=3.35 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 3.350/3.350/3.350/0.000 ms') 2026-10-28 09:13:46,221 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-71079112-18188746 passed 2026-10-28 09:13:46,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 09:13:46,369 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71079112-18188746, IP 30.187.74.4, Port 22 2026-10-28 09:13:46,525 - DEBUG - VM ctest-TestRoutersBasic-71079112-18188746 is ready for SSH connections 2026-10-28 09:13:46,525 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-28 09:13:46,525 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.187.74.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-28 09:13:46,525 - DEBUG - ping -s 56 -c 3 -W 1 30.187.74.4 2026-10-28 09:13:49,625 - DEBUG - PING 30.187.74.4 (30.187.74.4): 56 data bytes 64 bytes from 30.187.74.4: seq=0 ttl=62 time=7.262 ms 64 bytes from 30.187.74.4: seq=1 ttl=62 time=1.319 ms 64 bytes from 30.187.74.4: seq=2 ttl=62 time=1.034 ms --- 30.187.74.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.034/3.205/7.262 ms 2026-10-28 09:13:49,625 - INFO - Ping to IP 30.187.74.4 from VM ctest-TestRoutersBasic-71079112-70899506 passed 2026-10-28 09:13:49,625 - INFO - Deleting interface with subnet_id 3c18cb3f-3318-45e8-8dbe-f333234b0d7c, port_id None from router eb39b057-fa3d-451c-ae45-3af7ef94d436 2026-10-28 09:13:49,874 - INFO - Deleting VM ctest-TestRoutersBasic-71079112-18188746 2026-10-28 09:13:49,970 - INFO - Deleting VM ctest-TestRoutersBasic-71079112-70899506 2026-10-28 09:13:50,056 - INFO - Deleting VN ctest-ext_vn-96107811 2026-10-28 09:13:50,140 - DEBUG - VN 57d65873-caf8-40d4-abee-bd2fad8fc2b7 still in use: Unable to complete operation on network 57d65873-caf8-40d4-abee-bd2fad8fc2b7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8bd44fd0-3432-421a-8dc1-959ef4bb7f68'] 2026-10-28 09:13:50,140 - WARNING - Deleting VN ctest-ext_vn-96107811 failed..Will retry 2026-10-28 09:13:52,185 - DEBUG - VN 57d65873-caf8-40d4-abee-bd2fad8fc2b7 still in use: Unable to complete operation on network 57d65873-caf8-40d4-abee-bd2fad8fc2b7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ad1b8d49-1cf3-4763-b7ac-82b13478a356'] 2026-10-28 09:13:52,185 - WARNING - Deleting VN ctest-ext_vn-96107811 failed..Will retry 2026-10-28 09:13:54,309 - DEBUG - Response for deleting network () 2026-10-28 09:13:54,310 - INFO - Deleting VN ctest-vn-52956235 2026-10-28 09:13:54,428 - DEBUG - Response for deleting network () 2026-10-28 09:13:54,687 - DEBUG - No XMPP flaps were noticed during the test 2026-10-28 09:13:54,687 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:04] 2026-10-28 09:13:54,687 - INFO - -------------------------------------------------------------------------------- 2026-10-28 09:13:55,479 - INFO - Deleted project: ctest-TestRoutersBasic-71079112, ID : cde208c0-39dc-440e-9cb7-0d09be02e540