2025-10-24 10:45:12,635 - INFO - Domain Default found not creating 2025-10-24 10:45:12,787 - INFO - Project ctest-TestRouters-96594723 not found, creating it 2025-10-24 10:45:13,268 - INFO - Created Project:ctest-TestRouters-96594723, ID : 783e4067-800f-490c-8075-84cf580203c6 2025-10-24 10:45:14,900 - INFO - ================================================================================ 2025-10-24 10:45:14,900 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-24 10:45:14,900 - 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 10:45:15,153 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-24 10:45:15,153 - INFO - Initial checks done. Running the testcase now 2025-10-24 10:45:15,154 - INFO - 2025-10-24 10:45:15,778 - DEBUG - Response for create_network : {'network': {'id': '39ebc60b-119b-4cdb-8427-35dd6bb9c1e5', 'name': 'ctest-vn1-54321967', 'tenant_id': '783e4067800f490c807584cf580203c6', 'project_id': '783e4067800f490c807584cf580203c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-96594723', 'ctest-vn1-54321967'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 10:45:15,999 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f37fbfdc-6226-43fc-ad05-6dcb0575a3e3', 'name': '', 'tenant_id': '783e4067800f490c807584cf580203c6', 'network_id': '39ebc60b-119b-4cdb-8427-35dd6bb9c1e5', 'ip_version': 4, 'cidr': '128.179.185.64/26', 'allocation_pools': [{'start': '128.179.185.66', 'end': '128.179.185.126'}], 'gateway_ip': '128.179.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.179.185.66', 'tags': [], 'project_id': '783e4067800f490c807584cf580203c6'}} 2025-10-24 10:45:16,020 - INFO - Created VN ctest-vn1-54321967 2025-10-24 10:45:16,080 - DEBUG - VN ctest-vn1-54321967 UUID is 39ebc60b-119b-4cdb-8427-35dd6bb9c1e5 2025-10-24 10:45:16,436 - DEBUG - Response for create_network : {'network': {'id': 'dde4a740-6edb-4142-8840-017e57ca8932', 'name': 'ctest-vn2-10929102', 'tenant_id': '783e4067800f490c807584cf580203c6', 'project_id': '783e4067800f490c807584cf580203c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-96594723', 'ctest-vn2-10929102'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 10:45:16,620 - DEBUG - Response for create_subnet : {'subnet': {'id': '2249edeb-57f6-4bb6-a978-f50a28071148', 'name': '', 'tenant_id': '783e4067800f490c807584cf580203c6', 'network_id': 'dde4a740-6edb-4142-8840-017e57ca8932', 'ip_version': 4, 'cidr': '17.147.182.192/26', 'allocation_pools': [{'start': '17.147.182.194', 'end': '17.147.182.254'}], 'gateway_ip': '17.147.182.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.147.182.194', 'tags': [], 'project_id': '783e4067800f490c807584cf580203c6'}} 2025-10-24 10:45:16,641 - INFO - Created VN ctest-vn2-10929102 2025-10-24 10:45:16,699 - DEBUG - VN ctest-vn2-10929102 UUID is dde4a740-6edb-4142-8840-017e57ca8932 2025-10-24 10:45:16,884 - DEBUG - Services list from nova: [, , ] 2025-10-24 10:45:18,061 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4475-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4475-1) 2025-10-24 10:45:19,484 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4475-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4475-1) 2025-10-24 10:45:19,579 - INFO - Adding interface with subnet_id f37fbfdc-6226-43fc-ad05-6dcb0575a3e3, port_id None to router 83eedd94-46c5-4068-b279-2ac35dad7a65 2025-10-24 10:45:19,897 - INFO - Waiting for VM ctest-vn1-vm1-40166377 to be up.. 2025-10-24 10:45:20,012 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 10:45:25,103 - DEBUG - VM is in ACTIVE state now 2025-10-24 10:45:25,103 - INFO - VM name : ctest-vn1-vm1-40166377 2025-10-24 10:45:25,180 - DEBUG - VM ctest-vn1-vm1-40166377 ID is e512a056-bfed-4bbd-9120-e7ff030376b7 2025-10-24 10:45:25,202 - DEBUG - VM ctest-vn1-vm1-40166377 launched on Node cn-jenkins-deploy-platform-ansible-os-4475-1 2025-10-24 10:45:25,283 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e512a056-bfed-4bbd-9120-e7ff030376b7 2025-10-24 10:45:25,623 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e512a056-bfed-4bbd-9120-e7ff030376b7 2025-10-24 10:45:25,663 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e7e9a806-6a6d-4c9c-adf2-aa825f6d7945 2025-10-24 10:45:28,909 - 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 1014ms') 2025-10-24 10:45:28,909 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40166377 failed! 2025-10-24 10:45:28,963 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-96594723:ctest-vn1-54321967 is 128.179.185.65 and allocation pool is NOT set 2025-10-24 10:45:31,029 - 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=6.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.93 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 = 1.925/4.008/6.091/2.083 ms') 2025-10-24 10:45:31,030 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-40166377 passed 2025-10-24 10:45:31,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:45:31,185 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-40166377, IP 128.179.185.67, Port 22 2025-10-24 10:45:31,250 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-24 10:45:31,337 - DEBUG - VM ctest-vn1-vm1-40166377 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-24 10:45:36,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:45:36,338 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-40166377, IP 128.179.185.67, Port 22 2025-10-24 10:45:36,495 - DEBUG - VM ctest-vn1-vm1-40166377 is ready for SSH connections 2025-10-24 10:45:36,496 - INFO - Waiting for VM ctest-vn2-vm1-70071777 to be up.. 2025-10-24 10:45:36,571 - DEBUG - VM is in ACTIVE state now 2025-10-24 10:45:36,572 - INFO - VM name : ctest-vn2-vm1-70071777 2025-10-24 10:45:36,650 - DEBUG - VM ctest-vn2-vm1-70071777 ID is 72bf60bc-b485-46c5-a11f-95466123cd87 2025-10-24 10:45:36,650 - DEBUG - VM ctest-vn2-vm1-70071777 launched on Node cn-jenkins-deploy-platform-ansible-os-4475-1 2025-10-24 10:45:36,734 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/72bf60bc-b485-46c5-a11f-95466123cd87 2025-10-24 10:45:36,743 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3d5f9e2f-9c2f-4f42-9f65-feae38aed16c 2025-10-24 10:45:37,983 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 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.459/1.986/3.513/1.527 ms') 2025-10-24 10:45:37,984 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-70071777 passed 2025-10-24 10:45:38,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:45:38,132 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-70071777, IP 17.147.182.195, Port 22 2025-10-24 10:45:38,287 - DEBUG - VM ctest-vn2-vm1-70071777 is ready for SSH connections 2025-10-24 10:45:38,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:45:38,287 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.147.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 10:45:38,287 - DEBUG - ping -s 56 -c 3 -W 1 17.147.182.195 2025-10-24 10:45:43,355 - DEBUG - PING 17.147.182.195 (17.147.182.195): 56 data bytes --- 17.147.182.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-24 10:45:43,355 - WARNING - Ping to IP 17.147.182.195 from VM ctest-vn1-vm1-40166377 failed 2025-10-24 10:45:43,355 - INFO - Adding interface with subnet_id 2249edeb-57f6-4bb6-a978-f50a28071148, port_id None to router 83eedd94-46c5-4068-b279-2ac35dad7a65 2025-10-24 10:45:43,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:45:43,596 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.147.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 10:45:43,596 - DEBUG - ping -s 56 -c 3 -W 1 17.147.182.195 2025-10-24 10:45:46,831 - DEBUG - PING 17.147.182.195 (17.147.182.195): 56 data bytes 64 bytes from 17.147.182.195: seq=1 ttl=63 time=3.028 ms 64 bytes from 17.147.182.195: seq=2 ttl=63 time=0.947 ms --- 17.147.182.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.947/1.987/3.028 ms 2025-10-24 10:45:46,831 - WARNING - Ping to IP 17.147.182.195 from VM ctest-vn1-vm1-40166377 failed 2025-10-24 10:45:47,832 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.147.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 10:45:47,832 - DEBUG - ping -s 56 -c 3 -W 1 17.147.182.195 2025-10-24 10:45:50,057 - DEBUG - PING 17.147.182.195 (17.147.182.195): 56 data bytes 64 bytes from 17.147.182.195: seq=0 ttl=63 time=1.720 ms 64 bytes from 17.147.182.195: seq=1 ttl=63 time=1.093 ms 64 bytes from 17.147.182.195: seq=2 ttl=63 time=0.808 ms --- 17.147.182.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/1.207/1.720 ms 2025-10-24 10:45:50,058 - INFO - Ping to IP 17.147.182.195 from VM ctest-vn1-vm1-40166377 passed 2025-10-24 10:45:50,058 - INFO - Deleting interface with subnet_id f37fbfdc-6226-43fc-ad05-6dcb0575a3e3, port_id None from router 83eedd94-46c5-4068-b279-2ac35dad7a65 2025-10-24 10:45:50,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:45:50,197 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.147.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 10:45:50,197 - DEBUG - ping -s 56 -c 3 -W 1 17.147.182.195 2025-10-24 10:45:53,428 - DEBUG - PING 17.147.182.195 (17.147.182.195): 56 data bytes --- 17.147.182.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-24 10:45:53,428 - WARNING - Ping to IP 17.147.182.195 from VM ctest-vn1-vm1-40166377 failed 2025-10-24 10:45:53,428 - INFO - Adding interface with subnet_id f37fbfdc-6226-43fc-ad05-6dcb0575a3e3, port_id None to router 83eedd94-46c5-4068-b279-2ac35dad7a65 2025-10-24 10:45:53,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 10:45:53,655 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.147.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 10:45:53,655 - DEBUG - ping -s 56 -c 3 -W 1 17.147.182.195 2025-10-24 10:45:55,890 - DEBUG - PING 17.147.182.195 (17.147.182.195): 56 data bytes 64 bytes from 17.147.182.195: seq=0 ttl=63 time=1.809 ms 64 bytes from 17.147.182.195: seq=1 ttl=63 time=1.049 ms 64 bytes from 17.147.182.195: seq=2 ttl=63 time=1.038 ms --- 17.147.182.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.038/1.298/1.809 ms 2025-10-24 10:45:55,890 - INFO - Ping to IP 17.147.182.195 from VM ctest-vn1-vm1-40166377 passed 2025-10-24 10:45:55,890 - INFO - Deleting interface with subnet_id 2249edeb-57f6-4bb6-a978-f50a28071148, port_id None from router 83eedd94-46c5-4068-b279-2ac35dad7a65 2025-10-24 10:45:56,010 - INFO - Deleting interface with subnet_id f37fbfdc-6226-43fc-ad05-6dcb0575a3e3, port_id None from router 83eedd94-46c5-4068-b279-2ac35dad7a65 2025-10-24 10:45:56,187 - INFO - Deleting VM ctest-vn2-vm1-70071777 2025-10-24 10:45:56,270 - INFO - Deleting VM ctest-vn1-vm1-40166377 2025-10-24 10:45:56,352 - INFO - Deleting VN ctest-vn2-10929102 2025-10-24 10:45:56,389 - DEBUG - VN dde4a740-6edb-4142-8840-017e57ca8932 still in use: Unable to complete operation on network dde4a740-6edb-4142-8840-017e57ca8932. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-10f2b0ae-b66d-4251-8074-03bd240309b0'] 2025-10-24 10:45:56,389 - WARNING - Deleting VN ctest-vn2-10929102 failed..Will retry 2025-10-24 10:45:58,487 - DEBUG - Response for deleting network () 2025-10-24 10:45:58,487 - INFO - Deleting VN ctest-vn1-54321967 2025-10-24 10:45:58,591 - DEBUG - Response for deleting network () 2025-10-24 10:45:58,853 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 10:45:58,853 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-10-24 10:45:58,853 - INFO - -------------------------------------------------------------------------------- 2025-10-24 10:45:59,577 - INFO - Deleted project: ctest-TestRouters-96594723, ID : 783e4067-800f-490c-8075-84cf580203c6