2025-11-10 02:13:38,787 - INFO - Domain Default found not creating 2025-11-10 02:13:38,963 - INFO - Project ctest-TestRouters-19957025 not found, creating it 2025-11-10 02:13:39,537 - INFO - Created Project:ctest-TestRouters-19957025, ID : a3ea9497-3339-4e7b-b4ae-1d7ff3b92573 2025-11-10 02:13:41,091 - INFO - ================================================================================ 2025-11-10 02:13:41,091 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-10 02:13:41,091 - 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-10 02:13:42,399 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.193': '0', '10.20.0.129': '0'}, '10.0.0.130': {'10.20.0.193': '0', '10.20.0.18': '0'}} with 2025-11-10 02:13:42,399 - INFO - Initial checks done. Running the testcase now 2025-11-10 02:13:42,399 - INFO - 2025-11-10 02:13:43,154 - DEBUG - Response for create_network : {'network': {'id': '96e618dc-c275-4986-83a7-3ad77239ad0c', 'name': 'ctest-vn1-06976614', 'tenant_id': 'a3ea949733394e7bb4ae1d7ff3b92573', 'project_id': 'a3ea949733394e7bb4ae1d7ff3b92573', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19957025', 'ctest-vn1-06976614'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 02:13:43,505 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a18fd24-437d-4c41-9722-079b8ee38fef', 'name': '', 'tenant_id': 'a3ea949733394e7bb4ae1d7ff3b92573', 'network_id': '96e618dc-c275-4986-83a7-3ad77239ad0c', 'ip_version': 4, 'cidr': '216.36.160.192/26', 'allocation_pools': [{'start': '216.36.160.194', 'end': '216.36.160.254'}], 'gateway_ip': '216.36.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.36.160.194', 'tags': [], 'project_id': 'a3ea949733394e7bb4ae1d7ff3b92573'}} 2025-11-10 02:13:43,532 - INFO - Created VN ctest-vn1-06976614 2025-11-10 02:13:43,553 - DEBUG - VN ctest-vn1-06976614 UUID is 96e618dc-c275-4986-83a7-3ad77239ad0c 2025-11-10 02:13:43,937 - DEBUG - Response for create_network : {'network': {'id': 'cf45a199-6b89-4a85-a2c8-20124befc983', 'name': 'ctest-vn2-72408028', 'tenant_id': 'a3ea949733394e7bb4ae1d7ff3b92573', 'project_id': 'a3ea949733394e7bb4ae1d7ff3b92573', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19957025', 'ctest-vn2-72408028'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 02:13:44,168 - DEBUG - Response for create_subnet : {'subnet': {'id': '6936da9d-9cff-4ced-bec0-ce930232da5b', 'name': '', 'tenant_id': 'a3ea949733394e7bb4ae1d7ff3b92573', 'network_id': 'cf45a199-6b89-4a85-a2c8-20124befc983', 'ip_version': 4, 'cidr': '118.134.126.0/26', 'allocation_pools': [{'start': '118.134.126.2', 'end': '118.134.126.62'}], 'gateway_ip': '118.134.126.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.134.126.2', 'tags': [], 'project_id': 'a3ea949733394e7bb4ae1d7ff3b92573'}} 2025-11-10 02:13:44,192 - INFO - Created VN ctest-vn2-72408028 2025-11-10 02:13:44,206 - DEBUG - VN ctest-vn2-72408028 UUID is cf45a199-6b89-4a85-a2c8-20124befc983 2025-11-10 02:13:44,376 - DEBUG - Services list from nova: [, , , ] 2025-11-10 02:13:45,539 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4674-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4674-1) 2025-11-10 02:13:46,966 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4674-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4674-2) 2025-11-10 02:13:47,145 - INFO - Adding interface with subnet_id 1a18fd24-437d-4c41-9722-079b8ee38fef, port_id None to router ec9a8c56-f550-45e0-bb3d-1fd92eaf6127 2025-11-10 02:13:47,510 - INFO - Waiting for VM ctest-vn1-vm1-26532298 to be up.. 2025-11-10 02:13:47,627 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 02:13:52,739 - DEBUG - VM is in ACTIVE state now 2025-11-10 02:13:52,739 - INFO - VM name : ctest-vn1-vm1-26532298 2025-11-10 02:13:52,848 - DEBUG - VM ctest-vn1-vm1-26532298 ID is 38a97a20-0d61-44f1-b29b-d697693e91c4 2025-11-10 02:13:52,881 - DEBUG - VM ctest-vn1-vm1-26532298 launched on Node an-jenkins-deploy-platform-ansible-os-4674-1 2025-11-10 02:13:52,987 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/38a97a20-0d61-44f1-b29b-d697693e91c4 2025-11-10 02:13:53,299 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/38a97a20-0d61-44f1-b29b-d697693e91c4 2025-11-10 02:13:53,338 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/54254c9b-ba6b-42f9-8224-7c5cf147f968 2025-11-10 02:13:56,531 - 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 1010ms') 2025-11-10 02:13:56,532 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26532298 failed! 2025-11-10 02:13:56,550 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-19957025:ctest-vn1-06976614 is 216.36.160.193 and allocation pool is NOT set 2025-11-10 02:13:58,624 - 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=3.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.89 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 = 2.893/3.340/3.788/0.447 ms') 2025-11-10 02:13:58,624 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26532298 passed 2025-11-10 02:13:58,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 02:13:58,705 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-26532298, IP 216.36.160.195, Port 22 2025-11-10 02:13:58,879 - DEBUG - VM ctest-vn1-vm1-26532298 is ready for SSH connections 2025-11-10 02:13:58,880 - INFO - Waiting for VM ctest-vn2-vm1-78534907 to be up.. 2025-11-10 02:13:58,996 - DEBUG - VM is in ACTIVE state now 2025-11-10 02:13:58,996 - INFO - VM name : ctest-vn2-vm1-78534907 2025-11-10 02:13:59,084 - DEBUG - VM ctest-vn2-vm1-78534907 ID is 530beffb-ca98-4155-8ad3-59d9a8bde73b 2025-11-10 02:13:59,084 - DEBUG - VM ctest-vn2-vm1-78534907 launched on Node an-jenkins-deploy-platform-ansible-os-4674-2 2025-11-10 02:13:59,177 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/530beffb-ca98-4155-8ad3-59d9a8bde73b 2025-11-10 02:13:59,189 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/c716319e-c0cb-40e5-aec5-7a5c68a661ee 2025-11-10 02:14:02,387 - 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=2 ttl=63 time=9.79 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1021ms\r\nrtt min/avg/max/mdev = 9.785/9.785/9.785/0.000 ms') 2025-11-10 02:14:02,387 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-78534907 passed 2025-11-10 02:14:02,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 02:14:02,459 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-78534907, IP 118.134.126.3, Port 22 2025-11-10 02:14:02,635 - DEBUG - VM ctest-vn2-vm1-78534907 is ready for SSH connections 2025-11-10 02:14:02,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 02:14:02,635 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.134.126.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-10 02:14:02,635 - DEBUG - ping -s 56 -c 3 -W 1 118.134.126.3 2025-11-10 02:14:06,616 - DEBUG - PING 118.134.126.3 (118.134.126.3): 56 data bytes --- 118.134.126.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-10 02:14:06,616 - WARNING - Ping to IP 118.134.126.3 from VM ctest-vn1-vm1-26532298 failed 2025-11-10 02:14:06,616 - INFO - Adding interface with subnet_id 6936da9d-9cff-4ced-bec0-ce930232da5b, port_id None to router ec9a8c56-f550-45e0-bb3d-1fd92eaf6127 2025-11-10 02:14:06,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 02:14:06,994 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.134.126.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-10 02:14:06,994 - DEBUG - ping -s 56 -c 3 -W 1 118.134.126.3 2025-11-10 02:14:10,205 - DEBUG - PING 118.134.126.3 (118.134.126.3): 56 data bytes 64 bytes from 118.134.126.3: seq=1 ttl=63 time=6.855 ms 64 bytes from 118.134.126.3: seq=2 ttl=63 time=1.474 ms --- 118.134.126.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.474/4.164/6.855 ms 2025-11-10 02:14:10,205 - WARNING - Ping to IP 118.134.126.3 from VM ctest-vn1-vm1-26532298 failed 2025-11-10 02:14:11,206 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.134.126.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-10 02:14:11,206 - DEBUG - ping -s 56 -c 3 -W 1 118.134.126.3 2025-11-10 02:14:13,417 - DEBUG - PING 118.134.126.3 (118.134.126.3): 56 data bytes 64 bytes from 118.134.126.3: seq=0 ttl=63 time=3.860 ms 64 bytes from 118.134.126.3: seq=1 ttl=63 time=1.629 ms 64 bytes from 118.134.126.3: seq=2 ttl=63 time=1.423 ms --- 118.134.126.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.423/2.304/3.860 ms 2025-11-10 02:14:13,417 - INFO - Ping to IP 118.134.126.3 from VM ctest-vn1-vm1-26532298 passed 2025-11-10 02:14:13,417 - INFO - Deleting interface with subnet_id 1a18fd24-437d-4c41-9722-079b8ee38fef, port_id None from router ec9a8c56-f550-45e0-bb3d-1fd92eaf6127 2025-11-10 02:14:13,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 02:14:13,669 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.134.126.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-10 02:14:13,669 - DEBUG - ping -s 56 -c 3 -W 1 118.134.126.3 2025-11-10 02:14:16,871 - DEBUG - PING 118.134.126.3 (118.134.126.3): 56 data bytes --- 118.134.126.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-10 02:14:16,871 - WARNING - Ping to IP 118.134.126.3 from VM ctest-vn1-vm1-26532298 failed 2025-11-10 02:14:16,871 - INFO - Adding interface with subnet_id 1a18fd24-437d-4c41-9722-079b8ee38fef, port_id None to router ec9a8c56-f550-45e0-bb3d-1fd92eaf6127 2025-11-10 02:14:17,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 02:14:17,235 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.134.126.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-10 02:14:17,235 - DEBUG - ping -s 56 -c 3 -W 1 118.134.126.3 2025-11-10 02:14:19,436 - DEBUG - PING 118.134.126.3 (118.134.126.3): 56 data bytes 64 bytes from 118.134.126.3: seq=0 ttl=63 time=2.706 ms 64 bytes from 118.134.126.3: seq=1 ttl=63 time=1.318 ms 64 bytes from 118.134.126.3: seq=2 ttl=63 time=1.665 ms --- 118.134.126.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.318/1.896/2.706 ms 2025-11-10 02:14:19,436 - INFO - Ping to IP 118.134.126.3 from VM ctest-vn1-vm1-26532298 passed 2025-11-10 02:14:19,436 - INFO - Deleting interface with subnet_id 6936da9d-9cff-4ced-bec0-ce930232da5b, port_id None from router ec9a8c56-f550-45e0-bb3d-1fd92eaf6127 2025-11-10 02:14:19,706 - INFO - Deleting interface with subnet_id 1a18fd24-437d-4c41-9722-079b8ee38fef, port_id None from router ec9a8c56-f550-45e0-bb3d-1fd92eaf6127 2025-11-10 02:14:20,071 - INFO - Deleting VM ctest-vn2-vm1-78534907 2025-11-10 02:14:20,178 - INFO - Deleting VM ctest-vn1-vm1-26532298 2025-11-10 02:14:20,256 - INFO - Deleting VN ctest-vn2-72408028 2025-11-10 02:14:20,300 - DEBUG - VN cf45a199-6b89-4a85-a2c8-20124befc983 still in use: Unable to complete operation on network cf45a199-6b89-4a85-a2c8-20124befc983. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c18e2166-47bb-41db-9435-71b7026a1808'] 2025-11-10 02:14:20,300 - WARNING - Deleting VN ctest-vn2-72408028 failed..Will retry 2025-11-10 02:14:22,508 - DEBUG - Response for deleting network () 2025-11-10 02:14:22,508 - INFO - Deleting VN ctest-vn1-06976614 2025-11-10 02:14:22,709 - DEBUG - Response for deleting network () 2025-11-10 02:14:23,998 - DEBUG - No XMPP flaps were noticed during the test 2025-11-10 02:14:23,998 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42] 2025-11-10 02:14:23,998 - INFO - -------------------------------------------------------------------------------- 2025-11-10 02:14:24,730 - INFO - Deleted project: ctest-TestRouters-19957025, ID : a3ea9497-3339-4e7b-b4ae-1d7ff3b92573