2025-08-12 01:43:00,219 - INFO - Domain Default found not creating 2025-08-12 01:43:00,345 - INFO - Project ctest-TestRouters-69895469 not found, creating it 2025-08-12 01:43:00,788 - INFO - Created Project:ctest-TestRouters-69895469, ID : faf87dcd-bb09-42e4-be57-8224beeb997c 2025-08-12 01:43:02,169 - INFO - ================================================================================ 2025-08-12 01:43:02,169 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-12 01:43:02,169 - 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-12 01:43:02,426 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-08-12 01:43:02,426 - INFO - Initial checks done. Running the testcase now 2025-08-12 01:43:02,426 - INFO - 2025-08-12 01:43:03,029 - DEBUG - Response for create_network : {'network': {'id': 'b4a37644-5b9d-4813-9bf1-4774c76cc689', 'name': 'ctest-vn1-82009879', 'tenant_id': 'faf87dcdbb0942e4be578224beeb997c', 'project_id': 'faf87dcdbb0942e4be578224beeb997c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-69895469', 'ctest-vn1-82009879'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 01:43:03,178 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f15aca4-c2d6-485c-aec5-80fb67ee242a', 'name': '', 'tenant_id': 'faf87dcdbb0942e4be578224beeb997c', 'network_id': 'b4a37644-5b9d-4813-9bf1-4774c76cc689', 'ip_version': 4, 'cidr': '180.60.60.192/26', 'allocation_pools': [{'start': '180.60.60.194', 'end': '180.60.60.254'}], 'gateway_ip': '180.60.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.60.60.194', 'tags': [], 'project_id': 'faf87dcdbb0942e4be578224beeb997c'}} 2025-08-12 01:43:03,203 - INFO - Created VN ctest-vn1-82009879 2025-08-12 01:43:03,256 - DEBUG - VN ctest-vn1-82009879 UUID is b4a37644-5b9d-4813-9bf1-4774c76cc689 2025-08-12 01:43:03,600 - DEBUG - Response for create_network : {'network': {'id': '87030898-b2af-40bf-a963-ce94cef00d72', 'name': 'ctest-vn2-00716563', 'tenant_id': 'faf87dcdbb0942e4be578224beeb997c', 'project_id': 'faf87dcdbb0942e4be578224beeb997c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-69895469', 'ctest-vn2-00716563'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 01:43:03,803 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ecd87bc9-6a80-4d74-9b88-adf53c351a47', 'name': '', 'tenant_id': 'faf87dcdbb0942e4be578224beeb997c', 'network_id': '87030898-b2af-40bf-a963-ce94cef00d72', 'ip_version': 4, 'cidr': '41.139.122.64/26', 'allocation_pools': [{'start': '41.139.122.66', 'end': '41.139.122.126'}], 'gateway_ip': '41.139.122.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.139.122.66', 'tags': [], 'project_id': 'faf87dcdbb0942e4be578224beeb997c'}} 2025-08-12 01:43:03,820 - INFO - Created VN ctest-vn2-00716563 2025-08-12 01:43:03,872 - DEBUG - VN ctest-vn2-00716563 UUID is 87030898-b2af-40bf-a963-ce94cef00d72 2025-08-12 01:43:04,099 - DEBUG - Services list from nova: [, , ] 2025-08-12 01:43:05,069 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3828-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3828-1) 2025-08-12 01:43:06,244 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3828-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3828-1) 2025-08-12 01:43:06,312 - INFO - Adding interface with subnet_id 5f15aca4-c2d6-485c-aec5-80fb67ee242a, port_id None to router 650446d1-c6fa-4544-bb59-98929cbc7d7c 2025-08-12 01:43:06,565 - INFO - Waiting for VM ctest-vn1-vm1-20405793 to be up.. 2025-08-12 01:43:06,679 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 01:43:11,747 - DEBUG - VM is in ACTIVE state now 2025-08-12 01:43:11,747 - INFO - VM name : ctest-vn1-vm1-20405793 2025-08-12 01:43:11,819 - DEBUG - VM ctest-vn1-vm1-20405793 ID is 2f98de68-b584-4b97-9a0a-9d763d036d9c 2025-08-12 01:43:11,842 - DEBUG - VM ctest-vn1-vm1-20405793 launched on Node cn-jenkins-deploy-platform-ansible-os-3828-1 2025-08-12 01:43:11,912 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/2f98de68-b584-4b97-9a0a-9d763d036d9c 2025-08-12 01:43:12,203 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/2f98de68-b584-4b97-9a0a-9d763d036d9c 2025-08-12 01:43:12,232 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/5b4a822a-4036-4163-809d-d3fb5676d641 2025-08-12 01:43:15,498 - 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-12 01:43:15,498 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20405793 failed! 2025-08-12 01:43:15,552 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-69895469:ctest-vn1-82009879 is 180.60.60.193 and allocation pool is NOT set 2025-08-12 01:43:17,614 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.324 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.324/2.236/4.148/1.912 ms') 2025-08-12 01:43:17,614 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20405793 passed 2025-08-12 01:43:17,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:43:17,760 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-20405793, IP 180.60.60.195, Port 22 2025-08-12 01:43:17,937 - DEBUG - VM ctest-vn1-vm1-20405793 is ready for SSH connections 2025-08-12 01:43:17,937 - INFO - Waiting for VM ctest-vn2-vm1-47829385 to be up.. 2025-08-12 01:43:18,017 - DEBUG - VM is in ACTIVE state now 2025-08-12 01:43:18,018 - INFO - VM name : ctest-vn2-vm1-47829385 2025-08-12 01:43:18,098 - DEBUG - VM ctest-vn2-vm1-47829385 ID is 976e7fd9-6e64-47b7-8163-d973ec3896da 2025-08-12 01:43:18,098 - DEBUG - VM ctest-vn2-vm1-47829385 launched on Node cn-jenkins-deploy-platform-ansible-os-3828-1 2025-08-12 01:43:18,161 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/976e7fd9-6e64-47b7-8163-d973ec3896da 2025-08-12 01:43:18,168 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/98f7600f-5924-4998-bf06-c8290b2404b8 2025-08-12 01:43:19,399 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.383 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.383/1.447/2.511/1.064 ms') 2025-08-12 01:43:19,399 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-47829385 passed 2025-08-12 01:43:19,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:43:19,552 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-47829385, IP 41.139.122.67, Port 22 2025-08-12 01:43:19,711 - DEBUG - VM ctest-vn2-vm1-47829385 is ready for SSH connections 2025-08-12 01:43:19,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:43:19,712 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.139.122.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-12 01:43:19,712 - DEBUG - ping -s 56 -c 3 -W 1 41.139.122.67 2025-08-12 01:43:24,343 - DEBUG - PING 41.139.122.67 (41.139.122.67): 56 data bytes --- 41.139.122.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-12 01:43:24,343 - WARNING - Ping to IP 41.139.122.67 from VM ctest-vn1-vm1-20405793 failed 2025-08-12 01:43:24,343 - INFO - Adding interface with subnet_id ecd87bc9-6a80-4d74-9b88-adf53c351a47, port_id None to router 650446d1-c6fa-4544-bb59-98929cbc7d7c 2025-08-12 01:43:24,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:43:24,574 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.139.122.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-12 01:43:24,574 - DEBUG - ping -s 56 -c 3 -W 1 41.139.122.67 2025-08-12 01:43:26,763 - DEBUG - PING 41.139.122.67 (41.139.122.67): 56 data bytes 64 bytes from 41.139.122.67: seq=0 ttl=63 time=2.326 ms 64 bytes from 41.139.122.67: seq=1 ttl=63 time=0.917 ms 64 bytes from 41.139.122.67: seq=2 ttl=63 time=0.700 ms --- 41.139.122.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.700/1.314/2.326 ms 2025-08-12 01:43:26,763 - INFO - Ping to IP 41.139.122.67 from VM ctest-vn1-vm1-20405793 passed 2025-08-12 01:43:26,763 - INFO - Deleting interface with subnet_id 5f15aca4-c2d6-485c-aec5-80fb67ee242a, port_id None from router 650446d1-c6fa-4544-bb59-98929cbc7d7c 2025-08-12 01:43:26,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:43:26,878 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.139.122.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-12 01:43:26,879 - DEBUG - ping -s 56 -c 3 -W 1 41.139.122.67 2025-08-12 01:43:30,068 - DEBUG - PING 41.139.122.67 (41.139.122.67): 56 data bytes --- 41.139.122.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-12 01:43:30,068 - WARNING - Ping to IP 41.139.122.67 from VM ctest-vn1-vm1-20405793 failed 2025-08-12 01:43:30,068 - INFO - Adding interface with subnet_id 5f15aca4-c2d6-485c-aec5-80fb67ee242a, port_id None to router 650446d1-c6fa-4544-bb59-98929cbc7d7c 2025-08-12 01:43:30,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 01:43:30,300 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.139.122.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-12 01:43:30,300 - DEBUG - ping -s 56 -c 3 -W 1 41.139.122.67 2025-08-12 01:43:33,507 - DEBUG - PING 41.139.122.67 (41.139.122.67): 56 data bytes 64 bytes from 41.139.122.67: seq=1 ttl=63 time=1.526 ms 64 bytes from 41.139.122.67: seq=2 ttl=63 time=0.745 ms --- 41.139.122.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.745/1.135/1.526 ms 2025-08-12 01:43:33,507 - WARNING - Ping to IP 41.139.122.67 from VM ctest-vn1-vm1-20405793 failed 2025-08-12 01:43:34,508 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.139.122.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-12 01:43:34,508 - DEBUG - ping -s 56 -c 3 -W 1 41.139.122.67 2025-08-12 01:43:36,706 - DEBUG - PING 41.139.122.67 (41.139.122.67): 56 data bytes 64 bytes from 41.139.122.67: seq=0 ttl=63 time=1.449 ms 64 bytes from 41.139.122.67: seq=1 ttl=63 time=0.769 ms 64 bytes from 41.139.122.67: seq=2 ttl=63 time=0.810 ms --- 41.139.122.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.769/1.009/1.449 ms 2025-08-12 01:43:36,706 - INFO - Ping to IP 41.139.122.67 from VM ctest-vn1-vm1-20405793 passed 2025-08-12 01:43:36,706 - INFO - Deleting interface with subnet_id ecd87bc9-6a80-4d74-9b88-adf53c351a47, port_id None from router 650446d1-c6fa-4544-bb59-98929cbc7d7c 2025-08-12 01:43:36,836 - INFO - Deleting interface with subnet_id 5f15aca4-c2d6-485c-aec5-80fb67ee242a, port_id None from router 650446d1-c6fa-4544-bb59-98929cbc7d7c 2025-08-12 01:43:37,039 - INFO - Deleting VM ctest-vn2-vm1-47829385 2025-08-12 01:43:37,111 - INFO - Deleting VM ctest-vn1-vm1-20405793 2025-08-12 01:43:37,187 - INFO - Deleting VN ctest-vn2-00716563 2025-08-12 01:43:37,223 - DEBUG - VN 87030898-b2af-40bf-a963-ce94cef00d72 still in use: Unable to complete operation on network 87030898-b2af-40bf-a963-ce94cef00d72. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0ceba9fb-af60-40c1-9afa-27d2ee760405'] 2025-08-12 01:43:37,223 - WARNING - Deleting VN ctest-vn2-00716563 failed..Will retry 2025-08-12 01:43:39,321 - DEBUG - Response for deleting network () 2025-08-12 01:43:39,322 - INFO - Deleting VN ctest-vn1-82009879 2025-08-12 01:43:39,422 - DEBUG - Response for deleting network () 2025-08-12 01:43:39,685 - DEBUG - No XMPP flaps were noticed during the test 2025-08-12 01:43:39,685 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-08-12 01:43:39,685 - INFO - -------------------------------------------------------------------------------- 2025-08-12 01:43:40,369 - INFO - Deleted project: ctest-TestRouters-69895469, ID : faf87dcd-bb09-42e4-be57-8224beeb997c