2025-09-11 08:27:29,894 - INFO - Domain Default found not creating 2025-09-11 08:27:30,043 - INFO - Project ctest-TestRouters-21315679 not found, creating it 2025-09-11 08:27:30,589 - INFO - Created Project:ctest-TestRouters-21315679, ID : d5f59357-1de9-4a93-a1ec-db51a6242297 2025-09-11 08:27:32,077 - INFO - ================================================================================ 2025-09-11 08:27:32,077 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-11 08:27:32,077 - 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-09-11 08:27:32,335 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-09-11 08:27:32,336 - INFO - Initial checks done. Running the testcase now 2025-09-11 08:27:32,336 - INFO - 2025-09-11 08:27:32,876 - DEBUG - Response for create_network : {'network': {'id': 'f125d4c2-9a6b-42b5-b3d4-39534e9b0a0e', 'name': 'ctest-vn1-27887905', 'tenant_id': 'd5f593571de94a93a1ecdb51a6242297', 'project_id': 'd5f593571de94a93a1ecdb51a6242297', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-21315679', 'ctest-vn1-27887905'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 08:27:33,105 - DEBUG - Response for create_subnet : {'subnet': {'id': '42659fc6-2c92-4b73-8f9f-9b4e391895f7', 'name': '', 'tenant_id': 'd5f593571de94a93a1ecdb51a6242297', 'network_id': 'f125d4c2-9a6b-42b5-b3d4-39534e9b0a0e', 'ip_version': 4, 'cidr': '28.138.212.128/26', 'allocation_pools': [{'start': '28.138.212.130', 'end': '28.138.212.190'}], 'gateway_ip': '28.138.212.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.138.212.130', 'tags': [], 'project_id': 'd5f593571de94a93a1ecdb51a6242297'}} 2025-09-11 08:27:33,123 - INFO - Created VN ctest-vn1-27887905 2025-09-11 08:27:33,175 - DEBUG - VN ctest-vn1-27887905 UUID is f125d4c2-9a6b-42b5-b3d4-39534e9b0a0e 2025-09-11 08:27:33,552 - DEBUG - Response for create_network : {'network': {'id': '2529f5be-9414-4536-80d4-e80be825daba', 'name': 'ctest-vn2-50805489', 'tenant_id': 'd5f593571de94a93a1ecdb51a6242297', 'project_id': 'd5f593571de94a93a1ecdb51a6242297', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-21315679', 'ctest-vn2-50805489'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 08:27:33,781 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e31d95f-8883-4092-8516-7988eb5b44a7', 'name': '', 'tenant_id': 'd5f593571de94a93a1ecdb51a6242297', 'network_id': '2529f5be-9414-4536-80d4-e80be825daba', 'ip_version': 4, 'cidr': '169.8.126.128/26', 'allocation_pools': [{'start': '169.8.126.130', 'end': '169.8.126.190'}], 'gateway_ip': '169.8.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.8.126.130', 'tags': [], 'project_id': 'd5f593571de94a93a1ecdb51a6242297'}} 2025-09-11 08:27:33,799 - INFO - Created VN ctest-vn2-50805489 2025-09-11 08:27:33,855 - DEBUG - VN ctest-vn2-50805489 UUID is 2529f5be-9414-4536-80d4-e80be825daba 2025-09-11 08:27:34,055 - DEBUG - Services list from nova: [, , ] 2025-09-11 08:27:35,090 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4084-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4084-1) 2025-09-11 08:27:36,291 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4084-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4084-1) 2025-09-11 08:27:36,364 - INFO - Adding interface with subnet_id 42659fc6-2c92-4b73-8f9f-9b4e391895f7, port_id None to router a4fec6f5-dc66-43de-8a78-2504274cb392 2025-09-11 08:27:36,614 - INFO - Waiting for VM ctest-vn1-vm1-06887329 to be up.. 2025-09-11 08:27:36,732 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 08:27:41,802 - DEBUG - VM is in ACTIVE state now 2025-09-11 08:27:41,803 - INFO - VM name : ctest-vn1-vm1-06887329 2025-09-11 08:27:41,873 - DEBUG - VM ctest-vn1-vm1-06887329 ID is fc04edb5-c6c4-40fa-9b46-0f0d90ad57d5 2025-09-11 08:27:41,892 - DEBUG - VM ctest-vn1-vm1-06887329 launched on Node cn-jenkins-deploy-platform-ansible-os-4084-1 2025-09-11 08:27:41,958 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/fc04edb5-c6c4-40fa-9b46-0f0d90ad57d5 2025-09-11 08:27:42,253 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/fc04edb5-c6c4-40fa-9b46-0f0d90ad57d5 2025-09-11 08:27:42,281 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/63cc124c-dcec-4b09-9802-e8bfacd3c078 2025-09-11 08:27:45,520 - 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 1003ms') 2025-09-11 08:27:45,520 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06887329 failed! 2025-09-11 08:27:45,575 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-21315679:ctest-vn1-27887905 is 28.138.212.129 and allocation pool is NOT set 2025-09-11 08:27:47,635 - 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=2.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 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.395/1.617/2.840/1.222 ms') 2025-09-11 08:27:47,635 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06887329 passed 2025-09-11 08:27:47,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:27:47,783 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06887329, IP 28.138.212.131, Port 22 2025-09-11 08:27:47,935 - DEBUG - VM ctest-vn1-vm1-06887329 is ready for SSH connections 2025-09-11 08:27:47,935 - INFO - Waiting for VM ctest-vn2-vm1-15311378 to be up.. 2025-09-11 08:27:48,007 - DEBUG - VM is in ACTIVE state now 2025-09-11 08:27:48,007 - INFO - VM name : ctest-vn2-vm1-15311378 2025-09-11 08:27:48,075 - DEBUG - VM ctest-vn2-vm1-15311378 ID is ee4c710c-d44b-4e92-a02a-6df911e1b770 2025-09-11 08:27:48,075 - DEBUG - VM ctest-vn2-vm1-15311378 launched on Node cn-jenkins-deploy-platform-ansible-os-4084-1 2025-09-11 08:27:48,149 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/ee4c710c-d44b-4e92-a02a-6df911e1b770 2025-09-11 08:27:48,158 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/27680fd9-b3dc-4cc7-8410-e5ce7fb197f2 2025-09-11 08:27:49,393 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/1.732/3.045/1.313 ms') 2025-09-11 08:27:49,393 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-15311378 passed 2025-09-11 08:27:49,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:27:49,539 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-15311378, IP 169.8.126.131, Port 22 2025-09-11 08:27:49,708 - DEBUG - VM ctest-vn2-vm1-15311378 is ready for SSH connections 2025-09-11 08:27:49,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:27:49,708 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.8.126.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-09-11 08:27:49,708 - DEBUG - ping -s 56 -c 3 -W 1 169.8.126.131 2025-09-11 08:27:54,384 - DEBUG - PING 169.8.126.131 (169.8.126.131): 56 data bytes --- 169.8.126.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 08:27:54,384 - WARNING - Ping to IP 169.8.126.131 from VM ctest-vn1-vm1-06887329 failed 2025-09-11 08:27:54,384 - INFO - Adding interface with subnet_id 9e31d95f-8883-4092-8516-7988eb5b44a7, port_id None to router a4fec6f5-dc66-43de-8a78-2504274cb392 2025-09-11 08:27:54,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:27:54,677 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.8.126.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-09-11 08:27:54,677 - DEBUG - ping -s 56 -c 3 -W 1 169.8.126.131 2025-09-11 08:27:56,898 - DEBUG - PING 169.8.126.131 (169.8.126.131): 56 data bytes 64 bytes from 169.8.126.131: seq=0 ttl=63 time=2.573 ms 64 bytes from 169.8.126.131: seq=1 ttl=63 time=0.806 ms 64 bytes from 169.8.126.131: seq=2 ttl=63 time=0.853 ms --- 169.8.126.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.806/1.410/2.573 ms 2025-09-11 08:27:56,898 - INFO - Ping to IP 169.8.126.131 from VM ctest-vn1-vm1-06887329 passed 2025-09-11 08:27:56,898 - INFO - Deleting interface with subnet_id 42659fc6-2c92-4b73-8f9f-9b4e391895f7, port_id None from router a4fec6f5-dc66-43de-8a78-2504274cb392 2025-09-11 08:27:57,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:27:57,012 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.8.126.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-09-11 08:27:57,012 - DEBUG - ping -s 56 -c 3 -W 1 169.8.126.131 2025-09-11 08:28:00,238 - DEBUG - PING 169.8.126.131 (169.8.126.131): 56 data bytes --- 169.8.126.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 08:28:00,238 - WARNING - Ping to IP 169.8.126.131 from VM ctest-vn1-vm1-06887329 failed 2025-09-11 08:28:00,238 - INFO - Adding interface with subnet_id 42659fc6-2c92-4b73-8f9f-9b4e391895f7, port_id None to router a4fec6f5-dc66-43de-8a78-2504274cb392 2025-09-11 08:28:00,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:28:00,467 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.8.126.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-09-11 08:28:00,467 - DEBUG - ping -s 56 -c 3 -W 1 169.8.126.131 2025-09-11 08:28:03,667 - DEBUG - PING 169.8.126.131 (169.8.126.131): 56 data bytes 64 bytes from 169.8.126.131: seq=1 ttl=63 time=1.440 ms 64 bytes from 169.8.126.131: seq=2 ttl=63 time=0.785 ms --- 169.8.126.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.785/1.112/1.440 ms 2025-09-11 08:28:03,667 - WARNING - Ping to IP 169.8.126.131 from VM ctest-vn1-vm1-06887329 failed 2025-09-11 08:28:04,669 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.8.126.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-09-11 08:28:04,669 - DEBUG - ping -s 56 -c 3 -W 1 169.8.126.131 2025-09-11 08:28:06,933 - DEBUG - PING 169.8.126.131 (169.8.126.131): 56 data bytes 64 bytes from 169.8.126.131: seq=0 ttl=63 time=1.752 ms 64 bytes from 169.8.126.131: seq=1 ttl=63 time=0.840 ms 64 bytes from 169.8.126.131: seq=2 ttl=63 time=0.755 ms --- 169.8.126.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.755/1.115/1.752 ms 2025-09-11 08:28:06,933 - INFO - Ping to IP 169.8.126.131 from VM ctest-vn1-vm1-06887329 passed 2025-09-11 08:28:06,934 - INFO - Deleting interface with subnet_id 9e31d95f-8883-4092-8516-7988eb5b44a7, port_id None from router a4fec6f5-dc66-43de-8a78-2504274cb392 2025-09-11 08:28:07,047 - INFO - Deleting interface with subnet_id 42659fc6-2c92-4b73-8f9f-9b4e391895f7, port_id None from router a4fec6f5-dc66-43de-8a78-2504274cb392 2025-09-11 08:28:07,210 - INFO - Deleting VM ctest-vn2-vm1-15311378 2025-09-11 08:28:07,287 - INFO - Deleting VM ctest-vn1-vm1-06887329 2025-09-11 08:28:07,351 - INFO - Deleting VN ctest-vn2-50805489 2025-09-11 08:28:07,385 - DEBUG - VN 2529f5be-9414-4536-80d4-e80be825daba still in use: Unable to complete operation on network 2529f5be-9414-4536-80d4-e80be825daba. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7bd9cc30-ea59-4512-a147-0bf13b016d93'] 2025-09-11 08:28:07,386 - WARNING - Deleting VN ctest-vn2-50805489 failed..Will retry 2025-09-11 08:28:09,495 - DEBUG - Response for deleting network () 2025-09-11 08:28:09,495 - INFO - Deleting VN ctest-vn1-27887905 2025-09-11 08:28:09,613 - DEBUG - Response for deleting network () 2025-09-11 08:28:09,871 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 08:28:09,871 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-09-11 08:28:09,871 - INFO - -------------------------------------------------------------------------------- 2025-09-11 08:28:10,514 - INFO - Deleted project: ctest-TestRouters-21315679, ID : d5f59357-1de9-4a93-a1ec-db51a6242297