2025-10-09 10:15:41,755 - INFO - Domain Default found not creating 2025-10-09 10:15:41,885 - INFO - Project ctest-TestRouters-03963891 not found, creating it 2025-10-09 10:15:42,324 - INFO - Created Project:ctest-TestRouters-03963891, ID : 37b2c277-43ea-47f0-a5d2-0217316ef7b1 2025-10-09 10:15:43,812 - INFO - ================================================================================ 2025-10-09 10:15:43,812 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-09 10:15:43,812 - 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 10:15:44,061 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-09 10:15:44,061 - INFO - Initial checks done. Running the testcase now 2025-10-09 10:15:44,061 - INFO - 2025-10-09 10:15:44,583 - DEBUG - Response for create_network : {'network': {'id': '9550de95-20c6-4572-ac31-bab00bbb5117', 'name': 'ctest-vn1-51187240', 'tenant_id': '37b2c27743ea47f0a5d20217316ef7b1', 'project_id': '37b2c27743ea47f0a5d20217316ef7b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-03963891', 'ctest-vn1-51187240'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 10:15:44,772 - DEBUG - Response for create_subnet : {'subnet': {'id': '68358ad5-9b2e-4ac3-a297-829629e35db4', 'name': '', 'tenant_id': '37b2c27743ea47f0a5d20217316ef7b1', 'network_id': '9550de95-20c6-4572-ac31-bab00bbb5117', 'ip_version': 4, 'cidr': '18.215.14.64/26', 'allocation_pools': [{'start': '18.215.14.66', 'end': '18.215.14.126'}], 'gateway_ip': '18.215.14.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.215.14.66', 'tags': [], 'project_id': '37b2c27743ea47f0a5d20217316ef7b1'}} 2025-10-09 10:15:44,787 - INFO - Created VN ctest-vn1-51187240 2025-10-09 10:15:44,835 - DEBUG - VN ctest-vn1-51187240 UUID is 9550de95-20c6-4572-ac31-bab00bbb5117 2025-10-09 10:15:45,164 - DEBUG - Response for create_network : {'network': {'id': 'ae8b049b-8875-4463-b3cd-ec204ef1222c', 'name': 'ctest-vn2-26008444', 'tenant_id': '37b2c27743ea47f0a5d20217316ef7b1', 'project_id': '37b2c27743ea47f0a5d20217316ef7b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-03963891', 'ctest-vn2-26008444'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 10:15:45,350 - DEBUG - Response for create_subnet : {'subnet': {'id': '7281d76d-f533-44e6-94b8-7b5ec6369251', 'name': '', 'tenant_id': '37b2c27743ea47f0a5d20217316ef7b1', 'network_id': 'ae8b049b-8875-4463-b3cd-ec204ef1222c', 'ip_version': 4, 'cidr': '35.229.12.0/26', 'allocation_pools': [{'start': '35.229.12.2', 'end': '35.229.12.62'}], 'gateway_ip': '35.229.12.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.229.12.2', 'tags': [], 'project_id': '37b2c27743ea47f0a5d20217316ef7b1'}} 2025-10-09 10:15:45,366 - INFO - Created VN ctest-vn2-26008444 2025-10-09 10:15:45,415 - DEBUG - VN ctest-vn2-26008444 UUID is ae8b049b-8875-4463-b3cd-ec204ef1222c 2025-10-09 10:15:45,657 - DEBUG - Services list from nova: [, , ] 2025-10-09 10:15:46,640 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4257-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4257-1) 2025-10-09 10:15:47,818 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4257-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4257-1) 2025-10-09 10:15:47,885 - INFO - Adding interface with subnet_id 68358ad5-9b2e-4ac3-a297-829629e35db4, port_id None to router 78275a1e-0790-4848-86cc-88a89dae899f 2025-10-09 10:15:48,138 - INFO - Waiting for VM ctest-vn1-vm1-96754842 to be up.. 2025-10-09 10:15:48,226 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 10:15:53,308 - DEBUG - VM is in ACTIVE state now 2025-10-09 10:15:53,308 - INFO - VM name : ctest-vn1-vm1-96754842 2025-10-09 10:15:53,381 - DEBUG - VM ctest-vn1-vm1-96754842 ID is 904a51de-4325-40ce-a57a-349b430a7ce9 2025-10-09 10:15:53,398 - DEBUG - VM ctest-vn1-vm1-96754842 launched on Node cn-jenkins-deploy-platform-ansible-os-4257-1 2025-10-09 10:15:53,465 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/904a51de-4325-40ce-a57a-349b430a7ce9 2025-10-09 10:15:53,762 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/904a51de-4325-40ce-a57a-349b430a7ce9 2025-10-09 10:15:53,794 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5be7754c-8569-4cf0-8ff9-9573e01be3cf 2025-10-09 10:15:57,046 - 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 1011ms') 2025-10-09 10:15:57,046 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96754842 failed! 2025-10-09 10:15:57,099 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-03963891:ctest-vn1-51187240 is 18.215.14.65 and allocation pool is NOT set 2025-10-09 10:15:59,161 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.46 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.462/3.096/4.731/1.634 ms') 2025-10-09 10:15:59,162 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96754842 passed 2025-10-09 10:15:59,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:15:59,308 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-96754842, IP 18.215.14.67, Port 22 2025-10-09 10:15:59,459 - DEBUG - VM ctest-vn1-vm1-96754842 is ready for SSH connections 2025-10-09 10:15:59,459 - INFO - Waiting for VM ctest-vn2-vm1-03461537 to be up.. 2025-10-09 10:15:59,542 - DEBUG - VM is in ACTIVE state now 2025-10-09 10:15:59,542 - INFO - VM name : ctest-vn2-vm1-03461537 2025-10-09 10:15:59,620 - DEBUG - VM ctest-vn2-vm1-03461537 ID is dda26af1-f590-4b4a-a330-857d20b41b0c 2025-10-09 10:15:59,620 - DEBUG - VM ctest-vn2-vm1-03461537 launched on Node cn-jenkins-deploy-platform-ansible-os-4257-1 2025-10-09 10:15:59,685 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dda26af1-f590-4b4a-a330-857d20b41b0c 2025-10-09 10:15:59,692 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e06172e3-4ee1-4732-98eb-2bb342c9814e 2025-10-09 10:16:00,928 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 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.396/1.885/3.375/1.489 ms') 2025-10-09 10:16:00,928 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-03461537 passed 2025-10-09 10:16:01,079 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:16:01,080 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-03461537, IP 35.229.12.3, Port 22 2025-10-09 10:16:01,231 - DEBUG - VM ctest-vn2-vm1-03461537 is ready for SSH connections 2025-10-09 10:16:01,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:16:01,231 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.229.12.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 10:16:01,231 - DEBUG - ping -s 56 -c 3 -W 1 35.229.12.3 2025-10-09 10:16:05,898 - DEBUG - PING 35.229.12.3 (35.229.12.3): 56 data bytes --- 35.229.12.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 10:16:05,898 - WARNING - Ping to IP 35.229.12.3 from VM ctest-vn1-vm1-96754842 failed 2025-10-09 10:16:05,898 - INFO - Adding interface with subnet_id 7281d76d-f533-44e6-94b8-7b5ec6369251, port_id None to router 78275a1e-0790-4848-86cc-88a89dae899f 2025-10-09 10:16:06,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:16:06,166 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.229.12.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 10:16:06,166 - DEBUG - ping -s 56 -c 3 -W 1 35.229.12.3 2025-10-09 10:16:08,370 - DEBUG - PING 35.229.12.3 (35.229.12.3): 56 data bytes 64 bytes from 35.229.12.3: seq=0 ttl=63 time=2.918 ms 64 bytes from 35.229.12.3: seq=1 ttl=63 time=0.979 ms 64 bytes from 35.229.12.3: seq=2 ttl=63 time=0.765 ms --- 35.229.12.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.765/1.554/2.918 ms 2025-10-09 10:16:08,370 - INFO - Ping to IP 35.229.12.3 from VM ctest-vn1-vm1-96754842 passed 2025-10-09 10:16:08,370 - INFO - Deleting interface with subnet_id 68358ad5-9b2e-4ac3-a297-829629e35db4, port_id None from router 78275a1e-0790-4848-86cc-88a89dae899f 2025-10-09 10:16:08,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:16:08,481 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.229.12.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 10:16:08,481 - DEBUG - ping -s 56 -c 3 -W 1 35.229.12.3 2025-10-09 10:16:11,684 - DEBUG - PING 35.229.12.3 (35.229.12.3): 56 data bytes --- 35.229.12.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 10:16:11,684 - WARNING - Ping to IP 35.229.12.3 from VM ctest-vn1-vm1-96754842 failed 2025-10-09 10:16:11,685 - INFO - Adding interface with subnet_id 68358ad5-9b2e-4ac3-a297-829629e35db4, port_id None to router 78275a1e-0790-4848-86cc-88a89dae899f 2025-10-09 10:16:11,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:16:11,897 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.229.12.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 10:16:11,897 - DEBUG - ping -s 56 -c 3 -W 1 35.229.12.3 2025-10-09 10:16:15,092 - DEBUG - PING 35.229.12.3 (35.229.12.3): 56 data bytes 64 bytes from 35.229.12.3: seq=1 ttl=63 time=1.459 ms 64 bytes from 35.229.12.3: seq=2 ttl=63 time=0.678 ms --- 35.229.12.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.678/1.068/1.459 ms 2025-10-09 10:16:15,092 - WARNING - Ping to IP 35.229.12.3 from VM ctest-vn1-vm1-96754842 failed 2025-10-09 10:16:16,093 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.229.12.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 10:16:16,093 - DEBUG - ping -s 56 -c 3 -W 1 35.229.12.3 2025-10-09 10:16:18,286 - DEBUG - PING 35.229.12.3 (35.229.12.3): 56 data bytes 64 bytes from 35.229.12.3: seq=0 ttl=63 time=1.540 ms 64 bytes from 35.229.12.3: seq=1 ttl=63 time=0.714 ms 64 bytes from 35.229.12.3: seq=2 ttl=63 time=0.896 ms --- 35.229.12.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.714/1.050/1.540 ms 2025-10-09 10:16:18,287 - INFO - Ping to IP 35.229.12.3 from VM ctest-vn1-vm1-96754842 passed 2025-10-09 10:16:18,287 - INFO - Deleting interface with subnet_id 7281d76d-f533-44e6-94b8-7b5ec6369251, port_id None from router 78275a1e-0790-4848-86cc-88a89dae899f 2025-10-09 10:16:18,386 - INFO - Deleting interface with subnet_id 68358ad5-9b2e-4ac3-a297-829629e35db4, port_id None from router 78275a1e-0790-4848-86cc-88a89dae899f 2025-10-09 10:16:18,536 - INFO - Deleting VM ctest-vn2-vm1-03461537 2025-10-09 10:16:18,605 - INFO - Deleting VM ctest-vn1-vm1-96754842 2025-10-09 10:16:18,675 - INFO - Deleting VN ctest-vn2-26008444 2025-10-09 10:16:18,719 - DEBUG - VN ae8b049b-8875-4463-b3cd-ec204ef1222c still in use: Unable to complete operation on network ae8b049b-8875-4463-b3cd-ec204ef1222c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-23cc901a-5316-4da7-9161-878d0fba8bba'] 2025-10-09 10:16:18,719 - WARNING - Deleting VN ctest-vn2-26008444 failed..Will retry 2025-10-09 10:16:20,808 - DEBUG - Response for deleting network () 2025-10-09 10:16:20,809 - INFO - Deleting VN ctest-vn1-51187240 2025-10-09 10:16:20,898 - DEBUG - Response for deleting network () 2025-10-09 10:16:21,152 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 10:16:21,153 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-10-09 10:16:21,153 - INFO - -------------------------------------------------------------------------------- 2025-10-09 10:16:21,803 - INFO - Deleted project: ctest-TestRouters-03963891, ID : 37b2c277-43ea-47f0-a5d2-0217316ef7b1