2025-10-20 16:36:01,659 - INFO - Domain Default found not creating 2025-10-20 16:36:01,784 - INFO - Project ctest-TestRoutersBasic-76417505 not found, creating it 2025-10-20 16:36:02,207 - INFO - Created Project:ctest-TestRoutersBasic-76417505, ID : 3f6a3687-dd1e-4039-92e6-c4474f24b9df 2025-10-20 16:36:03,539 - INFO - ================================================================================ 2025-10-20 16:36:03,539 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-20 16:36:03,539 - 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-20 16:36:03,792 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-20 16:36:03,792 - INFO - Initial checks done. Running the testcase now 2025-10-20 16:36:03,793 - INFO - 2025-10-20 16:36:04,904 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-76417505 2025-10-20 16:36:04,999 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-76417505 2025-10-20 16:36:05,315 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76417505', 'default']} 2025-10-20 16:36:05,577 - DEBUG - Response for create_network : {'network': {'id': '7d8325a2-0d42-4646-8445-d34e2d9e8fe0', 'name': 'ctest-vn-33749066', 'tenant_id': '3f6a3687dd1e403992e6c4474f24b9df', 'project_id': '3f6a3687dd1e403992e6c4474f24b9df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76417505', 'ctest-vn-33749066'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 16:36:05,731 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f36d8c57-404e-49d3-a52d-ed385a1d9a99', 'name': '', 'tenant_id': '3f6a3687dd1e403992e6c4474f24b9df', 'network_id': '7d8325a2-0d42-4646-8445-d34e2d9e8fe0', 'ip_version': 4, 'cidr': '218.209.135.64/26', 'allocation_pools': [{'start': '218.209.135.66', 'end': '218.209.135.126'}], 'gateway_ip': '218.209.135.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.209.135.66', 'tags': [], 'project_id': '3f6a3687dd1e403992e6c4474f24b9df'}} 2025-10-20 16:36:05,746 - INFO - Created VN ctest-vn-33749066 2025-10-20 16:36:05,795 - DEBUG - VN ctest-vn-33749066 UUID is 7d8325a2-0d42-4646-8445-d34e2d9e8fe0 2025-10-20 16:36:06,116 - DEBUG - Response for create_network : {'network': {'id': 'bd57fa3a-ec4d-4bc6-9ced-a04a5f594134', 'name': 'ctest-ext_vn-02462332', 'tenant_id': '3f6a3687dd1e403992e6c4474f24b9df', 'project_id': '3f6a3687dd1e403992e6c4474f24b9df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76417505', 'ctest-ext_vn-02462332'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 16:36:06,245 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b01fa581-9a61-485d-9532-2b13d933e029', 'name': '', 'tenant_id': '3f6a3687dd1e403992e6c4474f24b9df', 'network_id': 'bd57fa3a-ec4d-4bc6-9ced-a04a5f594134', 'ip_version': 4, 'cidr': '18.249.163.0/26', 'allocation_pools': [{'start': '18.249.163.2', 'end': '18.249.163.62'}], 'gateway_ip': '18.249.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.249.163.2', 'tags': [], 'project_id': '3f6a3687dd1e403992e6c4474f24b9df'}} 2025-10-20 16:36:06,261 - INFO - Created VN ctest-ext_vn-02462332 2025-10-20 16:36:06,311 - DEBUG - VN ctest-ext_vn-02462332 UUID is bd57fa3a-ec4d-4bc6-9ced-a04a5f594134 2025-10-20 16:36:06,497 - DEBUG - Services list from nova: [, , ] 2025-10-20 16:36:07,456 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4384-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4384-1) 2025-10-20 16:36:08,502 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4384-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4384-1) 2025-10-20 16:36:08,572 - INFO - Setting gateway for router 4fcad77e-13f1-46de-aa01-4b9f42bc6078 to network bd57fa3a-ec4d-4bc6-9ced-a04a5f594134 2025-10-20 16:36:08,633 - INFO - Adding interface with subnet_id f36d8c57-404e-49d3-a52d-ed385a1d9a99, port_id None to router 4fcad77e-13f1-46de-aa01-4b9f42bc6078 2025-10-20 16:36:08,873 - INFO - Waiting for VM ctest-TestRoutersBasic-76417505-54207061 to be up.. 2025-10-20 16:36:08,999 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 16:36:14,062 - DEBUG - VM is in ACTIVE state now 2025-10-20 16:36:14,062 - INFO - VM name : ctest-TestRoutersBasic-76417505-54207061 2025-10-20 16:36:14,121 - DEBUG - VM ctest-TestRoutersBasic-76417505-54207061 ID is 4555ca9a-cead-4fd0-bea9-569573dc16f9 2025-10-20 16:36:14,136 - DEBUG - VM ctest-TestRoutersBasic-76417505-54207061 launched on Node cn-jenkins-deploy-platform-ansible-os-4384-1 2025-10-20 16:36:14,197 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4555ca9a-cead-4fd0-bea9-569573dc16f9 2025-10-20 16:36:14,485 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4555ca9a-cead-4fd0-bea9-569573dc16f9 2025-10-20 16:36:14,512 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/350a18ef-ab1c-4848-af46-13ff14820071 2025-10-20 16:36:17,754 - 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 1016ms') 2025-10-20 16:36:17,754 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76417505-54207061 failed! 2025-10-20 16:36:17,807 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-76417505:ctest-vn-33749066 is 218.209.135.65 and allocation pool is NOT set 2025-10-20 16:36:19,869 - 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=2.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.480 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.480/1.727/2.974/1.247 ms') 2025-10-20 16:36:19,870 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76417505-54207061 passed 2025-10-20 16:36:20,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:36:20,023 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76417505-54207061, IP 218.209.135.67, Port 22 2025-10-20 16:36:20,186 - DEBUG - VM ctest-TestRoutersBasic-76417505-54207061 is ready for SSH connections 2025-10-20 16:36:20,186 - INFO - Waiting for VM ctest-TestRoutersBasic-76417505-47146730 to be up.. 2025-10-20 16:36:20,271 - DEBUG - VM is in ACTIVE state now 2025-10-20 16:36:20,271 - INFO - VM name : ctest-TestRoutersBasic-76417505-47146730 2025-10-20 16:36:20,339 - DEBUG - VM ctest-TestRoutersBasic-76417505-47146730 ID is 1b7aa811-6c37-46a5-b6d8-3812eaf58cca 2025-10-20 16:36:20,339 - DEBUG - VM ctest-TestRoutersBasic-76417505-47146730 launched on Node cn-jenkins-deploy-platform-ansible-os-4384-1 2025-10-20 16:36:20,410 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1b7aa811-6c37-46a5-b6d8-3812eaf58cca 2025-10-20 16:36:20,417 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ccb52598-decd-4f85-8c0f-01d949004ff7 2025-10-20 16:36:21,650 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.547 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.547/1.661/2.776/1.114 ms') 2025-10-20 16:36:21,650 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-76417505-47146730 passed 2025-10-20 16:36:21,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:36:21,800 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76417505-47146730, IP 18.249.163.3, Port 22 2025-10-20 16:36:21,951 - DEBUG - VM ctest-TestRoutersBasic-76417505-47146730 is ready for SSH connections 2025-10-20 16:36:21,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:36:21,951 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.249.163.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-20 16:36:21,951 - DEBUG - ping -s 56 -c 3 -W 1 18.249.163.3 2025-10-20 16:36:25,936 - DEBUG - PING 18.249.163.3 (18.249.163.3): 56 data bytes 64 bytes from 18.249.163.3: seq=0 ttl=62 time=3.767 ms 64 bytes from 18.249.163.3: seq=1 ttl=62 time=0.752 ms 64 bytes from 18.249.163.3: seq=2 ttl=62 time=0.772 ms --- 18.249.163.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.752/1.763/3.767 ms 2025-10-20 16:36:25,936 - INFO - Ping to IP 18.249.163.3 from VM ctest-TestRoutersBasic-76417505-54207061 passed 2025-10-20 16:36:25,936 - INFO - Deleting interface with subnet_id f36d8c57-404e-49d3-a52d-ed385a1d9a99, port_id None from router 4fcad77e-13f1-46de-aa01-4b9f42bc6078 2025-10-20 16:36:26,091 - INFO - Deleting VM ctest-TestRoutersBasic-76417505-47146730 2025-10-20 16:36:26,155 - INFO - Deleting VM ctest-TestRoutersBasic-76417505-54207061 2025-10-20 16:36:26,219 - INFO - Deleting VN ctest-ext_vn-02462332 2025-10-20 16:36:26,283 - DEBUG - VN bd57fa3a-ec4d-4bc6-9ced-a04a5f594134 still in use: Unable to complete operation on network bd57fa3a-ec4d-4bc6-9ced-a04a5f594134. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7115f84c-49e3-401a-939b-7d7da7d3a25b'] 2025-10-20 16:36:26,283 - WARNING - Deleting VN ctest-ext_vn-02462332 failed..Will retry 2025-10-20 16:36:28,374 - DEBUG - Response for deleting network () 2025-10-20 16:36:28,374 - INFO - Deleting VN ctest-vn-33749066 2025-10-20 16:36:28,465 - DEBUG - Response for deleting network () 2025-10-20 16:36:28,723 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 16:36:28,723 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-20 16:36:28,723 - INFO - -------------------------------------------------------------------------------- 2025-10-20 16:36:29,352 - INFO - Deleted project: ctest-TestRoutersBasic-76417505, ID : 3f6a3687-dd1e-4039-92e6-c4474f24b9df