2025-11-27 02:07:12,310 - INFO - Domain Default found not creating 2025-11-27 02:07:12,496 - INFO - Project ctest-TestRouters-48655490 not found, creating it 2025-11-27 02:07:12,980 - INFO - Created Project:ctest-TestRouters-48655490, ID : 3ae7af6c-e96b-4fea-be9d-a02abb8c0875 2025-11-27 02:07:14,627 - INFO - ================================================================================ 2025-11-27 02:07:14,627 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-27 02:07:14,627 - 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-27 02:07:14,885 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.14': '0'}} with 2025-11-27 02:07:14,885 - INFO - Initial checks done. Running the testcase now 2025-11-27 02:07:14,885 - INFO - 2025-11-27 02:07:15,517 - DEBUG - Response for create_network : {'network': {'id': '43b46100-74ad-40c3-ae68-f822aec9aa3d', 'name': 'ctest-vn1-42615411', 'tenant_id': '3ae7af6ce96b4feabe9da02abb8c0875', 'project_id': '3ae7af6ce96b4feabe9da02abb8c0875', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48655490', 'ctest-vn1-42615411'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:07:15,719 - DEBUG - Response for create_subnet : {'subnet': {'id': '8fe7df9a-67a3-47c7-80a8-2efb5487ecbf', 'name': '', 'tenant_id': '3ae7af6ce96b4feabe9da02abb8c0875', 'network_id': '43b46100-74ad-40c3-ae68-f822aec9aa3d', 'ip_version': 4, 'cidr': '109.180.217.0/26', 'allocation_pools': [{'start': '109.180.217.2', 'end': '109.180.217.62'}], 'gateway_ip': '109.180.217.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.180.217.2', 'tags': [], 'project_id': '3ae7af6ce96b4feabe9da02abb8c0875'}} 2025-11-27 02:07:15,742 - INFO - Created VN ctest-vn1-42615411 2025-11-27 02:07:15,795 - DEBUG - VN ctest-vn1-42615411 UUID is 43b46100-74ad-40c3-ae68-f822aec9aa3d 2025-11-27 02:07:16,145 - DEBUG - Response for create_network : {'network': {'id': '43a43702-6a2e-40ff-9828-a477a6fc199e', 'name': 'ctest-vn2-77505895', 'tenant_id': '3ae7af6ce96b4feabe9da02abb8c0875', 'project_id': '3ae7af6ce96b4feabe9da02abb8c0875', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48655490', 'ctest-vn2-77505895'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:07:16,362 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e4d29bc-d8ce-4728-9db8-094620363551', 'name': '', 'tenant_id': '3ae7af6ce96b4feabe9da02abb8c0875', 'network_id': '43a43702-6a2e-40ff-9828-a477a6fc199e', 'ip_version': 4, 'cidr': '72.155.18.128/26', 'allocation_pools': [{'start': '72.155.18.130', 'end': '72.155.18.190'}], 'gateway_ip': '72.155.18.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.155.18.130', 'tags': [], 'project_id': '3ae7af6ce96b4feabe9da02abb8c0875'}} 2025-11-27 02:07:16,391 - INFO - Created VN ctest-vn2-77505895 2025-11-27 02:07:16,447 - DEBUG - VN ctest-vn2-77505895 UUID is 43a43702-6a2e-40ff-9828-a477a6fc199e 2025-11-27 02:07:16,624 - DEBUG - Services list from nova: [, , ] 2025-11-27 02:07:17,813 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4819-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4819-1) 2025-11-27 02:07:19,255 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4819-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4819-1) 2025-11-27 02:07:19,428 - INFO - Adding interface with subnet_id 8fe7df9a-67a3-47c7-80a8-2efb5487ecbf, port_id None to router b37fd8e0-94f0-442c-af1b-42bdd2f62392 2025-11-27 02:07:19,704 - INFO - Waiting for VM ctest-vn1-vm1-08843898 to be up.. 2025-11-27 02:07:19,808 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-27 02:07:24,894 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:07:24,895 - INFO - VM name : ctest-vn1-vm1-08843898 2025-11-27 02:07:24,985 - DEBUG - VM ctest-vn1-vm1-08843898 ID is 456091c2-ee7b-4912-948d-dac9dd09626b 2025-11-27 02:07:25,005 - DEBUG - VM ctest-vn1-vm1-08843898 launched on Node cn-jenkins-deploy-platform-ansible-os-4819-1 2025-11-27 02:07:25,095 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/456091c2-ee7b-4912-948d-dac9dd09626b 2025-11-27 02:07:25,398 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/456091c2-ee7b-4912-948d-dac9dd09626b 2025-11-27 02:07:25,435 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/2140776f-2d40-47e6-9395-cfd5c0e71276 2025-11-27 02:07:28,687 - 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 1015ms') 2025-11-27 02:07:28,687 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08843898 failed! 2025-11-27 02:07:28,743 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-48655490:ctest-vn1-42615411 is 109.180.217.1 and allocation pool is NOT set 2025-11-27 02:07:30,804 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.83 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.825/3.387/4.950/1.562 ms') 2025-11-27 02:07:30,804 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08843898 passed 2025-11-27 02:07:30,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:30,960 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08843898, IP 109.180.217.3, Port 22 2025-11-27 02:07:31,115 - DEBUG - VM ctest-vn1-vm1-08843898 is ready for SSH connections 2025-11-27 02:07:31,115 - INFO - Waiting for VM ctest-vn2-vm1-82136146 to be up.. 2025-11-27 02:07:31,196 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:07:31,196 - INFO - VM name : ctest-vn2-vm1-82136146 2025-11-27 02:07:31,274 - DEBUG - VM ctest-vn2-vm1-82136146 ID is baaada8c-b349-4366-83b9-4adf96186fe2 2025-11-27 02:07:31,275 - DEBUG - VM ctest-vn2-vm1-82136146 launched on Node cn-jenkins-deploy-platform-ansible-os-4819-1 2025-11-27 02:07:31,359 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/baaada8c-b349-4366-83b9-4adf96186fe2 2025-11-27 02:07:31,367 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/101c9fa9-86bd-430f-ac2f-681adeb2b5f6 2025-11-27 02:07:32,622 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.558 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.558/2.036/3.514/1.478 ms') 2025-11-27 02:07:32,622 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-82136146 passed 2025-11-27 02:07:32,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:32,792 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-82136146, IP 72.155.18.131, Port 22 2025-11-27 02:07:32,966 - DEBUG - VM ctest-vn2-vm1-82136146 is ready for SSH connections 2025-11-27 02:07:32,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:32,966 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.155.18.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-27 02:07:32,966 - DEBUG - ping -s 56 -c 3 -W 1 72.155.18.131 2025-11-27 02:07:38,086 - DEBUG - PING 72.155.18.131 (72.155.18.131): 56 data bytes --- 72.155.18.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-27 02:07:38,086 - WARNING - Ping to IP 72.155.18.131 from VM ctest-vn1-vm1-08843898 failed 2025-11-27 02:07:38,087 - INFO - Adding interface with subnet_id 5e4d29bc-d8ce-4728-9db8-094620363551, port_id None to router b37fd8e0-94f0-442c-af1b-42bdd2f62392 2025-11-27 02:07:38,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:38,393 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.155.18.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-27 02:07:38,393 - DEBUG - ping -s 56 -c 3 -W 1 72.155.18.131 2025-11-27 02:07:41,634 - DEBUG - PING 72.155.18.131 (72.155.18.131): 56 data bytes 64 bytes from 72.155.18.131: seq=1 ttl=63 time=3.306 ms 64 bytes from 72.155.18.131: seq=2 ttl=63 time=1.094 ms --- 72.155.18.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.094/2.200/3.306 ms 2025-11-27 02:07:41,634 - WARNING - Ping to IP 72.155.18.131 from VM ctest-vn1-vm1-08843898 failed 2025-11-27 02:07:42,635 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.155.18.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-27 02:07:42,635 - DEBUG - ping -s 56 -c 3 -W 1 72.155.18.131 2025-11-27 02:07:44,889 - DEBUG - PING 72.155.18.131 (72.155.18.131): 56 data bytes 64 bytes from 72.155.18.131: seq=0 ttl=63 time=1.664 ms 64 bytes from 72.155.18.131: seq=1 ttl=63 time=1.308 ms 64 bytes from 72.155.18.131: seq=2 ttl=63 time=1.016 ms --- 72.155.18.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.016/1.329/1.664 ms 2025-11-27 02:07:44,889 - INFO - Ping to IP 72.155.18.131 from VM ctest-vn1-vm1-08843898 passed 2025-11-27 02:07:44,889 - INFO - Deleting interface with subnet_id 8fe7df9a-67a3-47c7-80a8-2efb5487ecbf, port_id None from router b37fd8e0-94f0-442c-af1b-42bdd2f62392 2025-11-27 02:07:45,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:45,030 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.155.18.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-27 02:07:45,030 - DEBUG - ping -s 56 -c 3 -W 1 72.155.18.131 2025-11-27 02:07:48,255 - DEBUG - PING 72.155.18.131 (72.155.18.131): 56 data bytes --- 72.155.18.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-27 02:07:48,256 - WARNING - Ping to IP 72.155.18.131 from VM ctest-vn1-vm1-08843898 failed 2025-11-27 02:07:48,256 - INFO - Adding interface with subnet_id 8fe7df9a-67a3-47c7-80a8-2efb5487ecbf, port_id None to router b37fd8e0-94f0-442c-af1b-42bdd2f62392 2025-11-27 02:07:48,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:48,474 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.155.18.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-27 02:07:48,474 - DEBUG - ping -s 56 -c 3 -W 1 72.155.18.131 2025-11-27 02:07:50,704 - DEBUG - PING 72.155.18.131 (72.155.18.131): 56 data bytes 64 bytes from 72.155.18.131: seq=0 ttl=63 time=1.482 ms 64 bytes from 72.155.18.131: seq=1 ttl=63 time=0.972 ms 64 bytes from 72.155.18.131: seq=2 ttl=63 time=1.106 ms --- 72.155.18.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.972/1.186/1.482 ms 2025-11-27 02:07:50,704 - INFO - Ping to IP 72.155.18.131 from VM ctest-vn1-vm1-08843898 passed 2025-11-27 02:07:50,704 - INFO - Deleting interface with subnet_id 5e4d29bc-d8ce-4728-9db8-094620363551, port_id None from router b37fd8e0-94f0-442c-af1b-42bdd2f62392 2025-11-27 02:07:50,848 - INFO - Deleting interface with subnet_id 8fe7df9a-67a3-47c7-80a8-2efb5487ecbf, port_id None from router b37fd8e0-94f0-442c-af1b-42bdd2f62392 2025-11-27 02:07:51,059 - INFO - Deleting VM ctest-vn2-vm1-82136146 2025-11-27 02:07:51,152 - INFO - Deleting VM ctest-vn1-vm1-08843898 2025-11-27 02:07:51,244 - INFO - Deleting VN ctest-vn2-77505895 2025-11-27 02:07:51,284 - DEBUG - VN 43a43702-6a2e-40ff-9828-a477a6fc199e still in use: Unable to complete operation on network 43a43702-6a2e-40ff-9828-a477a6fc199e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d2bf0fea-70c7-4116-b932-94c167abd602'] 2025-11-27 02:07:51,284 - WARNING - Deleting VN ctest-vn2-77505895 failed..Will retry 2025-11-27 02:07:53,403 - DEBUG - Response for deleting network () 2025-11-27 02:07:53,403 - INFO - Deleting VN ctest-vn1-42615411 2025-11-27 02:07:53,514 - DEBUG - Response for deleting network () 2025-11-27 02:07:53,773 - DEBUG - No XMPP flaps were noticed during the test
2025-11-27 02:07:53,773 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-11-27 02:07:53,773 - INFO - -------------------------------------------------------------------------------- 2025-11-27 02:07:54,527 - INFO - Deleted project: ctest-TestRouters-48655490, ID : 3ae7af6c-e96b-4fea-be9d-a02abb8c0875