2025-10-22 08:49:26,204 - INFO - Domain Default found not creating 2025-10-22 08:49:26,366 - INFO - Project ctest-TestRoutersBasic-51604324 not found, creating it 2025-10-22 08:49:26,825 - INFO - Created Project:ctest-TestRoutersBasic-51604324, ID : be6e3abc-ca0b-4187-ac1c-5b725474cb0b 2025-10-22 08:49:28,261 - INFO - ================================================================================ 2025-10-22 08:49:28,261 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-22 08:49:28,262 - 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-22 08:49:28,524 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-22 08:49:28,524 - INFO - Initial checks done. Running the testcase now 2025-10-22 08:49:28,525 - INFO - 2025-10-22 08:49:29,228 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51604324 2025-10-22 08:49:29,323 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51604324 2025-10-22 08:49:29,638 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51604324', 'default']} 2025-10-22 08:49:29,921 - DEBUG - Response for create_network : {'network': {'id': '4920b172-98a5-4c7e-be5f-aad3188e7987', 'name': 'ctest-vn-74358561', 'tenant_id': 'be6e3abcca0b4187ac1c5b725474cb0b', 'project_id': 'be6e3abcca0b4187ac1c5b725474cb0b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51604324', 'ctest-vn-74358561'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 08:49:30,102 - DEBUG - Response for create_subnet : {'subnet': {'id': '211f691e-5f9a-4364-97e6-c3798ea3c56d', 'name': '', 'tenant_id': 'be6e3abcca0b4187ac1c5b725474cb0b', 'network_id': '4920b172-98a5-4c7e-be5f-aad3188e7987', 'ip_version': 4, 'cidr': '218.162.51.0/26', 'allocation_pools': [{'start': '218.162.51.2', 'end': '218.162.51.62'}], 'gateway_ip': '218.162.51.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.162.51.2', 'tags': [], 'project_id': 'be6e3abcca0b4187ac1c5b725474cb0b'}} 2025-10-22 08:49:30,119 - INFO - Created VN ctest-vn-74358561 2025-10-22 08:49:30,170 - DEBUG - VN ctest-vn-74358561 UUID is 4920b172-98a5-4c7e-be5f-aad3188e7987 2025-10-22 08:49:30,478 - DEBUG - Response for create_network : {'network': {'id': '0c5956cd-22a0-45ba-b779-9d9d363c79a7', 'name': 'ctest-ext_vn-64419758', 'tenant_id': 'be6e3abcca0b4187ac1c5b725474cb0b', 'project_id': 'be6e3abcca0b4187ac1c5b725474cb0b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51604324', 'ctest-ext_vn-64419758'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 08:49:30,664 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b3f5bd9-76c4-48a2-abf5-2d2139774750', 'name': '', 'tenant_id': 'be6e3abcca0b4187ac1c5b725474cb0b', 'network_id': '0c5956cd-22a0-45ba-b779-9d9d363c79a7', 'ip_version': 4, 'cidr': '170.55.188.0/26', 'allocation_pools': [{'start': '170.55.188.2', 'end': '170.55.188.62'}], 'gateway_ip': '170.55.188.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.55.188.2', 'tags': [], 'project_id': 'be6e3abcca0b4187ac1c5b725474cb0b'}} 2025-10-22 08:49:30,681 - INFO - Created VN ctest-ext_vn-64419758 2025-10-22 08:49:30,734 - DEBUG - VN ctest-ext_vn-64419758 UUID is 0c5956cd-22a0-45ba-b779-9d9d363c79a7 2025-10-22 08:49:30,938 - DEBUG - Services list from nova: [, , ] 2025-10-22 08:49:31,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4417-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4417-1) 2025-10-22 08:49:33,085 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4417-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4417-1) 2025-10-22 08:49:33,146 - INFO - Setting gateway for router f96bdb8d-cc57-456a-bf40-b8e21d837c4a to network 0c5956cd-22a0-45ba-b779-9d9d363c79a7 2025-10-22 08:49:33,203 - INFO - Adding interface with subnet_id 211f691e-5f9a-4364-97e6-c3798ea3c56d, port_id None to router f96bdb8d-cc57-456a-bf40-b8e21d837c4a 2025-10-22 08:49:33,541 - INFO - Waiting for VM ctest-TestRoutersBasic-51604324-73968857 to be up.. 2025-10-22 08:49:33,660 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 08:49:38,741 - DEBUG - VM is in ACTIVE state now 2025-10-22 08:49:38,741 - INFO - VM name : ctest-TestRoutersBasic-51604324-73968857 2025-10-22 08:49:38,813 - DEBUG - VM ctest-TestRoutersBasic-51604324-73968857 ID is 6946084b-fd89-4fdb-ae86-9f9e83fb1342 2025-10-22 08:49:38,834 - DEBUG - VM ctest-TestRoutersBasic-51604324-73968857 launched on Node cn-jenkins-deploy-platform-ansible-os-4417-1 2025-10-22 08:49:38,925 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6946084b-fd89-4fdb-ae86-9f9e83fb1342 2025-10-22 08:49:39,226 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6946084b-fd89-4fdb-ae86-9f9e83fb1342 2025-10-22 08:49:39,259 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/11dbd751-00e9-4463-9027-8acc43e652d5 2025-10-22 08:49:42,517 - 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 1027ms') 2025-10-22 08:49:42,518 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51604324-73968857 failed! 2025-10-22 08:49:42,570 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51604324:ctest-vn-74358561 is 218.162.51.1 and allocation pool is NOT set 2025-10-22 08:49:44,627 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.466 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.466/2.149/3.833/1.683 ms') 2025-10-22 08:49:44,627 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51604324-73968857 passed 2025-10-22 08:49:44,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:49:44,779 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51604324-73968857, IP 218.162.51.3, Port 22 2025-10-22 08:49:44,949 - DEBUG - VM ctest-TestRoutersBasic-51604324-73968857 is ready for SSH connections 2025-10-22 08:49:44,949 - INFO - Waiting for VM ctest-TestRoutersBasic-51604324-28293229 to be up.. 2025-10-22 08:49:45,025 - DEBUG - VM is in ACTIVE state now 2025-10-22 08:49:45,026 - INFO - VM name : ctest-TestRoutersBasic-51604324-28293229 2025-10-22 08:49:45,102 - DEBUG - VM ctest-TestRoutersBasic-51604324-28293229 ID is a5b8ae95-26b8-4ed2-a64a-fca1633f0887 2025-10-22 08:49:45,102 - DEBUG - VM ctest-TestRoutersBasic-51604324-28293229 launched on Node cn-jenkins-deploy-platform-ansible-os-4417-1 2025-10-22 08:49:45,179 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a5b8ae95-26b8-4ed2-a64a-fca1633f0887 2025-10-22 08:49:45,187 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/12961fcf-e493-4c19-b84d-6c845d962ae8 2025-10-22 08:49:46,430 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.423/1.626/2.830/1.203 ms') 2025-10-22 08:49:46,431 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-51604324-28293229 passed 2025-10-22 08:49:46,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:49:46,582 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51604324-28293229, IP 170.55.188.3, Port 22 2025-10-22 08:49:46,738 - DEBUG - VM ctest-TestRoutersBasic-51604324-28293229 is ready for SSH connections 2025-10-22 08:49:46,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 08:49:46,738 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.55.188.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-22 08:49:46,739 - DEBUG - ping -s 56 -c 3 -W 1 170.55.188.3 2025-10-22 08:49:50,449 - DEBUG - PING 170.55.188.3 (170.55.188.3): 56 data bytes 64 bytes from 170.55.188.3: seq=0 ttl=62 time=7.868 ms 64 bytes from 170.55.188.3: seq=1 ttl=62 time=0.997 ms 64 bytes from 170.55.188.3: seq=2 ttl=62 time=0.960 ms --- 170.55.188.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.960/3.275/7.868 ms 2025-10-22 08:49:50,449 - INFO - Ping to IP 170.55.188.3 from VM ctest-TestRoutersBasic-51604324-73968857 passed 2025-10-22 08:49:50,450 - INFO - Deleting interface with subnet_id 211f691e-5f9a-4364-97e6-c3798ea3c56d, port_id None from router f96bdb8d-cc57-456a-bf40-b8e21d837c4a 2025-10-22 08:49:50,646 - INFO - Deleting VM ctest-TestRoutersBasic-51604324-28293229 2025-10-22 08:49:50,740 - INFO - Deleting VM ctest-TestRoutersBasic-51604324-73968857 2025-10-22 08:49:50,850 - INFO - Deleting VN ctest-ext_vn-64419758 2025-10-22 08:49:50,943 - DEBUG - VN 0c5956cd-22a0-45ba-b779-9d9d363c79a7 still in use: Unable to complete operation on network 0c5956cd-22a0-45ba-b779-9d9d363c79a7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1f84a8fc-45b2-4f8d-b39b-04c8121c6e88'] 2025-10-22 08:49:50,943 - WARNING - Deleting VN ctest-ext_vn-64419758 failed..Will retry 2025-10-22 08:49:53,036 - DEBUG - Response for deleting network () 2025-10-22 08:49:53,036 - INFO - Deleting VN ctest-vn-74358561 2025-10-22 08:49:53,136 - DEBUG - Response for deleting network () 2025-10-22 08:49:53,407 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 08:49:53,407 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-22 08:49:53,407 - INFO - -------------------------------------------------------------------------------- 2025-10-22 08:49:54,078 - INFO - Deleted project: ctest-TestRoutersBasic-51604324, ID : be6e3abc-ca0b-4187-ac1c-5b725474cb0b