2025-09-16 14:58:28,151 - INFO - Domain Default found not creating 2025-09-16 14:58:28,318 - INFO - Project ctest-TestRouters-88754770 not found, creating it 2025-09-16 14:58:28,854 - INFO - Created Project:ctest-TestRouters-88754770, ID : f50dc468-8066-45f7-a219-073ecac4b32f 2025-09-16 14:58:30,621 - INFO - ================================================================================ 2025-09-16 14:58:30,621 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-16 14:58:30,621 - 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-16 14:58:30,889 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-16 14:58:30,890 - INFO - Initial checks done. Running the testcase now 2025-09-16 14:58:30,890 - INFO - 2025-09-16 14:58:31,551 - DEBUG - Response for create_network : {'network': {'id': '0fff4d5f-7366-4d45-a66f-89a68bdde6b2', 'name': 'ctest-vn1-11022005', 'tenant_id': 'f50dc468806645f7a219073ecac4b32f', 'project_id': 'f50dc468806645f7a219073ecac4b32f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88754770', 'ctest-vn1-11022005'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 14:58:31,754 - DEBUG - Response for create_subnet : {'subnet': {'id': '31245461-36a1-49c7-b1df-65b415302090', 'name': '', 'tenant_id': 'f50dc468806645f7a219073ecac4b32f', 'network_id': '0fff4d5f-7366-4d45-a66f-89a68bdde6b2', 'ip_version': 4, 'cidr': '169.222.172.192/26', 'allocation_pools': [{'start': '169.222.172.194', 'end': '169.222.172.254'}], 'gateway_ip': '169.222.172.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.222.172.194', 'tags': [], 'project_id': 'f50dc468806645f7a219073ecac4b32f'}} 2025-09-16 14:58:31,776 - INFO - Created VN ctest-vn1-11022005 2025-09-16 14:58:31,832 - DEBUG - VN ctest-vn1-11022005 UUID is 0fff4d5f-7366-4d45-a66f-89a68bdde6b2 2025-09-16 14:58:32,180 - DEBUG - Response for create_network : {'network': {'id': '9aa30b84-56e8-4572-aed6-1a96232af582', 'name': 'ctest-vn2-52844518', 'tenant_id': 'f50dc468806645f7a219073ecac4b32f', 'project_id': 'f50dc468806645f7a219073ecac4b32f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88754770', 'ctest-vn2-52844518'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 14:58:32,384 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d43fab5-0de5-4b26-a242-80cc5e508c36', 'name': '', 'tenant_id': 'f50dc468806645f7a219073ecac4b32f', 'network_id': '9aa30b84-56e8-4572-aed6-1a96232af582', 'ip_version': 4, 'cidr': '219.160.250.128/26', 'allocation_pools': [{'start': '219.160.250.130', 'end': '219.160.250.190'}], 'gateway_ip': '219.160.250.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.160.250.130', 'tags': [], 'project_id': 'f50dc468806645f7a219073ecac4b32f'}} 2025-09-16 14:58:32,405 - INFO - Created VN ctest-vn2-52844518 2025-09-16 14:58:32,460 - DEBUG - VN ctest-vn2-52844518 UUID is 9aa30b84-56e8-4572-aed6-1a96232af582 2025-09-16 14:58:32,639 - DEBUG - Services list from nova: [, , ] 2025-09-16 14:58:33,820 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4124-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4124-1) 2025-09-16 14:58:35,254 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4124-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4124-1) 2025-09-16 14:58:35,387 - INFO - Adding interface with subnet_id 31245461-36a1-49c7-b1df-65b415302090, port_id None to router cd3ec919-93c2-4b43-a7ff-e44a99b52338 2025-09-16 14:58:35,727 - INFO - Waiting for VM ctest-vn1-vm1-45417885 to be up.. 2025-09-16 14:58:35,838 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-16 14:58:40,923 - DEBUG - VM is in ACTIVE state now 2025-09-16 14:58:40,923 - INFO - VM name : ctest-vn1-vm1-45417885 2025-09-16 14:58:41,016 - DEBUG - VM ctest-vn1-vm1-45417885 ID is 068d673c-df2b-4fc6-9baf-3d294c221e01 2025-09-16 14:58:41,040 - DEBUG - VM ctest-vn1-vm1-45417885 launched on Node cn-jenkins-deploy-platform-ansible-os-4124-1 2025-09-16 14:58:41,124 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/068d673c-df2b-4fc6-9baf-3d294c221e01 2025-09-16 14:58:41,460 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/068d673c-df2b-4fc6-9baf-3d294c221e01 2025-09-16 14:58:41,494 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/68c70e68-51a2-45d9-8e67-8579eedc585a 2025-09-16 14:58:44,758 - 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-09-16 14:58:44,759 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45417885 failed! 2025-09-16 14:58:44,816 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-88754770:ctest-vn1-11022005 is 169.222.172.193 and allocation pool is NOT set 2025-09-16 14:58:46,878 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.37 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 = 1.365/3.102/4.839/1.737 ms') 2025-09-16 14:58:46,878 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45417885 passed 2025-09-16 14:58:47,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 14:58:47,032 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45417885, IP 169.222.172.195, Port 22 2025-09-16 14:58:47,198 - DEBUG - VM ctest-vn1-vm1-45417885 is ready for SSH connections 2025-09-16 14:58:47,198 - INFO - Waiting for VM ctest-vn2-vm1-17936539 to be up.. 2025-09-16 14:58:47,280 - DEBUG - VM is in ACTIVE state now 2025-09-16 14:58:47,280 - INFO - VM name : ctest-vn2-vm1-17936539 2025-09-16 14:58:47,368 - DEBUG - VM ctest-vn2-vm1-17936539 ID is 9a01a076-5545-45a7-9c7b-3f7170eac443 2025-09-16 14:58:47,369 - DEBUG - VM ctest-vn2-vm1-17936539 launched on Node cn-jenkins-deploy-platform-ansible-os-4124-1 2025-09-16 14:58:47,467 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9a01a076-5545-45a7-9c7b-3f7170eac443 2025-09-16 14:58:47,476 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1f1fbf52-ec81-4d5a-a6c6-84a9e7e99201 2025-09-16 14:58:48,723 - 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=4.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.20 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 = 2.196/3.574/4.952/1.378 ms') 2025-09-16 14:58:48,723 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-17936539 passed 2025-09-16 14:58:48,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 14:58:48,880 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-17936539, IP 219.160.250.131, Port 22 2025-09-16 14:58:49,043 - DEBUG - VM ctest-vn2-vm1-17936539 is ready for SSH connections 2025-09-16 14:58:49,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 14:58:49,044 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.160.250.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-16 14:58:49,044 - DEBUG - ping -s 56 -c 3 -W 1 219.160.250.131 2025-09-16 14:58:54,117 - DEBUG - PING 219.160.250.131 (219.160.250.131): 56 data bytes --- 219.160.250.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-16 14:58:54,117 - WARNING - Ping to IP 219.160.250.131 from VM ctest-vn1-vm1-45417885 failed 2025-09-16 14:58:54,117 - INFO - Adding interface with subnet_id 5d43fab5-0de5-4b26-a242-80cc5e508c36, port_id None to router cd3ec919-93c2-4b43-a7ff-e44a99b52338 2025-09-16 14:58:54,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 14:58:54,370 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.160.250.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-16 14:58:54,370 - DEBUG - ping -s 56 -c 3 -W 1 219.160.250.131 2025-09-16 14:58:57,609 - DEBUG - PING 219.160.250.131 (219.160.250.131): 56 data bytes 64 bytes from 219.160.250.131: seq=1 ttl=63 time=3.607 ms 64 bytes from 219.160.250.131: seq=2 ttl=63 time=1.082 ms --- 219.160.250.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.082/2.344/3.607 ms 2025-09-16 14:58:57,609 - WARNING - Ping to IP 219.160.250.131 from VM ctest-vn1-vm1-45417885 failed 2025-09-16 14:58:58,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.160.250.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-16 14:58:58,610 - DEBUG - ping -s 56 -c 3 -W 1 219.160.250.131 2025-09-16 14:59:00,844 - DEBUG - PING 219.160.250.131 (219.160.250.131): 56 data bytes 64 bytes from 219.160.250.131: seq=0 ttl=63 time=1.446 ms 64 bytes from 219.160.250.131: seq=1 ttl=63 time=1.029 ms 64 bytes from 219.160.250.131: seq=2 ttl=63 time=0.749 ms --- 219.160.250.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.749/1.074/1.446 ms 2025-09-16 14:59:00,844 - INFO - Ping to IP 219.160.250.131 from VM ctest-vn1-vm1-45417885 passed 2025-09-16 14:59:00,844 - INFO - Deleting interface with subnet_id 31245461-36a1-49c7-b1df-65b415302090, port_id None from router cd3ec919-93c2-4b43-a7ff-e44a99b52338 2025-09-16 14:59:00,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 14:59:00,973 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.160.250.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-16 14:59:00,973 - DEBUG - ping -s 56 -c 3 -W 1 219.160.250.131 2025-09-16 14:59:04,231 - DEBUG - PING 219.160.250.131 (219.160.250.131): 56 data bytes --- 219.160.250.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-16 14:59:04,231 - WARNING - Ping to IP 219.160.250.131 from VM ctest-vn1-vm1-45417885 failed 2025-09-16 14:59:04,231 - INFO - Adding interface with subnet_id 31245461-36a1-49c7-b1df-65b415302090, port_id None to router cd3ec919-93c2-4b43-a7ff-e44a99b52338 2025-09-16 14:59:04,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 14:59:04,445 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.160.250.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-16 14:59:04,445 - DEBUG - ping -s 56 -c 3 -W 1 219.160.250.131 2025-09-16 14:59:06,681 - DEBUG - PING 219.160.250.131 (219.160.250.131): 56 data bytes 64 bytes from 219.160.250.131: seq=0 ttl=63 time=1.799 ms 64 bytes from 219.160.250.131: seq=1 ttl=63 time=1.051 ms 64 bytes from 219.160.250.131: seq=2 ttl=63 time=0.942 ms --- 219.160.250.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.942/1.264/1.799 ms 2025-09-16 14:59:06,681 - INFO - Ping to IP 219.160.250.131 from VM ctest-vn1-vm1-45417885 passed 2025-09-16 14:59:06,681 - INFO - Deleting interface with subnet_id 5d43fab5-0de5-4b26-a242-80cc5e508c36, port_id None from router cd3ec919-93c2-4b43-a7ff-e44a99b52338 2025-09-16 14:59:06,822 - INFO - Deleting interface with subnet_id 31245461-36a1-49c7-b1df-65b415302090, port_id None from router cd3ec919-93c2-4b43-a7ff-e44a99b52338 2025-09-16 14:59:07,062 - INFO - Deleting VM ctest-vn2-vm1-17936539 2025-09-16 14:59:07,145 - INFO - Deleting VM ctest-vn1-vm1-45417885 2025-09-16 14:59:07,222 - INFO - Deleting VN ctest-vn2-52844518 2025-09-16 14:59:07,267 - DEBUG - VN 9aa30b84-56e8-4572-aed6-1a96232af582 still in use: Unable to complete operation on network 9aa30b84-56e8-4572-aed6-1a96232af582. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4f933d67-9820-4c27-8999-53805e203e1b'] 2025-09-16 14:59:07,268 - WARNING - Deleting VN ctest-vn2-52844518 failed..Will retry 2025-09-16 14:59:09,405 - DEBUG - Response for deleting network () 2025-09-16 14:59:09,406 - INFO - Deleting VN ctest-vn1-11022005 2025-09-16 14:59:09,516 - DEBUG - Response for deleting network () 2025-09-16 14:59:09,770 - DEBUG - No XMPP flaps were noticed during the test 2025-09-16 14:59:09,770 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-09-16 14:59:09,770 - INFO - -------------------------------------------------------------------------------- 2025-09-16 14:59:10,477 - INFO - Deleted project: ctest-TestRouters-88754770, ID : f50dc468-8066-45f7-a219-073ecac4b32f