2025-10-23 07:01:15,127 - INFO - Domain Default found not creating 2025-10-23 07:01:15,287 - INFO - Project ctest-TestRouters-97344215 not found, creating it 2025-10-23 07:01:15,749 - INFO - Created Project:ctest-TestRouters-97344215, ID : 8dae7500-f398-4edf-955b-9882de595f17 2025-10-23 07:01:17,235 - INFO - ================================================================================ 2025-10-23 07:01:17,235 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-23 07:01:17,235 - 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-23 07:01:17,494 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-23 07:01:17,494 - INFO - Initial checks done. Running the testcase now 2025-10-23 07:01:17,495 - INFO - 2025-10-23 07:01:18,053 - DEBUG - Response for create_network : {'network': {'id': '22774672-968c-452d-8197-d8bb5983e2bd', 'name': 'ctest-vn1-56915073', 'tenant_id': '8dae7500f3984edf955b9882de595f17', 'project_id': '8dae7500f3984edf955b9882de595f17', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-97344215', 'ctest-vn1-56915073'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 07:01:18,268 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b862b98-43a7-4f18-b36d-941578d22151', 'name': '', 'tenant_id': '8dae7500f3984edf955b9882de595f17', 'network_id': '22774672-968c-452d-8197-d8bb5983e2bd', 'ip_version': 4, 'cidr': '46.60.31.192/26', 'allocation_pools': [{'start': '46.60.31.194', 'end': '46.60.31.254'}], 'gateway_ip': '46.60.31.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.60.31.194', 'tags': [], 'project_id': '8dae7500f3984edf955b9882de595f17'}} 2025-10-23 07:01:18,286 - INFO - Created VN ctest-vn1-56915073 2025-10-23 07:01:18,345 - DEBUG - VN ctest-vn1-56915073 UUID is 22774672-968c-452d-8197-d8bb5983e2bd 2025-10-23 07:01:18,670 - DEBUG - Response for create_network : {'network': {'id': '89fbb4ba-e5b4-44b4-af08-55cc7fedca61', 'name': 'ctest-vn2-87315414', 'tenant_id': '8dae7500f3984edf955b9882de595f17', 'project_id': '8dae7500f3984edf955b9882de595f17', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-97344215', 'ctest-vn2-87315414'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 07:01:18,910 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f2eba65-513e-4902-97dc-447d4d77de44', 'name': '', 'tenant_id': '8dae7500f3984edf955b9882de595f17', 'network_id': '89fbb4ba-e5b4-44b4-af08-55cc7fedca61', 'ip_version': 4, 'cidr': '89.83.81.64/26', 'allocation_pools': [{'start': '89.83.81.66', 'end': '89.83.81.126'}], 'gateway_ip': '89.83.81.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.83.81.66', 'tags': [], 'project_id': '8dae7500f3984edf955b9882de595f17'}} 2025-10-23 07:01:18,929 - INFO - Created VN ctest-vn2-87315414 2025-10-23 07:01:18,980 - DEBUG - VN ctest-vn2-87315414 UUID is 89fbb4ba-e5b4-44b4-af08-55cc7fedca61 2025-10-23 07:01:19,184 - DEBUG - Services list from nova: [, , ] 2025-10-23 07:01:20,324 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4454-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4454-1) 2025-10-23 07:01:21,456 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4454-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4454-1) 2025-10-23 07:01:21,538 - INFO - Adding interface with subnet_id 8b862b98-43a7-4f18-b36d-941578d22151, port_id None to router 814e16c4-66a1-4d22-885d-a133cfa8c14c 2025-10-23 07:01:21,866 - INFO - Waiting for VM ctest-vn1-vm1-60862101 to be up.. 2025-10-23 07:01:21,971 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 07:01:27,051 - DEBUG - VM is in ACTIVE state now 2025-10-23 07:01:27,051 - INFO - VM name : ctest-vn1-vm1-60862101 2025-10-23 07:01:27,122 - DEBUG - VM ctest-vn1-vm1-60862101 ID is 322d661e-20dc-4891-ade3-3d697fa1e575 2025-10-23 07:01:27,145 - DEBUG - VM ctest-vn1-vm1-60862101 launched on Node cn-jenkins-deploy-platform-ansible-os-4454-1 2025-10-23 07:01:27,221 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/322d661e-20dc-4891-ade3-3d697fa1e575 2025-10-23 07:01:27,526 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/322d661e-20dc-4891-ade3-3d697fa1e575 2025-10-23 07:01:27,558 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6d52d53f-9725-4db8-be0a-8efc8a991e56 2025-10-23 07:01:30,816 - 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 1023ms') 2025-10-23 07:01:30,816 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60862101 failed! 2025-10-23 07:01:30,868 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-97344215:ctest-vn1-56915073 is 46.60.31.193 and allocation pool is NOT set 2025-10-23 07:01:32,931 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.462 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 = 0.462/2.013/3.565/1.551 ms') 2025-10-23 07:01:32,931 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60862101 passed 2025-10-23 07:01:33,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 07:01:33,081 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-60862101, IP 46.60.31.195, Port 22 2025-10-23 07:01:33,246 - DEBUG - VM ctest-vn1-vm1-60862101 is ready for SSH connections 2025-10-23 07:01:33,247 - INFO - Waiting for VM ctest-vn2-vm1-32968344 to be up.. 2025-10-23 07:01:33,342 - DEBUG - VM is in ACTIVE state now 2025-10-23 07:01:33,342 - INFO - VM name : ctest-vn2-vm1-32968344 2025-10-23 07:01:33,431 - DEBUG - VM ctest-vn2-vm1-32968344 ID is 20faf4fa-6839-45da-bfae-7c4b1e7e1e00 2025-10-23 07:01:33,431 - DEBUG - VM ctest-vn2-vm1-32968344 launched on Node cn-jenkins-deploy-platform-ansible-os-4454-1 2025-10-23 07:01:33,522 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/20faf4fa-6839-45da-bfae-7c4b1e7e1e00 2025-10-23 07:01:33,532 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/51f31a72-28b2-4d15-b1c6-75dd6e4be9f5 2025-10-23 07:01:34,782 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 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.407/1.554/2.701/1.147 ms') 2025-10-23 07:01:34,782 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-32968344 passed 2025-10-23 07:01:34,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 07:01:34,932 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-32968344, IP 89.83.81.67, Port 22 2025-10-23 07:01:35,100 - DEBUG - VM ctest-vn2-vm1-32968344 is ready for SSH connections 2025-10-23 07:01:35,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 07:01:35,100 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.83.81.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 07:01:35,100 - DEBUG - ping -s 56 -c 3 -W 1 89.83.81.67 2025-10-23 07:01:39,810 - DEBUG - PING 89.83.81.67 (89.83.81.67): 56 data bytes --- 89.83.81.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 07:01:39,810 - WARNING - Ping to IP 89.83.81.67 from VM ctest-vn1-vm1-60862101 failed 2025-10-23 07:01:39,811 - INFO - Adding interface with subnet_id 2f2eba65-513e-4902-97dc-447d4d77de44, port_id None to router 814e16c4-66a1-4d22-885d-a133cfa8c14c 2025-10-23 07:01:40,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 07:01:40,124 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.83.81.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 07:01:40,124 - DEBUG - ping -s 56 -c 3 -W 1 89.83.81.67 2025-10-23 07:01:43,336 - DEBUG - PING 89.83.81.67 (89.83.81.67): 56 data bytes 64 bytes from 89.83.81.67: seq=1 ttl=63 time=3.076 ms 64 bytes from 89.83.81.67: seq=2 ttl=63 time=1.136 ms --- 89.83.81.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.136/2.106/3.076 ms 2025-10-23 07:01:43,337 - WARNING - Ping to IP 89.83.81.67 from VM ctest-vn1-vm1-60862101 failed 2025-10-23 07:01:44,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.83.81.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 07:01:44,337 - DEBUG - ping -s 56 -c 3 -W 1 89.83.81.67 2025-10-23 07:01:46,539 - DEBUG - PING 89.83.81.67 (89.83.81.67): 56 data bytes 64 bytes from 89.83.81.67: seq=0 ttl=63 time=2.285 ms 64 bytes from 89.83.81.67: seq=1 ttl=63 time=1.136 ms 64 bytes from 89.83.81.67: seq=2 ttl=63 time=1.071 ms --- 89.83.81.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.071/1.497/2.285 ms 2025-10-23 07:01:46,539 - INFO - Ping to IP 89.83.81.67 from VM ctest-vn1-vm1-60862101 passed 2025-10-23 07:01:46,539 - INFO - Deleting interface with subnet_id 8b862b98-43a7-4f18-b36d-941578d22151, port_id None from router 814e16c4-66a1-4d22-885d-a133cfa8c14c 2025-10-23 07:01:46,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 07:01:46,650 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.83.81.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 07:01:46,650 - DEBUG - ping -s 56 -c 3 -W 1 89.83.81.67 2025-10-23 07:01:49,864 - DEBUG - PING 89.83.81.67 (89.83.81.67): 56 data bytes --- 89.83.81.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 07:01:49,864 - WARNING - Ping to IP 89.83.81.67 from VM ctest-vn1-vm1-60862101 failed 2025-10-23 07:01:49,864 - INFO - Adding interface with subnet_id 8b862b98-43a7-4f18-b36d-941578d22151, port_id None to router 814e16c4-66a1-4d22-885d-a133cfa8c14c 2025-10-23 07:01:50,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 07:01:50,127 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.83.81.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 07:01:50,127 - DEBUG - ping -s 56 -c 3 -W 1 89.83.81.67 2025-10-23 07:01:52,333 - DEBUG - PING 89.83.81.67 (89.83.81.67): 56 data bytes 64 bytes from 89.83.81.67: seq=0 ttl=63 time=1.574 ms 64 bytes from 89.83.81.67: seq=1 ttl=63 time=1.179 ms 64 bytes from 89.83.81.67: seq=2 ttl=63 time=0.984 ms --- 89.83.81.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.984/1.245/1.574 ms 2025-10-23 07:01:52,333 - INFO - Ping to IP 89.83.81.67 from VM ctest-vn1-vm1-60862101 passed 2025-10-23 07:01:52,333 - INFO - Deleting interface with subnet_id 2f2eba65-513e-4902-97dc-447d4d77de44, port_id None from router 814e16c4-66a1-4d22-885d-a133cfa8c14c 2025-10-23 07:01:52,454 - INFO - Deleting interface with subnet_id 8b862b98-43a7-4f18-b36d-941578d22151, port_id None from router 814e16c4-66a1-4d22-885d-a133cfa8c14c 2025-10-23 07:01:52,653 - INFO - Deleting VM ctest-vn2-vm1-32968344 2025-10-23 07:01:52,738 - INFO - Deleting VM ctest-vn1-vm1-60862101 2025-10-23 07:01:52,815 - INFO - Deleting VN ctest-vn2-87315414 2025-10-23 07:01:52,855 - DEBUG - VN 89fbb4ba-e5b4-44b4-af08-55cc7fedca61 still in use: Unable to complete operation on network 89fbb4ba-e5b4-44b4-af08-55cc7fedca61. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a92bb18b-524b-420d-815d-d5967e107ba8'] 2025-10-23 07:01:52,855 - WARNING - Deleting VN ctest-vn2-87315414 failed..Will retry 2025-10-23 07:01:54,959 - DEBUG - Response for deleting network () 2025-10-23 07:01:54,960 - INFO - Deleting VN ctest-vn1-56915073 2025-10-23 07:01:55,068 - DEBUG - Response for deleting network () 2025-10-23 07:01:55,321 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 07:01:55,321 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-10-23 07:01:55,321 - INFO - -------------------------------------------------------------------------------- 2025-10-23 07:01:55,987 - INFO - Deleted project: ctest-TestRouters-97344215, ID : 8dae7500-f398-4edf-955b-9882de595f17