2025-11-10 10:15:12,886 - INFO - Domain Default found not creating 2025-11-10 10:15:13,045 - INFO - Project ctest-TestRouters-93468998 not found, creating it 2025-11-10 10:15:13,512 - INFO - Created Project:ctest-TestRouters-93468998, ID : e3857051-9fad-418c-b8a5-3d857a19ab6e 2025-11-10 10:15:15,111 - INFO - ================================================================================ 2025-11-10 10:15:15,111 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-10 10:15:15,111 - 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-10 10:15:15,381 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-10 10:15:15,381 - INFO - Initial checks done. Running the testcase now 2025-11-10 10:15:15,382 - INFO - 2025-11-10 10:15:15,960 - DEBUG - Response for create_network : {'network': {'id': 'd3fe5865-7472-48b9-985f-f16488dc3471', 'name': 'ctest-vn1-44986781', 'tenant_id': 'e38570519fad418cb8a53d857a19ab6e', 'project_id': 'e38570519fad418cb8a53d857a19ab6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-93468998', 'ctest-vn1-44986781'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 10:15:16,121 - DEBUG - Response for create_subnet : {'subnet': {'id': '3823dd41-7698-435a-823d-f4d9f93ae8f1', 'name': '', 'tenant_id': 'e38570519fad418cb8a53d857a19ab6e', 'network_id': 'd3fe5865-7472-48b9-985f-f16488dc3471', 'ip_version': 4, 'cidr': '70.98.183.64/26', 'allocation_pools': [{'start': '70.98.183.66', 'end': '70.98.183.126'}], 'gateway_ip': '70.98.183.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.98.183.66', 'tags': [], 'project_id': 'e38570519fad418cb8a53d857a19ab6e'}} 2025-11-10 10:15:16,136 - INFO - Created VN ctest-vn1-44986781 2025-11-10 10:15:16,188 - DEBUG - VN ctest-vn1-44986781 UUID is d3fe5865-7472-48b9-985f-f16488dc3471 2025-11-10 10:15:16,539 - DEBUG - Response for create_network : {'network': {'id': 'e38293b3-a90f-4dcd-830b-3960de59673a', 'name': 'ctest-vn2-31923732', 'tenant_id': 'e38570519fad418cb8a53d857a19ab6e', 'project_id': 'e38570519fad418cb8a53d857a19ab6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-93468998', 'ctest-vn2-31923732'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 10:15:16,729 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef1e9b1c-21f6-42e3-9c8a-854d5a19b530', 'name': '', 'tenant_id': 'e38570519fad418cb8a53d857a19ab6e', 'network_id': 'e38293b3-a90f-4dcd-830b-3960de59673a', 'ip_version': 4, 'cidr': '131.222.93.64/26', 'allocation_pools': [{'start': '131.222.93.66', 'end': '131.222.93.126'}], 'gateway_ip': '131.222.93.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.222.93.66', 'tags': [], 'project_id': 'e38570519fad418cb8a53d857a19ab6e'}} 2025-11-10 10:15:16,747 - INFO - Created VN ctest-vn2-31923732 2025-11-10 10:15:16,804 - DEBUG - VN ctest-vn2-31923732 UUID is e38293b3-a90f-4dcd-830b-3960de59673a 2025-11-10 10:15:16,983 - DEBUG - Services list from nova: [, , ] 2025-11-10 10:15:18,022 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4679-1) 2025-11-10 10:15:19,429 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4679-1) 2025-11-10 10:15:19,500 - INFO - Adding interface with subnet_id 3823dd41-7698-435a-823d-f4d9f93ae8f1, port_id None to router 51f79978-da2c-4749-932c-8522a70f4d8c 2025-11-10 10:15:19,775 - INFO - Waiting for VM ctest-vn1-vm1-12410997 to be up.. 2025-11-10 10:15:19,861 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 10:15:24,933 - DEBUG - VM is in ACTIVE state now 2025-11-10 10:15:24,933 - INFO - VM name : ctest-vn1-vm1-12410997 2025-11-10 10:15:25,009 - DEBUG - VM ctest-vn1-vm1-12410997 ID is fa3f1ef2-1166-4e9a-9802-69efe7cfe8e8 2025-11-10 10:15:25,031 - DEBUG - VM ctest-vn1-vm1-12410997 launched on Node cn-jenkins-deploy-platform-ansible-os-4679-1 2025-11-10 10:15:25,107 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fa3f1ef2-1166-4e9a-9802-69efe7cfe8e8 2025-11-10 10:15:25,433 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fa3f1ef2-1166-4e9a-9802-69efe7cfe8e8 2025-11-10 10:15:25,506 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/52ea6d2e-3ee0-4038-9975-062fc305bbb9 2025-11-10 10:15:28,773 - 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=2 ttl=63 time=9.88 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 9.877/9.877/9.877/0.000 ms') 2025-11-10 10:15:28,773 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12410997 passed 2025-11-10 10:15:28,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 10:15:28,928 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12410997, IP 70.98.183.67, Port 22 2025-11-10 10:15:29,084 - DEBUG - VM ctest-vn1-vm1-12410997 is ready for SSH connections 2025-11-10 10:15:29,084 - INFO - Waiting for VM ctest-vn2-vm1-96747712 to be up.. 2025-11-10 10:15:29,152 - DEBUG - VM is in ACTIVE state now 2025-11-10 10:15:29,152 - INFO - VM name : ctest-vn2-vm1-96747712 2025-11-10 10:15:29,222 - DEBUG - VM ctest-vn2-vm1-96747712 ID is 7e37626d-31e7-49ac-9d40-f50dd3a956ad 2025-11-10 10:15:29,223 - DEBUG - VM ctest-vn2-vm1-96747712 launched on Node cn-jenkins-deploy-platform-ansible-os-4679-1 2025-11-10 10:15:29,306 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7e37626d-31e7-49ac-9d40-f50dd3a956ad 2025-11-10 10:15:29,316 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1aeab900-915e-4c3d-b8e6-16773a0f3b02 2025-11-10 10:15:30,553 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.598 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.598/1.978/3.358/1.380 ms') 2025-11-10 10:15:30,554 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-96747712 passed 2025-11-10 10:15:30,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 10:15:30,700 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-96747712, IP 131.222.93.67, Port 22 2025-11-10 10:15:30,856 - DEBUG - VM ctest-vn2-vm1-96747712 is ready for SSH connections 2025-11-10 10:15:30,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 10:15:30,856 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.222.93.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-10 10:15:30,856 - DEBUG - ping -s 56 -c 3 -W 1 131.222.93.67 2025-11-10 10:15:35,420 - DEBUG - PING 131.222.93.67 (131.222.93.67): 56 data bytes --- 131.222.93.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-10 10:15:35,420 - WARNING - Ping to IP 131.222.93.67 from VM ctest-vn1-vm1-12410997 failed 2025-11-10 10:15:35,420 - INFO - Adding interface with subnet_id ef1e9b1c-21f6-42e3-9c8a-854d5a19b530, port_id None to router 51f79978-da2c-4749-932c-8522a70f4d8c 2025-11-10 10:15:35,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 10:15:35,735 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.222.93.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-10 10:15:35,735 - DEBUG - ping -s 56 -c 3 -W 1 131.222.93.67 2025-11-10 10:15:37,862 - DEBUG - PING 131.222.93.67 (131.222.93.67): 56 data bytes 64 bytes from 131.222.93.67: seq=0 ttl=63 time=2.780 ms 64 bytes from 131.222.93.67: seq=1 ttl=63 time=1.340 ms 64 bytes from 131.222.93.67: seq=2 ttl=63 time=1.089 ms --- 131.222.93.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.089/1.736/2.780 ms 2025-11-10 10:15:37,862 - INFO - Ping to IP 131.222.93.67 from VM ctest-vn1-vm1-12410997 passed 2025-11-10 10:15:37,863 - INFO - Deleting interface with subnet_id 3823dd41-7698-435a-823d-f4d9f93ae8f1, port_id None from router 51f79978-da2c-4749-932c-8522a70f4d8c 2025-11-10 10:15:37,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 10:15:37,977 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.222.93.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-10 10:15:37,977 - DEBUG - ping -s 56 -c 3 -W 1 131.222.93.67 2025-11-10 10:15:41,099 - DEBUG - PING 131.222.93.67 (131.222.93.67): 56 data bytes --- 131.222.93.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-10 10:15:41,100 - WARNING - Ping to IP 131.222.93.67 from VM ctest-vn1-vm1-12410997 failed 2025-11-10 10:15:41,100 - INFO - Adding interface with subnet_id 3823dd41-7698-435a-823d-f4d9f93ae8f1, port_id None to router 51f79978-da2c-4749-932c-8522a70f4d8c 2025-11-10 10:15:41,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 10:15:41,317 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.222.93.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-10 10:15:41,317 - DEBUG - ping -s 56 -c 3 -W 1 131.222.93.67 2025-11-10 10:15:43,442 - DEBUG - PING 131.222.93.67 (131.222.93.67): 56 data bytes 64 bytes from 131.222.93.67: seq=0 ttl=63 time=2.103 ms 64 bytes from 131.222.93.67: seq=1 ttl=63 time=0.844 ms 64 bytes from 131.222.93.67: seq=2 ttl=63 time=0.852 ms --- 131.222.93.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/1.266/2.103 ms 2025-11-10 10:15:43,442 - INFO - Ping to IP 131.222.93.67 from VM ctest-vn1-vm1-12410997 passed 2025-11-10 10:15:43,442 - INFO - Deleting interface with subnet_id ef1e9b1c-21f6-42e3-9c8a-854d5a19b530, port_id None from router 51f79978-da2c-4749-932c-8522a70f4d8c 2025-11-10 10:15:43,561 - INFO - Deleting interface with subnet_id 3823dd41-7698-435a-823d-f4d9f93ae8f1, port_id None from router 51f79978-da2c-4749-932c-8522a70f4d8c 2025-11-10 10:15:43,737 - INFO - Deleting VM ctest-vn2-vm1-96747712 2025-11-10 10:15:43,805 - INFO - Deleting VM ctest-vn1-vm1-12410997 2025-11-10 10:15:43,877 - INFO - Deleting VN ctest-vn2-31923732 2025-11-10 10:15:43,908 - DEBUG - VN e38293b3-a90f-4dcd-830b-3960de59673a still in use: Unable to complete operation on network e38293b3-a90f-4dcd-830b-3960de59673a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2a493cf9-ef4e-489b-986b-12280bc4cee7'] 2025-11-10 10:15:43,908 - WARNING - Deleting VN ctest-vn2-31923732 failed..Will retry 2025-11-10 10:15:46,012 - DEBUG - Response for deleting network () 2025-11-10 10:15:46,013 - INFO - Deleting VN ctest-vn1-44986781 2025-11-10 10:15:46,107 - DEBUG - Response for deleting network () 2025-11-10 10:15:46,361 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 10:15:46,361 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:31]
2025-11-10 10:15:46,362 - INFO - -------------------------------------------------------------------------------- 2025-11-10 10:15:47,059 - INFO - Deleted project: ctest-TestRouters-93468998, ID : e3857051-9fad-418c-b8a5-3d857a19ab6e