2025-10-09 10:16:21,973 - INFO - Domain Default found not creating 2025-10-09 10:16:22,106 - INFO - Project ctest-TestRoutersBasic-20229799 not found, creating it 2025-10-09 10:16:22,761 - INFO - Created Project:ctest-TestRoutersBasic-20229799, ID : 42b3e429-c895-44c1-9627-09d10aab9eec 2025-10-09 10:16:24,253 - INFO - ================================================================================ 2025-10-09 10:16:24,253 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-09 10:16:24,253 - 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-09 10:16:24,504 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-09 10:16:24,505 - INFO - Initial checks done. Running the testcase now 2025-10-09 10:16:24,505 - INFO - 2025-10-09 10:16:25,187 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-20229799 2025-10-09 10:16:25,284 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-20229799 2025-10-09 10:16:25,599 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20229799', 'default']} 2025-10-09 10:16:25,869 - DEBUG - Response for create_network : {'network': {'id': 'ba5a01e7-d57b-4d8d-b381-ce938a1724e3', 'name': 'ctest-vn-31889453', 'tenant_id': '42b3e429c89544c1962709d10aab9eec', 'project_id': '42b3e429c89544c1962709d10aab9eec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20229799', 'ctest-vn-31889453'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 10:16:26,047 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a29442ad-cd19-4975-b83a-d9d520811a04', 'name': '', 'tenant_id': '42b3e429c89544c1962709d10aab9eec', 'network_id': 'ba5a01e7-d57b-4d8d-b381-ce938a1724e3', 'ip_version': 4, 'cidr': '99.133.81.128/26', 'allocation_pools': [{'start': '99.133.81.130', 'end': '99.133.81.190'}], 'gateway_ip': '99.133.81.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.133.81.130', 'tags': [], 'project_id': '42b3e429c89544c1962709d10aab9eec'}} 2025-10-09 10:16:26,065 - INFO - Created VN ctest-vn-31889453 2025-10-09 10:16:26,116 - DEBUG - VN ctest-vn-31889453 UUID is ba5a01e7-d57b-4d8d-b381-ce938a1724e3 2025-10-09 10:16:26,461 - DEBUG - Response for create_network : {'network': {'id': '4985f917-24dd-496b-952a-aa58259a57f6', 'name': 'ctest-ext_vn-42900262', 'tenant_id': '42b3e429c89544c1962709d10aab9eec', 'project_id': '42b3e429c89544c1962709d10aab9eec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20229799', 'ctest-ext_vn-42900262'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 10:16:26,607 - DEBUG - Response for create_subnet : {'subnet': {'id': '96dcb812-e0ca-46a7-a799-0429f906b9dc', 'name': '', 'tenant_id': '42b3e429c89544c1962709d10aab9eec', 'network_id': '4985f917-24dd-496b-952a-aa58259a57f6', 'ip_version': 4, 'cidr': '68.195.197.192/26', 'allocation_pools': [{'start': '68.195.197.194', 'end': '68.195.197.254'}], 'gateway_ip': '68.195.197.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.195.197.194', 'tags': [], 'project_id': '42b3e429c89544c1962709d10aab9eec'}} 2025-10-09 10:16:26,623 - INFO - Created VN ctest-ext_vn-42900262 2025-10-09 10:16:26,676 - DEBUG - VN ctest-ext_vn-42900262 UUID is 4985f917-24dd-496b-952a-aa58259a57f6 2025-10-09 10:16:26,870 - DEBUG - Services list from nova: [, , ] 2025-10-09 10:16:27,853 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4257-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4257-1) 2025-10-09 10:16:28,944 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4257-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4257-1) 2025-10-09 10:16:29,017 - INFO - Setting gateway for router 52dc202a-1529-4328-a43f-af3b5f6abc7a to network 4985f917-24dd-496b-952a-aa58259a57f6 2025-10-09 10:16:29,100 - INFO - Adding interface with subnet_id a29442ad-cd19-4975-b83a-d9d520811a04, port_id None to router 52dc202a-1529-4328-a43f-af3b5f6abc7a 2025-10-09 10:16:29,483 - INFO - Waiting for VM ctest-TestRoutersBasic-20229799-43044609 to be up.. 2025-10-09 10:16:29,601 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 10:16:34,670 - DEBUG - VM is in ACTIVE state now 2025-10-09 10:16:34,670 - INFO - VM name : ctest-TestRoutersBasic-20229799-43044609 2025-10-09 10:16:34,735 - DEBUG - VM ctest-TestRoutersBasic-20229799-43044609 ID is c2830e06-5471-40f5-bc2d-933721e81170 2025-10-09 10:16:34,753 - DEBUG - VM ctest-TestRoutersBasic-20229799-43044609 launched on Node cn-jenkins-deploy-platform-ansible-os-4257-1 2025-10-09 10:16:34,823 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c2830e06-5471-40f5-bc2d-933721e81170 2025-10-09 10:16:35,113 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c2830e06-5471-40f5-bc2d-933721e81170 2025-10-09 10:16:35,146 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f3b8b085-f888-4f6c-9ce2-1e5804163cf9 2025-10-09 10:16:38,384 - 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 1002ms') 2025-10-09 10:16:38,385 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-20229799-43044609 failed! 2025-10-09 10:16:38,436 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-20229799:ctest-vn-31889453 is 99.133.81.129 and allocation pool is NOT set 2025-10-09 10:16:40,499 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.366 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.366/1.548/2.731/1.182 ms') 2025-10-09 10:16:40,500 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-20229799-43044609 passed 2025-10-09 10:16:40,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:16:40,648 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20229799-43044609, IP 99.133.81.131, Port 22 2025-10-09 10:16:40,802 - DEBUG - VM ctest-TestRoutersBasic-20229799-43044609 is ready for SSH connections 2025-10-09 10:16:40,803 - INFO - Waiting for VM ctest-TestRoutersBasic-20229799-79061173 to be up.. 2025-10-09 10:16:40,878 - DEBUG - VM is in ACTIVE state now 2025-10-09 10:16:40,878 - INFO - VM name : ctest-TestRoutersBasic-20229799-79061173 2025-10-09 10:16:40,952 - DEBUG - VM ctest-TestRoutersBasic-20229799-79061173 ID is b4918250-0aea-4d44-85dc-83f4ceb8eb1b 2025-10-09 10:16:40,952 - DEBUG - VM ctest-TestRoutersBasic-20229799-79061173 launched on Node cn-jenkins-deploy-platform-ansible-os-4257-1 2025-10-09 10:16:41,030 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b4918250-0aea-4d44-85dc-83f4ceb8eb1b 2025-10-09 10:16:41,038 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dbfa0694-7eef-4a44-afc1-7a7aa199d2e7 2025-10-09 10:16:42,282 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.685 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.685/1.780/2.875/1.095 ms') 2025-10-09 10:16:42,282 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-20229799-79061173 passed 2025-10-09 10:16:42,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:16:42,428 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20229799-79061173, IP 68.195.197.195, Port 22 2025-10-09 10:16:42,579 - DEBUG - VM ctest-TestRoutersBasic-20229799-79061173 is ready for SSH connections 2025-10-09 10:16:42,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:16:42,579 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.195.197.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 10:16:42,579 - DEBUG - ping -s 56 -c 3 -W 1 68.195.197.195 2025-10-09 10:16:46,564 - DEBUG - PING 68.195.197.195 (68.195.197.195): 56 data bytes 64 bytes from 68.195.197.195: seq=0 ttl=62 time=7.634 ms 64 bytes from 68.195.197.195: seq=1 ttl=62 time=0.804 ms 64 bytes from 68.195.197.195: seq=2 ttl=62 time=0.769 ms --- 68.195.197.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.769/3.069/7.634 ms 2025-10-09 10:16:46,564 - INFO - Ping to IP 68.195.197.195 from VM ctest-TestRoutersBasic-20229799-43044609 passed 2025-10-09 10:16:46,564 - INFO - Deleting interface with subnet_id a29442ad-cd19-4975-b83a-d9d520811a04, port_id None from router 52dc202a-1529-4328-a43f-af3b5f6abc7a 2025-10-09 10:16:46,735 - INFO - Deleting VM ctest-TestRoutersBasic-20229799-79061173 2025-10-09 10:16:46,799 - INFO - Deleting VM ctest-TestRoutersBasic-20229799-43044609 2025-10-09 10:16:46,876 - INFO - Deleting VN ctest-ext_vn-42900262 2025-10-09 10:16:46,933 - DEBUG - VN 4985f917-24dd-496b-952a-aa58259a57f6 still in use: Unable to complete operation on network 4985f917-24dd-496b-952a-aa58259a57f6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dea69365-1841-4860-a378-1c525fa09a9b'] 2025-10-09 10:16:46,934 - WARNING - Deleting VN ctest-ext_vn-42900262 failed..Will retry 2025-10-09 10:16:49,026 - DEBUG - Response for deleting network () 2025-10-09 10:16:49,026 - INFO - Deleting VN ctest-vn-31889453 2025-10-09 10:16:49,119 - DEBUG - Response for deleting network () 2025-10-09 10:16:49,372 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 10:16:49,372 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-09 10:16:49,372 - INFO - -------------------------------------------------------------------------------- 2025-10-09 10:16:50,038 - INFO - Deleted project: ctest-TestRoutersBasic-20229799, ID : 42b3e429-c895-44c1-9627-09d10aab9eec