2025-10-22 11:37:35,149 - INFO - Domain Default found not creating 2025-10-22 11:37:35,307 - INFO - Project ctest-TestRouters-16627098 not found, creating it 2025-10-22 11:37:35,805 - INFO - Created Project:ctest-TestRouters-16627098, ID : fb56a086-46f9-4cc5-ab51-f0feebaca0d9 2025-10-22 11:37:37,382 - INFO - ================================================================================ 2025-10-22 11:37:37,382 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-22 11:37:37,382 - 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-22 11:37:37,642 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-10-22 11:37:37,642 - INFO - Initial checks done. Running the testcase now 2025-10-22 11:37:37,642 - INFO - 2025-10-22 11:37:38,196 - DEBUG - Response for create_network : {'network': {'id': 'fe6bb1bb-3802-4f32-9a02-98fb82be01b6', 'name': 'ctest-vn1-61956920', 'tenant_id': 'fb56a08646f94cc5ab51f0feebaca0d9', 'project_id': 'fb56a08646f94cc5ab51f0feebaca0d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-16627098', 'ctest-vn1-61956920'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 11:37:38,409 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c46665d9-c6d5-461f-a132-06fe366472c3', 'name': '', 'tenant_id': 'fb56a08646f94cc5ab51f0feebaca0d9', 'network_id': 'fe6bb1bb-3802-4f32-9a02-98fb82be01b6', 'ip_version': 4, 'cidr': '110.70.148.128/26', 'allocation_pools': [{'start': '110.70.148.130', 'end': '110.70.148.190'}], 'gateway_ip': '110.70.148.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.70.148.130', 'tags': [], 'project_id': 'fb56a08646f94cc5ab51f0feebaca0d9'}} 2025-10-22 11:37:38,427 - INFO - Created VN ctest-vn1-61956920 2025-10-22 11:37:38,480 - DEBUG - VN ctest-vn1-61956920 UUID is fe6bb1bb-3802-4f32-9a02-98fb82be01b6 2025-10-22 11:37:38,832 - DEBUG - Response for create_network : {'network': {'id': '50d57898-7672-4af8-99e1-915ccc985e61', 'name': 'ctest-vn2-59233873', 'tenant_id': 'fb56a08646f94cc5ab51f0feebaca0d9', 'project_id': 'fb56a08646f94cc5ab51f0feebaca0d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-16627098', 'ctest-vn2-59233873'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 11:37:39,060 - DEBUG - Response for create_subnet : {'subnet': {'id': '62c56bac-b842-44df-9f1a-fb9c3d3aa63e', 'name': '', 'tenant_id': 'fb56a08646f94cc5ab51f0feebaca0d9', 'network_id': '50d57898-7672-4af8-99e1-915ccc985e61', 'ip_version': 4, 'cidr': '198.193.113.64/26', 'allocation_pools': [{'start': '198.193.113.66', 'end': '198.193.113.126'}], 'gateway_ip': '198.193.113.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.193.113.66', 'tags': [], 'project_id': 'fb56a08646f94cc5ab51f0feebaca0d9'}} 2025-10-22 11:37:39,080 - INFO - Created VN ctest-vn2-59233873 2025-10-22 11:37:39,132 - DEBUG - VN ctest-vn2-59233873 UUID is 50d57898-7672-4af8-99e1-915ccc985e61 2025-10-22 11:37:39,299 - DEBUG - Services list from nova: [, , ] 2025-10-22 11:37:40,387 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4425-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4425-1) 2025-10-22 11:37:41,644 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4425-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4425-1) 2025-10-22 11:37:41,740 - INFO - Adding interface with subnet_id c46665d9-c6d5-461f-a132-06fe366472c3, port_id None to router a50ad4eb-a990-4f80-9e87-44f46d61bc55 2025-10-22 11:37:42,038 - INFO - Waiting for VM ctest-vn1-vm1-82572685 to be up.. 2025-10-22 11:37:42,128 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 11:37:47,202 - DEBUG - VM is in ACTIVE state now 2025-10-22 11:37:47,202 - INFO - VM name : ctest-vn1-vm1-82572685 2025-10-22 11:37:47,290 - DEBUG - VM ctest-vn1-vm1-82572685 ID is 09af25c4-3867-42f9-a82b-b0efa8748aee 2025-10-22 11:37:47,316 - DEBUG - VM ctest-vn1-vm1-82572685 launched on Node cn-jenkins-deploy-platform-ansible-os-4425-1 2025-10-22 11:37:47,403 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/09af25c4-3867-42f9-a82b-b0efa8748aee 2025-10-22 11:37:47,706 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/09af25c4-3867-42f9-a82b-b0efa8748aee 2025-10-22 11:37:47,744 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/5fb0feca-0512-421e-81c7-c1888256cacf 2025-10-22 11:37:51,001 - 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 1005ms') 2025-10-22 11:37:51,001 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82572685 failed! 2025-10-22 11:37:51,056 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-16627098:ctest-vn1-61956920 is 110.70.148.129 and allocation pool is NOT set 2025-10-22 11:37:53,118 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.808 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.808/2.683/4.559/1.875 ms') 2025-10-22 11:37:53,118 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82572685 passed 2025-10-22 11:37:53,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:37:53,272 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82572685, IP 110.70.148.131, Port 22 2025-10-22 11:37:53,431 - DEBUG - VM ctest-vn1-vm1-82572685 is ready for SSH connections 2025-10-22 11:37:53,431 - INFO - Waiting for VM ctest-vn2-vm1-69040980 to be up.. 2025-10-22 11:37:53,523 - DEBUG - VM is in ACTIVE state now 2025-10-22 11:37:53,523 - INFO - VM name : ctest-vn2-vm1-69040980 2025-10-22 11:37:53,615 - DEBUG - VM ctest-vn2-vm1-69040980 ID is 8dc201b5-11f2-4e2b-8d11-c3152876c92f 2025-10-22 11:37:53,615 - DEBUG - VM ctest-vn2-vm1-69040980 launched on Node cn-jenkins-deploy-platform-ansible-os-4425-1 2025-10-22 11:37:53,705 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/8dc201b5-11f2-4e2b-8d11-c3152876c92f 2025-10-22 11:37:53,715 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/6345de8b-b176-4cb7-8560-34954cf3c39f 2025-10-22 11:37:54,969 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.63 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 = 2.634/2.677/2.721/0.043 ms') 2025-10-22 11:37:54,969 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-69040980 passed 2025-10-22 11:37:55,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:37:55,128 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-69040980, IP 198.193.113.67, Port 22 2025-10-22 11:37:55,197 - 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-10-22 11:37:55,284 - DEBUG - VM ctest-vn2-vm1-69040980 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 11:38:00,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:38:00,285 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-69040980, IP 198.193.113.67, Port 22 2025-10-22 11:38:00,439 - DEBUG - VM ctest-vn2-vm1-69040980 is ready for SSH connections 2025-10-22 11:38:00,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:38:00,439 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.193.113.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-22 11:38:00,439 - DEBUG - ping -s 56 -c 3 -W 1 198.193.113.67 2025-10-22 11:38:05,594 - DEBUG - PING 198.193.113.67 (198.193.113.67): 56 data bytes --- 198.193.113.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 11:38:05,594 - WARNING - Ping to IP 198.193.113.67 from VM ctest-vn1-vm1-82572685 failed 2025-10-22 11:38:05,594 - INFO - Adding interface with subnet_id 62c56bac-b842-44df-9f1a-fb9c3d3aa63e, port_id None to router a50ad4eb-a990-4f80-9e87-44f46d61bc55 2025-10-22 11:38:05,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:38:05,863 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.193.113.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-22 11:38:05,863 - DEBUG - ping -s 56 -c 3 -W 1 198.193.113.67 2025-10-22 11:38:09,175 - DEBUG - PING 198.193.113.67 (198.193.113.67): 56 data bytes 64 bytes from 198.193.113.67: seq=1 ttl=63 time=3.405 ms 64 bytes from 198.193.113.67: seq=2 ttl=63 time=0.934 ms --- 198.193.113.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.934/2.169/3.405 ms 2025-10-22 11:38:09,176 - WARNING - Ping to IP 198.193.113.67 from VM ctest-vn1-vm1-82572685 failed 2025-10-22 11:38:10,177 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.193.113.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-22 11:38:10,177 - DEBUG - ping -s 56 -c 3 -W 1 198.193.113.67 2025-10-22 11:38:12,470 - DEBUG - PING 198.193.113.67 (198.193.113.67): 56 data bytes 64 bytes from 198.193.113.67: seq=0 ttl=63 time=1.560 ms 64 bytes from 198.193.113.67: seq=1 ttl=63 time=0.938 ms 64 bytes from 198.193.113.67: seq=2 ttl=63 time=0.778 ms --- 198.193.113.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.778/1.092/1.560 ms 2025-10-22 11:38:12,470 - INFO - Ping to IP 198.193.113.67 from VM ctest-vn1-vm1-82572685 passed 2025-10-22 11:38:12,470 - INFO - Deleting interface with subnet_id c46665d9-c6d5-461f-a132-06fe366472c3, port_id None from router a50ad4eb-a990-4f80-9e87-44f46d61bc55 2025-10-22 11:38:12,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:38:12,621 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.193.113.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-22 11:38:12,621 - DEBUG - ping -s 56 -c 3 -W 1 198.193.113.67 2025-10-22 11:38:15,941 - DEBUG - PING 198.193.113.67 (198.193.113.67): 56 data bytes --- 198.193.113.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 11:38:15,941 - WARNING - Ping to IP 198.193.113.67 from VM ctest-vn1-vm1-82572685 failed 2025-10-22 11:38:15,941 - INFO - Adding interface with subnet_id c46665d9-c6d5-461f-a132-06fe366472c3, port_id None to router a50ad4eb-a990-4f80-9e87-44f46d61bc55 2025-10-22 11:38:16,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:38:16,153 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.193.113.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-22 11:38:16,153 - DEBUG - ping -s 56 -c 3 -W 1 198.193.113.67 2025-10-22 11:38:18,540 - DEBUG - PING 198.193.113.67 (198.193.113.67): 56 data bytes 64 bytes from 198.193.113.67: seq=0 ttl=63 time=1.477 ms 64 bytes from 198.193.113.67: seq=1 ttl=63 time=0.846 ms 64 bytes from 198.193.113.67: seq=2 ttl=63 time=0.950 ms --- 198.193.113.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.846/1.091/1.477 ms 2025-10-22 11:38:18,540 - INFO - Ping to IP 198.193.113.67 from VM ctest-vn1-vm1-82572685 passed 2025-10-22 11:38:18,540 - INFO - Deleting interface with subnet_id 62c56bac-b842-44df-9f1a-fb9c3d3aa63e, port_id None from router a50ad4eb-a990-4f80-9e87-44f46d61bc55 2025-10-22 11:38:18,660 - INFO - Deleting interface with subnet_id c46665d9-c6d5-461f-a132-06fe366472c3, port_id None from router a50ad4eb-a990-4f80-9e87-44f46d61bc55 2025-10-22 11:38:18,834 - INFO - Deleting VM ctest-vn2-vm1-69040980 2025-10-22 11:38:18,909 - INFO - Deleting VM ctest-vn1-vm1-82572685 2025-10-22 11:38:18,993 - INFO - Deleting VN ctest-vn2-59233873 2025-10-22 11:38:19,033 - DEBUG - VN 50d57898-7672-4af8-99e1-915ccc985e61 still in use: Unable to complete operation on network 50d57898-7672-4af8-99e1-915ccc985e61. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a3be9133-884f-4e45-a763-21fc18693946'] 2025-10-22 11:38:19,033 - WARNING - Deleting VN ctest-vn2-59233873 failed..Will retry 2025-10-22 11:38:21,139 - DEBUG - Response for deleting network () 2025-10-22 11:38:21,139 - INFO - Deleting VN ctest-vn1-61956920 2025-10-22 11:38:21,251 - DEBUG - Response for deleting network () 2025-10-22 11:38:21,507 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 11:38:21,507 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-10-22 11:38:21,507 - INFO - -------------------------------------------------------------------------------- 2025-10-22 11:38:22,168 - INFO - Deleted project: ctest-TestRouters-16627098, ID : fb56a086-46f9-4cc5-ab51-f0feebaca0d9