2025-07-22 11:28:05,095 - INFO - Domain Default found not creating 2025-07-22 11:28:05,262 - INFO - Project ctest-TestRouters-94085967 not found, creating it 2025-07-22 11:28:05,779 - INFO - Created Project:ctest-TestRouters-94085967, ID : ef6648da-34d6-4ecc-a142-5a8e86080c77 2025-07-22 11:28:07,288 - INFO - ================================================================================ 2025-07-22 11:28:07,289 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-22 11:28:07,289 - 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-07-22 11:28:07,547 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.18': '0'}} with 2025-07-22 11:28:07,547 - INFO - Initial checks done. Running the testcase now 2025-07-22 11:28:07,547 - INFO - 2025-07-22 11:28:08,139 - DEBUG - Response for create_network : {'network': {'id': '3403863a-4bea-4975-9340-0db62fdd1a06', 'name': 'ctest-vn1-50707712', 'tenant_id': 'ef6648da34d64ecca1425a8e86080c77', 'project_id': 'ef6648da34d64ecca1425a8e86080c77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-94085967', 'ctest-vn1-50707712'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 11:28:08,404 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9a1e604-2dbf-4752-9bc2-2d30200ff14e', 'name': '', 'tenant_id': 'ef6648da34d64ecca1425a8e86080c77', 'network_id': '3403863a-4bea-4975-9340-0db62fdd1a06', 'ip_version': 4, 'cidr': '120.223.51.128/26', 'allocation_pools': [{'start': '120.223.51.130', 'end': '120.223.51.190'}], 'gateway_ip': '120.223.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.223.51.130', 'tags': [], 'project_id': 'ef6648da34d64ecca1425a8e86080c77'}} 2025-07-22 11:28:08,434 - INFO - Created VN ctest-vn1-50707712 2025-07-22 11:28:08,493 - DEBUG - VN ctest-vn1-50707712 UUID is 3403863a-4bea-4975-9340-0db62fdd1a06 2025-07-22 11:28:08,874 - DEBUG - Response for create_network : {'network': {'id': '0177a82b-5327-4290-878e-5af68152f708', 'name': 'ctest-vn2-87770351', 'tenant_id': 'ef6648da34d64ecca1425a8e86080c77', 'project_id': 'ef6648da34d64ecca1425a8e86080c77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-94085967', 'ctest-vn2-87770351'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 11:28:09,051 - DEBUG - Response for create_subnet : {'subnet': {'id': '57f58549-3dfb-4135-98c5-ea6e502b9e84', 'name': '', 'tenant_id': 'ef6648da34d64ecca1425a8e86080c77', 'network_id': '0177a82b-5327-4290-878e-5af68152f708', 'ip_version': 4, 'cidr': '61.220.156.192/26', 'allocation_pools': [{'start': '61.220.156.194', 'end': '61.220.156.254'}], 'gateway_ip': '61.220.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.220.156.194', 'tags': [], 'project_id': 'ef6648da34d64ecca1425a8e86080c77'}} 2025-07-22 11:28:09,072 - INFO - Created VN ctest-vn2-87770351 2025-07-22 11:28:09,129 - DEBUG - VN ctest-vn2-87770351 UUID is 0177a82b-5327-4290-878e-5af68152f708 2025-07-22 11:28:09,306 - DEBUG - Services list from nova: [, , ] 2025-07-22 11:28:10,388 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3689-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3689-1) 2025-07-22 11:28:11,715 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3689-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3689-1) 2025-07-22 11:28:11,821 - INFO - Adding interface with subnet_id b9a1e604-2dbf-4752-9bc2-2d30200ff14e, port_id None to router 2f0073ef-fce7-4a6b-9862-8aa613c9c3e5 2025-07-22 11:28:12,213 - INFO - Waiting for VM ctest-vn1-vm1-54741205 to be up.. 2025-07-22 11:28:12,393 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 11:28:17,472 - DEBUG - VM is in ACTIVE state now 2025-07-22 11:28:17,473 - INFO - VM name : ctest-vn1-vm1-54741205 2025-07-22 11:28:17,552 - DEBUG - VM ctest-vn1-vm1-54741205 ID is ff2f7f41-f343-4f63-a023-8251ed4144c6 2025-07-22 11:28:17,572 - DEBUG - VM ctest-vn1-vm1-54741205 launched on Node cn-jenkins-deploy-platform-ansible-os-3689-1 2025-07-22 11:28:17,648 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ff2f7f41-f343-4f63-a023-8251ed4144c6 2025-07-22 11:28:17,947 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ff2f7f41-f343-4f63-a023-8251ed4144c6 2025-07-22 11:28:17,981 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/3c09e7ea-ea27-4149-a051-d6242e8a24b7 2025-07-22 11:28:21,234 - 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 1007ms') 2025-07-22 11:28:21,234 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54741205 failed! 2025-07-22 11:28:21,293 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-94085967:ctest-vn1-50707712 is 120.223.51.129 and allocation pool is NOT set 2025-07-22 11:28:23,358 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.948 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.948/2.585/4.222/1.637 ms') 2025-07-22 11:28:23,358 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54741205 passed 2025-07-22 11:28:23,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 11:28:23,513 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54741205, IP 120.223.51.131, Port 22 2025-07-22 11:28:23,668 - DEBUG - VM ctest-vn1-vm1-54741205 is ready for SSH connections 2025-07-22 11:28:23,669 - INFO - Waiting for VM ctest-vn2-vm1-25776812 to be up.. 2025-07-22 11:28:23,751 - DEBUG - VM is in ACTIVE state now 2025-07-22 11:28:23,751 - INFO - VM name : ctest-vn2-vm1-25776812 2025-07-22 11:28:23,826 - DEBUG - VM ctest-vn2-vm1-25776812 ID is 97d5eb31-4de9-4003-b913-9db00e2ba790 2025-07-22 11:28:23,827 - DEBUG - VM ctest-vn2-vm1-25776812 launched on Node cn-jenkins-deploy-platform-ansible-os-3689-1 2025-07-22 11:28:23,908 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/97d5eb31-4de9-4003-b913-9db00e2ba790 2025-07-22 11:28:23,918 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/8373c560-7888-407b-a539-b4eb5f45cf73 2025-07-22 11:28:25,177 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.451 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.451/1.705/2.959/1.254 ms') 2025-07-22 11:28:25,177 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-25776812 passed 2025-07-22 11:28:25,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 11:28:25,337 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-25776812, IP 61.220.156.195, Port 22 2025-07-22 11:28:25,503 - DEBUG - VM ctest-vn2-vm1-25776812 is ready for SSH connections 2025-07-22 11:28:25,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 11:28:25,503 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.220.156.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-22 11:28:25,503 - DEBUG - ping -s 56 -c 3 -W 1 61.220.156.195 2025-07-22 11:28:30,144 - DEBUG - PING 61.220.156.195 (61.220.156.195): 56 data bytes --- 61.220.156.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-22 11:28:30,145 - WARNING - Ping to IP 61.220.156.195 from VM ctest-vn1-vm1-54741205 failed 2025-07-22 11:28:30,145 - INFO - Adding interface with subnet_id 57f58549-3dfb-4135-98c5-ea6e502b9e84, port_id None to router 2f0073ef-fce7-4a6b-9862-8aa613c9c3e5 2025-07-22 11:28:30,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 11:28:30,447 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.220.156.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-22 11:28:30,448 - DEBUG - ping -s 56 -c 3 -W 1 61.220.156.195 2025-07-22 11:28:33,661 - DEBUG - PING 61.220.156.195 (61.220.156.195): 56 data bytes 64 bytes from 61.220.156.195: seq=1 ttl=63 time=3.197 ms 64 bytes from 61.220.156.195: seq=2 ttl=63 time=0.971 ms --- 61.220.156.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.971/2.084/3.197 ms 2025-07-22 11:28:33,662 - WARNING - Ping to IP 61.220.156.195 from VM ctest-vn1-vm1-54741205 failed 2025-07-22 11:28:34,662 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.220.156.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-22 11:28:34,662 - DEBUG - ping -s 56 -c 3 -W 1 61.220.156.195 2025-07-22 11:28:36,886 - DEBUG - PING 61.220.156.195 (61.220.156.195): 56 data bytes 64 bytes from 61.220.156.195: seq=0 ttl=63 time=1.704 ms 64 bytes from 61.220.156.195: seq=1 ttl=63 time=1.035 ms 64 bytes from 61.220.156.195: seq=2 ttl=63 time=1.034 ms --- 61.220.156.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.034/1.257/1.704 ms 2025-07-22 11:28:36,886 - INFO - Ping to IP 61.220.156.195 from VM ctest-vn1-vm1-54741205 passed 2025-07-22 11:28:36,886 - INFO - Deleting interface with subnet_id b9a1e604-2dbf-4752-9bc2-2d30200ff14e, port_id None from router 2f0073ef-fce7-4a6b-9862-8aa613c9c3e5 2025-07-22 11:28:37,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 11:28:37,025 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.220.156.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-22 11:28:37,025 - DEBUG - ping -s 56 -c 3 -W 1 61.220.156.195 2025-07-22 11:28:40,233 - DEBUG - PING 61.220.156.195 (61.220.156.195): 56 data bytes --- 61.220.156.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-22 11:28:40,233 - WARNING - Ping to IP 61.220.156.195 from VM ctest-vn1-vm1-54741205 failed 2025-07-22 11:28:40,233 - INFO - Adding interface with subnet_id b9a1e604-2dbf-4752-9bc2-2d30200ff14e, port_id None to router 2f0073ef-fce7-4a6b-9862-8aa613c9c3e5 2025-07-22 11:28:40,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 11:28:40,478 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.220.156.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-22 11:28:40,478 - DEBUG - ping -s 56 -c 3 -W 1 61.220.156.195 2025-07-22 11:28:42,685 - DEBUG - PING 61.220.156.195 (61.220.156.195): 56 data bytes 64 bytes from 61.220.156.195: seq=0 ttl=63 time=1.800 ms 64 bytes from 61.220.156.195: seq=1 ttl=63 time=1.146 ms 64 bytes from 61.220.156.195: seq=2 ttl=63 time=0.998 ms --- 61.220.156.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.998/1.314/1.800 ms 2025-07-22 11:28:42,685 - INFO - Ping to IP 61.220.156.195 from VM ctest-vn1-vm1-54741205 passed 2025-07-22 11:28:42,685 - INFO - Deleting interface with subnet_id 57f58549-3dfb-4135-98c5-ea6e502b9e84, port_id None from router 2f0073ef-fce7-4a6b-9862-8aa613c9c3e5 2025-07-22 11:28:42,838 - INFO - Deleting interface with subnet_id b9a1e604-2dbf-4752-9bc2-2d30200ff14e, port_id None from router 2f0073ef-fce7-4a6b-9862-8aa613c9c3e5 2025-07-22 11:28:43,070 - INFO - Deleting VM ctest-vn2-vm1-25776812 2025-07-22 11:28:43,173 - INFO - Deleting VM ctest-vn1-vm1-54741205 2025-07-22 11:28:43,255 - INFO - Deleting VN ctest-vn2-87770351 2025-07-22 11:28:43,295 - DEBUG - VN 0177a82b-5327-4290-878e-5af68152f708 still in use: Unable to complete operation on network 0177a82b-5327-4290-878e-5af68152f708. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bc2a8426-0d9a-42e9-a037-a396de369168'] 2025-07-22 11:28:43,295 - WARNING - Deleting VN ctest-vn2-87770351 failed..Will retry 2025-07-22 11:28:45,416 - DEBUG - Response for deleting network () 2025-07-22 11:28:45,416 - INFO - Deleting VN ctest-vn1-50707712 2025-07-22 11:28:45,537 - DEBUG - Response for deleting network () 2025-07-22 11:28:45,792 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 11:28:45,793 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-07-22 11:28:45,793 - INFO - -------------------------------------------------------------------------------- 2025-07-22 11:28:46,489 - INFO - Deleted project: ctest-TestRouters-94085967, ID : ef6648da-34d6-4ecc-a142-5a8e86080c77