2026-02-03 21:21:25,808 - INFO - Domain Default found not creating 2026-02-03 21:21:25,951 - INFO - Project ctest-TestRoutersBasic-22203642 not found, creating it 2026-02-03 21:21:26,387 - INFO - Created Project:ctest-TestRoutersBasic-22203642, ID : dcd76739-fe18-4a9c-b234-9c86b3220838 2026-02-03 21:21:27,766 - INFO - ================================================================================ 2026-02-03 21:21:27,766 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-03 21:21:27,766 - 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-03 21:21:28,019 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.193': '0'}} with 2026-02-03 21:21:28,019 - INFO - Initial checks done. Running the testcase now 2026-02-03 21:21:28,020 - INFO - 2026-02-03 21:21:28,710 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-22203642 2026-02-03 21:21:28,803 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-22203642 2026-02-03 21:21:29,126 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22203642', 'default']} 2026-02-03 21:21:29,396 - DEBUG - Response for create_network : {'network': {'id': 'd98e6398-e029-4d0c-8110-1dbd2ac28b12', 'name': 'ctest-vn-28901538', 'tenant_id': 'dcd76739fe184a9cb2349c86b3220838', 'project_id': 'dcd76739fe184a9cb2349c86b3220838', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22203642', 'ctest-vn-28901538'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 21:21:29,552 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a2f9116-02f2-41cc-84bc-8756833361c2', 'name': '', 'tenant_id': 'dcd76739fe184a9cb2349c86b3220838', 'network_id': 'd98e6398-e029-4d0c-8110-1dbd2ac28b12', 'ip_version': 4, 'cidr': '125.222.248.0/26', 'allocation_pools': [{'start': '125.222.248.2', 'end': '125.222.248.62'}], 'gateway_ip': '125.222.248.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.222.248.2', 'tags': [], 'project_id': 'dcd76739fe184a9cb2349c86b3220838'}} 2026-02-03 21:21:29,567 - INFO - Created VN ctest-vn-28901538 2026-02-03 21:21:29,619 - DEBUG - VN ctest-vn-28901538 UUID is d98e6398-e029-4d0c-8110-1dbd2ac28b12 2026-02-03 21:21:29,960 - DEBUG - Response for create_network : {'network': {'id': 'e55767e8-d692-48f3-83af-b1aa63a21090', 'name': 'ctest-ext_vn-71258369', 'tenant_id': 'dcd76739fe184a9cb2349c86b3220838', 'project_id': 'dcd76739fe184a9cb2349c86b3220838', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22203642', 'ctest-ext_vn-71258369'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 21:21:30,168 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e67e52c-f90b-4353-bb89-46c953c6239c', 'name': '', 'tenant_id': 'dcd76739fe184a9cb2349c86b3220838', 'network_id': 'e55767e8-d692-48f3-83af-b1aa63a21090', 'ip_version': 4, 'cidr': '1.11.27.64/26', 'allocation_pools': [{'start': '1.11.27.66', 'end': '1.11.27.126'}], 'gateway_ip': '1.11.27.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.11.27.66', 'tags': [], 'project_id': 'dcd76739fe184a9cb2349c86b3220838'}} 2026-02-03 21:21:30,182 - INFO - Created VN ctest-ext_vn-71258369 2026-02-03 21:21:30,231 - DEBUG - VN ctest-ext_vn-71258369 UUID is e55767e8-d692-48f3-83af-b1aa63a21090 2026-02-03 21:21:30,419 - DEBUG - Services list from nova: [, , ] 2026-02-03 21:21:31,389 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5197-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5197-1) 2026-02-03 21:21:32,448 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5197-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5197-1) 2026-02-03 21:21:32,517 - INFO - Setting gateway for router d321bd05-42d8-4511-8daf-4f6e8314d687 to network e55767e8-d692-48f3-83af-b1aa63a21090 2026-02-03 21:21:32,559 - INFO - Adding interface with subnet_id 0a2f9116-02f2-41cc-84bc-8756833361c2, port_id None to router d321bd05-42d8-4511-8daf-4f6e8314d687 2026-02-03 21:21:32,885 - INFO - Waiting for VM ctest-TestRoutersBasic-22203642-88908823 to be up.. 2026-02-03 21:21:33,043 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 21:21:38,108 - DEBUG - VM is in ACTIVE state now 2026-02-03 21:21:38,108 - INFO - VM name : ctest-TestRoutersBasic-22203642-88908823 2026-02-03 21:21:38,174 - DEBUG - VM ctest-TestRoutersBasic-22203642-88908823 ID is 93b321f3-b88e-4297-8d81-1c9bdce4c152 2026-02-03 21:21:38,191 - DEBUG - VM ctest-TestRoutersBasic-22203642-88908823 launched on Node cn-jenkins-deploy-platform-ansible-os-5197-1 2026-02-03 21:21:38,259 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/93b321f3-b88e-4297-8d81-1c9bdce4c152 2026-02-03 21:21:38,555 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/93b321f3-b88e-4297-8d81-1c9bdce4c152 2026-02-03 21:21:38,585 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/597a5868-d552-4a78-9bab-aecb4011eb02 2026-02-03 21:21:41,821 - 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 1008ms') 2026-02-03 21:21:41,821 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22203642-88908823 failed! 2026-02-03 21:21:41,875 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-22203642:ctest-vn-28901538 is 125.222.248.1 and allocation pool is NOT set 2026-02-03 21:21:43,941 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.646 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.646/1.644/2.643/0.998 ms') 2026-02-03 21:21:43,941 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22203642-88908823 passed 2026-02-03 21:21:44,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:21:44,087 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22203642-88908823, IP 125.222.248.3, Port 22 2026-02-03 21:21:44,254 - DEBUG - VM ctest-TestRoutersBasic-22203642-88908823 is ready for SSH connections 2026-02-03 21:21:44,254 - INFO - Waiting for VM ctest-TestRoutersBasic-22203642-43217297 to be up.. 2026-02-03 21:21:44,324 - DEBUG - VM is in ACTIVE state now 2026-02-03 21:21:44,324 - INFO - VM name : ctest-TestRoutersBasic-22203642-43217297 2026-02-03 21:21:44,394 - DEBUG - VM ctest-TestRoutersBasic-22203642-43217297 ID is d8e80c67-9f15-4969-b9bb-d9d0255ef4fc 2026-02-03 21:21:44,394 - DEBUG - VM ctest-TestRoutersBasic-22203642-43217297 launched on Node cn-jenkins-deploy-platform-ansible-os-5197-1 2026-02-03 21:21:44,459 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d8e80c67-9f15-4969-b9bb-d9d0255ef4fc 2026-02-03 21:21:44,471 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/376fa8e1-c5b7-4729-b93e-7c23aedb407f 2026-02-03 21:21:45,707 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.329 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.329/1.504/2.679/1.175 ms') 2026-02-03 21:21:45,707 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-22203642-43217297 passed 2026-02-03 21:21:45,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:21:45,847 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22203642-43217297, IP 1.11.27.67, Port 22 2026-02-03 21:21:46,002 - DEBUG - VM ctest-TestRoutersBasic-22203642-43217297 is ready for SSH connections 2026-02-03 21:21:46,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:21:46,002 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.11.27.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-03 21:21:46,002 - DEBUG - ping -s 56 -c 3 -W 1 1.11.27.67 2026-02-03 21:21:49,696 - DEBUG - PING 1.11.27.67 (1.11.27.67): 56 data bytes 64 bytes from 1.11.27.67: seq=0 ttl=62 time=8.104 ms 64 bytes from 1.11.27.67: seq=1 ttl=62 time=0.825 ms 64 bytes from 1.11.27.67: seq=2 ttl=62 time=0.845 ms --- 1.11.27.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.825/3.258/8.104 ms 2026-02-03 21:21:49,696 - INFO - Ping to IP 1.11.27.67 from VM ctest-TestRoutersBasic-22203642-88908823 passed 2026-02-03 21:21:49,697 - INFO - Deleting interface with subnet_id 0a2f9116-02f2-41cc-84bc-8756833361c2, port_id None from router d321bd05-42d8-4511-8daf-4f6e8314d687 2026-02-03 21:21:49,862 - INFO - Deleting VM ctest-TestRoutersBasic-22203642-43217297 2026-02-03 21:21:49,924 - INFO - Deleting VM ctest-TestRoutersBasic-22203642-88908823 2026-02-03 21:21:49,997 - INFO - Deleting VN ctest-ext_vn-71258369 2026-02-03 21:21:50,053 - DEBUG - VN e55767e8-d692-48f3-83af-b1aa63a21090 still in use: Unable to complete operation on network e55767e8-d692-48f3-83af-b1aa63a21090. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2fe291f5-2543-4305-9777-0f800049d5d7'] 2026-02-03 21:21:50,053 - WARNING - Deleting VN ctest-ext_vn-71258369 failed..Will retry 2026-02-03 21:21:52,147 - DEBUG - Response for deleting network () 2026-02-03 21:21:52,147 - INFO - Deleting VN ctest-vn-28901538 2026-02-03 21:21:52,247 - DEBUG - Response for deleting network () 2026-02-03 21:21:52,505 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 21:21:52,505 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-02-03 21:21:52,505 - INFO - -------------------------------------------------------------------------------- 2026-02-03 21:21:53,163 - INFO - Deleted project: ctest-TestRoutersBasic-22203642, ID : dcd76739-fe18-4a9c-b234-9c86b3220838