2025-10-22 20:25:29,695 - INFO - Domain Default found not creating 2025-10-22 20:25:29,886 - INFO - Project ctest-TestRoutersBasic-56662601 not found, creating it 2025-10-22 20:25:30,342 - INFO - Created Project:ctest-TestRoutersBasic-56662601, ID : bf2439a8-38e0-4c80-b2c1-033b8a3e9e00 2025-10-22 20:25:31,715 - INFO - ================================================================================ 2025-10-22 20:25:31,715 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-22 20:25:31,715 - 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-22 20:25:31,968 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-22 20:25:31,968 - INFO - Initial checks done. Running the testcase now 2025-10-22 20:25:31,968 - INFO - 2025-10-22 20:25:32,669 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56662601 2025-10-22 20:25:32,764 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56662601 2025-10-22 20:25:33,084 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56662601', 'default']} 2025-10-22 20:25:33,361 - DEBUG - Response for create_network : {'network': {'id': '018dffa9-624c-48f7-a047-8fd522751581', 'name': 'ctest-vn-01533330', 'tenant_id': 'bf2439a838e04c80b2c1033b8a3e9e00', 'project_id': 'bf2439a838e04c80b2c1033b8a3e9e00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56662601', 'ctest-vn-01533330'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 20:25:33,577 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e11d4b31-e770-4f40-a0b8-b7764fc6ed9f', 'name': '', 'tenant_id': 'bf2439a838e04c80b2c1033b8a3e9e00', 'network_id': '018dffa9-624c-48f7-a047-8fd522751581', 'ip_version': 4, 'cidr': '94.58.52.192/26', 'allocation_pools': [{'start': '94.58.52.194', 'end': '94.58.52.254'}], 'gateway_ip': '94.58.52.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.58.52.194', 'tags': [], 'project_id': 'bf2439a838e04c80b2c1033b8a3e9e00'}} 2025-10-22 20:25:33,591 - INFO - Created VN ctest-vn-01533330 2025-10-22 20:25:33,640 - DEBUG - VN ctest-vn-01533330 UUID is 018dffa9-624c-48f7-a047-8fd522751581 2025-10-22 20:25:33,964 - DEBUG - Response for create_network : {'network': {'id': '7a925c63-70ea-4c3d-81fc-8f0bc6b94542', 'name': 'ctest-ext_vn-91843641', 'tenant_id': 'bf2439a838e04c80b2c1033b8a3e9e00', 'project_id': 'bf2439a838e04c80b2c1033b8a3e9e00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56662601', 'ctest-ext_vn-91843641'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 20:25:34,133 - DEBUG - Response for create_subnet : {'subnet': {'id': '5224ba51-d737-47df-aef6-444cf5e481de', 'name': '', 'tenant_id': 'bf2439a838e04c80b2c1033b8a3e9e00', 'network_id': '7a925c63-70ea-4c3d-81fc-8f0bc6b94542', 'ip_version': 4, 'cidr': '119.203.103.128/26', 'allocation_pools': [{'start': '119.203.103.130', 'end': '119.203.103.190'}], 'gateway_ip': '119.203.103.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.203.103.130', 'tags': [], 'project_id': 'bf2439a838e04c80b2c1033b8a3e9e00'}} 2025-10-22 20:25:34,148 - INFO - Created VN ctest-ext_vn-91843641 2025-10-22 20:25:34,196 - DEBUG - VN ctest-ext_vn-91843641 UUID is 7a925c63-70ea-4c3d-81fc-8f0bc6b94542 2025-10-22 20:25:34,392 - DEBUG - Services list from nova: [, , ] 2025-10-22 20:25:35,382 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4440-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4440-1) 2025-10-22 20:25:36,472 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4440-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4440-1) 2025-10-22 20:25:36,544 - INFO - Setting gateway for router b259e00d-c17a-4acc-99d7-ccc8b3ae2563 to network 7a925c63-70ea-4c3d-81fc-8f0bc6b94542 2025-10-22 20:25:36,588 - INFO - Adding interface with subnet_id e11d4b31-e770-4f40-a0b8-b7764fc6ed9f, port_id None to router b259e00d-c17a-4acc-99d7-ccc8b3ae2563 2025-10-22 20:25:36,874 - INFO - Waiting for VM ctest-TestRoutersBasic-56662601-98012047 to be up.. 2025-10-22 20:25:36,981 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 20:25:42,074 - DEBUG - VM is in ACTIVE state now 2025-10-22 20:25:42,074 - INFO - VM name : ctest-TestRoutersBasic-56662601-98012047 2025-10-22 20:25:42,144 - DEBUG - VM ctest-TestRoutersBasic-56662601-98012047 ID is 27b74a22-54c4-4b7e-8541-0b0fb327f890 2025-10-22 20:25:42,164 - DEBUG - VM ctest-TestRoutersBasic-56662601-98012047 launched on Node cn-jenkins-deploy-platform-ansible-os-4440-1 2025-10-22 20:25:42,232 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/27b74a22-54c4-4b7e-8541-0b0fb327f890 2025-10-22 20:25:42,525 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/27b74a22-54c4-4b7e-8541-0b0fb327f890 2025-10-22 20:25:42,553 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/988a9730-e8e8-4b16-b036-5e5b6b4e38ae 2025-10-22 20:25:45,793 - 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 1003ms') 2025-10-22 20:25:45,794 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56662601-98012047 failed! 2025-10-22 20:25:45,848 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56662601:ctest-vn-01533330 is 94.58.52.193 and allocation pool is NOT set 2025-10-22 20:25:47,907 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.466 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.466/1.536/2.606/1.070 ms') 2025-10-22 20:25:47,908 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56662601-98012047 passed 2025-10-22 20:25:48,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 20:25:48,068 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56662601-98012047, IP 94.58.52.195, Port 22 2025-10-22 20:25:48,227 - DEBUG - VM ctest-TestRoutersBasic-56662601-98012047 is ready for SSH connections 2025-10-22 20:25:48,227 - INFO - Waiting for VM ctest-TestRoutersBasic-56662601-34960075 to be up.. 2025-10-22 20:25:48,314 - DEBUG - VM is in ACTIVE state now 2025-10-22 20:25:48,315 - INFO - VM name : ctest-TestRoutersBasic-56662601-34960075 2025-10-22 20:25:48,382 - DEBUG - VM ctest-TestRoutersBasic-56662601-34960075 ID is 086b7737-3139-43d8-ba20-793ae6dd0e16 2025-10-22 20:25:48,382 - DEBUG - VM ctest-TestRoutersBasic-56662601-34960075 launched on Node cn-jenkins-deploy-platform-ansible-os-4440-1 2025-10-22 20:25:48,455 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/086b7737-3139-43d8-ba20-793ae6dd0e16 2025-10-22 20:25:48,464 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e65b0e01-44ab-4987-a3b4-7cdc64f0914d 2025-10-22 20:25:49,698 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.393 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.393/1.609/2.825/1.216 ms') 2025-10-22 20:25:49,698 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56662601-34960075 passed 2025-10-22 20:25:49,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 20:25:49,848 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56662601-34960075, IP 119.203.103.131, Port 22 2025-10-22 20:25:50,004 - DEBUG - VM ctest-TestRoutersBasic-56662601-34960075 is ready for SSH connections 2025-10-22 20:25:50,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 20:25:50,004 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.203.103.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-22 20:25:50,004 - DEBUG - ping -s 56 -c 3 -W 1 119.203.103.131 2025-10-22 20:25:53,700 - DEBUG - PING 119.203.103.131 (119.203.103.131): 56 data bytes 64 bytes from 119.203.103.131: seq=0 ttl=62 time=4.478 ms 64 bytes from 119.203.103.131: seq=1 ttl=62 time=0.831 ms 64 bytes from 119.203.103.131: seq=2 ttl=62 time=1.105 ms --- 119.203.103.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.831/2.138/4.478 ms 2025-10-22 20:25:53,700 - INFO - Ping to IP 119.203.103.131 from VM ctest-TestRoutersBasic-56662601-98012047 passed 2025-10-22 20:25:53,700 - INFO - Deleting interface with subnet_id e11d4b31-e770-4f40-a0b8-b7764fc6ed9f, port_id None from router b259e00d-c17a-4acc-99d7-ccc8b3ae2563 2025-10-22 20:25:53,873 - INFO - Deleting VM ctest-TestRoutersBasic-56662601-34960075 2025-10-22 20:25:53,939 - INFO - Deleting VM ctest-TestRoutersBasic-56662601-98012047 2025-10-22 20:25:54,013 - INFO - Deleting VN ctest-ext_vn-91843641 2025-10-22 20:25:54,069 - DEBUG - VN 7a925c63-70ea-4c3d-81fc-8f0bc6b94542 still in use: Unable to complete operation on network 7a925c63-70ea-4c3d-81fc-8f0bc6b94542. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6855962c-27f8-4f19-8008-cdc40346670b'] 2025-10-22 20:25:54,069 - WARNING - Deleting VN ctest-ext_vn-91843641 failed..Will retry 2025-10-22 20:25:56,158 - DEBUG - Response for deleting network () 2025-10-22 20:25:56,158 - INFO - Deleting VN ctest-vn-01533330 2025-10-22 20:25:56,254 - DEBUG - Response for deleting network () 2025-10-22 20:25:56,511 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 20:25:56,511 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-22 20:25:56,511 - INFO - -------------------------------------------------------------------------------- 2025-10-22 20:25:57,175 - INFO - Deleted project: ctest-TestRoutersBasic-56662601, ID : bf2439a8-38e0-4c80-b2c1-033b8a3e9e00