2025-10-22 12:21:30,817 - INFO - Domain Default found not creating 2025-10-22 12:21:31,122 - INFO - Project ctest-TestRouters-47020438 not found, creating it 2025-10-22 12:21:31,646 - INFO - Created Project:ctest-TestRouters-47020438, ID : 89ca01df-3cb4-43de-864d-7f1ae3161145 2025-10-22 12:21:33,240 - INFO - ================================================================================ 2025-10-22 12:21:33,240 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-22 12:21:33,240 - 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-22 12:21:33,506 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with 2025-10-22 12:21:33,506 - INFO - Initial checks done. Running the testcase now 2025-10-22 12:21:33,506 - INFO - 2025-10-22 12:21:34,100 - DEBUG - Response for create_network : {'network': {'id': '91b1c71d-0629-4e7e-b1c2-97aa2815bdc9', 'name': 'ctest-vn1-16887345', 'tenant_id': '89ca01df3cb443de864d7f1ae3161145', 'project_id': '89ca01df3cb443de864d7f1ae3161145', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-47020438', 'ctest-vn1-16887345'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 12:21:34,296 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab8ed2bb-3cbf-44cf-b27a-3f4d9f68a707', 'name': '', 'tenant_id': '89ca01df3cb443de864d7f1ae3161145', 'network_id': '91b1c71d-0629-4e7e-b1c2-97aa2815bdc9', 'ip_version': 4, 'cidr': '24.81.241.192/26', 'allocation_pools': [{'start': '24.81.241.194', 'end': '24.81.241.254'}], 'gateway_ip': '24.81.241.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.81.241.194', 'tags': [], 'project_id': '89ca01df3cb443de864d7f1ae3161145'}} 2025-10-22 12:21:34,316 - INFO - Created VN ctest-vn1-16887345 2025-10-22 12:21:34,371 - DEBUG - VN ctest-vn1-16887345 UUID is 91b1c71d-0629-4e7e-b1c2-97aa2815bdc9 2025-10-22 12:21:34,743 - DEBUG - Response for create_network : {'network': {'id': 'b92b65e9-c49e-4110-9ae9-fde9bb1e574a', 'name': 'ctest-vn2-70475945', 'tenant_id': '89ca01df3cb443de864d7f1ae3161145', 'project_id': '89ca01df3cb443de864d7f1ae3161145', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-47020438', 'ctest-vn2-70475945'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 12:21:34,908 - DEBUG - Response for create_subnet : {'subnet': {'id': '822cb662-bc66-482a-ac85-8fff6423b074', 'name': '', 'tenant_id': '89ca01df3cb443de864d7f1ae3161145', 'network_id': 'b92b65e9-c49e-4110-9ae9-fde9bb1e574a', 'ip_version': 4, 'cidr': '43.222.163.192/26', 'allocation_pools': [{'start': '43.222.163.194', 'end': '43.222.163.254'}], 'gateway_ip': '43.222.163.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.222.163.194', 'tags': [], 'project_id': '89ca01df3cb443de864d7f1ae3161145'}} 2025-10-22 12:21:34,930 - INFO - Created VN ctest-vn2-70475945 2025-10-22 12:21:34,984 - DEBUG - VN ctest-vn2-70475945 UUID is b92b65e9-c49e-4110-9ae9-fde9bb1e574a 2025-10-22 12:21:35,173 - DEBUG - Services list from nova: [, , ] 2025-10-22 12:21:36,286 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4426-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4426-1) 2025-10-22 12:21:37,662 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4426-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4426-1) 2025-10-22 12:21:37,761 - INFO - Adding interface with subnet_id ab8ed2bb-3cbf-44cf-b27a-3f4d9f68a707, port_id None to router ce9139ca-bdd0-4ccc-b6de-d5c41b8b9932 2025-10-22 12:21:38,104 - INFO - Waiting for VM ctest-vn1-vm1-51072185 to be up.. 2025-10-22 12:21:38,261 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 12:21:43,356 - DEBUG - VM is in ACTIVE state now 2025-10-22 12:21:43,356 - INFO - VM name : ctest-vn1-vm1-51072185 2025-10-22 12:21:43,451 - DEBUG - VM ctest-vn1-vm1-51072185 ID is 4a98add4-5cef-467e-9c23-d8b1495261f1 2025-10-22 12:21:43,477 - DEBUG - VM ctest-vn1-vm1-51072185 launched on Node cn-jenkins-deploy-platform-ansible-os-4426-1 2025-10-22 12:21:43,565 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/4a98add4-5cef-467e-9c23-d8b1495261f1 2025-10-22 12:21:43,880 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/4a98add4-5cef-467e-9c23-d8b1495261f1 2025-10-22 12:21:43,921 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/951c39a9-a2ef-4c4e-a569-4ca1f1b71954 2025-10-22 12:21:47,174 - 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 1009ms') 2025-10-22 12:21:47,175 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51072185 failed! 2025-10-22 12:21:47,232 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-47020438:ctest-vn1-16887345 is 24.81.241.193 and allocation pool is NOT set 2025-10-22 12:21:49,289 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.97 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 = 1.971/3.005/4.039/1.034 ms') 2025-10-22 12:21:49,289 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51072185 passed 2025-10-22 12:21:49,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:21:49,444 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51072185, IP 24.81.241.195, Port 22 2025-10-22 12:21:49,599 - DEBUG - VM ctest-vn1-vm1-51072185 is ready for SSH connections 2025-10-22 12:21:49,599 - INFO - Waiting for VM ctest-vn2-vm1-58870823 to be up.. 2025-10-22 12:21:49,677 - DEBUG - VM is in ACTIVE state now 2025-10-22 12:21:49,677 - INFO - VM name : ctest-vn2-vm1-58870823 2025-10-22 12:21:49,767 - DEBUG - VM ctest-vn2-vm1-58870823 ID is fb1af838-3c97-486e-9bd1-ea15cc4ac5a5 2025-10-22 12:21:49,767 - DEBUG - VM ctest-vn2-vm1-58870823 launched on Node cn-jenkins-deploy-platform-ansible-os-4426-1 2025-10-22 12:21:49,856 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/fb1af838-3c97-486e-9bd1-ea15cc4ac5a5 2025-10-22 12:21:49,868 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/b86a1d86-1a39-4f31-a740-365cc46d697a 2025-10-22 12:21:51,136 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/1.832/3.257/1.424 ms') 2025-10-22 12:21:51,137 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-58870823 passed 2025-10-22 12:21:51,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:21:51,288 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-58870823, IP 43.222.163.195, Port 22 2025-10-22 12:21:51,454 - DEBUG - VM ctest-vn2-vm1-58870823 is ready for SSH connections 2025-10-22 12:21:51,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:21:51,454 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.222.163.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-22 12:21:51,454 - DEBUG - ping -s 56 -c 3 -W 1 43.222.163.195 2025-10-22 12:21:56,478 - DEBUG - PING 43.222.163.195 (43.222.163.195): 56 data bytes --- 43.222.163.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 12:21:56,478 - WARNING - Ping to IP 43.222.163.195 from VM ctest-vn1-vm1-51072185 failed 2025-10-22 12:21:56,478 - INFO - Adding interface with subnet_id 822cb662-bc66-482a-ac85-8fff6423b074, port_id None to router ce9139ca-bdd0-4ccc-b6de-d5c41b8b9932 2025-10-22 12:21:56,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:21:56,774 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.222.163.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-22 12:21:56,774 - DEBUG - ping -s 56 -c 3 -W 1 43.222.163.195 2025-10-22 12:22:00,026 - DEBUG - PING 43.222.163.195 (43.222.163.195): 56 data bytes 64 bytes from 43.222.163.195: seq=1 ttl=63 time=3.583 ms 64 bytes from 43.222.163.195: seq=2 ttl=63 time=1.098 ms --- 43.222.163.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.098/2.340/3.583 ms 2025-10-22 12:22:00,027 - WARNING - Ping to IP 43.222.163.195 from VM ctest-vn1-vm1-51072185 failed 2025-10-22 12:22:01,027 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.222.163.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-22 12:22:01,028 - DEBUG - ping -s 56 -c 3 -W 1 43.222.163.195 2025-10-22 12:22:03,248 - DEBUG - PING 43.222.163.195 (43.222.163.195): 56 data bytes 64 bytes from 43.222.163.195: seq=0 ttl=63 time=2.073 ms 64 bytes from 43.222.163.195: seq=1 ttl=63 time=1.242 ms 64 bytes from 43.222.163.195: seq=2 ttl=63 time=1.427 ms --- 43.222.163.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.242/1.580/2.073 ms 2025-10-22 12:22:03,248 - INFO - Ping to IP 43.222.163.195 from VM ctest-vn1-vm1-51072185 passed 2025-10-22 12:22:03,248 - INFO - Deleting interface with subnet_id ab8ed2bb-3cbf-44cf-b27a-3f4d9f68a707, port_id None from router ce9139ca-bdd0-4ccc-b6de-d5c41b8b9932 2025-10-22 12:22:03,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:22:03,389 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.222.163.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-22 12:22:03,389 - DEBUG - ping -s 56 -c 3 -W 1 43.222.163.195 2025-10-22 12:22:06,663 - DEBUG - PING 43.222.163.195 (43.222.163.195): 56 data bytes --- 43.222.163.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 12:22:06,663 - WARNING - Ping to IP 43.222.163.195 from VM ctest-vn1-vm1-51072185 failed 2025-10-22 12:22:06,663 - INFO - Adding interface with subnet_id ab8ed2bb-3cbf-44cf-b27a-3f4d9f68a707, port_id None to router ce9139ca-bdd0-4ccc-b6de-d5c41b8b9932 2025-10-22 12:22:06,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 12:22:06,897 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.222.163.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-22 12:22:06,897 - DEBUG - ping -s 56 -c 3 -W 1 43.222.163.195 2025-10-22 12:22:09,126 - DEBUG - PING 43.222.163.195 (43.222.163.195): 56 data bytes 64 bytes from 43.222.163.195: seq=0 ttl=63 time=2.331 ms 64 bytes from 43.222.163.195: seq=1 ttl=63 time=0.877 ms 64 bytes from 43.222.163.195: seq=2 ttl=63 time=1.079 ms --- 43.222.163.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.877/1.429/2.331 ms 2025-10-22 12:22:09,126 - INFO - Ping to IP 43.222.163.195 from VM ctest-vn1-vm1-51072185 passed 2025-10-22 12:22:09,126 - INFO - Deleting interface with subnet_id 822cb662-bc66-482a-ac85-8fff6423b074, port_id None from router ce9139ca-bdd0-4ccc-b6de-d5c41b8b9932 2025-10-22 12:22:09,292 - INFO - Deleting interface with subnet_id ab8ed2bb-3cbf-44cf-b27a-3f4d9f68a707, port_id None from router ce9139ca-bdd0-4ccc-b6de-d5c41b8b9932 2025-10-22 12:22:09,501 - INFO - Deleting VM ctest-vn2-vm1-58870823 2025-10-22 12:22:09,593 - INFO - Deleting VM ctest-vn1-vm1-51072185 2025-10-22 12:22:09,679 - INFO - Deleting VN ctest-vn2-70475945 2025-10-22 12:22:09,731 - DEBUG - VN b92b65e9-c49e-4110-9ae9-fde9bb1e574a still in use: Unable to complete operation on network b92b65e9-c49e-4110-9ae9-fde9bb1e574a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c4034207-b718-40fd-83d7-4b3e6ab4c229'] 2025-10-22 12:22:09,731 - WARNING - Deleting VN ctest-vn2-70475945 failed..Will retry 2025-10-22 12:22:11,844 - DEBUG - Response for deleting network () 2025-10-22 12:22:11,845 - INFO - Deleting VN ctest-vn1-16887345 2025-10-22 12:22:11,986 - DEBUG - Response for deleting network () 2025-10-22 12:22:12,246 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 12:22:12,246 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-10-22 12:22:12,246 - INFO - -------------------------------------------------------------------------------- 2025-10-22 12:22:12,992 - INFO - Deleted project: ctest-TestRouters-47020438, ID : 89ca01df-3cb4-43de-864d-7f1ae3161145