2026-02-03 02:39:14,995 - INFO - Domain Default found not creating 2026-02-03 02:39:15,156 - INFO - Project ctest-TestRoutersBasic-68284599 not found, creating it 2026-02-03 02:39:15,625 - INFO - Created Project:ctest-TestRoutersBasic-68284599, ID : 3be03f2c-9706-48bb-86e6-36ef7052e2cc 2026-02-03 02:39:17,742 - INFO - ================================================================================ 2026-02-03 02:39:17,742 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-03 02:39:17,742 - 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 02:39:18,002 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2026-02-03 02:39:18,002 - INFO - Initial checks done. Running the testcase now 2026-02-03 02:39:18,002 - INFO - 2026-02-03 02:39:18,703 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68284599 2026-02-03 02:39:18,800 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68284599 2026-02-03 02:39:19,120 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68284599', 'default']} 2026-02-03 02:39:19,399 - DEBUG - Response for create_network : {'network': {'id': 'c562d0e1-2d5d-419d-9821-d3cd250e49ce', 'name': 'ctest-vn-90063889', 'tenant_id': '3be03f2c970648bb86e636ef7052e2cc', 'project_id': '3be03f2c970648bb86e636ef7052e2cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68284599', 'ctest-vn-90063889'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 02:39:19,619 - DEBUG - Response for create_subnet : {'subnet': {'id': '33428b28-6ac2-4f2c-82ff-6b669a21b06f', 'name': '', 'tenant_id': '3be03f2c970648bb86e636ef7052e2cc', 'network_id': 'c562d0e1-2d5d-419d-9821-d3cd250e49ce', 'ip_version': 4, 'cidr': '114.48.94.192/26', 'allocation_pools': [{'start': '114.48.94.194', 'end': '114.48.94.254'}], 'gateway_ip': '114.48.94.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.48.94.194', 'tags': [], 'project_id': '3be03f2c970648bb86e636ef7052e2cc'}} 2026-02-03 02:39:19,641 - INFO - Created VN ctest-vn-90063889 2026-02-03 02:39:19,692 - DEBUG - VN ctest-vn-90063889 UUID is c562d0e1-2d5d-419d-9821-d3cd250e49ce 2026-02-03 02:39:19,986 - DEBUG - Response for create_network : {'network': {'id': '45a49292-0f42-462a-a1a0-99f3a78532b2', 'name': 'ctest-ext_vn-82417379', 'tenant_id': '3be03f2c970648bb86e636ef7052e2cc', 'project_id': '3be03f2c970648bb86e636ef7052e2cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68284599', 'ctest-ext_vn-82417379'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 02:39:20,166 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b01f4af-7b42-4f8b-aa6e-ef4604d1d4fe', 'name': '', 'tenant_id': '3be03f2c970648bb86e636ef7052e2cc', 'network_id': '45a49292-0f42-462a-a1a0-99f3a78532b2', 'ip_version': 4, 'cidr': '168.130.17.0/26', 'allocation_pools': [{'start': '168.130.17.2', 'end': '168.130.17.62'}], 'gateway_ip': '168.130.17.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.130.17.2', 'tags': [], 'project_id': '3be03f2c970648bb86e636ef7052e2cc'}} 2026-02-03 02:39:20,181 - INFO - Created VN ctest-ext_vn-82417379 2026-02-03 02:39:20,236 - DEBUG - VN ctest-ext_vn-82417379 UUID is 45a49292-0f42-462a-a1a0-99f3a78532b2 2026-02-03 02:39:20,427 - DEBUG - Services list from nova: [, , ] 2026-02-03 02:39:21,422 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5183-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5183-1) 2026-02-03 02:39:22,542 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5183-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5183-1) 2026-02-03 02:39:22,598 - INFO - Setting gateway for router b3e5ad6e-05e8-48e9-81ff-6b9fedef5fb5 to network 45a49292-0f42-462a-a1a0-99f3a78532b2 2026-02-03 02:39:22,667 - INFO - Adding interface with subnet_id 33428b28-6ac2-4f2c-82ff-6b669a21b06f, port_id None to router b3e5ad6e-05e8-48e9-81ff-6b9fedef5fb5 2026-02-03 02:39:23,029 - INFO - Waiting for VM ctest-TestRoutersBasic-68284599-00392778 to be up.. 2026-02-03 02:39:23,238 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 02:39:28,308 - DEBUG - VM is in ACTIVE state now 2026-02-03 02:39:28,308 - INFO - VM name : ctest-TestRoutersBasic-68284599-00392778 2026-02-03 02:39:28,380 - DEBUG - VM ctest-TestRoutersBasic-68284599-00392778 ID is 13e5c6f3-83f8-434e-bd39-0a8fa743c146 2026-02-03 02:39:28,398 - DEBUG - VM ctest-TestRoutersBasic-68284599-00392778 launched on Node cn-jenkins-deploy-platform-ansible-os-5183-1 2026-02-03 02:39:28,469 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/13e5c6f3-83f8-434e-bd39-0a8fa743c146 2026-02-03 02:39:28,771 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/13e5c6f3-83f8-434e-bd39-0a8fa743c146 2026-02-03 02:39:28,805 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/9b896df0-d718-48dc-8236-821ceefd41ca 2026-02-03 02:39:32,048 - 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 1011ms') 2026-02-03 02:39:32,048 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68284599-00392778 failed! 2026-02-03 02:39:32,100 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68284599:ctest-vn-90063889 is 114.48.94.193 and allocation pool is NOT set 2026-02-03 02:39:34,159 - 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.77 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.572/2.767/1.194 ms') 2026-02-03 02:39:34,159 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68284599-00392778 passed 2026-02-03 02:39:34,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 02:39:34,308 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68284599-00392778, IP 114.48.94.195, Port 22 2026-02-03 02:39:34,463 - DEBUG - VM ctest-TestRoutersBasic-68284599-00392778 is ready for SSH connections 2026-02-03 02:39:34,463 - INFO - Waiting for VM ctest-TestRoutersBasic-68284599-70259539 to be up.. 2026-02-03 02:39:34,535 - DEBUG - VM is in ACTIVE state now 2026-02-03 02:39:34,535 - INFO - VM name : ctest-TestRoutersBasic-68284599-70259539 2026-02-03 02:39:34,610 - DEBUG - VM ctest-TestRoutersBasic-68284599-70259539 ID is 72b738b2-ee23-493a-b374-ac26d7015e81 2026-02-03 02:39:34,610 - DEBUG - VM ctest-TestRoutersBasic-68284599-70259539 launched on Node cn-jenkins-deploy-platform-ansible-os-5183-1 2026-02-03 02:39:34,678 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/72b738b2-ee23-493a-b374-ac26d7015e81 2026-02-03 02:39:34,686 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e9bfc051-232f-45cd-8702-e9e9fa2f02d0 2026-02-03 02:39:35,915 - 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=3.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.499 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.499/2.185/3.871/1.686 ms') 2026-02-03 02:39:35,915 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-68284599-70259539 passed 2026-02-03 02:39:36,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 02:39:36,064 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68284599-70259539, IP 168.130.17.3, Port 22 2026-02-03 02:39:36,219 - DEBUG - VM ctest-TestRoutersBasic-68284599-70259539 is ready for SSH connections 2026-02-03 02:39:36,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 02:39:36,219 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.130.17.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-02-03 02:39:36,219 - DEBUG - ping -s 56 -c 3 -W 1 168.130.17.3 2026-02-03 02:39:39,977 - DEBUG - PING 168.130.17.3 (168.130.17.3): 56 data bytes 64 bytes from 168.130.17.3: seq=0 ttl=62 time=8.457 ms 64 bytes from 168.130.17.3: seq=1 ttl=62 time=0.959 ms 64 bytes from 168.130.17.3: seq=2 ttl=62 time=1.095 ms --- 168.130.17.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.959/3.503/8.457 ms 2026-02-03 02:39:39,977 - INFO - Ping to IP 168.130.17.3 from VM ctest-TestRoutersBasic-68284599-00392778 passed 2026-02-03 02:39:39,977 - INFO - Deleting interface with subnet_id 33428b28-6ac2-4f2c-82ff-6b669a21b06f, port_id None from router b3e5ad6e-05e8-48e9-81ff-6b9fedef5fb5 2026-02-03 02:39:40,168 - INFO - Deleting VM ctest-TestRoutersBasic-68284599-70259539 2026-02-03 02:39:40,245 - INFO - Deleting VM ctest-TestRoutersBasic-68284599-00392778 2026-02-03 02:39:40,337 - INFO - Deleting VN ctest-ext_vn-82417379 2026-02-03 02:39:40,406 - DEBUG - VN 45a49292-0f42-462a-a1a0-99f3a78532b2 still in use: Unable to complete operation on network 45a49292-0f42-462a-a1a0-99f3a78532b2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-43308175-9c16-479b-aa6d-c8229f45aa43'] 2026-02-03 02:39:40,406 - WARNING - Deleting VN ctest-ext_vn-82417379 failed..Will retry 2026-02-03 02:39:42,523 - DEBUG - Response for deleting network () 2026-02-03 02:39:42,523 - INFO - Deleting VN ctest-vn-90063889 2026-02-03 02:39:42,627 - DEBUG - Response for deleting network () 2026-02-03 02:39:42,888 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 02:39:42,888 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-02-03 02:39:42,889 - INFO - -------------------------------------------------------------------------------- 2026-02-03 02:39:43,614 - INFO - Deleted project: ctest-TestRoutersBasic-68284599, ID : 3be03f2c-9706-48bb-86e6-36ef7052e2cc