2026-05-25 14:13:16,570 - INFO - Domain Default found not creating 2026-05-25 14:13:16,735 - INFO - Project ctest-TestRoutersBasic-31867968 not found, creating it 2026-05-25 14:13:17,222 - INFO - Created Project:ctest-TestRoutersBasic-31867968, ID : ab3f7bb9-91be-4a59-874e-9359026e6eda 2026-05-25 14:13:18,762 - INFO - ================================================================================ 2026-05-25 14:13:18,762 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-25 14:13:18,762 - 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-05-25 14:13:19,019 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-05-25 14:13:19,019 - INFO - Initial checks done. Running the testcase now 2026-05-25 14:13:19,019 - INFO - 2026-05-25 14:13:19,723 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-31867968 2026-05-25 14:13:19,821 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-31867968 2026-05-25 14:13:20,153 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31867968', 'default']} 2026-05-25 14:13:20,460 - DEBUG - Response for create_network : {'network': {'id': '33dfffe7-ee1a-4000-9a91-048e8fee9d79', 'name': 'ctest-vn-30687789', 'tenant_id': 'ab3f7bb991be4a59874e9359026e6eda', 'project_id': 'ab3f7bb991be4a59874e9359026e6eda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31867968', 'ctest-vn-30687789'], 'port_security_enabled': True, 'description': ''}} 2026-05-25 14:13:20,682 - DEBUG - Response for create_subnet : {'subnet': {'id': '60389376-97ad-4066-b45f-99b05045db37', 'name': '', 'tenant_id': 'ab3f7bb991be4a59874e9359026e6eda', 'network_id': '33dfffe7-ee1a-4000-9a91-048e8fee9d79', 'ip_version': 4, 'cidr': '161.94.129.64/26', 'allocation_pools': [{'start': '161.94.129.66', 'end': '161.94.129.126'}], 'gateway_ip': '161.94.129.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.94.129.66', 'tags': [], 'project_id': 'ab3f7bb991be4a59874e9359026e6eda'}} 2026-05-25 14:13:20,700 - INFO - Created VN ctest-vn-30687789 2026-05-25 14:13:20,753 - DEBUG - VN ctest-vn-30687789 UUID is 33dfffe7-ee1a-4000-9a91-048e8fee9d79 2026-05-25 14:13:21,092 - DEBUG - Response for create_network : {'network': {'id': '63b95e96-b5ac-4fc4-9f07-455f2d93af87', 'name': 'ctest-ext_vn-61409947', 'tenant_id': 'ab3f7bb991be4a59874e9359026e6eda', 'project_id': 'ab3f7bb991be4a59874e9359026e6eda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31867968', 'ctest-ext_vn-61409947'], 'port_security_enabled': True, 'description': ''}} 2026-05-25 14:13:21,266 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e69b900c-ff06-4933-992c-3482f0643e8b', 'name': '', 'tenant_id': 'ab3f7bb991be4a59874e9359026e6eda', 'network_id': '63b95e96-b5ac-4fc4-9f07-455f2d93af87', 'ip_version': 4, 'cidr': '25.219.37.128/26', 'allocation_pools': [{'start': '25.219.37.130', 'end': '25.219.37.190'}], 'gateway_ip': '25.219.37.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.219.37.130', 'tags': [], 'project_id': 'ab3f7bb991be4a59874e9359026e6eda'}} 2026-05-25 14:13:21,283 - INFO - Created VN ctest-ext_vn-61409947 2026-05-25 14:13:21,333 - DEBUG - VN ctest-ext_vn-61409947 UUID is 63b95e96-b5ac-4fc4-9f07-455f2d93af87 2026-05-25 14:13:21,493 - DEBUG - Services list from nova: [, , ] 2026-05-25 14:13:22,537 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5825-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5825-1) 2026-05-25 14:13:23,742 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5825-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5825-1) 2026-05-25 14:13:23,822 - INFO - Setting gateway for router 7844ccb0-7011-4d00-8c51-0ea3611fa0a5 to network 63b95e96-b5ac-4fc4-9f07-455f2d93af87 2026-05-25 14:13:23,886 - INFO - Adding interface with subnet_id 60389376-97ad-4066-b45f-99b05045db37, port_id None to router 7844ccb0-7011-4d00-8c51-0ea3611fa0a5 2026-05-25 14:13:24,241 - INFO - Waiting for VM ctest-TestRoutersBasic-31867968-70900338 to be up.. 2026-05-25 14:13:24,448 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-25 14:13:29,524 - DEBUG - VM is in ACTIVE state now 2026-05-25 14:13:29,524 - INFO - VM name : ctest-TestRoutersBasic-31867968-70900338 2026-05-25 14:13:29,601 - DEBUG - VM ctest-TestRoutersBasic-31867968-70900338 ID is d94ebc36-fd24-4f5f-8180-e8b6db3bae07 2026-05-25 14:13:29,621 - DEBUG - VM ctest-TestRoutersBasic-31867968-70900338 launched on Node cn-jenkins-deploy-platform-ansible-os-5825-1 2026-05-25 14:13:29,710 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d94ebc36-fd24-4f5f-8180-e8b6db3bae07 2026-05-25 14:13:30,007 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d94ebc36-fd24-4f5f-8180-e8b6db3bae07 2026-05-25 14:13:30,042 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cc112d41-a5c4-45a3-a241-d4d4024f144c 2026-05-25 14:13:33,294 - 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 1013ms') 2026-05-25 14:13:33,294 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31867968-70900338 failed! 2026-05-25 14:13:33,349 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-31867968:ctest-vn-30687789 is 161.94.129.65 and allocation pool is NOT set 2026-05-25 14:13:35,413 - 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=7.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.615 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.615/4.170/7.725/3.555 ms') 2026-05-25 14:13:35,413 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31867968-70900338 passed 2026-05-25 14:13:35,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 14:13:35,561 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31867968-70900338, IP 161.94.129.67, Port 22 2026-05-25 14:13:35,721 - DEBUG - VM ctest-TestRoutersBasic-31867968-70900338 is ready for SSH connections 2026-05-25 14:13:35,721 - INFO - Waiting for VM ctest-TestRoutersBasic-31867968-40601393 to be up.. 2026-05-25 14:13:35,796 - DEBUG - VM is in ACTIVE state now 2026-05-25 14:13:35,796 - INFO - VM name : ctest-TestRoutersBasic-31867968-40601393 2026-05-25 14:13:35,881 - DEBUG - VM ctest-TestRoutersBasic-31867968-40601393 ID is 25dc8733-a885-4f23-980f-0919e4991d05 2026-05-25 14:13:35,881 - DEBUG - VM ctest-TestRoutersBasic-31867968-40601393 launched on Node cn-jenkins-deploy-platform-ansible-os-5825-1 2026-05-25 14:13:35,958 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/25dc8733-a885-4f23-980f-0919e4991d05 2026-05-25 14:13:35,967 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c18a8bc2-0323-4adc-9f56-1694b293946e 2026-05-25 14:13:37,211 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.587 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.587/1.851/3.115/1.264 ms') 2026-05-25 14:13:37,211 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-31867968-40601393 passed 2026-05-25 14:13:37,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 14:13:37,361 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31867968-40601393, IP 25.219.37.131, Port 22 2026-05-25 14:13:37,516 - DEBUG - VM ctest-TestRoutersBasic-31867968-40601393 is ready for SSH connections 2026-05-25 14:13:37,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 14:13:37,517 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.219.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-25 14:13:37,517 - DEBUG - ping -s 56 -c 3 -W 1 25.219.37.131 2026-05-25 14:13:41,250 - DEBUG - PING 25.219.37.131 (25.219.37.131): 56 data bytes 64 bytes from 25.219.37.131: seq=0 ttl=62 time=7.234 ms 64 bytes from 25.219.37.131: seq=1 ttl=62 time=1.042 ms 64 bytes from 25.219.37.131: seq=2 ttl=62 time=2.425 ms --- 25.219.37.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.042/3.567/7.234 ms 2026-05-25 14:13:41,250 - INFO - Ping to IP 25.219.37.131 from VM ctest-TestRoutersBasic-31867968-70900338 passed 2026-05-25 14:13:41,250 - INFO - Deleting interface with subnet_id 60389376-97ad-4066-b45f-99b05045db37, port_id None from router 7844ccb0-7011-4d00-8c51-0ea3611fa0a5 2026-05-25 14:13:41,487 - INFO - Deleting VM ctest-TestRoutersBasic-31867968-40601393 2026-05-25 14:13:41,565 - INFO - Deleting VM ctest-TestRoutersBasic-31867968-70900338 2026-05-25 14:13:41,647 - INFO - Deleting VN ctest-ext_vn-61409947 2026-05-25 14:13:41,728 - DEBUG - VN 63b95e96-b5ac-4fc4-9f07-455f2d93af87 still in use: Unable to complete operation on network 63b95e96-b5ac-4fc4-9f07-455f2d93af87. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-faf7a7d6-488c-46b8-9c73-ea7b489d75e3'] 2026-05-25 14:13:41,728 - WARNING - Deleting VN ctest-ext_vn-61409947 failed..Will retry 2026-05-25 14:13:43,838 - DEBUG - Response for deleting network () 2026-05-25 14:13:43,838 - INFO - Deleting VN ctest-vn-30687789 2026-05-25 14:13:43,939 - DEBUG - Response for deleting network () 2026-05-25 14:13:44,202 - DEBUG - No XMPP flaps were noticed during the test 2026-05-25 14:13:44,203 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-05-25 14:13:44,203 - INFO - -------------------------------------------------------------------------------- 2026-05-25 14:13:44,889 - INFO - Deleted project: ctest-TestRoutersBasic-31867968, ID : ab3f7bb9-91be-4a59-874e-9359026e6eda