2026-08-24 22:37:18,472 - INFO - Domain Default found not creating 2026-08-24 22:37:18,628 - INFO - Project ctest-TestRoutersBasic-83302822 not found, creating it 2026-08-24 22:37:19,188 - INFO - Created Project:ctest-TestRoutersBasic-83302822, ID : 7060b62e-a643-4020-907f-9c2a11d755ca 2026-08-24 22:37:20,694 - INFO - ================================================================================ 2026-08-24 22:37:20,694 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-24 22:37:20,694 - 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-08-24 22:37:20,949 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with 2026-08-24 22:37:20,949 - INFO - Initial checks done. Running the testcase now 2026-08-24 22:37:20,949 - INFO - 2026-08-24 22:37:21,707 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-83302822 2026-08-24 22:37:21,801 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-83302822 2026-08-24 22:37:22,125 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83302822', 'default']} 2026-08-24 22:37:22,414 - DEBUG - Response for create_network : {'network': {'id': '455c31a6-6d72-4abd-8e02-aec7aad7d3f2', 'name': 'ctest-vn-25736524', 'tenant_id': '7060b62ea6434020907f9c2a11d755ca', 'project_id': '7060b62ea6434020907f9c2a11d755ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83302822', 'ctest-vn-25736524'], 'port_security_enabled': True, 'description': ''}} 2026-08-24 22:37:22,644 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed637bc7-b221-42b0-a378-1d3d0140e096', 'name': '', 'tenant_id': '7060b62ea6434020907f9c2a11d755ca', 'network_id': '455c31a6-6d72-4abd-8e02-aec7aad7d3f2', 'ip_version': 4, 'cidr': '83.128.61.64/26', 'allocation_pools': [{'start': '83.128.61.66', 'end': '83.128.61.126'}], 'gateway_ip': '83.128.61.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.128.61.66', 'tags': [], 'project_id': '7060b62ea6434020907f9c2a11d755ca'}} 2026-08-24 22:37:22,660 - INFO - Created VN ctest-vn-25736524 2026-08-24 22:37:22,713 - DEBUG - VN ctest-vn-25736524 UUID is 455c31a6-6d72-4abd-8e02-aec7aad7d3f2 2026-08-24 22:37:23,080 - DEBUG - Response for create_network : {'network': {'id': '46b95cfc-79a4-41e6-85f9-2d220c8d0d23', 'name': 'ctest-ext_vn-94792782', 'tenant_id': '7060b62ea6434020907f9c2a11d755ca', 'project_id': '7060b62ea6434020907f9c2a11d755ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83302822', 'ctest-ext_vn-94792782'], 'port_security_enabled': True, 'description': ''}} 2026-08-24 22:37:23,304 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4f3c4e7-7a31-42ad-aa3b-daaab1c6b5de', 'name': '', 'tenant_id': '7060b62ea6434020907f9c2a11d755ca', 'network_id': '46b95cfc-79a4-41e6-85f9-2d220c8d0d23', 'ip_version': 4, 'cidr': '16.251.248.0/26', 'allocation_pools': [{'start': '16.251.248.2', 'end': '16.251.248.62'}], 'gateway_ip': '16.251.248.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.251.248.2', 'tags': [], 'project_id': '7060b62ea6434020907f9c2a11d755ca'}} 2026-08-24 22:37:23,320 - INFO - Created VN ctest-ext_vn-94792782 2026-08-24 22:37:23,369 - DEBUG - VN ctest-ext_vn-94792782 UUID is 46b95cfc-79a4-41e6-85f9-2d220c8d0d23 2026-08-24 22:37:23,570 - DEBUG - Services list from nova: [, , ] 2026-08-24 22:37:23,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6216-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6216-1) 2026-08-24 22:37:24,234 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6216-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6216-1) 2026-08-24 22:37:24,299 - INFO - Setting gateway for router 4b8f7e90-9129-4988-9fdc-8382613be35e to network 46b95cfc-79a4-41e6-85f9-2d220c8d0d23 2026-08-24 22:37:24,359 - INFO - Adding interface with subnet_id ed637bc7-b221-42b0-a378-1d3d0140e096, port_id None to router 4b8f7e90-9129-4988-9fdc-8382613be35e 2026-08-24 22:37:24,594 - INFO - Waiting for VM ctest-TestRoutersBasic-83302822-22308676 to be up.. 2026-08-24 22:37:24,657 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 22:37:29,741 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 22:37:34,816 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 22:37:39,923 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 22:37:44,997 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 22:37:50,132 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 22:37:55,200 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 22:38:00,274 - DEBUG - VM is in ACTIVE state now 2026-08-24 22:38:00,274 - INFO - VM name : ctest-TestRoutersBasic-83302822-22308676 2026-08-24 22:38:00,348 - DEBUG - VM ctest-TestRoutersBasic-83302822-22308676 ID is 1def0627-3d73-481e-a3f7-994a261a5b2d 2026-08-24 22:38:00,374 - DEBUG - VM ctest-TestRoutersBasic-83302822-22308676 launched on Node cn-jenkins-deploy-platform-ansible-os-6216-1 2026-08-24 22:38:00,451 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/1def0627-3d73-481e-a3f7-994a261a5b2d 2026-08-24 22:38:00,773 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/1def0627-3d73-481e-a3f7-994a261a5b2d 2026-08-24 22:38:00,803 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/7ed44cd4-0389-4a3e-a823-bdb15c120152 2026-08-24 22:38:04,076 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms') 2026-08-24 22:38:04,076 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-83302822-22308676 failed! 2026-08-24 22:38:04,129 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-83302822:ctest-vn-25736524 is 83.128.61.65 and allocation pool is NOT set 2026-08-24 22:38:06,199 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=9.45 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.460 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.460/4.954/9.449/4.494 ms') 2026-08-24 22:38:06,199 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-83302822-22308676 passed 2026-08-24 22:38:06,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 22:38:06,350 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83302822-22308676, IP 83.128.61.67, Port 22 2026-08-24 22:38:06,521 - DEBUG - VM ctest-TestRoutersBasic-83302822-22308676 is ready for SSH connections 2026-08-24 22:38:06,521 - INFO - Waiting for VM ctest-TestRoutersBasic-83302822-76368180 to be up.. 2026-08-24 22:38:06,600 - DEBUG - VM is in ACTIVE state now 2026-08-24 22:38:06,600 - INFO - VM name : ctest-TestRoutersBasic-83302822-76368180 2026-08-24 22:38:06,669 - DEBUG - VM ctest-TestRoutersBasic-83302822-76368180 ID is 8e208b44-2637-44e3-944d-2a1ef75845a0 2026-08-24 22:38:06,669 - DEBUG - VM ctest-TestRoutersBasic-83302822-76368180 launched on Node cn-jenkins-deploy-platform-ansible-os-6216-1 2026-08-24 22:38:06,747 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/8e208b44-2637-44e3-944d-2a1ef75845a0 2026-08-24 22:38:06,756 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/35fa8d3f-2e52-4ba1-b603-b77d5e92c92a 2026-08-24 22:38:10,025 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=10.7 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 10.714/10.714/10.714/0.000 ms') 2026-08-24 22:38:10,025 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-83302822-76368180 passed 2026-08-24 22:38:10,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 22:38:10,177 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83302822-76368180, IP 16.251.248.4, Port 22 2026-08-24 22:38:10,333 - DEBUG - VM ctest-TestRoutersBasic-83302822-76368180 is ready for SSH connections 2026-08-24 22:38:10,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 22:38:10,333 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.251.248.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-24 22:38:10,333 - DEBUG - ping -s 56 -c 3 -W 1 16.251.248.4 2026-08-24 22:38:13,246 - DEBUG - PING 16.251.248.4 (16.251.248.4): 56 data bytes 64 bytes from 16.251.248.4: seq=0 ttl=62 time=8.303 ms 64 bytes from 16.251.248.4: seq=1 ttl=62 time=1.508 ms 64 bytes from 16.251.248.4: seq=2 ttl=62 time=1.180 ms --- 16.251.248.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.180/3.663/8.303 ms 2026-08-24 22:38:13,246 - INFO - Ping to IP 16.251.248.4 from VM ctest-TestRoutersBasic-83302822-22308676 passed 2026-08-24 22:38:13,246 - INFO - Deleting interface with subnet_id ed637bc7-b221-42b0-a378-1d3d0140e096, port_id None from router 4b8f7e90-9129-4988-9fdc-8382613be35e 2026-08-24 22:38:13,478 - INFO - Deleting VM ctest-TestRoutersBasic-83302822-76368180 2026-08-24 22:38:13,646 - INFO - Deleting VM ctest-TestRoutersBasic-83302822-22308676 2026-08-24 22:38:13,715 - INFO - Deleting VN ctest-ext_vn-94792782 2026-08-24 22:38:13,793 - DEBUG - VN 46b95cfc-79a4-41e6-85f9-2d220c8d0d23 still in use: Unable to complete operation on network 46b95cfc-79a4-41e6-85f9-2d220c8d0d23. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e3d6cb85-0e36-44f1-a752-025230af9145'] 2026-08-24 22:38:13,793 - WARNING - Deleting VN ctest-ext_vn-94792782 failed..Will retry 2026-08-24 22:38:15,952 - DEBUG - Response for deleting network () 2026-08-24 22:38:15,952 - INFO - Deleting VN ctest-vn-25736524 2026-08-24 22:38:16,053 - DEBUG - Response for deleting network () 2026-08-24 22:38:16,323 - DEBUG - No XMPP flaps were noticed during the test 2026-08-24 22:38:16,323 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:56] 2026-08-24 22:38:16,323 - INFO - -------------------------------------------------------------------------------- 2026-08-24 22:38:17,049 - INFO - Deleted project: ctest-TestRoutersBasic-83302822, ID : 7060b62e-a643-4020-907f-9c2a11d755ca