2025-10-11 19:28:03,408 - INFO - Domain Default found not creating 2025-10-11 19:28:03,739 - INFO - Project ctest-TestRoutersBasic-26233633 not found, creating it 2025-10-11 19:28:04,394 - INFO - Created Project:ctest-TestRoutersBasic-26233633, ID : 7e296e59-b1cf-4e8c-8eea-9ff8f07bf5dd 2025-10-11 19:28:06,518 - INFO - ================================================================================ 2025-10-11 19:28:06,519 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-11 19:28:06,519 - 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-11 19:28:06,841 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-11 19:28:06,841 - INFO - Initial checks done. Running the testcase now 2025-10-11 19:28:06,841 - INFO - 2025-10-11 19:28:07,683 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-26233633 2025-10-11 19:28:07,789 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-26233633 2025-10-11 19:28:08,169 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26233633', 'default']} 2025-10-11 19:28:08,655 - DEBUG - Response for create_network : {'network': {'id': '1f7a125a-a50e-4981-bd9f-15ea1145aa3f', 'name': 'ctest-vn-87528468', 'tenant_id': '7e296e59b1cf4e8c8eea9ff8f07bf5dd', 'project_id': '7e296e59b1cf4e8c8eea9ff8f07bf5dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26233633', 'ctest-vn-87528468'], 'port_security_enabled': True, 'description': ''}} 2025-10-11 19:28:08,869 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c4b1cab-17e5-4a5f-a516-4bc9bf1a0796', 'name': '', 'tenant_id': '7e296e59b1cf4e8c8eea9ff8f07bf5dd', 'network_id': '1f7a125a-a50e-4981-bd9f-15ea1145aa3f', 'ip_version': 4, 'cidr': '156.13.189.0/26', 'allocation_pools': [{'start': '156.13.189.2', 'end': '156.13.189.62'}], 'gateway_ip': '156.13.189.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.13.189.2', 'tags': [], 'project_id': '7e296e59b1cf4e8c8eea9ff8f07bf5dd'}} 2025-10-11 19:28:08,889 - INFO - Created VN ctest-vn-87528468 2025-10-11 19:28:08,941 - DEBUG - VN ctest-vn-87528468 UUID is 1f7a125a-a50e-4981-bd9f-15ea1145aa3f 2025-10-11 19:28:09,500 - DEBUG - Response for create_network : {'network': {'id': '2bde07b4-1b1f-43b8-8166-9d251f0b276c', 'name': 'ctest-ext_vn-44788027', 'tenant_id': '7e296e59b1cf4e8c8eea9ff8f07bf5dd', 'project_id': '7e296e59b1cf4e8c8eea9ff8f07bf5dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26233633', 'ctest-ext_vn-44788027'], 'port_security_enabled': True, 'description': ''}} 2025-10-11 19:28:09,695 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ef5e24e-df7d-49b1-80d6-ff2fb61939bf', 'name': '', 'tenant_id': '7e296e59b1cf4e8c8eea9ff8f07bf5dd', 'network_id': '2bde07b4-1b1f-43b8-8166-9d251f0b276c', 'ip_version': 4, 'cidr': '196.145.167.0/26', 'allocation_pools': [{'start': '196.145.167.2', 'end': '196.145.167.62'}], 'gateway_ip': '196.145.167.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.145.167.2', 'tags': [], 'project_id': '7e296e59b1cf4e8c8eea9ff8f07bf5dd'}} 2025-10-11 19:28:09,717 - INFO - Created VN ctest-ext_vn-44788027 2025-10-11 19:28:09,769 - DEBUG - VN ctest-ext_vn-44788027 UUID is 2bde07b4-1b1f-43b8-8166-9d251f0b276c 2025-10-11 19:28:09,969 - DEBUG - Services list from nova: [, , ] 2025-10-11 19:28:11,456 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4288-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4288-1) 2025-10-11 19:28:12,816 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4288-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4288-1) 2025-10-11 19:28:12,913 - INFO - Setting gateway for router 977b0245-3050-4788-879d-d1824226ba4e to network 2bde07b4-1b1f-43b8-8166-9d251f0b276c 2025-10-11 19:28:12,989 - INFO - Adding interface with subnet_id 1c4b1cab-17e5-4a5f-a516-4bc9bf1a0796, port_id None to router 977b0245-3050-4788-879d-d1824226ba4e 2025-10-11 19:28:13,367 - INFO - Waiting for VM ctest-TestRoutersBasic-26233633-06925807 to be up.. 2025-10-11 19:28:13,463 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-11 19:28:18,658 - DEBUG - VM is in ACTIVE state now 2025-10-11 19:28:18,658 - INFO - VM name : ctest-TestRoutersBasic-26233633-06925807 2025-10-11 19:28:18,826 - DEBUG - VM ctest-TestRoutersBasic-26233633-06925807 ID is b2bac643-9c63-46cd-acdb-463e9df13fbd 2025-10-11 19:28:18,850 - DEBUG - VM ctest-TestRoutersBasic-26233633-06925807 launched on Node cn-jenkins-deploy-platform-ansible-os-4288-1 2025-10-11 19:28:18,978 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b2bac643-9c63-46cd-acdb-463e9df13fbd 2025-10-11 19:28:19,322 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b2bac643-9c63-46cd-acdb-463e9df13fbd 2025-10-11 19:28:19,393 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/14ccd8de-809e-4e02-b4ab-46c8f81e90de 2025-10-11 19:28:22,734 - 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 1030ms') 2025-10-11 19:28:22,734 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26233633-06925807 failed! 2025-10-11 19:28:22,797 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-26233633:ctest-vn-87528468 is 156.13.189.1 and allocation pool is NOT set 2025-10-11 19:28:24,884 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.00 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 = 3.002/3.378/3.754/0.376 ms') 2025-10-11 19:28:24,884 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26233633-06925807 passed 2025-10-11 19:28:25,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 19:28:25,057 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26233633-06925807, IP 156.13.189.3, Port 22 2025-10-11 19:28:25,241 - DEBUG - VM ctest-TestRoutersBasic-26233633-06925807 is ready for SSH connections 2025-10-11 19:28:25,241 - INFO - Waiting for VM ctest-TestRoutersBasic-26233633-58943803 to be up.. 2025-10-11 19:28:25,382 - DEBUG - VM is in ACTIVE state now 2025-10-11 19:28:25,383 - INFO - VM name : ctest-TestRoutersBasic-26233633-58943803 2025-10-11 19:28:25,487 - DEBUG - VM ctest-TestRoutersBasic-26233633-58943803 ID is 7344d4bf-c288-4268-9b5a-656c471c8a74 2025-10-11 19:28:25,488 - DEBUG - VM ctest-TestRoutersBasic-26233633-58943803 launched on Node cn-jenkins-deploy-platform-ansible-os-4288-1 2025-10-11 19:28:25,635 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7344d4bf-c288-4268-9b5a-656c471c8a74 2025-10-11 19:28:25,655 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/01e7b1d0-5ce8-4133-b353-06a9ac2c5b0a 2025-10-11 19:28:26,989 - 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=8.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.534 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.534/4.620/8.707/4.086 ms') 2025-10-11 19:28:26,989 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-26233633-58943803 passed 2025-10-11 19:28:27,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 19:28:27,165 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26233633-58943803, IP 196.145.167.3, Port 22 2025-10-11 19:28:27,367 - DEBUG - VM ctest-TestRoutersBasic-26233633-58943803 is ready for SSH connections 2025-10-11 19:28:27,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 19:28:27,368 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.145.167.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-11 19:28:27,368 - DEBUG - ping -s 56 -c 3 -W 1 196.145.167.3 2025-10-11 19:28:31,587 - DEBUG - PING 196.145.167.3 (196.145.167.3): 56 data bytes 64 bytes from 196.145.167.3: seq=0 ttl=62 time=5.304 ms 64 bytes from 196.145.167.3: seq=1 ttl=62 time=2.316 ms 64 bytes from 196.145.167.3: seq=2 ttl=62 time=1.906 ms --- 196.145.167.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.906/3.175/5.304 ms 2025-10-11 19:28:31,588 - INFO - Ping to IP 196.145.167.3 from VM ctest-TestRoutersBasic-26233633-06925807 passed 2025-10-11 19:28:31,588 - INFO - Deleting interface with subnet_id 1c4b1cab-17e5-4a5f-a516-4bc9bf1a0796, port_id None from router 977b0245-3050-4788-879d-d1824226ba4e 2025-10-11 19:28:31,914 - INFO - Deleting VM ctest-TestRoutersBasic-26233633-58943803 2025-10-11 19:28:31,993 - INFO - Deleting VM ctest-TestRoutersBasic-26233633-06925807 2025-10-11 19:28:32,077 - INFO - Deleting VN ctest-ext_vn-44788027 2025-10-11 19:28:32,203 - DEBUG - VN 2bde07b4-1b1f-43b8-8166-9d251f0b276c still in use: Unable to complete operation on network 2bde07b4-1b1f-43b8-8166-9d251f0b276c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-00976b92-a554-4c8b-bb3e-9eafb16e4dd4'] 2025-10-11 19:28:32,203 - WARNING - Deleting VN ctest-ext_vn-44788027 failed..Will retry 2025-10-11 19:28:34,414 - DEBUG - Response for deleting network () 2025-10-11 19:28:34,414 - INFO - Deleting VN ctest-vn-87528468 2025-10-11 19:28:34,529 - DEBUG - Response for deleting network () 2025-10-11 19:28:34,833 - DEBUG - No XMPP flaps were noticed during the test 2025-10-11 19:28:34,833 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2025-10-11 19:28:34,833 - INFO - -------------------------------------------------------------------------------- 2025-10-11 19:28:35,724 - INFO - Deleted project: ctest-TestRoutersBasic-26233633, ID : 7e296e59-b1cf-4e8c-8eea-9ff8f07bf5dd