2026-02-24 16:38:40,033 - INFO - Domain Default found not creating 2026-02-24 16:38:40,179 - INFO - Project ctest-TestRoutersBasic-58861824 not found, creating it 2026-02-24 16:38:40,608 - INFO - Created Project:ctest-TestRoutersBasic-58861824, ID : dff3adbb-41cb-41f1-8394-9049f13aa8d5 2026-02-24 16:38:41,998 - INFO - ================================================================================ 2026-02-24 16:38:41,998 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-24 16:38:41,999 - 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 2026-02-24 16:38:42,254 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-24 16:38:42,254 - INFO - Initial checks done. Running the testcase now 2026-02-24 16:38:42,254 - INFO - 2026-02-24 16:38:42,941 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-58861824 2026-02-24 16:38:43,036 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-58861824 2026-02-24 16:38:43,352 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58861824', 'default']} 2026-02-24 16:38:43,618 - DEBUG - Response for create_network : {'network': {'id': '9cb446b5-76b8-4010-be3c-963e7af7fb33', 'name': 'ctest-vn-64935502', 'tenant_id': 'dff3adbb41cb41f183949049f13aa8d5', 'project_id': 'dff3adbb41cb41f183949049f13aa8d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58861824', 'ctest-vn-64935502'], 'port_security_enabled': True, 'description': ''}} 2026-02-24 16:38:43,766 - DEBUG - Response for create_subnet : {'subnet': {'id': '91a8f041-164c-49b2-b162-22f9664ef84f', 'name': '', 'tenant_id': 'dff3adbb41cb41f183949049f13aa8d5', 'network_id': '9cb446b5-76b8-4010-be3c-963e7af7fb33', 'ip_version': 4, 'cidr': '100.35.51.64/26', 'allocation_pools': [{'start': '100.35.51.66', 'end': '100.35.51.126'}], 'gateway_ip': '100.35.51.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.35.51.66', 'tags': [], 'project_id': 'dff3adbb41cb41f183949049f13aa8d5'}} 2026-02-24 16:38:43,781 - INFO - Created VN ctest-vn-64935502 2026-02-24 16:38:43,832 - DEBUG - VN ctest-vn-64935502 UUID is 9cb446b5-76b8-4010-be3c-963e7af7fb33 2026-02-24 16:38:44,158 - DEBUG - Response for create_network : {'network': {'id': 'ca39cbce-8f71-45b2-8152-d8423c8fcf68', 'name': 'ctest-ext_vn-75369119', 'tenant_id': 'dff3adbb41cb41f183949049f13aa8d5', 'project_id': 'dff3adbb41cb41f183949049f13aa8d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58861824', 'ctest-ext_vn-75369119'], 'port_security_enabled': True, 'description': ''}} 2026-02-24 16:38:44,320 - DEBUG - Response for create_subnet : {'subnet': {'id': '99691fb5-85d9-4748-a7f3-6b7d4e6fb313', 'name': '', 'tenant_id': 'dff3adbb41cb41f183949049f13aa8d5', 'network_id': 'ca39cbce-8f71-45b2-8152-d8423c8fcf68', 'ip_version': 4, 'cidr': '186.18.205.128/26', 'allocation_pools': [{'start': '186.18.205.130', 'end': '186.18.205.190'}], 'gateway_ip': '186.18.205.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.18.205.130', 'tags': [], 'project_id': 'dff3adbb41cb41f183949049f13aa8d5'}} 2026-02-24 16:38:44,336 - INFO - Created VN ctest-ext_vn-75369119 2026-02-24 16:38:44,388 - DEBUG - VN ctest-ext_vn-75369119 UUID is ca39cbce-8f71-45b2-8152-d8423c8fcf68 2026-02-24 16:38:44,582 - DEBUG - Services list from nova: [, , ] 2026-02-24 16:38:45,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5394-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5394-1) 2026-02-24 16:38:46,629 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5394-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5394-1) 2026-02-24 16:38:46,708 - INFO - Setting gateway for router 2e022f8c-d7ce-49d1-b220-1f2f90a2ddb3 to network ca39cbce-8f71-45b2-8152-d8423c8fcf68 2026-02-24 16:38:46,780 - INFO - Adding interface with subnet_id 91a8f041-164c-49b2-b162-22f9664ef84f, port_id None to router 2e022f8c-d7ce-49d1-b220-1f2f90a2ddb3 2026-02-24 16:38:47,118 - INFO - Waiting for VM ctest-TestRoutersBasic-58861824-46376682 to be up.. 2026-02-24 16:38:47,275 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-24 16:38:52,342 - DEBUG - VM is in ACTIVE state now 2026-02-24 16:38:52,342 - INFO - VM name : ctest-TestRoutersBasic-58861824-46376682 2026-02-24 16:38:52,411 - DEBUG - VM ctest-TestRoutersBasic-58861824-46376682 ID is c254f7a3-b24d-44ed-9a4e-5639140e6d18 2026-02-24 16:38:52,432 - DEBUG - VM ctest-TestRoutersBasic-58861824-46376682 launched on Node cn-jenkins-deploy-platform-ansible-os-5394-1 2026-02-24 16:38:52,496 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c254f7a3-b24d-44ed-9a4e-5639140e6d18 2026-02-24 16:38:52,794 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c254f7a3-b24d-44ed-9a4e-5639140e6d18 2026-02-24 16:38:52,825 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/76f67d5d-70da-4d7f-8486-649e725fd660 2026-02-24 16:38:56,094 - 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 1035ms') 2026-02-24 16:38:56,094 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58861824-46376682 failed! 2026-02-24 16:38:56,152 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-58861824:ctest-vn-64935502 is 100.35.51.65 and allocation pool is NOT set 2026-02-24 16:38:58,212 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.378 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.378/1.640/2.903/1.262 ms') 2026-02-24 16:38:58,212 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58861824-46376682 passed 2026-02-24 16:38:58,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 16:38:58,360 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58861824-46376682, IP 100.35.51.67, Port 22 2026-02-24 16:38:58,515 - DEBUG - VM ctest-TestRoutersBasic-58861824-46376682 is ready for SSH connections 2026-02-24 16:38:58,515 - INFO - Waiting for VM ctest-TestRoutersBasic-58861824-96728673 to be up.. 2026-02-24 16:38:58,581 - DEBUG - VM is in ACTIVE state now 2026-02-24 16:38:58,581 - INFO - VM name : ctest-TestRoutersBasic-58861824-96728673 2026-02-24 16:38:58,643 - DEBUG - VM ctest-TestRoutersBasic-58861824-96728673 ID is 96cad4b8-b454-4b92-978b-30be01975f14 2026-02-24 16:38:58,643 - DEBUG - VM ctest-TestRoutersBasic-58861824-96728673 launched on Node cn-jenkins-deploy-platform-ansible-os-5394-1 2026-02-24 16:38:58,702 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/96cad4b8-b454-4b92-978b-30be01975f14 2026-02-24 16:38:58,709 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9fc793e5-cbdd-4218-a27c-b2eadc875cf8 2026-02-24 16:38:59,930 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.304 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.304/1.470/2.637/1.166 ms') 2026-02-24 16:38:59,930 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-58861824-96728673 passed 2026-02-24 16:39:00,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 16:39:00,076 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58861824-96728673, IP 186.18.205.131, Port 22 2026-02-24 16:39:00,232 - DEBUG - VM ctest-TestRoutersBasic-58861824-96728673 is ready for SSH connections 2026-02-24 16:39:00,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-24 16:39:00,232 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.18.205.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-24 16:39:00,232 - DEBUG - ping -s 56 -c 3 -W 1 186.18.205.131 2026-02-24 16:39:04,215 - DEBUG - PING 186.18.205.131 (186.18.205.131): 56 data bytes 64 bytes from 186.18.205.131: seq=0 ttl=62 time=5.186 ms 64 bytes from 186.18.205.131: seq=1 ttl=62 time=0.739 ms 64 bytes from 186.18.205.131: seq=2 ttl=62 time=0.929 ms --- 186.18.205.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.739/2.284/5.186 ms 2026-02-24 16:39:04,215 - INFO - Ping to IP 186.18.205.131 from VM ctest-TestRoutersBasic-58861824-46376682 passed 2026-02-24 16:39:04,215 - INFO - Deleting interface with subnet_id 91a8f041-164c-49b2-b162-22f9664ef84f, port_id None from router 2e022f8c-d7ce-49d1-b220-1f2f90a2ddb3 2026-02-24 16:39:04,379 - INFO - Deleting VM ctest-TestRoutersBasic-58861824-96728673 2026-02-24 16:39:04,450 - INFO - Deleting VM ctest-TestRoutersBasic-58861824-46376682 2026-02-24 16:39:04,543 - INFO - Deleting VN ctest-ext_vn-75369119 2026-02-24 16:39:04,602 - DEBUG - VN ca39cbce-8f71-45b2-8152-d8423c8fcf68 still in use: Unable to complete operation on network ca39cbce-8f71-45b2-8152-d8423c8fcf68. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ac0c81ff-ac67-4b15-9e93-8d3eb6db5335'] 2026-02-24 16:39:04,602 - WARNING - Deleting VN ctest-ext_vn-75369119 failed..Will retry 2026-02-24 16:39:06,686 - DEBUG - Response for deleting network () 2026-02-24 16:39:06,686 - INFO - Deleting VN ctest-vn-64935502 2026-02-24 16:39:06,765 - DEBUG - Response for deleting network () 2026-02-24 16:39:07,016 - DEBUG - No XMPP flaps were noticed during the test
2026-02-24 16:39:07,016 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-02-24 16:39:07,016 - INFO - -------------------------------------------------------------------------------- 2026-02-24 16:39:07,678 - INFO - Deleted project: ctest-TestRoutersBasic-58861824, ID : dff3adbb-41cb-41f1-8394-9049f13aa8d5