2025-10-19 23:40:18,135 - INFO - Domain Default found not creating 2025-10-19 23:40:18,274 - INFO - Project ctest-TestRouters-00816436 not found, creating it 2025-10-19 23:40:18,744 - INFO - Created Project:ctest-TestRouters-00816436, ID : a8fd78ac-1fcd-4ca8-b368-9ef6dff69711 2025-10-19 23:40:20,243 - INFO - ================================================================================ 2025-10-19 23:40:20,244 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-19 23:40:20,244 - 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-19 23:40:20,495 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-19 23:40:20,495 - INFO - Initial checks done. Running the testcase now 2025-10-19 23:40:20,495 - INFO - 2025-10-19 23:40:21,040 - DEBUG - Response for create_network : {'network': {'id': '258f8c4c-1196-475e-bac9-b95d34182a4f', 'name': 'ctest-vn1-37554732', 'tenant_id': 'a8fd78ac1fcd4ca8b3689ef6dff69711', 'project_id': 'a8fd78ac1fcd4ca8b3689ef6dff69711', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-00816436', 'ctest-vn1-37554732'], 'port_security_enabled': True, 'description': ''}} 2025-10-19 23:40:21,276 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7799c5f-e708-4ce0-a698-b95c4fc7d26d', 'name': '', 'tenant_id': 'a8fd78ac1fcd4ca8b3689ef6dff69711', 'network_id': '258f8c4c-1196-475e-bac9-b95d34182a4f', 'ip_version': 4, 'cidr': '29.159.186.128/26', 'allocation_pools': [{'start': '29.159.186.130', 'end': '29.159.186.190'}], 'gateway_ip': '29.159.186.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.159.186.130', 'tags': [], 'project_id': 'a8fd78ac1fcd4ca8b3689ef6dff69711'}} 2025-10-19 23:40:21,295 - INFO - Created VN ctest-vn1-37554732 2025-10-19 23:40:21,351 - DEBUG - VN ctest-vn1-37554732 UUID is 258f8c4c-1196-475e-bac9-b95d34182a4f 2025-10-19 23:40:21,685 - DEBUG - Response for create_network : {'network': {'id': '26b3d1bc-f2fb-4487-ae96-db28f1ab2cdb', 'name': 'ctest-vn2-22514541', 'tenant_id': 'a8fd78ac1fcd4ca8b3689ef6dff69711', 'project_id': 'a8fd78ac1fcd4ca8b3689ef6dff69711', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-00816436', 'ctest-vn2-22514541'], 'port_security_enabled': True, 'description': ''}} 2025-10-19 23:40:21,848 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a966118d-2ea6-47c8-bc95-31464efcc253', 'name': '', 'tenant_id': 'a8fd78ac1fcd4ca8b3689ef6dff69711', 'network_id': '26b3d1bc-f2fb-4487-ae96-db28f1ab2cdb', 'ip_version': 4, 'cidr': '46.15.22.192/26', 'allocation_pools': [{'start': '46.15.22.194', 'end': '46.15.22.254'}], 'gateway_ip': '46.15.22.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.15.22.194', 'tags': [], 'project_id': 'a8fd78ac1fcd4ca8b3689ef6dff69711'}} 2025-10-19 23:40:21,872 - INFO - Created VN ctest-vn2-22514541 2025-10-19 23:40:21,927 - DEBUG - VN ctest-vn2-22514541 UUID is 26b3d1bc-f2fb-4487-ae96-db28f1ab2cdb 2025-10-19 23:40:22,083 - DEBUG - Services list from nova: [, , ] 2025-10-19 23:40:23,181 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4366-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4366-1) 2025-10-19 23:40:24,322 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4366-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4366-1) 2025-10-19 23:40:24,386 - INFO - Adding interface with subnet_id f7799c5f-e708-4ce0-a698-b95c4fc7d26d, port_id None to router e70fee53-567f-4fef-a577-ec5c3aaadd58 2025-10-19 23:40:24,637 - INFO - Waiting for VM ctest-vn1-vm1-34828774 to be up.. 2025-10-19 23:40:24,727 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-19 23:40:29,795 - DEBUG - VM is in ACTIVE state now 2025-10-19 23:40:29,795 - INFO - VM name : ctest-vn1-vm1-34828774 2025-10-19 23:40:29,869 - DEBUG - VM ctest-vn1-vm1-34828774 ID is cc0c50b4-2f8c-4491-935b-422ab3e1078c 2025-10-19 23:40:29,887 - DEBUG - VM ctest-vn1-vm1-34828774 launched on Node cn-jenkins-deploy-platform-ansible-os-4366-1 2025-10-19 23:40:29,955 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cc0c50b4-2f8c-4491-935b-422ab3e1078c 2025-10-19 23:40:30,343 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cc0c50b4-2f8c-4491-935b-422ab3e1078c 2025-10-19 23:40:30,373 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/00dc83de-2fe7-43c0-bf93-2efcec9f5e82 2025-10-19 23:40:33,613 - 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 1008ms') 2025-10-19 23:40:33,613 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34828774 failed! 2025-10-19 23:40:33,671 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-00816436:ctest-vn1-37554732 is 29.159.186.129 and allocation pool is NOT set 2025-10-19 23:40:35,729 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.446 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.446/2.081/3.717/1.635 ms') 2025-10-19 23:40:35,729 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34828774 passed 2025-10-19 23:40:35,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 23:40:35,875 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-34828774, IP 29.159.186.131, Port 22 2025-10-19 23:40:36,030 - DEBUG - VM ctest-vn1-vm1-34828774 is ready for SSH connections 2025-10-19 23:40:36,030 - INFO - Waiting for VM ctest-vn2-vm1-01109584 to be up.. 2025-10-19 23:40:36,103 - DEBUG - VM is in ACTIVE state now 2025-10-19 23:40:36,103 - INFO - VM name : ctest-vn2-vm1-01109584 2025-10-19 23:40:36,168 - DEBUG - VM ctest-vn2-vm1-01109584 ID is e2f35373-49a5-4241-9fc8-07a9fd039ce4 2025-10-19 23:40:36,168 - DEBUG - VM ctest-vn2-vm1-01109584 launched on Node cn-jenkins-deploy-platform-ansible-os-4366-1 2025-10-19 23:40:36,237 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e2f35373-49a5-4241-9fc8-07a9fd039ce4 2025-10-19 23:40:36,247 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fd0a5130-7cc3-4ea5-99b2-cab1fd221f33 2025-10-19 23:40:37,488 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.389 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.389/1.687/2.985/1.298 ms') 2025-10-19 23:40:37,488 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-01109584 passed 2025-10-19 23:40:37,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 23:40:37,639 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-01109584, IP 46.15.22.195, Port 22 2025-10-19 23:40:37,794 - DEBUG - VM ctest-vn2-vm1-01109584 is ready for SSH connections 2025-10-19 23:40:37,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 23:40:37,794 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.15.22.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-19 23:40:37,794 - DEBUG - ping -s 56 -c 3 -W 1 46.15.22.195 2025-10-19 23:40:42,973 - DEBUG - PING 46.15.22.195 (46.15.22.195): 56 data bytes --- 46.15.22.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-19 23:40:42,973 - WARNING - Ping to IP 46.15.22.195 from VM ctest-vn1-vm1-34828774 failed 2025-10-19 23:40:42,973 - INFO - Adding interface with subnet_id a966118d-2ea6-47c8-bc95-31464efcc253, port_id None to router e70fee53-567f-4fef-a577-ec5c3aaadd58 2025-10-19 23:40:43,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 23:40:43,223 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.15.22.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-19 23:40:43,223 - DEBUG - ping -s 56 -c 3 -W 1 46.15.22.195 2025-10-19 23:40:46,427 - DEBUG - PING 46.15.22.195 (46.15.22.195): 56 data bytes 64 bytes from 46.15.22.195: seq=1 ttl=63 time=2.649 ms 64 bytes from 46.15.22.195: seq=2 ttl=63 time=0.753 ms --- 46.15.22.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.753/1.701/2.649 ms 2025-10-19 23:40:46,427 - WARNING - Ping to IP 46.15.22.195 from VM ctest-vn1-vm1-34828774 failed 2025-10-19 23:40:47,428 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.15.22.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-19 23:40:47,429 - DEBUG - ping -s 56 -c 3 -W 1 46.15.22.195 2025-10-19 23:40:49,629 - DEBUG - PING 46.15.22.195 (46.15.22.195): 56 data bytes 64 bytes from 46.15.22.195: seq=0 ttl=63 time=1.199 ms 64 bytes from 46.15.22.195: seq=1 ttl=63 time=1.110 ms 64 bytes from 46.15.22.195: seq=2 ttl=63 time=0.801 ms --- 46.15.22.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.801/1.036/1.199 ms 2025-10-19 23:40:49,630 - INFO - Ping to IP 46.15.22.195 from VM ctest-vn1-vm1-34828774 passed 2025-10-19 23:40:49,630 - INFO - Deleting interface with subnet_id f7799c5f-e708-4ce0-a698-b95c4fc7d26d, port_id None from router e70fee53-567f-4fef-a577-ec5c3aaadd58 2025-10-19 23:40:49,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 23:40:49,748 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.15.22.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-19 23:40:49,748 - DEBUG - ping -s 56 -c 3 -W 1 46.15.22.195 2025-10-19 23:40:52,956 - DEBUG - PING 46.15.22.195 (46.15.22.195): 56 data bytes --- 46.15.22.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-19 23:40:52,956 - WARNING - Ping to IP 46.15.22.195 from VM ctest-vn1-vm1-34828774 failed 2025-10-19 23:40:52,956 - INFO - Adding interface with subnet_id f7799c5f-e708-4ce0-a698-b95c4fc7d26d, port_id None to router e70fee53-567f-4fef-a577-ec5c3aaadd58 2025-10-19 23:40:53,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 23:40:53,164 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.15.22.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-19 23:40:53,164 - DEBUG - ping -s 56 -c 3 -W 1 46.15.22.195 2025-10-19 23:40:55,380 - DEBUG - PING 46.15.22.195 (46.15.22.195): 56 data bytes 64 bytes from 46.15.22.195: seq=0 ttl=63 time=1.797 ms 64 bytes from 46.15.22.195: seq=1 ttl=63 time=0.875 ms 64 bytes from 46.15.22.195: seq=2 ttl=63 time=0.885 ms --- 46.15.22.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.875/1.185/1.797 ms 2025-10-19 23:40:55,381 - INFO - Ping to IP 46.15.22.195 from VM ctest-vn1-vm1-34828774 passed 2025-10-19 23:40:55,381 - INFO - Deleting interface with subnet_id a966118d-2ea6-47c8-bc95-31464efcc253, port_id None from router e70fee53-567f-4fef-a577-ec5c3aaadd58 2025-10-19 23:40:55,510 - INFO - Deleting interface with subnet_id f7799c5f-e708-4ce0-a698-b95c4fc7d26d, port_id None from router e70fee53-567f-4fef-a577-ec5c3aaadd58 2025-10-19 23:40:55,695 - INFO - Deleting VM ctest-vn2-vm1-01109584 2025-10-19 23:40:55,769 - INFO - Deleting VM ctest-vn1-vm1-34828774 2025-10-19 23:40:55,840 - INFO - Deleting VN ctest-vn2-22514541 2025-10-19 23:40:55,872 - DEBUG - VN 26b3d1bc-f2fb-4487-ae96-db28f1ab2cdb still in use: Unable to complete operation on network 26b3d1bc-f2fb-4487-ae96-db28f1ab2cdb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2f9e6229-365c-44be-952b-f30cde677c5a'] 2025-10-19 23:40:55,872 - WARNING - Deleting VN ctest-vn2-22514541 failed..Will retry 2025-10-19 23:40:57,968 - DEBUG - Response for deleting network () 2025-10-19 23:40:57,968 - INFO - Deleting VN ctest-vn1-37554732 2025-10-19 23:40:58,070 - DEBUG - Response for deleting network () 2025-10-19 23:40:58,327 - DEBUG - No XMPP flaps were noticed during the test 2025-10-19 23:40:58,328 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-19 23:40:58,328 - INFO - -------------------------------------------------------------------------------- 2025-10-19 23:40:59,004 - INFO - Deleted project: ctest-TestRouters-00816436, ID : a8fd78ac-1fcd-4ca8-b368-9ef6dff69711