2025-09-22 02:14:03,513 - INFO - Domain Default found not creating 2025-09-22 02:14:03,673 - INFO - Project ctest-TestRouters-04463507 not found, creating it 2025-09-22 02:14:04,208 - INFO - Created Project:ctest-TestRouters-04463507, ID : 4db8ad65-4f9c-4b19-b9ce-bf85aa3076bb 2025-09-22 02:14:05,711 - INFO - ================================================================================ 2025-09-22 02:14:05,712 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-22 02:14:05,712 - 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-22 02:14:06,991 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0', '10.20.0.25': '0'}, '10.0.0.23': {'10.20.0.254': '0', '10.20.0.193': '0'}} with 2025-09-22 02:14:06,991 - INFO - Initial checks done. Running the testcase now 2025-09-22 02:14:06,991 - INFO - 2025-09-22 02:14:07,650 - DEBUG - Response for create_network : {'network': {'id': 'ff43c79e-3876-4c02-8909-c3def9b63591', 'name': 'ctest-vn1-09308658', 'tenant_id': '4db8ad654f9c4b19b9cebf85aa3076bb', 'project_id': '4db8ad654f9c4b19b9cebf85aa3076bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-04463507', 'ctest-vn1-09308658'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 02:14:07,910 - DEBUG - Response for create_subnet : {'subnet': {'id': '31ad7946-c814-4e04-aec4-647d7ddf4429', 'name': '', 'tenant_id': '4db8ad654f9c4b19b9cebf85aa3076bb', 'network_id': 'ff43c79e-3876-4c02-8909-c3def9b63591', 'ip_version': 4, 'cidr': '150.167.42.64/26', 'allocation_pools': [{'start': '150.167.42.66', 'end': '150.167.42.126'}], 'gateway_ip': '150.167.42.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.167.42.66', 'tags': [], 'project_id': '4db8ad654f9c4b19b9cebf85aa3076bb'}} 2025-09-22 02:14:07,933 - INFO - Created VN ctest-vn1-09308658 2025-09-22 02:14:07,947 - DEBUG - VN ctest-vn1-09308658 UUID is ff43c79e-3876-4c02-8909-c3def9b63591 2025-09-22 02:14:08,316 - DEBUG - Response for create_network : {'network': {'id': 'd8fe326d-a3fa-4c13-895d-4b1b617fdba0', 'name': 'ctest-vn2-45037296', 'tenant_id': '4db8ad654f9c4b19b9cebf85aa3076bb', 'project_id': '4db8ad654f9c4b19b9cebf85aa3076bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-04463507', 'ctest-vn2-45037296'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 02:14:08,547 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f56b0ba1-0f4a-4cbf-972f-936db23a08e1', 'name': '', 'tenant_id': '4db8ad654f9c4b19b9cebf85aa3076bb', 'network_id': 'd8fe326d-a3fa-4c13-895d-4b1b617fdba0', 'ip_version': 4, 'cidr': '214.148.234.64/26', 'allocation_pools': [{'start': '214.148.234.66', 'end': '214.148.234.126'}], 'gateway_ip': '214.148.234.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.148.234.66', 'tags': [], 'project_id': '4db8ad654f9c4b19b9cebf85aa3076bb'}} 2025-09-22 02:14:08,568 - INFO - Created VN ctest-vn2-45037296 2025-09-22 02:14:08,578 - DEBUG - VN ctest-vn2-45037296 UUID is d8fe326d-a3fa-4c13-895d-4b1b617fdba0 2025-09-22 02:14:08,749 - DEBUG - Services list from nova: [, , , ] 2025-09-22 02:14:10,559 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4159-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4159-2) 2025-09-22 02:14:12,068 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4159-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4159-1) 2025-09-22 02:14:12,219 - INFO - Adding interface with subnet_id 31ad7946-c814-4e04-aec4-647d7ddf4429, port_id None to router 2a9961ad-f676-460e-a64c-2c130cb67f8f 2025-09-22 02:14:12,665 - INFO - Waiting for VM ctest-vn1-vm1-51164005 to be up.. 2025-09-22 02:14:12,793 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 02:14:17,866 - DEBUG - VM is in ACTIVE state now 2025-09-22 02:14:17,866 - INFO - VM name : ctest-vn1-vm1-51164005 2025-09-22 02:14:17,937 - DEBUG - VM ctest-vn1-vm1-51164005 ID is b1634319-04cb-43dd-a23c-20ca13b3251d 2025-09-22 02:14:17,960 - DEBUG - VM ctest-vn1-vm1-51164005 launched on Node an-jenkins-deploy-platform-ansible-os-4159-2 2025-09-22 02:14:18,033 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b1634319-04cb-43dd-a23c-20ca13b3251d 2025-09-22 02:14:18,321 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b1634319-04cb-43dd-a23c-20ca13b3251d 2025-09-22 02:14:18,351 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/2da3692f-63c4-4c91-a676-a84de919e584 2025-09-22 02:14:21,539 - 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-22 02:14:21,539 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51164005 failed! 2025-09-22 02:14:21,555 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-04463507:ctest-vn1-09308658 is 150.167.42.65 and allocation pool is NOT set 2025-09-22 02:14:23,618 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.31 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.310/2.821/4.333/1.511 ms') 2025-09-22 02:14:23,618 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51164005 passed 2025-09-22 02:14:23,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:14:23,692 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51164005, IP 150.167.42.67, Port 22 2025-09-22 02:14:23,865 - DEBUG - VM ctest-vn1-vm1-51164005 is ready for SSH connections 2025-09-22 02:14:23,865 - INFO - Waiting for VM ctest-vn2-vm1-85234258 to be up.. 2025-09-22 02:14:23,942 - DEBUG - VM is in ACTIVE state now 2025-09-22 02:14:23,942 - INFO - VM name : ctest-vn2-vm1-85234258 2025-09-22 02:14:24,014 - DEBUG - VM ctest-vn2-vm1-85234258 ID is e0be7ba3-c6d5-45af-be61-8a89184aa785 2025-09-22 02:14:24,014 - DEBUG - VM ctest-vn2-vm1-85234258 launched on Node an-jenkins-deploy-platform-ansible-os-4159-1 2025-09-22 02:14:24,086 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e0be7ba3-c6d5-45af-be61-8a89184aa785 2025-09-22 02:14:24,096 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/9fbc5e36-8319-49da-965a-0e2a63647055 2025-09-22 02:14:27,262 - 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=5.61 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 5.611/5.611/5.611/0.000 ms') 2025-09-22 02:14:27,262 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-85234258 passed 2025-09-22 02:14:27,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:14:27,329 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-85234258, IP 214.148.234.67, Port 22 2025-09-22 02:14:27,501 - DEBUG - VM ctest-vn2-vm1-85234258 is ready for SSH connections 2025-09-22 02:14:27,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:14:27,501 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.148.234.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-09-22 02:14:27,501 - DEBUG - ping -s 56 -c 3 -W 1 214.148.234.67 2025-09-22 02:14:31,448 - DEBUG - PING 214.148.234.67 (214.148.234.67): 56 data bytes --- 214.148.234.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-22 02:14:31,448 - WARNING - Ping to IP 214.148.234.67 from VM ctest-vn1-vm1-51164005 failed 2025-09-22 02:14:31,448 - INFO - Adding interface with subnet_id f56b0ba1-0f4a-4cbf-972f-936db23a08e1, port_id None to router 2a9961ad-f676-460e-a64c-2c130cb67f8f 2025-09-22 02:14:31,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:14:31,932 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.148.234.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-09-22 02:14:31,932 - DEBUG - ping -s 56 -c 3 -W 1 214.148.234.67 2025-09-22 02:14:34,137 - DEBUG - PING 214.148.234.67 (214.148.234.67): 56 data bytes 64 bytes from 214.148.234.67: seq=0 ttl=63 time=5.406 ms 64 bytes from 214.148.234.67: seq=1 ttl=63 time=1.620 ms 64 bytes from 214.148.234.67: seq=2 ttl=63 time=1.612 ms --- 214.148.234.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.612/2.879/5.406 ms 2025-09-22 02:14:34,137 - INFO - Ping to IP 214.148.234.67 from VM ctest-vn1-vm1-51164005 passed 2025-09-22 02:14:34,138 - INFO - Deleting interface with subnet_id 31ad7946-c814-4e04-aec4-647d7ddf4429, port_id None from router 2a9961ad-f676-460e-a64c-2c130cb67f8f 2025-09-22 02:14:34,356 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:14:34,357 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.148.234.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-09-22 02:14:34,357 - DEBUG - ping -s 56 -c 3 -W 1 214.148.234.67 2025-09-22 02:14:37,558 - DEBUG - PING 214.148.234.67 (214.148.234.67): 56 data bytes --- 214.148.234.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-22 02:14:37,558 - WARNING - Ping to IP 214.148.234.67 from VM ctest-vn1-vm1-51164005 failed 2025-09-22 02:14:37,558 - INFO - Adding interface with subnet_id 31ad7946-c814-4e04-aec4-647d7ddf4429, port_id None to router 2a9961ad-f676-460e-a64c-2c130cb67f8f 2025-09-22 02:14:37,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:14:37,949 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.148.234.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-09-22 02:14:37,949 - DEBUG - ping -s 56 -c 3 -W 1 214.148.234.67 2025-09-22 02:14:40,138 - DEBUG - PING 214.148.234.67 (214.148.234.67): 56 data bytes 64 bytes from 214.148.234.67: seq=0 ttl=63 time=3.781 ms 64 bytes from 214.148.234.67: seq=1 ttl=63 time=1.215 ms 64 bytes from 214.148.234.67: seq=2 ttl=63 time=1.157 ms --- 214.148.234.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.157/2.051/3.781 ms 2025-09-22 02:14:40,138 - INFO - Ping to IP 214.148.234.67 from VM ctest-vn1-vm1-51164005 passed 2025-09-22 02:14:40,138 - INFO - Deleting interface with subnet_id f56b0ba1-0f4a-4cbf-972f-936db23a08e1, port_id None from router 2a9961ad-f676-460e-a64c-2c130cb67f8f 2025-09-22 02:14:40,372 - INFO - Deleting interface with subnet_id 31ad7946-c814-4e04-aec4-647d7ddf4429, port_id None from router 2a9961ad-f676-460e-a64c-2c130cb67f8f 2025-09-22 02:14:40,717 - INFO - Deleting VM ctest-vn2-vm1-85234258 2025-09-22 02:14:40,806 - INFO - Deleting VM ctest-vn1-vm1-51164005 2025-09-22 02:14:40,866 - INFO - Deleting VN ctest-vn2-45037296 2025-09-22 02:14:40,906 - DEBUG - VN d8fe326d-a3fa-4c13-895d-4b1b617fdba0 still in use: Unable to complete operation on network d8fe326d-a3fa-4c13-895d-4b1b617fdba0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dfef1be4-6f83-4a55-ae20-79dc6512853f'] 2025-09-22 02:14:40,907 - WARNING - Deleting VN ctest-vn2-45037296 failed..Will retry 2025-09-22 02:14:43,063 - DEBUG - Response for deleting network () 2025-09-22 02:14:43,063 - INFO - Deleting VN ctest-vn1-09308658 2025-09-22 02:14:43,251 - DEBUG - Response for deleting network () 2025-09-22 02:14:44,511 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 02:14:44,511 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-09-22 02:14:44,512 - INFO - -------------------------------------------------------------------------------- 2025-09-22 02:14:45,305 - INFO - Deleted project: ctest-TestRouters-04463507, ID : 4db8ad65-4f9c-4b19-b9ce-bf85aa3076bb