2026-01-20 19:42:24,460 - INFO - Domain Default found not creating 2026-01-20 19:42:24,716 - INFO - Project ctest-TestRoutersBasic-07546989 not found, creating it 2026-01-20 19:42:25,308 - INFO - Created Project:ctest-TestRoutersBasic-07546989, ID : 7e6da424-1d16-4b18-bc44-446ad1805bb4 2026-01-20 19:42:26,983 - INFO - ================================================================================ 2026-01-20 19:42:26,983 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-20 19:42:26,983 - 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-20 19:42:28,316 - WARNING - Test is running with cores: {'10.0.0.73': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5051-3.1768936401']} 2026-01-20 19:42:28,330 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.252': '0', '10.20.0.249': '0'}, '10.0.0.133': {'10.20.0.249': '0', '10.20.0.252': '0'}} with 2026-01-20 19:42:28,330 - INFO - Initial checks done. Running the testcase now 2026-01-20 19:42:28,330 - INFO - 2026-01-20 19:42:29,166 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-07546989 2026-01-20 19:42:29,238 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-07546989 2026-01-20 19:42:29,631 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07546989', 'default']} 2026-01-20 19:42:30,086 - DEBUG - Response for create_network : {'network': {'id': 'aa6a781b-aa48-48d9-b61f-a7433974e8d4', 'name': 'ctest-vn-61306840', 'tenant_id': '7e6da4241d164b18bc44446ad1805bb4', 'project_id': '7e6da4241d164b18bc44446ad1805bb4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07546989', 'ctest-vn-61306840'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 19:42:30,347 - DEBUG - Response for create_subnet : {'subnet': {'id': '46f604fe-446b-49d5-aa64-0a3e6099bd14', 'name': '', 'tenant_id': '7e6da4241d164b18bc44446ad1805bb4', 'network_id': 'aa6a781b-aa48-48d9-b61f-a7433974e8d4', 'ip_version': 4, 'cidr': '133.2.248.0/26', 'allocation_pools': [{'start': '133.2.248.2', 'end': '133.2.248.62'}], 'gateway_ip': '133.2.248.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.2.248.2', 'tags': [], 'project_id': '7e6da4241d164b18bc44446ad1805bb4'}} 2026-01-20 19:42:30,384 - INFO - Created VN ctest-vn-61306840 2026-01-20 19:42:30,397 - DEBUG - VN ctest-vn-61306840 UUID is aa6a781b-aa48-48d9-b61f-a7433974e8d4 2026-01-20 19:42:30,812 - DEBUG - Response for create_network : {'network': {'id': '44ba1beb-de0c-4ed0-9f9e-7457f7bc664a', 'name': 'ctest-ext_vn-52139149', 'tenant_id': '7e6da4241d164b18bc44446ad1805bb4', 'project_id': '7e6da4241d164b18bc44446ad1805bb4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07546989', 'ctest-ext_vn-52139149'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 19:42:31,016 - DEBUG - Response for create_subnet : {'subnet': {'id': '60225de3-3889-40fb-91eb-6932419aa221', 'name': '', 'tenant_id': '7e6da4241d164b18bc44446ad1805bb4', 'network_id': '44ba1beb-de0c-4ed0-9f9e-7457f7bc664a', 'ip_version': 4, 'cidr': '205.46.186.192/26', 'allocation_pools': [{'start': '205.46.186.194', 'end': '205.46.186.254'}], 'gateway_ip': '205.46.186.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.46.186.194', 'tags': [], 'project_id': '7e6da4241d164b18bc44446ad1805bb4'}} 2026-01-20 19:42:31,040 - INFO - Created VN ctest-ext_vn-52139149 2026-01-20 19:42:31,053 - DEBUG - VN ctest-ext_vn-52139149 UUID is 44ba1beb-de0c-4ed0-9f9e-7457f7bc664a 2026-01-20 19:42:31,187 - DEBUG - Services list from nova: [, , , ] 2026-01-20 19:42:32,482 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5051-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5051-2) 2026-01-20 19:42:34,068 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5051-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5051-1) 2026-01-20 19:42:34,196 - INFO - Setting gateway for router c9ec4fca-87f2-49f6-89ed-dc00243a27e1 to network 44ba1beb-de0c-4ed0-9f9e-7457f7bc664a 2026-01-20 19:42:34,303 - INFO - Adding interface with subnet_id 46f604fe-446b-49d5-aa64-0a3e6099bd14, port_id None to router c9ec4fca-87f2-49f6-89ed-dc00243a27e1 2026-01-20 19:42:34,843 - INFO - Waiting for VM ctest-TestRoutersBasic-07546989-95071632 to be up.. 2026-01-20 19:42:35,044 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-20 19:42:40,224 - DEBUG - VM is in ACTIVE state now 2026-01-20 19:42:40,224 - INFO - VM name : ctest-TestRoutersBasic-07546989-95071632 2026-01-20 19:42:40,361 - DEBUG - VM ctest-TestRoutersBasic-07546989-95071632 ID is c85a6b40-778a-48c5-b4b4-599f157707d1 2026-01-20 19:42:40,397 - DEBUG - VM ctest-TestRoutersBasic-07546989-95071632 launched on Node an-jenkins-deploy-platform-ansible-os-5051-2 2026-01-20 19:42:40,567 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/c85a6b40-778a-48c5-b4b4-599f157707d1 2026-01-20 19:42:40,881 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/c85a6b40-778a-48c5-b4b4-599f157707d1 2026-01-20 19:42:40,939 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/9c112c64-a2d5-42ce-95f5-bde8bbee1586 2026-01-20 19:42:44,226 - 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=2 ttl=63 time=2.69 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1027ms\r\nrtt min/avg/max/mdev = 2.688/2.688/2.688/0.000 ms') 2026-01-20 19:42:44,226 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07546989-95071632 passed 2026-01-20 19:42:44,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 19:42:44,377 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07546989-95071632, IP 133.2.248.3, Port 22 2026-01-20 19:42:44,442 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-01-20 19:42:44,599 - DEBUG - VM ctest-TestRoutersBasic-07546989-95071632 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-20 19:42:49,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 19:42:49,599 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07546989-95071632, IP 133.2.248.3, Port 22 2026-01-20 19:42:49,761 - DEBUG - VM ctest-TestRoutersBasic-07546989-95071632 is ready for SSH connections 2026-01-20 19:42:49,761 - INFO - Waiting for VM ctest-TestRoutersBasic-07546989-87715887 to be up.. 2026-01-20 19:42:49,935 - DEBUG - VM is in ACTIVE state now 2026-01-20 19:42:49,935 - INFO - VM name : ctest-TestRoutersBasic-07546989-87715887 2026-01-20 19:42:50,120 - DEBUG - VM ctest-TestRoutersBasic-07546989-87715887 ID is 3a87dca4-fc98-4f2f-855c-8809e6f5d0d6 2026-01-20 19:42:50,120 - DEBUG - VM ctest-TestRoutersBasic-07546989-87715887 launched on Node an-jenkins-deploy-platform-ansible-os-5051-1 2026-01-20 19:42:50,330 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/3a87dca4-fc98-4f2f-855c-8809e6f5d0d6 2026-01-20 19:42:50,341 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/b8efe0bd-bfcf-481e-a6b2-13c0983e0c4b 2026-01-20 19:42:51,616 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.378 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.378/1.842/3.306/1.464 ms') 2026-01-20 19:42:51,616 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-07546989-87715887 passed 2026-01-20 19:42:51,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 19:42:51,762 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07546989-87715887, IP 205.46.186.195, Port 22 2026-01-20 19:42:51,928 - DEBUG - VM ctest-TestRoutersBasic-07546989-87715887 is ready for SSH connections 2026-01-20 19:42:51,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 19:42:51,929 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.46.186.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-01-20 19:42:51,929 - DEBUG - ping -s 56 -c 3 -W 1 205.46.186.195 2026-01-20 19:42:55,658 - DEBUG - PING 205.46.186.195 (205.46.186.195): 56 data bytes 64 bytes from 205.46.186.195: seq=0 ttl=62 time=7.581 ms 64 bytes from 205.46.186.195: seq=1 ttl=62 time=1.501 ms 64 bytes from 205.46.186.195: seq=2 ttl=62 time=1.563 ms --- 205.46.186.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.501/3.548/7.581 ms 2026-01-20 19:42:55,659 - INFO - Ping to IP 205.46.186.195 from VM ctest-TestRoutersBasic-07546989-95071632 passed 2026-01-20 19:42:55,659 - INFO - Deleting interface with subnet_id 46f604fe-446b-49d5-aa64-0a3e6099bd14, port_id None from router c9ec4fca-87f2-49f6-89ed-dc00243a27e1 2026-01-20 19:42:56,122 - INFO - Deleting VM ctest-TestRoutersBasic-07546989-87715887 2026-01-20 19:42:56,260 - INFO - Deleting VM ctest-TestRoutersBasic-07546989-95071632 2026-01-20 19:42:56,354 - INFO - Deleting VN ctest-ext_vn-52139149 2026-01-20 19:42:56,472 - DEBUG - VN 44ba1beb-de0c-4ed0-9f9e-7457f7bc664a still in use: Unable to complete operation on network 44ba1beb-de0c-4ed0-9f9e-7457f7bc664a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b2b65346-947e-4a45-94ff-dc8e9bcca421'] 2026-01-20 19:42:56,472 - WARNING - Deleting VN ctest-ext_vn-52139149 failed..Will retry 2026-01-20 19:42:58,648 - DEBUG - Response for deleting network () 2026-01-20 19:42:58,649 - INFO - Deleting VN ctest-vn-61306840 2026-01-20 19:42:58,828 - DEBUG - Response for deleting network () 2026-01-20 19:43:00,170 - DEBUG - No XMPP flaps were noticed during the test 2026-01-20 19:43:00,170 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34] 2026-01-20 19:43:00,170 - INFO - -------------------------------------------------------------------------------- 2026-01-20 19:43:00,976 - INFO - Deleted project: ctest-TestRoutersBasic-07546989, ID : 7e6da424-1d16-4b18-bc44-446ad1805bb4