2026-06-18 13:16:55,428 - INFO - Domain Default found not creating 2026-06-18 13:16:55,596 - INFO - Project ctest-TestRoutersBasic-73019467 not found, creating it 2026-06-18 13:16:56,230 - INFO - Created Project:ctest-TestRoutersBasic-73019467, ID : 6734916e-1e37-4175-8f16-c62dad8c1a0e 2026-06-18 13:16:57,977 - INFO - ================================================================================ 2026-06-18 13:16:57,977 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-18 13:16:57,977 - 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-06-18 13:16:59,236 - WARNING - Test is running with cores: {'10.0.0.129': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5981-1.1781787175']} 2026-06-18 13:16:59,249 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0', '10.20.0.254': '0'}, '10.0.0.27': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2026-06-18 13:16:59,249 - INFO - Initial checks done. Running the testcase now 2026-06-18 13:16:59,249 - INFO - 2026-06-18 13:17:00,067 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-73019467 2026-06-18 13:17:00,128 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-73019467 2026-06-18 13:17:00,449 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73019467', 'default']} 2026-06-18 13:17:00,918 - DEBUG - Response for create_network : {'network': {'id': 'b41e1dda-eec1-4d19-9743-cfdc7cd27f59', 'name': 'ctest-vn-14140608', 'tenant_id': '6734916e1e3741758f16c62dad8c1a0e', 'project_id': '6734916e1e3741758f16c62dad8c1a0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73019467', 'ctest-vn-14140608'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 13:17:01,245 - DEBUG - Response for create_subnet : {'subnet': {'id': '3afa6077-e51b-40ea-9bec-3e66ce6c74da', 'name': '', 'tenant_id': '6734916e1e3741758f16c62dad8c1a0e', 'network_id': 'b41e1dda-eec1-4d19-9743-cfdc7cd27f59', 'ip_version': 4, 'cidr': '108.177.167.0/26', 'allocation_pools': [{'start': '108.177.167.2', 'end': '108.177.167.62'}], 'gateway_ip': '108.177.167.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.177.167.2', 'tags': [], 'project_id': '6734916e1e3741758f16c62dad8c1a0e'}} 2026-06-18 13:17:01,278 - INFO - Created VN ctest-vn-14140608 2026-06-18 13:17:01,296 - DEBUG - VN ctest-vn-14140608 UUID is b41e1dda-eec1-4d19-9743-cfdc7cd27f59 2026-06-18 13:17:01,799 - DEBUG - Response for create_network : {'network': {'id': '199fa9ac-d806-4474-98cc-e0f69b975dce', 'name': 'ctest-ext_vn-20345523', 'tenant_id': '6734916e1e3741758f16c62dad8c1a0e', 'project_id': '6734916e1e3741758f16c62dad8c1a0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73019467', 'ctest-ext_vn-20345523'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 13:17:02,099 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca194322-7883-4f74-80eb-e8e269538a11', 'name': '', 'tenant_id': '6734916e1e3741758f16c62dad8c1a0e', 'network_id': '199fa9ac-d806-4474-98cc-e0f69b975dce', 'ip_version': 4, 'cidr': '98.86.85.0/26', 'allocation_pools': [{'start': '98.86.85.2', 'end': '98.86.85.62'}], 'gateway_ip': '98.86.85.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.86.85.2', 'tags': [], 'project_id': '6734916e1e3741758f16c62dad8c1a0e'}} 2026-06-18 13:17:02,120 - INFO - Created VN ctest-ext_vn-20345523 2026-06-18 13:17:02,132 - DEBUG - VN ctest-ext_vn-20345523 UUID is 199fa9ac-d806-4474-98cc-e0f69b975dce 2026-06-18 13:17:02,309 - DEBUG - Services list from nova: [, , , ] 2026-06-18 13:17:03,413 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5981-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5981-1) 2026-06-18 13:17:04,520 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5981-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5981-2) 2026-06-18 13:17:04,621 - INFO - Setting gateway for router 35e2382d-3f6b-4d08-a7bd-6a3ce521720b to network 199fa9ac-d806-4474-98cc-e0f69b975dce 2026-06-18 13:17:04,726 - INFO - Adding interface with subnet_id 3afa6077-e51b-40ea-9bec-3e66ce6c74da, port_id None to router 35e2382d-3f6b-4d08-a7bd-6a3ce521720b 2026-06-18 13:17:05,347 - INFO - Waiting for VM ctest-TestRoutersBasic-73019467-48379069 to be up.. 2026-06-18 13:17:05,423 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 13:17:10,503 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 13:17:15,595 - DEBUG - VM is in ACTIVE state now 2026-06-18 13:17:15,595 - INFO - VM name : ctest-TestRoutersBasic-73019467-48379069 2026-06-18 13:17:15,686 - DEBUG - VM ctest-TestRoutersBasic-73019467-48379069 ID is 9311c038-7afe-402f-ae78-7870ed257e22 2026-06-18 13:17:15,725 - DEBUG - VM ctest-TestRoutersBasic-73019467-48379069 launched on Node an-jenkins-deploy-platform-ansible-os-5981-1 2026-06-18 13:17:15,822 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9311c038-7afe-402f-ae78-7870ed257e22 2026-06-18 13:17:16,150 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9311c038-7afe-402f-ae78-7870ed257e22 2026-06-18 13:17:16,184 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/541ab4bd-88ff-4139-a254-168cbb585419 2026-06-18 13:17:19,373 - 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 1017ms') 2026-06-18 13:17:19,373 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-73019467-48379069 failed! 2026-06-18 13:17:19,395 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-73019467:ctest-vn-14140608 is 108.177.167.1 and allocation pool is NOT set 2026-06-18 13:17:21,453 - 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=3.36 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.442 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.442/1.903/3.364/1.461 ms') 2026-06-18 13:17:21,453 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-73019467-48379069 passed 2026-06-18 13:17:21,525 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 13:17:21,525 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73019467-48379069, IP 108.177.167.3, Port 22 2026-06-18 13:17:21,681 - DEBUG - VM ctest-TestRoutersBasic-73019467-48379069 is ready for SSH connections 2026-06-18 13:17:21,681 - INFO - Waiting for VM ctest-TestRoutersBasic-73019467-88377007 to be up.. 2026-06-18 13:17:21,774 - DEBUG - VM is in ACTIVE state now 2026-06-18 13:17:21,775 - INFO - VM name : ctest-TestRoutersBasic-73019467-88377007 2026-06-18 13:17:21,867 - DEBUG - VM ctest-TestRoutersBasic-73019467-88377007 ID is 8c436cb0-6c95-4ddb-9937-03f30aa9b304 2026-06-18 13:17:21,867 - DEBUG - VM ctest-TestRoutersBasic-73019467-88377007 launched on Node an-jenkins-deploy-platform-ansible-os-5981-2 2026-06-18 13:17:21,958 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/8c436cb0-6c95-4ddb-9937-03f30aa9b304 2026-06-18 13:17:21,970 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d3a63b59-d167-47c4-a3f9-8818c107ed70 2026-06-18 13:17:23,134 - 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=3.45 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.473 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.473/1.959/3.446/1.486 ms') 2026-06-18 13:17:23,134 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-73019467-88377007 passed 2026-06-18 13:17:23,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 13:17:23,223 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73019467-88377007, IP 98.86.85.4, Port 22 2026-06-18 13:17:23,380 - DEBUG - VM ctest-TestRoutersBasic-73019467-88377007 is ready for SSH connections 2026-06-18 13:17:23,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 13:17:23,380 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.86.85.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-06-18 13:17:23,380 - DEBUG - ping -s 56 -c 3 -W 1 98.86.85.4 2026-06-18 13:17:25,994 - DEBUG - PING 98.86.85.4 (98.86.85.4): 56 data bytes 64 bytes from 98.86.85.4: seq=0 ttl=62 time=9.182 ms 64 bytes from 98.86.85.4: seq=1 ttl=62 time=1.204 ms 64 bytes from 98.86.85.4: seq=2 ttl=62 time=1.208 ms --- 98.86.85.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.204/3.864/9.182 ms 2026-06-18 13:17:25,994 - INFO - Ping to IP 98.86.85.4 from VM ctest-TestRoutersBasic-73019467-48379069 passed 2026-06-18 13:17:25,994 - INFO - Deleting interface with subnet_id 3afa6077-e51b-40ea-9bec-3e66ce6c74da, port_id None from router 35e2382d-3f6b-4d08-a7bd-6a3ce521720b 2026-06-18 13:17:26,412 - INFO - Deleting VM ctest-TestRoutersBasic-73019467-88377007 2026-06-18 13:17:26,507 - INFO - Deleting VM ctest-TestRoutersBasic-73019467-48379069 2026-06-18 13:17:26,630 - INFO - Deleting VN ctest-ext_vn-20345523 2026-06-18 13:17:26,798 - DEBUG - VN 199fa9ac-d806-4474-98cc-e0f69b975dce still in use: Unable to complete operation on network 199fa9ac-d806-4474-98cc-e0f69b975dce. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-23967251-2744-4ebf-8455-a8a7c8cafabe'] 2026-06-18 13:17:26,799 - WARNING - Deleting VN ctest-ext_vn-20345523 failed..Will retry 2026-06-18 13:17:29,011 - DEBUG - Response for deleting network () 2026-06-18 13:17:29,011 - INFO - Deleting VN ctest-vn-14140608 2026-06-18 13:17:29,189 - DEBUG - Response for deleting network () 2026-06-18 13:17:30,479 - DEBUG - No XMPP flaps were noticed during the test 2026-06-18 13:17:30,479 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33] 2026-06-18 13:17:30,479 - INFO - -------------------------------------------------------------------------------- 2026-06-18 13:17:31,317 - INFO - Deleted project: ctest-TestRoutersBasic-73019467, ID : 6734916e-1e37-4175-8f16-c62dad8c1a0e