2025-10-27 15:29:41,980 - INFO - Domain Default found not creating 2025-10-27 15:29:42,149 - INFO - Project ctest-TestRouters-27110887 not found, creating it 2025-10-27 15:29:42,733 - INFO - Created Project:ctest-TestRouters-27110887, ID : 46f39d81-e63e-4379-b1eb-2ad2b041bae0 2025-10-27 15:29:44,272 - INFO - ================================================================================ 2025-10-27 15:29:44,272 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-27 15:29:44,272 - 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 15:29:44,530 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-27 15:29:44,530 - INFO - Initial checks done. Running the testcase now 2025-10-27 15:29:44,530 - INFO - 2025-10-27 15:29:45,095 - DEBUG - Response for create_network : {'network': {'id': '8df0d7e8-838a-4043-be7a-3d9faabf72f2', 'name': 'ctest-vn1-30833881', 'tenant_id': '46f39d81e63e4379b1eb2ad2b041bae0', 'project_id': '46f39d81e63e4379b1eb2ad2b041bae0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27110887', 'ctest-vn1-30833881'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:29:45,278 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b9e49b2-b057-47bc-b2fe-eb13fd37d956', 'name': '', 'tenant_id': '46f39d81e63e4379b1eb2ad2b041bae0', 'network_id': '8df0d7e8-838a-4043-be7a-3d9faabf72f2', 'ip_version': 4, 'cidr': '162.76.41.64/26', 'allocation_pools': [{'start': '162.76.41.66', 'end': '162.76.41.126'}], 'gateway_ip': '162.76.41.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.76.41.66', 'tags': [], 'project_id': '46f39d81e63e4379b1eb2ad2b041bae0'}} 2025-10-27 15:29:45,299 - INFO - Created VN ctest-vn1-30833881 2025-10-27 15:29:45,352 - DEBUG - VN ctest-vn1-30833881 UUID is 8df0d7e8-838a-4043-be7a-3d9faabf72f2 2025-10-27 15:29:45,647 - DEBUG - Response for create_network : {'network': {'id': '0bc2f305-e92c-4c01-8ecf-2e9e0f29e6cd', 'name': 'ctest-vn2-41667427', 'tenant_id': '46f39d81e63e4379b1eb2ad2b041bae0', 'project_id': '46f39d81e63e4379b1eb2ad2b041bae0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27110887', 'ctest-vn2-41667427'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 15:29:45,838 - DEBUG - Response for create_subnet : {'subnet': {'id': 'acb7f404-4625-4e2a-b3c3-fa3ee712435d', 'name': '', 'tenant_id': '46f39d81e63e4379b1eb2ad2b041bae0', 'network_id': '0bc2f305-e92c-4c01-8ecf-2e9e0f29e6cd', 'ip_version': 4, 'cidr': '21.194.82.192/26', 'allocation_pools': [{'start': '21.194.82.194', 'end': '21.194.82.254'}], 'gateway_ip': '21.194.82.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.194.82.194', 'tags': [], 'project_id': '46f39d81e63e4379b1eb2ad2b041bae0'}} 2025-10-27 15:29:45,855 - INFO - Created VN ctest-vn2-41667427 2025-10-27 15:29:45,908 - DEBUG - VN ctest-vn2-41667427 UUID is 0bc2f305-e92c-4c01-8ecf-2e9e0f29e6cd 2025-10-27 15:29:46,082 - DEBUG - Services list from nova: [, , ] 2025-10-27 15:29:47,306 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4508-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4508-1) 2025-10-27 15:29:48,745 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4508-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4508-1) 2025-10-27 15:29:48,896 - INFO - Adding interface with subnet_id 2b9e49b2-b057-47bc-b2fe-eb13fd37d956, port_id None to router 36c30a47-88cd-4887-94cc-baacb0f45f3b 2025-10-27 15:29:49,198 - INFO - Waiting for VM ctest-vn1-vm1-72150106 to be up.. 2025-10-27 15:29:49,319 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 15:29:54,415 - DEBUG - VM is in ACTIVE state now 2025-10-27 15:29:54,415 - INFO - VM name : ctest-vn1-vm1-72150106 2025-10-27 15:29:54,500 - DEBUG - VM ctest-vn1-vm1-72150106 ID is f0a3c1b3-7bde-4db6-9f9e-649feff16ee3 2025-10-27 15:29:54,527 - DEBUG - VM ctest-vn1-vm1-72150106 launched on Node cn-jenkins-deploy-platform-ansible-os-4508-1 2025-10-27 15:29:54,609 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f0a3c1b3-7bde-4db6-9f9e-649feff16ee3 2025-10-27 15:29:54,906 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f0a3c1b3-7bde-4db6-9f9e-649feff16ee3 2025-10-27 15:29:54,945 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/32a41d4e-1e9c-4bb7-a739-ce68672773f7 2025-10-27 15:29:58,189 - 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 1001ms') 2025-10-27 15:29:58,189 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72150106 failed! 2025-10-27 15:29:58,248 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-27110887:ctest-vn1-30833881 is 162.76.41.65 and allocation pool is NOT set 2025-10-27 15:30:00,316 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.47 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 = 1.470/3.086/4.703/1.616 ms') 2025-10-27 15:30:00,316 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72150106 passed 2025-10-27 15:30:00,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:30:00,468 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72150106, IP 162.76.41.67, Port 22 2025-10-27 15:30:00,624 - DEBUG - VM ctest-vn1-vm1-72150106 is ready for SSH connections 2025-10-27 15:30:00,624 - INFO - Waiting for VM ctest-vn2-vm1-72665413 to be up.. 2025-10-27 15:30:00,714 - DEBUG - VM is in ACTIVE state now 2025-10-27 15:30:00,714 - INFO - VM name : ctest-vn2-vm1-72665413 2025-10-27 15:30:00,795 - DEBUG - VM ctest-vn2-vm1-72665413 ID is 3e120647-aade-41cc-b2a6-12e55282f1fc 2025-10-27 15:30:00,795 - DEBUG - VM ctest-vn2-vm1-72665413 launched on Node cn-jenkins-deploy-platform-ansible-os-4508-1 2025-10-27 15:30:00,890 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/3e120647-aade-41cc-b2a6-12e55282f1fc 2025-10-27 15:30:00,899 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/1960bb6e-c9d5-4cda-999c-cd12a192256e 2025-10-27 15:30:02,152 - 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=4.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.447 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.447/2.256/4.066/1.809 ms') 2025-10-27 15:30:02,153 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-72665413 passed 2025-10-27 15:30:02,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:30:02,312 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-72665413, IP 21.194.82.195, Port 22 2025-10-27 15:30:02,477 - DEBUG - VM ctest-vn2-vm1-72665413 is ready for SSH connections 2025-10-27 15:30:02,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:30:02,478 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.194.82.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 15:30:02,478 - DEBUG - ping -s 56 -c 3 -W 1 21.194.82.195 2025-10-27 15:30:07,561 - DEBUG - PING 21.194.82.195 (21.194.82.195): 56 data bytes --- 21.194.82.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 15:30:07,561 - WARNING - Ping to IP 21.194.82.195 from VM ctest-vn1-vm1-72150106 failed 2025-10-27 15:30:07,561 - INFO - Adding interface with subnet_id acb7f404-4625-4e2a-b3c3-fa3ee712435d, port_id None to router 36c30a47-88cd-4887-94cc-baacb0f45f3b 2025-10-27 15:30:07,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:30:07,829 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.194.82.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 15:30:07,829 - DEBUG - ping -s 56 -c 3 -W 1 21.194.82.195 2025-10-27 15:30:11,048 - DEBUG - PING 21.194.82.195 (21.194.82.195): 56 data bytes 64 bytes from 21.194.82.195: seq=1 ttl=63 time=3.039 ms 64 bytes from 21.194.82.195: seq=2 ttl=63 time=1.533 ms --- 21.194.82.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.533/2.286/3.039 ms 2025-10-27 15:30:11,048 - WARNING - Ping to IP 21.194.82.195 from VM ctest-vn1-vm1-72150106 failed 2025-10-27 15:30:12,049 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.194.82.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 15:30:12,049 - DEBUG - ping -s 56 -c 3 -W 1 21.194.82.195 2025-10-27 15:30:14,271 - DEBUG - PING 21.194.82.195 (21.194.82.195): 56 data bytes 64 bytes from 21.194.82.195: seq=0 ttl=63 time=2.364 ms 64 bytes from 21.194.82.195: seq=1 ttl=63 time=1.190 ms 64 bytes from 21.194.82.195: seq=2 ttl=63 time=1.227 ms --- 21.194.82.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.190/1.593/2.364 ms 2025-10-27 15:30:14,271 - INFO - Ping to IP 21.194.82.195 from VM ctest-vn1-vm1-72150106 passed 2025-10-27 15:30:14,272 - INFO - Deleting interface with subnet_id 2b9e49b2-b057-47bc-b2fe-eb13fd37d956, port_id None from router 36c30a47-88cd-4887-94cc-baacb0f45f3b 2025-10-27 15:30:14,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:30:14,413 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.194.82.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 15:30:14,413 - DEBUG - ping -s 56 -c 3 -W 1 21.194.82.195 2025-10-27 15:30:17,628 - DEBUG - PING 21.194.82.195 (21.194.82.195): 56 data bytes --- 21.194.82.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 15:30:17,628 - WARNING - Ping to IP 21.194.82.195 from VM ctest-vn1-vm1-72150106 failed 2025-10-27 15:30:17,628 - INFO - Adding interface with subnet_id 2b9e49b2-b057-47bc-b2fe-eb13fd37d956, port_id None to router 36c30a47-88cd-4887-94cc-baacb0f45f3b 2025-10-27 15:30:17,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 15:30:17,917 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.194.82.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 15:30:17,917 - DEBUG - ping -s 56 -c 3 -W 1 21.194.82.195 2025-10-27 15:30:20,154 - DEBUG - PING 21.194.82.195 (21.194.82.195): 56 data bytes 64 bytes from 21.194.82.195: seq=0 ttl=63 time=1.900 ms 64 bytes from 21.194.82.195: seq=1 ttl=63 time=1.203 ms 64 bytes from 21.194.82.195: seq=2 ttl=63 time=0.994 ms --- 21.194.82.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.994/1.365/1.900 ms 2025-10-27 15:30:20,154 - INFO - Ping to IP 21.194.82.195 from VM ctest-vn1-vm1-72150106 passed 2025-10-27 15:30:20,154 - INFO - Deleting interface with subnet_id acb7f404-4625-4e2a-b3c3-fa3ee712435d, port_id None from router 36c30a47-88cd-4887-94cc-baacb0f45f3b 2025-10-27 15:30:20,293 - INFO - Deleting interface with subnet_id 2b9e49b2-b057-47bc-b2fe-eb13fd37d956, port_id None from router 36c30a47-88cd-4887-94cc-baacb0f45f3b 2025-10-27 15:30:20,510 - INFO - Deleting VM ctest-vn2-vm1-72665413 2025-10-27 15:30:20,607 - INFO - Deleting VM ctest-vn1-vm1-72150106 2025-10-27 15:30:20,701 - INFO - Deleting VN ctest-vn2-41667427 2025-10-27 15:30:20,741 - DEBUG - VN 0bc2f305-e92c-4c01-8ecf-2e9e0f29e6cd still in use: Unable to complete operation on network 0bc2f305-e92c-4c01-8ecf-2e9e0f29e6cd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee6815c5-d5da-4182-aa9c-20e9598ac5d8'] 2025-10-27 15:30:20,741 - WARNING - Deleting VN ctest-vn2-41667427 failed..Will retry 2025-10-27 15:30:22,861 - DEBUG - Response for deleting network () 2025-10-27 15:30:22,861 - INFO - Deleting VN ctest-vn1-30833881 2025-10-27 15:30:22,969 - DEBUG - Response for deleting network () 2025-10-27 15:30:23,225 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 15:30:23,226 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-10-27 15:30:23,226 - INFO - -------------------------------------------------------------------------------- 2025-10-27 15:30:23,946 - INFO - Deleted project: ctest-TestRouters-27110887, ID : 46f39d81-e63e-4379-b1eb-2ad2b041bae0