2025-08-02 23:30:43,313 - INFO - Domain Default found not creating 2025-08-02 23:30:43,485 - INFO - Project ctest-TestRouters-84278148 not found, creating it 2025-08-02 23:30:44,157 - INFO - Created Project:ctest-TestRouters-84278148, ID : 225c6b63-2f48-4e4a-9731-65ce19c30438 2025-08-02 23:30:45,914 - INFO - ================================================================================ 2025-08-02 23:30:45,914 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-02 23:30:45,914 - 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-08-02 23:30:47,275 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0', '10.20.0.14': '0'}, '10.0.0.49': {'10.20.0.17': '0', '10.20.0.14': '0'}} with 2025-08-02 23:30:47,275 - INFO - Initial checks done. Running the testcase now 2025-08-02 23:30:47,275 - INFO - 2025-08-02 23:30:48,027 - DEBUG - Response for create_network : {'network': {'id': 'e000daed-0f63-4eb1-b1f9-06a03fdcd0ed', 'name': 'ctest-vn1-79370261', 'tenant_id': '225c6b632f484e4a973165ce19c30438', 'project_id': '225c6b632f484e4a973165ce19c30438', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-84278148', 'ctest-vn1-79370261'], 'port_security_enabled': True, 'description': ''}} 2025-08-02 23:30:48,352 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1d4a942-1cae-4471-9f5a-17067a1f76a4', 'name': '', 'tenant_id': '225c6b632f484e4a973165ce19c30438', 'network_id': 'e000daed-0f63-4eb1-b1f9-06a03fdcd0ed', 'ip_version': 4, 'cidr': '39.10.249.192/26', 'allocation_pools': [{'start': '39.10.249.194', 'end': '39.10.249.254'}], 'gateway_ip': '39.10.249.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.10.249.194', 'tags': [], 'project_id': '225c6b632f484e4a973165ce19c30438'}} 2025-08-02 23:30:48,381 - INFO - Created VN ctest-vn1-79370261 2025-08-02 23:30:48,399 - DEBUG - VN ctest-vn1-79370261 UUID is e000daed-0f63-4eb1-b1f9-06a03fdcd0ed 2025-08-02 23:30:48,810 - DEBUG - Response for create_network : {'network': {'id': 'af3a4520-3457-43a2-a86b-ccbafb73eb0c', 'name': 'ctest-vn2-33214385', 'tenant_id': '225c6b632f484e4a973165ce19c30438', 'project_id': '225c6b632f484e4a973165ce19c30438', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-84278148', 'ctest-vn2-33214385'], 'port_security_enabled': True, 'description': ''}} 2025-08-02 23:30:49,139 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f153dea1-e11d-4fd5-8662-aeae170c260e', 'name': '', 'tenant_id': '225c6b632f484e4a973165ce19c30438', 'network_id': 'af3a4520-3457-43a2-a86b-ccbafb73eb0c', 'ip_version': 4, 'cidr': '63.183.39.64/26', 'allocation_pools': [{'start': '63.183.39.66', 'end': '63.183.39.126'}], 'gateway_ip': '63.183.39.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.183.39.66', 'tags': [], 'project_id': '225c6b632f484e4a973165ce19c30438'}} 2025-08-02 23:30:49,161 - INFO - Created VN ctest-vn2-33214385 2025-08-02 23:30:49,173 - DEBUG - VN ctest-vn2-33214385 UUID is af3a4520-3457-43a2-a86b-ccbafb73eb0c 2025-08-02 23:30:49,370 - DEBUG - Services list from nova: [, , , ] 2025-08-02 23:30:50,786 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-2) 2025-08-02 23:30:52,289 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3743-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3743-1) 2025-08-02 23:30:52,488 - INFO - Adding interface with subnet_id f1d4a942-1cae-4471-9f5a-17067a1f76a4, port_id None to router 0c7462f4-51e9-4081-9ee4-5741d94bf4b5 2025-08-02 23:30:52,889 - INFO - Waiting for VM ctest-vn1-vm1-79493101 to be up.. 2025-08-02 23:30:53,073 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-02 23:30:58,161 - DEBUG - VM is in ACTIVE state now 2025-08-02 23:30:58,161 - INFO - VM name : ctest-vn1-vm1-79493101 2025-08-02 23:30:58,254 - DEBUG - VM ctest-vn1-vm1-79493101 ID is cfcbdb34-7305-4299-a135-2725a472250c 2025-08-02 23:30:58,278 - DEBUG - VM ctest-vn1-vm1-79493101 launched on Node an-jenkins-deploy-platform-ansible-os-3743-2 2025-08-02 23:30:58,379 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cfcbdb34-7305-4299-a135-2725a472250c 2025-08-02 23:30:58,675 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cfcbdb34-7305-4299-a135-2725a472250c 2025-08-02 23:30:58,730 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b40df75d-3de6-4ee4-aaed-a07d87dcfc01 2025-08-02 23:31:02,026 - 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 1028ms') 2025-08-02 23:31:02,026 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79493101 failed! 2025-08-02 23:31:02,072 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-84278148:ctest-vn1-79370261 is 39.10.249.193 and allocation pool is NOT set 2025-08-02 23:31:04,145 - 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=8.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.56 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.556/5.170/8.785/3.614 ms') 2025-08-02 23:31:04,145 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79493101 passed 2025-08-02 23:31:04,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 23:31:04,283 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79493101, IP 39.10.249.195, Port 22 2025-08-02 23:31:04,458 - DEBUG - VM ctest-vn1-vm1-79493101 is ready for SSH connections 2025-08-02 23:31:04,458 - INFO - Waiting for VM ctest-vn2-vm1-11176763 to be up.. 2025-08-02 23:31:04,560 - DEBUG - VM is in ACTIVE state now 2025-08-02 23:31:04,560 - INFO - VM name : ctest-vn2-vm1-11176763 2025-08-02 23:31:04,673 - DEBUG - VM ctest-vn2-vm1-11176763 ID is c8f41801-5d21-4367-96d5-1eab700379b0 2025-08-02 23:31:04,673 - DEBUG - VM ctest-vn2-vm1-11176763 launched on Node an-jenkins-deploy-platform-ansible-os-3743-1 2025-08-02 23:31:04,806 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c8f41801-5d21-4367-96d5-1eab700379b0 2025-08-02 23:31:04,821 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/aaaecfac-1ed6-49c4-947e-ab941dde7d0b 2025-08-02 23:31:06,077 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.484 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.484/2.104/3.725/1.620 ms') 2025-08-02 23:31:06,077 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-11176763 passed 2025-08-02 23:31:06,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 23:31:06,196 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-11176763, IP 63.183.39.67, Port 22 2025-08-02 23:31:06,351 - DEBUG - VM ctest-vn2-vm1-11176763 is ready for SSH connections 2025-08-02 23:31:06,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 23:31:06,352 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.183.39.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-02 23:31:06,352 - DEBUG - ping -s 56 -c 3 -W 1 63.183.39.67 2025-08-02 23:31:11,041 - DEBUG - PING 63.183.39.67 (63.183.39.67): 56 data bytes --- 63.183.39.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-02 23:31:11,042 - WARNING - Ping to IP 63.183.39.67 from VM ctest-vn1-vm1-79493101 failed 2025-08-02 23:31:11,042 - INFO - Adding interface with subnet_id f153dea1-e11d-4fd5-8662-aeae170c260e, port_id None to router 0c7462f4-51e9-4081-9ee4-5741d94bf4b5 2025-08-02 23:31:11,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 23:31:11,569 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.183.39.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-02 23:31:11,569 - DEBUG - ping -s 56 -c 3 -W 1 63.183.39.67 2025-08-02 23:31:14,800 - DEBUG - PING 63.183.39.67 (63.183.39.67): 56 data bytes 64 bytes from 63.183.39.67: seq=1 ttl=63 time=7.505 ms 64 bytes from 63.183.39.67: seq=2 ttl=63 time=1.303 ms --- 63.183.39.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.303/4.404/7.505 ms 2025-08-02 23:31:14,800 - WARNING - Ping to IP 63.183.39.67 from VM ctest-vn1-vm1-79493101 failed 2025-08-02 23:31:15,800 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.183.39.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-02 23:31:15,800 - DEBUG - ping -s 56 -c 3 -W 1 63.183.39.67 2025-08-02 23:31:18,024 - DEBUG - PING 63.183.39.67 (63.183.39.67): 56 data bytes 64 bytes from 63.183.39.67: seq=0 ttl=63 time=3.032 ms 64 bytes from 63.183.39.67: seq=1 ttl=63 time=1.338 ms 64 bytes from 63.183.39.67: seq=2 ttl=63 time=1.296 ms --- 63.183.39.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.296/1.888/3.032 ms 2025-08-02 23:31:18,024 - INFO - Ping to IP 63.183.39.67 from VM ctest-vn1-vm1-79493101 passed 2025-08-02 23:31:18,024 - INFO - Deleting interface with subnet_id f1d4a942-1cae-4471-9f5a-17067a1f76a4, port_id None from router 0c7462f4-51e9-4081-9ee4-5741d94bf4b5 2025-08-02 23:31:18,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 23:31:18,329 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.183.39.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-02 23:31:18,329 - DEBUG - ping -s 56 -c 3 -W 1 63.183.39.67 2025-08-02 23:31:21,551 - DEBUG - PING 63.183.39.67 (63.183.39.67): 56 data bytes --- 63.183.39.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-02 23:31:21,551 - WARNING - Ping to IP 63.183.39.67 from VM ctest-vn1-vm1-79493101 failed 2025-08-02 23:31:21,551 - INFO - Adding interface with subnet_id f1d4a942-1cae-4471-9f5a-17067a1f76a4, port_id None to router 0c7462f4-51e9-4081-9ee4-5741d94bf4b5 2025-08-02 23:31:21,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-02 23:31:21,970 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.183.39.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-02 23:31:21,970 - DEBUG - ping -s 56 -c 3 -W 1 63.183.39.67 2025-08-02 23:31:24,177 - DEBUG - PING 63.183.39.67 (63.183.39.67): 56 data bytes 64 bytes from 63.183.39.67: seq=0 ttl=63 time=2.533 ms 64 bytes from 63.183.39.67: seq=1 ttl=63 time=1.106 ms 64 bytes from 63.183.39.67: seq=2 ttl=63 time=1.357 ms --- 63.183.39.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.106/1.665/2.533 ms 2025-08-02 23:31:24,177 - INFO - Ping to IP 63.183.39.67 from VM ctest-vn1-vm1-79493101 passed 2025-08-02 23:31:24,177 - INFO - Deleting interface with subnet_id f153dea1-e11d-4fd5-8662-aeae170c260e, port_id None from router 0c7462f4-51e9-4081-9ee4-5741d94bf4b5 2025-08-02 23:31:24,492 - INFO - Deleting interface with subnet_id f1d4a942-1cae-4471-9f5a-17067a1f76a4, port_id None from router 0c7462f4-51e9-4081-9ee4-5741d94bf4b5 2025-08-02 23:31:24,812 - INFO - Deleting VM ctest-vn2-vm1-11176763 2025-08-02 23:31:24,917 - INFO - Deleting VM ctest-vn1-vm1-79493101 2025-08-02 23:31:25,013 - INFO - Deleting VN ctest-vn2-33214385 2025-08-02 23:31:25,093 - DEBUG - VN af3a4520-3457-43a2-a86b-ccbafb73eb0c still in use: Unable to complete operation on network af3a4520-3457-43a2-a86b-ccbafb73eb0c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0265d35f-1eeb-481f-a35e-430e233afb70'] 2025-08-02 23:31:25,093 - WARNING - Deleting VN ctest-vn2-33214385 failed..Will retry 2025-08-02 23:31:27,382 - DEBUG - Response for deleting network () 2025-08-02 23:31:27,383 - INFO - Deleting VN ctest-vn1-79370261 2025-08-02 23:31:27,610 - DEBUG - Response for deleting network () 2025-08-02 23:31:28,978 - DEBUG - No XMPP flaps were noticed during the test 2025-08-02 23:31:28,978 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43] 2025-08-02 23:31:28,978 - INFO - -------------------------------------------------------------------------------- 2025-08-02 23:31:29,916 - INFO - Deleted project: ctest-TestRouters-84278148, ID : 225c6b63-2f48-4e4a-9731-65ce19c30438