2026-09-28 18:35:30,510 - INFO - Domain Default found not creating 2026-09-28 18:35:30,779 - INFO - Project ctest-TestRoutersBasic-35228653 not found, creating it 2026-09-28 18:35:31,396 - INFO - Created Project:ctest-TestRoutersBasic-35228653, ID : 3aa17eef-3fce-4e2c-acda-cededcdc4977 2026-09-28 18:35:33,370 - INFO - ================================================================================ 2026-09-28 18:35:33,370 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-28 18:35:33,370 - 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-09-28 18:35:33,649 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with 2026-09-28 18:35:33,649 - INFO - Initial checks done. Running the testcase now 2026-09-28 18:35:33,649 - INFO - 2026-09-28 18:35:34,644 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-35228653 2026-09-28 18:35:34,746 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-35228653 2026-09-28 18:35:35,106 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35228653', 'default']} 2026-09-28 18:35:35,486 - DEBUG - Response for create_network : {'network': {'id': '70a56424-7b77-4e0a-b112-086f2b6df56c', 'name': 'ctest-vn-56042693', 'tenant_id': '3aa17eef3fce4e2cacdacededcdc4977', 'project_id': '3aa17eef3fce4e2cacdacededcdc4977', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35228653', 'ctest-vn-56042693'], 'port_security_enabled': True, 'description': ''}} 2026-09-28 18:35:35,734 - DEBUG - Response for create_subnet : {'subnet': {'id': '1675d645-06cc-4205-8a20-a16a4a9e1480', 'name': '', 'tenant_id': '3aa17eef3fce4e2cacdacededcdc4977', 'network_id': '70a56424-7b77-4e0a-b112-086f2b6df56c', 'ip_version': 4, 'cidr': '106.72.6.64/26', 'allocation_pools': [{'start': '106.72.6.66', 'end': '106.72.6.126'}], 'gateway_ip': '106.72.6.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.72.6.66', 'tags': [], 'project_id': '3aa17eef3fce4e2cacdacededcdc4977'}} 2026-09-28 18:35:35,759 - INFO - Created VN ctest-vn-56042693 2026-09-28 18:35:35,818 - DEBUG - VN ctest-vn-56042693 UUID is 70a56424-7b77-4e0a-b112-086f2b6df56c 2026-09-28 18:35:36,251 - DEBUG - Response for create_network : {'network': {'id': '4e004e8e-8c4f-4525-ac46-142402b60266', 'name': 'ctest-ext_vn-28813650', 'tenant_id': '3aa17eef3fce4e2cacdacededcdc4977', 'project_id': '3aa17eef3fce4e2cacdacededcdc4977', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35228653', 'ctest-ext_vn-28813650'], 'port_security_enabled': True, 'description': ''}} 2026-09-28 18:35:36,448 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bbc219ef-efb2-4c07-b0a6-3fe68defc5cd', 'name': '', 'tenant_id': '3aa17eef3fce4e2cacdacededcdc4977', 'network_id': '4e004e8e-8c4f-4525-ac46-142402b60266', 'ip_version': 4, 'cidr': '15.71.148.192/26', 'allocation_pools': [{'start': '15.71.148.194', 'end': '15.71.148.254'}], 'gateway_ip': '15.71.148.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.71.148.194', 'tags': [], 'project_id': '3aa17eef3fce4e2cacdacededcdc4977'}} 2026-09-28 18:35:36,469 - INFO - Created VN ctest-ext_vn-28813650 2026-09-28 18:35:36,530 - DEBUG - VN ctest-ext_vn-28813650 UUID is 4e004e8e-8c4f-4525-ac46-142402b60266 2026-09-28 18:35:36,735 - DEBUG - Services list from nova: [, , ] 2026-09-28 18:35:37,433 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6325-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6325-1) 2026-09-28 18:35:37,980 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6325-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6325-1) 2026-09-28 18:35:38,081 - INFO - Setting gateway for router ece2021f-b06a-4ded-b6ee-99db521f541a to network 4e004e8e-8c4f-4525-ac46-142402b60266 2026-09-28 18:35:38,154 - INFO - Adding interface with subnet_id 1675d645-06cc-4205-8a20-a16a4a9e1480, port_id None to router ece2021f-b06a-4ded-b6ee-99db521f541a 2026-09-28 18:35:38,570 - INFO - Waiting for VM ctest-TestRoutersBasic-35228653-12542248 to be up.. 2026-09-28 18:35:38,667 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 18:35:43,768 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 18:35:48,880 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 18:35:53,988 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 18:35:59,091 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 18:36:04,198 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 18:36:09,306 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 18:36:14,399 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-28 18:36:19,508 - DEBUG - VM is in ACTIVE state now 2026-09-28 18:36:19,508 - INFO - VM name : ctest-TestRoutersBasic-35228653-12542248 2026-09-28 18:36:19,606 - DEBUG - VM ctest-TestRoutersBasic-35228653-12542248 ID is c7160b5b-c3dd-41f5-9482-8d9d2c4ba3c8 2026-09-28 18:36:19,634 - DEBUG - VM ctest-TestRoutersBasic-35228653-12542248 launched on Node cn-jenkins-deploy-platform-ansible-os-6325-1 2026-09-28 18:36:19,739 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/c7160b5b-c3dd-41f5-9482-8d9d2c4ba3c8 2026-09-28 18:36:20,136 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/c7160b5b-c3dd-41f5-9482-8d9d2c4ba3c8 2026-09-28 18:36:20,176 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/48a43387-62dc-45c4-8349-227b49879237 2026-09-28 18:36:23,457 - 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-09-28 18:36:23,457 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-35228653-12542248 failed! 2026-09-28 18:36:23,519 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-35228653:ctest-vn-56042693 is 106.72.6.65 and allocation pool is NOT set 2026-09-28 18:36:27,594 - 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 1004ms') 2026-09-28 18:36:27,594 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-35228653-12542248 failed! 2026-09-28 18:36:27,654 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-35228653:ctest-vn-56042693 is 106.72.6.65 and allocation pool is NOT set 2026-09-28 18:36:29,720 - 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.71 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.652 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.652/2.680/4.708/2.028 ms') 2026-09-28 18:36:29,720 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-35228653-12542248 passed 2026-09-28 18:36:29,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-28 18:36:29,891 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35228653-12542248, IP 106.72.6.67, Port 22 2026-09-28 18:36:30,065 - DEBUG - VM ctest-TestRoutersBasic-35228653-12542248 is ready for SSH connections 2026-09-28 18:36:30,065 - INFO - Waiting for VM ctest-TestRoutersBasic-35228653-50847068 to be up.. 2026-09-28 18:36:30,209 - DEBUG - VM is in ACTIVE state now 2026-09-28 18:36:30,210 - INFO - VM name : ctest-TestRoutersBasic-35228653-50847068 2026-09-28 18:36:30,340 - DEBUG - VM ctest-TestRoutersBasic-35228653-50847068 ID is 12f2c1f0-4135-44b5-90c1-adc9109f9400 2026-09-28 18:36:30,340 - DEBUG - VM ctest-TestRoutersBasic-35228653-50847068 launched on Node cn-jenkins-deploy-platform-ansible-os-6325-1 2026-09-28 18:36:30,461 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/12f2c1f0-4135-44b5-90c1-adc9109f9400 2026-09-28 18:36:30,473 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/7c33e557-5234-4347-980d-5ceba3199b66 2026-09-28 18:36:33,863 - 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=8.32 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 8.323/8.323/8.323/0.000 ms') 2026-09-28 18:36:33,863 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-35228653-50847068 passed 2026-09-28 18:36:34,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-28 18:36:34,023 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35228653-50847068, IP 15.71.148.196, Port 22 2026-09-28 18:36:34,193 - DEBUG - VM ctest-TestRoutersBasic-35228653-50847068 is ready for SSH connections 2026-09-28 18:36:34,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-28 18:36:34,193 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.71.148.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-09-28 18:36:34,193 - DEBUG - ping -s 56 -c 3 -W 1 15.71.148.196 2026-09-28 18:36:37,392 - DEBUG - PING 15.71.148.196 (15.71.148.196): 56 data bytes 64 bytes from 15.71.148.196: seq=0 ttl=62 time=9.977 ms 64 bytes from 15.71.148.196: seq=1 ttl=62 time=1.601 ms 64 bytes from 15.71.148.196: seq=2 ttl=62 time=1.492 ms --- 15.71.148.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.492/4.356/9.977 ms 2026-09-28 18:36:37,392 - INFO - Ping to IP 15.71.148.196 from VM ctest-TestRoutersBasic-35228653-12542248 passed 2026-09-28 18:36:37,392 - INFO - Deleting interface with subnet_id 1675d645-06cc-4205-8a20-a16a4a9e1480, port_id None from router ece2021f-b06a-4ded-b6ee-99db521f541a 2026-09-28 18:36:37,687 - INFO - Deleting VM ctest-TestRoutersBasic-35228653-50847068 2026-09-28 18:36:37,783 - INFO - Deleting VM ctest-TestRoutersBasic-35228653-12542248 2026-09-28 18:36:37,889 - INFO - Deleting VN ctest-ext_vn-28813650 2026-09-28 18:36:38,048 - DEBUG - VN 4e004e8e-8c4f-4525-ac46-142402b60266 still in use: Unable to complete operation on network 4e004e8e-8c4f-4525-ac46-142402b60266. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-69300177-9d58-44b7-8b3f-e061d2ba9975'] 2026-09-28 18:36:38,048 - WARNING - Deleting VN ctest-ext_vn-28813650 failed..Will retry 2026-09-28 18:36:40,106 - DEBUG - VN 4e004e8e-8c4f-4525-ac46-142402b60266 still in use: Unable to complete operation on network 4e004e8e-8c4f-4525-ac46-142402b60266. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8ea3a6e3-a5c7-4308-ac27-53e531e90303'] 2026-09-28 18:36:40,106 - WARNING - Deleting VN ctest-ext_vn-28813650 failed..Will retry 2026-09-28 18:36:42,266 - DEBUG - Response for deleting network () 2026-09-28 18:36:42,266 - INFO - Deleting VN ctest-vn-56042693 2026-09-28 18:36:42,445 - DEBUG - Response for deleting network () 2026-09-28 18:36:42,723 - DEBUG - No XMPP flaps were noticed during the test 2026-09-28 18:36:42,723 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:09] 2026-09-28 18:36:42,723 - INFO - -------------------------------------------------------------------------------- 2026-09-28 18:36:43,587 - INFO - Deleted project: ctest-TestRoutersBasic-35228653, ID : 3aa17eef-3fce-4e2c-acda-cededcdc4977