2025-09-03 16:09:02,717 - INFO - Domain Default found not creating 2025-09-03 16:09:02,870 - INFO - Project ctest-TestRouters-08661027 not found, creating it 2025-09-03 16:09:03,335 - INFO - Created Project:ctest-TestRouters-08661027, ID : 9ac2e5b7-9ad0-46a3-a1f4-09c4ba2f1c44 2025-09-03 16:09:04,782 - INFO - ================================================================================ 2025-09-03 16:09:04,782 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-03 16:09:04,782 - 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-03 16:09:05,038 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-09-03 16:09:05,038 - INFO - Initial checks done. Running the testcase now 2025-09-03 16:09:05,038 - INFO - 2025-09-03 16:09:05,637 - DEBUG - Response for create_network : {'network': {'id': '0bc6ee84-46be-4533-aa91-8f7eda8b5868', 'name': 'ctest-vn1-47893767', 'tenant_id': '9ac2e5b79ad046a3a1f409c4ba2f1c44', 'project_id': '9ac2e5b79ad046a3a1f409c4ba2f1c44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-08661027', 'ctest-vn1-47893767'], 'port_security_enabled': True, 'description': ''}} 2025-09-03 16:09:05,830 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dde2044a-0512-48b8-a6d2-a0a642a75015', 'name': '', 'tenant_id': '9ac2e5b79ad046a3a1f409c4ba2f1c44', 'network_id': '0bc6ee84-46be-4533-aa91-8f7eda8b5868', 'ip_version': 4, 'cidr': '188.236.5.128/26', 'allocation_pools': [{'start': '188.236.5.130', 'end': '188.236.5.190'}], 'gateway_ip': '188.236.5.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.236.5.130', 'tags': [], 'project_id': '9ac2e5b79ad046a3a1f409c4ba2f1c44'}} 2025-09-03 16:09:05,845 - INFO - Created VN ctest-vn1-47893767 2025-09-03 16:09:05,896 - DEBUG - VN ctest-vn1-47893767 UUID is 0bc6ee84-46be-4533-aa91-8f7eda8b5868 2025-09-03 16:09:06,228 - DEBUG - Response for create_network : {'network': {'id': 'fc1d32c3-1c09-401e-89b3-61282a164e4f', 'name': 'ctest-vn2-36582920', 'tenant_id': '9ac2e5b79ad046a3a1f409c4ba2f1c44', 'project_id': '9ac2e5b79ad046a3a1f409c4ba2f1c44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-08661027', 'ctest-vn2-36582920'], 'port_security_enabled': True, 'description': ''}} 2025-09-03 16:09:06,455 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdac992c-653f-468d-89e2-d66dd86dc662', 'name': '', 'tenant_id': '9ac2e5b79ad046a3a1f409c4ba2f1c44', 'network_id': 'fc1d32c3-1c09-401e-89b3-61282a164e4f', 'ip_version': 4, 'cidr': '148.198.169.128/26', 'allocation_pools': [{'start': '148.198.169.130', 'end': '148.198.169.190'}], 'gateway_ip': '148.198.169.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.198.169.130', 'tags': [], 'project_id': '9ac2e5b79ad046a3a1f409c4ba2f1c44'}} 2025-09-03 16:09:06,471 - INFO - Created VN ctest-vn2-36582920 2025-09-03 16:09:06,528 - DEBUG - VN ctest-vn2-36582920 UUID is fc1d32c3-1c09-401e-89b3-61282a164e4f 2025-09-03 16:09:06,725 - DEBUG - Services list from nova: [, , ] 2025-09-03 16:09:07,716 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4006-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4006-1) 2025-09-03 16:09:08,908 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4006-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4006-1) 2025-09-03 16:09:09,027 - INFO - Adding interface with subnet_id dde2044a-0512-48b8-a6d2-a0a642a75015, port_id None to router 4e88c27a-3e35-408e-9ccb-29fda160175a 2025-09-03 16:09:09,353 - INFO - Waiting for VM ctest-vn1-vm1-92090783 to be up.. 2025-09-03 16:09:09,485 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-03 16:09:14,550 - DEBUG - VM is in ACTIVE state now 2025-09-03 16:09:14,550 - INFO - VM name : ctest-vn1-vm1-92090783 2025-09-03 16:09:14,617 - DEBUG - VM ctest-vn1-vm1-92090783 ID is 959cd653-1b49-489b-aa70-2b4da21ddf7c 2025-09-03 16:09:14,635 - DEBUG - VM ctest-vn1-vm1-92090783 launched on Node cn-jenkins-deploy-platform-ansible-os-4006-1 2025-09-03 16:09:14,697 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/959cd653-1b49-489b-aa70-2b4da21ddf7c 2025-09-03 16:09:14,991 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/959cd653-1b49-489b-aa70-2b4da21ddf7c 2025-09-03 16:09:15,021 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/060082ff-7cc1-48b9-ba63-c0f2abaac6c8 2025-09-03 16:09:18,261 - 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-03 16:09:18,261 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92090783 failed! 2025-09-03 16:09:18,320 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-08661027:ctest-vn1-47893767 is 188.236.5.129 and allocation pool is NOT set 2025-09-03 16:09:20,378 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.381 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.381/1.558/2.735/1.177 ms') 2025-09-03 16:09:20,379 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92090783 passed 2025-09-03 16:09:20,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 16:09:20,528 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92090783, IP 188.236.5.131, Port 22 2025-09-03 16:09:20,693 - DEBUG - VM ctest-vn1-vm1-92090783 is ready for SSH connections 2025-09-03 16:09:20,693 - INFO - Waiting for VM ctest-vn2-vm1-88862241 to be up.. 2025-09-03 16:09:20,761 - DEBUG - VM is in ACTIVE state now 2025-09-03 16:09:20,761 - INFO - VM name : ctest-vn2-vm1-88862241 2025-09-03 16:09:20,825 - DEBUG - VM ctest-vn2-vm1-88862241 ID is 8999ed43-8f42-4160-92dd-6e05c058428a 2025-09-03 16:09:20,827 - DEBUG - VM ctest-vn2-vm1-88862241 launched on Node cn-jenkins-deploy-platform-ansible-os-4006-1 2025-09-03 16:09:20,891 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/8999ed43-8f42-4160-92dd-6e05c058428a 2025-09-03 16:09:20,900 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/6c342bc1-810d-4e56-8170-65107b32fffd 2025-09-03 16:09:22,145 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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.422/1.576/2.730/1.154 ms') 2025-09-03 16:09:22,145 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-88862241 passed 2025-09-03 16:09:22,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 16:09:22,296 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-88862241, IP 148.198.169.131, Port 22 2025-09-03 16:09:22,451 - DEBUG - VM ctest-vn2-vm1-88862241 is ready for SSH connections 2025-09-03 16:09:22,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 16:09:22,451 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.198.169.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-09-03 16:09:22,451 - DEBUG - ping -s 56 -c 3 -W 1 148.198.169.131 2025-09-03 16:09:27,134 - DEBUG - PING 148.198.169.131 (148.198.169.131): 56 data bytes --- 148.198.169.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-03 16:09:27,134 - WARNING - Ping to IP 148.198.169.131 from VM ctest-vn1-vm1-92090783 failed 2025-09-03 16:09:27,134 - INFO - Adding interface with subnet_id bdac992c-653f-468d-89e2-d66dd86dc662, port_id None to router 4e88c27a-3e35-408e-9ccb-29fda160175a 2025-09-03 16:09:27,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 16:09:27,362 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.198.169.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-09-03 16:09:27,362 - DEBUG - ping -s 56 -c 3 -W 1 148.198.169.131 2025-09-03 16:09:30,560 - DEBUG - PING 148.198.169.131 (148.198.169.131): 56 data bytes 64 bytes from 148.198.169.131: seq=1 ttl=63 time=2.652 ms 64 bytes from 148.198.169.131: seq=2 ttl=63 time=1.002 ms --- 148.198.169.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.002/1.827/2.652 ms 2025-09-03 16:09:30,560 - WARNING - Ping to IP 148.198.169.131 from VM ctest-vn1-vm1-92090783 failed 2025-09-03 16:09:31,561 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.198.169.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-09-03 16:09:31,561 - DEBUG - ping -s 56 -c 3 -W 1 148.198.169.131 2025-09-03 16:09:33,776 - DEBUG - PING 148.198.169.131 (148.198.169.131): 56 data bytes 64 bytes from 148.198.169.131: seq=0 ttl=63 time=1.503 ms 64 bytes from 148.198.169.131: seq=1 ttl=63 time=0.907 ms 64 bytes from 148.198.169.131: seq=2 ttl=63 time=0.802 ms --- 148.198.169.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.802/1.070/1.503 ms 2025-09-03 16:09:33,776 - INFO - Ping to IP 148.198.169.131 from VM ctest-vn1-vm1-92090783 passed 2025-09-03 16:09:33,776 - INFO - Deleting interface with subnet_id dde2044a-0512-48b8-a6d2-a0a642a75015, port_id None from router 4e88c27a-3e35-408e-9ccb-29fda160175a 2025-09-03 16:09:33,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 16:09:33,878 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.198.169.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-09-03 16:09:33,878 - DEBUG - ping -s 56 -c 3 -W 1 148.198.169.131 2025-09-03 16:09:37,095 - DEBUG - PING 148.198.169.131 (148.198.169.131): 56 data bytes --- 148.198.169.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-03 16:09:37,095 - WARNING - Ping to IP 148.198.169.131 from VM ctest-vn1-vm1-92090783 failed 2025-09-03 16:09:37,095 - INFO - Adding interface with subnet_id dde2044a-0512-48b8-a6d2-a0a642a75015, port_id None to router 4e88c27a-3e35-408e-9ccb-29fda160175a 2025-09-03 16:09:37,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 16:09:37,386 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.198.169.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-09-03 16:09:37,386 - DEBUG - ping -s 56 -c 3 -W 1 148.198.169.131 2025-09-03 16:09:39,635 - DEBUG - PING 148.198.169.131 (148.198.169.131): 56 data bytes 64 bytes from 148.198.169.131: seq=0 ttl=63 time=1.249 ms 64 bytes from 148.198.169.131: seq=1 ttl=63 time=0.900 ms 64 bytes from 148.198.169.131: seq=2 ttl=63 time=0.854 ms --- 148.198.169.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.854/1.001/1.249 ms 2025-09-03 16:09:39,635 - INFO - Ping to IP 148.198.169.131 from VM ctest-vn1-vm1-92090783 passed 2025-09-03 16:09:39,635 - INFO - Deleting interface with subnet_id bdac992c-653f-468d-89e2-d66dd86dc662, port_id None from router 4e88c27a-3e35-408e-9ccb-29fda160175a 2025-09-03 16:09:39,771 - INFO - Deleting interface with subnet_id dde2044a-0512-48b8-a6d2-a0a642a75015, port_id None from router 4e88c27a-3e35-408e-9ccb-29fda160175a 2025-09-03 16:09:39,933 - INFO - Deleting VM ctest-vn2-vm1-88862241 2025-09-03 16:09:40,008 - INFO - Deleting VM ctest-vn1-vm1-92090783 2025-09-03 16:09:40,080 - INFO - Deleting VN ctest-vn2-36582920 2025-09-03 16:09:40,115 - DEBUG - VN fc1d32c3-1c09-401e-89b3-61282a164e4f still in use: Unable to complete operation on network fc1d32c3-1c09-401e-89b3-61282a164e4f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9bd21951-d9cf-48a5-938c-672bcda3fd2d'] 2025-09-03 16:09:40,115 - WARNING - Deleting VN ctest-vn2-36582920 failed..Will retry 2025-09-03 16:09:42,202 - DEBUG - Response for deleting network () 2025-09-03 16:09:42,203 - INFO - Deleting VN ctest-vn1-47893767 2025-09-03 16:09:42,288 - DEBUG - Response for deleting network () 2025-09-03 16:09:42,544 - DEBUG - No XMPP flaps were noticed during the test
2025-09-03 16:09:42,544 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-09-03 16:09:42,544 - INFO - -------------------------------------------------------------------------------- 2025-09-03 16:09:43,185 - INFO - Deleted project: ctest-TestRouters-08661027, ID : 9ac2e5b7-9ad0-46a3-a1f4-09c4ba2f1c44