2026-05-26 13:41:39,279 - INFO - Domain Default found not creating 2026-05-26 13:41:39,450 - INFO - Project ctest-TestRoutersBasic-62657052 not found, creating it 2026-05-26 13:41:39,921 - INFO - Created Project:ctest-TestRoutersBasic-62657052, ID : e9460d79-b911-45f3-a5c5-1009e16e1e52 2026-05-26 13:41:41,451 - INFO - ================================================================================ 2026-05-26 13:41:41,452 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-26 13:41:41,452 - 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-05-26 13:41:41,706 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-05-26 13:41:41,706 - INFO - Initial checks done. Running the testcase now 2026-05-26 13:41:41,706 - INFO - 2026-05-26 13:41:42,432 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-62657052 2026-05-26 13:41:42,533 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-62657052 2026-05-26 13:41:42,856 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62657052', 'default']} 2026-05-26 13:41:43,169 - DEBUG - Response for create_network : {'network': {'id': 'a8b6bb32-f613-4f6a-a33e-13b916862a23', 'name': 'ctest-vn-19646908', 'tenant_id': 'e9460d79b91145f3a5c51009e16e1e52', 'project_id': 'e9460d79b91145f3a5c51009e16e1e52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62657052', 'ctest-vn-19646908'], 'port_security_enabled': True, 'description': ''}} 2026-05-26 13:41:43,350 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae38bbd9-c548-4570-b65a-77bea820cbbe', 'name': '', 'tenant_id': 'e9460d79b91145f3a5c51009e16e1e52', 'network_id': 'a8b6bb32-f613-4f6a-a33e-13b916862a23', 'ip_version': 4, 'cidr': '38.184.107.192/26', 'allocation_pools': [{'start': '38.184.107.194', 'end': '38.184.107.254'}], 'gateway_ip': '38.184.107.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.184.107.194', 'tags': [], 'project_id': 'e9460d79b91145f3a5c51009e16e1e52'}} 2026-05-26 13:41:43,370 - INFO - Created VN ctest-vn-19646908 2026-05-26 13:41:43,425 - DEBUG - VN ctest-vn-19646908 UUID is a8b6bb32-f613-4f6a-a33e-13b916862a23 2026-05-26 13:41:43,760 - DEBUG - Response for create_network : {'network': {'id': '6842862d-8401-4a0c-a76a-8c2f3fad3bea', 'name': 'ctest-ext_vn-82422175', 'tenant_id': 'e9460d79b91145f3a5c51009e16e1e52', 'project_id': 'e9460d79b91145f3a5c51009e16e1e52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62657052', 'ctest-ext_vn-82422175'], 'port_security_enabled': True, 'description': ''}} 2026-05-26 13:41:43,955 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9a43326-1e79-48ee-ad4a-b3e7a1da7fd1', 'name': '', 'tenant_id': 'e9460d79b91145f3a5c51009e16e1e52', 'network_id': '6842862d-8401-4a0c-a76a-8c2f3fad3bea', 'ip_version': 4, 'cidr': '11.3.103.192/26', 'allocation_pools': [{'start': '11.3.103.194', 'end': '11.3.103.254'}], 'gateway_ip': '11.3.103.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.3.103.194', 'tags': [], 'project_id': 'e9460d79b91145f3a5c51009e16e1e52'}} 2026-05-26 13:41:43,975 - INFO - Created VN ctest-ext_vn-82422175 2026-05-26 13:41:44,029 - DEBUG - VN ctest-ext_vn-82422175 UUID is 6842862d-8401-4a0c-a76a-8c2f3fad3bea 2026-05-26 13:41:44,200 - DEBUG - Services list from nova: [, , ] 2026-05-26 13:41:45,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5826-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5826-1) 2026-05-26 13:41:46,539 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5826-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5826-1) 2026-05-26 13:41:46,749 - INFO - Setting gateway for router 6e3b1581-95ba-443a-9f74-5293ba968b81 to network 6842862d-8401-4a0c-a76a-8c2f3fad3bea 2026-05-26 13:41:46,839 - INFO - Adding interface with subnet_id ae38bbd9-c548-4570-b65a-77bea820cbbe, port_id None to router 6e3b1581-95ba-443a-9f74-5293ba968b81 2026-05-26 13:41:47,347 - INFO - Waiting for VM ctest-TestRoutersBasic-62657052-60165722 to be up.. 2026-05-26 13:41:47,510 - DEBUG - VM is in ACTIVE state now 2026-05-26 13:41:47,510 - INFO - VM name : ctest-TestRoutersBasic-62657052-60165722 2026-05-26 13:41:47,625 - DEBUG - VM ctest-TestRoutersBasic-62657052-60165722 ID is 6a80c51a-da13-4045-b463-b0cfd0cbc47b 2026-05-26 13:41:47,646 - DEBUG - VM ctest-TestRoutersBasic-62657052-60165722 launched on Node cn-jenkins-deploy-platform-ansible-os-5826-1 2026-05-26 13:41:47,765 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6a80c51a-da13-4045-b463-b0cfd0cbc47b 2026-05-26 13:41:48,142 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6a80c51a-da13-4045-b463-b0cfd0cbc47b 2026-05-26 13:41:48,216 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1bfad62c-1ffd-48a3-a49b-14f8b98eb456 2026-05-26 13:41:51,480 - 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 1001ms') 2026-05-26 13:41:51,480 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62657052-60165722 failed! 2026-05-26 13:41:51,537 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-62657052:ctest-vn-19646908 is 38.184.107.193 and allocation pool is NOT set 2026-05-26 13:41:55,605 - 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 1007ms') 2026-05-26 13:41:55,605 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62657052-60165722 failed! 2026-05-26 13:41:55,661 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-62657052:ctest-vn-19646908 is 38.184.107.193 and allocation pool is NOT set 2026-05-26 13:41:57,720 - 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=4.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.81 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.805/3.636/4.468/0.831 ms') 2026-05-26 13:41:57,720 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62657052-60165722 passed 2026-05-26 13:41:57,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-26 13:41:57,873 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62657052-60165722, IP 38.184.107.195, Port 22 2026-05-26 13:41:58,042 - DEBUG - VM ctest-TestRoutersBasic-62657052-60165722 is ready for SSH connections 2026-05-26 13:41:58,042 - INFO - Waiting for VM ctest-TestRoutersBasic-62657052-21860139 to be up.. 2026-05-26 13:41:58,126 - DEBUG - VM is in ACTIVE state now 2026-05-26 13:41:58,126 - INFO - VM name : ctest-TestRoutersBasic-62657052-21860139 2026-05-26 13:41:58,202 - DEBUG - VM ctest-TestRoutersBasic-62657052-21860139 ID is 710fed88-1889-4946-8db4-8b38a470fe3c 2026-05-26 13:41:58,203 - DEBUG - VM ctest-TestRoutersBasic-62657052-21860139 launched on Node cn-jenkins-deploy-platform-ansible-os-5826-1 2026-05-26 13:41:58,280 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/710fed88-1889-4946-8db4-8b38a470fe3c 2026-05-26 13:41:58,289 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cf3f654c-8f90-4735-80ef-546f17a257f8 2026-05-26 13:41:59,533 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.557 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.557/1.742/2.927/1.185 ms') 2026-05-26 13:41:59,533 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-62657052-21860139 passed 2026-05-26 13:41:59,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-26 13:41:59,685 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62657052-21860139, IP 11.3.103.195, Port 22 2026-05-26 13:41:59,855 - DEBUG - VM ctest-TestRoutersBasic-62657052-21860139 is ready for SSH connections 2026-05-26 13:41:59,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-26 13:41:59,855 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.3.103.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-05-26 13:41:59,855 - DEBUG - ping -s 56 -c 3 -W 1 11.3.103.195 2026-05-26 13:42:03,637 - DEBUG - PING 11.3.103.195 (11.3.103.195): 56 data bytes 64 bytes from 11.3.103.195: seq=0 ttl=62 time=7.250 ms 64 bytes from 11.3.103.195: seq=1 ttl=62 time=1.050 ms 64 bytes from 11.3.103.195: seq=2 ttl=62 time=1.100 ms --- 11.3.103.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.050/3.133/7.250 ms 2026-05-26 13:42:03,637 - INFO - Ping to IP 11.3.103.195 from VM ctest-TestRoutersBasic-62657052-60165722 passed 2026-05-26 13:42:03,637 - INFO - Deleting interface with subnet_id ae38bbd9-c548-4570-b65a-77bea820cbbe, port_id None from router 6e3b1581-95ba-443a-9f74-5293ba968b81 2026-05-26 13:42:03,860 - INFO - Deleting VM ctest-TestRoutersBasic-62657052-21860139 2026-05-26 13:42:03,941 - INFO - Deleting VM ctest-TestRoutersBasic-62657052-60165722 2026-05-26 13:42:04,021 - INFO - Deleting VN ctest-ext_vn-82422175 2026-05-26 13:42:04,083 - DEBUG - VN 6842862d-8401-4a0c-a76a-8c2f3fad3bea still in use: Unable to complete operation on network 6842862d-8401-4a0c-a76a-8c2f3fad3bea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-377d002a-f973-4039-9b48-5a4ca16ff29c'] 2026-05-26 13:42:04,083 - WARNING - Deleting VN ctest-ext_vn-82422175 failed..Will retry 2026-05-26 13:42:06,190 - DEBUG - Response for deleting network () 2026-05-26 13:42:06,190 - INFO - Deleting VN ctest-vn-19646908 2026-05-26 13:42:06,318 - DEBUG - Response for deleting network () 2026-05-26 13:42:06,573 - DEBUG - No XMPP flaps were noticed during the test
2026-05-26 13:42:06,574 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-05-26 13:42:06,574 - INFO - -------------------------------------------------------------------------------- 2026-05-26 13:42:07,297 - INFO - Deleted project: ctest-TestRoutersBasic-62657052, ID : e9460d79-b911-45f3-a5c5-1009e16e1e52