2025-07-23 17:18:50,849 - INFO - Domain Default found not creating 2025-07-23 17:18:50,995 - INFO - Project ctest-TestRouters-30899445 not found, creating it 2025-07-23 17:18:51,468 - INFO - Created Project:ctest-TestRouters-30899445, ID : 90a5e017-85fb-44d6-815e-dec0a654eed0 2025-07-23 17:18:52,924 - INFO - ================================================================================ 2025-07-23 17:18:52,925 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-23 17:18:52,925 - 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-07-23 17:18:53,184 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.18': '0'}} with 2025-07-23 17:18:53,185 - INFO - Initial checks done. Running the testcase now 2025-07-23 17:18:53,185 - INFO - 2025-07-23 17:18:53,720 - DEBUG - Response for create_network : {'network': {'id': '9a1ef32e-84bc-4c49-a6ce-ff2b773a0f52', 'name': 'ctest-vn1-70147385', 'tenant_id': '90a5e01785fb44d6815edec0a654eed0', 'project_id': '90a5e01785fb44d6815edec0a654eed0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-30899445', 'ctest-vn1-70147385'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 17:18:53,886 - DEBUG - Response for create_subnet : {'subnet': {'id': '3242284a-1867-40f5-ac40-0eb8c57faa64', 'name': '', 'tenant_id': '90a5e01785fb44d6815edec0a654eed0', 'network_id': '9a1ef32e-84bc-4c49-a6ce-ff2b773a0f52', 'ip_version': 4, 'cidr': '189.213.163.64/26', 'allocation_pools': [{'start': '189.213.163.66', 'end': '189.213.163.126'}], 'gateway_ip': '189.213.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.213.163.66', 'tags': [], 'project_id': '90a5e01785fb44d6815edec0a654eed0'}} 2025-07-23 17:18:53,902 - INFO - Created VN ctest-vn1-70147385 2025-07-23 17:18:53,955 - DEBUG - VN ctest-vn1-70147385 UUID is 9a1ef32e-84bc-4c49-a6ce-ff2b773a0f52 2025-07-23 17:18:54,255 - DEBUG - Response for create_network : {'network': {'id': '54291648-3f8f-4907-a74c-3c799d9561b7', 'name': 'ctest-vn2-51895642', 'tenant_id': '90a5e01785fb44d6815edec0a654eed0', 'project_id': '90a5e01785fb44d6815edec0a654eed0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-30899445', 'ctest-vn2-51895642'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 17:18:54,466 - DEBUG - Response for create_subnet : {'subnet': {'id': '75c80817-33b6-4c60-8b84-2f9de4a25a70', 'name': '', 'tenant_id': '90a5e01785fb44d6815edec0a654eed0', 'network_id': '54291648-3f8f-4907-a74c-3c799d9561b7', 'ip_version': 4, 'cidr': '35.45.141.64/26', 'allocation_pools': [{'start': '35.45.141.66', 'end': '35.45.141.126'}], 'gateway_ip': '35.45.141.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.45.141.66', 'tags': [], 'project_id': '90a5e01785fb44d6815edec0a654eed0'}} 2025-07-23 17:18:54,483 - INFO - Created VN ctest-vn2-51895642 2025-07-23 17:18:54,539 - DEBUG - VN ctest-vn2-51895642 UUID is 54291648-3f8f-4907-a74c-3c799d9561b7 2025-07-23 17:18:54,698 - DEBUG - Services list from nova: [, , ] 2025-07-23 17:18:55,676 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3708-1) 2025-07-23 17:18:56,922 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3708-1) 2025-07-23 17:18:56,992 - INFO - Adding interface with subnet_id 3242284a-1867-40f5-ac40-0eb8c57faa64, port_id None to router 9d1914f7-4453-4361-9178-3df04d0947dc 2025-07-23 17:18:57,337 - INFO - Waiting for VM ctest-vn1-vm1-09889889 to be up.. 2025-07-23 17:18:57,449 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 17:19:02,520 - DEBUG - VM is in ACTIVE state now 2025-07-23 17:19:02,520 - INFO - VM name : ctest-vn1-vm1-09889889 2025-07-23 17:19:02,596 - DEBUG - VM ctest-vn1-vm1-09889889 ID is 9e5e69f7-5326-418e-a043-449a8c2e7101 2025-07-23 17:19:02,621 - DEBUG - VM ctest-vn1-vm1-09889889 launched on Node cn-jenkins-deploy-platform-ansible-os-3708-1 2025-07-23 17:19:02,693 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9e5e69f7-5326-418e-a043-449a8c2e7101 2025-07-23 17:19:02,987 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9e5e69f7-5326-418e-a043-449a8c2e7101 2025-07-23 17:19:03,019 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5df7babe-f8f0-4938-9995-d130717a138d 2025-07-23 17:19:06,296 - 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 1027ms') 2025-07-23 17:19:06,296 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09889889 failed! 2025-07-23 17:19:06,350 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-30899445:ctest-vn1-70147385 is 189.213.163.65 and allocation pool is NOT set 2025-07-23 17:19:08,411 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.832 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.832/2.528/4.225/1.696 ms') 2025-07-23 17:19:08,411 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09889889 passed 2025-07-23 17:19:08,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 17:19:08,567 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-09889889, IP 189.213.163.67, Port 22 2025-07-23 17:19:08,734 - DEBUG - VM ctest-vn1-vm1-09889889 is ready for SSH connections 2025-07-23 17:19:08,734 - INFO - Waiting for VM ctest-vn2-vm1-15121910 to be up.. 2025-07-23 17:19:08,818 - DEBUG - VM is in ACTIVE state now 2025-07-23 17:19:08,818 - INFO - VM name : ctest-vn2-vm1-15121910 2025-07-23 17:19:08,891 - DEBUG - VM ctest-vn2-vm1-15121910 ID is 0f2ffc53-d982-430f-9400-8aa4010be9f7 2025-07-23 17:19:08,891 - DEBUG - VM ctest-vn2-vm1-15121910 launched on Node cn-jenkins-deploy-platform-ansible-os-3708-1 2025-07-23 17:19:08,963 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0f2ffc53-d982-430f-9400-8aa4010be9f7 2025-07-23 17:19:08,971 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a4ffe435-2dd1-44a1-a8bd-9366b66d414b 2025-07-23 17:19:10,220 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.498 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.498/1.606/2.714/1.108 ms') 2025-07-23 17:19:10,220 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-15121910 passed 2025-07-23 17:19:10,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 17:19:10,375 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-15121910, IP 35.45.141.67, Port 22 2025-07-23 17:19:10,526 - DEBUG - VM ctest-vn2-vm1-15121910 is ready for SSH connections 2025-07-23 17:19:10,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 17:19:10,526 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.45.141.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-23 17:19:10,526 - DEBUG - ping -s 56 -c 3 -W 1 35.45.141.67 2025-07-23 17:19:15,172 - DEBUG - PING 35.45.141.67 (35.45.141.67): 56 data bytes --- 35.45.141.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 17:19:15,172 - WARNING - Ping to IP 35.45.141.67 from VM ctest-vn1-vm1-09889889 failed 2025-07-23 17:19:15,172 - INFO - Adding interface with subnet_id 75c80817-33b6-4c60-8b84-2f9de4a25a70, port_id None to router 9d1914f7-4453-4361-9178-3df04d0947dc 2025-07-23 17:19:15,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 17:19:15,461 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.45.141.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-23 17:19:15,461 - DEBUG - ping -s 56 -c 3 -W 1 35.45.141.67 2025-07-23 17:19:17,664 - DEBUG - PING 35.45.141.67 (35.45.141.67): 56 data bytes 64 bytes from 35.45.141.67: seq=0 ttl=63 time=2.446 ms 64 bytes from 35.45.141.67: seq=1 ttl=63 time=0.763 ms 64 bytes from 35.45.141.67: seq=2 ttl=63 time=0.849 ms --- 35.45.141.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.763/1.352/2.446 ms 2025-07-23 17:19:17,664 - INFO - Ping to IP 35.45.141.67 from VM ctest-vn1-vm1-09889889 passed 2025-07-23 17:19:17,665 - INFO - Deleting interface with subnet_id 3242284a-1867-40f5-ac40-0eb8c57faa64, port_id None from router 9d1914f7-4453-4361-9178-3df04d0947dc 2025-07-23 17:19:17,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 17:19:17,793 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.45.141.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-23 17:19:17,793 - DEBUG - ping -s 56 -c 3 -W 1 35.45.141.67 2025-07-23 17:19:21,028 - DEBUG - PING 35.45.141.67 (35.45.141.67): 56 data bytes --- 35.45.141.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 17:19:21,029 - WARNING - Ping to IP 35.45.141.67 from VM ctest-vn1-vm1-09889889 failed 2025-07-23 17:19:21,029 - INFO - Adding interface with subnet_id 3242284a-1867-40f5-ac40-0eb8c57faa64, port_id None to router 9d1914f7-4453-4361-9178-3df04d0947dc 2025-07-23 17:19:21,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 17:19:21,320 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.45.141.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-23 17:19:21,320 - DEBUG - ping -s 56 -c 3 -W 1 35.45.141.67 2025-07-23 17:19:24,525 - DEBUG - PING 35.45.141.67 (35.45.141.67): 56 data bytes 64 bytes from 35.45.141.67: seq=1 ttl=63 time=1.460 ms 64 bytes from 35.45.141.67: seq=2 ttl=63 time=0.717 ms --- 35.45.141.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.717/1.088/1.460 ms 2025-07-23 17:19:24,526 - WARNING - Ping to IP 35.45.141.67 from VM ctest-vn1-vm1-09889889 failed 2025-07-23 17:19:25,527 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.45.141.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-23 17:19:25,527 - DEBUG - ping -s 56 -c 3 -W 1 35.45.141.67 2025-07-23 17:19:27,728 - DEBUG - PING 35.45.141.67 (35.45.141.67): 56 data bytes 64 bytes from 35.45.141.67: seq=0 ttl=63 time=1.358 ms 64 bytes from 35.45.141.67: seq=1 ttl=63 time=0.812 ms 64 bytes from 35.45.141.67: seq=2 ttl=63 time=0.761 ms --- 35.45.141.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.761/0.977/1.358 ms 2025-07-23 17:19:27,728 - INFO - Ping to IP 35.45.141.67 from VM ctest-vn1-vm1-09889889 passed 2025-07-23 17:19:27,728 - INFO - Deleting interface with subnet_id 75c80817-33b6-4c60-8b84-2f9de4a25a70, port_id None from router 9d1914f7-4453-4361-9178-3df04d0947dc 2025-07-23 17:19:27,841 - INFO - Deleting interface with subnet_id 3242284a-1867-40f5-ac40-0eb8c57faa64, port_id None from router 9d1914f7-4453-4361-9178-3df04d0947dc 2025-07-23 17:19:28,026 - INFO - Deleting VM ctest-vn2-vm1-15121910 2025-07-23 17:19:28,101 - INFO - Deleting VM ctest-vn1-vm1-09889889 2025-07-23 17:19:28,171 - INFO - Deleting VN ctest-vn2-51895642 2025-07-23 17:19:28,209 - DEBUG - VN 54291648-3f8f-4907-a74c-3c799d9561b7 still in use: Unable to complete operation on network 54291648-3f8f-4907-a74c-3c799d9561b7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a6c0f48e-0131-4bfd-81d7-5099dbeff07c'] 2025-07-23 17:19:28,209 - WARNING - Deleting VN ctest-vn2-51895642 failed..Will retry 2025-07-23 17:19:30,312 - DEBUG - Response for deleting network () 2025-07-23 17:19:30,312 - INFO - Deleting VN ctest-vn1-70147385 2025-07-23 17:19:30,422 - DEBUG - Response for deleting network () 2025-07-23 17:19:30,676 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 17:19:30,676 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-07-23 17:19:30,676 - INFO - -------------------------------------------------------------------------------- 2025-07-23 17:19:31,340 - INFO - Deleted project: ctest-TestRouters-30899445, ID : 90a5e017-85fb-44d6-815e-dec0a654eed0