2025-11-12 14:36:51,374 - INFO - Domain Default found not creating 2025-11-12 14:36:51,544 - INFO - Project ctest-TestRouters-42509771 not found, creating it 2025-11-12 14:36:52,061 - INFO - Created Project:ctest-TestRouters-42509771, ID : 700a3298-6ad1-4a7e-b854-c6fcd8e99360 2025-11-12 14:36:53,708 - INFO - ================================================================================ 2025-11-12 14:36:53,708 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-12 14:36:53,708 - 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-12 14:36:53,969 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with 2025-11-12 14:36:53,969 - INFO - Initial checks done. Running the testcase now 2025-11-12 14:36:53,969 - INFO - 2025-11-12 14:36:54,601 - DEBUG - Response for create_network : {'network': {'id': 'f2b520f8-47aa-480f-bfc9-6b62222f3147', 'name': 'ctest-vn1-73555414', 'tenant_id': '700a32986ad14a7eb854c6fcd8e99360', 'project_id': '700a32986ad14a7eb854c6fcd8e99360', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-42509771', 'ctest-vn1-73555414'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 14:36:54,816 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b68e635-4478-4dac-b220-59f964a35de8', 'name': '', 'tenant_id': '700a32986ad14a7eb854c6fcd8e99360', 'network_id': 'f2b520f8-47aa-480f-bfc9-6b62222f3147', 'ip_version': 4, 'cidr': '115.216.26.192/26', 'allocation_pools': [{'start': '115.216.26.194', 'end': '115.216.26.254'}], 'gateway_ip': '115.216.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.216.26.194', 'tags': [], 'project_id': '700a32986ad14a7eb854c6fcd8e99360'}} 2025-11-12 14:36:54,840 - INFO - Created VN ctest-vn1-73555414 2025-11-12 14:36:54,894 - DEBUG - VN ctest-vn1-73555414 UUID is f2b520f8-47aa-480f-bfc9-6b62222f3147 2025-11-12 14:36:55,249 - DEBUG - Response for create_network : {'network': {'id': '54299493-aaa8-40c3-89a7-33991615060b', 'name': 'ctest-vn2-00095961', 'tenant_id': '700a32986ad14a7eb854c6fcd8e99360', 'project_id': '700a32986ad14a7eb854c6fcd8e99360', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-42509771', 'ctest-vn2-00095961'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 14:36:55,445 - DEBUG - Response for create_subnet : {'subnet': {'id': '07ae7384-5d06-4421-8919-15d6ed085fa6', 'name': '', 'tenant_id': '700a32986ad14a7eb854c6fcd8e99360', 'network_id': '54299493-aaa8-40c3-89a7-33991615060b', 'ip_version': 4, 'cidr': '104.192.52.128/26', 'allocation_pools': [{'start': '104.192.52.130', 'end': '104.192.52.190'}], 'gateway_ip': '104.192.52.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.192.52.130', 'tags': [], 'project_id': '700a32986ad14a7eb854c6fcd8e99360'}} 2025-11-12 14:36:55,470 - INFO - Created VN ctest-vn2-00095961 2025-11-12 14:36:55,526 - DEBUG - VN ctest-vn2-00095961 UUID is 54299493-aaa8-40c3-89a7-33991615060b 2025-11-12 14:36:55,701 - DEBUG - Services list from nova: [, , ] 2025-11-12 14:36:56,817 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4704-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4704-1) 2025-11-12 14:36:58,246 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4704-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4704-1) 2025-11-12 14:36:58,329 - INFO - Adding interface with subnet_id 7b68e635-4478-4dac-b220-59f964a35de8, port_id None to router 0d9bf6f6-d0d6-4055-ac5e-752659d908bc 2025-11-12 14:36:58,638 - INFO - Waiting for VM ctest-vn1-vm1-76307945 to be up.. 2025-11-12 14:36:58,765 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 14:37:03,900 - DEBUG - VM is in ACTIVE state now 2025-11-12 14:37:03,900 - INFO - VM name : ctest-vn1-vm1-76307945 2025-11-12 14:37:04,036 - DEBUG - VM ctest-vn1-vm1-76307945 ID is 0b1e5af0-4898-47fb-8599-0521549319fa 2025-11-12 14:37:04,063 - DEBUG - VM ctest-vn1-vm1-76307945 launched on Node cn-jenkins-deploy-platform-ansible-os-4704-1 2025-11-12 14:37:04,176 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/0b1e5af0-4898-47fb-8599-0521549319fa 2025-11-12 14:37:04,590 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/0b1e5af0-4898-47fb-8599-0521549319fa 2025-11-12 14:37:04,633 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/a30904a6-2810-4f6d-94a5-a0f68c8584c3 2025-11-12 14:37:07,964 - 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 1021ms') 2025-11-12 14:37:07,965 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76307945 failed! 2025-11-12 14:37:08,030 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-42509771:ctest-vn1-73555414 is 115.216.26.193 and allocation pool is NOT set 2025-11-12 14:37:12,127 - 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 1027ms') 2025-11-12 14:37:12,127 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76307945 failed! 2025-11-12 14:37:12,190 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-42509771:ctest-vn1-73555414 is 115.216.26.193 and allocation pool is NOT set 2025-11-12 14:37:14,261 - 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=5.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.17 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 = 1.174/3.185/5.196/2.011 ms') 2025-11-12 14:37:14,261 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76307945 passed 2025-11-12 14:37:14,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:37:14,435 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76307945, IP 115.216.26.195, Port 22 2025-11-12 14:37:14,605 - DEBUG - VM ctest-vn1-vm1-76307945 is ready for SSH connections 2025-11-12 14:37:14,605 - INFO - Waiting for VM ctest-vn2-vm1-90764962 to be up.. 2025-11-12 14:37:14,702 - DEBUG - VM is in ACTIVE state now 2025-11-12 14:37:14,703 - INFO - VM name : ctest-vn2-vm1-90764962 2025-11-12 14:37:14,798 - DEBUG - VM ctest-vn2-vm1-90764962 ID is 2658b7cb-6c80-441b-b9f5-7f1498aa9704 2025-11-12 14:37:14,798 - DEBUG - VM ctest-vn2-vm1-90764962 launched on Node cn-jenkins-deploy-platform-ansible-os-4704-1 2025-11-12 14:37:14,905 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/2658b7cb-6c80-441b-b9f5-7f1498aa9704 2025-11-12 14:37:14,918 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/9bd58faa-57d0-4ef9-afda-c34c932a6ee7 2025-11-12 14:37:16,171 - 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=4.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.621 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.621/2.434/4.247/1.813 ms') 2025-11-12 14:37:16,171 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-90764962 passed 2025-11-12 14:37:16,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:37:16,326 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-90764962, IP 104.192.52.131, Port 22 2025-11-12 14:37:16,500 - DEBUG - VM ctest-vn2-vm1-90764962 is ready for SSH connections 2025-11-12 14:37:16,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:37:16,501 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.192.52.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-11-12 14:37:16,501 - DEBUG - ping -s 56 -c 3 -W 1 104.192.52.131 2025-11-12 14:37:21,776 - DEBUG - PING 104.192.52.131 (104.192.52.131): 56 data bytes --- 104.192.52.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 14:37:21,776 - WARNING - Ping to IP 104.192.52.131 from VM ctest-vn1-vm1-76307945 failed 2025-11-12 14:37:21,776 - INFO - Adding interface with subnet_id 07ae7384-5d06-4421-8919-15d6ed085fa6, port_id None to router 0d9bf6f6-d0d6-4055-ac5e-752659d908bc 2025-11-12 14:37:22,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:37:22,071 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.192.52.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-11-12 14:37:22,071 - DEBUG - ping -s 56 -c 3 -W 1 104.192.52.131 2025-11-12 14:37:24,308 - DEBUG - PING 104.192.52.131 (104.192.52.131): 56 data bytes 64 bytes from 104.192.52.131: seq=0 ttl=63 time=2.619 ms 64 bytes from 104.192.52.131: seq=1 ttl=63 time=0.997 ms 64 bytes from 104.192.52.131: seq=2 ttl=63 time=0.988 ms --- 104.192.52.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.988/1.534/2.619 ms 2025-11-12 14:37:24,308 - INFO - Ping to IP 104.192.52.131 from VM ctest-vn1-vm1-76307945 passed 2025-11-12 14:37:24,308 - INFO - Deleting interface with subnet_id 7b68e635-4478-4dac-b220-59f964a35de8, port_id None from router 0d9bf6f6-d0d6-4055-ac5e-752659d908bc 2025-11-12 14:37:24,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:37:24,475 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.192.52.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-11-12 14:37:24,475 - DEBUG - ping -s 56 -c 3 -W 1 104.192.52.131 2025-11-12 14:37:27,684 - DEBUG - PING 104.192.52.131 (104.192.52.131): 56 data bytes --- 104.192.52.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 14:37:27,684 - WARNING - Ping to IP 104.192.52.131 from VM ctest-vn1-vm1-76307945 failed 2025-11-12 14:37:27,685 - INFO - Adding interface with subnet_id 7b68e635-4478-4dac-b220-59f964a35de8, port_id None to router 0d9bf6f6-d0d6-4055-ac5e-752659d908bc 2025-11-12 14:37:27,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:37:27,939 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.192.52.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-11-12 14:37:27,940 - DEBUG - ping -s 56 -c 3 -W 1 104.192.52.131 2025-11-12 14:37:30,240 - DEBUG - PING 104.192.52.131 (104.192.52.131): 56 data bytes 64 bytes from 104.192.52.131: seq=0 ttl=63 time=1.656 ms 64 bytes from 104.192.52.131: seq=1 ttl=63 time=1.209 ms 64 bytes from 104.192.52.131: seq=2 ttl=63 time=0.943 ms --- 104.192.52.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.943/1.269/1.656 ms 2025-11-12 14:37:30,240 - INFO - Ping to IP 104.192.52.131 from VM ctest-vn1-vm1-76307945 passed 2025-11-12 14:37:30,240 - INFO - Deleting interface with subnet_id 07ae7384-5d06-4421-8919-15d6ed085fa6, port_id None from router 0d9bf6f6-d0d6-4055-ac5e-752659d908bc 2025-11-12 14:37:30,367 - INFO - Deleting interface with subnet_id 7b68e635-4478-4dac-b220-59f964a35de8, port_id None from router 0d9bf6f6-d0d6-4055-ac5e-752659d908bc 2025-11-12 14:37:30,573 - INFO - Deleting VM ctest-vn2-vm1-90764962 2025-11-12 14:37:30,683 - INFO - Deleting VM ctest-vn1-vm1-76307945 2025-11-12 14:37:30,769 - INFO - Deleting VN ctest-vn2-00095961 2025-11-12 14:37:30,811 - DEBUG - VN 54299493-aaa8-40c3-89a7-33991615060b still in use: Unable to complete operation on network 54299493-aaa8-40c3-89a7-33991615060b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c13105fe-8c2f-4ddb-95aa-1415e70870ae'] 2025-11-12 14:37:30,811 - WARNING - Deleting VN ctest-vn2-00095961 failed..Will retry 2025-11-12 14:37:32,911 - DEBUG - Response for deleting network () 2025-11-12 14:37:32,911 - INFO - Deleting VN ctest-vn1-73555414 2025-11-12 14:37:33,021 - DEBUG - Response for deleting network () 2025-11-12 14:37:33,277 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 14:37:33,277 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:40]
2025-11-12 14:37:33,277 - INFO - -------------------------------------------------------------------------------- 2025-11-12 14:37:34,005 - INFO - Deleted project: ctest-TestRouters-42509771, ID : 700a3298-6ad1-4a7e-b854-c6fcd8e99360