2025-10-09 19:15:32,779 - INFO - Domain Default found not creating 2025-10-09 19:15:32,949 - INFO - Project ctest-TestRouters-16528270 not found, creating it 2025-10-09 19:15:33,416 - INFO - Created Project:ctest-TestRouters-16528270, ID : a16162af-9642-4cc9-b996-95c728459a94 2025-10-09 19:15:34,878 - INFO - ================================================================================ 2025-10-09 19:15:34,878 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-09 19:15:34,878 - 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-09 19:15:35,136 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-10-09 19:15:35,136 - INFO - Initial checks done. Running the testcase now 2025-10-09 19:15:35,136 - INFO - 2025-10-09 19:15:35,689 - DEBUG - Response for create_network : {'network': {'id': '63616fe7-7f45-4367-85d5-930a4e206948', 'name': 'ctest-vn1-75454084', 'tenant_id': 'a16162af96424cc9b99695c728459a94', 'project_id': 'a16162af96424cc9b99695c728459a94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-16528270', 'ctest-vn1-75454084'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 19:15:35,876 - DEBUG - Response for create_subnet : {'subnet': {'id': '72220588-091b-4534-9530-155c2b045f82', 'name': '', 'tenant_id': 'a16162af96424cc9b99695c728459a94', 'network_id': '63616fe7-7f45-4367-85d5-930a4e206948', 'ip_version': 4, 'cidr': '65.199.216.128/26', 'allocation_pools': [{'start': '65.199.216.130', 'end': '65.199.216.190'}], 'gateway_ip': '65.199.216.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.199.216.130', 'tags': [], 'project_id': 'a16162af96424cc9b99695c728459a94'}} 2025-10-09 19:15:35,891 - INFO - Created VN ctest-vn1-75454084 2025-10-09 19:15:35,943 - DEBUG - VN ctest-vn1-75454084 UUID is 63616fe7-7f45-4367-85d5-930a4e206948 2025-10-09 19:15:36,286 - DEBUG - Response for create_network : {'network': {'id': 'ee482b27-9fa2-4578-90d2-58dad0a40a49', 'name': 'ctest-vn2-26385340', 'tenant_id': 'a16162af96424cc9b99695c728459a94', 'project_id': 'a16162af96424cc9b99695c728459a94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-16528270', 'ctest-vn2-26385340'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 19:15:36,469 - DEBUG - Response for create_subnet : {'subnet': {'id': '6886a245-f17c-457f-863b-774a08bbc67c', 'name': '', 'tenant_id': 'a16162af96424cc9b99695c728459a94', 'network_id': 'ee482b27-9fa2-4578-90d2-58dad0a40a49', 'ip_version': 4, 'cidr': '81.220.186.64/26', 'allocation_pools': [{'start': '81.220.186.66', 'end': '81.220.186.126'}], 'gateway_ip': '81.220.186.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.220.186.66', 'tags': [], 'project_id': 'a16162af96424cc9b99695c728459a94'}} 2025-10-09 19:15:36,488 - INFO - Created VN ctest-vn2-26385340 2025-10-09 19:15:36,543 - DEBUG - VN ctest-vn2-26385340 UUID is ee482b27-9fa2-4578-90d2-58dad0a40a49 2025-10-09 19:15:36,750 - DEBUG - Services list from nova: [, , ] 2025-10-09 19:15:37,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4275-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4275-1) 2025-10-09 19:15:38,999 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4275-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4275-1) 2025-10-09 19:15:39,077 - INFO - Adding interface with subnet_id 72220588-091b-4534-9530-155c2b045f82, port_id None to router 6e742083-1eb4-48e5-994b-dc27db28643e 2025-10-09 19:15:39,430 - INFO - Waiting for VM ctest-vn1-vm1-03848033 to be up.. 2025-10-09 19:15:39,532 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 19:15:44,616 - DEBUG - VM is in ACTIVE state now 2025-10-09 19:15:44,616 - INFO - VM name : ctest-vn1-vm1-03848033 2025-10-09 19:15:44,687 - DEBUG - VM ctest-vn1-vm1-03848033 ID is 4f6eab2e-9363-47de-aca5-44abc8cd5c6e 2025-10-09 19:15:44,705 - DEBUG - VM ctest-vn1-vm1-03848033 launched on Node cn-jenkins-deploy-platform-ansible-os-4275-1 2025-10-09 19:15:44,778 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/4f6eab2e-9363-47de-aca5-44abc8cd5c6e 2025-10-09 19:15:45,086 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/4f6eab2e-9363-47de-aca5-44abc8cd5c6e 2025-10-09 19:15:45,115 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/308c6281-9054-49ae-9675-15b5971f3be9 2025-10-09 19:15:48,391 - 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 1035ms') 2025-10-09 19:15:48,391 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03848033 failed! 2025-10-09 19:15:48,442 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-16528270:ctest-vn1-75454084 is 65.199.216.129 and allocation pool is NOT set 2025-10-09 19:15:50,505 - 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=2.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.437 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.437/1.672/2.907/1.235 ms') 2025-10-09 19:15:50,505 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03848033 passed 2025-10-09 19:15:50,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 19:15:50,655 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03848033, IP 65.199.216.131, Port 22 2025-10-09 19:15:50,815 - DEBUG - VM ctest-vn1-vm1-03848033 is ready for SSH connections 2025-10-09 19:15:50,815 - INFO - Waiting for VM ctest-vn2-vm1-21215528 to be up.. 2025-10-09 19:15:50,928 - DEBUG - VM is in ACTIVE state now 2025-10-09 19:15:50,928 - INFO - VM name : ctest-vn2-vm1-21215528 2025-10-09 19:15:51,051 - DEBUG - VM ctest-vn2-vm1-21215528 ID is 71eba875-a68b-40b7-97c6-1348170b5cbe 2025-10-09 19:15:51,051 - DEBUG - VM ctest-vn2-vm1-21215528 launched on Node cn-jenkins-deploy-platform-ansible-os-4275-1 2025-10-09 19:15:51,168 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/71eba875-a68b-40b7-97c6-1348170b5cbe 2025-10-09 19:15:51,181 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/fd39c7fb-2b70-4220-89ed-f7542296e204 2025-10-09 19:15:52,435 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.454 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.454/1.863/3.272/1.409 ms') 2025-10-09 19:15:52,436 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-21215528 passed 2025-10-09 19:15:52,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 19:15:52,583 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-21215528, IP 81.220.186.67, Port 22 2025-10-09 19:15:52,738 - DEBUG - VM ctest-vn2-vm1-21215528 is ready for SSH connections 2025-10-09 19:15:52,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 19:15:52,738 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.220.186.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-09 19:15:52,738 - DEBUG - ping -s 56 -c 3 -W 1 81.220.186.67 2025-10-09 19:15:57,370 - DEBUG - PING 81.220.186.67 (81.220.186.67): 56 data bytes --- 81.220.186.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 19:15:57,371 - WARNING - Ping to IP 81.220.186.67 from VM ctest-vn1-vm1-03848033 failed 2025-10-09 19:15:57,371 - INFO - Adding interface with subnet_id 6886a245-f17c-457f-863b-774a08bbc67c, port_id None to router 6e742083-1eb4-48e5-994b-dc27db28643e 2025-10-09 19:15:57,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 19:15:57,607 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.220.186.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-09 19:15:57,607 - DEBUG - ping -s 56 -c 3 -W 1 81.220.186.67 2025-10-09 19:16:00,825 - DEBUG - PING 81.220.186.67 (81.220.186.67): 56 data bytes 64 bytes from 81.220.186.67: seq=1 ttl=63 time=3.860 ms 64 bytes from 81.220.186.67: seq=2 ttl=63 time=1.029 ms --- 81.220.186.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.029/2.444/3.860 ms 2025-10-09 19:16:00,826 - WARNING - Ping to IP 81.220.186.67 from VM ctest-vn1-vm1-03848033 failed 2025-10-09 19:16:01,826 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.220.186.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-09 19:16:01,827 - DEBUG - ping -s 56 -c 3 -W 1 81.220.186.67 2025-10-09 19:16:04,040 - DEBUG - PING 81.220.186.67 (81.220.186.67): 56 data bytes 64 bytes from 81.220.186.67: seq=0 ttl=63 time=1.461 ms 64 bytes from 81.220.186.67: seq=1 ttl=63 time=0.933 ms 64 bytes from 81.220.186.67: seq=2 ttl=63 time=1.019 ms --- 81.220.186.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.933/1.137/1.461 ms 2025-10-09 19:16:04,040 - INFO - Ping to IP 81.220.186.67 from VM ctest-vn1-vm1-03848033 passed 2025-10-09 19:16:04,040 - INFO - Deleting interface with subnet_id 72220588-091b-4534-9530-155c2b045f82, port_id None from router 6e742083-1eb4-48e5-994b-dc27db28643e 2025-10-09 19:16:04,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 19:16:04,159 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.220.186.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-09 19:16:04,160 - DEBUG - ping -s 56 -c 3 -W 1 81.220.186.67 2025-10-09 19:16:07,365 - DEBUG - PING 81.220.186.67 (81.220.186.67): 56 data bytes --- 81.220.186.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 19:16:07,365 - WARNING - Ping to IP 81.220.186.67 from VM ctest-vn1-vm1-03848033 failed 2025-10-09 19:16:07,365 - INFO - Adding interface with subnet_id 72220588-091b-4534-9530-155c2b045f82, port_id None to router 6e742083-1eb4-48e5-994b-dc27db28643e 2025-10-09 19:16:07,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 19:16:07,579 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.220.186.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-09 19:16:07,579 - DEBUG - ping -s 56 -c 3 -W 1 81.220.186.67 2025-10-09 19:16:09,824 - DEBUG - PING 81.220.186.67 (81.220.186.67): 56 data bytes 64 bytes from 81.220.186.67: seq=0 ttl=63 time=1.377 ms 64 bytes from 81.220.186.67: seq=1 ttl=63 time=1.061 ms 64 bytes from 81.220.186.67: seq=2 ttl=63 time=0.893 ms --- 81.220.186.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.893/1.110/1.377 ms 2025-10-09 19:16:09,824 - INFO - Ping to IP 81.220.186.67 from VM ctest-vn1-vm1-03848033 passed 2025-10-09 19:16:09,824 - INFO - Deleting interface with subnet_id 6886a245-f17c-457f-863b-774a08bbc67c, port_id None from router 6e742083-1eb4-48e5-994b-dc27db28643e 2025-10-09 19:16:09,930 - INFO - Deleting interface with subnet_id 72220588-091b-4534-9530-155c2b045f82, port_id None from router 6e742083-1eb4-48e5-994b-dc27db28643e 2025-10-09 19:16:10,109 - INFO - Deleting VM ctest-vn2-vm1-21215528 2025-10-09 19:16:10,183 - INFO - Deleting VM ctest-vn1-vm1-03848033 2025-10-09 19:16:10,261 - INFO - Deleting VN ctest-vn2-26385340 2025-10-09 19:16:10,307 - DEBUG - VN ee482b27-9fa2-4578-90d2-58dad0a40a49 still in use: Unable to complete operation on network ee482b27-9fa2-4578-90d2-58dad0a40a49. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c93a855d-ca7b-4425-8c2b-ac1494c3b486'] 2025-10-09 19:16:10,307 - WARNING - Deleting VN ctest-vn2-26385340 failed..Will retry 2025-10-09 19:16:12,435 - DEBUG - Response for deleting network () 2025-10-09 19:16:12,435 - INFO - Deleting VN ctest-vn1-75454084 2025-10-09 19:16:12,538 - DEBUG - Response for deleting network () 2025-10-09 19:16:12,799 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 19:16:12,799 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-09 19:16:12,799 - INFO - -------------------------------------------------------------------------------- 2025-10-09 19:16:13,491 - INFO - Deleted project: ctest-TestRouters-16528270, ID : a16162af-9642-4cc9-b996-95c728459a94