2025-10-27 11:34:23,336 - INFO - Domain Default found not creating 2025-10-27 11:34:23,482 - INFO - Project ctest-TestRoutersBasic-09035178 not found, creating it 2025-10-27 11:34:23,925 - INFO - Created Project:ctest-TestRoutersBasic-09035178, ID : 478b8519-4127-49ce-a740-2643f7d618bf 2025-10-27 11:34:25,382 - INFO - ================================================================================ 2025-10-27 11:34:25,382 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-27 11:34:25,382 - 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-10-27 11:34:25,635 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-10-27 11:34:25,635 - INFO - Initial checks done. Running the testcase now 2025-10-27 11:34:25,635 - INFO - 2025-10-27 11:34:26,340 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-09035178 2025-10-27 11:34:26,437 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-09035178 2025-10-27 11:34:26,757 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09035178', 'default']} 2025-10-27 11:34:27,048 - DEBUG - Response for create_network : {'network': {'id': '7483f024-f778-4deb-aaa5-4efdf0bb2240', 'name': 'ctest-vn-40653771', 'tenant_id': '478b8519412749cea7402643f7d618bf', 'project_id': '478b8519412749cea7402643f7d618bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09035178', 'ctest-vn-40653771'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:34:27,277 - DEBUG - Response for create_subnet : {'subnet': {'id': '55e88e6b-6b51-487f-bd5a-a1e924480d1d', 'name': '', 'tenant_id': '478b8519412749cea7402643f7d618bf', 'network_id': '7483f024-f778-4deb-aaa5-4efdf0bb2240', 'ip_version': 4, 'cidr': '86.129.197.64/26', 'allocation_pools': [{'start': '86.129.197.66', 'end': '86.129.197.126'}], 'gateway_ip': '86.129.197.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.129.197.66', 'tags': [], 'project_id': '478b8519412749cea7402643f7d618bf'}} 2025-10-27 11:34:27,295 - INFO - Created VN ctest-vn-40653771 2025-10-27 11:34:27,353 - DEBUG - VN ctest-vn-40653771 UUID is 7483f024-f778-4deb-aaa5-4efdf0bb2240 2025-10-27 11:34:27,665 - DEBUG - Response for create_network : {'network': {'id': '094b85d0-435b-48a6-bf04-3ef40ea93fa3', 'name': 'ctest-ext_vn-26244889', 'tenant_id': '478b8519412749cea7402643f7d618bf', 'project_id': '478b8519412749cea7402643f7d618bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09035178', 'ctest-ext_vn-26244889'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:34:27,835 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9e41d63-e666-4fb6-921d-c35977bbf488', 'name': '', 'tenant_id': '478b8519412749cea7402643f7d618bf', 'network_id': '094b85d0-435b-48a6-bf04-3ef40ea93fa3', 'ip_version': 4, 'cidr': '1.234.139.192/26', 'allocation_pools': [{'start': '1.234.139.194', 'end': '1.234.139.254'}], 'gateway_ip': '1.234.139.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.234.139.194', 'tags': [], 'project_id': '478b8519412749cea7402643f7d618bf'}} 2025-10-27 11:34:27,854 - INFO - Created VN ctest-ext_vn-26244889 2025-10-27 11:34:27,905 - DEBUG - VN ctest-ext_vn-26244889 UUID is 094b85d0-435b-48a6-bf04-3ef40ea93fa3 2025-10-27 11:34:28,077 - DEBUG - Services list from nova: [, , ] 2025-10-27 11:34:29,119 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4499-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4499-1) 2025-10-27 11:34:30,255 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4499-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4499-1) 2025-10-27 11:34:30,319 - INFO - Setting gateway for router 565909da-8ed3-46ba-8be2-b3295993dd3d to network 094b85d0-435b-48a6-bf04-3ef40ea93fa3 2025-10-27 11:34:30,385 - INFO - Adding interface with subnet_id 55e88e6b-6b51-487f-bd5a-a1e924480d1d, port_id None to router 565909da-8ed3-46ba-8be2-b3295993dd3d 2025-10-27 11:34:30,832 - INFO - Waiting for VM ctest-TestRoutersBasic-09035178-67546070 to be up.. 2025-10-27 11:34:31,024 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 11:34:36,101 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:34:36,101 - INFO - VM name : ctest-TestRoutersBasic-09035178-67546070 2025-10-27 11:34:36,177 - DEBUG - VM ctest-TestRoutersBasic-09035178-67546070 ID is 66a120d7-edc6-42e1-a747-64ff33dda9c0 2025-10-27 11:34:36,198 - DEBUG - VM ctest-TestRoutersBasic-09035178-67546070 launched on Node cn-jenkins-deploy-platform-ansible-os-4499-1 2025-10-27 11:34:36,287 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/66a120d7-edc6-42e1-a747-64ff33dda9c0 2025-10-27 11:34:36,581 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/66a120d7-edc6-42e1-a747-64ff33dda9c0 2025-10-27 11:34:36,615 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7959b56e-92c3-4d67-a612-51245a6015e1 2025-10-27 11:34:39,870 - 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 1015ms') 2025-10-27 11:34:39,870 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09035178-67546070 failed! 2025-10-27 11:34:39,925 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-09035178:ctest-vn-40653771 is 86.129.197.65 and allocation pool is NOT set 2025-10-27 11:34:41,995 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.509 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.509/1.689/2.869/1.180 ms') 2025-10-27 11:34:41,995 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09035178-67546070 passed 2025-10-27 11:34:42,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:34:42,153 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09035178-67546070, IP 86.129.197.67, Port 22 2025-10-27 11:34:42,309 - DEBUG - VM ctest-TestRoutersBasic-09035178-67546070 is ready for SSH connections 2025-10-27 11:34:42,309 - INFO - Waiting for VM ctest-TestRoutersBasic-09035178-62801246 to be up.. 2025-10-27 11:34:42,389 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:34:42,389 - INFO - VM name : ctest-TestRoutersBasic-09035178-62801246 2025-10-27 11:34:42,467 - DEBUG - VM ctest-TestRoutersBasic-09035178-62801246 ID is 19d4a8f6-4f5b-4095-858a-f74104571050 2025-10-27 11:34:42,467 - DEBUG - VM ctest-TestRoutersBasic-09035178-62801246 launched on Node cn-jenkins-deploy-platform-ansible-os-4499-1 2025-10-27 11:34:42,544 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/19d4a8f6-4f5b-4095-858a-f74104571050 2025-10-27 11:34:42,553 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e0a6c891-2f84-4916-96e4-dc9d2a409f1a 2025-10-27 11:34:43,791 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.845 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.845/2.438/4.031/1.593 ms') 2025-10-27 11:34:43,791 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-09035178-62801246 passed 2025-10-27 11:34:43,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:34:43,945 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09035178-62801246, IP 1.234.139.195, Port 22 2025-10-27 11:34:44,100 - DEBUG - VM ctest-TestRoutersBasic-09035178-62801246 is ready for SSH connections 2025-10-27 11:34:44,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:34:44,101 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.234.139.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-27 11:34:44,101 - DEBUG - ping -s 56 -c 3 -W 1 1.234.139.195 2025-10-27 11:34:47,806 - DEBUG - PING 1.234.139.195 (1.234.139.195): 56 data bytes 64 bytes from 1.234.139.195: seq=0 ttl=62 time=5.129 ms 64 bytes from 1.234.139.195: seq=1 ttl=62 time=1.207 ms 64 bytes from 1.234.139.195: seq=2 ttl=62 time=1.029 ms --- 1.234.139.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.029/2.455/5.129 ms 2025-10-27 11:34:47,806 - INFO - Ping to IP 1.234.139.195 from VM ctest-TestRoutersBasic-09035178-67546070 passed 2025-10-27 11:34:47,807 - INFO - Deleting interface with subnet_id 55e88e6b-6b51-487f-bd5a-a1e924480d1d, port_id None from router 565909da-8ed3-46ba-8be2-b3295993dd3d 2025-10-27 11:34:48,018 - INFO - Deleting VM ctest-TestRoutersBasic-09035178-62801246 2025-10-27 11:34:48,093 - INFO - Deleting VM ctest-TestRoutersBasic-09035178-67546070 2025-10-27 11:34:48,186 - INFO - Deleting VN ctest-ext_vn-26244889 2025-10-27 11:34:48,259 - DEBUG - VN 094b85d0-435b-48a6-bf04-3ef40ea93fa3 still in use: Unable to complete operation on network 094b85d0-435b-48a6-bf04-3ef40ea93fa3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5ba141cb-cc6e-4314-984f-3d422e8ccaae'] 2025-10-27 11:34:48,259 - WARNING - Deleting VN ctest-ext_vn-26244889 failed..Will retry 2025-10-27 11:34:50,378 - DEBUG - Response for deleting network () 2025-10-27 11:34:50,378 - INFO - Deleting VN ctest-vn-40653771 2025-10-27 11:34:50,473 - DEBUG - Response for deleting network () 2025-10-27 11:34:50,726 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 11:34:50,727 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-27 11:34:50,727 - INFO - -------------------------------------------------------------------------------- 2025-10-27 11:34:51,430 - INFO - Deleted project: ctest-TestRoutersBasic-09035178, ID : 478b8519-4127-49ce-a740-2643f7d618bf