2026-01-29 11:45:14,996 - INFO - Domain Default found not creating 2026-01-29 11:45:15,202 - INFO - Project ctest-TestRoutersBasic-71515272 not found, creating it 2026-01-29 11:45:15,676 - INFO - Created Project:ctest-TestRoutersBasic-71515272, ID : 9d90382d-b773-411d-a719-3176be31d2aa 2026-01-29 11:45:17,244 - INFO - ================================================================================ 2026-01-29 11:45:17,244 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-29 11:45:17,244 - 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-01-29 11:45:17,502 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-29 11:45:17,502 - INFO - Initial checks done. Running the testcase now 2026-01-29 11:45:17,502 - INFO - 2026-01-29 11:45:18,252 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-71515272 2026-01-29 11:45:18,348 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-71515272 2026-01-29 11:45:18,688 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71515272', 'default']} 2026-01-29 11:45:18,996 - DEBUG - Response for create_network : {'network': {'id': '55c9d517-3d71-41d2-a6d9-3c0aa3625607', 'name': 'ctest-vn-19205084', 'tenant_id': '9d90382db773411da7193176be31d2aa', 'project_id': '9d90382db773411da7193176be31d2aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71515272', 'ctest-vn-19205084'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 11:45:19,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b1c4540-08b7-44f1-ad91-fd34b3e7e0d4', 'name': '', 'tenant_id': '9d90382db773411da7193176be31d2aa', 'network_id': '55c9d517-3d71-41d2-a6d9-3c0aa3625607', 'ip_version': 4, 'cidr': '51.144.214.128/26', 'allocation_pools': [{'start': '51.144.214.130', 'end': '51.144.214.190'}], 'gateway_ip': '51.144.214.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.144.214.130', 'tags': [], 'project_id': '9d90382db773411da7193176be31d2aa'}} 2026-01-29 11:45:19,247 - INFO - Created VN ctest-vn-19205084 2026-01-29 11:45:19,300 - DEBUG - VN ctest-vn-19205084 UUID is 55c9d517-3d71-41d2-a6d9-3c0aa3625607 2026-01-29 11:45:19,631 - DEBUG - Response for create_network : {'network': {'id': '3d9826b7-48a3-49bc-86e7-805e46c77bc0', 'name': 'ctest-ext_vn-72633495', 'tenant_id': '9d90382db773411da7193176be31d2aa', 'project_id': '9d90382db773411da7193176be31d2aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71515272', 'ctest-ext_vn-72633495'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 11:45:19,900 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe35c43b-c295-4d90-ad0b-c8d8f373c13e', 'name': '', 'tenant_id': '9d90382db773411da7193176be31d2aa', 'network_id': '3d9826b7-48a3-49bc-86e7-805e46c77bc0', 'ip_version': 4, 'cidr': '176.161.145.0/26', 'allocation_pools': [{'start': '176.161.145.2', 'end': '176.161.145.62'}], 'gateway_ip': '176.161.145.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.161.145.2', 'tags': [], 'project_id': '9d90382db773411da7193176be31d2aa'}} 2026-01-29 11:45:19,920 - INFO - Created VN ctest-ext_vn-72633495 2026-01-29 11:45:19,971 - DEBUG - VN ctest-ext_vn-72633495 UUID is 3d9826b7-48a3-49bc-86e7-805e46c77bc0 2026-01-29 11:45:20,172 - DEBUG - Services list from nova: [, , ] 2026-01-29 11:45:21,257 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5123-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5123-1) 2026-01-29 11:45:22,491 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5123-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5123-1) 2026-01-29 11:45:22,603 - INFO - Setting gateway for router 928b0c2b-ee37-4b3d-b87a-8e66adcc9dfb to network 3d9826b7-48a3-49bc-86e7-805e46c77bc0 2026-01-29 11:45:22,715 - INFO - Adding interface with subnet_id 2b1c4540-08b7-44f1-ad91-fd34b3e7e0d4, port_id None to router 928b0c2b-ee37-4b3d-b87a-8e66adcc9dfb 2026-01-29 11:45:23,265 - INFO - Waiting for VM ctest-TestRoutersBasic-71515272-04842232 to be up.. 2026-01-29 11:45:23,445 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 11:45:28,529 - DEBUG - VM is in ACTIVE state now 2026-01-29 11:45:28,529 - INFO - VM name : ctest-TestRoutersBasic-71515272-04842232 2026-01-29 11:45:28,619 - DEBUG - VM ctest-TestRoutersBasic-71515272-04842232 ID is 88603de8-6296-4717-b382-7284a60cb53c 2026-01-29 11:45:28,642 - DEBUG - VM ctest-TestRoutersBasic-71515272-04842232 launched on Node cn-jenkins-deploy-platform-ansible-os-5123-1 2026-01-29 11:45:28,726 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/88603de8-6296-4717-b382-7284a60cb53c 2026-01-29 11:45:29,041 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/88603de8-6296-4717-b382-7284a60cb53c 2026-01-29 11:45:29,084 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/71d1b2e6-77db-43ae-a511-17701c3724a6 2026-01-29 11:45:32,345 - 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 1018ms') 2026-01-29 11:45:32,345 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71515272-04842232 failed! 2026-01-29 11:45:32,404 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-71515272:ctest-vn-19205084 is 51.144.214.129 and allocation pool is NOT set 2026-01-29 11:45:34,470 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.705 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.705/2.687/4.670/1.982 ms') 2026-01-29 11:45:34,470 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71515272-04842232 passed 2026-01-29 11:45:34,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 11:45:34,628 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71515272-04842232, IP 51.144.214.131, Port 22 2026-01-29 11:45:34,798 - DEBUG - VM ctest-TestRoutersBasic-71515272-04842232 is ready for SSH connections 2026-01-29 11:45:34,798 - INFO - Waiting for VM ctest-TestRoutersBasic-71515272-03386408 to be up.. 2026-01-29 11:45:34,894 - DEBUG - VM is in ACTIVE state now 2026-01-29 11:45:34,894 - INFO - VM name : ctest-TestRoutersBasic-71515272-03386408 2026-01-29 11:45:34,974 - DEBUG - VM ctest-TestRoutersBasic-71515272-03386408 ID is ac6e4bd1-6684-4806-8098-03bc5f690887 2026-01-29 11:45:34,974 - DEBUG - VM ctest-TestRoutersBasic-71515272-03386408 launched on Node cn-jenkins-deploy-platform-ansible-os-5123-1 2026-01-29 11:45:35,050 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ac6e4bd1-6684-4806-8098-03bc5f690887 2026-01-29 11:45:35,058 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dac66659-7ed4-41d4-bdf8-4fbac1384c47 2026-01-29 11:45:36,300 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.00 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 = 1.004/2.583/4.162/1.579 ms') 2026-01-29 11:45:36,300 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-71515272-03386408 passed 2026-01-29 11:45:36,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 11:45:36,452 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71515272-03386408, IP 176.161.145.3, Port 22 2026-01-29 11:45:36,518 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-01-29 11:45:36,603 - DEBUG - VM ctest-TestRoutersBasic-71515272-03386408 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-29 11:45:41,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 11:45:41,604 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71515272-03386408, IP 176.161.145.3, Port 22 2026-01-29 11:45:41,759 - DEBUG - VM ctest-TestRoutersBasic-71515272-03386408 is ready for SSH connections 2026-01-29 11:45:41,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 11:45:41,760 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.161.145.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-29 11:45:41,760 - DEBUG - ping -s 56 -c 3 -W 1 176.161.145.3 2026-01-29 11:45:45,497 - DEBUG - PING 176.161.145.3 (176.161.145.3): 56 data bytes 64 bytes from 176.161.145.3: seq=0 ttl=62 time=6.334 ms 64 bytes from 176.161.145.3: seq=1 ttl=62 time=1.146 ms 64 bytes from 176.161.145.3: seq=2 ttl=62 time=1.127 ms --- 176.161.145.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.127/2.869/6.334 ms 2026-01-29 11:45:45,497 - INFO - Ping to IP 176.161.145.3 from VM ctest-TestRoutersBasic-71515272-04842232 passed 2026-01-29 11:45:45,497 - INFO - Deleting interface with subnet_id 2b1c4540-08b7-44f1-ad91-fd34b3e7e0d4, port_id None from router 928b0c2b-ee37-4b3d-b87a-8e66adcc9dfb 2026-01-29 11:45:45,681 - INFO - Deleting VM ctest-TestRoutersBasic-71515272-03386408 2026-01-29 11:45:45,756 - INFO - Deleting VM ctest-TestRoutersBasic-71515272-04842232 2026-01-29 11:45:45,852 - INFO - Deleting VN ctest-ext_vn-72633495 2026-01-29 11:45:45,922 - DEBUG - VN 3d9826b7-48a3-49bc-86e7-805e46c77bc0 still in use: Unable to complete operation on network 3d9826b7-48a3-49bc-86e7-805e46c77bc0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b1cb8e00-5c4f-42d0-93fc-2aa54810148c'] 2026-01-29 11:45:45,923 - WARNING - Deleting VN ctest-ext_vn-72633495 failed..Will retry 2026-01-29 11:45:48,029 - DEBUG - Response for deleting network () 2026-01-29 11:45:48,029 - INFO - Deleting VN ctest-vn-19205084 2026-01-29 11:45:48,122 - DEBUG - Response for deleting network () 2026-01-29 11:45:48,388 - DEBUG - No XMPP flaps were noticed during the test 2026-01-29 11:45:48,388 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-01-29 11:45:48,388 - INFO - -------------------------------------------------------------------------------- 2026-01-29 11:45:49,103 - INFO - Deleted project: ctest-TestRoutersBasic-71515272, ID : 9d90382d-b773-411d-a719-3176be31d2aa