2025-07-09 09:31:41,332 - INFO - Domain Default found not creating 2025-07-09 09:31:41,488 - INFO - Project ctest-TestRoutersBasic-46987598 not found, creating it 2025-07-09 09:31:41,953 - INFO - Created Project:ctest-TestRoutersBasic-46987598, ID : 56fea0ae-2b22-49d2-8f20-f466d712706e 2025-07-09 09:31:43,370 - INFO - ================================================================================ 2025-07-09 09:31:43,370 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-09 09:31:43,370 - 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-07-09 09:31:43,629 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-09 09:31:43,629 - INFO - Initial checks done. Running the testcase now 2025-07-09 09:31:43,629 - INFO - 2025-07-09 09:31:44,327 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46987598 2025-07-09 09:31:44,426 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46987598 2025-07-09 09:31:44,754 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46987598', 'default']} 2025-07-09 09:31:45,062 - DEBUG - Response for create_network : {'network': {'id': 'a9f61871-94a3-4bd2-a15e-6ffcab49fea2', 'name': 'ctest-vn-63551144', 'tenant_id': '56fea0ae2b2249d28f20f466d712706e', 'project_id': '56fea0ae2b2249d28f20f466d712706e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46987598', 'ctest-vn-63551144'], 'port_security_enabled': True, 'description': ''}} 2025-07-09 09:31:45,257 - DEBUG - Response for create_subnet : {'subnet': {'id': '848b47c6-c3fd-4571-bebc-656d900e5a4b', 'name': '', 'tenant_id': '56fea0ae2b2249d28f20f466d712706e', 'network_id': 'a9f61871-94a3-4bd2-a15e-6ffcab49fea2', 'ip_version': 4, 'cidr': '58.234.252.128/26', 'allocation_pools': [{'start': '58.234.252.130', 'end': '58.234.252.190'}], 'gateway_ip': '58.234.252.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.234.252.130', 'tags': [], 'project_id': '56fea0ae2b2249d28f20f466d712706e'}} 2025-07-09 09:31:45,275 - INFO - Created VN ctest-vn-63551144 2025-07-09 09:31:45,326 - DEBUG - VN ctest-vn-63551144 UUID is a9f61871-94a3-4bd2-a15e-6ffcab49fea2 2025-07-09 09:31:45,664 - DEBUG - Response for create_network : {'network': {'id': '9aadc366-46e9-4ae9-9e3c-ed88e6b97676', 'name': 'ctest-ext_vn-97400936', 'tenant_id': '56fea0ae2b2249d28f20f466d712706e', 'project_id': '56fea0ae2b2249d28f20f466d712706e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46987598', 'ctest-ext_vn-97400936'], 'port_security_enabled': True, 'description': ''}} 2025-07-09 09:31:45,875 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c097f29a-ef28-4de5-807a-0f47f010ad26', 'name': '', 'tenant_id': '56fea0ae2b2249d28f20f466d712706e', 'network_id': '9aadc366-46e9-4ae9-9e3c-ed88e6b97676', 'ip_version': 4, 'cidr': '21.174.165.192/26', 'allocation_pools': [{'start': '21.174.165.194', 'end': '21.174.165.254'}], 'gateway_ip': '21.174.165.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.174.165.194', 'tags': [], 'project_id': '56fea0ae2b2249d28f20f466d712706e'}} 2025-07-09 09:31:45,898 - INFO - Created VN ctest-ext_vn-97400936 2025-07-09 09:31:45,958 - DEBUG - VN ctest-ext_vn-97400936 UUID is 9aadc366-46e9-4ae9-9e3c-ed88e6b97676 2025-07-09 09:31:46,148 - DEBUG - Services list from nova: [, , ] 2025-07-09 09:31:47,469 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3616-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3616-1) 2025-07-09 09:31:48,691 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3616-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3616-1) 2025-07-09 09:31:48,813 - INFO - Setting gateway for router 0b0e86b4-0884-4c11-ab22-9dd5784f355c to network 9aadc366-46e9-4ae9-9e3c-ed88e6b97676 2025-07-09 09:31:48,920 - INFO - Adding interface with subnet_id 848b47c6-c3fd-4571-bebc-656d900e5a4b, port_id None to router 0b0e86b4-0884-4c11-ab22-9dd5784f355c 2025-07-09 09:31:49,411 - INFO - Waiting for VM ctest-TestRoutersBasic-46987598-04472647 to be up.. 2025-07-09 09:31:49,611 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-09 09:31:54,687 - DEBUG - VM is in ACTIVE state now 2025-07-09 09:31:54,687 - INFO - VM name : ctest-TestRoutersBasic-46987598-04472647 2025-07-09 09:31:54,753 - DEBUG - VM ctest-TestRoutersBasic-46987598-04472647 ID is 201376d8-ace8-473d-aec6-7e6d441a0537 2025-07-09 09:31:54,771 - DEBUG - VM ctest-TestRoutersBasic-46987598-04472647 launched on Node cn-jenkins-deploy-platform-ansible-os-3616-1 2025-07-09 09:31:54,844 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/201376d8-ace8-473d-aec6-7e6d441a0537 2025-07-09 09:31:55,138 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/201376d8-ace8-473d-aec6-7e6d441a0537 2025-07-09 09:31:55,168 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b5c5605d-e8b0-4fd6-8e46-57057fb7f578 2025-07-09 09:31:58,425 - 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 1020ms') 2025-07-09 09:31:58,426 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46987598-04472647 failed! 2025-07-09 09:31:58,482 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-46987598:ctest-vn-63551144 is 58.234.252.129 and allocation pool is NOT set 2025-07-09 09:32:00,543 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.635 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.635/1.867/3.099/1.232 ms') 2025-07-09 09:32:00,543 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46987598-04472647 passed 2025-07-09 09:32:00,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 09:32:00,707 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46987598-04472647, IP 58.234.252.131, Port 22 2025-07-09 09:32:00,862 - DEBUG - VM ctest-TestRoutersBasic-46987598-04472647 is ready for SSH connections 2025-07-09 09:32:00,862 - INFO - Waiting for VM ctest-TestRoutersBasic-46987598-24195891 to be up.. 2025-07-09 09:32:00,954 - DEBUG - VM is in ACTIVE state now 2025-07-09 09:32:00,954 - INFO - VM name : ctest-TestRoutersBasic-46987598-24195891 2025-07-09 09:32:01,043 - DEBUG - VM ctest-TestRoutersBasic-46987598-24195891 ID is 984dfd7a-1874-45bc-a8bd-d365cfa43ce5 2025-07-09 09:32:01,043 - DEBUG - VM ctest-TestRoutersBasic-46987598-24195891 launched on Node cn-jenkins-deploy-platform-ansible-os-3616-1 2025-07-09 09:32:01,122 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/984dfd7a-1874-45bc-a8bd-d365cfa43ce5 2025-07-09 09:32:01,133 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5170353b-6c93-45d5-8d7a-2f5bdf720c51 2025-07-09 09:32:02,377 - 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=3.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.564 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 = 0.564/1.868/3.173/1.304 ms') 2025-07-09 09:32:02,377 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46987598-24195891 passed 2025-07-09 09:32:02,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 09:32:02,531 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46987598-24195891, IP 21.174.165.195, Port 22 2025-07-09 09:32:02,681 - DEBUG - VM ctest-TestRoutersBasic-46987598-24195891 is ready for SSH connections 2025-07-09 09:32:02,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 09:32:02,682 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.174.165.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-09 09:32:02,682 - DEBUG - ping -s 56 -c 3 -W 1 21.174.165.195 2025-07-09 09:32:06,777 - DEBUG - PING 21.174.165.195 (21.174.165.195): 56 data bytes 64 bytes from 21.174.165.195: seq=0 ttl=62 time=8.435 ms 64 bytes from 21.174.165.195: seq=1 ttl=62 time=1.090 ms 64 bytes from 21.174.165.195: seq=2 ttl=62 time=0.877 ms --- 21.174.165.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.877/3.467/8.435 ms 2025-07-09 09:32:06,778 - INFO - Ping to IP 21.174.165.195 from VM ctest-TestRoutersBasic-46987598-04472647 passed 2025-07-09 09:32:06,778 - INFO - Deleting interface with subnet_id 848b47c6-c3fd-4571-bebc-656d900e5a4b, port_id None from router 0b0e86b4-0884-4c11-ab22-9dd5784f355c 2025-07-09 09:32:07,006 - INFO - Deleting VM ctest-TestRoutersBasic-46987598-24195891 2025-07-09 09:32:07,081 - INFO - Deleting VM ctest-TestRoutersBasic-46987598-04472647 2025-07-09 09:32:07,180 - INFO - Deleting VN ctest-ext_vn-97400936 2025-07-09 09:32:07,265 - DEBUG - VN 9aadc366-46e9-4ae9-9e3c-ed88e6b97676 still in use: Unable to complete operation on network 9aadc366-46e9-4ae9-9e3c-ed88e6b97676. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d616dfb8-6e24-4b84-af7f-9a9716bd5cf5'] 2025-07-09 09:32:07,265 - WARNING - Deleting VN ctest-ext_vn-97400936 failed..Will retry 2025-07-09 09:32:09,393 - DEBUG - Response for deleting network () 2025-07-09 09:32:09,393 - INFO - Deleting VN ctest-vn-63551144 2025-07-09 09:32:09,503 - DEBUG - Response for deleting network () 2025-07-09 09:32:09,760 - DEBUG - No XMPP flaps were noticed during the test 2025-07-09 09:32:09,760 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-07-09 09:32:09,760 - INFO - -------------------------------------------------------------------------------- 2025-07-09 09:32:10,460 - INFO - Deleted project: ctest-TestRoutersBasic-46987598, ID : 56fea0ae-2b22-49d2-8f20-f466d712706e