2025-11-18 14:46:52,113 - INFO - Domain Default found not creating 2025-11-18 14:46:52,359 - INFO - Project ctest-TestRoutersBasic-94302134 not found, creating it 2025-11-18 14:46:52,893 - INFO - Created Project:ctest-TestRoutersBasic-94302134, ID : 2117b536-1bbc-4516-bdbb-90afa09c3d21 2025-11-18 14:46:54,729 - INFO - ================================================================================ 2025-11-18 14:46:54,729 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-18 14:46:54,729 - 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 2025-11-18 14:46:55,004 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.5': '0'}} with 2025-11-18 14:46:55,004 - INFO - Initial checks done. Running the testcase now 2025-11-18 14:46:55,004 - INFO - 2025-11-18 14:46:55,814 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-94302134 2025-11-18 14:46:55,914 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-94302134 2025-11-18 14:46:56,246 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94302134', 'default']} 2025-11-18 14:46:56,560 - DEBUG - Response for create_network : {'network': {'id': '3b2b1036-4ddf-43d3-a4e2-39a721cb3c2f', 'name': 'ctest-vn-38625248', 'tenant_id': '2117b5361bbc4516bdbb90afa09c3d21', 'project_id': '2117b5361bbc4516bdbb90afa09c3d21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94302134', 'ctest-vn-38625248'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 14:46:56,784 - DEBUG - Response for create_subnet : {'subnet': {'id': '78cbfacc-b06e-4dab-b220-f161d2fd3fb2', 'name': '', 'tenant_id': '2117b5361bbc4516bdbb90afa09c3d21', 'network_id': '3b2b1036-4ddf-43d3-a4e2-39a721cb3c2f', 'ip_version': 4, 'cidr': '137.215.58.192/26', 'allocation_pools': [{'start': '137.215.58.194', 'end': '137.215.58.254'}], 'gateway_ip': '137.215.58.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.215.58.194', 'tags': [], 'project_id': '2117b5361bbc4516bdbb90afa09c3d21'}} 2025-11-18 14:46:56,805 - INFO - Created VN ctest-vn-38625248 2025-11-18 14:46:56,866 - DEBUG - VN ctest-vn-38625248 UUID is 3b2b1036-4ddf-43d3-a4e2-39a721cb3c2f 2025-11-18 14:46:57,252 - DEBUG - Response for create_network : {'network': {'id': '430d64df-2c20-40c3-b2d3-4d997bca7295', 'name': 'ctest-ext_vn-34344256', 'tenant_id': '2117b5361bbc4516bdbb90afa09c3d21', 'project_id': '2117b5361bbc4516bdbb90afa09c3d21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94302134', 'ctest-ext_vn-34344256'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 14:46:57,471 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b16d54c2-88b8-4748-8086-930e0b2e4f79', 'name': '', 'tenant_id': '2117b5361bbc4516bdbb90afa09c3d21', 'network_id': '430d64df-2c20-40c3-b2d3-4d997bca7295', 'ip_version': 4, 'cidr': '122.106.43.192/26', 'allocation_pools': [{'start': '122.106.43.194', 'end': '122.106.43.254'}], 'gateway_ip': '122.106.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.106.43.194', 'tags': [], 'project_id': '2117b5361bbc4516bdbb90afa09c3d21'}} 2025-11-18 14:46:57,496 - INFO - Created VN ctest-ext_vn-34344256 2025-11-18 14:46:57,550 - DEBUG - VN ctest-ext_vn-34344256 UUID is 430d64df-2c20-40c3-b2d3-4d997bca7295 2025-11-18 14:46:57,808 - DEBUG - Services list from nova: [, , ] 2025-11-18 14:46:58,957 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4756-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4756-1) 2025-11-18 14:47:00,266 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4756-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4756-1) 2025-11-18 14:47:00,379 - INFO - Setting gateway for router 751abf99-37b0-4b86-8ccf-d1306b10b175 to network 430d64df-2c20-40c3-b2d3-4d997bca7295 2025-11-18 14:47:00,454 - INFO - Adding interface with subnet_id 78cbfacc-b06e-4dab-b220-f161d2fd3fb2, port_id None to router 751abf99-37b0-4b86-8ccf-d1306b10b175 2025-11-18 14:47:00,894 - INFO - Waiting for VM ctest-TestRoutersBasic-94302134-32870473 to be up.. 2025-11-18 14:47:01,064 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-18 14:47:06,174 - DEBUG - VM is in ACTIVE state now 2025-11-18 14:47:06,174 - INFO - VM name : ctest-TestRoutersBasic-94302134-32870473 2025-11-18 14:47:06,284 - DEBUG - VM ctest-TestRoutersBasic-94302134-32870473 ID is dfb2e71e-fe42-4ae6-8eee-352cb42fd7e4 2025-11-18 14:47:06,313 - DEBUG - VM ctest-TestRoutersBasic-94302134-32870473 launched on Node cn-jenkins-deploy-platform-ansible-os-4756-1 2025-11-18 14:47:06,416 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/dfb2e71e-fe42-4ae6-8eee-352cb42fd7e4 2025-11-18 14:47:06,737 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/dfb2e71e-fe42-4ae6-8eee-352cb42fd7e4 2025-11-18 14:47:06,785 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/06245e5a-1ef1-4322-9c16-f7642afa2987 2025-11-18 14:47:10,077 - 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 1033ms') 2025-11-18 14:47:10,077 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94302134-32870473 failed! 2025-11-18 14:47:10,138 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-94302134:ctest-vn-38625248 is 137.215.58.193 and allocation pool is NOT set 2025-11-18 14:47:12,209 - 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=6.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.985 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.985/3.753/6.522/2.768 ms') 2025-11-18 14:47:12,210 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94302134-32870473 passed 2025-11-18 14:47:12,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 14:47:12,326 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94302134-32870473, IP 137.215.58.195, Port 22 2025-11-18 14:47:12,495 - DEBUG - VM ctest-TestRoutersBasic-94302134-32870473 is ready for SSH connections 2025-11-18 14:47:12,495 - INFO - Waiting for VM ctest-TestRoutersBasic-94302134-22742058 to be up.. 2025-11-18 14:47:12,587 - DEBUG - VM is in ACTIVE state now 2025-11-18 14:47:12,587 - INFO - VM name : ctest-TestRoutersBasic-94302134-22742058 2025-11-18 14:47:12,682 - DEBUG - VM ctest-TestRoutersBasic-94302134-22742058 ID is 8994cb0b-f6e3-4076-8e2d-cc944c2e67d6 2025-11-18 14:47:12,682 - DEBUG - VM ctest-TestRoutersBasic-94302134-22742058 launched on Node cn-jenkins-deploy-platform-ansible-os-4756-1 2025-11-18 14:47:12,779 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8994cb0b-f6e3-4076-8e2d-cc944c2e67d6 2025-11-18 14:47:12,789 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c0ab1f09-3620-4678-8200-aea6b32065b4 2025-11-18 14:47:14,041 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.17 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.165/3.030/4.896/1.865 ms') 2025-11-18 14:47:14,042 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-94302134-22742058 passed 2025-11-18 14:47:14,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 14:47:14,206 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94302134-22742058, IP 122.106.43.195, Port 22 2025-11-18 14:47:14,380 - DEBUG - VM ctest-TestRoutersBasic-94302134-22742058 is ready for SSH connections 2025-11-18 14:47:14,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 14:47:14,381 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.106.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-18 14:47:14,381 - DEBUG - ping -s 56 -c 3 -W 1 122.106.43.195 2025-11-18 14:47:18,159 - DEBUG - PING 122.106.43.195 (122.106.43.195): 56 data bytes 64 bytes from 122.106.43.195: seq=0 ttl=62 time=7.811 ms 64 bytes from 122.106.43.195: seq=1 ttl=62 time=1.335 ms 64 bytes from 122.106.43.195: seq=2 ttl=62 time=1.020 ms --- 122.106.43.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.020/3.388/7.811 ms 2025-11-18 14:47:18,160 - INFO - Ping to IP 122.106.43.195 from VM ctest-TestRoutersBasic-94302134-32870473 passed 2025-11-18 14:47:18,160 - INFO - Deleting interface with subnet_id 78cbfacc-b06e-4dab-b220-f161d2fd3fb2, port_id None from router 751abf99-37b0-4b86-8ccf-d1306b10b175 2025-11-18 14:47:18,443 - INFO - Deleting VM ctest-TestRoutersBasic-94302134-22742058 2025-11-18 14:47:18,544 - INFO - Deleting VM ctest-TestRoutersBasic-94302134-32870473 2025-11-18 14:47:18,672 - INFO - Deleting VN ctest-ext_vn-34344256 2025-11-18 14:47:18,792 - DEBUG - VN 430d64df-2c20-40c3-b2d3-4d997bca7295 still in use: Unable to complete operation on network 430d64df-2c20-40c3-b2d3-4d997bca7295. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ef9f2b9f-bdd7-4838-8c6b-8954ff972504'] 2025-11-18 14:47:18,793 - WARNING - Deleting VN ctest-ext_vn-34344256 failed..Will retry 2025-11-18 14:47:20,924 - DEBUG - Response for deleting network () 2025-11-18 14:47:20,924 - INFO - Deleting VN ctest-vn-38625248 2025-11-18 14:47:21,054 - DEBUG - Response for deleting network () 2025-11-18 14:47:21,317 - DEBUG - No XMPP flaps were noticed during the test 2025-11-18 14:47:21,317 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-11-18 14:47:21,317 - INFO - -------------------------------------------------------------------------------- 2025-11-18 14:47:22,084 - INFO - Deleted project: ctest-TestRoutersBasic-94302134, ID : 2117b536-1bbc-4516-bdbb-90afa09c3d21