2025-10-23 06:08:10,307 - INFO - Domain Default found not creating 2025-10-23 06:08:10,490 - INFO - Project ctest-TestRoutersBasic-52090767 not found, creating it 2025-10-23 06:08:11,009 - INFO - Created Project:ctest-TestRoutersBasic-52090767, ID : 0f9c650c-187c-4819-b5fd-ba1623340cff 2025-10-23 06:08:12,559 - INFO - ================================================================================ 2025-10-23 06:08:12,559 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-23 06:08:12,559 - 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 06:08:12,826 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-23 06:08:12,826 - INFO - Initial checks done. Running the testcase now 2025-10-23 06:08:12,826 - INFO - 2025-10-23 06:08:13,554 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-52090767 2025-10-23 06:08:13,653 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-52090767 2025-10-23 06:08:13,988 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52090767', 'default']} 2025-10-23 06:08:14,288 - DEBUG - Response for create_network : {'network': {'id': '4e47c451-e0b3-475e-a3b5-f13da3a7da99', 'name': 'ctest-vn-69166991', 'tenant_id': '0f9c650c187c4819b5fdba1623340cff', 'project_id': '0f9c650c187c4819b5fdba1623340cff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52090767', 'ctest-vn-69166991'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 06:08:14,452 - DEBUG - Response for create_subnet : {'subnet': {'id': '491019fd-b957-4398-b861-d4302efc082c', 'name': '', 'tenant_id': '0f9c650c187c4819b5fdba1623340cff', 'network_id': '4e47c451-e0b3-475e-a3b5-f13da3a7da99', 'ip_version': 4, 'cidr': '205.249.153.128/26', 'allocation_pools': [{'start': '205.249.153.130', 'end': '205.249.153.190'}], 'gateway_ip': '205.249.153.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.249.153.130', 'tags': [], 'project_id': '0f9c650c187c4819b5fdba1623340cff'}} 2025-10-23 06:08:14,470 - INFO - Created VN ctest-vn-69166991 2025-10-23 06:08:14,525 - DEBUG - VN ctest-vn-69166991 UUID is 4e47c451-e0b3-475e-a3b5-f13da3a7da99 2025-10-23 06:08:14,862 - DEBUG - Response for create_network : {'network': {'id': '925f4a58-63ac-4522-a511-f39dad951561', 'name': 'ctest-ext_vn-98289358', 'tenant_id': '0f9c650c187c4819b5fdba1623340cff', 'project_id': '0f9c650c187c4819b5fdba1623340cff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52090767', 'ctest-ext_vn-98289358'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 06:08:15,060 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf4a688a-5fb8-47ff-bf16-b237badd56f0', 'name': '', 'tenant_id': '0f9c650c187c4819b5fdba1623340cff', 'network_id': '925f4a58-63ac-4522-a511-f39dad951561', 'ip_version': 4, 'cidr': '209.71.174.192/26', 'allocation_pools': [{'start': '209.71.174.194', 'end': '209.71.174.254'}], 'gateway_ip': '209.71.174.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.71.174.194', 'tags': [], 'project_id': '0f9c650c187c4819b5fdba1623340cff'}} 2025-10-23 06:08:15,079 - INFO - Created VN ctest-ext_vn-98289358 2025-10-23 06:08:15,133 - DEBUG - VN ctest-ext_vn-98289358 UUID is 925f4a58-63ac-4522-a511-f39dad951561 2025-10-23 06:08:15,345 - DEBUG - Services list from nova: [, , ] 2025-10-23 06:08:16,434 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4453-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4453-1) 2025-10-23 06:08:17,675 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4453-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4453-1) 2025-10-23 06:08:17,755 - INFO - Setting gateway for router 69a98943-ab14-4f70-be81-5bea76b037f4 to network 925f4a58-63ac-4522-a511-f39dad951561 2025-10-23 06:08:17,836 - INFO - Adding interface with subnet_id 491019fd-b957-4398-b861-d4302efc082c, port_id None to router 69a98943-ab14-4f70-be81-5bea76b037f4 2025-10-23 06:08:18,208 - INFO - Waiting for VM ctest-TestRoutersBasic-52090767-21220386 to be up.. 2025-10-23 06:08:18,427 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 06:08:23,516 - DEBUG - VM is in ACTIVE state now 2025-10-23 06:08:23,516 - INFO - VM name : ctest-TestRoutersBasic-52090767-21220386 2025-10-23 06:08:23,612 - DEBUG - VM ctest-TestRoutersBasic-52090767-21220386 ID is 140d2125-648b-435c-b0b6-0bd325dc832b 2025-10-23 06:08:23,637 - DEBUG - VM ctest-TestRoutersBasic-52090767-21220386 launched on Node cn-jenkins-deploy-platform-ansible-os-4453-1 2025-10-23 06:08:23,728 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/140d2125-648b-435c-b0b6-0bd325dc832b 2025-10-23 06:08:24,034 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/140d2125-648b-435c-b0b6-0bd325dc832b 2025-10-23 06:08:24,066 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c87e430c-4298-43cf-8e42-f48fc21d60aa 2025-10-23 06:08:27,327 - 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 1022ms') 2025-10-23 06:08:27,327 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52090767-21220386 failed! 2025-10-23 06:08:27,393 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-52090767:ctest-vn-69166991 is 205.249.153.129 and allocation pool is NOT set 2025-10-23 06:08:29,465 - 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=4.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.692 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.692/2.480/4.268/1.788 ms') 2025-10-23 06:08:29,465 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52090767-21220386 passed 2025-10-23 06:08:29,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 06:08:29,617 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52090767-21220386, IP 205.249.153.131, Port 22 2025-10-23 06:08:29,772 - DEBUG - VM ctest-TestRoutersBasic-52090767-21220386 is ready for SSH connections 2025-10-23 06:08:29,772 - INFO - Waiting for VM ctest-TestRoutersBasic-52090767-42358765 to be up.. 2025-10-23 06:08:29,855 - DEBUG - VM is in ACTIVE state now 2025-10-23 06:08:29,855 - INFO - VM name : ctest-TestRoutersBasic-52090767-42358765 2025-10-23 06:08:29,947 - DEBUG - VM ctest-TestRoutersBasic-52090767-42358765 ID is f6b9b689-881c-4e09-a6a6-eff0283b4d5a 2025-10-23 06:08:29,947 - DEBUG - VM ctest-TestRoutersBasic-52090767-42358765 launched on Node cn-jenkins-deploy-platform-ansible-os-4453-1 2025-10-23 06:08:30,041 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f6b9b689-881c-4e09-a6a6-eff0283b4d5a 2025-10-23 06:08:30,051 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b833c708-6c3f-40d7-958f-b9264f28550a 2025-10-23 06:08:31,313 - 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=4.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.56 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 = 1.555/3.148/4.742/1.593 ms') 2025-10-23 06:08:31,313 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-52090767-42358765 passed 2025-10-23 06:08:31,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 06:08:31,465 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52090767-42358765, IP 209.71.174.195, Port 22 2025-10-23 06:08:31,620 - DEBUG - VM ctest-TestRoutersBasic-52090767-42358765 is ready for SSH connections 2025-10-23 06:08:31,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 06:08:31,621 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.71.174.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 06:08:31,621 - DEBUG - ping -s 56 -c 3 -W 1 209.71.174.195 2025-10-23 06:08:35,328 - DEBUG - PING 209.71.174.195 (209.71.174.195): 56 data bytes 64 bytes from 209.71.174.195: seq=0 ttl=62 time=4.983 ms 64 bytes from 209.71.174.195: seq=1 ttl=62 time=0.911 ms 64 bytes from 209.71.174.195: seq=2 ttl=62 time=1.165 ms --- 209.71.174.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.911/2.353/4.983 ms 2025-10-23 06:08:35,328 - INFO - Ping to IP 209.71.174.195 from VM ctest-TestRoutersBasic-52090767-21220386 passed 2025-10-23 06:08:35,328 - INFO - Deleting interface with subnet_id 491019fd-b957-4398-b861-d4302efc082c, port_id None from router 69a98943-ab14-4f70-be81-5bea76b037f4 2025-10-23 06:08:35,582 - INFO - Deleting VM ctest-TestRoutersBasic-52090767-42358765 2025-10-23 06:08:35,666 - INFO - Deleting VM ctest-TestRoutersBasic-52090767-21220386 2025-10-23 06:08:35,777 - INFO - Deleting VN ctest-ext_vn-98289358 2025-10-23 06:08:35,882 - DEBUG - VN 925f4a58-63ac-4522-a511-f39dad951561 still in use: Unable to complete operation on network 925f4a58-63ac-4522-a511-f39dad951561. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-132c849c-96f3-4940-8024-38594286ca3d'] 2025-10-23 06:08:35,882 - WARNING - Deleting VN ctest-ext_vn-98289358 failed..Will retry 2025-10-23 06:08:37,994 - DEBUG - Response for deleting network () 2025-10-23 06:08:37,994 - INFO - Deleting VN ctest-vn-69166991 2025-10-23 06:08:38,231 - DEBUG - Response for deleting network () 2025-10-23 06:08:38,487 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 06:08:38,487 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-23 06:08:38,487 - INFO - -------------------------------------------------------------------------------- 2025-10-23 06:08:39,187 - INFO - Deleted project: ctest-TestRoutersBasic-52090767, ID : 0f9c650c-187c-4819-b5fd-ba1623340cff