2025-09-25 15:17:05,156 - INFO - Domain Default found not creating 2025-09-25 15:17:05,274 - INFO - Project ctest-TestRouters-32005159 not found, creating it 2025-09-25 15:17:05,692 - INFO - Created Project:ctest-TestRouters-32005159, ID : 98ae0aa3-2086-4e70-9977-156bad75fb96 2025-09-25 15:17:07,107 - INFO - ================================================================================ 2025-09-25 15:17:07,107 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-25 15:17:07,107 - 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-09-25 15:17:07,369 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-25 15:17:07,369 - INFO - Initial checks done. Running the testcase now 2025-09-25 15:17:07,369 - INFO - 2025-09-25 15:17:07,900 - DEBUG - Response for create_network : {'network': {'id': 'fcead0e7-7083-464c-9596-382feee503a3', 'name': 'ctest-vn1-68114657', 'tenant_id': '98ae0aa320864e709977156bad75fb96', 'project_id': '98ae0aa320864e709977156bad75fb96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-32005159', 'ctest-vn1-68114657'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 15:17:08,069 - DEBUG - Response for create_subnet : {'subnet': {'id': '44e3bf0e-8832-412b-b823-cdfd406261b4', 'name': '', 'tenant_id': '98ae0aa320864e709977156bad75fb96', 'network_id': 'fcead0e7-7083-464c-9596-382feee503a3', 'ip_version': 4, 'cidr': '105.252.75.192/26', 'allocation_pools': [{'start': '105.252.75.194', 'end': '105.252.75.254'}], 'gateway_ip': '105.252.75.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.252.75.194', 'tags': [], 'project_id': '98ae0aa320864e709977156bad75fb96'}} 2025-09-25 15:17:08,089 - INFO - Created VN ctest-vn1-68114657 2025-09-25 15:17:08,140 - DEBUG - VN ctest-vn1-68114657 UUID is fcead0e7-7083-464c-9596-382feee503a3 2025-09-25 15:17:08,430 - DEBUG - Response for create_network : {'network': {'id': 'd0ea157b-b560-4018-9443-560aa2443a84', 'name': 'ctest-vn2-78948186', 'tenant_id': '98ae0aa320864e709977156bad75fb96', 'project_id': '98ae0aa320864e709977156bad75fb96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-32005159', 'ctest-vn2-78948186'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 15:17:08,683 - DEBUG - Response for create_subnet : {'subnet': {'id': '551a4ef5-db84-403e-b178-afa21054f153', 'name': '', 'tenant_id': '98ae0aa320864e709977156bad75fb96', 'network_id': 'd0ea157b-b560-4018-9443-560aa2443a84', 'ip_version': 4, 'cidr': '61.208.72.64/26', 'allocation_pools': [{'start': '61.208.72.66', 'end': '61.208.72.126'}], 'gateway_ip': '61.208.72.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.208.72.66', 'tags': [], 'project_id': '98ae0aa320864e709977156bad75fb96'}} 2025-09-25 15:17:08,707 - INFO - Created VN ctest-vn2-78948186 2025-09-25 15:17:08,761 - DEBUG - VN ctest-vn2-78948186 UUID is d0ea157b-b560-4018-9443-560aa2443a84 2025-09-25 15:17:09,005 - DEBUG - Services list from nova: [, , ] 2025-09-25 15:17:09,990 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4193-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4193-1) 2025-09-25 15:17:11,103 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4193-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4193-1) 2025-09-25 15:17:11,168 - INFO - Adding interface with subnet_id 44e3bf0e-8832-412b-b823-cdfd406261b4, port_id None to router 982bf04e-f422-4eef-a83e-bc71f240f72a 2025-09-25 15:17:11,396 - INFO - Waiting for VM ctest-vn1-vm1-01279547 to be up.. 2025-09-25 15:17:11,464 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-25 15:17:16,537 - DEBUG - VM is in ACTIVE state now 2025-09-25 15:17:16,537 - INFO - VM name : ctest-vn1-vm1-01279547 2025-09-25 15:17:16,606 - DEBUG - VM ctest-vn1-vm1-01279547 ID is ece5b297-4673-44e6-b2d5-651860363794 2025-09-25 15:17:16,626 - DEBUG - VM ctest-vn1-vm1-01279547 launched on Node cn-jenkins-deploy-platform-ansible-os-4193-1 2025-09-25 15:17:16,696 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ece5b297-4673-44e6-b2d5-651860363794 2025-09-25 15:17:16,984 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ece5b297-4673-44e6-b2d5-651860363794 2025-09-25 15:17:17,011 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cc575004-3787-4cc6-80e0-65ad25588ab8 2025-09-25 15:17:20,275 - 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 1029ms') 2025-09-25 15:17:20,275 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01279547 failed! 2025-09-25 15:17:20,328 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-32005159:ctest-vn1-68114657 is 105.252.75.193 and allocation pool is NOT set 2025-09-25 15:17:22,386 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.410 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.410/1.817/3.225/1.407 ms') 2025-09-25 15:17:22,386 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01279547 passed 2025-09-25 15:17:22,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 15:17:22,537 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01279547, IP 105.252.75.195, Port 22 2025-09-25 15:17:22,688 - DEBUG - VM ctest-vn1-vm1-01279547 is ready for SSH connections 2025-09-25 15:17:22,688 - INFO - Waiting for VM ctest-vn2-vm1-27000178 to be up.. 2025-09-25 15:17:22,753 - DEBUG - VM is in ACTIVE state now 2025-09-25 15:17:22,753 - INFO - VM name : ctest-vn2-vm1-27000178 2025-09-25 15:17:22,820 - DEBUG - VM ctest-vn2-vm1-27000178 ID is af29839d-ecb3-4496-9e31-b4a732335266 2025-09-25 15:17:22,820 - DEBUG - VM ctest-vn2-vm1-27000178 launched on Node cn-jenkins-deploy-platform-ansible-os-4193-1 2025-09-25 15:17:22,882 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/af29839d-ecb3-4496-9e31-b4a732335266 2025-09-25 15:17:22,889 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a110a343-955b-4896-8094-fc7c9897a399 2025-09-25 15:17:24,118 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.338 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.338/1.513/2.688/1.175 ms') 2025-09-25 15:17:24,118 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-27000178 passed 2025-09-25 15:17:24,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 15:17:24,264 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-27000178, IP 61.208.72.67, Port 22 2025-09-25 15:17:24,420 - DEBUG - VM ctest-vn2-vm1-27000178 is ready for SSH connections 2025-09-25 15:17:24,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 15:17:24,420 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.208.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-25 15:17:24,420 - DEBUG - ping -s 56 -c 3 -W 1 61.208.72.67 2025-09-25 15:17:29,334 - DEBUG - PING 61.208.72.67 (61.208.72.67): 56 data bytes --- 61.208.72.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-25 15:17:29,334 - WARNING - Ping to IP 61.208.72.67 from VM ctest-vn1-vm1-01279547 failed 2025-09-25 15:17:29,334 - INFO - Adding interface with subnet_id 551a4ef5-db84-403e-b178-afa21054f153, port_id None to router 982bf04e-f422-4eef-a83e-bc71f240f72a 2025-09-25 15:17:29,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 15:17:29,540 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.208.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-25 15:17:29,540 - DEBUG - ping -s 56 -c 3 -W 1 61.208.72.67 2025-09-25 15:17:31,741 - DEBUG - PING 61.208.72.67 (61.208.72.67): 56 data bytes 64 bytes from 61.208.72.67: seq=0 ttl=63 time=2.212 ms 64 bytes from 61.208.72.67: seq=1 ttl=63 time=0.916 ms 64 bytes from 61.208.72.67: seq=2 ttl=63 time=0.908 ms --- 61.208.72.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.908/1.345/2.212 ms 2025-09-25 15:17:31,741 - INFO - Ping to IP 61.208.72.67 from VM ctest-vn1-vm1-01279547 passed 2025-09-25 15:17:31,741 - INFO - Deleting interface with subnet_id 44e3bf0e-8832-412b-b823-cdfd406261b4, port_id None from router 982bf04e-f422-4eef-a83e-bc71f240f72a 2025-09-25 15:17:31,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 15:17:31,837 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.208.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-25 15:17:31,837 - DEBUG - ping -s 56 -c 3 -W 1 61.208.72.67 2025-09-25 15:17:35,025 - DEBUG - PING 61.208.72.67 (61.208.72.67): 56 data bytes --- 61.208.72.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-25 15:17:35,025 - WARNING - Ping to IP 61.208.72.67 from VM ctest-vn1-vm1-01279547 failed 2025-09-25 15:17:35,025 - INFO - Adding interface with subnet_id 44e3bf0e-8832-412b-b823-cdfd406261b4, port_id None to router 982bf04e-f422-4eef-a83e-bc71f240f72a 2025-09-25 15:17:35,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 15:17:35,257 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.208.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-25 15:17:35,257 - DEBUG - ping -s 56 -c 3 -W 1 61.208.72.67 2025-09-25 15:17:37,447 - DEBUG - PING 61.208.72.67 (61.208.72.67): 56 data bytes 64 bytes from 61.208.72.67: seq=0 ttl=63 time=1.355 ms 64 bytes from 61.208.72.67: seq=1 ttl=63 time=0.725 ms 64 bytes from 61.208.72.67: seq=2 ttl=63 time=0.650 ms --- 61.208.72.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.650/0.910/1.355 ms 2025-09-25 15:17:37,448 - INFO - Ping to IP 61.208.72.67 from VM ctest-vn1-vm1-01279547 passed 2025-09-25 15:17:37,448 - INFO - Deleting interface with subnet_id 551a4ef5-db84-403e-b178-afa21054f153, port_id None from router 982bf04e-f422-4eef-a83e-bc71f240f72a 2025-09-25 15:17:37,548 - INFO - Deleting interface with subnet_id 44e3bf0e-8832-412b-b823-cdfd406261b4, port_id None from router 982bf04e-f422-4eef-a83e-bc71f240f72a 2025-09-25 15:17:37,683 - INFO - Deleting VM ctest-vn2-vm1-27000178 2025-09-25 15:17:37,746 - INFO - Deleting VM ctest-vn1-vm1-01279547 2025-09-25 15:17:37,821 - INFO - Deleting VN ctest-vn2-78948186 2025-09-25 15:17:37,854 - DEBUG - VN d0ea157b-b560-4018-9443-560aa2443a84 still in use: Unable to complete operation on network d0ea157b-b560-4018-9443-560aa2443a84. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-364547ec-24f7-4a01-92bf-3537008dd674'] 2025-09-25 15:17:37,854 - WARNING - Deleting VN ctest-vn2-78948186 failed..Will retry 2025-09-25 15:17:39,939 - DEBUG - Response for deleting network () 2025-09-25 15:17:39,940 - INFO - Deleting VN ctest-vn1-68114657 2025-09-25 15:17:40,020 - DEBUG - Response for deleting network () 2025-09-25 15:17:40,272 - DEBUG - No XMPP flaps were noticed during the test 2025-09-25 15:17:40,273 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:33] 2025-09-25 15:17:40,273 - INFO - -------------------------------------------------------------------------------- 2025-09-25 15:17:40,902 - INFO - Deleted project: ctest-TestRouters-32005159, ID : 98ae0aa3-2086-4e70-9977-156bad75fb96