2025-08-11 15:50:20,121 - INFO - Domain Default found not creating 2025-08-11 15:50:20,243 - INFO - Project ctest-TestRoutersBasic-61012507 not found, creating it 2025-08-11 15:50:20,683 - INFO - Created Project:ctest-TestRoutersBasic-61012507, ID : 8d86a6f0-605b-4230-b4d0-bf722f16eabb 2025-08-11 15:50:21,985 - INFO - ================================================================================ 2025-08-11 15:50:21,985 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-11 15:50:21,985 - 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-11 15:50:22,243 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-08-11 15:50:22,244 - INFO - Initial checks done. Running the testcase now 2025-08-11 15:50:22,244 - INFO - 2025-08-11 15:50:22,915 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61012507 2025-08-11 15:50:23,011 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61012507 2025-08-11 15:50:23,335 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61012507', 'default']} 2025-08-11 15:50:23,616 - DEBUG - Response for create_network : {'network': {'id': 'd45951e0-1724-4b82-9262-a0fd54434c6c', 'name': 'ctest-vn-51300736', 'tenant_id': '8d86a6f0605b4230b4d0bf722f16eabb', 'project_id': '8d86a6f0605b4230b4d0bf722f16eabb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61012507', 'ctest-vn-51300736'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:50:23,791 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a161ae0-d4ea-4fa2-b4fe-d0da9b2cb1db', 'name': '', 'tenant_id': '8d86a6f0605b4230b4d0bf722f16eabb', 'network_id': 'd45951e0-1724-4b82-9262-a0fd54434c6c', 'ip_version': 4, 'cidr': '162.49.105.64/26', 'allocation_pools': [{'start': '162.49.105.66', 'end': '162.49.105.126'}], 'gateway_ip': '162.49.105.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.49.105.66', 'tags': [], 'project_id': '8d86a6f0605b4230b4d0bf722f16eabb'}} 2025-08-11 15:50:23,807 - INFO - Created VN ctest-vn-51300736 2025-08-11 15:50:23,859 - DEBUG - VN ctest-vn-51300736 UUID is d45951e0-1724-4b82-9262-a0fd54434c6c 2025-08-11 15:50:24,177 - DEBUG - Response for create_network : {'network': {'id': '0c5a9639-9da0-4d17-b9bf-0513d27b9f42', 'name': 'ctest-ext_vn-26510621', 'tenant_id': '8d86a6f0605b4230b4d0bf722f16eabb', 'project_id': '8d86a6f0605b4230b4d0bf722f16eabb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61012507', 'ctest-ext_vn-26510621'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:50:24,396 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed36d1b7-6332-4097-9d5d-4f9636d2e56d', 'name': '', 'tenant_id': '8d86a6f0605b4230b4d0bf722f16eabb', 'network_id': '0c5a9639-9da0-4d17-b9bf-0513d27b9f42', 'ip_version': 4, 'cidr': '186.69.2.128/26', 'allocation_pools': [{'start': '186.69.2.130', 'end': '186.69.2.190'}], 'gateway_ip': '186.69.2.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.69.2.130', 'tags': [], 'project_id': '8d86a6f0605b4230b4d0bf722f16eabb'}} 2025-08-11 15:50:24,416 - INFO - Created VN ctest-ext_vn-26510621 2025-08-11 15:50:24,475 - DEBUG - VN ctest-ext_vn-26510621 UUID is 0c5a9639-9da0-4d17-b9bf-0513d27b9f42 2025-08-11 15:50:24,657 - DEBUG - Services list from nova: [, , ] 2025-08-11 15:50:25,580 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3813-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3813-1) 2025-08-11 15:50:26,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3813-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3813-1) 2025-08-11 15:50:26,702 - INFO - Setting gateway for router 48d4f1cb-9d9a-47ba-aa16-09399b3ab25d to network 0c5a9639-9da0-4d17-b9bf-0513d27b9f42 2025-08-11 15:50:26,767 - INFO - Adding interface with subnet_id 5a161ae0-d4ea-4fa2-b4fe-d0da9b2cb1db, port_id None to router 48d4f1cb-9d9a-47ba-aa16-09399b3ab25d 2025-08-11 15:50:27,198 - INFO - Waiting for VM ctest-TestRoutersBasic-61012507-85584236 to be up.. 2025-08-11 15:50:27,288 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:50:27,288 - INFO - VM name : ctest-TestRoutersBasic-61012507-85584236 2025-08-11 15:50:27,394 - DEBUG - VM ctest-TestRoutersBasic-61012507-85584236 ID is 8b69f9a9-9ad9-4424-8d41-0cde87b37109 2025-08-11 15:50:27,411 - DEBUG - VM ctest-TestRoutersBasic-61012507-85584236 launched on Node cn-jenkins-deploy-platform-ansible-os-3813-1 2025-08-11 15:50:27,491 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8b69f9a9-9ad9-4424-8d41-0cde87b37109 2025-08-11 15:50:27,782 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8b69f9a9-9ad9-4424-8d41-0cde87b37109 2025-08-11 15:50:27,844 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/af275097-75a5-45c5-a481-52646ab1d0d9 2025-08-11 15:50:31,108 - 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 1008ms') 2025-08-11 15:50:31,108 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61012507-85584236 failed! 2025-08-11 15:50:31,163 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61012507:ctest-vn-51300736 is 162.49.105.65 and allocation pool is NOT set 2025-08-11 15:50:35,231 - 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 1016ms') 2025-08-11 15:50:35,232 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61012507-85584236 failed! 2025-08-11 15:50:35,287 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61012507:ctest-vn-51300736 is 162.49.105.65 and allocation pool is NOT set 2025-08-11 15:50:37,342 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.362 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.362/1.547/2.733/1.185 ms') 2025-08-11 15:50:37,342 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61012507-85584236 passed 2025-08-11 15:50:37,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:50:37,491 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61012507-85584236, IP 162.49.105.67, Port 22 2025-08-11 15:50:37,642 - DEBUG - VM ctest-TestRoutersBasic-61012507-85584236 is ready for SSH connections 2025-08-11 15:50:37,642 - INFO - Waiting for VM ctest-TestRoutersBasic-61012507-48836101 to be up.. 2025-08-11 15:50:37,704 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:50:37,704 - INFO - VM name : ctest-TestRoutersBasic-61012507-48836101 2025-08-11 15:50:37,764 - DEBUG - VM ctest-TestRoutersBasic-61012507-48836101 ID is 993fa640-74f1-4ec8-a5c5-776c7cb1f96a 2025-08-11 15:50:37,764 - DEBUG - VM ctest-TestRoutersBasic-61012507-48836101 launched on Node cn-jenkins-deploy-platform-ansible-os-3813-1 2025-08-11 15:50:37,821 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/993fa640-74f1-4ec8-a5c5-776c7cb1f96a 2025-08-11 15:50:37,828 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/643bc8de-3916-4b97-8671-5ac193faa6ff 2025-08-11 15:50:39,050 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.372 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.372/1.479/2.586/1.107 ms') 2025-08-11 15:50:39,050 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-61012507-48836101 passed 2025-08-11 15:50:39,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:50:39,199 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61012507-48836101, IP 186.69.2.131, Port 22 2025-08-11 15:50:39,350 - DEBUG - VM ctest-TestRoutersBasic-61012507-48836101 is ready for SSH connections 2025-08-11 15:50:39,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:50:39,350 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.69.2.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 15:50:39,351 - DEBUG - ping -s 56 -c 3 -W 1 186.69.2.131 2025-08-11 15:50:43,018 - DEBUG - PING 186.69.2.131 (186.69.2.131): 56 data bytes 64 bytes from 186.69.2.131: seq=0 ttl=62 time=6.674 ms 64 bytes from 186.69.2.131: seq=1 ttl=62 time=0.751 ms 64 bytes from 186.69.2.131: seq=2 ttl=62 time=0.718 ms --- 186.69.2.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.718/2.714/6.674 ms 2025-08-11 15:50:43,018 - INFO - Ping to IP 186.69.2.131 from VM ctest-TestRoutersBasic-61012507-85584236 passed 2025-08-11 15:50:43,018 - INFO - Deleting interface with subnet_id 5a161ae0-d4ea-4fa2-b4fe-d0da9b2cb1db, port_id None from router 48d4f1cb-9d9a-47ba-aa16-09399b3ab25d 2025-08-11 15:50:43,190 - INFO - Deleting VM ctest-TestRoutersBasic-61012507-48836101 2025-08-11 15:50:43,247 - INFO - Deleting VM ctest-TestRoutersBasic-61012507-85584236 2025-08-11 15:50:43,316 - INFO - Deleting VN ctest-ext_vn-26510621 2025-08-11 15:50:43,376 - DEBUG - VN 0c5a9639-9da0-4d17-b9bf-0513d27b9f42 still in use: Unable to complete operation on network 0c5a9639-9da0-4d17-b9bf-0513d27b9f42. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d308324c-e7e1-4038-8a3a-13dc64a96db2'] 2025-08-11 15:50:43,376 - WARNING - Deleting VN ctest-ext_vn-26510621 failed..Will retry 2025-08-11 15:50:45,464 - DEBUG - Response for deleting network () 2025-08-11 15:50:45,464 - INFO - Deleting VN ctest-vn-51300736 2025-08-11 15:50:45,566 - DEBUG - Response for deleting network () 2025-08-11 15:50:45,823 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 15:50:45,823 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-08-11 15:50:45,823 - INFO - -------------------------------------------------------------------------------- 2025-08-11 15:50:46,872 - INFO - Deleted project: ctest-TestRoutersBasic-61012507, ID : 8d86a6f0-605b-4230-b4d0-bf722f16eabb