2025-12-15 02:08:23,459 - INFO - Domain Default found not creating 2025-12-15 02:08:23,608 - INFO - Project ctest-TestRouters-96760292 not found, creating it 2025-12-15 02:08:24,043 - INFO - Created Project:ctest-TestRouters-96760292, ID : d0b3cb2b-4d11-4797-a42a-2ab3ac968d73 2025-12-15 02:08:25,461 - INFO - ================================================================================ 2025-12-15 02:08:25,461 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-15 02:08:25,461 - 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-12-15 02:08:25,715 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-12-15 02:08:25,715 - INFO - Initial checks done. Running the testcase now 2025-12-15 02:08:25,715 - INFO - 2025-12-15 02:08:26,259 - DEBUG - Response for create_network : {'network': {'id': 'b0b1e5fd-9011-47eb-bfd3-a841f60db10d', 'name': 'ctest-vn1-73903261', 'tenant_id': 'd0b3cb2b4d114797a42a2ab3ac968d73', 'project_id': 'd0b3cb2b4d114797a42a2ab3ac968d73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-96760292', 'ctest-vn1-73903261'], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:08:26,477 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f3217c6-8b42-4998-88b9-9627ecfc97ab', 'name': '', 'tenant_id': 'd0b3cb2b4d114797a42a2ab3ac968d73', 'network_id': 'b0b1e5fd-9011-47eb-bfd3-a841f60db10d', 'ip_version': 4, 'cidr': '186.99.17.0/26', 'allocation_pools': [{'start': '186.99.17.2', 'end': '186.99.17.62'}], 'gateway_ip': '186.99.17.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.99.17.2', 'tags': [], 'project_id': 'd0b3cb2b4d114797a42a2ab3ac968d73'}} 2025-12-15 02:08:26,493 - INFO - Created VN ctest-vn1-73903261 2025-12-15 02:08:26,542 - DEBUG - VN ctest-vn1-73903261 UUID is b0b1e5fd-9011-47eb-bfd3-a841f60db10d 2025-12-15 02:08:26,849 - DEBUG - Response for create_network : {'network': {'id': '1ee6cff6-1c83-42f9-b933-1e4482597346', 'name': 'ctest-vn2-59544239', 'tenant_id': 'd0b3cb2b4d114797a42a2ab3ac968d73', 'project_id': 'd0b3cb2b4d114797a42a2ab3ac968d73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-96760292', 'ctest-vn2-59544239'], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:08:27,073 - DEBUG - Response for create_subnet : {'subnet': {'id': '218a9e93-601c-492d-a950-6b433be5d00b', 'name': '', 'tenant_id': 'd0b3cb2b4d114797a42a2ab3ac968d73', 'network_id': '1ee6cff6-1c83-42f9-b933-1e4482597346', 'ip_version': 4, 'cidr': '209.207.14.192/26', 'allocation_pools': [{'start': '209.207.14.194', 'end': '209.207.14.254'}], 'gateway_ip': '209.207.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.207.14.194', 'tags': [], 'project_id': 'd0b3cb2b4d114797a42a2ab3ac968d73'}} 2025-12-15 02:08:27,088 - INFO - Created VN ctest-vn2-59544239 2025-12-15 02:08:27,138 - DEBUG - VN ctest-vn2-59544239 UUID is 1ee6cff6-1c83-42f9-b933-1e4482597346 2025-12-15 02:08:27,358 - DEBUG - Services list from nova: [, , ] 2025-12-15 02:08:28,467 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4890-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4890-1) 2025-12-15 02:08:29,589 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4890-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4890-1) 2025-12-15 02:08:29,657 - INFO - Adding interface with subnet_id 1f3217c6-8b42-4998-88b9-9627ecfc97ab, port_id None to router 370c74ab-ec3e-4e69-aed6-f174cbac275c 2025-12-15 02:08:29,904 - INFO - Waiting for VM ctest-vn1-vm1-14423745 to be up.. 2025-12-15 02:08:29,989 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-15 02:08:35,060 - DEBUG - VM is in ACTIVE state now 2025-12-15 02:08:35,060 - INFO - VM name : ctest-vn1-vm1-14423745 2025-12-15 02:08:35,124 - DEBUG - VM ctest-vn1-vm1-14423745 ID is 34ac828b-a88c-4be8-a0c8-1363d1b7e561 2025-12-15 02:08:35,149 - DEBUG - VM ctest-vn1-vm1-14423745 launched on Node cn-jenkins-deploy-platform-ansible-os-4890-1 2025-12-15 02:08:35,219 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/34ac828b-a88c-4be8-a0c8-1363d1b7e561 2025-12-15 02:08:35,524 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/34ac828b-a88c-4be8-a0c8-1363d1b7e561 2025-12-15 02:08:35,560 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/9834c464-5d1a-4ab9-81ac-59478dbae8d5 2025-12-15 02:08:38,800 - 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 1008ms') 2025-12-15 02:08:38,801 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14423745 failed! 2025-12-15 02:08:38,858 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-96760292:ctest-vn1-73903261 is 186.99.17.1 and allocation pool is NOT set 2025-12-15 02:08:40,920 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.23 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.229/2.701/4.173/1.472 ms') 2025-12-15 02:08:40,920 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14423745 passed 2025-12-15 02:08:41,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:08:41,066 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-14423745, IP 186.99.17.3, Port 22 2025-12-15 02:08:41,122 - 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-12-15 02:08:41,188 - DEBUG - VM ctest-vn1-vm1-14423745 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-15 02:08:46,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:08:46,189 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-14423745, IP 186.99.17.3, Port 22 2025-12-15 02:08:46,360 - DEBUG - VM ctest-vn1-vm1-14423745 is ready for SSH connections 2025-12-15 02:08:46,360 - INFO - Waiting for VM ctest-vn2-vm1-68891766 to be up.. 2025-12-15 02:08:46,429 - DEBUG - VM is in ACTIVE state now 2025-12-15 02:08:46,429 - INFO - VM name : ctest-vn2-vm1-68891766 2025-12-15 02:08:46,491 - DEBUG - VM ctest-vn2-vm1-68891766 ID is a32434f5-2b6a-492f-b0ca-a2053e1a0319 2025-12-15 02:08:46,492 - DEBUG - VM ctest-vn2-vm1-68891766 launched on Node cn-jenkins-deploy-platform-ansible-os-4890-1 2025-12-15 02:08:46,555 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a32434f5-2b6a-492f-b0ca-a2053e1a0319 2025-12-15 02:08:46,562 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/47325f99-ade4-4eaf-a503-4118176cdad4 2025-12-15 02:08:47,791 - 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.317 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.317/1.526/2.736/1.209 ms') 2025-12-15 02:08:47,791 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-68891766 passed 2025-12-15 02:08:47,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:08:47,938 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-68891766, IP 209.207.14.195, Port 22 2025-12-15 02:08:48,094 - DEBUG - VM ctest-vn2-vm1-68891766 is ready for SSH connections 2025-12-15 02:08:48,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:08:48,094 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.207.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-15 02:08:48,094 - DEBUG - ping -s 56 -c 3 -W 1 209.207.14.195 2025-12-15 02:08:52,749 - DEBUG - PING 209.207.14.195 (209.207.14.195): 56 data bytes --- 209.207.14.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-15 02:08:52,750 - WARNING - Ping to IP 209.207.14.195 from VM ctest-vn1-vm1-14423745 failed 2025-12-15 02:08:52,750 - INFO - Adding interface with subnet_id 218a9e93-601c-492d-a950-6b433be5d00b, port_id None to router 370c74ab-ec3e-4e69-aed6-f174cbac275c 2025-12-15 02:08:52,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:08:52,966 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.207.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-15 02:08:52,966 - DEBUG - ping -s 56 -c 3 -W 1 209.207.14.195 2025-12-15 02:08:56,164 - DEBUG - PING 209.207.14.195 (209.207.14.195): 56 data bytes 64 bytes from 209.207.14.195: seq=1 ttl=63 time=2.682 ms 64 bytes from 209.207.14.195: seq=2 ttl=63 time=1.007 ms --- 209.207.14.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.007/1.844/2.682 ms 2025-12-15 02:08:56,164 - WARNING - Ping to IP 209.207.14.195 from VM ctest-vn1-vm1-14423745 failed 2025-12-15 02:08:57,165 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.207.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-15 02:08:57,165 - DEBUG - ping -s 56 -c 3 -W 1 209.207.14.195 2025-12-15 02:08:59,375 - DEBUG - PING 209.207.14.195 (209.207.14.195): 56 data bytes 64 bytes from 209.207.14.195: seq=0 ttl=63 time=1.922 ms 64 bytes from 209.207.14.195: seq=1 ttl=63 time=0.903 ms 64 bytes from 209.207.14.195: seq=2 ttl=63 time=0.783 ms --- 209.207.14.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.783/1.202/1.922 ms 2025-12-15 02:08:59,375 - INFO - Ping to IP 209.207.14.195 from VM ctest-vn1-vm1-14423745 passed 2025-12-15 02:08:59,375 - INFO - Deleting interface with subnet_id 1f3217c6-8b42-4998-88b9-9627ecfc97ab, port_id None from router 370c74ab-ec3e-4e69-aed6-f174cbac275c 2025-12-15 02:08:59,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:08:59,484 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.207.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-15 02:08:59,485 - DEBUG - ping -s 56 -c 3 -W 1 209.207.14.195 2025-12-15 02:09:02,695 - DEBUG - PING 209.207.14.195 (209.207.14.195): 56 data bytes --- 209.207.14.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-15 02:09:02,695 - WARNING - Ping to IP 209.207.14.195 from VM ctest-vn1-vm1-14423745 failed 2025-12-15 02:09:02,695 - INFO - Adding interface with subnet_id 1f3217c6-8b42-4998-88b9-9627ecfc97ab, port_id None to router 370c74ab-ec3e-4e69-aed6-f174cbac275c 2025-12-15 02:09:02,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:09:02,890 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.207.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-15 02:09:02,890 - DEBUG - ping -s 56 -c 3 -W 1 209.207.14.195 2025-12-15 02:09:05,091 - DEBUG - PING 209.207.14.195 (209.207.14.195): 56 data bytes 64 bytes from 209.207.14.195: seq=0 ttl=63 time=1.281 ms 64 bytes from 209.207.14.195: seq=1 ttl=63 time=0.758 ms 64 bytes from 209.207.14.195: seq=2 ttl=63 time=0.811 ms --- 209.207.14.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.758/0.950/1.281 ms 2025-12-15 02:09:05,091 - INFO - Ping to IP 209.207.14.195 from VM ctest-vn1-vm1-14423745 passed 2025-12-15 02:09:05,091 - INFO - Deleting interface with subnet_id 218a9e93-601c-492d-a950-6b433be5d00b, port_id None from router 370c74ab-ec3e-4e69-aed6-f174cbac275c 2025-12-15 02:09:05,207 - INFO - Deleting interface with subnet_id 1f3217c6-8b42-4998-88b9-9627ecfc97ab, port_id None from router 370c74ab-ec3e-4e69-aed6-f174cbac275c 2025-12-15 02:09:05,383 - INFO - Deleting VM ctest-vn2-vm1-68891766 2025-12-15 02:09:05,453 - INFO - Deleting VM ctest-vn1-vm1-14423745 2025-12-15 02:09:05,523 - INFO - Deleting VN ctest-vn2-59544239 2025-12-15 02:09:05,564 - DEBUG - VN 1ee6cff6-1c83-42f9-b933-1e4482597346 still in use: Unable to complete operation on network 1ee6cff6-1c83-42f9-b933-1e4482597346. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7ed0410e-cf11-4a32-9995-417c45b40510'] 2025-12-15 02:09:05,564 - WARNING - Deleting VN ctest-vn2-59544239 failed..Will retry 2025-12-15 02:09:07,654 - DEBUG - Response for deleting network () 2025-12-15 02:09:07,654 - INFO - Deleting VN ctest-vn1-73903261 2025-12-15 02:09:07,734 - DEBUG - Response for deleting network () 2025-12-15 02:09:07,987 - DEBUG - No XMPP flaps were noticed during the test
2025-12-15 02:09:07,987 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42]
2025-12-15 02:09:07,988 - INFO - -------------------------------------------------------------------------------- 2025-12-15 02:09:08,632 - INFO - Deleted project: ctest-TestRouters-96760292, ID : d0b3cb2b-4d11-4797-a42a-2ab3ac968d73