2026-04-23 02:24:47,223 - INFO - Domain Default found not creating 2026-04-23 02:24:47,386 - INFO - Project ctest-TestRoutersBasic-18587993 not found, creating it 2026-04-23 02:24:47,841 - INFO - Created Project:ctest-TestRoutersBasic-18587993, ID : eb30db02-6163-4cde-9352-f56850184723 2026-04-23 02:24:49,337 - INFO - ================================================================================ 2026-04-23 02:24:49,337 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-23 02:24:49,337 - 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-04-23 02:24:49,594 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.201': '0'}} with 2026-04-23 02:24:49,594 - INFO - Initial checks done. Running the testcase now 2026-04-23 02:24:49,594 - INFO - 2026-04-23 02:24:50,303 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-18587993 2026-04-23 02:24:50,396 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-18587993 2026-04-23 02:24:50,716 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18587993', 'default']} 2026-04-23 02:24:50,986 - DEBUG - Response for create_network : {'network': {'id': '22a87ca9-aeb3-4dda-ba6c-cd1d6807ddfb', 'name': 'ctest-vn-15364798', 'tenant_id': 'eb30db0261634cde9352f56850184723', 'project_id': 'eb30db0261634cde9352f56850184723', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18587993', 'ctest-vn-15364798'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 02:24:51,187 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f43c68e-ad44-4c29-93f7-e817d0a6d9c3', 'name': '', 'tenant_id': 'eb30db0261634cde9352f56850184723', 'network_id': '22a87ca9-aeb3-4dda-ba6c-cd1d6807ddfb', 'ip_version': 4, 'cidr': '166.248.196.192/26', 'allocation_pools': [{'start': '166.248.196.194', 'end': '166.248.196.254'}], 'gateway_ip': '166.248.196.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.248.196.194', 'tags': [], 'project_id': 'eb30db0261634cde9352f56850184723'}} 2026-04-23 02:24:51,202 - INFO - Created VN ctest-vn-15364798 2026-04-23 02:24:51,252 - DEBUG - VN ctest-vn-15364798 UUID is 22a87ca9-aeb3-4dda-ba6c-cd1d6807ddfb 2026-04-23 02:24:51,577 - DEBUG - Response for create_network : {'network': {'id': '227cc342-85e4-4385-a1a9-b98078a7a366', 'name': 'ctest-ext_vn-65542434', 'tenant_id': 'eb30db0261634cde9352f56850184723', 'project_id': 'eb30db0261634cde9352f56850184723', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18587993', 'ctest-ext_vn-65542434'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 02:24:51,762 - DEBUG - Response for create_subnet : {'subnet': {'id': '202fe83d-d09c-40ce-bfc8-236b855be0b5', 'name': '', 'tenant_id': 'eb30db0261634cde9352f56850184723', 'network_id': '227cc342-85e4-4385-a1a9-b98078a7a366', 'ip_version': 4, 'cidr': '62.192.143.64/26', 'allocation_pools': [{'start': '62.192.143.66', 'end': '62.192.143.126'}], 'gateway_ip': '62.192.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.192.143.66', 'tags': [], 'project_id': 'eb30db0261634cde9352f56850184723'}} 2026-04-23 02:24:51,776 - INFO - Created VN ctest-ext_vn-65542434 2026-04-23 02:24:51,828 - DEBUG - VN ctest-ext_vn-65542434 UUID is 227cc342-85e4-4385-a1a9-b98078a7a366 2026-04-23 02:24:51,995 - DEBUG - Services list from nova: [, , ] 2026-04-23 02:24:53,029 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5674-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5674-1) 2026-04-23 02:24:54,182 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5674-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5674-1) 2026-04-23 02:24:54,249 - INFO - Setting gateway for router 96563ff8-2a8a-47f1-b325-240f1da4001b to network 227cc342-85e4-4385-a1a9-b98078a7a366 2026-04-23 02:24:54,304 - INFO - Adding interface with subnet_id 6f43c68e-ad44-4c29-93f7-e817d0a6d9c3, port_id None to router 96563ff8-2a8a-47f1-b325-240f1da4001b 2026-04-23 02:24:54,630 - INFO - Waiting for VM ctest-TestRoutersBasic-18587993-84657399 to be up.. 2026-04-23 02:24:54,816 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 02:24:59,886 - DEBUG - VM is in ACTIVE state now 2026-04-23 02:24:59,886 - INFO - VM name : ctest-TestRoutersBasic-18587993-84657399 2026-04-23 02:24:59,961 - DEBUG - VM ctest-TestRoutersBasic-18587993-84657399 ID is e3ee2d16-61f4-4c3a-8b6c-1fba7afaf4c2 2026-04-23 02:24:59,979 - DEBUG - VM ctest-TestRoutersBasic-18587993-84657399 launched on Node cn-jenkins-deploy-platform-ansible-os-5674-1 2026-04-23 02:25:00,052 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e3ee2d16-61f4-4c3a-8b6c-1fba7afaf4c2 2026-04-23 02:25:00,369 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e3ee2d16-61f4-4c3a-8b6c-1fba7afaf4c2 2026-04-23 02:25:00,404 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/175cbd17-cc95-42bb-86da-3a7051d1738c 2026-04-23 02:25:03,669 - 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 1026ms') 2026-04-23 02:25:03,669 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18587993-84657399 failed! 2026-04-23 02:25:03,728 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18587993:ctest-vn-15364798 is 166.248.196.193 and allocation pool is NOT set 2026-04-23 02:25:05,786 - 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=2.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.529 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 = 0.529/1.671/2.813/1.142 ms') 2026-04-23 02:25:05,786 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18587993-84657399 passed 2026-04-23 02:25:05,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:25:05,936 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18587993-84657399, IP 166.248.196.195, Port 22 2026-04-23 02:25:06,091 - DEBUG - VM ctest-TestRoutersBasic-18587993-84657399 is ready for SSH connections 2026-04-23 02:25:06,091 - INFO - Waiting for VM ctest-TestRoutersBasic-18587993-74622660 to be up.. 2026-04-23 02:25:06,172 - DEBUG - VM is in ACTIVE state now 2026-04-23 02:25:06,172 - INFO - VM name : ctest-TestRoutersBasic-18587993-74622660 2026-04-23 02:25:06,248 - DEBUG - VM ctest-TestRoutersBasic-18587993-74622660 ID is 3424d8a3-b510-4bf2-9afa-698a50622b80 2026-04-23 02:25:06,248 - DEBUG - VM ctest-TestRoutersBasic-18587993-74622660 launched on Node cn-jenkins-deploy-platform-ansible-os-5674-1 2026-04-23 02:25:06,316 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3424d8a3-b510-4bf2-9afa-698a50622b80 2026-04-23 02:25:06,324 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/113b9fde-700f-4b50-92fc-1f48d8df89bf 2026-04-23 02:25:07,559 - 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=2.85 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 1002ms\r\nrtt min/avg/max/mdev = 0.510/1.682/2.854/1.172 ms') 2026-04-23 02:25:07,559 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-18587993-74622660 passed 2026-04-23 02:25:07,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:25:07,708 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18587993-74622660, IP 62.192.143.67, Port 22 2026-04-23 02:25:07,886 - DEBUG - VM ctest-TestRoutersBasic-18587993-74622660 is ready for SSH connections 2026-04-23 02:25:07,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 02:25:07,886 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.192.143.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-23 02:25:07,886 - DEBUG - ping -s 56 -c 3 -W 1 62.192.143.67 2026-04-23 02:25:11,605 - DEBUG - PING 62.192.143.67 (62.192.143.67): 56 data bytes 64 bytes from 62.192.143.67: seq=0 ttl=62 time=4.831 ms 64 bytes from 62.192.143.67: seq=1 ttl=62 time=0.870 ms 64 bytes from 62.192.143.67: seq=2 ttl=62 time=1.327 ms --- 62.192.143.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.870/2.342/4.831 ms 2026-04-23 02:25:11,606 - INFO - Ping to IP 62.192.143.67 from VM ctest-TestRoutersBasic-18587993-84657399 passed 2026-04-23 02:25:11,606 - INFO - Deleting interface with subnet_id 6f43c68e-ad44-4c29-93f7-e817d0a6d9c3, port_id None from router 96563ff8-2a8a-47f1-b325-240f1da4001b 2026-04-23 02:25:11,784 - INFO - Deleting VM ctest-TestRoutersBasic-18587993-74622660 2026-04-23 02:25:11,851 - INFO - Deleting VM ctest-TestRoutersBasic-18587993-84657399 2026-04-23 02:25:11,925 - INFO - Deleting VN ctest-ext_vn-65542434 2026-04-23 02:25:11,992 - DEBUG - VN 227cc342-85e4-4385-a1a9-b98078a7a366 still in use: Unable to complete operation on network 227cc342-85e4-4385-a1a9-b98078a7a366. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-998c774d-51fb-4ec1-87e6-60f4608d53c7'] 2026-04-23 02:25:11,992 - WARNING - Deleting VN ctest-ext_vn-65542434 failed..Will retry 2026-04-23 02:25:14,086 - DEBUG - Response for deleting network () 2026-04-23 02:25:14,086 - INFO - Deleting VN ctest-vn-15364798 2026-04-23 02:25:14,186 - DEBUG - Response for deleting network () 2026-04-23 02:25:14,445 - DEBUG - No XMPP flaps were noticed during the test
2026-04-23 02:25:14,445 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-04-23 02:25:14,445 - INFO - -------------------------------------------------------------------------------- 2026-04-23 02:25:15,129 - INFO - Deleted project: ctest-TestRoutersBasic-18587993, ID : eb30db02-6163-4cde-9352-f56850184723