2025-11-14 07:51:11,819 - INFO - Domain Default found not creating 2025-11-14 07:51:11,989 - INFO - Project ctest-TestRouters-47626893 not found, creating it 2025-11-14 07:51:12,511 - INFO - Created Project:ctest-TestRouters-47626893, ID : 507be876-9162-41d1-b974-3be3ff4336d4 2025-11-14 07:51:14,151 - INFO - ================================================================================ 2025-11-14 07:51:14,152 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-14 07:51:14,152 - 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-11-14 07:51:14,418 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-11-14 07:51:14,419 - INFO - Initial checks done. Running the testcase now 2025-11-14 07:51:14,419 - INFO - 2025-11-14 07:51:15,020 - DEBUG - Response for create_network : {'network': {'id': '5b61fc63-77d4-47ef-9d1a-209a3db81598', 'name': 'ctest-vn1-91260602', 'tenant_id': '507be876916241d1b9743be3ff4336d4', 'project_id': '507be876916241d1b9743be3ff4336d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-47626893', 'ctest-vn1-91260602'], 'port_security_enabled': True, 'description': ''}} 2025-11-14 07:51:15,183 - DEBUG - Response for create_subnet : {'subnet': {'id': '40215137-6506-4c9e-a846-dd1adb51baba', 'name': '', 'tenant_id': '507be876916241d1b9743be3ff4336d4', 'network_id': '5b61fc63-77d4-47ef-9d1a-209a3db81598', 'ip_version': 4, 'cidr': '174.72.78.64/26', 'allocation_pools': [{'start': '174.72.78.66', 'end': '174.72.78.126'}], 'gateway_ip': '174.72.78.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.72.78.66', 'tags': [], 'project_id': '507be876916241d1b9743be3ff4336d4'}} 2025-11-14 07:51:15,200 - INFO - Created VN ctest-vn1-91260602 2025-11-14 07:51:15,254 - DEBUG - VN ctest-vn1-91260602 UUID is 5b61fc63-77d4-47ef-9d1a-209a3db81598 2025-11-14 07:51:15,577 - DEBUG - Response for create_network : {'network': {'id': 'e1786884-d831-461c-8c60-17d60f9805ea', 'name': 'ctest-vn2-50586366', 'tenant_id': '507be876916241d1b9743be3ff4336d4', 'project_id': '507be876916241d1b9743be3ff4336d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-47626893', 'ctest-vn2-50586366'], 'port_security_enabled': True, 'description': ''}} 2025-11-14 07:51:15,798 - DEBUG - Response for create_subnet : {'subnet': {'id': '2dba2c40-5ef7-4738-823c-8c41c00631af', 'name': '', 'tenant_id': '507be876916241d1b9743be3ff4336d4', 'network_id': 'e1786884-d831-461c-8c60-17d60f9805ea', 'ip_version': 4, 'cidr': '35.19.79.128/26', 'allocation_pools': [{'start': '35.19.79.130', 'end': '35.19.79.190'}], 'gateway_ip': '35.19.79.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.19.79.130', 'tags': [], 'project_id': '507be876916241d1b9743be3ff4336d4'}} 2025-11-14 07:51:15,822 - INFO - Created VN ctest-vn2-50586366 2025-11-14 07:51:15,878 - DEBUG - VN ctest-vn2-50586366 UUID is e1786884-d831-461c-8c60-17d60f9805ea 2025-11-14 07:51:16,080 - DEBUG - Services list from nova: [, , ] 2025-11-14 07:51:17,223 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4727-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4727-1) 2025-11-14 07:51:18,612 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4727-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4727-1) 2025-11-14 07:51:18,683 - INFO - Adding interface with subnet_id 40215137-6506-4c9e-a846-dd1adb51baba, port_id None to router 685343bd-d6ee-4828-8cf1-2fa5f26398e0 2025-11-14 07:51:18,988 - INFO - Waiting for VM ctest-vn1-vm1-24006048 to be up.. 2025-11-14 07:51:19,090 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-14 07:51:24,162 - DEBUG - VM is in ACTIVE state now 2025-11-14 07:51:24,162 - INFO - VM name : ctest-vn1-vm1-24006048 2025-11-14 07:51:24,257 - DEBUG - VM ctest-vn1-vm1-24006048 ID is 05219785-bafa-49a8-8f98-5ac0bd3d1005 2025-11-14 07:51:24,283 - DEBUG - VM ctest-vn1-vm1-24006048 launched on Node cn-jenkins-deploy-platform-ansible-os-4727-1 2025-11-14 07:51:24,378 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/05219785-bafa-49a8-8f98-5ac0bd3d1005 2025-11-14 07:51:24,723 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/05219785-bafa-49a8-8f98-5ac0bd3d1005 2025-11-14 07:51:24,755 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a531c305-0b83-476f-a1f8-8061d67d232e 2025-11-14 07:51:28,018 - 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 1018ms') 2025-11-14 07:51:28,018 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24006048 failed! 2025-11-14 07:51:28,078 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-47626893:ctest-vn1-91260602 is 174.72.78.65 and allocation pool is NOT set 2025-11-14 07:51:30,145 - 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=5.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.12 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.118/3.086/5.054/1.968 ms') 2025-11-14 07:51:30,145 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24006048 passed 2025-11-14 07:51:30,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:51:30,294 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-24006048, IP 174.72.78.67, Port 22 2025-11-14 07:51:30,449 - DEBUG - VM ctest-vn1-vm1-24006048 is ready for SSH connections 2025-11-14 07:51:30,449 - INFO - Waiting for VM ctest-vn2-vm1-51602445 to be up.. 2025-11-14 07:51:30,532 - DEBUG - VM is in ACTIVE state now 2025-11-14 07:51:30,532 - INFO - VM name : ctest-vn2-vm1-51602445 2025-11-14 07:51:30,606 - DEBUG - VM ctest-vn2-vm1-51602445 ID is 37768074-0dd1-47e0-b529-36ef7208373a 2025-11-14 07:51:30,606 - DEBUG - VM ctest-vn2-vm1-51602445 launched on Node cn-jenkins-deploy-platform-ansible-os-4727-1 2025-11-14 07:51:30,680 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/37768074-0dd1-47e0-b529-36ef7208373a 2025-11-14 07:51:30,689 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/416f26d2-305d-4025-bac4-7c8b64d4de92 2025-11-14 07:51:31,935 - 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=5.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.927 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.927/2.979/5.031/2.052 ms') 2025-11-14 07:51:31,936 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-51602445 passed 2025-11-14 07:51:32,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:51:32,090 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-51602445, IP 35.19.79.131, Port 22 2025-11-14 07:51:32,249 - DEBUG - VM ctest-vn2-vm1-51602445 is ready for SSH connections 2025-11-14 07:51:32,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:51:32,249 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.19.79.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-14 07:51:32,250 - DEBUG - ping -s 56 -c 3 -W 1 35.19.79.131 2025-11-14 07:51:36,937 - DEBUG - PING 35.19.79.131 (35.19.79.131): 56 data bytes --- 35.19.79.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-14 07:51:36,937 - WARNING - Ping to IP 35.19.79.131 from VM ctest-vn1-vm1-24006048 failed 2025-11-14 07:51:36,937 - INFO - Adding interface with subnet_id 2dba2c40-5ef7-4738-823c-8c41c00631af, port_id None to router 685343bd-d6ee-4828-8cf1-2fa5f26398e0 2025-11-14 07:51:37,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:51:37,244 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.19.79.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-14 07:51:37,244 - DEBUG - ping -s 56 -c 3 -W 1 35.19.79.131 2025-11-14 07:51:40,472 - DEBUG - PING 35.19.79.131 (35.19.79.131): 56 data bytes 64 bytes from 35.19.79.131: seq=1 ttl=63 time=2.872 ms 64 bytes from 35.19.79.131: seq=2 ttl=63 time=0.866 ms --- 35.19.79.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.866/1.869/2.872 ms 2025-11-14 07:51:40,472 - WARNING - Ping to IP 35.19.79.131 from VM ctest-vn1-vm1-24006048 failed 2025-11-14 07:51:41,473 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.19.79.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-14 07:51:41,473 - DEBUG - ping -s 56 -c 3 -W 1 35.19.79.131 2025-11-14 07:51:43,698 - DEBUG - PING 35.19.79.131 (35.19.79.131): 56 data bytes 64 bytes from 35.19.79.131: seq=0 ttl=63 time=1.658 ms 64 bytes from 35.19.79.131: seq=1 ttl=63 time=0.809 ms 64 bytes from 35.19.79.131: seq=2 ttl=63 time=0.876 ms --- 35.19.79.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.809/1.114/1.658 ms 2025-11-14 07:51:43,698 - INFO - Ping to IP 35.19.79.131 from VM ctest-vn1-vm1-24006048 passed 2025-11-14 07:51:43,698 - INFO - Deleting interface with subnet_id 40215137-6506-4c9e-a846-dd1adb51baba, port_id None from router 685343bd-d6ee-4828-8cf1-2fa5f26398e0 2025-11-14 07:51:43,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:51:43,813 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.19.79.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-14 07:51:43,814 - DEBUG - ping -s 56 -c 3 -W 1 35.19.79.131 2025-11-14 07:51:47,041 - DEBUG - PING 35.19.79.131 (35.19.79.131): 56 data bytes --- 35.19.79.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-14 07:51:47,041 - WARNING - Ping to IP 35.19.79.131 from VM ctest-vn1-vm1-24006048 failed 2025-11-14 07:51:47,041 - INFO - Adding interface with subnet_id 40215137-6506-4c9e-a846-dd1adb51baba, port_id None to router 685343bd-d6ee-4828-8cf1-2fa5f26398e0 2025-11-14 07:51:47,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:51:47,261 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.19.79.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-14 07:51:47,261 - DEBUG - ping -s 56 -c 3 -W 1 35.19.79.131 2025-11-14 07:51:49,485 - DEBUG - PING 35.19.79.131 (35.19.79.131): 56 data bytes 64 bytes from 35.19.79.131: seq=0 ttl=63 time=1.552 ms 64 bytes from 35.19.79.131: seq=1 ttl=63 time=0.742 ms 64 bytes from 35.19.79.131: seq=2 ttl=63 time=0.874 ms --- 35.19.79.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.742/1.056/1.552 ms 2025-11-14 07:51:49,486 - INFO - Ping to IP 35.19.79.131 from VM ctest-vn1-vm1-24006048 passed 2025-11-14 07:51:49,486 - INFO - Deleting interface with subnet_id 2dba2c40-5ef7-4738-823c-8c41c00631af, port_id None from router 685343bd-d6ee-4828-8cf1-2fa5f26398e0 2025-11-14 07:51:49,612 - INFO - Deleting interface with subnet_id 40215137-6506-4c9e-a846-dd1adb51baba, port_id None from router 685343bd-d6ee-4828-8cf1-2fa5f26398e0 2025-11-14 07:51:49,785 - INFO - Deleting VM ctest-vn2-vm1-51602445 2025-11-14 07:51:49,856 - INFO - Deleting VM ctest-vn1-vm1-24006048 2025-11-14 07:51:49,927 - INFO - Deleting VN ctest-vn2-50586366 2025-11-14 07:51:49,961 - DEBUG - VN e1786884-d831-461c-8c60-17d60f9805ea still in use: Unable to complete operation on network e1786884-d831-461c-8c60-17d60f9805ea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-79b0881e-6afd-4772-b347-cc40e7902fe3'] 2025-11-14 07:51:49,961 - WARNING - Deleting VN ctest-vn2-50586366 failed..Will retry 2025-11-14 07:51:52,072 - DEBUG - Response for deleting network () 2025-11-14 07:51:52,073 - INFO - Deleting VN ctest-vn1-91260602 2025-11-14 07:51:52,181 - DEBUG - Response for deleting network () 2025-11-14 07:51:52,436 - DEBUG - No XMPP flaps were noticed during the test 2025-11-14 07:51:52,436 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-11-14 07:51:52,436 - INFO - -------------------------------------------------------------------------------- 2025-11-14 07:51:53,172 - INFO - Deleted project: ctest-TestRouters-47626893, ID : 507be876-9162-41d1-b974-3be3ff4336d4