2026-01-22 16:12:20,848 - INFO - Domain Default found not creating 2026-01-22 16:12:21,029 - INFO - Project ctest-TestRoutersBasic-75297475 not found, creating it 2026-01-22 16:12:21,704 - INFO - Created Project:ctest-TestRoutersBasic-75297475, ID : 4f1059e4-1e0b-422d-8623-8897295c438d 2026-01-22 16:12:23,230 - INFO - ================================================================================ 2026-01-22 16:12:23,230 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-22 16:12:23,230 - 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-22 16:12:24,528 - WARNING - Test is running with cores: {'10.0.0.65': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5062-3.1769096738']} 2026-01-22 16:12:24,541 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.252': '0', '10.20.0.249': '0'}, '10.0.0.73': {'10.20.0.5': '0', '10.20.0.252': '0'}} with 2026-01-22 16:12:24,541 - INFO - Initial checks done. Running the testcase now 2026-01-22 16:12:24,541 - INFO - 2026-01-22 16:12:25,302 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75297475 2026-01-22 16:12:25,359 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75297475 2026-01-22 16:12:25,741 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75297475', 'default']} 2026-01-22 16:12:26,203 - DEBUG - Response for create_network : {'network': {'id': '9874b380-e567-4211-af3e-26390ef0af9a', 'name': 'ctest-vn-16986233', 'tenant_id': '4f1059e41e0b422d86238897295c438d', 'project_id': '4f1059e41e0b422d86238897295c438d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75297475', 'ctest-vn-16986233'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 16:12:26,515 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d5e07bc-6bfe-40ba-a187-4ebb55d51569', 'name': '', 'tenant_id': '4f1059e41e0b422d86238897295c438d', 'network_id': '9874b380-e567-4211-af3e-26390ef0af9a', 'ip_version': 4, 'cidr': '211.252.234.128/26', 'allocation_pools': [{'start': '211.252.234.130', 'end': '211.252.234.190'}], 'gateway_ip': '211.252.234.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.252.234.130', 'tags': [], 'project_id': '4f1059e41e0b422d86238897295c438d'}} 2026-01-22 16:12:26,538 - INFO - Created VN ctest-vn-16986233 2026-01-22 16:12:26,554 - DEBUG - VN ctest-vn-16986233 UUID is 9874b380-e567-4211-af3e-26390ef0af9a 2026-01-22 16:12:27,033 - DEBUG - Response for create_network : {'network': {'id': '12165231-dc4c-450a-b2b0-742ecb2351ae', 'name': 'ctest-ext_vn-89985799', 'tenant_id': '4f1059e41e0b422d86238897295c438d', 'project_id': '4f1059e41e0b422d86238897295c438d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75297475', 'ctest-ext_vn-89985799'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 16:12:27,338 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3041a46-29ba-4a5c-ae3c-518a3d7672db', 'name': '', 'tenant_id': '4f1059e41e0b422d86238897295c438d', 'network_id': '12165231-dc4c-450a-b2b0-742ecb2351ae', 'ip_version': 4, 'cidr': '123.213.44.128/26', 'allocation_pools': [{'start': '123.213.44.130', 'end': '123.213.44.190'}], 'gateway_ip': '123.213.44.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.213.44.130', 'tags': [], 'project_id': '4f1059e41e0b422d86238897295c438d'}} 2026-01-22 16:12:27,361 - INFO - Created VN ctest-ext_vn-89985799 2026-01-22 16:12:27,374 - DEBUG - VN ctest-ext_vn-89985799 UUID is 12165231-dc4c-450a-b2b0-742ecb2351ae 2026-01-22 16:12:27,524 - DEBUG - Services list from nova: [, , , ] 2026-01-22 16:12:28,605 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5062-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5062-2) 2026-01-22 16:12:30,039 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5062-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5062-1) 2026-01-22 16:12:30,199 - INFO - Setting gateway for router 1c61a399-6e98-404e-8281-af158e6a4544 to network 12165231-dc4c-450a-b2b0-742ecb2351ae 2026-01-22 16:12:30,323 - INFO - Adding interface with subnet_id 3d5e07bc-6bfe-40ba-a187-4ebb55d51569, port_id None to router 1c61a399-6e98-404e-8281-af158e6a4544 2026-01-22 16:12:31,016 - INFO - Waiting for VM ctest-TestRoutersBasic-75297475-33334848 to be up.. 2026-01-22 16:12:31,205 - DEBUG - VM is in ACTIVE state now 2026-01-22 16:12:31,205 - INFO - VM name : ctest-TestRoutersBasic-75297475-33334848 2026-01-22 16:12:31,377 - DEBUG - VM ctest-TestRoutersBasic-75297475-33334848 ID is a28da5b4-d832-4059-9cd3-bb131c09d266 2026-01-22 16:12:31,427 - DEBUG - VM ctest-TestRoutersBasic-75297475-33334848 launched on Node an-jenkins-deploy-platform-ansible-os-5062-2 2026-01-22 16:12:31,576 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/a28da5b4-d832-4059-9cd3-bb131c09d266 2026-01-22 16:12:32,083 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/a28da5b4-d832-4059-9cd3-bb131c09d266 2026-01-22 16:12:32,149 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/63b413be-bf9e-4cee-990b-c5ac9eaebe18 2026-01-22 16:12:35,421 - 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 1026ms') 2026-01-22 16:12:35,422 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75297475-33334848 failed! 2026-01-22 16:12:35,438 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-75297475:ctest-vn-16986233 is 211.252.234.129 and allocation pool is NOT set 2026-01-22 16:12:39,515 - 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 1015ms') 2026-01-22 16:12:39,515 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75297475-33334848 failed! 2026-01-22 16:12:39,532 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-75297475:ctest-vn-16986233 is 211.252.234.129 and allocation pool is NOT set 2026-01-22 16:12:41,589 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.458 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.458/1.693/2.929/1.235 ms') 2026-01-22 16:12:41,589 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75297475-33334848 passed 2026-01-22 16:12:41,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:12:41,717 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75297475-33334848, IP 211.252.234.131, Port 22 2026-01-22 16:12:41,872 - DEBUG - VM ctest-TestRoutersBasic-75297475-33334848 is ready for SSH connections 2026-01-22 16:12:41,872 - INFO - Waiting for VM ctest-TestRoutersBasic-75297475-83025981 to be up.. 2026-01-22 16:12:41,963 - DEBUG - VM is in ACTIVE state now 2026-01-22 16:12:41,963 - INFO - VM name : ctest-TestRoutersBasic-75297475-83025981 2026-01-22 16:12:42,074 - DEBUG - VM ctest-TestRoutersBasic-75297475-83025981 ID is dcfb865b-bb18-46f0-86d9-55f9b80b276c 2026-01-22 16:12:42,074 - DEBUG - VM ctest-TestRoutersBasic-75297475-83025981 launched on Node an-jenkins-deploy-platform-ansible-os-5062-1 2026-01-22 16:12:42,170 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/dcfb865b-bb18-46f0-86d9-55f9b80b276c 2026-01-22 16:12:42,181 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/65db3acf-21ba-4e64-bc45-43aedbe86986 2026-01-22 16:12:43,403 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.369 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.369/1.762/3.155/1.393 ms') 2026-01-22 16:12:43,403 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75297475-83025981 passed 2026-01-22 16:12:43,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:12:43,540 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75297475-83025981, IP 123.213.44.131, Port 22 2026-01-22 16:12:43,695 - DEBUG - VM ctest-TestRoutersBasic-75297475-83025981 is ready for SSH connections 2026-01-22 16:12:43,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:12:43,695 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.213.44.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-01-22 16:12:43,695 - DEBUG - ping -s 56 -c 3 -W 1 123.213.44.131 2026-01-22 16:12:47,341 - DEBUG - PING 123.213.44.131 (123.213.44.131): 56 data bytes 64 bytes from 123.213.44.131: seq=0 ttl=62 time=7.396 ms 64 bytes from 123.213.44.131: seq=1 ttl=62 time=1.122 ms 64 bytes from 123.213.44.131: seq=2 ttl=62 time=1.108 ms --- 123.213.44.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.108/3.208/7.396 ms 2026-01-22 16:12:47,341 - INFO - Ping to IP 123.213.44.131 from VM ctest-TestRoutersBasic-75297475-33334848 passed 2026-01-22 16:12:47,341 - INFO - Deleting interface with subnet_id 3d5e07bc-6bfe-40ba-a187-4ebb55d51569, port_id None from router 1c61a399-6e98-404e-8281-af158e6a4544 2026-01-22 16:12:47,811 - INFO - Deleting VM ctest-TestRoutersBasic-75297475-83025981 2026-01-22 16:12:47,944 - INFO - Deleting VM ctest-TestRoutersBasic-75297475-33334848 2026-01-22 16:12:48,093 - INFO - Deleting VN ctest-ext_vn-89985799 2026-01-22 16:12:48,245 - DEBUG - VN 12165231-dc4c-450a-b2b0-742ecb2351ae still in use: Unable to complete operation on network 12165231-dc4c-450a-b2b0-742ecb2351ae. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5f072263-56f4-48a3-83ae-483b222e36a2'] 2026-01-22 16:12:48,246 - WARNING - Deleting VN ctest-ext_vn-89985799 failed..Will retry 2026-01-22 16:12:50,472 - DEBUG - Response for deleting network () 2026-01-22 16:12:50,473 - INFO - Deleting VN ctest-vn-16986233 2026-01-22 16:12:50,670 - DEBUG - Response for deleting network () 2026-01-22 16:12:51,935 - DEBUG - No XMPP flaps were noticed during the test 2026-01-22 16:12:51,935 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2026-01-22 16:12:51,935 - INFO - -------------------------------------------------------------------------------- 2026-01-22 16:12:52,755 - INFO - Deleted project: ctest-TestRoutersBasic-75297475, ID : 4f1059e4-1e0b-422d-8623-8897295c438d