2025-10-20 14:52:09,748 - INFO - Domain Default found not creating 2025-10-20 14:52:09,916 - INFO - Project ctest-TestRouters-86021560 not found, creating it 2025-10-20 14:52:10,379 - INFO - Created Project:ctest-TestRouters-86021560, ID : aa6a2bb5-32f3-4c41-a6e7-d475f2607525 2025-10-20 14:52:11,868 - INFO - ================================================================================ 2025-10-20 14:52:11,868 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-20 14:52:11,868 - 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 2025-10-20 14:52:12,131 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-20 14:52:12,131 - INFO - Initial checks done. Running the testcase now 2025-10-20 14:52:12,131 - INFO - 2025-10-20 14:52:12,669 - DEBUG - Response for create_network : {'network': {'id': '3d07c602-c37f-4fe1-a154-45c67f5cea89', 'name': 'ctest-vn1-17912643', 'tenant_id': 'aa6a2bb532f34c41a6e7d475f2607525', 'project_id': 'aa6a2bb532f34c41a6e7d475f2607525', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-86021560', 'ctest-vn1-17912643'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 14:52:12,895 - DEBUG - Response for create_subnet : {'subnet': {'id': '21b564aa-7b26-4175-9664-ff5a82385399', 'name': '', 'tenant_id': 'aa6a2bb532f34c41a6e7d475f2607525', 'network_id': '3d07c602-c37f-4fe1-a154-45c67f5cea89', 'ip_version': 4, 'cidr': '58.153.111.192/26', 'allocation_pools': [{'start': '58.153.111.194', 'end': '58.153.111.254'}], 'gateway_ip': '58.153.111.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.153.111.194', 'tags': [], 'project_id': 'aa6a2bb532f34c41a6e7d475f2607525'}} 2025-10-20 14:52:12,912 - INFO - Created VN ctest-vn1-17912643 2025-10-20 14:52:12,962 - DEBUG - VN ctest-vn1-17912643 UUID is 3d07c602-c37f-4fe1-a154-45c67f5cea89 2025-10-20 14:52:13,332 - DEBUG - Response for create_network : {'network': {'id': 'a5314c31-6c36-4c9a-8e94-d208607c0723', 'name': 'ctest-vn2-52679895', 'tenant_id': 'aa6a2bb532f34c41a6e7d475f2607525', 'project_id': 'aa6a2bb532f34c41a6e7d475f2607525', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-86021560', 'ctest-vn2-52679895'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 14:52:13,583 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b75e7b5-7932-4687-94fa-cd7f30a12212', 'name': '', 'tenant_id': 'aa6a2bb532f34c41a6e7d475f2607525', 'network_id': 'a5314c31-6c36-4c9a-8e94-d208607c0723', 'ip_version': 4, 'cidr': '52.76.143.0/26', 'allocation_pools': [{'start': '52.76.143.2', 'end': '52.76.143.62'}], 'gateway_ip': '52.76.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.76.143.2', 'tags': [], 'project_id': 'aa6a2bb532f34c41a6e7d475f2607525'}} 2025-10-20 14:52:13,601 - INFO - Created VN ctest-vn2-52679895 2025-10-20 14:52:13,658 - DEBUG - VN ctest-vn2-52679895 UUID is a5314c31-6c36-4c9a-8e94-d208607c0723 2025-10-20 14:52:13,849 - DEBUG - Services list from nova: [, , ] 2025-10-20 14:52:14,832 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4380-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4380-1) 2025-10-20 14:52:16,060 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4380-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4380-1) 2025-10-20 14:52:16,131 - INFO - Adding interface with subnet_id 21b564aa-7b26-4175-9664-ff5a82385399, port_id None to router c06f93c4-29ac-41c7-91f3-206b0b63f407 2025-10-20 14:52:16,412 - INFO - Waiting for VM ctest-vn1-vm1-23738549 to be up.. 2025-10-20 14:52:16,532 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 14:52:21,608 - DEBUG - VM is in ACTIVE state now 2025-10-20 14:52:21,608 - INFO - VM name : ctest-vn1-vm1-23738549 2025-10-20 14:52:21,681 - DEBUG - VM ctest-vn1-vm1-23738549 ID is c7c46e67-a93f-44ac-a435-603ebe35fed0 2025-10-20 14:52:21,703 - DEBUG - VM ctest-vn1-vm1-23738549 launched on Node cn-jenkins-deploy-platform-ansible-os-4380-1 2025-10-20 14:52:21,782 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c7c46e67-a93f-44ac-a435-603ebe35fed0 2025-10-20 14:52:22,074 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c7c46e67-a93f-44ac-a435-603ebe35fed0 2025-10-20 14:52:22,104 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/03cd33c5-18f6-4b67-a035-8b0febe7df44 2025-10-20 14:52:25,366 - 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 1031ms') 2025-10-20 14:52:25,366 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23738549 failed! 2025-10-20 14:52:25,426 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-86021560:ctest-vn1-17912643 is 58.153.111.193 and allocation pool is NOT set 2025-10-20 14:52:27,486 - 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=2.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.467 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.467/1.575/2.684/1.108 ms') 2025-10-20 14:52:27,486 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23738549 passed 2025-10-20 14:52:27,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 14:52:27,635 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23738549, IP 58.153.111.195, Port 22 2025-10-20 14:52:27,794 - DEBUG - VM ctest-vn1-vm1-23738549 is ready for SSH connections 2025-10-20 14:52:27,794 - INFO - Waiting for VM ctest-vn2-vm1-99896963 to be up.. 2025-10-20 14:52:27,861 - DEBUG - VM is in ACTIVE state now 2025-10-20 14:52:27,862 - INFO - VM name : ctest-vn2-vm1-99896963 2025-10-20 14:52:27,932 - DEBUG - VM ctest-vn2-vm1-99896963 ID is 1095c1b5-fcf1-4f55-818f-42b4236f8200 2025-10-20 14:52:27,932 - DEBUG - VM ctest-vn2-vm1-99896963 launched on Node cn-jenkins-deploy-platform-ansible-os-4380-1 2025-10-20 14:52:27,999 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1095c1b5-fcf1-4f55-818f-42b4236f8200 2025-10-20 14:52:28,006 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5afe7ba5-63ff-40ee-811c-46bedbe0c050 2025-10-20 14:52:29,243 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.461 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.461/1.579/2.698/1.118 ms') 2025-10-20 14:52:29,243 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-99896963 passed 2025-10-20 14:52:29,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 14:52:29,395 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-99896963, IP 52.76.143.3, Port 22 2025-10-20 14:52:29,550 - DEBUG - VM ctest-vn2-vm1-99896963 is ready for SSH connections 2025-10-20 14:52:29,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 14:52:29,550 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.76.143.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-20 14:52:29,550 - DEBUG - ping -s 56 -c 3 -W 1 52.76.143.3 2025-10-20 14:52:34,359 - DEBUG - PING 52.76.143.3 (52.76.143.3): 56 data bytes --- 52.76.143.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-20 14:52:34,359 - WARNING - Ping to IP 52.76.143.3 from VM ctest-vn1-vm1-23738549 failed 2025-10-20 14:52:34,359 - INFO - Adding interface with subnet_id 7b75e7b5-7932-4687-94fa-cd7f30a12212, port_id None to router c06f93c4-29ac-41c7-91f3-206b0b63f407 2025-10-20 14:52:34,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 14:52:34,578 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.76.143.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-20 14:52:34,578 - DEBUG - ping -s 56 -c 3 -W 1 52.76.143.3 2025-10-20 14:52:37,784 - DEBUG - PING 52.76.143.3 (52.76.143.3): 56 data bytes 64 bytes from 52.76.143.3: seq=1 ttl=63 time=2.463 ms 64 bytes from 52.76.143.3: seq=2 ttl=63 time=0.907 ms --- 52.76.143.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.907/1.685/2.463 ms 2025-10-20 14:52:37,784 - WARNING - Ping to IP 52.76.143.3 from VM ctest-vn1-vm1-23738549 failed 2025-10-20 14:52:38,785 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.76.143.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-20 14:52:38,785 - DEBUG - ping -s 56 -c 3 -W 1 52.76.143.3 2025-10-20 14:52:40,975 - DEBUG - PING 52.76.143.3 (52.76.143.3): 56 data bytes 64 bytes from 52.76.143.3: seq=0 ttl=63 time=1.477 ms 64 bytes from 52.76.143.3: seq=1 ttl=63 time=0.930 ms 64 bytes from 52.76.143.3: seq=2 ttl=63 time=0.955 ms --- 52.76.143.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.930/1.120/1.477 ms 2025-10-20 14:52:40,975 - INFO - Ping to IP 52.76.143.3 from VM ctest-vn1-vm1-23738549 passed 2025-10-20 14:52:40,975 - INFO - Deleting interface with subnet_id 21b564aa-7b26-4175-9664-ff5a82385399, port_id None from router c06f93c4-29ac-41c7-91f3-206b0b63f407 2025-10-20 14:52:41,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 14:52:41,101 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.76.143.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-20 14:52:41,101 - DEBUG - ping -s 56 -c 3 -W 1 52.76.143.3 2025-10-20 14:52:44,312 - DEBUG - PING 52.76.143.3 (52.76.143.3): 56 data bytes --- 52.76.143.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-20 14:52:44,312 - WARNING - Ping to IP 52.76.143.3 from VM ctest-vn1-vm1-23738549 failed 2025-10-20 14:52:44,312 - INFO - Adding interface with subnet_id 21b564aa-7b26-4175-9664-ff5a82385399, port_id None to router c06f93c4-29ac-41c7-91f3-206b0b63f407 2025-10-20 14:52:44,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 14:52:44,520 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.76.143.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-20 14:52:44,520 - DEBUG - ping -s 56 -c 3 -W 1 52.76.143.3 2025-10-20 14:52:46,762 - DEBUG - PING 52.76.143.3 (52.76.143.3): 56 data bytes 64 bytes from 52.76.143.3: seq=0 ttl=63 time=1.753 ms 64 bytes from 52.76.143.3: seq=1 ttl=63 time=0.851 ms 64 bytes from 52.76.143.3: seq=2 ttl=63 time=0.986 ms --- 52.76.143.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.851/1.196/1.753 ms 2025-10-20 14:52:46,762 - INFO - Ping to IP 52.76.143.3 from VM ctest-vn1-vm1-23738549 passed 2025-10-20 14:52:46,762 - INFO - Deleting interface with subnet_id 7b75e7b5-7932-4687-94fa-cd7f30a12212, port_id None from router c06f93c4-29ac-41c7-91f3-206b0b63f407 2025-10-20 14:52:46,907 - INFO - Deleting interface with subnet_id 21b564aa-7b26-4175-9664-ff5a82385399, port_id None from router c06f93c4-29ac-41c7-91f3-206b0b63f407 2025-10-20 14:52:47,113 - INFO - Deleting VM ctest-vn2-vm1-99896963 2025-10-20 14:52:47,207 - INFO - Deleting VM ctest-vn1-vm1-23738549 2025-10-20 14:52:47,286 - INFO - Deleting VN ctest-vn2-52679895 2025-10-20 14:52:47,326 - DEBUG - VN a5314c31-6c36-4c9a-8e94-d208607c0723 still in use: Unable to complete operation on network a5314c31-6c36-4c9a-8e94-d208607c0723. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ca12a46-42a9-426a-b99e-6f0b0db895e7'] 2025-10-20 14:52:47,326 - WARNING - Deleting VN ctest-vn2-52679895 failed..Will retry 2025-10-20 14:52:49,418 - DEBUG - Response for deleting network () 2025-10-20 14:52:49,418 - INFO - Deleting VN ctest-vn1-17912643 2025-10-20 14:52:49,515 - DEBUG - Response for deleting network () 2025-10-20 14:52:49,767 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 14:52:49,767 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-10-20 14:52:49,767 - INFO - -------------------------------------------------------------------------------- 2025-10-20 14:52:50,432 - INFO - Deleted project: ctest-TestRouters-86021560, ID : aa6a2bb5-32f3-4c41-a6e7-d475f2607525