2025-08-11 16:02:43,744 - INFO - Domain Default found not creating 2025-08-11 16:02:43,875 - INFO - Project ctest-TestRouters-38388412 not found, creating it 2025-08-11 16:02:44,371 - INFO - Created Project:ctest-TestRouters-38388412, ID : 8bb1224e-6f03-439e-a078-976d75ae7fc2 2025-08-11 16:02:45,995 - INFO - ================================================================================ 2025-08-11 16:02:45,995 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-11 16:02:45,995 - 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-08-11 16:02:46,253 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2025-08-11 16:02:46,253 - INFO - Initial checks done. Running the testcase now 2025-08-11 16:02:46,253 - INFO - 2025-08-11 16:02:46,860 - DEBUG - Response for create_network : {'network': {'id': '923b60e2-4541-4bd9-b34e-34c67deb888b', 'name': 'ctest-vn1-92877037', 'tenant_id': '8bb1224e6f03439ea078976d75ae7fc2', 'project_id': '8bb1224e6f03439ea078976d75ae7fc2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-38388412', 'ctest-vn1-92877037'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 16:02:47,059 - DEBUG - Response for create_subnet : {'subnet': {'id': '36d9ef1d-229d-4d1e-a9a4-c9f8cf0a78aa', 'name': '', 'tenant_id': '8bb1224e6f03439ea078976d75ae7fc2', 'network_id': '923b60e2-4541-4bd9-b34e-34c67deb888b', 'ip_version': 4, 'cidr': '59.4.166.128/26', 'allocation_pools': [{'start': '59.4.166.130', 'end': '59.4.166.190'}], 'gateway_ip': '59.4.166.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.4.166.130', 'tags': [], 'project_id': '8bb1224e6f03439ea078976d75ae7fc2'}} 2025-08-11 16:02:47,079 - INFO - Created VN ctest-vn1-92877037 2025-08-11 16:02:47,135 - DEBUG - VN ctest-vn1-92877037 UUID is 923b60e2-4541-4bd9-b34e-34c67deb888b 2025-08-11 16:02:47,466 - DEBUG - Response for create_network : {'network': {'id': '5497c7dd-1506-45a5-b988-78f72907c7d8', 'name': 'ctest-vn2-48036993', 'tenant_id': '8bb1224e6f03439ea078976d75ae7fc2', 'project_id': '8bb1224e6f03439ea078976d75ae7fc2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-38388412', 'ctest-vn2-48036993'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 16:02:47,705 - DEBUG - Response for create_subnet : {'subnet': {'id': '539d89ab-61f9-4c09-b0a8-f26f2105cf26', 'name': '', 'tenant_id': '8bb1224e6f03439ea078976d75ae7fc2', 'network_id': '5497c7dd-1506-45a5-b988-78f72907c7d8', 'ip_version': 4, 'cidr': '96.43.133.64/26', 'allocation_pools': [{'start': '96.43.133.66', 'end': '96.43.133.126'}], 'gateway_ip': '96.43.133.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.43.133.66', 'tags': [], 'project_id': '8bb1224e6f03439ea078976d75ae7fc2'}} 2025-08-11 16:02:47,732 - INFO - Created VN ctest-vn2-48036993 2025-08-11 16:02:47,787 - DEBUG - VN ctest-vn2-48036993 UUID is 5497c7dd-1506-45a5-b988-78f72907c7d8 2025-08-11 16:02:47,995 - DEBUG - Services list from nova: [, , ] 2025-08-11 16:02:49,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3815-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3815-1) 2025-08-11 16:02:50,429 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3815-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3815-1) 2025-08-11 16:02:50,531 - INFO - Adding interface with subnet_id 36d9ef1d-229d-4d1e-a9a4-c9f8cf0a78aa, port_id None to router 7a239269-f5a4-4462-be20-76d5cf4b95d1 2025-08-11 16:02:50,866 - INFO - Waiting for VM ctest-vn1-vm1-28603892 to be up.. 2025-08-11 16:02:51,016 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 16:02:56,096 - DEBUG - VM is in ACTIVE state now 2025-08-11 16:02:56,096 - INFO - VM name : ctest-vn1-vm1-28603892 2025-08-11 16:02:56,173 - DEBUG - VM ctest-vn1-vm1-28603892 ID is 7023bd00-69e6-49af-ac62-eb0505372f87 2025-08-11 16:02:56,194 - DEBUG - VM ctest-vn1-vm1-28603892 launched on Node cn-jenkins-deploy-platform-ansible-os-3815-1 2025-08-11 16:02:56,265 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7023bd00-69e6-49af-ac62-eb0505372f87 2025-08-11 16:02:56,749 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7023bd00-69e6-49af-ac62-eb0505372f87 2025-08-11 16:02:56,790 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e9690ea1-8bf2-45ca-821d-6a4004457edd 2025-08-11 16:03:00,085 - 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 1026ms') 2025-08-11 16:03:00,085 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28603892 failed! 2025-08-11 16:03:00,143 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-38388412:ctest-vn1-92877037 is 59.4.166.129 and allocation pool is NOT set 2025-08-11 16:03:02,202 - 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=4.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.447 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.447/2.256/4.065/1.809 ms') 2025-08-11 16:03:02,202 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28603892 passed 2025-08-11 16:03:02,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:03:02,355 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28603892, IP 59.4.166.131, Port 22 2025-08-11 16:03:02,518 - DEBUG - VM ctest-vn1-vm1-28603892 is ready for SSH connections 2025-08-11 16:03:02,518 - INFO - Waiting for VM ctest-vn2-vm1-97928936 to be up.. 2025-08-11 16:03:02,594 - DEBUG - VM is in ACTIVE state now 2025-08-11 16:03:02,594 - INFO - VM name : ctest-vn2-vm1-97928936 2025-08-11 16:03:02,668 - DEBUG - VM ctest-vn2-vm1-97928936 ID is a18e9734-4e10-4bb3-bf93-b49351eb2fd8 2025-08-11 16:03:02,668 - DEBUG - VM ctest-vn2-vm1-97928936 launched on Node cn-jenkins-deploy-platform-ansible-os-3815-1 2025-08-11 16:03:02,739 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a18e9734-4e10-4bb3-bf93-b49351eb2fd8 2025-08-11 16:03:02,749 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d73b7748-8bdf-4eca-a2c1-79c7af238892 2025-08-11 16:03:04,001 - 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=3.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.615 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.615/2.273/3.932/1.658 ms') 2025-08-11 16:03:04,001 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-97928936 passed 2025-08-11 16:03:04,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:03:04,155 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-97928936, IP 96.43.133.67, Port 22 2025-08-11 16:03:04,221 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-11 16:03:04,297 - DEBUG - VM ctest-vn2-vm1-97928936 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 16:03:09,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:03:09,298 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-97928936, IP 96.43.133.67, Port 22 2025-08-11 16:03:09,462 - DEBUG - VM ctest-vn2-vm1-97928936 is ready for SSH connections 2025-08-11 16:03:09,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:03:09,463 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.43.133.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-11 16:03:09,463 - DEBUG - ping -s 56 -c 3 -W 1 96.43.133.67 2025-08-11 16:03:14,481 - DEBUG - PING 96.43.133.67 (96.43.133.67): 56 data bytes --- 96.43.133.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 16:03:14,481 - WARNING - Ping to IP 96.43.133.67 from VM ctest-vn1-vm1-28603892 failed 2025-08-11 16:03:14,481 - INFO - Adding interface with subnet_id 539d89ab-61f9-4c09-b0a8-f26f2105cf26, port_id None to router 7a239269-f5a4-4462-be20-76d5cf4b95d1 2025-08-11 16:03:14,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:03:14,812 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.43.133.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-11 16:03:14,812 - DEBUG - ping -s 56 -c 3 -W 1 96.43.133.67 2025-08-11 16:03:18,032 - DEBUG - PING 96.43.133.67 (96.43.133.67): 56 data bytes 64 bytes from 96.43.133.67: seq=1 ttl=63 time=2.804 ms 64 bytes from 96.43.133.67: seq=2 ttl=63 time=0.765 ms --- 96.43.133.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.765/1.784/2.804 ms 2025-08-11 16:03:18,032 - WARNING - Ping to IP 96.43.133.67 from VM ctest-vn1-vm1-28603892 failed 2025-08-11 16:03:19,032 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.43.133.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-11 16:03:19,033 - DEBUG - ping -s 56 -c 3 -W 1 96.43.133.67 2025-08-11 16:03:21,247 - DEBUG - PING 96.43.133.67 (96.43.133.67): 56 data bytes 64 bytes from 96.43.133.67: seq=0 ttl=63 time=1.410 ms 64 bytes from 96.43.133.67: seq=1 ttl=63 time=0.678 ms 64 bytes from 96.43.133.67: seq=2 ttl=63 time=0.763 ms --- 96.43.133.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.678/0.950/1.410 ms 2025-08-11 16:03:21,248 - INFO - Ping to IP 96.43.133.67 from VM ctest-vn1-vm1-28603892 passed 2025-08-11 16:03:21,248 - INFO - Deleting interface with subnet_id 36d9ef1d-229d-4d1e-a9a4-c9f8cf0a78aa, port_id None from router 7a239269-f5a4-4462-be20-76d5cf4b95d1 2025-08-11 16:03:21,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:03:21,373 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.43.133.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-11 16:03:21,373 - DEBUG - ping -s 56 -c 3 -W 1 96.43.133.67 2025-08-11 16:03:24,584 - DEBUG - PING 96.43.133.67 (96.43.133.67): 56 data bytes --- 96.43.133.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 16:03:24,584 - WARNING - Ping to IP 96.43.133.67 from VM ctest-vn1-vm1-28603892 failed 2025-08-11 16:03:24,584 - INFO - Adding interface with subnet_id 36d9ef1d-229d-4d1e-a9a4-c9f8cf0a78aa, port_id None to router 7a239269-f5a4-4462-be20-76d5cf4b95d1 2025-08-11 16:03:24,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:03:24,828 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.43.133.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-11 16:03:24,828 - DEBUG - ping -s 56 -c 3 -W 1 96.43.133.67 2025-08-11 16:03:27,046 - DEBUG - PING 96.43.133.67 (96.43.133.67): 56 data bytes 64 bytes from 96.43.133.67: seq=0 ttl=63 time=1.484 ms 64 bytes from 96.43.133.67: seq=1 ttl=63 time=0.760 ms 64 bytes from 96.43.133.67: seq=2 ttl=63 time=0.773 ms --- 96.43.133.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.760/1.005/1.484 ms 2025-08-11 16:03:27,047 - INFO - Ping to IP 96.43.133.67 from VM ctest-vn1-vm1-28603892 passed 2025-08-11 16:03:27,047 - INFO - Deleting interface with subnet_id 539d89ab-61f9-4c09-b0a8-f26f2105cf26, port_id None from router 7a239269-f5a4-4462-be20-76d5cf4b95d1 2025-08-11 16:03:27,156 - INFO - Deleting interface with subnet_id 36d9ef1d-229d-4d1e-a9a4-c9f8cf0a78aa, port_id None from router 7a239269-f5a4-4462-be20-76d5cf4b95d1 2025-08-11 16:03:27,352 - INFO - Deleting VM ctest-vn2-vm1-97928936 2025-08-11 16:03:27,424 - INFO - Deleting VM ctest-vn1-vm1-28603892 2025-08-11 16:03:27,492 - INFO - Deleting VN ctest-vn2-48036993 2025-08-11 16:03:27,534 - DEBUG - VN 5497c7dd-1506-45a5-b988-78f72907c7d8 still in use: Unable to complete operation on network 5497c7dd-1506-45a5-b988-78f72907c7d8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-61c07e95-9184-45f9-89ee-5a0a261e43fa'] 2025-08-11 16:03:27,534 - WARNING - Deleting VN ctest-vn2-48036993 failed..Will retry 2025-08-11 16:03:29,649 - DEBUG - Response for deleting network () 2025-08-11 16:03:29,650 - INFO - Deleting VN ctest-vn1-92877037 2025-08-11 16:03:29,750 - DEBUG - Response for deleting network () 2025-08-11 16:03:30,005 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 16:03:30,005 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2025-08-11 16:03:30,006 - INFO - -------------------------------------------------------------------------------- 2025-08-11 16:03:30,719 - INFO - Deleted project: ctest-TestRouters-38388412, ID : 8bb1224e-6f03-439e-a078-976d75ae7fc2