2025-08-12 15:58:27,620 - INFO - Domain Default found not creating 2025-08-12 15:58:27,733 - INFO - Project ctest-TestRouters-67156258 not found, creating it 2025-08-12 15:58:28,182 - INFO - Created Project:ctest-TestRouters-67156258, ID : f57e4a39-78a4-4d7c-b897-36f8a4904ee7 2025-08-12 15:58:29,892 - INFO - ================================================================================ 2025-08-12 15:58:29,892 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-12 15:58:29,892 - 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 15:58:30,147 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.17': '0'}} with 2025-08-12 15:58:30,147 - INFO - Initial checks done. Running the testcase now 2025-08-12 15:58:30,147 - INFO - 2025-08-12 15:58:30,658 - DEBUG - Response for create_network : {'network': {'id': '227fa108-3eb6-4944-8ed3-b83b65c4a828', 'name': 'ctest-vn1-83419868', 'tenant_id': 'f57e4a3978a44d7cb89736f8a4904ee7', 'project_id': 'f57e4a3978a44d7cb89736f8a4904ee7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-67156258', 'ctest-vn1-83419868'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 15:58:30,791 - DEBUG - Response for create_subnet : {'subnet': {'id': '925aef3f-aaad-4255-a498-318590b90c09', 'name': '', 'tenant_id': 'f57e4a3978a44d7cb89736f8a4904ee7', 'network_id': '227fa108-3eb6-4944-8ed3-b83b65c4a828', 'ip_version': 4, 'cidr': '141.189.162.128/26', 'allocation_pools': [{'start': '141.189.162.130', 'end': '141.189.162.190'}], 'gateway_ip': '141.189.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.189.162.130', 'tags': [], 'project_id': 'f57e4a3978a44d7cb89736f8a4904ee7'}} 2025-08-12 15:58:30,806 - INFO - Created VN ctest-vn1-83419868 2025-08-12 15:58:30,858 - DEBUG - VN ctest-vn1-83419868 UUID is 227fa108-3eb6-4944-8ed3-b83b65c4a828 2025-08-12 15:58:31,156 - DEBUG - Response for create_network : {'network': {'id': 'f29c6676-de11-4e0a-b61e-c0f91282e286', 'name': 'ctest-vn2-95286017', 'tenant_id': 'f57e4a3978a44d7cb89736f8a4904ee7', 'project_id': 'f57e4a3978a44d7cb89736f8a4904ee7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-67156258', 'ctest-vn2-95286017'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 15:58:31,328 - DEBUG - Response for create_subnet : {'subnet': {'id': '040088f4-a102-48f8-8b9f-477174bb35f0', 'name': '', 'tenant_id': 'f57e4a3978a44d7cb89736f8a4904ee7', 'network_id': 'f29c6676-de11-4e0a-b61e-c0f91282e286', 'ip_version': 4, 'cidr': '170.138.217.64/26', 'allocation_pools': [{'start': '170.138.217.66', 'end': '170.138.217.126'}], 'gateway_ip': '170.138.217.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.138.217.66', 'tags': [], 'project_id': 'f57e4a3978a44d7cb89736f8a4904ee7'}} 2025-08-12 15:58:31,342 - INFO - Created VN ctest-vn2-95286017 2025-08-12 15:58:31,398 - DEBUG - VN ctest-vn2-95286017 UUID is f29c6676-de11-4e0a-b61e-c0f91282e286 2025-08-12 15:58:31,580 - DEBUG - Services list from nova: [, , ] 2025-08-12 15:58:32,503 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3833-1) 2025-08-12 15:58:33,681 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3833-1) 2025-08-12 15:58:33,756 - INFO - Adding interface with subnet_id 925aef3f-aaad-4255-a498-318590b90c09, port_id None to router 0c5d488c-7579-4820-88eb-1cf1e22d86a4 2025-08-12 15:58:34,005 - INFO - Waiting for VM ctest-vn1-vm1-11644441 to be up.. 2025-08-12 15:58:34,087 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 15:58:39,148 - DEBUG - VM is in ACTIVE state now 2025-08-12 15:58:39,148 - INFO - VM name : ctest-vn1-vm1-11644441 2025-08-12 15:58:39,205 - DEBUG - VM ctest-vn1-vm1-11644441 ID is f6dcd249-a63a-485b-a2d2-8674e9acbc39 2025-08-12 15:58:39,225 - DEBUG - VM ctest-vn1-vm1-11644441 launched on Node cn-jenkins-deploy-platform-ansible-os-3833-1 2025-08-12 15:58:39,283 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/f6dcd249-a63a-485b-a2d2-8674e9acbc39 2025-08-12 15:58:39,573 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/f6dcd249-a63a-485b-a2d2-8674e9acbc39 2025-08-12 15:58:39,600 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/0290cf59-7911-4981-80c0-cb1aa2b9ef21 2025-08-12 15:58:42,857 - 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 1024ms') 2025-08-12 15:58:42,857 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11644441 failed! 2025-08-12 15:58:42,910 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-67156258:ctest-vn1-83419868 is 141.189.162.129 and allocation pool is NOT set 2025-08-12 15:58:44,974 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.333 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.333/1.429/2.525/1.096 ms') 2025-08-12 15:58:44,974 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11644441 passed 2025-08-12 15:58:45,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 15:58:45,122 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-11644441, IP 141.189.162.131, Port 22 2025-08-12 15:58:45,277 - DEBUG - VM ctest-vn1-vm1-11644441 is ready for SSH connections 2025-08-12 15:58:45,277 - INFO - Waiting for VM ctest-vn2-vm1-58068402 to be up.. 2025-08-12 15:58:45,338 - DEBUG - VM is in ACTIVE state now 2025-08-12 15:58:45,338 - INFO - VM name : ctest-vn2-vm1-58068402 2025-08-12 15:58:45,390 - DEBUG - VM ctest-vn2-vm1-58068402 ID is 6663e8ce-3eaa-42cb-9326-f2474b66d2f6 2025-08-12 15:58:45,391 - DEBUG - VM ctest-vn2-vm1-58068402 launched on Node cn-jenkins-deploy-platform-ansible-os-3833-1 2025-08-12 15:58:45,443 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/6663e8ce-3eaa-42cb-9326-f2474b66d2f6 2025-08-12 15:58:45,450 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/e1fbd696-1b27-4a2e-979e-740d26d66869 2025-08-12 15:58:46,681 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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.373/1.732/3.092/1.359 ms') 2025-08-12 15:58:46,682 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-58068402 passed 2025-08-12 15:58:46,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 15:58:46,826 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-58068402, IP 170.138.217.67, Port 22 2025-08-12 15:58:46,981 - DEBUG - VM ctest-vn2-vm1-58068402 is ready for SSH connections 2025-08-12 15:58:46,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 15:58:46,981 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.138.217.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-08-12 15:58:46,981 - DEBUG - ping -s 56 -c 3 -W 1 170.138.217.67 2025-08-12 15:58:51,574 - DEBUG - PING 170.138.217.67 (170.138.217.67): 56 data bytes --- 170.138.217.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-12 15:58:51,574 - WARNING - Ping to IP 170.138.217.67 from VM ctest-vn1-vm1-11644441 failed 2025-08-12 15:58:51,574 - INFO - Adding interface with subnet_id 040088f4-a102-48f8-8b9f-477174bb35f0, port_id None to router 0c5d488c-7579-4820-88eb-1cf1e22d86a4 2025-08-12 15:58:51,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 15:58:51,791 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.138.217.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-08-12 15:58:51,791 - DEBUG - ping -s 56 -c 3 -W 1 170.138.217.67 2025-08-12 15:58:53,983 - DEBUG - PING 170.138.217.67 (170.138.217.67): 56 data bytes 64 bytes from 170.138.217.67: seq=0 ttl=63 time=2.205 ms 64 bytes from 170.138.217.67: seq=1 ttl=63 time=0.724 ms 64 bytes from 170.138.217.67: seq=2 ttl=63 time=0.637 ms --- 170.138.217.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.637/1.188/2.205 ms 2025-08-12 15:58:53,983 - INFO - Ping to IP 170.138.217.67 from VM ctest-vn1-vm1-11644441 passed 2025-08-12 15:58:53,984 - INFO - Deleting interface with subnet_id 925aef3f-aaad-4255-a498-318590b90c09, port_id None from router 0c5d488c-7579-4820-88eb-1cf1e22d86a4 2025-08-12 15:58:54,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 15:58:54,085 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.138.217.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-08-12 15:58:54,085 - DEBUG - ping -s 56 -c 3 -W 1 170.138.217.67 2025-08-12 15:58:57,273 - DEBUG - PING 170.138.217.67 (170.138.217.67): 56 data bytes --- 170.138.217.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-12 15:58:57,273 - WARNING - Ping to IP 170.138.217.67 from VM ctest-vn1-vm1-11644441 failed 2025-08-12 15:58:57,273 - INFO - Adding interface with subnet_id 925aef3f-aaad-4255-a498-318590b90c09, port_id None to router 0c5d488c-7579-4820-88eb-1cf1e22d86a4 2025-08-12 15:58:57,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 15:58:57,461 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.138.217.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-08-12 15:58:57,461 - DEBUG - ping -s 56 -c 3 -W 1 170.138.217.67 2025-08-12 15:58:59,652 - DEBUG - PING 170.138.217.67 (170.138.217.67): 56 data bytes 64 bytes from 170.138.217.67: seq=0 ttl=63 time=0.966 ms 64 bytes from 170.138.217.67: seq=1 ttl=63 time=0.645 ms 64 bytes from 170.138.217.67: seq=2 ttl=63 time=0.590 ms --- 170.138.217.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.590/0.733/0.966 ms 2025-08-12 15:58:59,652 - INFO - Ping to IP 170.138.217.67 from VM ctest-vn1-vm1-11644441 passed 2025-08-12 15:58:59,652 - INFO - Deleting interface with subnet_id 040088f4-a102-48f8-8b9f-477174bb35f0, port_id None from router 0c5d488c-7579-4820-88eb-1cf1e22d86a4 2025-08-12 15:58:59,746 - INFO - Deleting interface with subnet_id 925aef3f-aaad-4255-a498-318590b90c09, port_id None from router 0c5d488c-7579-4820-88eb-1cf1e22d86a4 2025-08-12 15:58:59,879 - INFO - Deleting VM ctest-vn2-vm1-58068402 2025-08-12 15:58:59,936 - INFO - Deleting VM ctest-vn1-vm1-11644441 2025-08-12 15:58:59,990 - INFO - Deleting VN ctest-vn2-95286017 2025-08-12 15:59:00,025 - DEBUG - VN f29c6676-de11-4e0a-b61e-c0f91282e286 still in use: Unable to complete operation on network f29c6676-de11-4e0a-b61e-c0f91282e286. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4adc709a-e6ca-4ec1-8d89-60a878060602'] 2025-08-12 15:59:00,025 - WARNING - Deleting VN ctest-vn2-95286017 failed..Will retry 2025-08-12 15:59:02,112 - DEBUG - Response for deleting network () 2025-08-12 15:59:02,112 - INFO - Deleting VN ctest-vn1-83419868 2025-08-12 15:59:02,199 - DEBUG - Response for deleting network () 2025-08-12 15:59:02,454 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 15:59:02,455 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:33]
2025-08-12 15:59:02,455 - INFO - -------------------------------------------------------------------------------- 2025-08-12 15:59:03,087 - INFO - Deleted project: ctest-TestRouters-67156258, ID : f57e4a39-78a4-4d7c-b897-36f8a4904ee7