2026-01-12 02:03:07,672 - INFO - Domain Default found not creating 2026-01-12 02:03:07,812 - INFO - Project ctest-TestRoutersBasic-18599624 not found, creating it 2026-01-12 02:03:08,254 - INFO - Created Project:ctest-TestRoutersBasic-18599624, ID : 4a055906-697a-4e09-9093-c423b20374c2 2026-01-12 02:03:09,672 - INFO - ================================================================================ 2026-01-12 02:03:09,672 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-12 02:03:09,672 - 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-12 02:03:09,927 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2026-01-12 02:03:09,927 - INFO - Initial checks done. Running the testcase now 2026-01-12 02:03:09,927 - INFO - 2026-01-12 02:03:10,621 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-18599624 2026-01-12 02:03:10,715 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-18599624 2026-01-12 02:03:11,027 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18599624', 'default']} 2026-01-12 02:03:11,312 - DEBUG - Response for create_network : {'network': {'id': '4b617179-d11b-4a39-b5f3-1f26ed83c930', 'name': 'ctest-vn-32909840', 'tenant_id': '4a055906697a4e099093c423b20374c2', 'project_id': '4a055906697a4e099093c423b20374c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18599624', 'ctest-vn-32909840'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 02:03:11,535 - DEBUG - Response for create_subnet : {'subnet': {'id': '49a653e6-7986-4ab2-b5a3-c54a4e8ff6ab', 'name': '', 'tenant_id': '4a055906697a4e099093c423b20374c2', 'network_id': '4b617179-d11b-4a39-b5f3-1f26ed83c930', 'ip_version': 4, 'cidr': '140.40.146.64/26', 'allocation_pools': [{'start': '140.40.146.66', 'end': '140.40.146.126'}], 'gateway_ip': '140.40.146.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.40.146.66', 'tags': [], 'project_id': '4a055906697a4e099093c423b20374c2'}} 2026-01-12 02:03:11,551 - INFO - Created VN ctest-vn-32909840 2026-01-12 02:03:11,603 - DEBUG - VN ctest-vn-32909840 UUID is 4b617179-d11b-4a39-b5f3-1f26ed83c930 2026-01-12 02:03:11,953 - DEBUG - Response for create_network : {'network': {'id': '724a9033-87bd-46cc-886f-60ad6103cdc7', 'name': 'ctest-ext_vn-25293465', 'tenant_id': '4a055906697a4e099093c423b20374c2', 'project_id': '4a055906697a4e099093c423b20374c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18599624', 'ctest-ext_vn-25293465'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 02:03:12,105 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe07e214-87c7-4f8a-bab0-4392e9da4864', 'name': '', 'tenant_id': '4a055906697a4e099093c423b20374c2', 'network_id': '724a9033-87bd-46cc-886f-60ad6103cdc7', 'ip_version': 4, 'cidr': '50.216.12.128/26', 'allocation_pools': [{'start': '50.216.12.130', 'end': '50.216.12.190'}], 'gateway_ip': '50.216.12.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.216.12.130', 'tags': [], 'project_id': '4a055906697a4e099093c423b20374c2'}} 2026-01-12 02:03:12,123 - INFO - Created VN ctest-ext_vn-25293465 2026-01-12 02:03:12,175 - DEBUG - VN ctest-ext_vn-25293465 UUID is 724a9033-87bd-46cc-886f-60ad6103cdc7 2026-01-12 02:03:12,369 - DEBUG - Services list from nova: [, , ] 2026-01-12 02:03:13,358 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4990-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4990-1) 2026-01-12 02:03:14,436 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4990-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4990-1) 2026-01-12 02:03:14,499 - INFO - Setting gateway for router 17000f3b-6bba-4525-b66a-597403756688 to network 724a9033-87bd-46cc-886f-60ad6103cdc7 2026-01-12 02:03:14,575 - INFO - Adding interface with subnet_id 49a653e6-7986-4ab2-b5a3-c54a4e8ff6ab, port_id None to router 17000f3b-6bba-4525-b66a-597403756688 2026-01-12 02:03:14,933 - INFO - Waiting for VM ctest-TestRoutersBasic-18599624-55951025 to be up.. 2026-01-12 02:03:15,075 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-12 02:03:20,146 - DEBUG - VM is in ACTIVE state now 2026-01-12 02:03:20,147 - INFO - VM name : ctest-TestRoutersBasic-18599624-55951025 2026-01-12 02:03:20,213 - DEBUG - VM ctest-TestRoutersBasic-18599624-55951025 ID is 55996a22-7166-4095-a69f-a2820fbdead1 2026-01-12 02:03:20,231 - DEBUG - VM ctest-TestRoutersBasic-18599624-55951025 launched on Node cn-jenkins-deploy-platform-ansible-os-4990-1 2026-01-12 02:03:20,297 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/55996a22-7166-4095-a69f-a2820fbdead1 2026-01-12 02:03:20,593 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/55996a22-7166-4095-a69f-a2820fbdead1 2026-01-12 02:03:20,624 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c23e0b6f-ec39-40f4-9449-98a5d2404670 2026-01-12 02:03:23,885 - 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 1028ms') 2026-01-12 02:03:23,885 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18599624-55951025 failed! 2026-01-12 02:03:23,939 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18599624:ctest-vn-32909840 is 140.40.146.65 and allocation pool is NOT set 2026-01-12 02:03:26,002 - 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=2.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.412 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.412/1.650/2.889/1.238 ms') 2026-01-12 02:03:26,002 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18599624-55951025 passed 2026-01-12 02:03:26,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:03:26,151 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18599624-55951025, IP 140.40.146.67, Port 22 2026-01-12 02:03:26,306 - DEBUG - VM ctest-TestRoutersBasic-18599624-55951025 is ready for SSH connections 2026-01-12 02:03:26,307 - INFO - Waiting for VM ctest-TestRoutersBasic-18599624-53556324 to be up.. 2026-01-12 02:03:26,376 - DEBUG - VM is in ACTIVE state now 2026-01-12 02:03:26,376 - INFO - VM name : ctest-TestRoutersBasic-18599624-53556324 2026-01-12 02:03:26,446 - DEBUG - VM ctest-TestRoutersBasic-18599624-53556324 ID is 6cfb2518-3590-451a-8a88-99458da180f6 2026-01-12 02:03:26,446 - DEBUG - VM ctest-TestRoutersBasic-18599624-53556324 launched on Node cn-jenkins-deploy-platform-ansible-os-4990-1 2026-01-12 02:03:26,515 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/6cfb2518-3590-451a-8a88-99458da180f6 2026-01-12 02:03:26,523 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a60ff578-2196-4996-bf99-fd8839013a29 2026-01-12 02:03:27,755 - 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=2.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.394 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.394/1.540/2.686/1.146 ms') 2026-01-12 02:03:27,755 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-18599624-53556324 passed 2026-01-12 02:03:27,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:03:27,907 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18599624-53556324, IP 50.216.12.131, Port 22 2026-01-12 02:03:28,058 - DEBUG - VM ctest-TestRoutersBasic-18599624-53556324 is ready for SSH connections 2026-01-12 02:03:28,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:03:28,058 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.216.12.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-12 02:03:28,058 - DEBUG - ping -s 56 -c 3 -W 1 50.216.12.131 2026-01-12 02:03:31,775 - DEBUG - PING 50.216.12.131 (50.216.12.131): 56 data bytes 64 bytes from 50.216.12.131: seq=0 ttl=62 time=4.311 ms 64 bytes from 50.216.12.131: seq=1 ttl=62 time=0.765 ms 64 bytes from 50.216.12.131: seq=2 ttl=62 time=0.699 ms --- 50.216.12.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.699/1.925/4.311 ms 2026-01-12 02:03:31,775 - INFO - Ping to IP 50.216.12.131 from VM ctest-TestRoutersBasic-18599624-55951025 passed 2026-01-12 02:03:31,775 - INFO - Deleting interface with subnet_id 49a653e6-7986-4ab2-b5a3-c54a4e8ff6ab, port_id None from router 17000f3b-6bba-4525-b66a-597403756688 2026-01-12 02:03:31,923 - INFO - Deleting VM ctest-TestRoutersBasic-18599624-53556324 2026-01-12 02:03:31,986 - INFO - Deleting VM ctest-TestRoutersBasic-18599624-55951025 2026-01-12 02:03:32,073 - INFO - Deleting VN ctest-ext_vn-25293465 2026-01-12 02:03:32,131 - DEBUG - VN 724a9033-87bd-46cc-886f-60ad6103cdc7 still in use: Unable to complete operation on network 724a9033-87bd-46cc-886f-60ad6103cdc7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f596e2c9-c682-4d0e-b9d8-020c34ad7205'] 2026-01-12 02:03:32,132 - WARNING - Deleting VN ctest-ext_vn-25293465 failed..Will retry 2026-01-12 02:03:34,242 - DEBUG - Response for deleting network () 2026-01-12 02:03:34,242 - INFO - Deleting VN ctest-vn-32909840 2026-01-12 02:03:34,334 - DEBUG - Response for deleting network () 2026-01-12 02:03:34,596 - DEBUG - No XMPP flaps were noticed during the test
2026-01-12 02:03:34,596 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-01-12 02:03:34,596 - INFO - -------------------------------------------------------------------------------- 2026-01-12 02:03:35,262 - INFO - Deleted project: ctest-TestRoutersBasic-18599624, ID : 4a055906-697a-4e09-9093-c423b20374c2