2025-09-25 01:48:24,272 - INFO - Domain Default found not creating 2025-09-25 01:48:24,405 - INFO - Project ctest-TestRouters-87197801 not found, creating it 2025-09-25 01:48:24,954 - INFO - Created Project:ctest-TestRouters-87197801, ID : f55d830f-f308-4cdd-830a-c634c93e7ba6 2025-09-25 01:48:26,500 - INFO - ================================================================================ 2025-09-25 01:48:26,500 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-25 01:48:26,500 - 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-09-25 01:48:26,751 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-09-25 01:48:26,751 - INFO - Initial checks done. Running the testcase now 2025-09-25 01:48:26,751 - INFO - 2025-09-25 01:48:27,324 - DEBUG - Response for create_network : {'network': {'id': 'c67e0dec-36b7-45bd-b08e-f80c6aee1ba6', 'name': 'ctest-vn1-12151802', 'tenant_id': 'f55d830ff3084cdd830ac634c93e7ba6', 'project_id': 'f55d830ff3084cdd830ac634c93e7ba6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-87197801', 'ctest-vn1-12151802'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 01:48:27,487 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd18c54b1-5d31-4f39-b9f4-10e5b044e530', 'name': '', 'tenant_id': 'f55d830ff3084cdd830ac634c93e7ba6', 'network_id': 'c67e0dec-36b7-45bd-b08e-f80c6aee1ba6', 'ip_version': 4, 'cidr': '6.200.102.0/26', 'allocation_pools': [{'start': '6.200.102.2', 'end': '6.200.102.62'}], 'gateway_ip': '6.200.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.200.102.2', 'tags': [], 'project_id': 'f55d830ff3084cdd830ac634c93e7ba6'}} 2025-09-25 01:48:27,505 - INFO - Created VN ctest-vn1-12151802 2025-09-25 01:48:27,559 - DEBUG - VN ctest-vn1-12151802 UUID is c67e0dec-36b7-45bd-b08e-f80c6aee1ba6 2025-09-25 01:48:27,900 - DEBUG - Response for create_network : {'network': {'id': 'b931fd4e-f60c-4d12-b47f-ee9ee6bd5be0', 'name': 'ctest-vn2-65760430', 'tenant_id': 'f55d830ff3084cdd830ac634c93e7ba6', 'project_id': 'f55d830ff3084cdd830ac634c93e7ba6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-87197801', 'ctest-vn2-65760430'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 01:48:28,098 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd80272eb-7e85-48d8-aacf-6ea19c8b9b79', 'name': '', 'tenant_id': 'f55d830ff3084cdd830ac634c93e7ba6', 'network_id': 'b931fd4e-f60c-4d12-b47f-ee9ee6bd5be0', 'ip_version': 4, 'cidr': '134.226.61.192/26', 'allocation_pools': [{'start': '134.226.61.194', 'end': '134.226.61.254'}], 'gateway_ip': '134.226.61.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.226.61.194', 'tags': [], 'project_id': 'f55d830ff3084cdd830ac634c93e7ba6'}} 2025-09-25 01:48:28,123 - INFO - Created VN ctest-vn2-65760430 2025-09-25 01:48:28,175 - DEBUG - VN ctest-vn2-65760430 UUID is b931fd4e-f60c-4d12-b47f-ee9ee6bd5be0 2025-09-25 01:48:28,372 - DEBUG - Services list from nova: [, , ] 2025-09-25 01:48:29,445 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4187-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4187-1) 2025-09-25 01:48:30,732 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4187-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4187-1) 2025-09-25 01:48:30,819 - INFO - Adding interface with subnet_id d18c54b1-5d31-4f39-b9f4-10e5b044e530, port_id None to router 77e1ee2e-88e1-449e-9d4a-26d352ea50f4 2025-09-25 01:48:31,095 - INFO - Waiting for VM ctest-vn1-vm1-49326143 to be up.. 2025-09-25 01:48:31,189 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-25 01:48:36,260 - DEBUG - VM is in ACTIVE state now 2025-09-25 01:48:36,260 - INFO - VM name : ctest-vn1-vm1-49326143 2025-09-25 01:48:36,330 - DEBUG - VM ctest-vn1-vm1-49326143 ID is ce86b746-a514-47cf-9615-fe624b9802fb 2025-09-25 01:48:36,349 - DEBUG - VM ctest-vn1-vm1-49326143 launched on Node cn-jenkins-deploy-platform-ansible-os-4187-1 2025-09-25 01:48:36,433 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ce86b746-a514-47cf-9615-fe624b9802fb 2025-09-25 01:48:36,770 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ce86b746-a514-47cf-9615-fe624b9802fb 2025-09-25 01:48:36,799 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/05aa8131-a953-4ae0-9a0f-7d3bdfb36ce1 2025-09-25 01:48:40,031 - 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 1003ms') 2025-09-25 01:48:40,031 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49326143 failed! 2025-09-25 01:48:40,087 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-87197801:ctest-vn1-12151802 is 6.200.102.1 and allocation pool is NOT set 2025-09-25 01:48:42,152 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.506 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.506/1.770/3.035/1.264 ms') 2025-09-25 01:48:42,152 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49326143 passed 2025-09-25 01:48:42,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:48:42,303 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-49326143, IP 6.200.102.3, Port 22 2025-09-25 01:48:42,462 - DEBUG - VM ctest-vn1-vm1-49326143 is ready for SSH connections 2025-09-25 01:48:42,463 - INFO - Waiting for VM ctest-vn2-vm1-35291201 to be up.. 2025-09-25 01:48:42,534 - DEBUG - VM is in ACTIVE state now 2025-09-25 01:48:42,534 - INFO - VM name : ctest-vn2-vm1-35291201 2025-09-25 01:48:42,606 - DEBUG - VM ctest-vn2-vm1-35291201 ID is 65c44583-e8e9-48e0-9a64-399f0ea62146 2025-09-25 01:48:42,606 - DEBUG - VM ctest-vn2-vm1-35291201 launched on Node cn-jenkins-deploy-platform-ansible-os-4187-1 2025-09-25 01:48:42,679 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/65c44583-e8e9-48e0-9a64-399f0ea62146 2025-09-25 01:48:42,687 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5952f531-bcd6-4eb7-a49e-3ef70c827638 2025-09-25 01:48:43,923 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/2.006/3.598/1.592 ms') 2025-09-25 01:48:43,923 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-35291201 passed 2025-09-25 01:48:44,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:48:44,075 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-35291201, IP 134.226.61.195, Port 22 2025-09-25 01:48:44,245 - DEBUG - VM ctest-vn2-vm1-35291201 is ready for SSH connections 2025-09-25 01:48:44,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:48:44,245 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.226.61.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-25 01:48:44,245 - DEBUG - ping -s 56 -c 3 -W 1 134.226.61.195 2025-09-25 01:48:49,270 - DEBUG - PING 134.226.61.195 (134.226.61.195): 56 data bytes --- 134.226.61.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-25 01:48:49,270 - WARNING - Ping to IP 134.226.61.195 from VM ctest-vn1-vm1-49326143 failed 2025-09-25 01:48:49,270 - INFO - Adding interface with subnet_id d80272eb-7e85-48d8-aacf-6ea19c8b9b79, port_id None to router 77e1ee2e-88e1-449e-9d4a-26d352ea50f4 2025-09-25 01:48:49,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:48:49,553 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.226.61.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-25 01:48:49,553 - DEBUG - ping -s 56 -c 3 -W 1 134.226.61.195 2025-09-25 01:48:52,781 - DEBUG - PING 134.226.61.195 (134.226.61.195): 56 data bytes 64 bytes from 134.226.61.195: seq=1 ttl=63 time=2.606 ms 64 bytes from 134.226.61.195: seq=2 ttl=63 time=1.051 ms --- 134.226.61.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.051/1.828/2.606 ms 2025-09-25 01:48:52,781 - WARNING - Ping to IP 134.226.61.195 from VM ctest-vn1-vm1-49326143 failed 2025-09-25 01:48:53,782 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.226.61.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-25 01:48:53,782 - DEBUG - ping -s 56 -c 3 -W 1 134.226.61.195 2025-09-25 01:48:56,000 - DEBUG - PING 134.226.61.195 (134.226.61.195): 56 data bytes 64 bytes from 134.226.61.195: seq=0 ttl=63 time=1.388 ms 64 bytes from 134.226.61.195: seq=1 ttl=63 time=0.890 ms 64 bytes from 134.226.61.195: seq=2 ttl=63 time=0.764 ms --- 134.226.61.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.764/1.014/1.388 ms 2025-09-25 01:48:56,000 - INFO - Ping to IP 134.226.61.195 from VM ctest-vn1-vm1-49326143 passed 2025-09-25 01:48:56,000 - INFO - Deleting interface with subnet_id d18c54b1-5d31-4f39-b9f4-10e5b044e530, port_id None from router 77e1ee2e-88e1-449e-9d4a-26d352ea50f4 2025-09-25 01:48:56,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:48:56,122 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.226.61.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-25 01:48:56,122 - DEBUG - ping -s 56 -c 3 -W 1 134.226.61.195 2025-09-25 01:48:59,339 - DEBUG - PING 134.226.61.195 (134.226.61.195): 56 data bytes --- 134.226.61.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-25 01:48:59,339 - WARNING - Ping to IP 134.226.61.195 from VM ctest-vn1-vm1-49326143 failed 2025-09-25 01:48:59,339 - INFO - Adding interface with subnet_id d18c54b1-5d31-4f39-b9f4-10e5b044e530, port_id None to router 77e1ee2e-88e1-449e-9d4a-26d352ea50f4 2025-09-25 01:48:59,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:48:59,574 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.226.61.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-25 01:48:59,574 - DEBUG - ping -s 56 -c 3 -W 1 134.226.61.195 2025-09-25 01:49:01,790 - DEBUG - PING 134.226.61.195 (134.226.61.195): 56 data bytes 64 bytes from 134.226.61.195: seq=0 ttl=63 time=1.334 ms 64 bytes from 134.226.61.195: seq=1 ttl=63 time=0.928 ms 64 bytes from 134.226.61.195: seq=2 ttl=63 time=0.839 ms --- 134.226.61.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.839/1.033/1.334 ms 2025-09-25 01:49:01,790 - INFO - Ping to IP 134.226.61.195 from VM ctest-vn1-vm1-49326143 passed 2025-09-25 01:49:01,791 - INFO - Deleting interface with subnet_id d80272eb-7e85-48d8-aacf-6ea19c8b9b79, port_id None from router 77e1ee2e-88e1-449e-9d4a-26d352ea50f4 2025-09-25 01:49:01,899 - INFO - Deleting interface with subnet_id d18c54b1-5d31-4f39-b9f4-10e5b044e530, port_id None from router 77e1ee2e-88e1-449e-9d4a-26d352ea50f4 2025-09-25 01:49:02,064 - INFO - Deleting VM ctest-vn2-vm1-35291201 2025-09-25 01:49:02,142 - INFO - Deleting VM ctest-vn1-vm1-49326143 2025-09-25 01:49:02,216 - INFO - Deleting VN ctest-vn2-65760430 2025-09-25 01:49:02,249 - DEBUG - VN b931fd4e-f60c-4d12-b47f-ee9ee6bd5be0 still in use: Unable to complete operation on network b931fd4e-f60c-4d12-b47f-ee9ee6bd5be0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ceaf6f60-e11a-4e1b-a466-0c2f99544007'] 2025-09-25 01:49:02,249 - WARNING - Deleting VN ctest-vn2-65760430 failed..Will retry 2025-09-25 01:49:04,360 - DEBUG - Response for deleting network () 2025-09-25 01:49:04,360 - INFO - Deleting VN ctest-vn1-12151802 2025-09-25 01:49:04,460 - DEBUG - Response for deleting network () 2025-09-25 01:49:04,716 - DEBUG - No XMPP flaps were noticed during the test 2025-09-25 01:49:04,716 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-09-25 01:49:04,716 - INFO - -------------------------------------------------------------------------------- 2025-09-25 01:49:05,434 - INFO - Deleted project: ctest-TestRouters-87197801, ID : f55d830f-f308-4cdd-830a-c634c93e7ba6