2025-08-13 16:18:20,328 - INFO - Domain Default found not creating 2025-08-13 16:18:20,458 - INFO - Project ctest-TestRouters-50736592 not found, creating it 2025-08-13 16:18:20,907 - INFO - Created Project:ctest-TestRouters-50736592, ID : da302e75-c2c8-485a-908c-4c78de814759 2025-08-13 16:18:22,316 - INFO - ================================================================================ 2025-08-13 16:18:22,317 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-13 16:18:22,317 - 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-08-13 16:18:22,570 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-08-13 16:18:22,570 - INFO - Initial checks done. Running the testcase now 2025-08-13 16:18:22,570 - INFO - 2025-08-13 16:18:23,100 - DEBUG - Response for create_network : {'network': {'id': 'd133fdaf-c62a-4cd6-a40d-28930d06bb7c', 'name': 'ctest-vn1-35823368', 'tenant_id': 'da302e75c2c8485a908c4c78de814759', 'project_id': 'da302e75c2c8485a908c4c78de814759', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-50736592', 'ctest-vn1-35823368'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 16:18:23,282 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf2f6689-8c40-48e6-9b5e-f0c9cdf1e335', 'name': '', 'tenant_id': 'da302e75c2c8485a908c4c78de814759', 'network_id': 'd133fdaf-c62a-4cd6-a40d-28930d06bb7c', 'ip_version': 4, 'cidr': '29.220.39.128/26', 'allocation_pools': [{'start': '29.220.39.130', 'end': '29.220.39.190'}], 'gateway_ip': '29.220.39.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.220.39.130', 'tags': [], 'project_id': 'da302e75c2c8485a908c4c78de814759'}} 2025-08-13 16:18:23,299 - INFO - Created VN ctest-vn1-35823368 2025-08-13 16:18:23,352 - DEBUG - VN ctest-vn1-35823368 UUID is d133fdaf-c62a-4cd6-a40d-28930d06bb7c 2025-08-13 16:18:23,680 - DEBUG - Response for create_network : {'network': {'id': '6b19435a-2f4d-4adf-9eb2-84b77cdbff86', 'name': 'ctest-vn2-83095351', 'tenant_id': 'da302e75c2c8485a908c4c78de814759', 'project_id': 'da302e75c2c8485a908c4c78de814759', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-50736592', 'ctest-vn2-83095351'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 16:18:23,885 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5be46e7-5431-4edb-9eab-3954c60ec101', 'name': '', 'tenant_id': 'da302e75c2c8485a908c4c78de814759', 'network_id': '6b19435a-2f4d-4adf-9eb2-84b77cdbff86', 'ip_version': 4, 'cidr': '121.205.147.192/26', 'allocation_pools': [{'start': '121.205.147.194', 'end': '121.205.147.254'}], 'gateway_ip': '121.205.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.205.147.194', 'tags': [], 'project_id': 'da302e75c2c8485a908c4c78de814759'}} 2025-08-13 16:18:23,900 - INFO - Created VN ctest-vn2-83095351 2025-08-13 16:18:23,960 - DEBUG - VN ctest-vn2-83095351 UUID is 6b19435a-2f4d-4adf-9eb2-84b77cdbff86 2025-08-13 16:18:24,206 - DEBUG - Services list from nova: [, , ] 2025-08-13 16:18:25,144 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3842-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3842-1) 2025-08-13 16:18:26,294 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3842-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3842-1) 2025-08-13 16:18:26,355 - INFO - Adding interface with subnet_id cf2f6689-8c40-48e6-9b5e-f0c9cdf1e335, port_id None to router 2ab723d0-ae07-4ae8-8a5d-8dda9a2af10d 2025-08-13 16:18:26,659 - INFO - Waiting for VM ctest-vn1-vm1-78908402 to be up.. 2025-08-13 16:18:26,772 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 16:18:31,836 - DEBUG - VM is in ACTIVE state now 2025-08-13 16:18:31,837 - INFO - VM name : ctest-vn1-vm1-78908402 2025-08-13 16:18:31,907 - DEBUG - VM ctest-vn1-vm1-78908402 ID is 8971b9ac-10ec-417e-870f-11ca1dafbddb 2025-08-13 16:18:31,926 - DEBUG - VM ctest-vn1-vm1-78908402 launched on Node cn-jenkins-deploy-platform-ansible-os-3842-1 2025-08-13 16:18:31,992 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/8971b9ac-10ec-417e-870f-11ca1dafbddb 2025-08-13 16:18:32,288 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/8971b9ac-10ec-417e-870f-11ca1dafbddb 2025-08-13 16:18:32,318 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/df94d785-1b1a-475e-a885-c4fee23e2d17 2025-08-13 16:18:35,575 - 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 1019ms') 2025-08-13 16:18:35,575 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78908402 failed! 2025-08-13 16:18:35,632 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-50736592:ctest-vn1-35823368 is 29.220.39.129 and allocation pool is NOT set 2025-08-13 16:18:37,693 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.400 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.400/1.606/2.812/1.206 ms') 2025-08-13 16:18:37,693 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78908402 passed 2025-08-13 16:18:37,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:18:37,848 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78908402, IP 29.220.39.131, Port 22 2025-08-13 16:18:38,004 - DEBUG - VM ctest-vn1-vm1-78908402 is ready for SSH connections 2025-08-13 16:18:38,004 - INFO - Waiting for VM ctest-vn2-vm1-76823434 to be up.. 2025-08-13 16:18:38,070 - DEBUG - VM is in ACTIVE state now 2025-08-13 16:18:38,070 - INFO - VM name : ctest-vn2-vm1-76823434 2025-08-13 16:18:38,132 - DEBUG - VM ctest-vn2-vm1-76823434 ID is 5f5d65a8-784a-4ec1-93b0-40fecba8b2e7 2025-08-13 16:18:38,132 - DEBUG - VM ctest-vn2-vm1-76823434 launched on Node cn-jenkins-deploy-platform-ansible-os-3842-1 2025-08-13 16:18:38,199 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/5f5d65a8-784a-4ec1-93b0-40fecba8b2e7 2025-08-13 16:18:38,207 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e25cefa4-6fb0-4653-827e-408b18e169f0 2025-08-13 16:18:39,442 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.361 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.361/1.757/3.154/1.396 ms') 2025-08-13 16:18:39,442 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-76823434 passed 2025-08-13 16:18:39,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:18:39,596 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-76823434, IP 121.205.147.195, Port 22 2025-08-13 16:18:39,759 - DEBUG - VM ctest-vn2-vm1-76823434 is ready for SSH connections 2025-08-13 16:18:39,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:18:39,760 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.205.147.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-13 16:18:39,760 - DEBUG - ping -s 56 -c 3 -W 1 121.205.147.195 2025-08-13 16:18:44,385 - DEBUG - PING 121.205.147.195 (121.205.147.195): 56 data bytes --- 121.205.147.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-13 16:18:44,385 - WARNING - Ping to IP 121.205.147.195 from VM ctest-vn1-vm1-78908402 failed 2025-08-13 16:18:44,385 - INFO - Adding interface with subnet_id a5be46e7-5431-4edb-9eab-3954c60ec101, port_id None to router 2ab723d0-ae07-4ae8-8a5d-8dda9a2af10d 2025-08-13 16:18:44,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:18:44,645 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.205.147.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-13 16:18:44,645 - DEBUG - ping -s 56 -c 3 -W 1 121.205.147.195 2025-08-13 16:18:46,845 - DEBUG - PING 121.205.147.195 (121.205.147.195): 56 data bytes 64 bytes from 121.205.147.195: seq=0 ttl=63 time=2.299 ms 64 bytes from 121.205.147.195: seq=1 ttl=63 time=0.752 ms 64 bytes from 121.205.147.195: seq=2 ttl=63 time=0.606 ms --- 121.205.147.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.606/1.219/2.299 ms 2025-08-13 16:18:46,846 - INFO - Ping to IP 121.205.147.195 from VM ctest-vn1-vm1-78908402 passed 2025-08-13 16:18:46,846 - INFO - Deleting interface with subnet_id cf2f6689-8c40-48e6-9b5e-f0c9cdf1e335, port_id None from router 2ab723d0-ae07-4ae8-8a5d-8dda9a2af10d 2025-08-13 16:18:46,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:18:46,981 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.205.147.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-13 16:18:46,981 - DEBUG - ping -s 56 -c 3 -W 1 121.205.147.195 2025-08-13 16:18:50,177 - DEBUG - PING 121.205.147.195 (121.205.147.195): 56 data bytes --- 121.205.147.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-13 16:18:50,178 - WARNING - Ping to IP 121.205.147.195 from VM ctest-vn1-vm1-78908402 failed 2025-08-13 16:18:50,178 - INFO - Adding interface with subnet_id cf2f6689-8c40-48e6-9b5e-f0c9cdf1e335, port_id None to router 2ab723d0-ae07-4ae8-8a5d-8dda9a2af10d 2025-08-13 16:18:50,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:18:50,385 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.205.147.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-13 16:18:50,386 - DEBUG - ping -s 56 -c 3 -W 1 121.205.147.195 2025-08-13 16:18:53,578 - DEBUG - PING 121.205.147.195 (121.205.147.195): 56 data bytes 64 bytes from 121.205.147.195: seq=1 ttl=63 time=1.356 ms 64 bytes from 121.205.147.195: seq=2 ttl=63 time=0.720 ms --- 121.205.147.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.720/1.038/1.356 ms 2025-08-13 16:18:53,578 - WARNING - Ping to IP 121.205.147.195 from VM ctest-vn1-vm1-78908402 failed 2025-08-13 16:18:54,579 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.205.147.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-13 16:18:54,579 - DEBUG - ping -s 56 -c 3 -W 1 121.205.147.195 2025-08-13 16:18:56,807 - DEBUG - PING 121.205.147.195 (121.205.147.195): 56 data bytes 64 bytes from 121.205.147.195: seq=0 ttl=63 time=1.319 ms 64 bytes from 121.205.147.195: seq=1 ttl=63 time=0.842 ms 64 bytes from 121.205.147.195: seq=2 ttl=63 time=0.659 ms --- 121.205.147.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.659/0.940/1.319 ms 2025-08-13 16:18:56,807 - INFO - Ping to IP 121.205.147.195 from VM ctest-vn1-vm1-78908402 passed 2025-08-13 16:18:56,807 - INFO - Deleting interface with subnet_id a5be46e7-5431-4edb-9eab-3954c60ec101, port_id None from router 2ab723d0-ae07-4ae8-8a5d-8dda9a2af10d 2025-08-13 16:18:56,925 - INFO - Deleting interface with subnet_id cf2f6689-8c40-48e6-9b5e-f0c9cdf1e335, port_id None from router 2ab723d0-ae07-4ae8-8a5d-8dda9a2af10d 2025-08-13 16:18:57,119 - INFO - Deleting VM ctest-vn2-vm1-76823434 2025-08-13 16:18:57,190 - INFO - Deleting VM ctest-vn1-vm1-78908402 2025-08-13 16:18:57,255 - INFO - Deleting VN ctest-vn2-83095351 2025-08-13 16:18:57,295 - DEBUG - VN 6b19435a-2f4d-4adf-9eb2-84b77cdbff86 still in use: Unable to complete operation on network 6b19435a-2f4d-4adf-9eb2-84b77cdbff86. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-08610a9d-e0a9-4cca-931e-3c1015bbad5b'] 2025-08-13 16:18:57,295 - WARNING - Deleting VN ctest-vn2-83095351 failed..Will retry 2025-08-13 16:18:59,382 - DEBUG - Response for deleting network () 2025-08-13 16:18:59,382 - INFO - Deleting VN ctest-vn1-35823368 2025-08-13 16:18:59,473 - DEBUG - Response for deleting network () 2025-08-13 16:18:59,729 - DEBUG - No XMPP flaps were noticed during the test 2025-08-13 16:18:59,729 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-08-13 16:18:59,729 - INFO - -------------------------------------------------------------------------------- 2025-08-13 16:19:00,387 - INFO - Deleted project: ctest-TestRouters-50736592, ID : da302e75-c2c8-485a-908c-4c78de814759