2025-10-27 20:31:41,430 - INFO - Domain Default found not creating 2025-10-27 20:31:41,579 - INFO - Project ctest-TestRouters-32964253 not found, creating it 2025-10-27 20:31:42,038 - INFO - Created Project:ctest-TestRouters-32964253, ID : 7cb31e18-2f96-447e-9f25-58568dce5a9b 2025-10-27 20:31:43,594 - INFO - ================================================================================ 2025-10-27 20:31:43,594 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-27 20:31:43,594 - 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-27 20:31:43,847 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-27 20:31:43,847 - INFO - Initial checks done. Running the testcase now 2025-10-27 20:31:43,847 - INFO - 2025-10-27 20:31:44,378 - DEBUG - Response for create_network : {'network': {'id': '3de221ac-82c8-4b1f-a52e-2cf9e946da58', 'name': 'ctest-vn1-76544527', 'tenant_id': '7cb31e182f96447e9f2558568dce5a9b', 'project_id': '7cb31e182f96447e9f2558568dce5a9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-32964253', 'ctest-vn1-76544527'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:31:44,541 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c89b123a-318d-4e99-a247-423ab646bb9e', 'name': '', 'tenant_id': '7cb31e182f96447e9f2558568dce5a9b', 'network_id': '3de221ac-82c8-4b1f-a52e-2cf9e946da58', 'ip_version': 4, 'cidr': '131.15.93.0/26', 'allocation_pools': [{'start': '131.15.93.2', 'end': '131.15.93.62'}], 'gateway_ip': '131.15.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.15.93.2', 'tags': [], 'project_id': '7cb31e182f96447e9f2558568dce5a9b'}} 2025-10-27 20:31:44,561 - INFO - Created VN ctest-vn1-76544527 2025-10-27 20:31:44,614 - DEBUG - VN ctest-vn1-76544527 UUID is 3de221ac-82c8-4b1f-a52e-2cf9e946da58 2025-10-27 20:31:44,975 - DEBUG - Response for create_network : {'network': {'id': '4c72e91e-3b6e-4d9b-8029-8ce43a06293a', 'name': 'ctest-vn2-81894316', 'tenant_id': '7cb31e182f96447e9f2558568dce5a9b', 'project_id': '7cb31e182f96447e9f2558568dce5a9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-32964253', 'ctest-vn2-81894316'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:31:45,161 - DEBUG - Response for create_subnet : {'subnet': {'id': '05045839-bd61-4c95-aa86-6ceb99f984b3', 'name': '', 'tenant_id': '7cb31e182f96447e9f2558568dce5a9b', 'network_id': '4c72e91e-3b6e-4d9b-8029-8ce43a06293a', 'ip_version': 4, 'cidr': '75.214.77.64/26', 'allocation_pools': [{'start': '75.214.77.66', 'end': '75.214.77.126'}], 'gateway_ip': '75.214.77.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.214.77.66', 'tags': [], 'project_id': '7cb31e182f96447e9f2558568dce5a9b'}} 2025-10-27 20:31:45,180 - INFO - Created VN ctest-vn2-81894316 2025-10-27 20:31:45,230 - DEBUG - VN ctest-vn2-81894316 UUID is 4c72e91e-3b6e-4d9b-8029-8ce43a06293a 2025-10-27 20:31:45,395 - DEBUG - Services list from nova: [, , ] 2025-10-27 20:31:46,447 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4511-1) 2025-10-27 20:31:47,674 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4511-1) 2025-10-27 20:31:47,754 - INFO - Adding interface with subnet_id c89b123a-318d-4e99-a247-423ab646bb9e, port_id None to router 2f3c8c13-7e80-4c3e-b44b-afb8ed5ed214 2025-10-27 20:31:48,076 - INFO - Waiting for VM ctest-vn1-vm1-10403968 to be up.. 2025-10-27 20:31:48,185 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 20:31:53,266 - DEBUG - VM is in ACTIVE state now 2025-10-27 20:31:53,266 - INFO - VM name : ctest-vn1-vm1-10403968 2025-10-27 20:31:53,336 - DEBUG - VM ctest-vn1-vm1-10403968 ID is a7638b0f-6b88-4656-920f-baf59bc74f7f 2025-10-27 20:31:53,355 - DEBUG - VM ctest-vn1-vm1-10403968 launched on Node cn-jenkins-deploy-platform-ansible-os-4511-1 2025-10-27 20:31:53,431 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a7638b0f-6b88-4656-920f-baf59bc74f7f 2025-10-27 20:31:53,729 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a7638b0f-6b88-4656-920f-baf59bc74f7f 2025-10-27 20:31:53,765 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/935e541d-42c3-488d-a55f-d09f534d41ed 2025-10-27 20:31:57,017 - 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-10-27 20:31:57,017 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10403968 failed! 2025-10-27 20:31:57,070 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-32964253:ctest-vn1-76544527 is 131.15.93.1 and allocation pool is NOT set 2025-10-27 20:31:59,129 - 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.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.408 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.408/1.900/3.393/1.492 ms') 2025-10-27 20:31:59,130 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10403968 passed 2025-10-27 20:31:59,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:31:59,282 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10403968, IP 131.15.93.3, Port 22 2025-10-27 20:31:59,437 - DEBUG - VM ctest-vn1-vm1-10403968 is ready for SSH connections 2025-10-27 20:31:59,438 - INFO - Waiting for VM ctest-vn2-vm1-25324539 to be up.. 2025-10-27 20:31:59,514 - DEBUG - VM is in ACTIVE state now 2025-10-27 20:31:59,514 - INFO - VM name : ctest-vn2-vm1-25324539 2025-10-27 20:31:59,584 - DEBUG - VM ctest-vn2-vm1-25324539 ID is 40a054e9-1242-4def-a06a-c25ee78481cb 2025-10-27 20:31:59,584 - DEBUG - VM ctest-vn2-vm1-25324539 launched on Node cn-jenkins-deploy-platform-ansible-os-4511-1 2025-10-27 20:31:59,654 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/40a054e9-1242-4def-a06a-c25ee78481cb 2025-10-27 20:31:59,663 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4781cd40-a77d-478d-8c4c-51923ea8f1b5 2025-10-27 20:32:00,899 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.520 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.520/1.675/2.830/1.155 ms') 2025-10-27 20:32:00,899 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-25324539 passed 2025-10-27 20:32:01,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:32:01,050 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-25324539, IP 75.214.77.67, Port 22 2025-10-27 20:32:01,201 - DEBUG - VM ctest-vn2-vm1-25324539 is ready for SSH connections 2025-10-27 20:32:01,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:32:01,202 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.214.77.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-27 20:32:01,202 - DEBUG - ping -s 56 -c 3 -W 1 75.214.77.67 2025-10-27 20:32:05,872 - DEBUG - PING 75.214.77.67 (75.214.77.67): 56 data bytes --- 75.214.77.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 20:32:05,873 - WARNING - Ping to IP 75.214.77.67 from VM ctest-vn1-vm1-10403968 failed 2025-10-27 20:32:05,873 - INFO - Adding interface with subnet_id 05045839-bd61-4c95-aa86-6ceb99f984b3, port_id None to router 2f3c8c13-7e80-4c3e-b44b-afb8ed5ed214 2025-10-27 20:32:06,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:32:06,127 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.214.77.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-27 20:32:06,128 - DEBUG - ping -s 56 -c 3 -W 1 75.214.77.67 2025-10-27 20:32:09,330 - DEBUG - PING 75.214.77.67 (75.214.77.67): 56 data bytes 64 bytes from 75.214.77.67: seq=1 ttl=63 time=2.538 ms 64 bytes from 75.214.77.67: seq=2 ttl=63 time=0.926 ms --- 75.214.77.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.926/1.732/2.538 ms 2025-10-27 20:32:09,330 - WARNING - Ping to IP 75.214.77.67 from VM ctest-vn1-vm1-10403968 failed 2025-10-27 20:32:10,331 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.214.77.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-27 20:32:10,331 - DEBUG - ping -s 56 -c 3 -W 1 75.214.77.67 2025-10-27 20:32:12,542 - DEBUG - PING 75.214.77.67 (75.214.77.67): 56 data bytes 64 bytes from 75.214.77.67: seq=0 ttl=63 time=1.385 ms 64 bytes from 75.214.77.67: seq=1 ttl=63 time=1.015 ms 64 bytes from 75.214.77.67: seq=2 ttl=63 time=0.854 ms --- 75.214.77.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.854/1.084/1.385 ms 2025-10-27 20:32:12,542 - INFO - Ping to IP 75.214.77.67 from VM ctest-vn1-vm1-10403968 passed 2025-10-27 20:32:12,542 - INFO - Deleting interface with subnet_id c89b123a-318d-4e99-a247-423ab646bb9e, port_id None from router 2f3c8c13-7e80-4c3e-b44b-afb8ed5ed214 2025-10-27 20:32:12,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:32:12,662 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.214.77.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-27 20:32:12,662 - DEBUG - ping -s 56 -c 3 -W 1 75.214.77.67 2025-10-27 20:32:15,921 - DEBUG - PING 75.214.77.67 (75.214.77.67): 56 data bytes --- 75.214.77.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 20:32:15,922 - WARNING - Ping to IP 75.214.77.67 from VM ctest-vn1-vm1-10403968 failed 2025-10-27 20:32:15,922 - INFO - Adding interface with subnet_id c89b123a-318d-4e99-a247-423ab646bb9e, port_id None to router 2f3c8c13-7e80-4c3e-b44b-afb8ed5ed214 2025-10-27 20:32:16,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:32:16,126 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.214.77.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-27 20:32:16,126 - DEBUG - ping -s 56 -c 3 -W 1 75.214.77.67 2025-10-27 20:32:18,334 - DEBUG - PING 75.214.77.67 (75.214.77.67): 56 data bytes 64 bytes from 75.214.77.67: seq=0 ttl=63 time=1.511 ms 64 bytes from 75.214.77.67: seq=1 ttl=63 time=0.866 ms 64 bytes from 75.214.77.67: seq=2 ttl=63 time=0.716 ms --- 75.214.77.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.716/1.031/1.511 ms 2025-10-27 20:32:18,334 - INFO - Ping to IP 75.214.77.67 from VM ctest-vn1-vm1-10403968 passed 2025-10-27 20:32:18,334 - INFO - Deleting interface with subnet_id 05045839-bd61-4c95-aa86-6ceb99f984b3, port_id None from router 2f3c8c13-7e80-4c3e-b44b-afb8ed5ed214 2025-10-27 20:32:18,433 - INFO - Deleting interface with subnet_id c89b123a-318d-4e99-a247-423ab646bb9e, port_id None from router 2f3c8c13-7e80-4c3e-b44b-afb8ed5ed214 2025-10-27 20:32:18,599 - INFO - Deleting VM ctest-vn2-vm1-25324539 2025-10-27 20:32:18,668 - INFO - Deleting VM ctest-vn1-vm1-10403968 2025-10-27 20:32:18,738 - INFO - Deleting VN ctest-vn2-81894316 2025-10-27 20:32:18,772 - DEBUG - VN 4c72e91e-3b6e-4d9b-8029-8ce43a06293a still in use: Unable to complete operation on network 4c72e91e-3b6e-4d9b-8029-8ce43a06293a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-84fec031-ab23-4e6f-9cf3-e67289f07561'] 2025-10-27 20:32:18,772 - WARNING - Deleting VN ctest-vn2-81894316 failed..Will retry 2025-10-27 20:32:20,870 - DEBUG - Response for deleting network () 2025-10-27 20:32:20,870 - INFO - Deleting VN ctest-vn1-76544527 2025-10-27 20:32:20,973 - DEBUG - Response for deleting network () 2025-10-27 20:32:21,226 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 20:32:21,226 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-27 20:32:21,226 - INFO - -------------------------------------------------------------------------------- 2025-10-27 20:32:21,892 - INFO - Deleted project: ctest-TestRouters-32964253, ID : 7cb31e18-2f96-447e-9f25-58568dce5a9b