2026-09-02 06:08:55,127 - INFO - Domain Default found not creating 2026-09-02 06:08:55,344 - INFO - Project ctest-TestRoutersBasic-47112463 not found, creating it 2026-09-02 06:08:55,885 - INFO - Created Project:ctest-TestRoutersBasic-47112463, ID : 463f7632-b596-4b5d-ae48-778b42dac0ad 2026-09-02 06:08:57,593 - INFO - ================================================================================ 2026-09-02 06:08:57,593 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-02 06:08:57,593 - 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-02 06:08:57,870 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.17': '0'}} with 2026-09-02 06:08:57,870 - INFO - Initial checks done. Running the testcase now 2026-09-02 06:08:57,870 - INFO - 2026-09-02 06:08:58,714 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-47112463 2026-09-02 06:08:58,818 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-47112463 2026-09-02 06:08:59,158 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47112463', 'default']} 2026-09-02 06:08:59,536 - DEBUG - Response for create_network : {'network': {'id': 'a8810a1d-0fa1-450d-b402-2b9f1a9645f3', 'name': 'ctest-vn-95243328', 'tenant_id': '463f7632b5964b5dae48778b42dac0ad', 'project_id': '463f7632b5964b5dae48778b42dac0ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47112463', 'ctest-vn-95243328'], 'port_security_enabled': True, 'description': ''}} 2026-09-02 06:08:59,728 - DEBUG - Response for create_subnet : {'subnet': {'id': '173370ea-be2d-4ddf-9bbd-d69e3ed503ee', 'name': '', 'tenant_id': '463f7632b5964b5dae48778b42dac0ad', 'network_id': 'a8810a1d-0fa1-450d-b402-2b9f1a9645f3', 'ip_version': 4, 'cidr': '151.238.124.128/26', 'allocation_pools': [{'start': '151.238.124.130', 'end': '151.238.124.190'}], 'gateway_ip': '151.238.124.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.238.124.130', 'tags': [], 'project_id': '463f7632b5964b5dae48778b42dac0ad'}} 2026-09-02 06:08:59,749 - INFO - Created VN ctest-vn-95243328 2026-09-02 06:08:59,806 - DEBUG - VN ctest-vn-95243328 UUID is a8810a1d-0fa1-450d-b402-2b9f1a9645f3 2026-09-02 06:09:00,164 - DEBUG - Response for create_network : {'network': {'id': 'f3856a8e-f339-43b6-b1b1-010980b569a1', 'name': 'ctest-ext_vn-18753281', 'tenant_id': '463f7632b5964b5dae48778b42dac0ad', 'project_id': '463f7632b5964b5dae48778b42dac0ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47112463', 'ctest-ext_vn-18753281'], 'port_security_enabled': True, 'description': ''}} 2026-09-02 06:09:00,383 - DEBUG - Response for create_subnet : {'subnet': {'id': '4245af85-52ce-4d40-b01c-e5837acbdae6', 'name': '', 'tenant_id': '463f7632b5964b5dae48778b42dac0ad', 'network_id': 'f3856a8e-f339-43b6-b1b1-010980b569a1', 'ip_version': 4, 'cidr': '45.246.230.128/26', 'allocation_pools': [{'start': '45.246.230.130', 'end': '45.246.230.190'}], 'gateway_ip': '45.246.230.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.246.230.130', 'tags': [], 'project_id': '463f7632b5964b5dae48778b42dac0ad'}} 2026-09-02 06:09:00,406 - INFO - Created VN ctest-ext_vn-18753281 2026-09-02 06:09:00,458 - DEBUG - VN ctest-ext_vn-18753281 UUID is f3856a8e-f339-43b6-b1b1-010980b569a1 2026-09-02 06:09:00,658 - DEBUG - Services list from nova: [, , ] 2026-09-02 06:09:01,061 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6247-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6247-1) 2026-09-02 06:09:01,553 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6247-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6247-1) 2026-09-02 06:09:01,659 - INFO - Setting gateway for router d7b3fefe-e515-473a-8e78-3d8fcfd75b56 to network f3856a8e-f339-43b6-b1b1-010980b569a1 2026-09-02 06:09:01,753 - INFO - Adding interface with subnet_id 173370ea-be2d-4ddf-9bbd-d69e3ed503ee, port_id None to router d7b3fefe-e515-473a-8e78-3d8fcfd75b56 2026-09-02 06:09:02,164 - INFO - Waiting for VM ctest-TestRoutersBasic-47112463-96803223 to be up.. 2026-09-02 06:09:02,280 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 06:09:07,381 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 06:09:12,573 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 06:09:17,673 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 06:09:22,765 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 06:09:27,863 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 06:09:32,961 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 06:09:38,049 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 06:09:43,148 - DEBUG - VM is in ACTIVE state now 2026-09-02 06:09:43,148 - INFO - VM name : ctest-TestRoutersBasic-47112463-96803223 2026-09-02 06:09:43,245 - DEBUG - VM ctest-TestRoutersBasic-47112463-96803223 ID is c17404ed-ca4f-4b4c-8815-a177a94d254c 2026-09-02 06:09:43,272 - DEBUG - VM ctest-TestRoutersBasic-47112463-96803223 launched on Node cn-jenkins-deploy-platform-ansible-os-6247-1 2026-09-02 06:09:43,372 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/c17404ed-ca4f-4b4c-8815-a177a94d254c 2026-09-02 06:09:43,715 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/c17404ed-ca4f-4b4c-8815-a177a94d254c 2026-09-02 06:09:43,749 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/b815d4bc-8b7f-4836-932a-171d7a70d452 2026-09-02 06:09:47,011 - 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 1005ms') 2026-09-02 06:09:47,011 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-47112463-96803223 failed! 2026-09-02 06:09:47,066 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-47112463:ctest-vn-95243328 is 151.238.124.129 and allocation pool is NOT set 2026-09-02 06:09:49,133 - 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.36 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.21 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.206/2.785/4.364/1.579 ms') 2026-09-02 06:09:49,133 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-47112463-96803223 passed 2026-09-02 06:09:49,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 06:09:49,295 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47112463-96803223, IP 151.238.124.131, Port 22 2026-09-02 06:09:49,469 - DEBUG - VM ctest-TestRoutersBasic-47112463-96803223 is ready for SSH connections 2026-09-02 06:09:49,469 - INFO - Waiting for VM ctest-TestRoutersBasic-47112463-47692990 to be up.. 2026-09-02 06:09:49,557 - DEBUG - VM is in ACTIVE state now 2026-09-02 06:09:49,558 - INFO - VM name : ctest-TestRoutersBasic-47112463-47692990 2026-09-02 06:09:49,648 - DEBUG - VM ctest-TestRoutersBasic-47112463-47692990 ID is 030b04f2-2dcd-42c1-8009-b2ecf12d5c7b 2026-09-02 06:09:49,648 - DEBUG - VM ctest-TestRoutersBasic-47112463-47692990 launched on Node cn-jenkins-deploy-platform-ansible-os-6247-1 2026-09-02 06:09:49,733 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/030b04f2-2dcd-42c1-8009-b2ecf12d5c7b 2026-09-02 06:09:49,744 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/77046394-a16b-45ec-a4b5-42102ca66b0f 2026-09-02 06:09:51,004 - 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=1 ttl=63 time=4.21 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.90 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.904/3.059/4.214/1.155 ms') 2026-09-02 06:09:51,004 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-47112463-47692990 passed 2026-09-02 06:09:51,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 06:09:51,159 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47112463-47692990, IP 45.246.230.132, Port 22 2026-09-02 06:09:51,328 - DEBUG - VM ctest-TestRoutersBasic-47112463-47692990 is ready for SSH connections 2026-09-02 06:09:51,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 06:09:51,329 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.246.230.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-09-02 06:09:51,329 - DEBUG - ping -s 56 -c 3 -W 1 45.246.230.132 2026-09-02 06:09:54,475 - DEBUG - PING 45.246.230.132 (45.246.230.132): 56 data bytes 64 bytes from 45.246.230.132: seq=0 ttl=62 time=6.940 ms 64 bytes from 45.246.230.132: seq=1 ttl=62 time=1.300 ms 64 bytes from 45.246.230.132: seq=2 ttl=62 time=1.392 ms --- 45.246.230.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.300/3.210/6.940 ms 2026-09-02 06:09:54,475 - INFO - Ping to IP 45.246.230.132 from VM ctest-TestRoutersBasic-47112463-96803223 passed 2026-09-02 06:09:54,476 - INFO - Deleting interface with subnet_id 173370ea-be2d-4ddf-9bbd-d69e3ed503ee, port_id None from router d7b3fefe-e515-473a-8e78-3d8fcfd75b56 2026-09-02 06:09:54,713 - INFO - Deleting VM ctest-TestRoutersBasic-47112463-47692990 2026-09-02 06:09:54,800 - INFO - Deleting VM ctest-TestRoutersBasic-47112463-96803223 2026-09-02 06:09:54,902 - INFO - Deleting VN ctest-ext_vn-18753281 2026-09-02 06:09:54,978 - DEBUG - VN f3856a8e-f339-43b6-b1b1-010980b569a1 still in use: Unable to complete operation on network f3856a8e-f339-43b6-b1b1-010980b569a1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-01b369b3-7f42-4dd7-b457-76338c11ecd5'] 2026-09-02 06:09:54,978 - WARNING - Deleting VN ctest-ext_vn-18753281 failed..Will retry 2026-09-02 06:09:57,195 - DEBUG - Response for deleting network () 2026-09-02 06:09:57,195 - INFO - Deleting VN ctest-vn-95243328 2026-09-02 06:09:57,341 - DEBUG - Response for deleting network () 2026-09-02 06:09:57,616 - DEBUG - No XMPP flaps were noticed during the test
2026-09-02 06:09:57,616 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:00]
2026-09-02 06:09:57,616 - INFO - -------------------------------------------------------------------------------- 2026-09-02 06:09:58,507 - INFO - Deleted project: ctest-TestRoutersBasic-47112463, ID : 463f7632-b596-4b5d-ae48-778b42dac0ad