2026-01-21 19:25:19,700 - INFO - Domain Default found not creating 2026-01-21 19:25:19,879 - INFO - Project ctest-TestRouters-58984737 not found, creating it 2026-01-21 19:25:20,510 - INFO - Created Project:ctest-TestRouters-58984737, ID : dc9ff62a-f33b-410d-8a49-415c32e1681d 2026-01-21 19:25:22,368 - INFO - ================================================================================ 2026-01-21 19:25:22,368 - INFO - STARTING TEST : test_basic_router_behavior 2026-01-21 19:25:22,368 - 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-21 19:25:23,696 - WARNING - Test is running with cores: {'10.0.0.22': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5053-2.1769021933']} 2026-01-21 19:25:23,712 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.18': '0', '10.20.0.14': '0'}, '10.0.0.27': {'10.20.0.18': '0', '10.20.0.254': '0'}} with 2026-01-21 19:25:23,712 - INFO - Initial checks done. Running the testcase now 2026-01-21 19:25:23,712 - INFO - 2026-01-21 19:25:24,429 - DEBUG - Response for create_network : {'network': {'id': 'cc70aa57-bc7a-4d8d-a4cf-bb39a9227bc8', 'name': 'ctest-vn1-95875994', 'tenant_id': 'dc9ff62af33b410d8a49415c32e1681d', 'project_id': 'dc9ff62af33b410d8a49415c32e1681d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-58984737', 'ctest-vn1-95875994'], 'port_security_enabled': True, 'description': ''}} 2026-01-21 19:25:24,756 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9e22178-9021-4b45-9b1f-b2aaef7a3413', 'name': '', 'tenant_id': 'dc9ff62af33b410d8a49415c32e1681d', 'network_id': 'cc70aa57-bc7a-4d8d-a4cf-bb39a9227bc8', 'ip_version': 4, 'cidr': '196.184.165.128/26', 'allocation_pools': [{'start': '196.184.165.130', 'end': '196.184.165.190'}], 'gateway_ip': '196.184.165.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.184.165.130', 'tags': [], 'project_id': 'dc9ff62af33b410d8a49415c32e1681d'}} 2026-01-21 19:25:24,778 - INFO - Created VN ctest-vn1-95875994 2026-01-21 19:25:24,792 - DEBUG - VN ctest-vn1-95875994 UUID is cc70aa57-bc7a-4d8d-a4cf-bb39a9227bc8 2026-01-21 19:25:25,268 - DEBUG - Response for create_network : {'network': {'id': '7c31b951-9168-4506-a867-0aa459fa4631', 'name': 'ctest-vn2-06624485', 'tenant_id': 'dc9ff62af33b410d8a49415c32e1681d', 'project_id': 'dc9ff62af33b410d8a49415c32e1681d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-58984737', 'ctest-vn2-06624485'], 'port_security_enabled': True, 'description': ''}} 2026-01-21 19:25:25,546 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd84c33b9-a20e-4fe2-a231-12d66eb20176', 'name': '', 'tenant_id': 'dc9ff62af33b410d8a49415c32e1681d', 'network_id': '7c31b951-9168-4506-a867-0aa459fa4631', 'ip_version': 4, 'cidr': '105.177.103.192/26', 'allocation_pools': [{'start': '105.177.103.194', 'end': '105.177.103.254'}], 'gateway_ip': '105.177.103.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.177.103.194', 'tags': [], 'project_id': 'dc9ff62af33b410d8a49415c32e1681d'}} 2026-01-21 19:25:25,579 - INFO - Created VN ctest-vn2-06624485 2026-01-21 19:25:25,595 - DEBUG - VN ctest-vn2-06624485 UUID is 7c31b951-9168-4506-a867-0aa459fa4631 2026-01-21 19:25:25,736 - DEBUG - Services list from nova: [, , , ] 2026-01-21 19:25:26,946 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5053-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5053-1) 2026-01-21 19:25:28,425 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5053-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5053-2) 2026-01-21 19:25:28,574 - INFO - Adding interface with subnet_id d9e22178-9021-4b45-9b1f-b2aaef7a3413, port_id None to router 80642fc3-62ae-4d66-b850-5dfe56630cd9 2026-01-21 19:25:29,226 - INFO - Waiting for VM ctest-vn1-vm1-69812648 to be up.. 2026-01-21 19:25:29,386 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-21 19:25:34,478 - DEBUG - VM is in ACTIVE state now 2026-01-21 19:25:34,478 - INFO - VM name : ctest-vn1-vm1-69812648 2026-01-21 19:25:34,563 - DEBUG - VM ctest-vn1-vm1-69812648 ID is f81b4458-3012-4fa4-b0ba-4285c720dbde 2026-01-21 19:25:34,586 - DEBUG - VM ctest-vn1-vm1-69812648 launched on Node an-jenkins-deploy-platform-ansible-os-5053-1 2026-01-21 19:25:34,683 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f81b4458-3012-4fa4-b0ba-4285c720dbde 2026-01-21 19:25:34,980 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f81b4458-3012-4fa4-b0ba-4285c720dbde 2026-01-21 19:25:35,019 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/1f6320db-e867-4e0e-b9b2-e3948ea2a158 2026-01-21 19:25:38,250 - 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 1006ms') 2026-01-21 19:25:38,250 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69812648 failed! 2026-01-21 19:25:38,264 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-58984737:ctest-vn1-95875994 is 196.184.165.129 and allocation pool is NOT set 2026-01-21 19:25:40,320 - 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=8.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.529 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.529/4.537/8.545/4.008 ms') 2026-01-21 19:25:40,320 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69812648 passed 2026-01-21 19:25:40,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-21 19:25:40,439 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-69812648, IP 196.184.165.131, Port 22 2026-01-21 19:25:40,607 - DEBUG - VM ctest-vn1-vm1-69812648 is ready for SSH connections 2026-01-21 19:25:40,608 - INFO - Waiting for VM ctest-vn2-vm1-32076501 to be up.. 2026-01-21 19:25:40,714 - DEBUG - VM is in ACTIVE state now 2026-01-21 19:25:40,714 - INFO - VM name : ctest-vn2-vm1-32076501 2026-01-21 19:25:40,825 - DEBUG - VM ctest-vn2-vm1-32076501 ID is d72fbe4d-ee98-460e-80fa-9182def2ad65 2026-01-21 19:25:40,825 - DEBUG - VM ctest-vn2-vm1-32076501 launched on Node an-jenkins-deploy-platform-ansible-os-5053-2 2026-01-21 19:25:40,946 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d72fbe4d-ee98-460e-80fa-9182def2ad65 2026-01-21 19:25:40,958 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/76025ac6-5815-4a9d-99bc-de0843d9b1d6 2026-01-21 19:25:42,170 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.459 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.459/2.065/3.671/1.606 ms') 2026-01-21 19:25:42,170 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-32076501 passed 2026-01-21 19:25:42,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-21 19:25:42,287 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-32076501, IP 105.177.103.195, Port 22 2026-01-21 19:25:42,461 - DEBUG - VM ctest-vn2-vm1-32076501 is ready for SSH connections 2026-01-21 19:25:42,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-21 19:25:42,461 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.177.103.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-01-21 19:25:42,462 - DEBUG - ping -s 56 -c 3 -W 1 105.177.103.195 2026-01-21 19:25:47,399 - DEBUG - PING 105.177.103.195 (105.177.103.195): 56 data bytes --- 105.177.103.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-21 19:25:47,400 - WARNING - Ping to IP 105.177.103.195 from VM ctest-vn1-vm1-69812648 failed 2026-01-21 19:25:47,400 - INFO - Adding interface with subnet_id d84c33b9-a20e-4fe2-a231-12d66eb20176, port_id None to router 80642fc3-62ae-4d66-b850-5dfe56630cd9 2026-01-21 19:25:48,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-21 19:25:48,000 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.177.103.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-01-21 19:25:48,000 - DEBUG - ping -s 56 -c 3 -W 1 105.177.103.195 2026-01-21 19:25:50,215 - DEBUG - PING 105.177.103.195 (105.177.103.195): 56 data bytes 64 bytes from 105.177.103.195: seq=0 ttl=63 time=4.706 ms 64 bytes from 105.177.103.195: seq=1 ttl=63 time=1.856 ms 64 bytes from 105.177.103.195: seq=2 ttl=63 time=1.240 ms --- 105.177.103.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.240/2.600/4.706 ms 2026-01-21 19:25:50,215 - INFO - Ping to IP 105.177.103.195 from VM ctest-vn1-vm1-69812648 passed 2026-01-21 19:25:50,215 - INFO - Deleting interface with subnet_id d9e22178-9021-4b45-9b1f-b2aaef7a3413, port_id None from router 80642fc3-62ae-4d66-b850-5dfe56630cd9 2026-01-21 19:25:50,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-21 19:25:50,586 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.177.103.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-01-21 19:25:50,586 - DEBUG - ping -s 56 -c 3 -W 1 105.177.103.195 2026-01-21 19:25:53,788 - DEBUG - PING 105.177.103.195 (105.177.103.195): 56 data bytes --- 105.177.103.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-21 19:25:53,788 - WARNING - Ping to IP 105.177.103.195 from VM ctest-vn1-vm1-69812648 failed 2026-01-21 19:25:53,788 - INFO - Adding interface with subnet_id d9e22178-9021-4b45-9b1f-b2aaef7a3413, port_id None to router 80642fc3-62ae-4d66-b850-5dfe56630cd9 2026-01-21 19:25:54,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-21 19:25:54,266 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.177.103.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-01-21 19:25:54,266 - DEBUG - ping -s 56 -c 3 -W 1 105.177.103.195 2026-01-21 19:25:56,483 - DEBUG - PING 105.177.103.195 (105.177.103.195): 56 data bytes 64 bytes from 105.177.103.195: seq=0 ttl=63 time=3.034 ms 64 bytes from 105.177.103.195: seq=1 ttl=63 time=1.028 ms 64 bytes from 105.177.103.195: seq=2 ttl=63 time=0.916 ms --- 105.177.103.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.916/1.659/3.034 ms 2026-01-21 19:25:56,483 - INFO - Ping to IP 105.177.103.195 from VM ctest-vn1-vm1-69812648 passed 2026-01-21 19:25:56,483 - INFO - Deleting interface with subnet_id d84c33b9-a20e-4fe2-a231-12d66eb20176, port_id None from router 80642fc3-62ae-4d66-b850-5dfe56630cd9 2026-01-21 19:25:56,758 - INFO - Deleting interface with subnet_id d9e22178-9021-4b45-9b1f-b2aaef7a3413, port_id None from router 80642fc3-62ae-4d66-b850-5dfe56630cd9 2026-01-21 19:25:57,179 - INFO - Deleting VM ctest-vn2-vm1-32076501 2026-01-21 19:25:57,305 - INFO - Deleting VM ctest-vn1-vm1-69812648 2026-01-21 19:25:57,384 - INFO - Deleting VN ctest-vn2-06624485 2026-01-21 19:25:57,434 - DEBUG - VN 7c31b951-9168-4506-a867-0aa459fa4631 still in use: Unable to complete operation on network 7c31b951-9168-4506-a867-0aa459fa4631. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b793b047-d20e-4a34-b08e-03a6896ead65'] 2026-01-21 19:25:57,434 - WARNING - Deleting VN ctest-vn2-06624485 failed..Will retry 2026-01-21 19:25:59,622 - DEBUG - Response for deleting network () 2026-01-21 19:25:59,622 - INFO - Deleting VN ctest-vn1-95875994 2026-01-21 19:25:59,856 - DEBUG - Response for deleting network () 2026-01-21 19:26:01,193 - DEBUG - No XMPP flaps were noticed during the test
2026-01-21 19:26:01,194 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2026-01-21 19:26:01,194 - INFO - -------------------------------------------------------------------------------- 2026-01-21 19:26:02,026 - INFO - Deleted project: ctest-TestRouters-58984737, ID : dc9ff62a-f33b-410d-8a49-415c32e1681d