2026-01-22 16:11:33,535 - INFO - Domain Default found not creating 2026-01-22 16:11:33,724 - INFO - Project ctest-TestRouters-46485660 not found, creating it 2026-01-22 16:11:34,334 - INFO - Created Project:ctest-TestRouters-46485660, ID : a6776789-3d74-4a1e-bb39-27182ed71331 2026-01-22 16:11:35,928 - INFO - ================================================================================ 2026-01-22 16:11:35,928 - INFO - STARTING TEST : test_basic_router_behavior 2026-01-22 16:11:35,929 - INFO - TEST DESCRIPTION : Validate a router is able to route packets between two VNs Create a router Create 2 VNs, and a VM in each Add router port from each VN Ping between VMs 2026-01-22 16:11:37,208 - 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:11:37,222 - 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:11:37,222 - INFO - Initial checks done. Running the testcase now 2026-01-22 16:11:37,222 - INFO - 2026-01-22 16:11:38,014 - DEBUG - Response for create_network : {'network': {'id': '2e6f5b6b-a5e3-4cfc-ae20-4f87ed3e25f2', 'name': 'ctest-vn1-99457539', 'tenant_id': 'a67767893d744a1ebb3927182ed71331', 'project_id': 'a67767893d744a1ebb3927182ed71331', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-46485660', 'ctest-vn1-99457539'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 16:11:38,331 - DEBUG - Response for create_subnet : {'subnet': {'id': '92201986-1f25-44e8-a057-b02f907788e0', 'name': '', 'tenant_id': 'a67767893d744a1ebb3927182ed71331', 'network_id': '2e6f5b6b-a5e3-4cfc-ae20-4f87ed3e25f2', 'ip_version': 4, 'cidr': '205.4.8.192/26', 'allocation_pools': [{'start': '205.4.8.194', 'end': '205.4.8.254'}], 'gateway_ip': '205.4.8.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.4.8.194', 'tags': [], 'project_id': 'a67767893d744a1ebb3927182ed71331'}} 2026-01-22 16:11:38,353 - INFO - Created VN ctest-vn1-99457539 2026-01-22 16:11:38,367 - DEBUG - VN ctest-vn1-99457539 UUID is 2e6f5b6b-a5e3-4cfc-ae20-4f87ed3e25f2 2026-01-22 16:11:38,813 - DEBUG - Response for create_network : {'network': {'id': '3818c0ef-12ab-4b0c-a039-6b78ad13bd90', 'name': 'ctest-vn2-15683636', 'tenant_id': 'a67767893d744a1ebb3927182ed71331', 'project_id': 'a67767893d744a1ebb3927182ed71331', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-46485660', 'ctest-vn2-15683636'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 16:11:39,066 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4e7180c-28eb-4bf8-97f0-57e2a2b84b9f', 'name': '', 'tenant_id': 'a67767893d744a1ebb3927182ed71331', 'network_id': '3818c0ef-12ab-4b0c-a039-6b78ad13bd90', 'ip_version': 4, 'cidr': '27.68.37.0/26', 'allocation_pools': [{'start': '27.68.37.2', 'end': '27.68.37.62'}], 'gateway_ip': '27.68.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.68.37.2', 'tags': [], 'project_id': 'a67767893d744a1ebb3927182ed71331'}} 2026-01-22 16:11:39,096 - INFO - Created VN ctest-vn2-15683636 2026-01-22 16:11:39,111 - DEBUG - VN ctest-vn2-15683636 UUID is 3818c0ef-12ab-4b0c-a039-6b78ad13bd90 2026-01-22 16:11:39,247 - DEBUG - Services list from nova: [, , , ] 2026-01-22 16:11:40,476 - 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:11:41,903 - 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:11:42,073 - INFO - Adding interface with subnet_id 92201986-1f25-44e8-a057-b02f907788e0, port_id None to router 609abe2b-2531-4f52-b3c8-a8f0da1cba9d 2026-01-22 16:11:42,646 - INFO - Waiting for VM ctest-vn1-vm1-63523136 to be up.. 2026-01-22 16:11:42,825 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-22 16:11:47,930 - DEBUG - VM is in ACTIVE state now 2026-01-22 16:11:47,930 - INFO - VM name : ctest-vn1-vm1-63523136 2026-01-22 16:11:48,042 - DEBUG - VM ctest-vn1-vm1-63523136 ID is aa09b2d5-0777-4b1a-8143-93862b4726ef 2026-01-22 16:11:48,074 - DEBUG - VM ctest-vn1-vm1-63523136 launched on Node an-jenkins-deploy-platform-ansible-os-5062-2 2026-01-22 16:11:48,187 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/aa09b2d5-0777-4b1a-8143-93862b4726ef 2026-01-22 16:11:48,482 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/aa09b2d5-0777-4b1a-8143-93862b4726ef 2026-01-22 16:11:48,523 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a6b06a7c-e19c-474b-bceb-39b0bd1e555c 2026-01-22 16:11:51,775 - 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 1018ms') 2026-01-22 16:11:51,775 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63523136 failed! 2026-01-22 16:11:51,807 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-46485660:ctest-vn1-99457539 is 205.4.8.193 and allocation pool is NOT set 2026-01-22 16:11:53,882 - 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=5.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.42 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 = 3.415/4.619/5.823/1.204 ms') 2026-01-22 16:11:53,883 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63523136 passed 2026-01-22 16:11:54,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:11:54,026 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63523136, IP 205.4.8.195, Port 22 2026-01-22 16:11:54,094 - 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-22 16:11:54,195 - DEBUG - VM ctest-vn1-vm1-63523136 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-22 16:11:59,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:11:59,197 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63523136, IP 205.4.8.195, Port 22 2026-01-22 16:11:59,370 - DEBUG - VM ctest-vn1-vm1-63523136 is ready for SSH connections 2026-01-22 16:11:59,371 - INFO - Waiting for VM ctest-vn2-vm1-73543956 to be up.. 2026-01-22 16:11:59,462 - DEBUG - VM is in ACTIVE state now 2026-01-22 16:11:59,462 - INFO - VM name : ctest-vn2-vm1-73543956 2026-01-22 16:11:59,553 - DEBUG - VM ctest-vn2-vm1-73543956 ID is a9c3bae2-411c-4812-9742-e1e8575ff7f2 2026-01-22 16:11:59,553 - DEBUG - VM ctest-vn2-vm1-73543956 launched on Node an-jenkins-deploy-platform-ansible-os-5062-1 2026-01-22 16:11:59,638 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/a9c3bae2-411c-4812-9742-e1e8575ff7f2 2026-01-22 16:11:59,655 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/7b7adc60-0b81-4665-825a-3eab87f3bfaf 2026-01-22 16:12:00,884 - 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=1.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.336 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.336/1.088/1.841/0.752 ms') 2026-01-22 16:12:00,885 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-73543956 passed 2026-01-22 16:12:01,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:12:01,007 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-73543956, IP 27.68.37.3, Port 22 2026-01-22 16:12:01,177 - DEBUG - VM ctest-vn2-vm1-73543956 is ready for SSH connections 2026-01-22 16:12:01,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:12:01,177 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.68.37.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-01-22 16:12:01,177 - DEBUG - ping -s 56 -c 3 -W 1 27.68.37.3 2026-01-22 16:12:06,184 - DEBUG - PING 27.68.37.3 (27.68.37.3): 56 data bytes --- 27.68.37.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-22 16:12:06,184 - WARNING - Ping to IP 27.68.37.3 from VM ctest-vn1-vm1-63523136 failed 2026-01-22 16:12:06,184 - INFO - Adding interface with subnet_id d4e7180c-28eb-4bf8-97f0-57e2a2b84b9f, port_id None to router 609abe2b-2531-4f52-b3c8-a8f0da1cba9d 2026-01-22 16:12:06,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:12:06,706 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.68.37.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-01-22 16:12:06,706 - DEBUG - ping -s 56 -c 3 -W 1 27.68.37.3 2026-01-22 16:12:08,923 - DEBUG - PING 27.68.37.3 (27.68.37.3): 56 data bytes 64 bytes from 27.68.37.3: seq=0 ttl=63 time=4.821 ms 64 bytes from 27.68.37.3: seq=1 ttl=63 time=1.255 ms 64 bytes from 27.68.37.3: seq=2 ttl=63 time=1.274 ms --- 27.68.37.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.255/2.450/4.821 ms 2026-01-22 16:12:08,924 - INFO - Ping to IP 27.68.37.3 from VM ctest-vn1-vm1-63523136 passed 2026-01-22 16:12:08,924 - INFO - Deleting interface with subnet_id 92201986-1f25-44e8-a057-b02f907788e0, port_id None from router 609abe2b-2531-4f52-b3c8-a8f0da1cba9d 2026-01-22 16:12:09,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:12:09,230 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.68.37.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-01-22 16:12:09,230 - DEBUG - ping -s 56 -c 3 -W 1 27.68.37.3 2026-01-22 16:12:12,454 - DEBUG - PING 27.68.37.3 (27.68.37.3): 56 data bytes --- 27.68.37.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-22 16:12:12,454 - WARNING - Ping to IP 27.68.37.3 from VM ctest-vn1-vm1-63523136 failed 2026-01-22 16:12:12,454 - INFO - Adding interface with subnet_id 92201986-1f25-44e8-a057-b02f907788e0, port_id None to router 609abe2b-2531-4f52-b3c8-a8f0da1cba9d 2026-01-22 16:12:12,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:12:12,930 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.68.37.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-01-22 16:12:12,930 - DEBUG - ping -s 56 -c 3 -W 1 27.68.37.3 2026-01-22 16:12:15,134 - DEBUG - PING 27.68.37.3 (27.68.37.3): 56 data bytes 64 bytes from 27.68.37.3: seq=0 ttl=63 time=2.664 ms 64 bytes from 27.68.37.3: seq=1 ttl=63 time=1.121 ms 64 bytes from 27.68.37.3: seq=2 ttl=63 time=1.235 ms --- 27.68.37.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.121/1.673/2.664 ms 2026-01-22 16:12:15,134 - INFO - Ping to IP 27.68.37.3 from VM ctest-vn1-vm1-63523136 passed 2026-01-22 16:12:15,134 - INFO - Deleting interface with subnet_id d4e7180c-28eb-4bf8-97f0-57e2a2b84b9f, port_id None from router 609abe2b-2531-4f52-b3c8-a8f0da1cba9d 2026-01-22 16:12:15,457 - INFO - Deleting interface with subnet_id 92201986-1f25-44e8-a057-b02f907788e0, port_id None from router 609abe2b-2531-4f52-b3c8-a8f0da1cba9d 2026-01-22 16:12:15,829 - INFO - Deleting VM ctest-vn2-vm1-73543956 2026-01-22 16:12:15,917 - INFO - Deleting VM ctest-vn1-vm1-63523136 2026-01-22 16:12:15,983 - INFO - Deleting VN ctest-vn2-15683636 2026-01-22 16:12:16,030 - DEBUG - VN 3818c0ef-12ab-4b0c-a039-6b78ad13bd90 still in use: Unable to complete operation on network 3818c0ef-12ab-4b0c-a039-6b78ad13bd90. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1239271a-d501-4a6c-9a88-933428aa262a'] 2026-01-22 16:12:16,030 - WARNING - Deleting VN ctest-vn2-15683636 failed..Will retry 2026-01-22 16:12:18,206 - DEBUG - Response for deleting network () 2026-01-22 16:12:18,206 - INFO - Deleting VN ctest-vn1-99457539 2026-01-22 16:12:18,417 - DEBUG - Response for deleting network () 2026-01-22 16:12:19,720 - DEBUG - No XMPP flaps were noticed during the test
2026-01-22 16:12:19,721 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2026-01-22 16:12:19,721 - INFO - -------------------------------------------------------------------------------- 2026-01-22 16:12:20,641 - INFO - Deleted project: ctest-TestRouters-46485660, ID : a6776789-3d74-4a1e-bb39-27182ed71331