2025-11-17 18:15:17,257 - INFO - Domain Default found not creating 2025-11-17 18:15:17,481 - INFO - Project ctest-TestRoutersBasic-48704537 not found, creating it 2025-11-17 18:15:18,001 - INFO - Created Project:ctest-TestRoutersBasic-48704537, ID : d62094fb-ccf4-4851-b863-d32a31785ff1 2025-11-17 18:15:19,735 - INFO - ================================================================================ 2025-11-17 18:15:19,735 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-17 18:15:19,735 - 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-17 18:15:20,007 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-17 18:15:20,007 - INFO - Initial checks done. Running the testcase now 2025-11-17 18:15:20,007 - INFO - 2025-11-17 18:15:20,791 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-48704537 2025-11-17 18:15:20,887 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-48704537 2025-11-17 18:15:21,230 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48704537', 'default']} 2025-11-17 18:15:21,593 - DEBUG - Response for create_network : {'network': {'id': '860f40c9-9481-4f7c-a926-61d849977cdc', 'name': 'ctest-vn-96853835', 'tenant_id': 'd62094fbccf44851b863d32a31785ff1', 'project_id': 'd62094fbccf44851b863d32a31785ff1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48704537', 'ctest-vn-96853835'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 18:15:21,823 - DEBUG - Response for create_subnet : {'subnet': {'id': '33f7e872-9e81-4fe8-94f8-a5d9b90df3df', 'name': '', 'tenant_id': 'd62094fbccf44851b863d32a31785ff1', 'network_id': '860f40c9-9481-4f7c-a926-61d849977cdc', 'ip_version': 4, 'cidr': '14.159.199.128/26', 'allocation_pools': [{'start': '14.159.199.130', 'end': '14.159.199.190'}], 'gateway_ip': '14.159.199.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.159.199.130', 'tags': [], 'project_id': 'd62094fbccf44851b863d32a31785ff1'}} 2025-11-17 18:15:21,844 - INFO - Created VN ctest-vn-96853835 2025-11-17 18:15:21,903 - DEBUG - VN ctest-vn-96853835 UUID is 860f40c9-9481-4f7c-a926-61d849977cdc 2025-11-17 18:15:22,274 - DEBUG - Response for create_network : {'network': {'id': '70282b72-d614-4764-9800-0c8dc338d333', 'name': 'ctest-ext_vn-31837938', 'tenant_id': 'd62094fbccf44851b863d32a31785ff1', 'project_id': 'd62094fbccf44851b863d32a31785ff1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48704537', 'ctest-ext_vn-31837938'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 18:15:22,609 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a73df741-88fb-43d4-87e5-6a7212c29ff8', 'name': '', 'tenant_id': 'd62094fbccf44851b863d32a31785ff1', 'network_id': '70282b72-d614-4764-9800-0c8dc338d333', 'ip_version': 4, 'cidr': '46.72.91.192/26', 'allocation_pools': [{'start': '46.72.91.194', 'end': '46.72.91.254'}], 'gateway_ip': '46.72.91.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.72.91.194', 'tags': [], 'project_id': 'd62094fbccf44851b863d32a31785ff1'}} 2025-11-17 18:15:22,632 - INFO - Created VN ctest-ext_vn-31837938 2025-11-17 18:15:22,695 - DEBUG - VN ctest-ext_vn-31837938 UUID is 70282b72-d614-4764-9800-0c8dc338d333 2025-11-17 18:15:22,896 - DEBUG - Services list from nova: [, , ] 2025-11-17 18:15:24,076 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4744-1) 2025-11-17 18:15:25,381 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4744-1) 2025-11-17 18:15:25,450 - INFO - Setting gateway for router e2974bc8-3f9c-46e0-b025-4fbef7e77a65 to network 70282b72-d614-4764-9800-0c8dc338d333 2025-11-17 18:15:25,528 - INFO - Adding interface with subnet_id 33f7e872-9e81-4fe8-94f8-a5d9b90df3df, port_id None to router e2974bc8-3f9c-46e0-b025-4fbef7e77a65 2025-11-17 18:15:25,857 - INFO - Waiting for VM ctest-TestRoutersBasic-48704537-02741285 to be up.. 2025-11-17 18:15:26,044 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 18:15:31,148 - DEBUG - VM is in ACTIVE state now 2025-11-17 18:15:31,148 - INFO - VM name : ctest-TestRoutersBasic-48704537-02741285 2025-11-17 18:15:31,239 - DEBUG - VM ctest-TestRoutersBasic-48704537-02741285 ID is 8c2111be-e6eb-4644-8cf5-81766596b881 2025-11-17 18:15:31,268 - DEBUG - VM ctest-TestRoutersBasic-48704537-02741285 launched on Node cn-jenkins-deploy-platform-ansible-os-4744-1 2025-11-17 18:15:31,361 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8c2111be-e6eb-4644-8cf5-81766596b881 2025-11-17 18:15:31,682 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8c2111be-e6eb-4644-8cf5-81766596b881 2025-11-17 18:15:31,722 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/76922eda-b81e-4564-b393-b3e848782205 2025-11-17 18:15:34,974 - 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') 2025-11-17 18:15:34,974 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48704537-02741285 failed! 2025-11-17 18:15:35,031 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-48704537:ctest-vn-96853835 is 14.159.199.129 and allocation pool is NOT set 2025-11-17 18:15:37,103 - 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=5.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.35 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.351/3.765/5.180/1.414 ms') 2025-11-17 18:15:37,104 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48704537-02741285 passed 2025-11-17 18:15:37,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:15:37,259 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48704537-02741285, IP 14.159.199.131, Port 22 2025-11-17 18:15:37,425 - DEBUG - VM ctest-TestRoutersBasic-48704537-02741285 is ready for SSH connections 2025-11-17 18:15:37,425 - INFO - Waiting for VM ctest-TestRoutersBasic-48704537-48070042 to be up.. 2025-11-17 18:15:37,521 - DEBUG - VM is in ACTIVE state now 2025-11-17 18:15:37,521 - INFO - VM name : ctest-TestRoutersBasic-48704537-48070042 2025-11-17 18:15:37,609 - DEBUG - VM ctest-TestRoutersBasic-48704537-48070042 ID is ef36a5e5-1a4c-4096-bc01-7de0f1040619 2025-11-17 18:15:37,609 - DEBUG - VM ctest-TestRoutersBasic-48704537-48070042 launched on Node cn-jenkins-deploy-platform-ansible-os-4744-1 2025-11-17 18:15:37,701 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ef36a5e5-1a4c-4096-bc01-7de0f1040619 2025-11-17 18:15:37,710 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/65a51007-b71d-461d-b834-bf9124def311 2025-11-17 18:15:38,965 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.04 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 = 1.036/2.827/4.618/1.791 ms') 2025-11-17 18:15:38,965 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-48704537-48070042 passed 2025-11-17 18:15:39,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:15:39,119 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48704537-48070042, IP 46.72.91.195, Port 22 2025-11-17 18:15:39,274 - DEBUG - VM ctest-TestRoutersBasic-48704537-48070042 is ready for SSH connections 2025-11-17 18:15:39,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:15:39,275 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.72.91.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 18:15:39,275 - DEBUG - ping -s 56 -c 3 -W 1 46.72.91.195 2025-11-17 18:15:43,025 - DEBUG - PING 46.72.91.195 (46.72.91.195): 56 data bytes 64 bytes from 46.72.91.195: seq=0 ttl=62 time=8.983 ms 64 bytes from 46.72.91.195: seq=1 ttl=62 time=1.131 ms 64 bytes from 46.72.91.195: seq=2 ttl=62 time=1.188 ms --- 46.72.91.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.131/3.767/8.983 ms 2025-11-17 18:15:43,025 - INFO - Ping to IP 46.72.91.195 from VM ctest-TestRoutersBasic-48704537-02741285 passed 2025-11-17 18:15:43,025 - INFO - Deleting interface with subnet_id 33f7e872-9e81-4fe8-94f8-a5d9b90df3df, port_id None from router e2974bc8-3f9c-46e0-b025-4fbef7e77a65 2025-11-17 18:15:43,244 - INFO - Deleting VM ctest-TestRoutersBasic-48704537-48070042 2025-11-17 18:15:43,329 - INFO - Deleting VM ctest-TestRoutersBasic-48704537-02741285 2025-11-17 18:15:43,425 - INFO - Deleting VN ctest-ext_vn-31837938 2025-11-17 18:15:43,540 - DEBUG - VN 70282b72-d614-4764-9800-0c8dc338d333 still in use: Unable to complete operation on network 70282b72-d614-4764-9800-0c8dc338d333. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dca41e58-d7ec-40fd-a907-e6b6b5807084'] 2025-11-17 18:15:43,540 - WARNING - Deleting VN ctest-ext_vn-31837938 failed..Will retry 2025-11-17 18:15:45,671 - DEBUG - Response for deleting network () 2025-11-17 18:15:45,672 - INFO - Deleting VN ctest-vn-96853835 2025-11-17 18:15:45,803 - DEBUG - Response for deleting network () 2025-11-17 18:15:46,076 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 18:15:46,076 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-11-17 18:15:46,077 - INFO - -------------------------------------------------------------------------------- 2025-11-17 18:15:46,835 - INFO - Deleted project: ctest-TestRoutersBasic-48704537, ID : d62094fb-ccf4-4851-b863-d32a31785ff1