2025-10-27 20:06:28,834 - INFO - Domain Default found not creating 2025-10-27 20:06:28,973 - INFO - Project ctest-TestRouters-14192344 not found, creating it 2025-10-27 20:06:29,422 - INFO - Created Project:ctest-TestRouters-14192344, ID : 5f648ab9-b676-4a16-9cdd-ea59d3936436 2025-10-27 20:06:30,950 - INFO - ================================================================================ 2025-10-27 20:06:30,950 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-27 20:06:30,951 - 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:06:31,203 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-27 20:06:31,203 - INFO - Initial checks done. Running the testcase now 2025-10-27 20:06:31,203 - INFO - 2025-10-27 20:06:31,768 - DEBUG - Response for create_network : {'network': {'id': '3e75505f-4f92-4921-b630-eae9de85b74f', 'name': 'ctest-vn1-19213724', 'tenant_id': '5f648ab9b6764a169cddea59d3936436', 'project_id': '5f648ab9b6764a169cddea59d3936436', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-14192344', 'ctest-vn1-19213724'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:06:31,964 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5e09a43-e032-4329-9643-9522560640e8', 'name': '', 'tenant_id': '5f648ab9b6764a169cddea59d3936436', 'network_id': '3e75505f-4f92-4921-b630-eae9de85b74f', 'ip_version': 4, 'cidr': '48.165.30.128/26', 'allocation_pools': [{'start': '48.165.30.130', 'end': '48.165.30.190'}], 'gateway_ip': '48.165.30.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.165.30.130', 'tags': [], 'project_id': '5f648ab9b6764a169cddea59d3936436'}} 2025-10-27 20:06:31,982 - INFO - Created VN ctest-vn1-19213724 2025-10-27 20:06:32,037 - DEBUG - VN ctest-vn1-19213724 UUID is 3e75505f-4f92-4921-b630-eae9de85b74f 2025-10-27 20:06:32,381 - DEBUG - Response for create_network : {'network': {'id': '586afea3-a593-4fa2-a5ab-8ac3ece1d6ef', 'name': 'ctest-vn2-72129446', 'tenant_id': '5f648ab9b6764a169cddea59d3936436', 'project_id': '5f648ab9b6764a169cddea59d3936436', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-14192344', 'ctest-vn2-72129446'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:06:32,603 - DEBUG - Response for create_subnet : {'subnet': {'id': '61687e44-3ebd-4cfa-855e-814b32d29b52', 'name': '', 'tenant_id': '5f648ab9b6764a169cddea59d3936436', 'network_id': '586afea3-a593-4fa2-a5ab-8ac3ece1d6ef', 'ip_version': 4, 'cidr': '192.64.202.64/26', 'allocation_pools': [{'start': '192.64.202.66', 'end': '192.64.202.126'}], 'gateway_ip': '192.64.202.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.64.202.66', 'tags': [], 'project_id': '5f648ab9b6764a169cddea59d3936436'}} 2025-10-27 20:06:32,630 - INFO - Created VN ctest-vn2-72129446 2025-10-27 20:06:32,689 - DEBUG - VN ctest-vn2-72129446 UUID is 586afea3-a593-4fa2-a5ab-8ac3ece1d6ef 2025-10-27 20:06:32,917 - DEBUG - Services list from nova: [, , ] 2025-10-27 20:06:33,975 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4510-1) 2025-10-27 20:06:35,230 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4510-1) 2025-10-27 20:06:35,308 - INFO - Adding interface with subnet_id d5e09a43-e032-4329-9643-9522560640e8, port_id None to router 281ede33-7f49-4569-b0e9-c9bca2f79a15 2025-10-27 20:06:35,590 - INFO - Waiting for VM ctest-vn1-vm1-06314170 to be up.. 2025-10-27 20:06:35,717 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 20:06:40,795 - DEBUG - VM is in ACTIVE state now 2025-10-27 20:06:40,796 - INFO - VM name : ctest-vn1-vm1-06314170 2025-10-27 20:06:40,879 - DEBUG - VM ctest-vn1-vm1-06314170 ID is 5c4e39c2-9553-42a5-a864-342cab0c5038 2025-10-27 20:06:40,904 - DEBUG - VM ctest-vn1-vm1-06314170 launched on Node cn-jenkins-deploy-platform-ansible-os-4510-1 2025-10-27 20:06:40,988 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/5c4e39c2-9553-42a5-a864-342cab0c5038 2025-10-27 20:06:41,302 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/5c4e39c2-9553-42a5-a864-342cab0c5038 2025-10-27 20:06:41,339 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/517abcc0-4f21-423b-af37-52a4f46b5c7b 2025-10-27 20:06:44,610 - 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 1026ms') 2025-10-27 20:06:44,610 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06314170 failed! 2025-10-27 20:06:44,665 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-14192344:ctest-vn1-19213724 is 48.165.30.129 and allocation pool is NOT set 2025-10-27 20:06:46,730 - 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=8.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.629 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.629/4.489/8.350/3.860 ms') 2025-10-27 20:06:46,730 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06314170 passed 2025-10-27 20:06:46,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:06:46,881 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06314170, IP 48.165.30.131, Port 22 2025-10-27 20:06:47,045 - DEBUG - VM ctest-vn1-vm1-06314170 is ready for SSH connections 2025-10-27 20:06:47,045 - INFO - Waiting for VM ctest-vn2-vm1-29843097 to be up.. 2025-10-27 20:06:47,120 - DEBUG - VM is in ACTIVE state now 2025-10-27 20:06:47,120 - INFO - VM name : ctest-vn2-vm1-29843097 2025-10-27 20:06:47,212 - DEBUG - VM ctest-vn2-vm1-29843097 ID is 79e99695-c472-4f38-9536-8dfcdbf0f74c 2025-10-27 20:06:47,212 - DEBUG - VM ctest-vn2-vm1-29843097 launched on Node cn-jenkins-deploy-platform-ansible-os-4510-1 2025-10-27 20:06:47,301 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/79e99695-c472-4f38-9536-8dfcdbf0f74c 2025-10-27 20:06:47,311 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/4b528698-d260-4b22-9e4a-4923a288d894 2025-10-27 20:06:48,560 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 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.428/1.787/3.146/1.359 ms') 2025-10-27 20:06:48,560 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-29843097 passed 2025-10-27 20:06:48,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:06:48,714 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-29843097, IP 192.64.202.67, Port 22 2025-10-27 20:06:48,869 - DEBUG - VM ctest-vn2-vm1-29843097 is ready for SSH connections 2025-10-27 20:06:48,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:06:48,869 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.64.202.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 20:06:48,869 - DEBUG - ping -s 56 -c 3 -W 1 192.64.202.67 2025-10-27 20:06:53,878 - DEBUG - PING 192.64.202.67 (192.64.202.67): 56 data bytes --- 192.64.202.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 20:06:53,878 - WARNING - Ping to IP 192.64.202.67 from VM ctest-vn1-vm1-06314170 failed 2025-10-27 20:06:53,878 - INFO - Adding interface with subnet_id 61687e44-3ebd-4cfa-855e-814b32d29b52, port_id None to router 281ede33-7f49-4569-b0e9-c9bca2f79a15 2025-10-27 20:06:54,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:06:54,141 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.64.202.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 20:06:54,141 - DEBUG - ping -s 56 -c 3 -W 1 192.64.202.67 2025-10-27 20:06:57,370 - DEBUG - PING 192.64.202.67 (192.64.202.67): 56 data bytes 64 bytes from 192.64.202.67: seq=1 ttl=63 time=3.220 ms 64 bytes from 192.64.202.67: seq=2 ttl=63 time=1.161 ms --- 192.64.202.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.161/2.190/3.220 ms 2025-10-27 20:06:57,370 - WARNING - Ping to IP 192.64.202.67 from VM ctest-vn1-vm1-06314170 failed 2025-10-27 20:06:58,371 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.64.202.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 20:06:58,372 - DEBUG - ping -s 56 -c 3 -W 1 192.64.202.67 2025-10-27 20:07:00,573 - DEBUG - PING 192.64.202.67 (192.64.202.67): 56 data bytes 64 bytes from 192.64.202.67: seq=0 ttl=63 time=1.472 ms 64 bytes from 192.64.202.67: seq=1 ttl=63 time=0.865 ms 64 bytes from 192.64.202.67: seq=2 ttl=63 time=0.719 ms --- 192.64.202.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.719/1.018/1.472 ms 2025-10-27 20:07:00,573 - INFO - Ping to IP 192.64.202.67 from VM ctest-vn1-vm1-06314170 passed 2025-10-27 20:07:00,573 - INFO - Deleting interface with subnet_id d5e09a43-e032-4329-9643-9522560640e8, port_id None from router 281ede33-7f49-4569-b0e9-c9bca2f79a15 2025-10-27 20:07:00,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:07:00,688 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.64.202.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 20:07:00,688 - DEBUG - ping -s 56 -c 3 -W 1 192.64.202.67 2025-10-27 20:07:03,902 - DEBUG - PING 192.64.202.67 (192.64.202.67): 56 data bytes --- 192.64.202.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 20:07:03,903 - WARNING - Ping to IP 192.64.202.67 from VM ctest-vn1-vm1-06314170 failed 2025-10-27 20:07:03,903 - INFO - Adding interface with subnet_id d5e09a43-e032-4329-9643-9522560640e8, port_id None to router 281ede33-7f49-4569-b0e9-c9bca2f79a15 2025-10-27 20:07:04,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:07:04,097 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.64.202.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 20:07:04,097 - DEBUG - ping -s 56 -c 3 -W 1 192.64.202.67 2025-10-27 20:07:06,314 - DEBUG - PING 192.64.202.67 (192.64.202.67): 56 data bytes 64 bytes from 192.64.202.67: seq=0 ttl=63 time=1.555 ms 64 bytes from 192.64.202.67: seq=1 ttl=63 time=0.834 ms 64 bytes from 192.64.202.67: seq=2 ttl=63 time=0.835 ms --- 192.64.202.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/1.074/1.555 ms 2025-10-27 20:07:06,314 - INFO - Ping to IP 192.64.202.67 from VM ctest-vn1-vm1-06314170 passed 2025-10-27 20:07:06,314 - INFO - Deleting interface with subnet_id 61687e44-3ebd-4cfa-855e-814b32d29b52, port_id None from router 281ede33-7f49-4569-b0e9-c9bca2f79a15 2025-10-27 20:07:06,438 - INFO - Deleting interface with subnet_id d5e09a43-e032-4329-9643-9522560640e8, port_id None from router 281ede33-7f49-4569-b0e9-c9bca2f79a15 2025-10-27 20:07:06,611 - INFO - Deleting VM ctest-vn2-vm1-29843097 2025-10-27 20:07:06,693 - INFO - Deleting VM ctest-vn1-vm1-06314170 2025-10-27 20:07:06,768 - INFO - Deleting VN ctest-vn2-72129446 2025-10-27 20:07:06,802 - DEBUG - VN 586afea3-a593-4fa2-a5ab-8ac3ece1d6ef still in use: Unable to complete operation on network 586afea3-a593-4fa2-a5ab-8ac3ece1d6ef. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3b3f261c-10f3-48e7-85d0-446857865bd2'] 2025-10-27 20:07:06,802 - WARNING - Deleting VN ctest-vn2-72129446 failed..Will retry 2025-10-27 20:07:08,903 - DEBUG - Response for deleting network () 2025-10-27 20:07:08,903 - INFO - Deleting VN ctest-vn1-19213724 2025-10-27 20:07:08,997 - DEBUG - Response for deleting network () 2025-10-27 20:07:09,269 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 20:07:09,269 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-10-27 20:07:09,269 - INFO - -------------------------------------------------------------------------------- 2025-10-27 20:07:09,945 - INFO - Deleted project: ctest-TestRouters-14192344, ID : 5f648ab9-b676-4a16-9cdd-ea59d3936436