2025-08-05 20:00:01,722 - INFO - Domain Default found not creating 2025-08-05 20:00:02,035 - INFO - Project ctest-TestRoutersBasic-80642729 not found, creating it 2025-08-05 20:00:02,638 - INFO - Created Project:ctest-TestRoutersBasic-80642729, ID : 4aa25f06-1f83-488b-94ba-ddd694b7753c 2025-08-05 20:00:04,700 - INFO - ================================================================================ 2025-08-05 20:00:04,701 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-05 20:00:04,701 - 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-08-05 20:00:05,042 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with 2025-08-05 20:00:05,042 - INFO - Initial checks done. Running the testcase now 2025-08-05 20:00:05,042 - INFO - 2025-08-05 20:00:05,966 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-80642729 2025-08-05 20:00:06,084 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-80642729 2025-08-05 20:00:06,455 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80642729', 'default']} 2025-08-05 20:00:07,007 - DEBUG - Response for create_network : {'network': {'id': '5a6ee75c-9d24-4345-a658-3d2fd3ecb322', 'name': 'ctest-vn-53812455', 'tenant_id': '4aa25f061f83488b94baddd694b7753c', 'project_id': '4aa25f061f83488b94baddd694b7753c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80642729', 'ctest-vn-53812455'], 'port_security_enabled': True, 'description': ''}} 2025-08-05 20:00:07,241 - DEBUG - Response for create_subnet : {'subnet': {'id': '04769394-c755-45d2-8e44-c036a983487a', 'name': '', 'tenant_id': '4aa25f061f83488b94baddd694b7753c', 'network_id': '5a6ee75c-9d24-4345-a658-3d2fd3ecb322', 'ip_version': 4, 'cidr': '12.102.87.192/26', 'allocation_pools': [{'start': '12.102.87.194', 'end': '12.102.87.254'}], 'gateway_ip': '12.102.87.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.102.87.194', 'tags': [], 'project_id': '4aa25f061f83488b94baddd694b7753c'}} 2025-08-05 20:00:07,264 - INFO - Created VN ctest-vn-53812455 2025-08-05 20:00:07,320 - DEBUG - VN ctest-vn-53812455 UUID is 5a6ee75c-9d24-4345-a658-3d2fd3ecb322 2025-08-05 20:00:07,981 - DEBUG - Response for create_network : {'network': {'id': 'dedd17d2-7abc-40ae-9667-273e39cf2c5d', 'name': 'ctest-ext_vn-36957179', 'tenant_id': '4aa25f061f83488b94baddd694b7753c', 'project_id': '4aa25f061f83488b94baddd694b7753c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80642729', 'ctest-ext_vn-36957179'], 'port_security_enabled': True, 'description': ''}} 2025-08-05 20:00:08,223 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4f455a2-571d-42d8-8280-699512e77175', 'name': '', 'tenant_id': '4aa25f061f83488b94baddd694b7753c', 'network_id': 'dedd17d2-7abc-40ae-9667-273e39cf2c5d', 'ip_version': 4, 'cidr': '1.155.3.192/26', 'allocation_pools': [{'start': '1.155.3.194', 'end': '1.155.3.254'}], 'gateway_ip': '1.155.3.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.155.3.194', 'tags': [], 'project_id': '4aa25f061f83488b94baddd694b7753c'}} 2025-08-05 20:00:08,248 - INFO - Created VN ctest-ext_vn-36957179 2025-08-05 20:00:08,320 - DEBUG - VN ctest-ext_vn-36957179 UUID is dedd17d2-7abc-40ae-9667-273e39cf2c5d 2025-08-05 20:00:08,632 - DEBUG - Services list from nova: [, , ] 2025-08-05 20:00:10,539 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3758-1) 2025-08-05 20:00:12,135 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3758-1) 2025-08-05 20:00:12,215 - INFO - Setting gateway for router 85a527d1-1369-493d-9bab-b0a5f57b6fde to network dedd17d2-7abc-40ae-9667-273e39cf2c5d 2025-08-05 20:00:12,285 - INFO - Adding interface with subnet_id 04769394-c755-45d2-8e44-c036a983487a, port_id None to router 85a527d1-1369-493d-9bab-b0a5f57b6fde 2025-08-05 20:00:12,610 - INFO - Waiting for VM ctest-TestRoutersBasic-80642729-78108471 to be up.. 2025-08-05 20:00:12,739 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-05 20:00:17,821 - DEBUG - VM is in ACTIVE state now 2025-08-05 20:00:17,821 - INFO - VM name : ctest-TestRoutersBasic-80642729-78108471 2025-08-05 20:00:17,905 - DEBUG - VM ctest-TestRoutersBasic-80642729-78108471 ID is 78db4697-e56d-4996-a56f-cafca50df3ec 2025-08-05 20:00:17,926 - DEBUG - VM ctest-TestRoutersBasic-80642729-78108471 launched on Node cn-jenkins-deploy-platform-ansible-os-3758-1 2025-08-05 20:00:18,012 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/78db4697-e56d-4996-a56f-cafca50df3ec 2025-08-05 20:00:18,327 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/78db4697-e56d-4996-a56f-cafca50df3ec 2025-08-05 20:00:18,379 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/0dba311e-eecf-4066-a364-d310465e0166 2025-08-05 20:00:21,677 - 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 1005ms') 2025-08-05 20:00:21,677 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80642729-78108471 failed! 2025-08-05 20:00:21,744 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-80642729:ctest-vn-53812455 is 12.102.87.193 and allocation pool is NOT set 2025-08-05 20:00:23,830 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.481 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.481/2.036/3.591/1.555 ms') 2025-08-05 20:00:23,830 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80642729-78108471 passed 2025-08-05 20:00:24,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 20:00:24,013 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80642729-78108471, IP 12.102.87.195, Port 22 2025-08-05 20:00:24,211 - DEBUG - VM ctest-TestRoutersBasic-80642729-78108471 is ready for SSH connections 2025-08-05 20:00:24,211 - INFO - Waiting for VM ctest-TestRoutersBasic-80642729-71580006 to be up.. 2025-08-05 20:00:24,346 - DEBUG - VM is in ACTIVE state now 2025-08-05 20:00:24,346 - INFO - VM name : ctest-TestRoutersBasic-80642729-71580006 2025-08-05 20:00:24,441 - DEBUG - VM ctest-TestRoutersBasic-80642729-71580006 ID is 37761a07-5941-48c8-92b1-77dc799b517b 2025-08-05 20:00:24,441 - DEBUG - VM ctest-TestRoutersBasic-80642729-71580006 launched on Node cn-jenkins-deploy-platform-ansible-os-3758-1 2025-08-05 20:00:24,580 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/37761a07-5941-48c8-92b1-77dc799b517b 2025-08-05 20:00:24,620 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/9a463994-fec9-43c1-8ca7-8b521a5b03f8 2025-08-05 20:00:25,919 - 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=7.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.66 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 = 2.657/4.983/7.309/2.326 ms') 2025-08-05 20:00:25,920 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-80642729-71580006 passed 2025-08-05 20:00:26,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 20:00:26,121 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80642729-71580006, IP 1.155.3.195, Port 22 2025-08-05 20:00:26,331 - DEBUG - VM ctest-TestRoutersBasic-80642729-71580006 is ready for SSH connections 2025-08-05 20:00:26,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 20:00:26,333 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.155.3.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-05 20:00:26,333 - DEBUG - ping -s 56 -c 3 -W 1 1.155.3.195 2025-08-05 20:00:30,408 - DEBUG - PING 1.155.3.195 (1.155.3.195): 56 data bytes 64 bytes from 1.155.3.195: seq=0 ttl=62 time=10.965 ms 64 bytes from 1.155.3.195: seq=1 ttl=62 time=2.354 ms 64 bytes from 1.155.3.195: seq=2 ttl=62 time=2.480 ms --- 1.155.3.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.354/5.266/10.965 ms 2025-08-05 20:00:30,408 - INFO - Ping to IP 1.155.3.195 from VM ctest-TestRoutersBasic-80642729-78108471 passed 2025-08-05 20:00:30,408 - INFO - Deleting interface with subnet_id 04769394-c755-45d2-8e44-c036a983487a, port_id None from router 85a527d1-1369-493d-9bab-b0a5f57b6fde 2025-08-05 20:00:30,776 - INFO - Deleting VM ctest-TestRoutersBasic-80642729-71580006 2025-08-05 20:00:30,854 - INFO - Deleting VM ctest-TestRoutersBasic-80642729-78108471 2025-08-05 20:00:30,947 - INFO - Deleting VN ctest-ext_vn-36957179 2025-08-05 20:00:31,054 - DEBUG - VN dedd17d2-7abc-40ae-9667-273e39cf2c5d still in use: Unable to complete operation on network dedd17d2-7abc-40ae-9667-273e39cf2c5d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-07eb7572-03ab-4542-b2bb-1c8c4d139b84'] 2025-08-05 20:00:31,054 - WARNING - Deleting VN ctest-ext_vn-36957179 failed..Will retry 2025-08-05 20:00:33,278 - DEBUG - Response for deleting network () 2025-08-05 20:00:33,278 - INFO - Deleting VN ctest-vn-53812455 2025-08-05 20:00:33,384 - DEBUG - Response for deleting network () 2025-08-05 20:00:33,692 - DEBUG - No XMPP flaps were noticed during the test 2025-08-05 20:00:33,692 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29] 2025-08-05 20:00:33,693 - INFO - -------------------------------------------------------------------------------- 2025-08-05 20:00:34,696 - INFO - Deleted project: ctest-TestRoutersBasic-80642729, ID : 4aa25f06-1f83-488b-94ba-ddd694b7753c