2025-09-11 02:00:16,943 - INFO - Domain Default found not creating 2025-09-11 02:00:17,085 - INFO - Project ctest-TestRoutersBasic-34979089 not found, creating it 2025-09-11 02:00:17,558 - INFO - Created Project:ctest-TestRoutersBasic-34979089, ID : 0caeb529-12ed-490f-a237-29d12be7f4d0 2025-09-11 02:00:18,978 - INFO - ================================================================================ 2025-09-11 02:00:18,978 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-11 02:00:18,978 - 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-09-11 02:00:19,253 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-09-11 02:00:19,253 - INFO - Initial checks done. Running the testcase now 2025-09-11 02:00:19,253 - INFO - 2025-09-11 02:00:19,934 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34979089 2025-09-11 02:00:20,032 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34979089 2025-09-11 02:00:20,351 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34979089', 'default']} 2025-09-11 02:00:20,645 - DEBUG - Response for create_network : {'network': {'id': 'b6be739f-b20f-47e4-8855-db81787a5acf', 'name': 'ctest-vn-84727472', 'tenant_id': '0caeb52912ed490fa23729d12be7f4d0', 'project_id': '0caeb52912ed490fa23729d12be7f4d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34979089', 'ctest-vn-84727472'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 02:00:20,800 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0c31a65-d347-4fe5-b695-3fd36663f8ec', 'name': '', 'tenant_id': '0caeb52912ed490fa23729d12be7f4d0', 'network_id': 'b6be739f-b20f-47e4-8855-db81787a5acf', 'ip_version': 4, 'cidr': '160.43.153.64/26', 'allocation_pools': [{'start': '160.43.153.66', 'end': '160.43.153.126'}], 'gateway_ip': '160.43.153.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.43.153.66', 'tags': [], 'project_id': '0caeb52912ed490fa23729d12be7f4d0'}} 2025-09-11 02:00:20,816 - INFO - Created VN ctest-vn-84727472 2025-09-11 02:00:20,868 - DEBUG - VN ctest-vn-84727472 UUID is b6be739f-b20f-47e4-8855-db81787a5acf 2025-09-11 02:00:21,209 - DEBUG - Response for create_network : {'network': {'id': 'a06f0d7e-2373-48f8-b329-3a3e1d641ee6', 'name': 'ctest-ext_vn-82221827', 'tenant_id': '0caeb52912ed490fa23729d12be7f4d0', 'project_id': '0caeb52912ed490fa23729d12be7f4d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34979089', 'ctest-ext_vn-82221827'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 02:00:21,369 - DEBUG - Response for create_subnet : {'subnet': {'id': '169fa884-a99c-4a2d-979c-5e935c88b59a', 'name': '', 'tenant_id': '0caeb52912ed490fa23729d12be7f4d0', 'network_id': 'a06f0d7e-2373-48f8-b329-3a3e1d641ee6', 'ip_version': 4, 'cidr': '55.107.190.128/26', 'allocation_pools': [{'start': '55.107.190.130', 'end': '55.107.190.190'}], 'gateway_ip': '55.107.190.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.107.190.130', 'tags': [], 'project_id': '0caeb52912ed490fa23729d12be7f4d0'}} 2025-09-11 02:00:21,390 - INFO - Created VN ctest-ext_vn-82221827 2025-09-11 02:00:21,440 - DEBUG - VN ctest-ext_vn-82221827 UUID is a06f0d7e-2373-48f8-b329-3a3e1d641ee6 2025-09-11 02:00:21,641 - DEBUG - Services list from nova: [, , ] 2025-09-11 02:00:22,673 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4076-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4076-1) 2025-09-11 02:00:23,776 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4076-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4076-1) 2025-09-11 02:00:23,864 - INFO - Setting gateway for router 38908a59-0b04-4ece-b9bc-033e426c8506 to network a06f0d7e-2373-48f8-b329-3a3e1d641ee6 2025-09-11 02:00:23,923 - INFO - Adding interface with subnet_id d0c31a65-d347-4fe5-b695-3fd36663f8ec, port_id None to router 38908a59-0b04-4ece-b9bc-033e426c8506 2025-09-11 02:00:24,192 - INFO - Waiting for VM ctest-TestRoutersBasic-34979089-98718064 to be up.. 2025-09-11 02:00:24,330 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 02:00:29,401 - DEBUG - VM is in ACTIVE state now 2025-09-11 02:00:29,401 - INFO - VM name : ctest-TestRoutersBasic-34979089-98718064 2025-09-11 02:00:29,468 - DEBUG - VM ctest-TestRoutersBasic-34979089-98718064 ID is 6c374e1c-8cad-48f5-a8b1-20cc7eb2ac7f 2025-09-11 02:00:29,485 - DEBUG - VM ctest-TestRoutersBasic-34979089-98718064 launched on Node cn-jenkins-deploy-platform-ansible-os-4076-1 2025-09-11 02:00:29,550 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6c374e1c-8cad-48f5-a8b1-20cc7eb2ac7f 2025-09-11 02:00:29,840 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6c374e1c-8cad-48f5-a8b1-20cc7eb2ac7f 2025-09-11 02:00:29,869 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e7ff7ef3-0a43-43b7-95e5-c456fc1fd421 2025-09-11 02:00:33,123 - 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 1027ms') 2025-09-11 02:00:33,123 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34979089-98718064 failed! 2025-09-11 02:00:33,175 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-34979089:ctest-vn-84727472 is 160.43.153.65 and allocation pool is NOT set 2025-09-11 02:00:35,237 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.519 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.519/1.938/3.357/1.419 ms') 2025-09-11 02:00:35,237 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-34979089-98718064 passed 2025-09-11 02:00:35,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:00:35,388 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34979089-98718064, IP 160.43.153.67, Port 22 2025-09-11 02:00:35,551 - DEBUG - VM ctest-TestRoutersBasic-34979089-98718064 is ready for SSH connections 2025-09-11 02:00:35,552 - INFO - Waiting for VM ctest-TestRoutersBasic-34979089-51294454 to be up.. 2025-09-11 02:00:35,625 - DEBUG - VM is in ACTIVE state now 2025-09-11 02:00:35,626 - INFO - VM name : ctest-TestRoutersBasic-34979089-51294454 2025-09-11 02:00:35,693 - DEBUG - VM ctest-TestRoutersBasic-34979089-51294454 ID is 92495329-7b7d-413f-9319-5849935d479c 2025-09-11 02:00:35,693 - DEBUG - VM ctest-TestRoutersBasic-34979089-51294454 launched on Node cn-jenkins-deploy-platform-ansible-os-4076-1 2025-09-11 02:00:35,762 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/92495329-7b7d-413f-9319-5849935d479c 2025-09-11 02:00:35,769 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4d79765f-7f5c-4ea2-a26f-9f75d2811f0d 2025-09-11 02:00:37,000 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.661 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.661/2.065/3.470/1.404 ms') 2025-09-11 02:00:37,000 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-34979089-51294454 passed 2025-09-11 02:00:37,152 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:00:37,152 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34979089-51294454, IP 55.107.190.131, Port 22 2025-09-11 02:00:37,320 - DEBUG - VM ctest-TestRoutersBasic-34979089-51294454 is ready for SSH connections 2025-09-11 02:00:37,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:00:37,320 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.107.190.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-11 02:00:37,320 - DEBUG - ping -s 56 -c 3 -W 1 55.107.190.131 2025-09-11 02:00:41,022 - DEBUG - PING 55.107.190.131 (55.107.190.131): 56 data bytes 64 bytes from 55.107.190.131: seq=0 ttl=62 time=8.383 ms 64 bytes from 55.107.190.131: seq=1 ttl=62 time=0.983 ms 64 bytes from 55.107.190.131: seq=2 ttl=62 time=0.961 ms --- 55.107.190.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.961/3.442/8.383 ms 2025-09-11 02:00:41,022 - INFO - Ping to IP 55.107.190.131 from VM ctest-TestRoutersBasic-34979089-98718064 passed 2025-09-11 02:00:41,022 - INFO - Deleting interface with subnet_id d0c31a65-d347-4fe5-b695-3fd36663f8ec, port_id None from router 38908a59-0b04-4ece-b9bc-033e426c8506 2025-09-11 02:00:41,187 - INFO - Deleting VM ctest-TestRoutersBasic-34979089-51294454 2025-09-11 02:00:41,260 - INFO - Deleting VM ctest-TestRoutersBasic-34979089-98718064 2025-09-11 02:00:41,331 - INFO - Deleting VN ctest-ext_vn-82221827 2025-09-11 02:00:41,398 - DEBUG - VN a06f0d7e-2373-48f8-b329-3a3e1d641ee6 still in use: Unable to complete operation on network a06f0d7e-2373-48f8-b329-3a3e1d641ee6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8236081c-3d57-4b60-b15e-2afc3b66e952'] 2025-09-11 02:00:41,399 - WARNING - Deleting VN ctest-ext_vn-82221827 failed..Will retry 2025-09-11 02:00:43,500 - DEBUG - Response for deleting network () 2025-09-11 02:00:43,500 - INFO - Deleting VN ctest-vn-84727472 2025-09-11 02:00:43,596 - DEBUG - Response for deleting network () 2025-09-11 02:00:43,848 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 02:00:43,848 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-11 02:00:43,848 - INFO - -------------------------------------------------------------------------------- 2025-09-11 02:00:44,506 - INFO - Deleted project: ctest-TestRoutersBasic-34979089, ID : 0caeb529-12ed-490f-a237-29d12be7f4d0