2025-09-19 06:28:24,899 - INFO - Domain Default found not creating 2025-09-19 06:28:25,125 - INFO - Project ctest-TestRouters-42655152 not found, creating it 2025-09-19 06:28:25,602 - INFO - Created Project:ctest-TestRouters-42655152, ID : 68c9e407-64e0-4291-9e92-068f750684c5 2025-09-19 06:28:26,982 - INFO - ================================================================================ 2025-09-19 06:28:26,982 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-19 06:28:26,982 - 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-19 06:28:27,238 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-09-19 06:28:27,238 - INFO - Initial checks done. Running the testcase now 2025-09-19 06:28:27,238 - INFO - 2025-09-19 06:28:27,792 - DEBUG - Response for create_network : {'network': {'id': '47fe36b9-547b-4aa7-8046-e39b1ffb2743', 'name': 'ctest-vn1-56031564', 'tenant_id': '68c9e40764e042919e92068f750684c5', 'project_id': '68c9e40764e042919e92068f750684c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-42655152', 'ctest-vn1-56031564'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 06:28:27,934 - DEBUG - Response for create_subnet : {'subnet': {'id': 'adda8c4c-040f-4f77-a0a6-5afe0ea735c5', 'name': '', 'tenant_id': '68c9e40764e042919e92068f750684c5', 'network_id': '47fe36b9-547b-4aa7-8046-e39b1ffb2743', 'ip_version': 4, 'cidr': '106.32.130.64/26', 'allocation_pools': [{'start': '106.32.130.66', 'end': '106.32.130.126'}], 'gateway_ip': '106.32.130.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.32.130.66', 'tags': [], 'project_id': '68c9e40764e042919e92068f750684c5'}} 2025-09-19 06:28:27,950 - INFO - Created VN ctest-vn1-56031564 2025-09-19 06:28:28,001 - DEBUG - VN ctest-vn1-56031564 UUID is 47fe36b9-547b-4aa7-8046-e39b1ffb2743 2025-09-19 06:28:28,315 - DEBUG - Response for create_network : {'network': {'id': '4af18a3a-0f0b-4144-b5e8-2e95ae4f3773', 'name': 'ctest-vn2-20591864', 'tenant_id': '68c9e40764e042919e92068f750684c5', 'project_id': '68c9e40764e042919e92068f750684c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-42655152', 'ctest-vn2-20591864'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 06:28:28,556 - DEBUG - Response for create_subnet : {'subnet': {'id': '384735c6-ce8e-493e-9230-5354859d2880', 'name': '', 'tenant_id': '68c9e40764e042919e92068f750684c5', 'network_id': '4af18a3a-0f0b-4144-b5e8-2e95ae4f3773', 'ip_version': 4, 'cidr': '99.110.191.128/26', 'allocation_pools': [{'start': '99.110.191.130', 'end': '99.110.191.190'}], 'gateway_ip': '99.110.191.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.110.191.130', 'tags': [], 'project_id': '68c9e40764e042919e92068f750684c5'}} 2025-09-19 06:28:28,576 - INFO - Created VN ctest-vn2-20591864 2025-09-19 06:28:28,629 - DEBUG - VN ctest-vn2-20591864 UUID is 4af18a3a-0f0b-4144-b5e8-2e95ae4f3773 2025-09-19 06:28:28,836 - DEBUG - Services list from nova: [, , ] 2025-09-19 06:28:29,809 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4146-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4146-1) 2025-09-19 06:28:31,041 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4146-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4146-1) 2025-09-19 06:28:31,105 - INFO - Adding interface with subnet_id adda8c4c-040f-4f77-a0a6-5afe0ea735c5, port_id None to router 4a252da3-06d8-4393-a5bb-4e64bdeca56d 2025-09-19 06:28:31,351 - INFO - Waiting for VM ctest-vn1-vm1-80749455 to be up.. 2025-09-19 06:28:31,462 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 06:28:36,534 - DEBUG - VM is in ACTIVE state now 2025-09-19 06:28:36,534 - INFO - VM name : ctest-vn1-vm1-80749455 2025-09-19 06:28:36,599 - DEBUG - VM ctest-vn1-vm1-80749455 ID is 47b161c6-5db6-4958-8660-8812b34f89af 2025-09-19 06:28:36,626 - DEBUG - VM ctest-vn1-vm1-80749455 launched on Node cn-jenkins-deploy-platform-ansible-os-4146-1 2025-09-19 06:28:36,688 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/47b161c6-5db6-4958-8660-8812b34f89af 2025-09-19 06:28:36,977 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/47b161c6-5db6-4958-8660-8812b34f89af 2025-09-19 06:28:37,006 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/d9879e75-8279-46f9-b687-6a27947c2ec9 2025-09-19 06:28:40,271 - 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-09-19 06:28:40,271 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80749455 failed! 2025-09-19 06:28:40,325 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-42655152:ctest-vn1-56031564 is 106.32.130.65 and allocation pool is NOT set 2025-09-19 06:28:42,382 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.392 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.392/2.129/3.867/1.737 ms') 2025-09-19 06:28:42,383 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80749455 passed 2025-09-19 06:28:42,537 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 06:28:42,537 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80749455, IP 106.32.130.67, Port 22 2025-09-19 06:28:42,706 - DEBUG - VM ctest-vn1-vm1-80749455 is ready for SSH connections 2025-09-19 06:28:42,706 - INFO - Waiting for VM ctest-vn2-vm1-92710908 to be up.. 2025-09-19 06:28:42,783 - DEBUG - VM is in ACTIVE state now 2025-09-19 06:28:42,783 - INFO - VM name : ctest-vn2-vm1-92710908 2025-09-19 06:28:42,861 - DEBUG - VM ctest-vn2-vm1-92710908 ID is 423d31c0-a221-4d86-8012-7297c9f70c9c 2025-09-19 06:28:42,862 - DEBUG - VM ctest-vn2-vm1-92710908 launched on Node cn-jenkins-deploy-platform-ansible-os-4146-1 2025-09-19 06:28:42,928 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/423d31c0-a221-4d86-8012-7297c9f70c9c 2025-09-19 06:28:42,935 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a711042d-5ae8-4e03-9ec4-ada7152b31d5 2025-09-19 06:28:44,168 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 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.456/1.822/3.189/1.366 ms') 2025-09-19 06:28:44,168 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-92710908 passed 2025-09-19 06:28:44,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 06:28:44,317 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-92710908, IP 99.110.191.131, Port 22 2025-09-19 06:28:44,468 - DEBUG - VM ctest-vn2-vm1-92710908 is ready for SSH connections 2025-09-19 06:28:44,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 06:28:44,468 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.110.191.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-19 06:28:44,469 - DEBUG - ping -s 56 -c 3 -W 1 99.110.191.131 2025-09-19 06:28:49,151 - DEBUG - PING 99.110.191.131 (99.110.191.131): 56 data bytes --- 99.110.191.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-19 06:28:49,151 - WARNING - Ping to IP 99.110.191.131 from VM ctest-vn1-vm1-80749455 failed 2025-09-19 06:28:49,152 - INFO - Adding interface with subnet_id 384735c6-ce8e-493e-9230-5354859d2880, port_id None to router 4a252da3-06d8-4393-a5bb-4e64bdeca56d 2025-09-19 06:28:49,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 06:28:49,367 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.110.191.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-19 06:28:49,367 - DEBUG - ping -s 56 -c 3 -W 1 99.110.191.131 2025-09-19 06:28:52,570 - DEBUG - PING 99.110.191.131 (99.110.191.131): 56 data bytes 64 bytes from 99.110.191.131: seq=1 ttl=63 time=2.296 ms 64 bytes from 99.110.191.131: seq=2 ttl=63 time=0.891 ms --- 99.110.191.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.891/1.593/2.296 ms 2025-09-19 06:28:52,570 - WARNING - Ping to IP 99.110.191.131 from VM ctest-vn1-vm1-80749455 failed 2025-09-19 06:28:53,570 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.110.191.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-19 06:28:53,571 - DEBUG - ping -s 56 -c 3 -W 1 99.110.191.131 2025-09-19 06:28:55,793 - DEBUG - PING 99.110.191.131 (99.110.191.131): 56 data bytes 64 bytes from 99.110.191.131: seq=0 ttl=63 time=1.436 ms 64 bytes from 99.110.191.131: seq=1 ttl=63 time=0.787 ms 64 bytes from 99.110.191.131: seq=2 ttl=63 time=0.799 ms --- 99.110.191.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.787/1.007/1.436 ms 2025-09-19 06:28:55,793 - INFO - Ping to IP 99.110.191.131 from VM ctest-vn1-vm1-80749455 passed 2025-09-19 06:28:55,793 - INFO - Deleting interface with subnet_id adda8c4c-040f-4f77-a0a6-5afe0ea735c5, port_id None from router 4a252da3-06d8-4393-a5bb-4e64bdeca56d 2025-09-19 06:28:55,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 06:28:55,890 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.110.191.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-19 06:28:55,890 - DEBUG - ping -s 56 -c 3 -W 1 99.110.191.131 2025-09-19 06:28:59,090 - DEBUG - PING 99.110.191.131 (99.110.191.131): 56 data bytes --- 99.110.191.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-19 06:28:59,090 - WARNING - Ping to IP 99.110.191.131 from VM ctest-vn1-vm1-80749455 failed 2025-09-19 06:28:59,091 - INFO - Adding interface with subnet_id adda8c4c-040f-4f77-a0a6-5afe0ea735c5, port_id None to router 4a252da3-06d8-4393-a5bb-4e64bdeca56d 2025-09-19 06:28:59,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 06:28:59,275 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.110.191.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-19 06:28:59,276 - DEBUG - ping -s 56 -c 3 -W 1 99.110.191.131 2025-09-19 06:29:01,475 - DEBUG - PING 99.110.191.131 (99.110.191.131): 56 data bytes 64 bytes from 99.110.191.131: seq=0 ttl=63 time=1.272 ms 64 bytes from 99.110.191.131: seq=1 ttl=63 time=0.802 ms 64 bytes from 99.110.191.131: seq=2 ttl=63 time=0.784 ms --- 99.110.191.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.784/0.952/1.272 ms 2025-09-19 06:29:01,475 - INFO - Ping to IP 99.110.191.131 from VM ctest-vn1-vm1-80749455 passed 2025-09-19 06:29:01,475 - INFO - Deleting interface with subnet_id 384735c6-ce8e-493e-9230-5354859d2880, port_id None from router 4a252da3-06d8-4393-a5bb-4e64bdeca56d 2025-09-19 06:29:01,594 - INFO - Deleting interface with subnet_id adda8c4c-040f-4f77-a0a6-5afe0ea735c5, port_id None from router 4a252da3-06d8-4393-a5bb-4e64bdeca56d 2025-09-19 06:29:01,795 - INFO - Deleting VM ctest-vn2-vm1-92710908 2025-09-19 06:29:01,877 - INFO - Deleting VM ctest-vn1-vm1-80749455 2025-09-19 06:29:01,954 - INFO - Deleting VN ctest-vn2-20591864 2025-09-19 06:29:01,993 - DEBUG - VN 4af18a3a-0f0b-4144-b5e8-2e95ae4f3773 still in use: Unable to complete operation on network 4af18a3a-0f0b-4144-b5e8-2e95ae4f3773. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-82c3434b-2646-4ab4-ad4d-45d483a3e93b'] 2025-09-19 06:29:01,994 - WARNING - Deleting VN ctest-vn2-20591864 failed..Will retry 2025-09-19 06:29:04,084 - DEBUG - Response for deleting network () 2025-09-19 06:29:04,084 - INFO - Deleting VN ctest-vn1-56031564 2025-09-19 06:29:04,178 - DEBUG - Response for deleting network () 2025-09-19 06:29:04,433 - DEBUG - No XMPP flaps were noticed during the test 2025-09-19 06:29:04,434 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-09-19 06:29:04,434 - INFO - -------------------------------------------------------------------------------- 2025-09-19 06:29:05,104 - INFO - Deleted project: ctest-TestRouters-42655152, ID : 68c9e407-64e0-4291-9e92-068f750684c5