2025-10-23 13:14:24,430 - INFO - Domain Default found not creating 2025-10-23 13:14:24,566 - INFO - Project ctest-TestRouters-65293006 not found, creating it 2025-10-23 13:14:25,005 - INFO - Created Project:ctest-TestRouters-65293006, ID : e9485ad4-5dc1-4349-b2dd-f1579ff8124a 2025-10-23 13:14:26,533 - INFO - ================================================================================ 2025-10-23 13:14:26,533 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-23 13:14:26,534 - 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-23 13:14:26,786 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-23 13:14:26,786 - INFO - Initial checks done. Running the testcase now 2025-10-23 13:14:26,786 - INFO - 2025-10-23 13:14:27,352 - DEBUG - Response for create_network : {'network': {'id': '6fce6e1f-2644-41fb-a86a-35ef622c80e6', 'name': 'ctest-vn1-49814722', 'tenant_id': 'e9485ad45dc14349b2ddf1579ff8124a', 'project_id': 'e9485ad45dc14349b2ddf1579ff8124a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-65293006', 'ctest-vn1-49814722'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 13:14:27,536 - DEBUG - Response for create_subnet : {'subnet': {'id': '48468a25-ef1f-4086-914d-46e90a43af67', 'name': '', 'tenant_id': 'e9485ad45dc14349b2ddf1579ff8124a', 'network_id': '6fce6e1f-2644-41fb-a86a-35ef622c80e6', 'ip_version': 4, 'cidr': '72.132.64.0/26', 'allocation_pools': [{'start': '72.132.64.2', 'end': '72.132.64.62'}], 'gateway_ip': '72.132.64.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.132.64.2', 'tags': [], 'project_id': 'e9485ad45dc14349b2ddf1579ff8124a'}} 2025-10-23 13:14:27,553 - INFO - Created VN ctest-vn1-49814722 2025-10-23 13:14:27,605 - DEBUG - VN ctest-vn1-49814722 UUID is 6fce6e1f-2644-41fb-a86a-35ef622c80e6 2025-10-23 13:14:27,956 - DEBUG - Response for create_network : {'network': {'id': 'ccd6f172-7d90-4541-a06f-768f8cc1aff4', 'name': 'ctest-vn2-33380958', 'tenant_id': 'e9485ad45dc14349b2ddf1579ff8124a', 'project_id': 'e9485ad45dc14349b2ddf1579ff8124a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-65293006', 'ctest-vn2-33380958'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 13:14:28,198 - DEBUG - Response for create_subnet : {'subnet': {'id': '09a4b82f-f4bc-4259-8728-28f0ee1e85b1', 'name': '', 'tenant_id': 'e9485ad45dc14349b2ddf1579ff8124a', 'network_id': 'ccd6f172-7d90-4541-a06f-768f8cc1aff4', 'ip_version': 4, 'cidr': '63.232.41.192/26', 'allocation_pools': [{'start': '63.232.41.194', 'end': '63.232.41.254'}], 'gateway_ip': '63.232.41.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.232.41.194', 'tags': [], 'project_id': 'e9485ad45dc14349b2ddf1579ff8124a'}} 2025-10-23 13:14:28,222 - INFO - Created VN ctest-vn2-33380958 2025-10-23 13:14:28,273 - DEBUG - VN ctest-vn2-33380958 UUID is ccd6f172-7d90-4541-a06f-768f8cc1aff4 2025-10-23 13:14:28,506 - DEBUG - Services list from nova: [, , ] 2025-10-23 13:14:29,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4461-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4461-1) 2025-10-23 13:14:30,761 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4461-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4461-1) 2025-10-23 13:14:30,845 - INFO - Adding interface with subnet_id 48468a25-ef1f-4086-914d-46e90a43af67, port_id None to router 8eee2a72-20dd-4232-9915-2a927e524df2 2025-10-23 13:14:31,149 - INFO - Waiting for VM ctest-vn1-vm1-24218458 to be up.. 2025-10-23 13:14:31,255 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 13:14:36,338 - DEBUG - VM is in ACTIVE state now 2025-10-23 13:14:36,338 - INFO - VM name : ctest-vn1-vm1-24218458 2025-10-23 13:14:36,422 - DEBUG - VM ctest-vn1-vm1-24218458 ID is 73fdfbc3-6c63-46e4-8acd-45f37a726388 2025-10-23 13:14:36,446 - DEBUG - VM ctest-vn1-vm1-24218458 launched on Node cn-jenkins-deploy-platform-ansible-os-4461-1 2025-10-23 13:14:36,554 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/73fdfbc3-6c63-46e4-8acd-45f37a726388 2025-10-23 13:14:36,847 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/73fdfbc3-6c63-46e4-8acd-45f37a726388 2025-10-23 13:14:36,881 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3d470fe0-c602-4d63-bf77-fd7d97ec922c 2025-10-23 13:14:40,137 - 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 1019ms') 2025-10-23 13:14:40,137 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24218458 failed! 2025-10-23 13:14:40,194 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-65293006:ctest-vn1-49814722 is 72.132.64.1 and allocation pool is NOT set 2025-10-23 13:14:42,249 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.828 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.828/2.263/3.698/1.435 ms') 2025-10-23 13:14:42,249 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24218458 passed 2025-10-23 13:14:42,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 13:14:42,406 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-24218458, IP 72.132.64.3, Port 22 2025-10-23 13:14:42,565 - DEBUG - VM ctest-vn1-vm1-24218458 is ready for SSH connections 2025-10-23 13:14:42,565 - INFO - Waiting for VM ctest-vn2-vm1-78914194 to be up.. 2025-10-23 13:14:42,645 - DEBUG - VM is in ACTIVE state now 2025-10-23 13:14:42,645 - INFO - VM name : ctest-vn2-vm1-78914194 2025-10-23 13:14:42,720 - DEBUG - VM ctest-vn2-vm1-78914194 ID is 9e1d933d-4a78-49fb-9670-5f6a80c842dc 2025-10-23 13:14:42,720 - DEBUG - VM ctest-vn2-vm1-78914194 launched on Node cn-jenkins-deploy-platform-ansible-os-4461-1 2025-10-23 13:14:42,794 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9e1d933d-4a78-49fb-9670-5f6a80c842dc 2025-10-23 13:14:42,803 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0fdb2198-2fe1-4938-b180-db52d92ba0c3 2025-10-23 13:14:44,039 - 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=4.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.25 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 = 1.248/2.884/4.520/1.636 ms') 2025-10-23 13:14:44,039 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-78914194 passed 2025-10-23 13:14:44,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 13:14:44,198 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-78914194, IP 63.232.41.195, Port 22 2025-10-23 13:14:44,253 - 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-23 13:14:44,331 - DEBUG - VM ctest-vn2-vm1-78914194 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 13:14:49,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 13:14:49,332 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-78914194, IP 63.232.41.195, Port 22 2025-10-23 13:14:49,484 - DEBUG - VM ctest-vn2-vm1-78914194 is ready for SSH connections 2025-10-23 13:14:49,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 13:14:49,485 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.232.41.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-23 13:14:49,485 - DEBUG - ping -s 56 -c 3 -W 1 63.232.41.195 2025-10-23 13:14:54,456 - DEBUG - PING 63.232.41.195 (63.232.41.195): 56 data bytes --- 63.232.41.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 13:14:54,456 - WARNING - Ping to IP 63.232.41.195 from VM ctest-vn1-vm1-24218458 failed 2025-10-23 13:14:54,457 - INFO - Adding interface with subnet_id 09a4b82f-f4bc-4259-8728-28f0ee1e85b1, port_id None to router 8eee2a72-20dd-4232-9915-2a927e524df2 2025-10-23 13:14:54,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 13:14:54,685 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.232.41.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-23 13:14:54,685 - DEBUG - ping -s 56 -c 3 -W 1 63.232.41.195 2025-10-23 13:14:57,916 - DEBUG - PING 63.232.41.195 (63.232.41.195): 56 data bytes 64 bytes from 63.232.41.195: seq=1 ttl=63 time=4.017 ms 64 bytes from 63.232.41.195: seq=2 ttl=63 time=0.776 ms --- 63.232.41.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.776/2.396/4.017 ms 2025-10-23 13:14:57,916 - WARNING - Ping to IP 63.232.41.195 from VM ctest-vn1-vm1-24218458 failed 2025-10-23 13:14:58,917 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.232.41.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-23 13:14:58,918 - DEBUG - ping -s 56 -c 3 -W 1 63.232.41.195 2025-10-23 13:15:01,137 - DEBUG - PING 63.232.41.195 (63.232.41.195): 56 data bytes 64 bytes from 63.232.41.195: seq=0 ttl=63 time=1.522 ms 64 bytes from 63.232.41.195: seq=1 ttl=63 time=0.985 ms 64 bytes from 63.232.41.195: seq=2 ttl=63 time=0.841 ms --- 63.232.41.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.841/1.116/1.522 ms 2025-10-23 13:15:01,138 - INFO - Ping to IP 63.232.41.195 from VM ctest-vn1-vm1-24218458 passed 2025-10-23 13:15:01,138 - INFO - Deleting interface with subnet_id 48468a25-ef1f-4086-914d-46e90a43af67, port_id None from router 8eee2a72-20dd-4232-9915-2a927e524df2 2025-10-23 13:15:01,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 13:15:01,266 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.232.41.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-23 13:15:01,267 - DEBUG - ping -s 56 -c 3 -W 1 63.232.41.195 2025-10-23 13:15:04,457 - DEBUG - PING 63.232.41.195 (63.232.41.195): 56 data bytes --- 63.232.41.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 13:15:04,457 - WARNING - Ping to IP 63.232.41.195 from VM ctest-vn1-vm1-24218458 failed 2025-10-23 13:15:04,457 - INFO - Adding interface with subnet_id 48468a25-ef1f-4086-914d-46e90a43af67, port_id None to router 8eee2a72-20dd-4232-9915-2a927e524df2 2025-10-23 13:15:04,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 13:15:04,658 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.232.41.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-23 13:15:04,658 - DEBUG - ping -s 56 -c 3 -W 1 63.232.41.195 2025-10-23 13:15:06,887 - DEBUG - PING 63.232.41.195 (63.232.41.195): 56 data bytes 64 bytes from 63.232.41.195: seq=0 ttl=63 time=1.566 ms 64 bytes from 63.232.41.195: seq=1 ttl=63 time=0.892 ms 64 bytes from 63.232.41.195: seq=2 ttl=63 time=0.951 ms --- 63.232.41.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.892/1.136/1.566 ms 2025-10-23 13:15:06,887 - INFO - Ping to IP 63.232.41.195 from VM ctest-vn1-vm1-24218458 passed 2025-10-23 13:15:06,887 - INFO - Deleting interface with subnet_id 09a4b82f-f4bc-4259-8728-28f0ee1e85b1, port_id None from router 8eee2a72-20dd-4232-9915-2a927e524df2 2025-10-23 13:15:07,021 - INFO - Deleting interface with subnet_id 48468a25-ef1f-4086-914d-46e90a43af67, port_id None from router 8eee2a72-20dd-4232-9915-2a927e524df2 2025-10-23 13:15:07,209 - INFO - Deleting VM ctest-vn2-vm1-78914194 2025-10-23 13:15:07,284 - INFO - Deleting VM ctest-vn1-vm1-24218458 2025-10-23 13:15:07,360 - INFO - Deleting VN ctest-vn2-33380958 2025-10-23 13:15:07,397 - DEBUG - VN ccd6f172-7d90-4541-a06f-768f8cc1aff4 still in use: Unable to complete operation on network ccd6f172-7d90-4541-a06f-768f8cc1aff4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-560dc0e5-db06-46ac-8562-c24132537aa7'] 2025-10-23 13:15:07,397 - WARNING - Deleting VN ctest-vn2-33380958 failed..Will retry 2025-10-23 13:15:09,490 - DEBUG - Response for deleting network () 2025-10-23 13:15:09,490 - INFO - Deleting VN ctest-vn1-49814722 2025-10-23 13:15:09,589 - DEBUG - Response for deleting network () 2025-10-23 13:15:09,845 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 13:15:09,845 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43]
2025-10-23 13:15:09,845 - INFO - -------------------------------------------------------------------------------- 2025-10-23 13:15:10,585 - INFO - Deleted project: ctest-TestRouters-65293006, ID : e9485ad4-5dc1-4349-b2dd-f1579ff8124a