2026-04-23 01:59:14,593 - INFO - Domain Default found not creating 2026-04-23 01:59:14,744 - INFO - Project ctest-TestRoutersBasic-99015688 not found, creating it 2026-04-23 01:59:15,181 - INFO - Created Project:ctest-TestRoutersBasic-99015688, ID : d10a73e2-0644-4ec2-a282-15369cf87f32 2026-04-23 01:59:16,579 - INFO - ================================================================================ 2026-04-23 01:59:16,579 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-23 01:59:16,579 - 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 01:59:16,832 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-23 01:59:16,833 - INFO - Initial checks done. Running the testcase now 2026-04-23 01:59:16,833 - INFO - 2026-04-23 01:59:17,531 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-99015688 2026-04-23 01:59:17,627 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-99015688 2026-04-23 01:59:17,951 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99015688', 'default']} 2026-04-23 01:59:18,224 - DEBUG - Response for create_network : {'network': {'id': '848d9080-2d9e-4c75-b22c-9e8bfe30c165', 'name': 'ctest-vn-15401928', 'tenant_id': 'd10a73e206444ec2a28215369cf87f32', 'project_id': 'd10a73e206444ec2a28215369cf87f32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99015688', 'ctest-vn-15401928'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 01:59:18,382 - DEBUG - Response for create_subnet : {'subnet': {'id': '45875c11-ce07-4378-a608-59393e5fb053', 'name': '', 'tenant_id': 'd10a73e206444ec2a28215369cf87f32', 'network_id': '848d9080-2d9e-4c75-b22c-9e8bfe30c165', 'ip_version': 4, 'cidr': '30.254.176.0/26', 'allocation_pools': [{'start': '30.254.176.2', 'end': '30.254.176.62'}], 'gateway_ip': '30.254.176.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.254.176.2', 'tags': [], 'project_id': 'd10a73e206444ec2a28215369cf87f32'}} 2026-04-23 01:59:18,397 - INFO - Created VN ctest-vn-15401928 2026-04-23 01:59:18,447 - DEBUG - VN ctest-vn-15401928 UUID is 848d9080-2d9e-4c75-b22c-9e8bfe30c165 2026-04-23 01:59:18,757 - DEBUG - Response for create_network : {'network': {'id': 'a333fa4a-46d7-4c55-9ccf-f5d44efa78f6', 'name': 'ctest-ext_vn-20427322', 'tenant_id': 'd10a73e206444ec2a28215369cf87f32', 'project_id': 'd10a73e206444ec2a28215369cf87f32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99015688', 'ctest-ext_vn-20427322'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 01:59:18,893 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a29c803e-1760-420f-b60f-f2233fdf4b8d', 'name': '', 'tenant_id': 'd10a73e206444ec2a28215369cf87f32', 'network_id': 'a333fa4a-46d7-4c55-9ccf-f5d44efa78f6', 'ip_version': 4, 'cidr': '130.58.56.64/26', 'allocation_pools': [{'start': '130.58.56.66', 'end': '130.58.56.126'}], 'gateway_ip': '130.58.56.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.58.56.66', 'tags': [], 'project_id': 'd10a73e206444ec2a28215369cf87f32'}} 2026-04-23 01:59:18,907 - INFO - Created VN ctest-ext_vn-20427322 2026-04-23 01:59:18,955 - DEBUG - VN ctest-ext_vn-20427322 UUID is a333fa4a-46d7-4c55-9ccf-f5d44efa78f6 2026-04-23 01:59:19,150 - DEBUG - Services list from nova: [, , ] 2026-04-23 01:59:20,107 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5671-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5671-1) 2026-04-23 01:59:21,165 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5671-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5671-1) 2026-04-23 01:59:21,236 - INFO - Setting gateway for router 62838ca7-0ea5-4131-af09-e8c9ba0a79d2 to network a333fa4a-46d7-4c55-9ccf-f5d44efa78f6 2026-04-23 01:59:21,285 - INFO - Adding interface with subnet_id 45875c11-ce07-4378-a608-59393e5fb053, port_id None to router 62838ca7-0ea5-4131-af09-e8c9ba0a79d2 2026-04-23 01:59:21,593 - INFO - Waiting for VM ctest-TestRoutersBasic-99015688-47879038 to be up.. 2026-04-23 01:59:21,722 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 01:59:26,790 - DEBUG - VM is in ACTIVE state now 2026-04-23 01:59:26,790 - INFO - VM name : ctest-TestRoutersBasic-99015688-47879038 2026-04-23 01:59:26,862 - DEBUG - VM ctest-TestRoutersBasic-99015688-47879038 ID is d5bb5b6a-2f2d-463a-9496-c31b5d69a4b9 2026-04-23 01:59:26,880 - DEBUG - VM ctest-TestRoutersBasic-99015688-47879038 launched on Node cn-jenkins-deploy-platform-ansible-os-5671-1 2026-04-23 01:59:26,949 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d5bb5b6a-2f2d-463a-9496-c31b5d69a4b9 2026-04-23 01:59:27,249 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d5bb5b6a-2f2d-463a-9496-c31b5d69a4b9 2026-04-23 01:59:27,290 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b4242b74-59f8-4a4f-b5ed-5bf6b00e711a 2026-04-23 01:59:30,550 - 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 1023ms') 2026-04-23 01:59:30,550 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99015688-47879038 failed! 2026-04-23 01:59:30,603 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-99015688:ctest-vn-15401928 is 30.254.176.1 and allocation pool is NOT set 2026-04-23 01:59:32,669 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.335 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.335/1.502/2.669/1.167 ms') 2026-04-23 01:59:32,669 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99015688-47879038 passed 2026-04-23 01:59:32,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 01:59:32,819 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99015688-47879038, IP 30.254.176.3, Port 22 2026-04-23 01:59:32,970 - DEBUG - VM ctest-TestRoutersBasic-99015688-47879038 is ready for SSH connections 2026-04-23 01:59:32,970 - INFO - Waiting for VM ctest-TestRoutersBasic-99015688-83884333 to be up.. 2026-04-23 01:59:33,035 - DEBUG - VM is in ACTIVE state now 2026-04-23 01:59:33,036 - INFO - VM name : ctest-TestRoutersBasic-99015688-83884333 2026-04-23 01:59:33,099 - DEBUG - VM ctest-TestRoutersBasic-99015688-83884333 ID is b1687af8-794c-4447-adbf-2d3aee1c6dc8 2026-04-23 01:59:33,099 - DEBUG - VM ctest-TestRoutersBasic-99015688-83884333 launched on Node cn-jenkins-deploy-platform-ansible-os-5671-1 2026-04-23 01:59:33,163 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b1687af8-794c-4447-adbf-2d3aee1c6dc8 2026-04-23 01:59:33,171 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d7c81e36-a3c3-479e-a97e-4342331338f8 2026-04-23 01:59:34,409 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.371 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.371/1.527/2.684/1.156 ms') 2026-04-23 01:59:34,409 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-99015688-83884333 passed 2026-04-23 01:59:34,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 01:59:34,555 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99015688-83884333, IP 130.58.56.67, Port 22 2026-04-23 01:59:34,711 - DEBUG - VM ctest-TestRoutersBasic-99015688-83884333 is ready for SSH connections 2026-04-23 01:59:34,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 01:59:34,711 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.58.56.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-23 01:59:34,711 - DEBUG - ping -s 56 -c 3 -W 1 130.58.56.67 2026-04-23 01:59:38,419 - DEBUG - PING 130.58.56.67 (130.58.56.67): 56 data bytes 64 bytes from 130.58.56.67: seq=0 ttl=62 time=7.693 ms 64 bytes from 130.58.56.67: seq=1 ttl=62 time=0.870 ms 64 bytes from 130.58.56.67: seq=2 ttl=62 time=0.853 ms --- 130.58.56.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.853/3.138/7.693 ms 2026-04-23 01:59:38,419 - INFO - Ping to IP 130.58.56.67 from VM ctest-TestRoutersBasic-99015688-47879038 passed 2026-04-23 01:59:38,419 - INFO - Deleting interface with subnet_id 45875c11-ce07-4378-a608-59393e5fb053, port_id None from router 62838ca7-0ea5-4131-af09-e8c9ba0a79d2 2026-04-23 01:59:38,581 - INFO - Deleting VM ctest-TestRoutersBasic-99015688-83884333 2026-04-23 01:59:38,648 - INFO - Deleting VM ctest-TestRoutersBasic-99015688-47879038 2026-04-23 01:59:38,716 - INFO - Deleting VN ctest-ext_vn-20427322 2026-04-23 01:59:38,774 - DEBUG - VN a333fa4a-46d7-4c55-9ccf-f5d44efa78f6 still in use: Unable to complete operation on network a333fa4a-46d7-4c55-9ccf-f5d44efa78f6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1b371e1a-7c14-44ed-88b7-b5bf248e7b2e'] 2026-04-23 01:59:38,774 - WARNING - Deleting VN ctest-ext_vn-20427322 failed..Will retry 2026-04-23 01:59:40,869 - DEBUG - Response for deleting network () 2026-04-23 01:59:40,869 - INFO - Deleting VN ctest-vn-15401928 2026-04-23 01:59:40,957 - DEBUG - Response for deleting network () 2026-04-23 01:59:41,220 - DEBUG - No XMPP flaps were noticed during the test 2026-04-23 01:59:41,220 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-04-23 01:59:41,220 - INFO - -------------------------------------------------------------------------------- 2026-04-23 01:59:41,867 - INFO - Deleted project: ctest-TestRoutersBasic-99015688, ID : d10a73e2-0644-4ec2-a282-15369cf87f32