2025-10-23 18:28:00,977 - INFO - Domain Default found not creating 2025-10-23 18:28:01,112 - INFO - Project ctest-TestRoutersBasic-83215880 not found, creating it 2025-10-23 18:28:01,548 - INFO - Created Project:ctest-TestRoutersBasic-83215880, ID : 5b517a7c-f746-4bd4-baab-cb265f73a40c 2025-10-23 18:28:02,979 - INFO - ================================================================================ 2025-10-23 18:28:02,979 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-23 18:28:02,979 - 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-23 18:28:03,238 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-23 18:28:03,238 - INFO - Initial checks done. Running the testcase now 2025-10-23 18:28:03,239 - INFO - 2025-10-23 18:28:03,966 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-83215880 2025-10-23 18:28:04,061 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-83215880 2025-10-23 18:28:04,397 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83215880', 'default']} 2025-10-23 18:28:04,678 - DEBUG - Response for create_network : {'network': {'id': '6fafbb1d-ce20-4c31-b97d-550b4e850456', 'name': 'ctest-vn-22559576', 'tenant_id': '5b517a7cf7464bd4baabcb265f73a40c', 'project_id': '5b517a7cf7464bd4baabcb265f73a40c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83215880', 'ctest-vn-22559576'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 18:28:04,849 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd53ee58-5de6-4eae-9dcc-9dc5826da765', 'name': '', 'tenant_id': '5b517a7cf7464bd4baabcb265f73a40c', 'network_id': '6fafbb1d-ce20-4c31-b97d-550b4e850456', 'ip_version': 4, 'cidr': '161.71.43.0/26', 'allocation_pools': [{'start': '161.71.43.2', 'end': '161.71.43.62'}], 'gateway_ip': '161.71.43.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.71.43.2', 'tags': [], 'project_id': '5b517a7cf7464bd4baabcb265f73a40c'}} 2025-10-23 18:28:04,866 - INFO - Created VN ctest-vn-22559576 2025-10-23 18:28:04,918 - DEBUG - VN ctest-vn-22559576 UUID is 6fafbb1d-ce20-4c31-b97d-550b4e850456 2025-10-23 18:28:05,275 - DEBUG - Response for create_network : {'network': {'id': '7cb3416e-24a6-4956-8ccb-f7a930bed953', 'name': 'ctest-ext_vn-55564625', 'tenant_id': '5b517a7cf7464bd4baabcb265f73a40c', 'project_id': '5b517a7cf7464bd4baabcb265f73a40c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83215880', 'ctest-ext_vn-55564625'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 18:28:05,451 - DEBUG - Response for create_subnet : {'subnet': {'id': '160f2bd2-7578-4aeb-aea8-fd485d317623', 'name': '', 'tenant_id': '5b517a7cf7464bd4baabcb265f73a40c', 'network_id': '7cb3416e-24a6-4956-8ccb-f7a930bed953', 'ip_version': 4, 'cidr': '134.75.106.192/26', 'allocation_pools': [{'start': '134.75.106.194', 'end': '134.75.106.254'}], 'gateway_ip': '134.75.106.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.75.106.194', 'tags': [], 'project_id': '5b517a7cf7464bd4baabcb265f73a40c'}} 2025-10-23 18:28:05,473 - INFO - Created VN ctest-ext_vn-55564625 2025-10-23 18:28:05,525 - DEBUG - VN ctest-ext_vn-55564625 UUID is 7cb3416e-24a6-4956-8ccb-f7a930bed953 2025-10-23 18:28:05,695 - DEBUG - Services list from nova: [, , ] 2025-10-23 18:28:06,712 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4464-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4464-1) 2025-10-23 18:28:07,800 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4464-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4464-1) 2025-10-23 18:28:07,866 - INFO - Setting gateway for router ece5033a-889f-4aaf-a218-233f22f8d05b to network 7cb3416e-24a6-4956-8ccb-f7a930bed953 2025-10-23 18:28:07,908 - INFO - Adding interface with subnet_id cd53ee58-5de6-4eae-9dcc-9dc5826da765, port_id None to router ece5033a-889f-4aaf-a218-233f22f8d05b 2025-10-23 18:28:08,255 - INFO - Waiting for VM ctest-TestRoutersBasic-83215880-64759988 to be up.. 2025-10-23 18:28:08,391 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 18:28:13,473 - DEBUG - VM is in ACTIVE state now 2025-10-23 18:28:13,474 - INFO - VM name : ctest-TestRoutersBasic-83215880-64759988 2025-10-23 18:28:13,541 - DEBUG - VM ctest-TestRoutersBasic-83215880-64759988 ID is 1d494175-1deb-4171-afd4-42a00adf89a4 2025-10-23 18:28:13,560 - DEBUG - VM ctest-TestRoutersBasic-83215880-64759988 launched on Node cn-jenkins-deploy-platform-ansible-os-4464-1 2025-10-23 18:28:13,633 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/1d494175-1deb-4171-afd4-42a00adf89a4 2025-10-23 18:28:13,925 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/1d494175-1deb-4171-afd4-42a00adf89a4 2025-10-23 18:28:13,952 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/20768728-992e-4b9e-a383-25543356913c 2025-10-23 18:28:17,210 - 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 1031ms') 2025-10-23 18:28:17,210 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83215880-64759988 failed! 2025-10-23 18:28:17,265 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-83215880:ctest-vn-22559576 is 161.71.43.1 and allocation pool is NOT set 2025-10-23 18:28:19,323 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.420 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.420/1.760/3.100/1.340 ms') 2025-10-23 18:28:19,323 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83215880-64759988 passed 2025-10-23 18:28:19,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 18:28:19,470 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83215880-64759988, IP 161.71.43.3, Port 22 2025-10-23 18:28:19,634 - DEBUG - VM ctest-TestRoutersBasic-83215880-64759988 is ready for SSH connections 2025-10-23 18:28:19,634 - INFO - Waiting for VM ctest-TestRoutersBasic-83215880-12108669 to be up.. 2025-10-23 18:28:19,701 - DEBUG - VM is in ACTIVE state now 2025-10-23 18:28:19,701 - INFO - VM name : ctest-TestRoutersBasic-83215880-12108669 2025-10-23 18:28:19,769 - DEBUG - VM ctest-TestRoutersBasic-83215880-12108669 ID is 1be8cb87-ee99-43e8-8ea6-9b732323dfff 2025-10-23 18:28:19,769 - DEBUG - VM ctest-TestRoutersBasic-83215880-12108669 launched on Node cn-jenkins-deploy-platform-ansible-os-4464-1 2025-10-23 18:28:19,839 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/1be8cb87-ee99-43e8-8ea6-9b732323dfff 2025-10-23 18:28:19,846 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/3fb60a64-c412-404b-b0c5-40f188806540 2025-10-23 18:28:21,074 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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.422/1.588/2.755/1.166 ms') 2025-10-23 18:28:21,074 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-83215880-12108669 passed 2025-10-23 18:28:21,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 18:28:21,222 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83215880-12108669, IP 134.75.106.195, Port 22 2025-10-23 18:28:21,377 - DEBUG - VM ctest-TestRoutersBasic-83215880-12108669 is ready for SSH connections 2025-10-23 18:28:21,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 18:28:21,377 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.75.106.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-23 18:28:21,377 - DEBUG - ping -s 56 -c 3 -W 1 134.75.106.195 2025-10-23 18:28:25,065 - DEBUG - PING 134.75.106.195 (134.75.106.195): 56 data bytes 64 bytes from 134.75.106.195: seq=0 ttl=62 time=7.677 ms 64 bytes from 134.75.106.195: seq=1 ttl=62 time=0.733 ms 64 bytes from 134.75.106.195: seq=2 ttl=62 time=1.017 ms --- 134.75.106.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.733/3.142/7.677 ms 2025-10-23 18:28:25,065 - INFO - Ping to IP 134.75.106.195 from VM ctest-TestRoutersBasic-83215880-64759988 passed 2025-10-23 18:28:25,065 - INFO - Deleting interface with subnet_id cd53ee58-5de6-4eae-9dcc-9dc5826da765, port_id None from router ece5033a-889f-4aaf-a218-233f22f8d05b 2025-10-23 18:28:25,254 - INFO - Deleting VM ctest-TestRoutersBasic-83215880-12108669 2025-10-23 18:28:25,318 - INFO - Deleting VM ctest-TestRoutersBasic-83215880-64759988 2025-10-23 18:28:25,381 - INFO - Deleting VN ctest-ext_vn-55564625 2025-10-23 18:28:25,441 - DEBUG - VN 7cb3416e-24a6-4956-8ccb-f7a930bed953 still in use: Unable to complete operation on network 7cb3416e-24a6-4956-8ccb-f7a930bed953. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4d69df09-b75d-455c-a61c-52828369778e'] 2025-10-23 18:28:25,442 - WARNING - Deleting VN ctest-ext_vn-55564625 failed..Will retry 2025-10-23 18:28:27,534 - DEBUG - Response for deleting network () 2025-10-23 18:28:27,535 - INFO - Deleting VN ctest-vn-22559576 2025-10-23 18:28:27,628 - DEBUG - Response for deleting network () 2025-10-23 18:28:27,883 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 18:28:27,883 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-23 18:28:27,883 - INFO - -------------------------------------------------------------------------------- 2025-10-23 18:28:28,554 - INFO - Deleted project: ctest-TestRoutersBasic-83215880, ID : 5b517a7c-f746-4bd4-baab-cb265f73a40c