2025-10-24 13:19:06,276 - INFO - Domain Default found not creating 2025-10-24 13:19:06,419 - INFO - Project ctest-TestRouters-69289194 not found, creating it 2025-10-24 13:19:06,884 - INFO - Created Project:ctest-TestRouters-69289194, ID : b81518f5-2d57-413e-9cbd-6292a7c551ed 2025-10-24 13:19:08,317 - INFO - ================================================================================ 2025-10-24 13:19:08,317 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-24 13:19:08,317 - 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-24 13:19:08,570 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-24 13:19:08,570 - INFO - Initial checks done. Running the testcase now 2025-10-24 13:19:08,570 - INFO - 2025-10-24 13:19:09,177 - DEBUG - Response for create_network : {'network': {'id': 'b71cfb45-0b79-4948-9fab-88ebe2119924', 'name': 'ctest-vn1-09291262', 'tenant_id': 'b81518f52d57413e9cbd6292a7c551ed', 'project_id': 'b81518f52d57413e9cbd6292a7c551ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-69289194', 'ctest-vn1-09291262'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 13:19:09,403 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5060e90-4472-4439-82a2-df9852dfbe7e', 'name': '', 'tenant_id': 'b81518f52d57413e9cbd6292a7c551ed', 'network_id': 'b71cfb45-0b79-4948-9fab-88ebe2119924', 'ip_version': 4, 'cidr': '151.200.105.64/26', 'allocation_pools': [{'start': '151.200.105.66', 'end': '151.200.105.126'}], 'gateway_ip': '151.200.105.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.200.105.66', 'tags': [], 'project_id': 'b81518f52d57413e9cbd6292a7c551ed'}} 2025-10-24 13:19:09,422 - INFO - Created VN ctest-vn1-09291262 2025-10-24 13:19:09,477 - DEBUG - VN ctest-vn1-09291262 UUID is b71cfb45-0b79-4948-9fab-88ebe2119924 2025-10-24 13:19:09,876 - DEBUG - Response for create_network : {'network': {'id': '6c85332e-fe8e-4501-8b1e-038fd7bd88e7', 'name': 'ctest-vn2-08580018', 'tenant_id': 'b81518f52d57413e9cbd6292a7c551ed', 'project_id': 'b81518f52d57413e9cbd6292a7c551ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-69289194', 'ctest-vn2-08580018'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 13:19:10,119 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a243e35-ad65-4f7f-994e-63982518a68b', 'name': '', 'tenant_id': 'b81518f52d57413e9cbd6292a7c551ed', 'network_id': '6c85332e-fe8e-4501-8b1e-038fd7bd88e7', 'ip_version': 4, 'cidr': '154.89.40.64/26', 'allocation_pools': [{'start': '154.89.40.66', 'end': '154.89.40.126'}], 'gateway_ip': '154.89.40.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.89.40.66', 'tags': [], 'project_id': 'b81518f52d57413e9cbd6292a7c551ed'}} 2025-10-24 13:19:10,142 - INFO - Created VN ctest-vn2-08580018 2025-10-24 13:19:10,197 - DEBUG - VN ctest-vn2-08580018 UUID is 6c85332e-fe8e-4501-8b1e-038fd7bd88e7 2025-10-24 13:19:10,427 - DEBUG - Services list from nova: [, , ] 2025-10-24 13:19:11,430 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4476-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4476-1) 2025-10-24 13:19:12,669 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4476-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4476-1) 2025-10-24 13:19:12,746 - INFO - Adding interface with subnet_id f5060e90-4472-4439-82a2-df9852dfbe7e, port_id None to router e6ead110-5307-4f7e-801e-362c471e94ff 2025-10-24 13:19:13,028 - INFO - Waiting for VM ctest-vn1-vm1-98372358 to be up.. 2025-10-24 13:19:13,118 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 13:19:18,191 - DEBUG - VM is in ACTIVE state now 2025-10-24 13:19:18,191 - INFO - VM name : ctest-vn1-vm1-98372358 2025-10-24 13:19:18,258 - DEBUG - VM ctest-vn1-vm1-98372358 ID is 5ec3aa07-e28f-4ad2-9c3e-7e8dee42d3ec 2025-10-24 13:19:18,278 - DEBUG - VM ctest-vn1-vm1-98372358 launched on Node cn-jenkins-deploy-platform-ansible-os-4476-1 2025-10-24 13:19:18,356 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5ec3aa07-e28f-4ad2-9c3e-7e8dee42d3ec 2025-10-24 13:19:18,645 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5ec3aa07-e28f-4ad2-9c3e-7e8dee42d3ec 2025-10-24 13:19:18,675 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/33dc7a69-57f5-47d3-80cd-35b8250f737b 2025-10-24 13:19:21,923 - 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 1011ms') 2025-10-24 13:19:21,923 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98372358 failed! 2025-10-24 13:19:21,977 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-69289194:ctest-vn1-09291262 is 151.200.105.65 and allocation pool is NOT set 2025-10-24 13:19:24,032 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.612 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.612/1.738/2.864/1.126 ms') 2025-10-24 13:19:24,032 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98372358 passed 2025-10-24 13:19:24,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 13:19:24,181 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-98372358, IP 151.200.105.67, Port 22 2025-10-24 13:19:24,343 - DEBUG - VM ctest-vn1-vm1-98372358 is ready for SSH connections 2025-10-24 13:19:24,343 - INFO - Waiting for VM ctest-vn2-vm1-40336804 to be up.. 2025-10-24 13:19:24,418 - DEBUG - VM is in ACTIVE state now 2025-10-24 13:19:24,418 - INFO - VM name : ctest-vn2-vm1-40336804 2025-10-24 13:19:24,499 - DEBUG - VM ctest-vn2-vm1-40336804 ID is 79ef5ac7-c545-45b9-8a2a-f57fc7e3bb52 2025-10-24 13:19:24,500 - DEBUG - VM ctest-vn2-vm1-40336804 launched on Node cn-jenkins-deploy-platform-ansible-os-4476-1 2025-10-24 13:19:24,569 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/79ef5ac7-c545-45b9-8a2a-f57fc7e3bb52 2025-10-24 13:19:24,577 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/da96251c-050a-4dee-9bd7-7f9ac1342f21 2025-10-24 13:19:25,810 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/1.587/2.739/1.151 ms') 2025-10-24 13:19:25,810 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-40336804 passed 2025-10-24 13:19:25,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 13:19:25,957 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-40336804, IP 154.89.40.67, Port 22 2025-10-24 13:19:26,112 - DEBUG - VM ctest-vn2-vm1-40336804 is ready for SSH connections 2025-10-24 13:19:26,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 13:19:26,112 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.89.40.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 13:19:26,112 - DEBUG - ping -s 56 -c 3 -W 1 154.89.40.67 2025-10-24 13:19:30,764 - DEBUG - PING 154.89.40.67 (154.89.40.67): 56 data bytes --- 154.89.40.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-24 13:19:30,764 - WARNING - Ping to IP 154.89.40.67 from VM ctest-vn1-vm1-98372358 failed 2025-10-24 13:19:30,764 - INFO - Adding interface with subnet_id 0a243e35-ad65-4f7f-994e-63982518a68b, port_id None to router e6ead110-5307-4f7e-801e-362c471e94ff 2025-10-24 13:19:31,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 13:19:31,020 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.89.40.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 13:19:31,020 - DEBUG - ping -s 56 -c 3 -W 1 154.89.40.67 2025-10-24 13:19:33,228 - DEBUG - PING 154.89.40.67 (154.89.40.67): 56 data bytes 64 bytes from 154.89.40.67: seq=0 ttl=63 time=2.441 ms 64 bytes from 154.89.40.67: seq=1 ttl=63 time=0.867 ms 64 bytes from 154.89.40.67: seq=2 ttl=63 time=0.915 ms --- 154.89.40.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.867/1.407/2.441 ms 2025-10-24 13:19:33,228 - INFO - Ping to IP 154.89.40.67 from VM ctest-vn1-vm1-98372358 passed 2025-10-24 13:19:33,228 - INFO - Deleting interface with subnet_id f5060e90-4472-4439-82a2-df9852dfbe7e, port_id None from router e6ead110-5307-4f7e-801e-362c471e94ff 2025-10-24 13:19:33,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 13:19:33,327 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.89.40.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 13:19:33,327 - DEBUG - ping -s 56 -c 3 -W 1 154.89.40.67 2025-10-24 13:19:36,531 - DEBUG - PING 154.89.40.67 (154.89.40.67): 56 data bytes --- 154.89.40.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-24 13:19:36,531 - WARNING - Ping to IP 154.89.40.67 from VM ctest-vn1-vm1-98372358 failed 2025-10-24 13:19:36,532 - INFO - Adding interface with subnet_id f5060e90-4472-4439-82a2-df9852dfbe7e, port_id None to router e6ead110-5307-4f7e-801e-362c471e94ff 2025-10-24 13:19:36,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 13:19:36,739 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.89.40.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 13:19:36,739 - DEBUG - ping -s 56 -c 3 -W 1 154.89.40.67 2025-10-24 13:19:39,951 - DEBUG - PING 154.89.40.67 (154.89.40.67): 56 data bytes 64 bytes from 154.89.40.67: seq=1 ttl=63 time=1.398 ms 64 bytes from 154.89.40.67: seq=2 ttl=63 time=0.912 ms --- 154.89.40.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.912/1.155/1.398 ms 2025-10-24 13:19:39,951 - WARNING - Ping to IP 154.89.40.67 from VM ctest-vn1-vm1-98372358 failed 2025-10-24 13:19:40,952 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.89.40.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 13:19:40,952 - DEBUG - ping -s 56 -c 3 -W 1 154.89.40.67 2025-10-24 13:19:43,161 - DEBUG - PING 154.89.40.67 (154.89.40.67): 56 data bytes 64 bytes from 154.89.40.67: seq=0 ttl=63 time=1.588 ms 64 bytes from 154.89.40.67: seq=1 ttl=63 time=0.828 ms 64 bytes from 154.89.40.67: seq=2 ttl=63 time=0.920 ms --- 154.89.40.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.828/1.112/1.588 ms 2025-10-24 13:19:43,161 - INFO - Ping to IP 154.89.40.67 from VM ctest-vn1-vm1-98372358 passed 2025-10-24 13:19:43,161 - INFO - Deleting interface with subnet_id 0a243e35-ad65-4f7f-994e-63982518a68b, port_id None from router e6ead110-5307-4f7e-801e-362c471e94ff 2025-10-24 13:19:43,275 - INFO - Deleting interface with subnet_id f5060e90-4472-4439-82a2-df9852dfbe7e, port_id None from router e6ead110-5307-4f7e-801e-362c471e94ff 2025-10-24 13:19:43,442 - INFO - Deleting VM ctest-vn2-vm1-40336804 2025-10-24 13:19:43,510 - INFO - Deleting VM ctest-vn1-vm1-98372358 2025-10-24 13:19:43,576 - INFO - Deleting VN ctest-vn2-08580018 2025-10-24 13:19:43,616 - DEBUG - VN 6c85332e-fe8e-4501-8b1e-038fd7bd88e7 still in use: Unable to complete operation on network 6c85332e-fe8e-4501-8b1e-038fd7bd88e7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8c722b23-7ebc-4c90-be43-983ee9001c06'] 2025-10-24 13:19:43,616 - WARNING - Deleting VN ctest-vn2-08580018 failed..Will retry 2025-10-24 13:19:45,705 - DEBUG - Response for deleting network () 2025-10-24 13:19:45,705 - INFO - Deleting VN ctest-vn1-09291262 2025-10-24 13:19:45,801 - DEBUG - Response for deleting network () 2025-10-24 13:19:46,054 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 13:19:46,054 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-10-24 13:19:46,054 - INFO - -------------------------------------------------------------------------------- 2025-10-24 13:19:47,010 - INFO - Deleted project: ctest-TestRouters-69289194, ID : b81518f5-2d57-413e-9cbd-6292a7c551ed