2025-08-15 09:36:46,333 - INFO - Domain Default found not creating 2025-08-15 09:36:46,461 - INFO - Project ctest-TestRoutersBasic-29659195 not found, creating it 2025-08-15 09:36:46,897 - INFO - Created Project:ctest-TestRoutersBasic-29659195, ID : ac7b2877-f67e-4ec7-88a8-0104154e7d9c 2025-08-15 09:36:48,227 - INFO - ================================================================================ 2025-08-15 09:36:48,227 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-15 09:36:48,227 - 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-08-15 09:36:48,488 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.129': '0'}} with 2025-08-15 09:36:48,488 - INFO - Initial checks done. Running the testcase now 2025-08-15 09:36:48,488 - INFO - 2025-08-15 09:36:49,187 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29659195 2025-08-15 09:36:49,286 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29659195 2025-08-15 09:36:49,614 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29659195', 'default']} 2025-08-15 09:36:49,922 - DEBUG - Response for create_network : {'network': {'id': '7da69a41-3ac1-4ad6-97a3-08a0ebdfae04', 'name': 'ctest-vn-66585309', 'tenant_id': 'ac7b2877f67e4ec788a80104154e7d9c', 'project_id': 'ac7b2877f67e4ec788a80104154e7d9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29659195', 'ctest-vn-66585309'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 09:36:50,102 - DEBUG - Response for create_subnet : {'subnet': {'id': '973419d8-a1b1-4d71-8f9c-539e06009201', 'name': '', 'tenant_id': 'ac7b2877f67e4ec788a80104154e7d9c', 'network_id': '7da69a41-3ac1-4ad6-97a3-08a0ebdfae04', 'ip_version': 4, 'cidr': '169.85.241.0/26', 'allocation_pools': [{'start': '169.85.241.2', 'end': '169.85.241.62'}], 'gateway_ip': '169.85.241.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.85.241.2', 'tags': [], 'project_id': 'ac7b2877f67e4ec788a80104154e7d9c'}} 2025-08-15 09:36:50,118 - INFO - Created VN ctest-vn-66585309 2025-08-15 09:36:50,170 - DEBUG - VN ctest-vn-66585309 UUID is 7da69a41-3ac1-4ad6-97a3-08a0ebdfae04 2025-08-15 09:36:50,503 - DEBUG - Response for create_network : {'network': {'id': '0fd7f1aa-3cef-4e8d-8cbb-a186175f946c', 'name': 'ctest-ext_vn-66123886', 'tenant_id': 'ac7b2877f67e4ec788a80104154e7d9c', 'project_id': 'ac7b2877f67e4ec788a80104154e7d9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29659195', 'ctest-ext_vn-66123886'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 09:36:50,683 - DEBUG - Response for create_subnet : {'subnet': {'id': '029dd1f4-1e19-4804-9894-9cfa2c28a130', 'name': '', 'tenant_id': 'ac7b2877f67e4ec788a80104154e7d9c', 'network_id': '0fd7f1aa-3cef-4e8d-8cbb-a186175f946c', 'ip_version': 4, 'cidr': '108.249.240.0/26', 'allocation_pools': [{'start': '108.249.240.2', 'end': '108.249.240.62'}], 'gateway_ip': '108.249.240.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.249.240.2', 'tags': [], 'project_id': 'ac7b2877f67e4ec788a80104154e7d9c'}} 2025-08-15 09:36:50,698 - INFO - Created VN ctest-ext_vn-66123886 2025-08-15 09:36:50,750 - DEBUG - VN ctest-ext_vn-66123886 UUID is 0fd7f1aa-3cef-4e8d-8cbb-a186175f946c 2025-08-15 09:36:50,939 - DEBUG - Services list from nova: [, , ] 2025-08-15 09:36:51,914 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3863-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3863-1) 2025-08-15 09:36:53,030 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3863-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3863-1) 2025-08-15 09:36:53,108 - INFO - Setting gateway for router 3ec54a7f-311d-403f-9949-0e7e4b67d071 to network 0fd7f1aa-3cef-4e8d-8cbb-a186175f946c 2025-08-15 09:36:53,182 - INFO - Adding interface with subnet_id 973419d8-a1b1-4d71-8f9c-539e06009201, port_id None to router 3ec54a7f-311d-403f-9949-0e7e4b67d071 2025-08-15 09:36:53,565 - INFO - Waiting for VM ctest-TestRoutersBasic-29659195-94087687 to be up.. 2025-08-15 09:36:53,667 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 09:36:58,742 - DEBUG - VM is in ACTIVE state now 2025-08-15 09:36:58,742 - INFO - VM name : ctest-TestRoutersBasic-29659195-94087687 2025-08-15 09:36:58,810 - DEBUG - VM ctest-TestRoutersBasic-29659195-94087687 ID is f1783597-8f7e-475d-a2d4-27831885f99e 2025-08-15 09:36:58,829 - DEBUG - VM ctest-TestRoutersBasic-29659195-94087687 launched on Node cn-jenkins-deploy-platform-ansible-os-3863-1 2025-08-15 09:36:58,892 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/f1783597-8f7e-475d-a2d4-27831885f99e 2025-08-15 09:36:59,181 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/f1783597-8f7e-475d-a2d4-27831885f99e 2025-08-15 09:36:59,212 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b788cca2-6e63-44db-b2e5-6064db9a3c9d 2025-08-15 09:37:02,471 - 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 1019ms') 2025-08-15 09:37:02,471 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29659195-94087687 failed! 2025-08-15 09:37:02,526 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29659195:ctest-vn-66585309 is 169.85.241.1 and allocation pool is NOT set 2025-08-15 09:37:04,592 - 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=3.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.418 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 = 0.418/1.739/3.061/1.321 ms') 2025-08-15 09:37:04,592 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-29659195-94087687 passed 2025-08-15 09:37:04,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:37:04,742 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29659195-94087687, IP 169.85.241.3, Port 22 2025-08-15 09:37:04,893 - DEBUG - VM ctest-TestRoutersBasic-29659195-94087687 is ready for SSH connections 2025-08-15 09:37:04,893 - INFO - Waiting for VM ctest-TestRoutersBasic-29659195-55423377 to be up.. 2025-08-15 09:37:04,960 - DEBUG - VM is in ACTIVE state now 2025-08-15 09:37:04,960 - INFO - VM name : ctest-TestRoutersBasic-29659195-55423377 2025-08-15 09:37:05,026 - DEBUG - VM ctest-TestRoutersBasic-29659195-55423377 ID is dd0e3da1-03f3-46a0-b1c5-fd5f3c976027 2025-08-15 09:37:05,026 - DEBUG - VM ctest-TestRoutersBasic-29659195-55423377 launched on Node cn-jenkins-deploy-platform-ansible-os-3863-1 2025-08-15 09:37:05,090 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/dd0e3da1-03f3-46a0-b1c5-fd5f3c976027 2025-08-15 09:37:05,098 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/d3336aca-7210-4a85-bfad-7a6144b5e6e2 2025-08-15 09:37:06,329 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.340 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.340/1.536/2.732/1.196 ms') 2025-08-15 09:37:06,329 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-29659195-55423377 passed 2025-08-15 09:37:06,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:37:06,478 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29659195-55423377, IP 108.249.240.3, Port 22 2025-08-15 09:37:06,633 - DEBUG - VM ctest-TestRoutersBasic-29659195-55423377 is ready for SSH connections 2025-08-15 09:37:06,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:37:06,633 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.249.240.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-15 09:37:06,633 - DEBUG - ping -s 56 -c 3 -W 1 108.249.240.3 2025-08-15 09:37:10,626 - DEBUG - PING 108.249.240.3 (108.249.240.3): 56 data bytes 64 bytes from 108.249.240.3: seq=0 ttl=62 time=3.853 ms 64 bytes from 108.249.240.3: seq=1 ttl=62 time=0.769 ms 64 bytes from 108.249.240.3: seq=2 ttl=62 time=0.816 ms --- 108.249.240.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.769/1.812/3.853 ms 2025-08-15 09:37:10,626 - INFO - Ping to IP 108.249.240.3 from VM ctest-TestRoutersBasic-29659195-94087687 passed 2025-08-15 09:37:10,626 - INFO - Deleting interface with subnet_id 973419d8-a1b1-4d71-8f9c-539e06009201, port_id None from router 3ec54a7f-311d-403f-9949-0e7e4b67d071 2025-08-15 09:37:10,836 - INFO - Deleting VM ctest-TestRoutersBasic-29659195-55423377 2025-08-15 09:37:10,903 - INFO - Deleting VM ctest-TestRoutersBasic-29659195-94087687 2025-08-15 09:37:10,995 - INFO - Deleting VN ctest-ext_vn-66123886 2025-08-15 09:37:11,071 - DEBUG - VN 0fd7f1aa-3cef-4e8d-8cbb-a186175f946c still in use: Unable to complete operation on network 0fd7f1aa-3cef-4e8d-8cbb-a186175f946c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0809b8c8-17fe-4469-a33b-01bebf5d2381'] 2025-08-15 09:37:11,071 - WARNING - Deleting VN ctest-ext_vn-66123886 failed..Will retry 2025-08-15 09:37:13,157 - DEBUG - Response for deleting network () 2025-08-15 09:37:13,158 - INFO - Deleting VN ctest-vn-66585309 2025-08-15 09:37:13,249 - DEBUG - Response for deleting network () 2025-08-15 09:37:13,503 - DEBUG - No XMPP flaps were noticed during the test 2025-08-15 09:37:13,503 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-08-15 09:37:13,503 - INFO - -------------------------------------------------------------------------------- 2025-08-15 09:37:14,167 - INFO - Deleted project: ctest-TestRoutersBasic-29659195, ID : ac7b2877-f67e-4ec7-88a8-0104154e7d9c