2026-01-08 01:59:28,967 - INFO - Domain Default found not creating 2026-01-08 01:59:29,128 - INFO - Project ctest-TestRoutersBasic-02497464 not found, creating it 2026-01-08 01:59:29,572 - INFO - Created Project:ctest-TestRoutersBasic-02497464, ID : e639994e-191b-4714-af24-66a3fde9352a 2026-01-08 01:59:30,969 - INFO - ================================================================================ 2026-01-08 01:59:30,969 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-08 01:59:30,969 - 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-01-08 01:59:31,224 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2026-01-08 01:59:31,224 - INFO - Initial checks done. Running the testcase now 2026-01-08 01:59:31,224 - INFO - 2026-01-08 01:59:31,918 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02497464 2026-01-08 01:59:32,011 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02497464 2026-01-08 01:59:32,327 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02497464', 'default']} 2026-01-08 01:59:32,621 - DEBUG - Response for create_network : {'network': {'id': '56322c30-cde0-4f51-949a-05d58384aea2', 'name': 'ctest-vn-62157963', 'tenant_id': 'e639994e191b4714af2466a3fde9352a', 'project_id': 'e639994e191b4714af2466a3fde9352a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02497464', 'ctest-vn-62157963'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 01:59:32,760 - DEBUG - Response for create_subnet : {'subnet': {'id': '3791aee6-103f-4ab1-8952-b179695beb78', 'name': '', 'tenant_id': 'e639994e191b4714af2466a3fde9352a', 'network_id': '56322c30-cde0-4f51-949a-05d58384aea2', 'ip_version': 4, 'cidr': '189.204.115.0/26', 'allocation_pools': [{'start': '189.204.115.2', 'end': '189.204.115.62'}], 'gateway_ip': '189.204.115.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.204.115.2', 'tags': [], 'project_id': 'e639994e191b4714af2466a3fde9352a'}} 2026-01-08 01:59:32,776 - INFO - Created VN ctest-vn-62157963 2026-01-08 01:59:32,827 - DEBUG - VN ctest-vn-62157963 UUID is 56322c30-cde0-4f51-949a-05d58384aea2 2026-01-08 01:59:33,146 - DEBUG - Response for create_network : {'network': {'id': '6f3a3b8d-4b0f-40c7-ab55-e738305384a3', 'name': 'ctest-ext_vn-74804998', 'tenant_id': 'e639994e191b4714af2466a3fde9352a', 'project_id': 'e639994e191b4714af2466a3fde9352a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02497464', 'ctest-ext_vn-74804998'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 01:59:33,323 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a10728d-46e1-4023-b836-7d820b18306d', 'name': '', 'tenant_id': 'e639994e191b4714af2466a3fde9352a', 'network_id': '6f3a3b8d-4b0f-40c7-ab55-e738305384a3', 'ip_version': 4, 'cidr': '149.235.34.64/26', 'allocation_pools': [{'start': '149.235.34.66', 'end': '149.235.34.126'}], 'gateway_ip': '149.235.34.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.235.34.66', 'tags': [], 'project_id': 'e639994e191b4714af2466a3fde9352a'}} 2026-01-08 01:59:33,337 - INFO - Created VN ctest-ext_vn-74804998 2026-01-08 01:59:33,387 - DEBUG - VN ctest-ext_vn-74804998 UUID is 6f3a3b8d-4b0f-40c7-ab55-e738305384a3 2026-01-08 01:59:33,579 - DEBUG - Services list from nova: [, , ] 2026-01-08 01:59:34,570 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4979-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4979-1) 2026-01-08 01:59:35,684 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4979-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4979-1) 2026-01-08 01:59:35,744 - INFO - Setting gateway for router 5f3a08db-11d2-46dc-a888-c55ce924c007 to network 6f3a3b8d-4b0f-40c7-ab55-e738305384a3 2026-01-08 01:59:35,809 - INFO - Adding interface with subnet_id 3791aee6-103f-4ab1-8952-b179695beb78, port_id None to router 5f3a08db-11d2-46dc-a888-c55ce924c007 2026-01-08 01:59:36,207 - INFO - Waiting for VM ctest-TestRoutersBasic-02497464-72943638 to be up.. 2026-01-08 01:59:36,356 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-08 01:59:41,432 - DEBUG - VM is in ACTIVE state now 2026-01-08 01:59:41,432 - INFO - VM name : ctest-TestRoutersBasic-02497464-72943638 2026-01-08 01:59:41,505 - DEBUG - VM ctest-TestRoutersBasic-02497464-72943638 ID is 6ad79508-c1d2-4da0-8f17-7ee4c610cdb3 2026-01-08 01:59:41,523 - DEBUG - VM ctest-TestRoutersBasic-02497464-72943638 launched on Node cn-jenkins-deploy-platform-ansible-os-4979-1 2026-01-08 01:59:41,617 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/6ad79508-c1d2-4da0-8f17-7ee4c610cdb3 2026-01-08 01:59:41,921 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/6ad79508-c1d2-4da0-8f17-7ee4c610cdb3 2026-01-08 01:59:41,951 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/129f0f58-169a-4821-9d0a-12b8a81e6a96 2026-01-08 01:59:45,218 - 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 1025ms') 2026-01-08 01:59:45,219 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02497464-72943638 failed! 2026-01-08 01:59:45,271 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02497464:ctest-vn-62157963 is 189.204.115.1 and allocation pool is NOT set 2026-01-08 01:59:47,336 - 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=4.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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.425/2.620/4.816/2.195 ms') 2026-01-08 01:59:47,336 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02497464-72943638 passed 2026-01-08 01:59:47,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 01:59:47,487 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02497464-72943638, IP 189.204.115.3, Port 22 2026-01-08 01:59:47,643 - DEBUG - VM ctest-TestRoutersBasic-02497464-72943638 is ready for SSH connections 2026-01-08 01:59:47,643 - INFO - Waiting for VM ctest-TestRoutersBasic-02497464-03170618 to be up.. 2026-01-08 01:59:47,711 - DEBUG - VM is in ACTIVE state now 2026-01-08 01:59:47,711 - INFO - VM name : ctest-TestRoutersBasic-02497464-03170618 2026-01-08 01:59:47,784 - DEBUG - VM ctest-TestRoutersBasic-02497464-03170618 ID is 170ccab9-2780-4ff3-ac2a-31b6525e574e 2026-01-08 01:59:47,784 - DEBUG - VM ctest-TestRoutersBasic-02497464-03170618 launched on Node cn-jenkins-deploy-platform-ansible-os-4979-1 2026-01-08 01:59:47,847 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/170ccab9-2780-4ff3-ac2a-31b6525e574e 2026-01-08 01:59:47,854 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/c3628cfb-8fed-4b1c-a783-b2bcc0799f1a 2026-01-08 01:59:49,089 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/1.809/3.193/1.384 ms') 2026-01-08 01:59:49,089 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-02497464-03170618 passed 2026-01-08 01:59:49,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 01:59:49,243 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02497464-03170618, IP 149.235.34.67, Port 22 2026-01-08 01:59:49,398 - DEBUG - VM ctest-TestRoutersBasic-02497464-03170618 is ready for SSH connections 2026-01-08 01:59:49,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 01:59:49,398 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.235.34.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-08 01:59:49,398 - DEBUG - ping -s 56 -c 3 -W 1 149.235.34.67 2026-01-08 01:59:53,388 - DEBUG - PING 149.235.34.67 (149.235.34.67): 56 data bytes 64 bytes from 149.235.34.67: seq=0 ttl=62 time=6.307 ms 64 bytes from 149.235.34.67: seq=1 ttl=62 time=0.936 ms 64 bytes from 149.235.34.67: seq=2 ttl=62 time=1.242 ms --- 149.235.34.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.936/2.828/6.307 ms 2026-01-08 01:59:53,388 - INFO - Ping to IP 149.235.34.67 from VM ctest-TestRoutersBasic-02497464-72943638 passed 2026-01-08 01:59:53,388 - INFO - Deleting interface with subnet_id 3791aee6-103f-4ab1-8952-b179695beb78, port_id None from router 5f3a08db-11d2-46dc-a888-c55ce924c007 2026-01-08 01:59:53,566 - INFO - Deleting VM ctest-TestRoutersBasic-02497464-03170618 2026-01-08 01:59:53,632 - INFO - Deleting VM ctest-TestRoutersBasic-02497464-72943638 2026-01-08 01:59:53,714 - INFO - Deleting VN ctest-ext_vn-74804998 2026-01-08 01:59:53,776 - DEBUG - VN 6f3a3b8d-4b0f-40c7-ab55-e738305384a3 still in use: Unable to complete operation on network 6f3a3b8d-4b0f-40c7-ab55-e738305384a3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-14c0ad9b-03e9-496b-9adf-9aebc55ce899'] 2026-01-08 01:59:53,776 - WARNING - Deleting VN ctest-ext_vn-74804998 failed..Will retry 2026-01-08 01:59:55,869 - DEBUG - Response for deleting network () 2026-01-08 01:59:55,869 - INFO - Deleting VN ctest-vn-62157963 2026-01-08 01:59:55,980 - DEBUG - Response for deleting network () 2026-01-08 01:59:56,235 - DEBUG - No XMPP flaps were noticed during the test
2026-01-08 01:59:56,235 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-01-08 01:59:56,235 - INFO - -------------------------------------------------------------------------------- 2026-01-08 01:59:56,904 - INFO - Deleted project: ctest-TestRoutersBasic-02497464, ID : e639994e-191b-4714-af24-66a3fde9352a