2025-07-23 13:06:04,334 - INFO - Domain Default found not creating 2025-07-23 13:06:04,485 - INFO - Project ctest-TestRoutersBasic-50825939 not found, creating it 2025-07-23 13:06:04,949 - INFO - Created Project:ctest-TestRoutersBasic-50825939, ID : dce276c5-9434-4053-a612-ae4140ae70f5 2025-07-23 13:06:06,409 - INFO - ================================================================================ 2025-07-23 13:06:06,409 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-23 13:06:06,409 - 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-07-23 13:06:06,665 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-07-23 13:06:06,665 - INFO - Initial checks done. Running the testcase now 2025-07-23 13:06:06,665 - INFO - 2025-07-23 13:06:07,368 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-50825939 2025-07-23 13:06:07,462 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-50825939 2025-07-23 13:06:07,798 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50825939', 'default']} 2025-07-23 13:06:08,133 - DEBUG - Response for create_network : {'network': {'id': 'b67705b7-9232-48db-a97b-625a57714deb', 'name': 'ctest-vn-01509787', 'tenant_id': 'dce276c594344053a612ae4140ae70f5', 'project_id': 'dce276c594344053a612ae4140ae70f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50825939', 'ctest-vn-01509787'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:06:08,343 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b554b65-4c01-4d83-84eb-329112ea4c41', 'name': '', 'tenant_id': 'dce276c594344053a612ae4140ae70f5', 'network_id': 'b67705b7-9232-48db-a97b-625a57714deb', 'ip_version': 4, 'cidr': '105.15.129.128/26', 'allocation_pools': [{'start': '105.15.129.130', 'end': '105.15.129.190'}], 'gateway_ip': '105.15.129.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.15.129.130', 'tags': [], 'project_id': 'dce276c594344053a612ae4140ae70f5'}} 2025-07-23 13:06:08,362 - INFO - Created VN ctest-vn-01509787 2025-07-23 13:06:08,414 - DEBUG - VN ctest-vn-01509787 UUID is b67705b7-9232-48db-a97b-625a57714deb 2025-07-23 13:06:08,726 - DEBUG - Response for create_network : {'network': {'id': 'eb78ca00-8b6c-48b8-9cc1-df6dc751f183', 'name': 'ctest-ext_vn-68409936', 'tenant_id': 'dce276c594344053a612ae4140ae70f5', 'project_id': 'dce276c594344053a612ae4140ae70f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50825939', 'ctest-ext_vn-68409936'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:06:08,908 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1390898-eada-4eee-842a-e38c5500ab4c', 'name': '', 'tenant_id': 'dce276c594344053a612ae4140ae70f5', 'network_id': 'eb78ca00-8b6c-48b8-9cc1-df6dc751f183', 'ip_version': 4, 'cidr': '221.79.140.64/26', 'allocation_pools': [{'start': '221.79.140.66', 'end': '221.79.140.126'}], 'gateway_ip': '221.79.140.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.79.140.66', 'tags': [], 'project_id': 'dce276c594344053a612ae4140ae70f5'}} 2025-07-23 13:06:08,930 - INFO - Created VN ctest-ext_vn-68409936 2025-07-23 13:06:08,986 - DEBUG - VN ctest-ext_vn-68409936 UUID is eb78ca00-8b6c-48b8-9cc1-df6dc751f183 2025-07-23 13:06:09,166 - DEBUG - Services list from nova: [, , ] 2025-07-23 13:06:10,174 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3699-1) 2025-07-23 13:06:11,307 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3699-1) 2025-07-23 13:06:11,370 - INFO - Setting gateway for router 6501da4f-014c-4da6-81ab-6b9cfc4a2c55 to network eb78ca00-8b6c-48b8-9cc1-df6dc751f183 2025-07-23 13:06:11,441 - INFO - Adding interface with subnet_id 7b554b65-4c01-4d83-84eb-329112ea4c41, port_id None to router 6501da4f-014c-4da6-81ab-6b9cfc4a2c55 2025-07-23 13:06:11,846 - INFO - Waiting for VM ctest-TestRoutersBasic-50825939-93714789 to be up.. 2025-07-23 13:06:12,038 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 13:06:17,132 - DEBUG - VM is in ACTIVE state now 2025-07-23 13:06:17,132 - INFO - VM name : ctest-TestRoutersBasic-50825939-93714789 2025-07-23 13:06:17,219 - DEBUG - VM ctest-TestRoutersBasic-50825939-93714789 ID is 56e35b87-fe8b-450e-a3ba-bc2adb01a921 2025-07-23 13:06:17,244 - DEBUG - VM ctest-TestRoutersBasic-50825939-93714789 launched on Node cn-jenkins-deploy-platform-ansible-os-3699-1 2025-07-23 13:06:17,329 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/56e35b87-fe8b-450e-a3ba-bc2adb01a921 2025-07-23 13:06:17,635 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/56e35b87-fe8b-450e-a3ba-bc2adb01a921 2025-07-23 13:06:17,674 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/a9bdc74b-dab1-4588-b80f-43836b82dd6d 2025-07-23 13:06:20,932 - 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-07-23 13:06:20,932 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50825939-93714789 failed! 2025-07-23 13:06:20,986 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-50825939:ctest-vn-01509787 is 105.15.129.129 and allocation pool is NOT set 2025-07-23 13:06:23,047 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.529 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.529/1.825/3.122/1.296 ms') 2025-07-23 13:06:23,047 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50825939-93714789 passed 2025-07-23 13:06:23,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:06:23,198 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50825939-93714789, IP 105.15.129.131, Port 22 2025-07-23 13:06:23,361 - DEBUG - VM ctest-TestRoutersBasic-50825939-93714789 is ready for SSH connections 2025-07-23 13:06:23,361 - INFO - Waiting for VM ctest-TestRoutersBasic-50825939-76198238 to be up.. 2025-07-23 13:06:23,439 - DEBUG - VM is in ACTIVE state now 2025-07-23 13:06:23,439 - INFO - VM name : ctest-TestRoutersBasic-50825939-76198238 2025-07-23 13:06:23,507 - DEBUG - VM ctest-TestRoutersBasic-50825939-76198238 ID is 6a786fc6-e397-4ce2-bdf7-511239cf337d 2025-07-23 13:06:23,507 - DEBUG - VM ctest-TestRoutersBasic-50825939-76198238 launched on Node cn-jenkins-deploy-platform-ansible-os-3699-1 2025-07-23 13:06:23,583 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6a786fc6-e397-4ce2-bdf7-511239cf337d 2025-07-23 13:06:23,592 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/3d242873-a493-4016-b0cd-1070876ca274 2025-07-23 13:06:24,846 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.503 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.503/1.967/3.431/1.464 ms') 2025-07-23 13:06:24,846 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-50825939-76198238 passed 2025-07-23 13:06:25,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:06:25,002 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50825939-76198238, IP 221.79.140.67, Port 22 2025-07-23 13:06:25,162 - DEBUG - VM ctest-TestRoutersBasic-50825939-76198238 is ready for SSH connections 2025-07-23 13:06:25,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:06:25,163 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.79.140.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-23 13:06:25,163 - DEBUG - ping -s 56 -c 3 -W 1 221.79.140.67 2025-07-23 13:06:29,166 - DEBUG - PING 221.79.140.67 (221.79.140.67): 56 data bytes 64 bytes from 221.79.140.67: seq=0 ttl=62 time=5.601 ms 64 bytes from 221.79.140.67: seq=1 ttl=62 time=0.879 ms 64 bytes from 221.79.140.67: seq=2 ttl=62 time=1.154 ms --- 221.79.140.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.879/2.544/5.601 ms 2025-07-23 13:06:29,166 - INFO - Ping to IP 221.79.140.67 from VM ctest-TestRoutersBasic-50825939-93714789 passed 2025-07-23 13:06:29,166 - INFO - Deleting interface with subnet_id 7b554b65-4c01-4d83-84eb-329112ea4c41, port_id None from router 6501da4f-014c-4da6-81ab-6b9cfc4a2c55 2025-07-23 13:06:29,448 - INFO - Deleting VM ctest-TestRoutersBasic-50825939-76198238 2025-07-23 13:06:29,526 - INFO - Deleting VM ctest-TestRoutersBasic-50825939-93714789 2025-07-23 13:06:29,607 - INFO - Deleting VN ctest-ext_vn-68409936 2025-07-23 13:06:29,686 - DEBUG - VN eb78ca00-8b6c-48b8-9cc1-df6dc751f183 still in use: Unable to complete operation on network eb78ca00-8b6c-48b8-9cc1-df6dc751f183. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2953cc6d-6032-4ad8-912d-c27307c96f1b'] 2025-07-23 13:06:29,686 - WARNING - Deleting VN ctest-ext_vn-68409936 failed..Will retry 2025-07-23 13:06:31,813 - DEBUG - Response for deleting network () 2025-07-23 13:06:31,814 - INFO - Deleting VN ctest-vn-01509787 2025-07-23 13:06:31,928 - DEBUG - Response for deleting network () 2025-07-23 13:06:32,185 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 13:06:32,185 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-07-23 13:06:32,185 - INFO - -------------------------------------------------------------------------------- 2025-07-23 13:06:32,936 - INFO - Deleted project: ctest-TestRoutersBasic-50825939, ID : dce276c5-9434-4053-a612-ae4140ae70f5