2026-06-04 02:24:47,049 - INFO - Domain Default found not creating 2026-06-04 02:24:47,226 - INFO - Project ctest-TestRoutersBasic-52409951 not found, creating it 2026-06-04 02:24:47,683 - INFO - Created Project:ctest-TestRoutersBasic-52409951, ID : be3fcbe9-4e24-4a02-a7c5-9342944b09d3 2026-06-04 02:24:49,158 - INFO - ================================================================================ 2026-06-04 02:24:49,158 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-04 02:24:49,158 - 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-06-04 02:24:49,412 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2026-06-04 02:24:49,412 - INFO - Initial checks done. Running the testcase now 2026-06-04 02:24:49,413 - INFO - 2026-06-04 02:24:50,131 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-52409951 2026-06-04 02:24:50,231 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-52409951 2026-06-04 02:24:50,547 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52409951', 'default']} 2026-06-04 02:24:50,837 - DEBUG - Response for create_network : {'network': {'id': '6984cba4-2b60-405f-bd5e-1bc6f2816afd', 'name': 'ctest-vn-35727152', 'tenant_id': 'be3fcbe94e244a02a7c59342944b09d3', 'project_id': 'be3fcbe94e244a02a7c59342944b09d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52409951', 'ctest-vn-35727152'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 02:24:51,031 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d4c7517-2f2a-4b22-8644-50f2a7a1d053', 'name': '', 'tenant_id': 'be3fcbe94e244a02a7c59342944b09d3', 'network_id': '6984cba4-2b60-405f-bd5e-1bc6f2816afd', 'ip_version': 4, 'cidr': '49.75.176.128/26', 'allocation_pools': [{'start': '49.75.176.130', 'end': '49.75.176.190'}], 'gateway_ip': '49.75.176.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.75.176.130', 'tags': [], 'project_id': 'be3fcbe94e244a02a7c59342944b09d3'}} 2026-06-04 02:24:51,048 - INFO - Created VN ctest-vn-35727152 2026-06-04 02:24:51,099 - DEBUG - VN ctest-vn-35727152 UUID is 6984cba4-2b60-405f-bd5e-1bc6f2816afd 2026-06-04 02:24:51,390 - DEBUG - Response for create_network : {'network': {'id': '9a9e8999-b715-4021-a770-ccf522887081', 'name': 'ctest-ext_vn-26076057', 'tenant_id': 'be3fcbe94e244a02a7c59342944b09d3', 'project_id': 'be3fcbe94e244a02a7c59342944b09d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52409951', 'ctest-ext_vn-26076057'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 02:24:51,542 - DEBUG - Response for create_subnet : {'subnet': {'id': '118d990b-1fa2-4afa-9d80-2ac5f8ee2bc0', 'name': '', 'tenant_id': 'be3fcbe94e244a02a7c59342944b09d3', 'network_id': '9a9e8999-b715-4021-a770-ccf522887081', 'ip_version': 4, 'cidr': '69.204.184.64/26', 'allocation_pools': [{'start': '69.204.184.66', 'end': '69.204.184.126'}], 'gateway_ip': '69.204.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.204.184.66', 'tags': [], 'project_id': 'be3fcbe94e244a02a7c59342944b09d3'}} 2026-06-04 02:24:51,565 - INFO - Created VN ctest-ext_vn-26076057 2026-06-04 02:24:51,615 - DEBUG - VN ctest-ext_vn-26076057 UUID is 9a9e8999-b715-4021-a770-ccf522887081 2026-06-04 02:24:51,818 - DEBUG - Services list from nova: [, , ] 2026-06-04 02:24:52,844 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5887-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5887-1) 2026-06-04 02:24:53,993 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5887-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5887-1) 2026-06-04 02:24:54,060 - INFO - Setting gateway for router 80dc6cc1-a7cb-49d2-b5eb-16fe0cbf9932 to network 9a9e8999-b715-4021-a770-ccf522887081 2026-06-04 02:24:54,183 - INFO - Adding interface with subnet_id 9d4c7517-2f2a-4b22-8644-50f2a7a1d053, port_id None to router 80dc6cc1-a7cb-49d2-b5eb-16fe0cbf9932 2026-06-04 02:24:54,567 - INFO - Waiting for VM ctest-TestRoutersBasic-52409951-22827397 to be up.. 2026-06-04 02:24:54,718 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-04 02:24:59,805 - DEBUG - VM is in ACTIVE state now 2026-06-04 02:24:59,805 - INFO - VM name : ctest-TestRoutersBasic-52409951-22827397 2026-06-04 02:24:59,879 - DEBUG - VM ctest-TestRoutersBasic-52409951-22827397 ID is 3d750d7c-2eef-4297-b3a8-90ba848d31f5 2026-06-04 02:24:59,900 - DEBUG - VM ctest-TestRoutersBasic-52409951-22827397 launched on Node cn-jenkins-deploy-platform-ansible-os-5887-1 2026-06-04 02:24:59,977 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/3d750d7c-2eef-4297-b3a8-90ba848d31f5 2026-06-04 02:25:00,277 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/3d750d7c-2eef-4297-b3a8-90ba848d31f5 2026-06-04 02:25:00,310 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/0b0e32a8-13e8-474f-b9f6-321f35e127b7 2026-06-04 02:25:03,563 - 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 1015ms') 2026-06-04 02:25:03,563 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52409951-22827397 failed! 2026-06-04 02:25:03,619 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-52409951:ctest-vn-35727152 is 49.75.176.129 and allocation pool is NOT set 2026-06-04 02:25:05,685 - 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=5.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.04 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 = 1.044/3.446/5.848/2.402 ms') 2026-06-04 02:25:05,685 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52409951-22827397 passed 2026-06-04 02:25:05,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:25:05,839 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52409951-22827397, IP 49.75.176.131, Port 22 2026-06-04 02:25:05,995 - DEBUG - VM ctest-TestRoutersBasic-52409951-22827397 is ready for SSH connections 2026-06-04 02:25:05,995 - INFO - Waiting for VM ctest-TestRoutersBasic-52409951-97043840 to be up.. 2026-06-04 02:25:06,070 - DEBUG - VM is in ACTIVE state now 2026-06-04 02:25:06,070 - INFO - VM name : ctest-TestRoutersBasic-52409951-97043840 2026-06-04 02:25:06,142 - DEBUG - VM ctest-TestRoutersBasic-52409951-97043840 ID is 70a8ab78-be00-44c4-ad91-fb816e1777b0 2026-06-04 02:25:06,142 - DEBUG - VM ctest-TestRoutersBasic-52409951-97043840 launched on Node cn-jenkins-deploy-platform-ansible-os-5887-1 2026-06-04 02:25:06,214 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/70a8ab78-be00-44c4-ad91-fb816e1777b0 2026-06-04 02:25:06,221 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/298977a7-46c0-45c6-97b2-06b9f39d491b 2026-06-04 02:25:07,457 - 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=4.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.840 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.840/2.461/4.083/1.621 ms') 2026-06-04 02:25:07,457 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-52409951-97043840 passed 2026-06-04 02:25:07,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:25:07,607 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52409951-97043840, IP 69.204.184.67, Port 22 2026-06-04 02:25:07,767 - DEBUG - VM ctest-TestRoutersBasic-52409951-97043840 is ready for SSH connections 2026-06-04 02:25:07,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:25:07,767 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.204.184.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-06-04 02:25:07,768 - DEBUG - ping -s 56 -c 3 -W 1 69.204.184.67 2026-06-04 02:25:11,473 - DEBUG - PING 69.204.184.67 (69.204.184.67): 56 data bytes 64 bytes from 69.204.184.67: seq=0 ttl=62 time=6.701 ms 64 bytes from 69.204.184.67: seq=1 ttl=62 time=0.859 ms 64 bytes from 69.204.184.67: seq=2 ttl=62 time=0.935 ms --- 69.204.184.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.859/2.831/6.701 ms 2026-06-04 02:25:11,473 - INFO - Ping to IP 69.204.184.67 from VM ctest-TestRoutersBasic-52409951-22827397 passed 2026-06-04 02:25:11,473 - INFO - Deleting interface with subnet_id 9d4c7517-2f2a-4b22-8644-50f2a7a1d053, port_id None from router 80dc6cc1-a7cb-49d2-b5eb-16fe0cbf9932 2026-06-04 02:25:11,643 - INFO - Deleting VM ctest-TestRoutersBasic-52409951-97043840 2026-06-04 02:25:11,727 - INFO - Deleting VM ctest-TestRoutersBasic-52409951-22827397 2026-06-04 02:25:11,806 - INFO - Deleting VN ctest-ext_vn-26076057 2026-06-04 02:25:11,872 - DEBUG - VN 9a9e8999-b715-4021-a770-ccf522887081 still in use: Unable to complete operation on network 9a9e8999-b715-4021-a770-ccf522887081. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4c153666-de81-4057-80ac-6b5718b203c7'] 2026-06-04 02:25:11,872 - WARNING - Deleting VN ctest-ext_vn-26076057 failed..Will retry 2026-06-04 02:25:14,035 - DEBUG - Response for deleting network () 2026-06-04 02:25:14,035 - INFO - Deleting VN ctest-vn-35727152 2026-06-04 02:25:14,135 - DEBUG - Response for deleting network () 2026-06-04 02:25:14,398 - DEBUG - No XMPP flaps were noticed during the test
2026-06-04 02:25:14,398 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-06-04 02:25:14,398 - INFO - -------------------------------------------------------------------------------- 2026-06-04 02:25:15,082 - INFO - Deleted project: ctest-TestRoutersBasic-52409951, ID : be3fcbe9-4e24-4a02-a7c5-9342944b09d3