2026-03-12 02:09:56,980 - INFO - Domain Default found not creating 2026-03-12 02:09:57,145 - INFO - Project ctest-TestRoutersBasic-52747053 not found, creating it 2026-03-12 02:09:57,604 - INFO - Created Project:ctest-TestRoutersBasic-52747053, ID : 8ecc8be4-d40c-4498-b678-ea7e35d11ea4 2026-03-12 02:09:59,149 - INFO - ================================================================================ 2026-03-12 02:09:59,149 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-12 02:09:59,149 - 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-12 02:09:59,408 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2026-03-12 02:09:59,409 - INFO - Initial checks done. Running the testcase now 2026-03-12 02:09:59,409 - INFO - 2026-03-12 02:10:00,151 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-52747053 2026-03-12 02:10:00,251 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-52747053 2026-03-12 02:10:00,579 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52747053', 'default']} 2026-03-12 02:10:00,893 - DEBUG - Response for create_network : {'network': {'id': '266ff286-de40-49d2-a445-32cb53aa2723', 'name': 'ctest-vn-75378836', 'tenant_id': '8ecc8be4d40c4498b678ea7e35d11ea4', 'project_id': '8ecc8be4d40c4498b678ea7e35d11ea4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52747053', 'ctest-vn-75378836'], 'port_security_enabled': True, 'description': ''}} 2026-03-12 02:10:01,127 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c620d43-eeb5-49d5-8b3e-dd10e5c13532', 'name': '', 'tenant_id': '8ecc8be4d40c4498b678ea7e35d11ea4', 'network_id': '266ff286-de40-49d2-a445-32cb53aa2723', 'ip_version': 4, 'cidr': '62.149.7.64/26', 'allocation_pools': [{'start': '62.149.7.66', 'end': '62.149.7.126'}], 'gateway_ip': '62.149.7.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.149.7.66', 'tags': [], 'project_id': '8ecc8be4d40c4498b678ea7e35d11ea4'}} 2026-03-12 02:10:01,147 - INFO - Created VN ctest-vn-75378836 2026-03-12 02:10:01,199 - DEBUG - VN ctest-vn-75378836 UUID is 266ff286-de40-49d2-a445-32cb53aa2723 2026-03-12 02:10:01,515 - DEBUG - Response for create_network : {'network': {'id': '84e069ad-5250-4a54-91b5-aa4ec869116c', 'name': 'ctest-ext_vn-25101365', 'tenant_id': '8ecc8be4d40c4498b678ea7e35d11ea4', 'project_id': '8ecc8be4d40c4498b678ea7e35d11ea4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52747053', 'ctest-ext_vn-25101365'], 'port_security_enabled': True, 'description': ''}} 2026-03-12 02:10:01,689 - DEBUG - Response for create_subnet : {'subnet': {'id': '71e6ec8a-924f-45d2-9aa1-be6ef0f87502', 'name': '', 'tenant_id': '8ecc8be4d40c4498b678ea7e35d11ea4', 'network_id': '84e069ad-5250-4a54-91b5-aa4ec869116c', 'ip_version': 4, 'cidr': '128.195.199.64/26', 'allocation_pools': [{'start': '128.195.199.66', 'end': '128.195.199.126'}], 'gateway_ip': '128.195.199.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.195.199.66', 'tags': [], 'project_id': '8ecc8be4d40c4498b678ea7e35d11ea4'}} 2026-03-12 02:10:01,711 - INFO - Created VN ctest-ext_vn-25101365 2026-03-12 02:10:01,767 - DEBUG - VN ctest-ext_vn-25101365 UUID is 84e069ad-5250-4a54-91b5-aa4ec869116c 2026-03-12 02:10:01,951 - DEBUG - Services list from nova: [, , ] 2026-03-12 02:10:03,058 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5459-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5459-1) 2026-03-12 02:10:04,280 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5459-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5459-1) 2026-03-12 02:10:04,439 - INFO - Setting gateway for router 8778af67-65c6-42d3-bedc-fe05f4bdcae2 to network 84e069ad-5250-4a54-91b5-aa4ec869116c 2026-03-12 02:10:04,580 - INFO - Adding interface with subnet_id 3c620d43-eeb5-49d5-8b3e-dd10e5c13532, port_id None to router 8778af67-65c6-42d3-bedc-fe05f4bdcae2 2026-03-12 02:10:05,099 - INFO - Waiting for VM ctest-TestRoutersBasic-52747053-27375434 to be up.. 2026-03-12 02:10:05,249 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-12 02:10:10,332 - DEBUG - VM is in ACTIVE state now 2026-03-12 02:10:10,332 - INFO - VM name : ctest-TestRoutersBasic-52747053-27375434 2026-03-12 02:10:10,416 - DEBUG - VM ctest-TestRoutersBasic-52747053-27375434 ID is 330ed156-79cc-4dba-942c-3043aa3139ce 2026-03-12 02:10:10,440 - DEBUG - VM ctest-TestRoutersBasic-52747053-27375434 launched on Node cn-jenkins-deploy-platform-ansible-os-5459-1 2026-03-12 02:10:10,528 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/330ed156-79cc-4dba-942c-3043aa3139ce 2026-03-12 02:10:10,834 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/330ed156-79cc-4dba-942c-3043aa3139ce 2026-03-12 02:10:10,873 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/a44c9798-7ac7-4d02-a198-7349cb03d176 2026-03-12 02:10:14,126 - 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 1014ms') 2026-03-12 02:10:14,126 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52747053-27375434 failed! 2026-03-12 02:10:14,183 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-52747053:ctest-vn-75378836 is 62.149.7.65 and allocation pool is NOT set 2026-03-12 02:10:16,245 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.770 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.770/1.945/3.120/1.175 ms') 2026-03-12 02:10:16,246 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52747053-27375434 passed 2026-03-12 02:10:16,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 02:10:16,399 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52747053-27375434, IP 62.149.7.67, Port 22 2026-03-12 02:10:16,554 - DEBUG - VM ctest-TestRoutersBasic-52747053-27375434 is ready for SSH connections 2026-03-12 02:10:16,554 - INFO - Waiting for VM ctest-TestRoutersBasic-52747053-11616662 to be up.. 2026-03-12 02:10:16,639 - DEBUG - VM is in ACTIVE state now 2026-03-12 02:10:16,639 - INFO - VM name : ctest-TestRoutersBasic-52747053-11616662 2026-03-12 02:10:16,715 - DEBUG - VM ctest-TestRoutersBasic-52747053-11616662 ID is 0b1f528b-9109-4699-b5e4-30bd8dedb98a 2026-03-12 02:10:16,715 - DEBUG - VM ctest-TestRoutersBasic-52747053-11616662 launched on Node cn-jenkins-deploy-platform-ansible-os-5459-1 2026-03-12 02:10:16,795 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/0b1f528b-9109-4699-b5e4-30bd8dedb98a 2026-03-12 02:10:16,804 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/c3314a68-03cc-4cc8-8cdd-7e3e6cccb69f 2026-03-12 02:10:18,053 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.89 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 = 2.885/3.343/3.802/0.458 ms') 2026-03-12 02:10:18,053 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-52747053-11616662 passed 2026-03-12 02:10:18,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 02:10:18,203 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52747053-11616662, IP 128.195.199.67, Port 22 2026-03-12 02:10:18,358 - DEBUG - VM ctest-TestRoutersBasic-52747053-11616662 is ready for SSH connections 2026-03-12 02:10:18,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 02:10:18,359 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.195.199.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-03-12 02:10:18,359 - DEBUG - ping -s 56 -c 3 -W 1 128.195.199.67 2026-03-12 02:10:22,088 - DEBUG - PING 128.195.199.67 (128.195.199.67): 56 data bytes 64 bytes from 128.195.199.67: seq=0 ttl=62 time=5.697 ms 64 bytes from 128.195.199.67: seq=1 ttl=62 time=0.874 ms 64 bytes from 128.195.199.67: seq=2 ttl=62 time=1.070 ms --- 128.195.199.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.874/2.547/5.697 ms 2026-03-12 02:10:22,088 - INFO - Ping to IP 128.195.199.67 from VM ctest-TestRoutersBasic-52747053-27375434 passed 2026-03-12 02:10:22,089 - INFO - Deleting interface with subnet_id 3c620d43-eeb5-49d5-8b3e-dd10e5c13532, port_id None from router 8778af67-65c6-42d3-bedc-fe05f4bdcae2 2026-03-12 02:10:22,295 - INFO - Deleting VM ctest-TestRoutersBasic-52747053-11616662 2026-03-12 02:10:22,384 - INFO - Deleting VM ctest-TestRoutersBasic-52747053-27375434 2026-03-12 02:10:22,461 - INFO - Deleting VN ctest-ext_vn-25101365 2026-03-12 02:10:22,541 - DEBUG - VN 84e069ad-5250-4a54-91b5-aa4ec869116c still in use: Unable to complete operation on network 84e069ad-5250-4a54-91b5-aa4ec869116c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cec6621c-071b-4c37-b762-a76dde239261'] 2026-03-12 02:10:22,541 - WARNING - Deleting VN ctest-ext_vn-25101365 failed..Will retry 2026-03-12 02:10:24,641 - DEBUG - Response for deleting network () 2026-03-12 02:10:24,641 - INFO - Deleting VN ctest-vn-75378836 2026-03-12 02:10:24,740 - DEBUG - Response for deleting network () 2026-03-12 02:10:25,022 - DEBUG - No XMPP flaps were noticed during the test
2026-03-12 02:10:25,023 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-03-12 02:10:25,023 - INFO - -------------------------------------------------------------------------------- 2026-03-12 02:10:25,732 - INFO - Deleted project: ctest-TestRoutersBasic-52747053, ID : 8ecc8be4-d40c-4498-b678-ea7e35d11ea4