2025-06-30 11:50:53,310 - INFO - Domain Default found not creating 2025-06-30 11:50:53,521 - INFO - Project ctest-TestRoutersBasic-58979509 not found, creating it 2025-06-30 11:50:54,026 - INFO - Created Project:ctest-TestRoutersBasic-58979509, ID : 73b3ec92-76a1-4dd8-861e-218c4b66c9cf 2025-06-30 11:50:55,437 - INFO - ================================================================================ 2025-06-30 11:50:55,437 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-30 11:50:55,438 - 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-06-30 11:50:55,699 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0'}} with 2025-06-30 11:50:55,699 - INFO - Initial checks done. Running the testcase now 2025-06-30 11:50:55,699 - INFO - 2025-06-30 11:50:56,404 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-58979509 2025-06-30 11:50:56,501 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-58979509 2025-06-30 11:50:56,825 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58979509', 'default']} 2025-06-30 11:50:57,118 - DEBUG - Response for create_network : {'network': {'id': 'daafdb33-d5b0-41c6-950f-cf739af3e538', 'name': 'ctest-vn-81723041', 'tenant_id': '73b3ec9276a14dd8861e218c4b66c9cf', 'project_id': '73b3ec9276a14dd8861e218c4b66c9cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58979509', 'ctest-vn-81723041'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:50:57,291 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f598a240-91b5-4afe-bbb5-a7ee32c40179', 'name': '', 'tenant_id': '73b3ec9276a14dd8861e218c4b66c9cf', 'network_id': 'daafdb33-d5b0-41c6-950f-cf739af3e538', 'ip_version': 4, 'cidr': '100.137.97.64/26', 'allocation_pools': [{'start': '100.137.97.66', 'end': '100.137.97.126'}], 'gateway_ip': '100.137.97.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.137.97.66', 'tags': [], 'project_id': '73b3ec9276a14dd8861e218c4b66c9cf'}} 2025-06-30 11:50:57,311 - INFO - Created VN ctest-vn-81723041 2025-06-30 11:50:57,361 - DEBUG - VN ctest-vn-81723041 UUID is daafdb33-d5b0-41c6-950f-cf739af3e538 2025-06-30 11:50:57,703 - DEBUG - Response for create_network : {'network': {'id': 'bfebad56-d512-4cc0-bfff-779066bd4236', 'name': 'ctest-ext_vn-79217621', 'tenant_id': '73b3ec9276a14dd8861e218c4b66c9cf', 'project_id': '73b3ec9276a14dd8861e218c4b66c9cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58979509', 'ctest-ext_vn-79217621'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 11:50:57,883 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e68ca92d-7ce3-4823-9df5-35d02184780f', 'name': '', 'tenant_id': '73b3ec9276a14dd8861e218c4b66c9cf', 'network_id': 'bfebad56-d512-4cc0-bfff-779066bd4236', 'ip_version': 4, 'cidr': '216.164.209.0/26', 'allocation_pools': [{'start': '216.164.209.2', 'end': '216.164.209.62'}], 'gateway_ip': '216.164.209.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.164.209.2', 'tags': [], 'project_id': '73b3ec9276a14dd8861e218c4b66c9cf'}} 2025-06-30 11:50:57,899 - INFO - Created VN ctest-ext_vn-79217621 2025-06-30 11:50:57,953 - DEBUG - VN ctest-ext_vn-79217621 UUID is bfebad56-d512-4cc0-bfff-779066bd4236 2025-06-30 11:50:58,116 - DEBUG - Services list from nova: [, , ] 2025-06-30 11:50:59,091 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3575-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3575-1) 2025-06-30 11:51:00,472 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3575-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3575-1) 2025-06-30 11:51:00,554 - INFO - Setting gateway for router 0ff028b1-a397-4f41-b061-78e49c520d7e to network bfebad56-d512-4cc0-bfff-779066bd4236 2025-06-30 11:51:00,652 - INFO - Adding interface with subnet_id f598a240-91b5-4afe-bbb5-a7ee32c40179, port_id None to router 0ff028b1-a397-4f41-b061-78e49c520d7e 2025-06-30 11:51:01,331 - INFO - Waiting for VM ctest-TestRoutersBasic-58979509-15192912 to be up.. 2025-06-30 11:51:01,491 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-30 11:51:06,569 - DEBUG - VM is in ACTIVE state now 2025-06-30 11:51:06,569 - INFO - VM name : ctest-TestRoutersBasic-58979509-15192912 2025-06-30 11:51:06,641 - DEBUG - VM ctest-TestRoutersBasic-58979509-15192912 ID is 13df4ad5-893e-40b5-97f0-73c20a7c3c39 2025-06-30 11:51:06,659 - DEBUG - VM ctest-TestRoutersBasic-58979509-15192912 launched on Node cn-jenkins-deploy-platform-ansible-os-3575-1 2025-06-30 11:51:06,731 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/13df4ad5-893e-40b5-97f0-73c20a7c3c39 2025-06-30 11:51:07,030 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/13df4ad5-893e-40b5-97f0-73c20a7c3c39 2025-06-30 11:51:07,059 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/df1ad8c7-467a-45c9-80e7-e3f89f4641ea 2025-06-30 11:51:10,297 - 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 1003ms') 2025-06-30 11:51:10,297 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58979509-15192912 failed! 2025-06-30 11:51:10,353 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-58979509:ctest-vn-81723041 is 100.137.97.65 and allocation pool is NOT set 2025-06-30 11:51:12,417 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.403 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.403/1.722/3.042/1.319 ms') 2025-06-30 11:51:12,418 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58979509-15192912 passed 2025-06-30 11:51:12,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:51:12,573 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58979509-15192912, IP 100.137.97.67, Port 22 2025-06-30 11:51:12,747 - DEBUG - VM ctest-TestRoutersBasic-58979509-15192912 is ready for SSH connections 2025-06-30 11:51:12,747 - INFO - Waiting for VM ctest-TestRoutersBasic-58979509-17764892 to be up.. 2025-06-30 11:51:12,822 - DEBUG - VM is in ACTIVE state now 2025-06-30 11:51:12,822 - INFO - VM name : ctest-TestRoutersBasic-58979509-17764892 2025-06-30 11:51:12,895 - DEBUG - VM ctest-TestRoutersBasic-58979509-17764892 ID is 6d622f9f-e017-45fe-9215-86955bab9ba4 2025-06-30 11:51:12,895 - DEBUG - VM ctest-TestRoutersBasic-58979509-17764892 launched on Node cn-jenkins-deploy-platform-ansible-os-3575-1 2025-06-30 11:51:12,962 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6d622f9f-e017-45fe-9215-86955bab9ba4 2025-06-30 11:51:12,970 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/0415378f-6b7c-4982-b66e-25293598e0a4 2025-06-30 11:51:14,198 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/1.614/2.793/1.178 ms') 2025-06-30 11:51:14,198 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-58979509-17764892 passed 2025-06-30 11:51:14,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:51:14,369 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58979509-17764892, IP 216.164.209.3, Port 22 2025-06-30 11:51:14,524 - DEBUG - VM ctest-TestRoutersBasic-58979509-17764892 is ready for SSH connections 2025-06-30 11:51:14,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 11:51:14,525 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.164.209.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-06-30 11:51:14,525 - DEBUG - ping -s 56 -c 3 -W 1 216.164.209.3 2025-06-30 11:51:18,173 - DEBUG - PING 216.164.209.3 (216.164.209.3): 56 data bytes 64 bytes from 216.164.209.3: seq=0 ttl=62 time=4.713 ms 64 bytes from 216.164.209.3: seq=1 ttl=62 time=0.818 ms 64 bytes from 216.164.209.3: seq=2 ttl=62 time=0.934 ms --- 216.164.209.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.818/2.155/4.713 ms 2025-06-30 11:51:18,173 - INFO - Ping to IP 216.164.209.3 from VM ctest-TestRoutersBasic-58979509-15192912 passed 2025-06-30 11:51:18,173 - INFO - Deleting interface with subnet_id f598a240-91b5-4afe-bbb5-a7ee32c40179, port_id None from router 0ff028b1-a397-4f41-b061-78e49c520d7e 2025-06-30 11:51:18,361 - INFO - Deleting VM ctest-TestRoutersBasic-58979509-17764892 2025-06-30 11:51:18,430 - INFO - Deleting VM ctest-TestRoutersBasic-58979509-15192912 2025-06-30 11:51:18,529 - INFO - Deleting VN ctest-ext_vn-79217621 2025-06-30 11:51:18,601 - DEBUG - VN bfebad56-d512-4cc0-bfff-779066bd4236 still in use: Unable to complete operation on network bfebad56-d512-4cc0-bfff-779066bd4236. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b9b34571-c3f5-4446-bb9a-434b82f6f28f'] 2025-06-30 11:51:18,601 - WARNING - Deleting VN ctest-ext_vn-79217621 failed..Will retry 2025-06-30 11:51:20,722 - DEBUG - Response for deleting network () 2025-06-30 11:51:20,722 - INFO - Deleting VN ctest-vn-81723041 2025-06-30 11:51:20,831 - DEBUG - Response for deleting network () 2025-06-30 11:51:21,087 - DEBUG - No XMPP flaps were noticed during the test 2025-06-30 11:51:21,087 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-30 11:51:21,087 - INFO - -------------------------------------------------------------------------------- 2025-06-30 11:51:21,776 - INFO - Deleted project: ctest-TestRoutersBasic-58979509, ID : 73b3ec92-76a1-4dd8-861e-218c4b66c9cf