2025-09-05 16:07:03,710 - INFO - Domain Default found not creating 2025-09-05 16:07:04,096 - INFO - Project ctest-TestRoutersBasic-08964855 not found, creating it 2025-09-05 16:07:04,891 - INFO - Created Project:ctest-TestRoutersBasic-08964855, ID : a0408180-e756-4ff1-9080-58beccc03f18 2025-09-05 16:07:06,784 - INFO - ================================================================================ 2025-09-05 16:07:06,784 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-05 16:07:06,785 - 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-05 16:07:07,109 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-05 16:07:07,110 - INFO - Initial checks done. Running the testcase now 2025-09-05 16:07:07,110 - INFO - 2025-09-05 16:07:08,207 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-08964855 2025-09-05 16:07:08,324 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-08964855 2025-09-05 16:07:08,751 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08964855', 'default']} 2025-09-05 16:07:09,225 - DEBUG - Response for create_network : {'network': {'id': '0c0a7b54-c36e-48d5-aa71-0cd60010eab7', 'name': 'ctest-vn-96388944', 'tenant_id': 'a0408180e7564ff1908058beccc03f18', 'project_id': 'a0408180e7564ff1908058beccc03f18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08964855', 'ctest-vn-96388944'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 16:07:09,485 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce23dcc9-fa4f-40cf-824a-6796e4c79cb6', 'name': '', 'tenant_id': 'a0408180e7564ff1908058beccc03f18', 'network_id': '0c0a7b54-c36e-48d5-aa71-0cd60010eab7', 'ip_version': 4, 'cidr': '119.151.157.192/26', 'allocation_pools': [{'start': '119.151.157.194', 'end': '119.151.157.254'}], 'gateway_ip': '119.151.157.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.151.157.194', 'tags': [], 'project_id': 'a0408180e7564ff1908058beccc03f18'}} 2025-09-05 16:07:09,511 - INFO - Created VN ctest-vn-96388944 2025-09-05 16:07:09,575 - DEBUG - VN ctest-vn-96388944 UUID is 0c0a7b54-c36e-48d5-aa71-0cd60010eab7 2025-09-05 16:07:10,010 - DEBUG - Response for create_network : {'network': {'id': '2edcf4a8-070a-45f4-b788-a28e37c6910e', 'name': 'ctest-ext_vn-44878262', 'tenant_id': 'a0408180e7564ff1908058beccc03f18', 'project_id': 'a0408180e7564ff1908058beccc03f18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08964855', 'ctest-ext_vn-44878262'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 16:07:10,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '8cf84d4e-fb00-4794-b0a9-f6ec78cfb2d1', 'name': '', 'tenant_id': 'a0408180e7564ff1908058beccc03f18', 'network_id': '2edcf4a8-070a-45f4-b788-a28e37c6910e', 'ip_version': 4, 'cidr': '31.89.48.192/26', 'allocation_pools': [{'start': '31.89.48.194', 'end': '31.89.48.254'}], 'gateway_ip': '31.89.48.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.89.48.194', 'tags': [], 'project_id': 'a0408180e7564ff1908058beccc03f18'}} 2025-09-05 16:07:10,247 - INFO - Created VN ctest-ext_vn-44878262 2025-09-05 16:07:10,303 - DEBUG - VN ctest-ext_vn-44878262 UUID is 2edcf4a8-070a-45f4-b788-a28e37c6910e 2025-09-05 16:07:10,634 - DEBUG - Services list from nova: [, , ] 2025-09-05 16:07:12,175 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4026-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4026-1) 2025-09-05 16:07:13,723 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4026-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4026-1) 2025-09-05 16:07:13,786 - INFO - Setting gateway for router 843dcdf5-1813-46a6-9c68-0b27e30d5ec5 to network 2edcf4a8-070a-45f4-b788-a28e37c6910e 2025-09-05 16:07:13,863 - INFO - Adding interface with subnet_id ce23dcc9-fa4f-40cf-824a-6796e4c79cb6, port_id None to router 843dcdf5-1813-46a6-9c68-0b27e30d5ec5 2025-09-05 16:07:14,288 - INFO - Waiting for VM ctest-TestRoutersBasic-08964855-99890382 to be up.. 2025-09-05 16:07:14,427 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-05 16:07:19,615 - DEBUG - VM is in ACTIVE state now 2025-09-05 16:07:19,615 - INFO - VM name : ctest-TestRoutersBasic-08964855-99890382 2025-09-05 16:07:19,749 - DEBUG - VM ctest-TestRoutersBasic-08964855-99890382 ID is 1593e7ed-3743-492b-b926-92233088b14a 2025-09-05 16:07:19,779 - DEBUG - VM ctest-TestRoutersBasic-08964855-99890382 launched on Node cn-jenkins-deploy-platform-ansible-os-4026-1 2025-09-05 16:07:19,887 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1593e7ed-3743-492b-b926-92233088b14a 2025-09-05 16:07:20,195 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1593e7ed-3743-492b-b926-92233088b14a 2025-09-05 16:07:20,227 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6e30ad9e-8b3e-4472-bd68-fa7595265bda 2025-09-05 16:07:23,546 - 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 1025ms') 2025-09-05 16:07:23,547 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08964855-99890382 failed! 2025-09-05 16:07:23,615 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-08964855:ctest-vn-96388944 is 119.151.157.193 and allocation pool is NOT set 2025-09-05 16:07:25,697 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.916 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.916/2.379/3.843/1.463 ms') 2025-09-05 16:07:25,697 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08964855-99890382 passed 2025-09-05 16:07:25,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 16:07:25,883 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08964855-99890382, IP 119.151.157.195, Port 22 2025-09-05 16:07:26,087 - DEBUG - VM ctest-TestRoutersBasic-08964855-99890382 is ready for SSH connections 2025-09-05 16:07:26,087 - INFO - Waiting for VM ctest-TestRoutersBasic-08964855-50039653 to be up.. 2025-09-05 16:07:26,259 - DEBUG - VM is in ACTIVE state now 2025-09-05 16:07:26,260 - INFO - VM name : ctest-TestRoutersBasic-08964855-50039653 2025-09-05 16:07:26,394 - DEBUG - VM ctest-TestRoutersBasic-08964855-50039653 ID is ce04fc39-8644-4610-86b4-d71dbb1e284b 2025-09-05 16:07:26,394 - DEBUG - VM ctest-TestRoutersBasic-08964855-50039653 launched on Node cn-jenkins-deploy-platform-ansible-os-4026-1 2025-09-05 16:07:26,531 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ce04fc39-8644-4610-86b4-d71dbb1e284b 2025-09-05 16:07:26,546 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6a51482d-5d42-4ab8-9d40-22dfb3aa3fc0 2025-09-05 16:07:27,855 - 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=8.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.975 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.975/4.598/8.222/3.623 ms') 2025-09-05 16:07:27,855 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-08964855-50039653 passed 2025-09-05 16:07:28,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 16:07:28,023 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08964855-50039653, IP 31.89.48.195, Port 22 2025-09-05 16:07:28,205 - DEBUG - VM ctest-TestRoutersBasic-08964855-50039653 is ready for SSH connections 2025-09-05 16:07:28,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 16:07:28,206 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.89.48.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-05 16:07:28,206 - DEBUG - ping -s 56 -c 3 -W 1 31.89.48.195 2025-09-05 16:07:32,383 - DEBUG - PING 31.89.48.195 (31.89.48.195): 56 data bytes 64 bytes from 31.89.48.195: seq=0 ttl=62 time=7.550 ms 64 bytes from 31.89.48.195: seq=1 ttl=62 time=1.487 ms 64 bytes from 31.89.48.195: seq=2 ttl=62 time=2.587 ms --- 31.89.48.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.487/3.874/7.550 ms 2025-09-05 16:07:32,383 - INFO - Ping to IP 31.89.48.195 from VM ctest-TestRoutersBasic-08964855-99890382 passed 2025-09-05 16:07:32,383 - INFO - Deleting interface with subnet_id ce23dcc9-fa4f-40cf-824a-6796e4c79cb6, port_id None from router 843dcdf5-1813-46a6-9c68-0b27e30d5ec5 2025-09-05 16:07:32,696 - INFO - Deleting VM ctest-TestRoutersBasic-08964855-50039653 2025-09-05 16:07:32,774 - INFO - Deleting VM ctest-TestRoutersBasic-08964855-99890382 2025-09-05 16:07:32,887 - INFO - Deleting VN ctest-ext_vn-44878262 2025-09-05 16:07:32,972 - DEBUG - VN 2edcf4a8-070a-45f4-b788-a28e37c6910e still in use: Unable to complete operation on network 2edcf4a8-070a-45f4-b788-a28e37c6910e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a2ef3a44-1978-408e-ba69-36f343b085ea'] 2025-09-05 16:07:32,972 - WARNING - Deleting VN ctest-ext_vn-44878262 failed..Will retry 2025-09-05 16:07:35,163 - DEBUG - Response for deleting network () 2025-09-05 16:07:35,163 - INFO - Deleting VN ctest-vn-96388944 2025-09-05 16:07:35,291 - DEBUG - Response for deleting network () 2025-09-05 16:07:35,596 - DEBUG - No XMPP flaps were noticed during the test 2025-09-05 16:07:35,596 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29] 2025-09-05 16:07:35,597 - INFO - -------------------------------------------------------------------------------- 2025-09-05 16:07:36,680 - INFO - Deleted project: ctest-TestRoutersBasic-08964855, ID : a0408180-e756-4ff1-9080-58beccc03f18