2026-03-23 06:12:17,661 - INFO - Domain Default found not creating 2026-03-23 06:12:17,816 - INFO - Project ctest-TestRoutersBasic-55769132 not found, creating it 2026-03-23 06:12:18,377 - INFO - Created Project:ctest-TestRoutersBasic-55769132, ID : b8d1566f-8945-421b-93e2-38f2c176dd01 2026-03-23 06:12:19,864 - INFO - ================================================================================ 2026-03-23 06:12:19,864 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-23 06:12:19,864 - 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-23 06:12:21,127 - WARNING - Test is running with cores: {'10.0.0.33': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5515-3.1774244755']} 2026-03-23 06:12:21,141 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0', '10.20.0.254': '0'}, '10.0.0.22': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2026-03-23 06:12:21,141 - INFO - Initial checks done. Running the testcase now 2026-03-23 06:12:21,141 - INFO - 2026-03-23 06:12:21,891 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55769132 2026-03-23 06:12:21,951 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55769132 2026-03-23 06:12:22,277 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55769132', 'default']} 2026-03-23 06:12:22,719 - DEBUG - Response for create_network : {'network': {'id': 'de0accb8-874c-4844-adf5-6c5e60e392ae', 'name': 'ctest-vn-26698374', 'tenant_id': 'b8d1566f8945421b93e238f2c176dd01', 'project_id': 'b8d1566f8945421b93e238f2c176dd01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55769132', 'ctest-vn-26698374'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 06:12:23,024 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6a1705e-6464-4bda-a23f-035271dc1eba', 'name': '', 'tenant_id': 'b8d1566f8945421b93e238f2c176dd01', 'network_id': 'de0accb8-874c-4844-adf5-6c5e60e392ae', 'ip_version': 4, 'cidr': '34.87.45.0/26', 'allocation_pools': [{'start': '34.87.45.2', 'end': '34.87.45.62'}], 'gateway_ip': '34.87.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.87.45.2', 'tags': [], 'project_id': 'b8d1566f8945421b93e238f2c176dd01'}} 2026-03-23 06:12:23,048 - INFO - Created VN ctest-vn-26698374 2026-03-23 06:12:23,061 - DEBUG - VN ctest-vn-26698374 UUID is de0accb8-874c-4844-adf5-6c5e60e392ae 2026-03-23 06:12:23,495 - DEBUG - Response for create_network : {'network': {'id': '1999702d-f704-42bf-8a69-7ca6b835ade5', 'name': 'ctest-ext_vn-32868631', 'tenant_id': 'b8d1566f8945421b93e238f2c176dd01', 'project_id': 'b8d1566f8945421b93e238f2c176dd01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55769132', 'ctest-ext_vn-32868631'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 06:12:23,763 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c018d57f-d11f-40e9-b958-d1e38989c91d', 'name': '', 'tenant_id': 'b8d1566f8945421b93e238f2c176dd01', 'network_id': '1999702d-f704-42bf-8a69-7ca6b835ade5', 'ip_version': 4, 'cidr': '1.181.66.0/26', 'allocation_pools': [{'start': '1.181.66.2', 'end': '1.181.66.62'}], 'gateway_ip': '1.181.66.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.181.66.2', 'tags': [], 'project_id': 'b8d1566f8945421b93e238f2c176dd01'}} 2026-03-23 06:12:23,786 - INFO - Created VN ctest-ext_vn-32868631 2026-03-23 06:12:23,800 - DEBUG - VN ctest-ext_vn-32868631 UUID is 1999702d-f704-42bf-8a69-7ca6b835ade5 2026-03-23 06:12:23,965 - DEBUG - Services list from nova: [, , , ] 2026-03-23 06:12:24,945 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5515-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5515-2) 2026-03-23 06:12:26,232 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5515-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5515-1) 2026-03-23 06:12:26,343 - INFO - Setting gateway for router 12a7fe9c-3fec-4957-9c2e-9522524a61d5 to network 1999702d-f704-42bf-8a69-7ca6b835ade5 2026-03-23 06:12:26,429 - INFO - Adding interface with subnet_id c6a1705e-6464-4bda-a23f-035271dc1eba, port_id None to router 12a7fe9c-3fec-4957-9c2e-9522524a61d5 2026-03-23 06:12:26,976 - INFO - Waiting for VM ctest-TestRoutersBasic-55769132-97706401 to be up.. 2026-03-23 06:12:27,139 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-23 06:12:32,248 - DEBUG - VM is in ACTIVE state now 2026-03-23 06:12:32,249 - INFO - VM name : ctest-TestRoutersBasic-55769132-97706401 2026-03-23 06:12:32,337 - DEBUG - VM ctest-TestRoutersBasic-55769132-97706401 ID is fd402264-a2c2-4fc0-b896-8e75f51435a8 2026-03-23 06:12:32,361 - DEBUG - VM ctest-TestRoutersBasic-55769132-97706401 launched on Node an-jenkins-deploy-platform-ansible-os-5515-2 2026-03-23 06:12:32,434 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fd402264-a2c2-4fc0-b896-8e75f51435a8 2026-03-23 06:12:32,727 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fd402264-a2c2-4fc0-b896-8e75f51435a8 2026-03-23 06:12:32,760 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8858a6af-cb92-4290-9618-7715a85f9869 2026-03-23 06:12:35,965 - 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-03-23 06:12:35,965 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55769132-97706401 failed! 2026-03-23 06:12:35,979 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55769132:ctest-vn-26698374 is 34.87.45.1 and allocation pool is NOT set 2026-03-23 06:12:38,036 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.421 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.421/1.854/3.287/1.433 ms') 2026-03-23 06:12:38,036 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55769132-97706401 passed 2026-03-23 06:12:38,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 06:12:38,144 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55769132-97706401, IP 34.87.45.3, Port 22 2026-03-23 06:12:38,300 - DEBUG - VM ctest-TestRoutersBasic-55769132-97706401 is ready for SSH connections 2026-03-23 06:12:38,300 - INFO - Waiting for VM ctest-TestRoutersBasic-55769132-95652218 to be up.. 2026-03-23 06:12:38,385 - DEBUG - VM is in ACTIVE state now 2026-03-23 06:12:38,385 - INFO - VM name : ctest-TestRoutersBasic-55769132-95652218 2026-03-23 06:12:38,461 - DEBUG - VM ctest-TestRoutersBasic-55769132-95652218 ID is f3313a55-539c-4ac7-bfa0-78c8b24e6a55 2026-03-23 06:12:38,461 - DEBUG - VM ctest-TestRoutersBasic-55769132-95652218 launched on Node an-jenkins-deploy-platform-ansible-os-5515-1 2026-03-23 06:12:38,544 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f3313a55-539c-4ac7-bfa0-78c8b24e6a55 2026-03-23 06:12:38,554 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/780c76e2-e3cb-486b-9bf4-fd2e36105b1c 2026-03-23 06:12:39,759 - 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=4.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.722 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.722/2.589/4.456/1.867 ms') 2026-03-23 06:12:39,759 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55769132-95652218 passed 2026-03-23 06:12:39,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 06:12:39,869 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55769132-95652218, IP 1.181.66.3, Port 22 2026-03-23 06:12:40,031 - DEBUG - VM ctest-TestRoutersBasic-55769132-95652218 is ready for SSH connections 2026-03-23 06:12:40,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 06:12:40,032 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.181.66.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-23 06:12:40,032 - DEBUG - ping -s 56 -c 3 -W 1 1.181.66.3 2026-03-23 06:12:43,681 - DEBUG - PING 1.181.66.3 (1.181.66.3): 56 data bytes 64 bytes from 1.181.66.3: seq=0 ttl=62 time=9.006 ms 64 bytes from 1.181.66.3: seq=1 ttl=62 time=1.433 ms 64 bytes from 1.181.66.3: seq=2 ttl=62 time=1.443 ms --- 1.181.66.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.433/3.960/9.006 ms 2026-03-23 06:12:43,681 - INFO - Ping to IP 1.181.66.3 from VM ctest-TestRoutersBasic-55769132-97706401 passed 2026-03-23 06:12:43,681 - INFO - Deleting interface with subnet_id c6a1705e-6464-4bda-a23f-035271dc1eba, port_id None from router 12a7fe9c-3fec-4957-9c2e-9522524a61d5 2026-03-23 06:12:44,072 - INFO - Deleting VM ctest-TestRoutersBasic-55769132-95652218 2026-03-23 06:12:44,169 - INFO - Deleting VM ctest-TestRoutersBasic-55769132-97706401 2026-03-23 06:12:44,268 - INFO - Deleting VN ctest-ext_vn-32868631 2026-03-23 06:12:44,455 - DEBUG - VN 1999702d-f704-42bf-8a69-7ca6b835ade5 still in use: Unable to complete operation on network 1999702d-f704-42bf-8a69-7ca6b835ade5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2446c26b-3538-42af-b93b-4a4e158da9fe'] 2026-03-23 06:12:44,455 - WARNING - Deleting VN ctest-ext_vn-32868631 failed..Will retry 2026-03-23 06:12:46,619 - DEBUG - Response for deleting network () 2026-03-23 06:12:46,619 - INFO - Deleting VN ctest-vn-26698374 2026-03-23 06:12:46,832 - DEBUG - Response for deleting network () 2026-03-23 06:12:48,122 - DEBUG - No XMPP flaps were noticed during the test
2026-03-23 06:12:48,122 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2026-03-23 06:12:48,122 - INFO - -------------------------------------------------------------------------------- 2026-03-23 06:12:48,866 - INFO - Deleted project: ctest-TestRoutersBasic-55769132, ID : b8d1566f-8945-421b-93e2-38f2c176dd01