2025-11-17 22:49:56,278 - INFO - Domain Default found not creating 2025-11-17 22:49:56,491 - INFO - Project ctest-TestRouters-71538233 not found, creating it 2025-11-17 22:49:56,936 - INFO - Created Project:ctest-TestRouters-71538233, ID : d31482a2-e260-4a68-8750-8bf7f91bf40a 2025-11-17 22:49:58,378 - INFO - ================================================================================ 2025-11-17 22:49:58,379 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-17 22:49:58,379 - 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-11-17 22:49:58,632 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-11-17 22:49:58,632 - INFO - Initial checks done. Running the testcase now 2025-11-17 22:49:58,632 - INFO - 2025-11-17 22:49:59,171 - DEBUG - Response for create_network : {'network': {'id': '07fb3d57-6130-4a8c-8618-cd348be1e64c', 'name': 'ctest-vn1-30244266', 'tenant_id': 'd31482a2e2604a6887508bf7f91bf40a', 'project_id': 'd31482a2e2604a6887508bf7f91bf40a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-71538233', 'ctest-vn1-30244266'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 22:49:59,328 - DEBUG - Response for create_subnet : {'subnet': {'id': '62735349-2633-44f4-9f07-ea1d4627b387', 'name': '', 'tenant_id': 'd31482a2e2604a6887508bf7f91bf40a', 'network_id': '07fb3d57-6130-4a8c-8618-cd348be1e64c', 'ip_version': 4, 'cidr': '123.255.90.192/26', 'allocation_pools': [{'start': '123.255.90.194', 'end': '123.255.90.254'}], 'gateway_ip': '123.255.90.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.255.90.194', 'tags': [], 'project_id': 'd31482a2e2604a6887508bf7f91bf40a'}} 2025-11-17 22:49:59,342 - INFO - Created VN ctest-vn1-30244266 2025-11-17 22:49:59,395 - DEBUG - VN ctest-vn1-30244266 UUID is 07fb3d57-6130-4a8c-8618-cd348be1e64c 2025-11-17 22:49:59,710 - DEBUG - Response for create_network : {'network': {'id': 'befa2629-9521-4e25-888d-6fc72b86dabf', 'name': 'ctest-vn2-41512725', 'tenant_id': 'd31482a2e2604a6887508bf7f91bf40a', 'project_id': 'd31482a2e2604a6887508bf7f91bf40a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-71538233', 'ctest-vn2-41512725'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 22:49:59,920 - DEBUG - Response for create_subnet : {'subnet': {'id': '80c151cc-830d-40b5-b3a5-d9607ac1feb0', 'name': '', 'tenant_id': 'd31482a2e2604a6887508bf7f91bf40a', 'network_id': 'befa2629-9521-4e25-888d-6fc72b86dabf', 'ip_version': 4, 'cidr': '116.33.176.64/26', 'allocation_pools': [{'start': '116.33.176.66', 'end': '116.33.176.126'}], 'gateway_ip': '116.33.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.33.176.66', 'tags': [], 'project_id': 'd31482a2e2604a6887508bf7f91bf40a'}} 2025-11-17 22:49:59,941 - INFO - Created VN ctest-vn2-41512725 2025-11-17 22:49:59,999 - DEBUG - VN ctest-vn2-41512725 UUID is befa2629-9521-4e25-888d-6fc72b86dabf 2025-11-17 22:50:00,235 - DEBUG - Services list from nova: [, , ] 2025-11-17 22:50:01,176 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4749-1) 2025-11-17 22:50:02,333 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4749-1) 2025-11-17 22:50:02,387 - INFO - Adding interface with subnet_id 62735349-2633-44f4-9f07-ea1d4627b387, port_id None to router 7da4403a-1a04-4093-b47d-641d0956fb5f 2025-11-17 22:50:02,678 - INFO - Waiting for VM ctest-vn1-vm1-36897741 to be up.. 2025-11-17 22:50:02,768 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 22:50:07,832 - DEBUG - VM is in ACTIVE state now 2025-11-17 22:50:07,832 - INFO - VM name : ctest-vn1-vm1-36897741 2025-11-17 22:50:07,893 - DEBUG - VM ctest-vn1-vm1-36897741 ID is ffdae985-3eb8-460a-bb1b-c44f7825a066 2025-11-17 22:50:07,909 - DEBUG - VM ctest-vn1-vm1-36897741 launched on Node cn-jenkins-deploy-platform-ansible-os-4749-1 2025-11-17 22:50:07,969 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ffdae985-3eb8-460a-bb1b-c44f7825a066 2025-11-17 22:50:08,257 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ffdae985-3eb8-460a-bb1b-c44f7825a066 2025-11-17 22:50:08,284 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e55e7b21-bea9-45d7-b47d-cfaeb26f9715 2025-11-17 22:50:11,515 - 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 1008ms') 2025-11-17 22:50:11,515 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36897741 failed! 2025-11-17 22:50:11,567 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-71538233:ctest-vn1-30244266 is 123.255.90.193 and allocation pool is NOT set 2025-11-17 22:50:13,628 - 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=2.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 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.419/1.521/2.623/1.102 ms') 2025-11-17 22:50:13,628 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36897741 passed 2025-11-17 22:50:13,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:50:13,775 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36897741, IP 123.255.90.195, Port 22 2025-11-17 22:50:13,926 - DEBUG - VM ctest-vn1-vm1-36897741 is ready for SSH connections 2025-11-17 22:50:13,926 - INFO - Waiting for VM ctest-vn2-vm1-74364147 to be up.. 2025-11-17 22:50:13,991 - DEBUG - VM is in ACTIVE state now 2025-11-17 22:50:13,991 - INFO - VM name : ctest-vn2-vm1-74364147 2025-11-17 22:50:14,052 - DEBUG - VM ctest-vn2-vm1-74364147 ID is 4cf29780-996c-4d54-9ed3-a915e88931da 2025-11-17 22:50:14,052 - DEBUG - VM ctest-vn2-vm1-74364147 launched on Node cn-jenkins-deploy-platform-ansible-os-4749-1 2025-11-17 22:50:14,111 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4cf29780-996c-4d54-9ed3-a915e88931da 2025-11-17 22:50:14,118 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8327c9da-b67d-4903-b950-7aa725f69f51 2025-11-17 22:50:15,346 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.271 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.271/1.635/3.000/1.364 ms') 2025-11-17 22:50:15,346 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-74364147 passed 2025-11-17 22:50:15,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:50:15,495 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-74364147, IP 116.33.176.67, Port 22 2025-11-17 22:50:15,654 - DEBUG - VM ctest-vn2-vm1-74364147 is ready for SSH connections 2025-11-17 22:50:15,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:50:15,654 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.33.176.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 22:50:15,654 - DEBUG - ping -s 56 -c 3 -W 1 116.33.176.67 2025-11-17 22:50:20,545 - DEBUG - PING 116.33.176.67 (116.33.176.67): 56 data bytes --- 116.33.176.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 22:50:20,545 - WARNING - Ping to IP 116.33.176.67 from VM ctest-vn1-vm1-36897741 failed 2025-11-17 22:50:20,545 - INFO - Adding interface with subnet_id 80c151cc-830d-40b5-b3a5-d9607ac1feb0, port_id None to router 7da4403a-1a04-4093-b47d-641d0956fb5f 2025-11-17 22:50:20,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:50:20,758 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.33.176.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 22:50:20,758 - DEBUG - ping -s 56 -c 3 -W 1 116.33.176.67 2025-11-17 22:50:22,963 - DEBUG - PING 116.33.176.67 (116.33.176.67): 56 data bytes 64 bytes from 116.33.176.67: seq=0 ttl=63 time=2.292 ms 64 bytes from 116.33.176.67: seq=1 ttl=63 time=0.812 ms 64 bytes from 116.33.176.67: seq=2 ttl=63 time=0.754 ms --- 116.33.176.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.754/1.286/2.292 ms 2025-11-17 22:50:22,963 - INFO - Ping to IP 116.33.176.67 from VM ctest-vn1-vm1-36897741 passed 2025-11-17 22:50:22,963 - INFO - Deleting interface with subnet_id 62735349-2633-44f4-9f07-ea1d4627b387, port_id None from router 7da4403a-1a04-4093-b47d-641d0956fb5f 2025-11-17 22:50:23,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:50:23,059 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.33.176.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 22:50:23,059 - DEBUG - ping -s 56 -c 3 -W 1 116.33.176.67 2025-11-17 22:50:26,250 - DEBUG - PING 116.33.176.67 (116.33.176.67): 56 data bytes --- 116.33.176.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 22:50:26,250 - WARNING - Ping to IP 116.33.176.67 from VM ctest-vn1-vm1-36897741 failed 2025-11-17 22:50:26,250 - INFO - Adding interface with subnet_id 62735349-2633-44f4-9f07-ea1d4627b387, port_id None to router 7da4403a-1a04-4093-b47d-641d0956fb5f 2025-11-17 22:50:26,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:50:26,430 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.33.176.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 22:50:26,430 - DEBUG - ping -s 56 -c 3 -W 1 116.33.176.67 2025-11-17 22:50:29,625 - DEBUG - PING 116.33.176.67 (116.33.176.67): 56 data bytes 64 bytes from 116.33.176.67: seq=1 ttl=63 time=1.317 ms 64 bytes from 116.33.176.67: seq=2 ttl=63 time=0.875 ms --- 116.33.176.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.875/1.096/1.317 ms 2025-11-17 22:50:29,625 - WARNING - Ping to IP 116.33.176.67 from VM ctest-vn1-vm1-36897741 failed 2025-11-17 22:50:30,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.33.176.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 22:50:30,626 - DEBUG - ping -s 56 -c 3 -W 1 116.33.176.67 2025-11-17 22:50:32,821 - DEBUG - PING 116.33.176.67 (116.33.176.67): 56 data bytes 64 bytes from 116.33.176.67: seq=0 ttl=63 time=1.411 ms 64 bytes from 116.33.176.67: seq=1 ttl=63 time=1.013 ms 64 bytes from 116.33.176.67: seq=2 ttl=63 time=0.739 ms --- 116.33.176.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.739/1.054/1.411 ms 2025-11-17 22:50:32,822 - INFO - Ping to IP 116.33.176.67 from VM ctest-vn1-vm1-36897741 passed 2025-11-17 22:50:32,822 - INFO - Deleting interface with subnet_id 80c151cc-830d-40b5-b3a5-d9607ac1feb0, port_id None from router 7da4403a-1a04-4093-b47d-641d0956fb5f 2025-11-17 22:50:32,919 - INFO - Deleting interface with subnet_id 62735349-2633-44f4-9f07-ea1d4627b387, port_id None from router 7da4403a-1a04-4093-b47d-641d0956fb5f 2025-11-17 22:50:33,057 - INFO - Deleting VM ctest-vn2-vm1-74364147 2025-11-17 22:50:33,116 - INFO - Deleting VM ctest-vn1-vm1-36897741 2025-11-17 22:50:33,179 - INFO - Deleting VN ctest-vn2-41512725 2025-11-17 22:50:33,211 - DEBUG - VN befa2629-9521-4e25-888d-6fc72b86dabf still in use: Unable to complete operation on network befa2629-9521-4e25-888d-6fc72b86dabf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3b68e72c-2b13-4bb4-a6b9-16064794b80f'] 2025-11-17 22:50:33,211 - WARNING - Deleting VN ctest-vn2-41512725 failed..Will retry 2025-11-17 22:50:35,291 - DEBUG - Response for deleting network () 2025-11-17 22:50:35,291 - INFO - Deleting VN ctest-vn1-30244266 2025-11-17 22:50:35,367 - DEBUG - Response for deleting network () 2025-11-17 22:50:35,615 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 22:50:35,615 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-11-17 22:50:35,615 - INFO - -------------------------------------------------------------------------------- 2025-11-17 22:50:36,253 - INFO - Deleted project: ctest-TestRouters-71538233, ID : d31482a2-e260-4a68-8750-8bf7f91bf40a