2025-10-31 00:23:19,422 - INFO - Domain Default found not creating 2025-10-31 00:23:19,553 - INFO - Project ctest-TestRouters-51227782 not found, creating it 2025-10-31 00:23:20,003 - INFO - Created Project:ctest-TestRouters-51227782, ID : 272515a9-e1fd-48e6-84cd-f507962ef065 2025-10-31 00:23:21,481 - INFO - ================================================================================ 2025-10-31 00:23:21,481 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-31 00:23:21,481 - 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-10-31 00:23:21,742 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-31 00:23:21,742 - INFO - Initial checks done. Running the testcase now 2025-10-31 00:23:21,742 - INFO - 2025-10-31 00:23:22,334 - DEBUG - Response for create_network : {'network': {'id': '13f896e7-10f0-494d-bd69-ff5744a5fab4', 'name': 'ctest-vn1-57777662', 'tenant_id': '272515a9e1fd48e684cdf507962ef065', 'project_id': '272515a9e1fd48e684cdf507962ef065', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-51227782', 'ctest-vn1-57777662'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:23:22,546 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1054536-384f-4543-b3be-53d6ac233a4d', 'name': '', 'tenant_id': '272515a9e1fd48e684cdf507962ef065', 'network_id': '13f896e7-10f0-494d-bd69-ff5744a5fab4', 'ip_version': 4, 'cidr': '43.44.221.64/26', 'allocation_pools': [{'start': '43.44.221.66', 'end': '43.44.221.126'}], 'gateway_ip': '43.44.221.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.44.221.66', 'tags': [], 'project_id': '272515a9e1fd48e684cdf507962ef065'}} 2025-10-31 00:23:22,563 - INFO - Created VN ctest-vn1-57777662 2025-10-31 00:23:22,615 - DEBUG - VN ctest-vn1-57777662 UUID is 13f896e7-10f0-494d-bd69-ff5744a5fab4 2025-10-31 00:23:22,917 - DEBUG - Response for create_network : {'network': {'id': '278e2428-d5d0-4b91-92db-ea9a5f768f62', 'name': 'ctest-vn2-59266275', 'tenant_id': '272515a9e1fd48e684cdf507962ef065', 'project_id': '272515a9e1fd48e684cdf507962ef065', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-51227782', 'ctest-vn2-59266275'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:23:23,109 - DEBUG - Response for create_subnet : {'subnet': {'id': '7674509e-8119-47a1-935b-4fe2818e2cb3', 'name': '', 'tenant_id': '272515a9e1fd48e684cdf507962ef065', 'network_id': '278e2428-d5d0-4b91-92db-ea9a5f768f62', 'ip_version': 4, 'cidr': '96.65.80.128/26', 'allocation_pools': [{'start': '96.65.80.130', 'end': '96.65.80.190'}], 'gateway_ip': '96.65.80.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.65.80.130', 'tags': [], 'project_id': '272515a9e1fd48e684cdf507962ef065'}} 2025-10-31 00:23:23,125 - INFO - Created VN ctest-vn2-59266275 2025-10-31 00:23:23,184 - DEBUG - VN ctest-vn2-59266275 UUID is 278e2428-d5d0-4b91-92db-ea9a5f768f62 2025-10-31 00:23:23,475 - DEBUG - Services list from nova: [, , ] 2025-10-31 00:23:24,470 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4562-1) 2025-10-31 00:23:25,652 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4562-1) 2025-10-31 00:23:25,721 - INFO - Adding interface with subnet_id b1054536-384f-4543-b3be-53d6ac233a4d, port_id None to router e5f7b75c-256c-4f1c-9364-79cf0364e275 2025-10-31 00:23:26,001 - INFO - Waiting for VM ctest-vn1-vm1-16798952 to be up.. 2025-10-31 00:23:26,174 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 00:23:31,241 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:23:31,241 - INFO - VM name : ctest-vn1-vm1-16798952 2025-10-31 00:23:31,306 - DEBUG - VM ctest-vn1-vm1-16798952 ID is ffc6353f-ec9e-4d93-bf0b-a76735555c9d 2025-10-31 00:23:31,322 - DEBUG - VM ctest-vn1-vm1-16798952 launched on Node cn-jenkins-deploy-platform-ansible-os-4562-1 2025-10-31 00:23:31,391 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ffc6353f-ec9e-4d93-bf0b-a76735555c9d 2025-10-31 00:23:31,694 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ffc6353f-ec9e-4d93-bf0b-a76735555c9d 2025-10-31 00:23:31,725 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a14412d9-4622-4ff1-a45c-eb5903262518 2025-10-31 00:23:34,971 - 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 1003ms') 2025-10-31 00:23:34,971 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16798952 failed! 2025-10-31 00:23:35,027 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-51227782:ctest-vn1-57777662 is 43.44.221.65 and allocation pool is NOT set 2025-10-31 00:23:37,085 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.401 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 = 0.401/1.784/3.167/1.383 ms') 2025-10-31 00:23:37,085 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16798952 passed 2025-10-31 00:23:37,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:23:37,231 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16798952, IP 43.44.221.67, Port 22 2025-10-31 00:23:37,386 - DEBUG - VM ctest-vn1-vm1-16798952 is ready for SSH connections 2025-10-31 00:23:37,386 - INFO - Waiting for VM ctest-vn2-vm1-48388597 to be up.. 2025-10-31 00:23:37,458 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:23:37,458 - INFO - VM name : ctest-vn2-vm1-48388597 2025-10-31 00:23:37,531 - DEBUG - VM ctest-vn2-vm1-48388597 ID is f829a5c1-5141-496f-a049-b17c47065f96 2025-10-31 00:23:37,531 - DEBUG - VM ctest-vn2-vm1-48388597 launched on Node cn-jenkins-deploy-platform-ansible-os-4562-1 2025-10-31 00:23:37,603 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f829a5c1-5141-496f-a049-b17c47065f96 2025-10-31 00:23:37,611 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c2d209d1-fafc-4d1b-a861-bdde4a96801c 2025-10-31 00:23:38,846 - 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=2.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/1.584/2.766/1.181 ms') 2025-10-31 00:23:38,846 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-48388597 passed 2025-10-31 00:23:38,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:23:38,999 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-48388597, IP 96.65.80.131, Port 22 2025-10-31 00:23:39,155 - DEBUG - VM ctest-vn2-vm1-48388597 is ready for SSH connections 2025-10-31 00:23:39,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:23:39,155 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.65.80.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 00:23:39,155 - DEBUG - ping -s 56 -c 3 -W 1 96.65.80.131 2025-10-31 00:23:44,165 - DEBUG - PING 96.65.80.131 (96.65.80.131): 56 data bytes --- 96.65.80.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 00:23:44,165 - WARNING - Ping to IP 96.65.80.131 from VM ctest-vn1-vm1-16798952 failed 2025-10-31 00:23:44,165 - INFO - Adding interface with subnet_id 7674509e-8119-47a1-935b-4fe2818e2cb3, port_id None to router e5f7b75c-256c-4f1c-9364-79cf0364e275 2025-10-31 00:23:44,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:23:44,384 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.65.80.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 00:23:44,384 - DEBUG - ping -s 56 -c 3 -W 1 96.65.80.131 2025-10-31 00:23:46,582 - DEBUG - PING 96.65.80.131 (96.65.80.131): 56 data bytes 64 bytes from 96.65.80.131: seq=0 ttl=63 time=2.552 ms 64 bytes from 96.65.80.131: seq=1 ttl=63 time=0.810 ms 64 bytes from 96.65.80.131: seq=2 ttl=63 time=0.964 ms --- 96.65.80.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.810/1.442/2.552 ms 2025-10-31 00:23:46,583 - INFO - Ping to IP 96.65.80.131 from VM ctest-vn1-vm1-16798952 passed 2025-10-31 00:23:46,583 - INFO - Deleting interface with subnet_id b1054536-384f-4543-b3be-53d6ac233a4d, port_id None from router e5f7b75c-256c-4f1c-9364-79cf0364e275 2025-10-31 00:23:46,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:23:46,686 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.65.80.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 00:23:46,686 - DEBUG - ping -s 56 -c 3 -W 1 96.65.80.131 2025-10-31 00:23:49,891 - DEBUG - PING 96.65.80.131 (96.65.80.131): 56 data bytes --- 96.65.80.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 00:23:49,892 - WARNING - Ping to IP 96.65.80.131 from VM ctest-vn1-vm1-16798952 failed 2025-10-31 00:23:49,892 - INFO - Adding interface with subnet_id b1054536-384f-4543-b3be-53d6ac233a4d, port_id None to router e5f7b75c-256c-4f1c-9364-79cf0364e275 2025-10-31 00:23:50,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:23:50,120 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.65.80.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 00:23:50,120 - DEBUG - ping -s 56 -c 3 -W 1 96.65.80.131 2025-10-31 00:23:53,332 - DEBUG - PING 96.65.80.131 (96.65.80.131): 56 data bytes 64 bytes from 96.65.80.131: seq=1 ttl=63 time=1.923 ms 64 bytes from 96.65.80.131: seq=2 ttl=63 time=0.749 ms --- 96.65.80.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.749/1.336/1.923 ms 2025-10-31 00:23:53,332 - WARNING - Ping to IP 96.65.80.131 from VM ctest-vn1-vm1-16798952 failed 2025-10-31 00:23:54,333 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.65.80.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 00:23:54,334 - DEBUG - ping -s 56 -c 3 -W 1 96.65.80.131 2025-10-31 00:23:56,541 - DEBUG - PING 96.65.80.131 (96.65.80.131): 56 data bytes 64 bytes from 96.65.80.131: seq=0 ttl=63 time=1.372 ms 64 bytes from 96.65.80.131: seq=1 ttl=63 time=0.785 ms 64 bytes from 96.65.80.131: seq=2 ttl=63 time=0.892 ms --- 96.65.80.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.785/1.016/1.372 ms 2025-10-31 00:23:56,541 - INFO - Ping to IP 96.65.80.131 from VM ctest-vn1-vm1-16798952 passed 2025-10-31 00:23:56,541 - INFO - Deleting interface with subnet_id 7674509e-8119-47a1-935b-4fe2818e2cb3, port_id None from router e5f7b75c-256c-4f1c-9364-79cf0364e275 2025-10-31 00:23:56,645 - INFO - Deleting interface with subnet_id b1054536-384f-4543-b3be-53d6ac233a4d, port_id None from router e5f7b75c-256c-4f1c-9364-79cf0364e275 2025-10-31 00:23:56,811 - INFO - Deleting VM ctest-vn2-vm1-48388597 2025-10-31 00:23:56,883 - INFO - Deleting VM ctest-vn1-vm1-16798952 2025-10-31 00:23:56,950 - INFO - Deleting VN ctest-vn2-59266275 2025-10-31 00:23:56,981 - DEBUG - VN 278e2428-d5d0-4b91-92db-ea9a5f768f62 still in use: Unable to complete operation on network 278e2428-d5d0-4b91-92db-ea9a5f768f62. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0899334e-04e3-4990-a1fb-ae4a35eee9d1'] 2025-10-31 00:23:56,981 - WARNING - Deleting VN ctest-vn2-59266275 failed..Will retry 2025-10-31 00:23:59,088 - DEBUG - Response for deleting network () 2025-10-31 00:23:59,088 - INFO - Deleting VN ctest-vn1-57777662 2025-10-31 00:23:59,191 - DEBUG - Response for deleting network () 2025-10-31 00:23:59,444 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 00:23:59,444 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-31 00:23:59,444 - INFO - -------------------------------------------------------------------------------- 2025-10-31 00:24:00,105 - INFO - Deleted project: ctest-TestRouters-51227782, ID : 272515a9-e1fd-48e6-84cd-f507962ef065