2025-10-08 20:20:09,881 - INFO - Domain Default found not creating 2025-10-08 20:20:10,002 - INFO - Project ctest-TestRoutersBasic-43676157 not found, creating it 2025-10-08 20:20:10,448 - INFO - Created Project:ctest-TestRoutersBasic-43676157, ID : 9b1dd18d-4583-470c-afac-5a1dea2b42ea 2025-10-08 20:20:11,763 - INFO - ================================================================================ 2025-10-08 20:20:11,763 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-08 20:20:11,763 - 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-08 20:20:12,016 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-08 20:20:12,016 - INFO - Initial checks done. Running the testcase now 2025-10-08 20:20:12,016 - INFO - 2025-10-08 20:20:12,695 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-43676157 2025-10-08 20:20:12,788 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-43676157 2025-10-08 20:20:13,100 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43676157', 'default']} 2025-10-08 20:20:13,443 - DEBUG - Response for create_network : {'network': {'id': 'bb02f1f7-fd9d-4af5-ba0a-a346aab98048', 'name': 'ctest-vn-66103750', 'tenant_id': '9b1dd18d4583470cafac5a1dea2b42ea', 'project_id': '9b1dd18d4583470cafac5a1dea2b42ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43676157', 'ctest-vn-66103750'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 20:20:13,590 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea4d860b-0bcf-4bd4-b568-82afb972a995', 'name': '', 'tenant_id': '9b1dd18d4583470cafac5a1dea2b42ea', 'network_id': 'bb02f1f7-fd9d-4af5-ba0a-a346aab98048', 'ip_version': 4, 'cidr': '117.8.205.192/26', 'allocation_pools': [{'start': '117.8.205.194', 'end': '117.8.205.254'}], 'gateway_ip': '117.8.205.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.8.205.194', 'tags': [], 'project_id': '9b1dd18d4583470cafac5a1dea2b42ea'}} 2025-10-08 20:20:13,607 - INFO - Created VN ctest-vn-66103750 2025-10-08 20:20:13,656 - DEBUG - VN ctest-vn-66103750 UUID is bb02f1f7-fd9d-4af5-ba0a-a346aab98048 2025-10-08 20:20:13,972 - DEBUG - Response for create_network : {'network': {'id': '77b84c7b-7d5e-47f9-9c20-88a6677da6ec', 'name': 'ctest-ext_vn-88650123', 'tenant_id': '9b1dd18d4583470cafac5a1dea2b42ea', 'project_id': '9b1dd18d4583470cafac5a1dea2b42ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43676157', 'ctest-ext_vn-88650123'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 20:20:14,160 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8acfc3d-fd7f-4612-affa-a6b6fd8ea179', 'name': '', 'tenant_id': '9b1dd18d4583470cafac5a1dea2b42ea', 'network_id': '77b84c7b-7d5e-47f9-9c20-88a6677da6ec', 'ip_version': 4, 'cidr': '23.68.46.0/26', 'allocation_pools': [{'start': '23.68.46.2', 'end': '23.68.46.62'}], 'gateway_ip': '23.68.46.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.68.46.2', 'tags': [], 'project_id': '9b1dd18d4583470cafac5a1dea2b42ea'}} 2025-10-08 20:20:14,174 - INFO - Created VN ctest-ext_vn-88650123 2025-10-08 20:20:14,224 - DEBUG - VN ctest-ext_vn-88650123 UUID is 77b84c7b-7d5e-47f9-9c20-88a6677da6ec 2025-10-08 20:20:14,410 - DEBUG - Services list from nova: [, , ] 2025-10-08 20:20:15,368 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4245-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4245-1) 2025-10-08 20:20:16,432 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4245-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4245-1) 2025-10-08 20:20:16,506 - INFO - Setting gateway for router 0f3b1d87-1a62-4ad3-804b-aea216069351 to network 77b84c7b-7d5e-47f9-9c20-88a6677da6ec 2025-10-08 20:20:16,567 - INFO - Adding interface with subnet_id ea4d860b-0bcf-4bd4-b568-82afb972a995, port_id None to router 0f3b1d87-1a62-4ad3-804b-aea216069351 2025-10-08 20:20:16,795 - INFO - Waiting for VM ctest-TestRoutersBasic-43676157-26594189 to be up.. 2025-10-08 20:20:16,936 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 20:20:22,007 - DEBUG - VM is in ACTIVE state now 2025-10-08 20:20:22,008 - INFO - VM name : ctest-TestRoutersBasic-43676157-26594189 2025-10-08 20:20:22,079 - DEBUG - VM ctest-TestRoutersBasic-43676157-26594189 ID is 45fe06e1-6c53-42d3-bf17-594f3e28b0e0 2025-10-08 20:20:22,097 - DEBUG - VM ctest-TestRoutersBasic-43676157-26594189 launched on Node cn-jenkins-deploy-platform-ansible-os-4245-1 2025-10-08 20:20:22,172 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/45fe06e1-6c53-42d3-bf17-594f3e28b0e0 2025-10-08 20:20:22,474 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/45fe06e1-6c53-42d3-bf17-594f3e28b0e0 2025-10-08 20:20:22,507 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c03de6c8-f786-4038-bc20-89f26067647f 2025-10-08 20:20:25,760 - 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 1007ms') 2025-10-08 20:20:25,760 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43676157-26594189 failed! 2025-10-08 20:20:25,812 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-43676157:ctest-vn-66103750 is 117.8.205.193 and allocation pool is NOT set 2025-10-08 20:20:27,874 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.458 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.458/1.543/2.628/1.085 ms') 2025-10-08 20:20:27,874 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43676157-26594189 passed 2025-10-08 20:20:28,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 20:20:28,020 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43676157-26594189, IP 117.8.205.195, Port 22 2025-10-08 20:20:28,172 - DEBUG - VM ctest-TestRoutersBasic-43676157-26594189 is ready for SSH connections 2025-10-08 20:20:28,172 - INFO - Waiting for VM ctest-TestRoutersBasic-43676157-56106100 to be up.. 2025-10-08 20:20:28,236 - DEBUG - VM is in ACTIVE state now 2025-10-08 20:20:28,236 - INFO - VM name : ctest-TestRoutersBasic-43676157-56106100 2025-10-08 20:20:28,297 - DEBUG - VM ctest-TestRoutersBasic-43676157-56106100 ID is c63f09f3-6078-4352-a3ea-a9d69ca853aa 2025-10-08 20:20:28,297 - DEBUG - VM ctest-TestRoutersBasic-43676157-56106100 launched on Node cn-jenkins-deploy-platform-ansible-os-4245-1 2025-10-08 20:20:28,358 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c63f09f3-6078-4352-a3ea-a9d69ca853aa 2025-10-08 20:20:28,365 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a1d71a71-9a21-4350-9e40-20a54b37de2b 2025-10-08 20:20:29,593 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.349 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.349/1.517/2.685/1.168 ms') 2025-10-08 20:20:29,594 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-43676157-56106100 passed 2025-10-08 20:20:29,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 20:20:29,740 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43676157-56106100, IP 23.68.46.3, Port 22 2025-10-08 20:20:29,891 - DEBUG - VM ctest-TestRoutersBasic-43676157-56106100 is ready for SSH connections 2025-10-08 20:20:29,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 20:20:29,891 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.68.46.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-08 20:20:29,891 - DEBUG - ping -s 56 -c 3 -W 1 23.68.46.3 2025-10-08 20:20:33,851 - DEBUG - PING 23.68.46.3 (23.68.46.3): 56 data bytes 64 bytes from 23.68.46.3: seq=0 ttl=62 time=5.897 ms 64 bytes from 23.68.46.3: seq=1 ttl=62 time=0.861 ms 64 bytes from 23.68.46.3: seq=2 ttl=62 time=0.875 ms --- 23.68.46.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.861/2.544/5.897 ms 2025-10-08 20:20:33,851 - INFO - Ping to IP 23.68.46.3 from VM ctest-TestRoutersBasic-43676157-26594189 passed 2025-10-08 20:20:33,851 - INFO - Deleting interface with subnet_id ea4d860b-0bcf-4bd4-b568-82afb972a995, port_id None from router 0f3b1d87-1a62-4ad3-804b-aea216069351 2025-10-08 20:20:34,010 - INFO - Deleting VM ctest-TestRoutersBasic-43676157-56106100 2025-10-08 20:20:34,072 - INFO - Deleting VM ctest-TestRoutersBasic-43676157-26594189 2025-10-08 20:20:34,139 - INFO - Deleting VN ctest-ext_vn-88650123 2025-10-08 20:20:34,200 - DEBUG - VN 77b84c7b-7d5e-47f9-9c20-88a6677da6ec still in use: Unable to complete operation on network 77b84c7b-7d5e-47f9-9c20-88a6677da6ec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-45b1e9fd-b320-4e4d-af62-511173162894'] 2025-10-08 20:20:34,201 - WARNING - Deleting VN ctest-ext_vn-88650123 failed..Will retry 2025-10-08 20:20:36,285 - DEBUG - Response for deleting network () 2025-10-08 20:20:36,285 - INFO - Deleting VN ctest-vn-66103750 2025-10-08 20:20:36,368 - DEBUG - Response for deleting network () 2025-10-08 20:20:36,624 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 20:20:36,624 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-08 20:20:36,624 - INFO - -------------------------------------------------------------------------------- 2025-10-08 20:20:37,260 - INFO - Deleted project: ctest-TestRoutersBasic-43676157, ID : 9b1dd18d-4583-470c-afac-5a1dea2b42ea