2026-03-30 13:05:15,448 - INFO - Domain Default found not creating 2026-03-30 13:05:15,620 - INFO - Project ctest-TestRoutersBasic-64030385 not found, creating it 2026-03-30 13:05:16,108 - INFO - Created Project:ctest-TestRoutersBasic-64030385, ID : 6ab88abe-0ae5-4714-8784-0117ff6f7a23 2026-03-30 13:05:17,619 - INFO - ================================================================================ 2026-03-30 13:05:17,619 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-30 13:05:17,619 - 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-03-30 13:05:17,879 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-03-30 13:05:17,879 - INFO - Initial checks done. Running the testcase now 2026-03-30 13:05:17,879 - INFO - 2026-03-30 13:05:18,604 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-64030385 2026-03-30 13:05:18,697 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-64030385 2026-03-30 13:05:19,017 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64030385', 'default']} 2026-03-30 13:05:19,311 - DEBUG - Response for create_network : {'network': {'id': '6d68a002-8c26-4476-a519-64db568c8e0a', 'name': 'ctest-vn-44167734', 'tenant_id': '6ab88abe0ae5471487840117ff6f7a23', 'project_id': '6ab88abe0ae5471487840117ff6f7a23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64030385', 'ctest-vn-44167734'], 'port_security_enabled': True, 'description': ''}} 2026-03-30 13:05:19,500 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c38710c1-1ce1-428b-9c6f-9691932dcb64', 'name': '', 'tenant_id': '6ab88abe0ae5471487840117ff6f7a23', 'network_id': '6d68a002-8c26-4476-a519-64db568c8e0a', 'ip_version': 4, 'cidr': '114.47.154.64/26', 'allocation_pools': [{'start': '114.47.154.66', 'end': '114.47.154.126'}], 'gateway_ip': '114.47.154.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.47.154.66', 'tags': [], 'project_id': '6ab88abe0ae5471487840117ff6f7a23'}} 2026-03-30 13:05:19,519 - INFO - Created VN ctest-vn-44167734 2026-03-30 13:05:19,573 - DEBUG - VN ctest-vn-44167734 UUID is 6d68a002-8c26-4476-a519-64db568c8e0a 2026-03-30 13:05:19,948 - DEBUG - Response for create_network : {'network': {'id': '3c7fb691-b3b3-494e-a22c-6a514c8400b5', 'name': 'ctest-ext_vn-77151787', 'tenant_id': '6ab88abe0ae5471487840117ff6f7a23', 'project_id': '6ab88abe0ae5471487840117ff6f7a23', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64030385', 'ctest-ext_vn-77151787'], 'port_security_enabled': True, 'description': ''}} 2026-03-30 13:05:20,117 - DEBUG - Response for create_subnet : {'subnet': {'id': '88cdbf4d-4bac-4f66-9cf1-e60ac360ed06', 'name': '', 'tenant_id': '6ab88abe0ae5471487840117ff6f7a23', 'network_id': '3c7fb691-b3b3-494e-a22c-6a514c8400b5', 'ip_version': 4, 'cidr': '20.156.246.0/26', 'allocation_pools': [{'start': '20.156.246.2', 'end': '20.156.246.62'}], 'gateway_ip': '20.156.246.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.156.246.2', 'tags': [], 'project_id': '6ab88abe0ae5471487840117ff6f7a23'}} 2026-03-30 13:05:20,136 - INFO - Created VN ctest-ext_vn-77151787 2026-03-30 13:05:20,189 - DEBUG - VN ctest-ext_vn-77151787 UUID is 3c7fb691-b3b3-494e-a22c-6a514c8400b5 2026-03-30 13:05:20,358 - DEBUG - Services list from nova: [, , ] 2026-03-30 13:05:21,471 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5566-1) 2026-03-30 13:05:22,667 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5566-1) 2026-03-30 13:05:22,733 - INFO - Setting gateway for router 4c200671-7d3b-40d2-bfd0-1a8cf7078618 to network 3c7fb691-b3b3-494e-a22c-6a514c8400b5 2026-03-30 13:05:22,827 - INFO - Adding interface with subnet_id c38710c1-1ce1-428b-9c6f-9691932dcb64, port_id None to router 4c200671-7d3b-40d2-bfd0-1a8cf7078618 2026-03-30 13:05:23,156 - INFO - Waiting for VM ctest-TestRoutersBasic-64030385-46154673 to be up.. 2026-03-30 13:05:23,276 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-30 13:05:28,377 - DEBUG - VM is in ACTIVE state now 2026-03-30 13:05:28,377 - INFO - VM name : ctest-TestRoutersBasic-64030385-46154673 2026-03-30 13:05:28,467 - DEBUG - VM ctest-TestRoutersBasic-64030385-46154673 ID is def29fa6-4b5e-4c0e-be8e-d32f18abd8fa 2026-03-30 13:05:28,493 - DEBUG - VM ctest-TestRoutersBasic-64030385-46154673 launched on Node cn-jenkins-deploy-platform-ansible-os-5566-1 2026-03-30 13:05:28,591 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/def29fa6-4b5e-4c0e-be8e-d32f18abd8fa 2026-03-30 13:05:28,892 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/def29fa6-4b5e-4c0e-be8e-d32f18abd8fa 2026-03-30 13:05:28,937 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1f98eaec-6509-4ea1-857d-719deb373461 2026-03-30 13:05:32,194 - 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 1022ms') 2026-03-30 13:05:32,194 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64030385-46154673 failed! 2026-03-30 13:05:32,249 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-64030385:ctest-vn-44167734 is 114.47.154.65 and allocation pool is NOT set 2026-03-30 13:05:34,312 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.457 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.457/1.751/3.046/1.294 ms') 2026-03-30 13:05:34,312 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64030385-46154673 passed 2026-03-30 13:05:34,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 13:05:34,461 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64030385-46154673, IP 114.47.154.67, Port 22 2026-03-30 13:05:34,628 - DEBUG - VM ctest-TestRoutersBasic-64030385-46154673 is ready for SSH connections 2026-03-30 13:05:34,628 - INFO - Waiting for VM ctest-TestRoutersBasic-64030385-25633077 to be up.. 2026-03-30 13:05:34,705 - DEBUG - VM is in ACTIVE state now 2026-03-30 13:05:34,705 - INFO - VM name : ctest-TestRoutersBasic-64030385-25633077 2026-03-30 13:05:34,783 - DEBUG - VM ctest-TestRoutersBasic-64030385-25633077 ID is 7ef5a059-583c-4631-81d5-da9cffd59be1 2026-03-30 13:05:34,783 - DEBUG - VM ctest-TestRoutersBasic-64030385-25633077 launched on Node cn-jenkins-deploy-platform-ansible-os-5566-1 2026-03-30 13:05:34,870 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7ef5a059-583c-4631-81d5-da9cffd59be1 2026-03-30 13:05:34,881 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f0f9634f-0fec-4590-9874-4ec4daec4ce3 2026-03-30 13:05:36,130 - 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=4.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 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.456/2.492/4.529/2.036 ms') 2026-03-30 13:05:36,130 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-64030385-25633077 passed 2026-03-30 13:05:36,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 13:05:36,285 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64030385-25633077, IP 20.156.246.3, Port 22 2026-03-30 13:05:36,440 - DEBUG - VM ctest-TestRoutersBasic-64030385-25633077 is ready for SSH connections 2026-03-30 13:05:36,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 13:05:36,440 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.156.246.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-30 13:05:36,440 - DEBUG - ping -s 56 -c 3 -W 1 20.156.246.3 2026-03-30 13:05:40,182 - DEBUG - PING 20.156.246.3 (20.156.246.3): 56 data bytes 64 bytes from 20.156.246.3: seq=0 ttl=62 time=5.570 ms 64 bytes from 20.156.246.3: seq=1 ttl=62 time=1.036 ms 64 bytes from 20.156.246.3: seq=2 ttl=62 time=0.957 ms --- 20.156.246.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.957/2.521/5.570 ms 2026-03-30 13:05:40,182 - INFO - Ping to IP 20.156.246.3 from VM ctest-TestRoutersBasic-64030385-46154673 passed 2026-03-30 13:05:40,182 - INFO - Deleting interface with subnet_id c38710c1-1ce1-428b-9c6f-9691932dcb64, port_id None from router 4c200671-7d3b-40d2-bfd0-1a8cf7078618 2026-03-30 13:05:40,396 - INFO - Deleting VM ctest-TestRoutersBasic-64030385-25633077 2026-03-30 13:05:40,474 - INFO - Deleting VM ctest-TestRoutersBasic-64030385-46154673 2026-03-30 13:05:40,566 - INFO - Deleting VN ctest-ext_vn-77151787 2026-03-30 13:05:40,642 - DEBUG - VN 3c7fb691-b3b3-494e-a22c-6a514c8400b5 still in use: Unable to complete operation on network 3c7fb691-b3b3-494e-a22c-6a514c8400b5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ccb3c189-4017-4187-a6d2-4be5cd70e902'] 2026-03-30 13:05:40,642 - WARNING - Deleting VN ctest-ext_vn-77151787 failed..Will retry 2026-03-30 13:05:42,876 - DEBUG - Response for deleting network () 2026-03-30 13:05:42,876 - INFO - Deleting VN ctest-vn-44167734 2026-03-30 13:05:42,989 - DEBUG - Response for deleting network () 2026-03-30 13:05:43,268 - DEBUG - No XMPP flaps were noticed during the test
2026-03-30 13:05:43,268 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-03-30 13:05:43,268 - INFO - -------------------------------------------------------------------------------- 2026-03-30 13:05:43,936 - INFO - Deleted project: ctest-TestRoutersBasic-64030385, ID : 6ab88abe-0ae5-4714-8784-0117ff6f7a23