2025-11-05 13:46:29,101 - INFO - Domain Default found not creating 2025-11-05 13:46:29,235 - INFO - Project ctest-TestRouters-51546255 not found, creating it 2025-11-05 13:46:29,699 - INFO - Created Project:ctest-TestRouters-51546255, ID : d03cabbc-155d-4bbc-b680-450f8e501c43 2025-11-05 13:46:31,230 - INFO - ================================================================================ 2025-11-05 13:46:31,230 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-05 13:46:31,230 - 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-05 13:46:31,499 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.192': '0'}} with 2025-11-05 13:46:31,499 - INFO - Initial checks done. Running the testcase now 2025-11-05 13:46:31,499 - INFO - 2025-11-05 13:46:32,049 - DEBUG - Response for create_network : {'network': {'id': 'a88d77df-9df1-44f7-8021-7bb7a62dccb4', 'name': 'ctest-vn1-32531430', 'tenant_id': 'd03cabbc155d4bbcb680450f8e501c43', 'project_id': 'd03cabbc155d4bbcb680450f8e501c43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-51546255', 'ctest-vn1-32531430'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 13:46:32,211 - DEBUG - Response for create_subnet : {'subnet': {'id': '87c1ce77-c861-4a52-a27d-bfb3a44d35d1', 'name': '', 'tenant_id': 'd03cabbc155d4bbcb680450f8e501c43', 'network_id': 'a88d77df-9df1-44f7-8021-7bb7a62dccb4', 'ip_version': 4, 'cidr': '77.57.4.192/26', 'allocation_pools': [{'start': '77.57.4.194', 'end': '77.57.4.254'}], 'gateway_ip': '77.57.4.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.57.4.194', 'tags': [], 'project_id': 'd03cabbc155d4bbcb680450f8e501c43'}} 2025-11-05 13:46:32,227 - INFO - Created VN ctest-vn1-32531430 2025-11-05 13:46:32,279 - DEBUG - VN ctest-vn1-32531430 UUID is a88d77df-9df1-44f7-8021-7bb7a62dccb4 2025-11-05 13:46:32,566 - DEBUG - Response for create_network : {'network': {'id': '0e4b0a67-d06d-4e92-abc6-2f1a6bee750c', 'name': 'ctest-vn2-27613000', 'tenant_id': 'd03cabbc155d4bbcb680450f8e501c43', 'project_id': 'd03cabbc155d4bbcb680450f8e501c43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-51546255', 'ctest-vn2-27613000'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 13:46:32,739 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2c3db76-d5c6-445a-b49a-f5ef5273414e', 'name': '', 'tenant_id': 'd03cabbc155d4bbcb680450f8e501c43', 'network_id': '0e4b0a67-d06d-4e92-abc6-2f1a6bee750c', 'ip_version': 4, 'cidr': '31.41.195.0/26', 'allocation_pools': [{'start': '31.41.195.2', 'end': '31.41.195.62'}], 'gateway_ip': '31.41.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.41.195.2', 'tags': [], 'project_id': 'd03cabbc155d4bbcb680450f8e501c43'}} 2025-11-05 13:46:32,760 - INFO - Created VN ctest-vn2-27613000 2025-11-05 13:46:32,814 - DEBUG - VN ctest-vn2-27613000 UUID is 0e4b0a67-d06d-4e92-abc6-2f1a6bee750c 2025-11-05 13:46:33,036 - DEBUG - Services list from nova: [, , ] 2025-11-05 13:46:34,128 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4642-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4642-1) 2025-11-05 13:46:35,217 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4642-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4642-1) 2025-11-05 13:46:35,270 - INFO - Adding interface with subnet_id 87c1ce77-c861-4a52-a27d-bfb3a44d35d1, port_id None to router 3ecb1137-48cc-4a4e-a94a-658fdfed3b22 2025-11-05 13:46:35,533 - INFO - Waiting for VM ctest-vn1-vm1-78752627 to be up.. 2025-11-05 13:46:35,611 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 13:46:40,693 - DEBUG - VM is in ACTIVE state now 2025-11-05 13:46:40,693 - INFO - VM name : ctest-vn1-vm1-78752627 2025-11-05 13:46:40,768 - DEBUG - VM ctest-vn1-vm1-78752627 ID is a05fbba1-24d8-47b4-a99d-1b6431890227 2025-11-05 13:46:40,785 - DEBUG - VM ctest-vn1-vm1-78752627 launched on Node cn-jenkins-deploy-platform-ansible-os-4642-1 2025-11-05 13:46:40,871 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/a05fbba1-24d8-47b4-a99d-1b6431890227 2025-11-05 13:46:41,163 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/a05fbba1-24d8-47b4-a99d-1b6431890227 2025-11-05 13:46:41,190 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/0e82629a-d4ea-4bc5-888c-da5148ef3c49 2025-11-05 13:46:44,451 - 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 1019ms') 2025-11-05 13:46:44,451 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78752627 failed! 2025-11-05 13:46:44,502 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-51546255:ctest-vn1-32531430 is 77.57.4.193 and allocation pool is NOT set 2025-11-05 13:46:46,562 - 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=4.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.46 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.458/2.790/4.122/1.332 ms') 2025-11-05 13:46:46,562 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78752627 passed 2025-11-05 13:46:46,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:46:46,726 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78752627, IP 77.57.4.195, Port 22 2025-11-05 13:46:46,878 - DEBUG - VM ctest-vn1-vm1-78752627 is ready for SSH connections 2025-11-05 13:46:46,878 - INFO - Waiting for VM ctest-vn2-vm1-65830735 to be up.. 2025-11-05 13:46:46,951 - DEBUG - VM is in ACTIVE state now 2025-11-05 13:46:46,951 - INFO - VM name : ctest-vn2-vm1-65830735 2025-11-05 13:46:47,017 - DEBUG - VM ctest-vn2-vm1-65830735 ID is 1e7153da-7f5a-4afe-8cbc-d6f13c4aefe9 2025-11-05 13:46:47,017 - DEBUG - VM ctest-vn2-vm1-65830735 launched on Node cn-jenkins-deploy-platform-ansible-os-4642-1 2025-11-05 13:46:47,084 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/1e7153da-7f5a-4afe-8cbc-d6f13c4aefe9 2025-11-05 13:46:47,091 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/7276b91f-9a3c-4d15-9253-8800525be815 2025-11-05 13:46:48,324 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/2.302/4.196/1.894 ms') 2025-11-05 13:46:48,324 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-65830735 passed 2025-11-05 13:46:48,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:46:48,475 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-65830735, IP 31.41.195.3, Port 22 2025-11-05 13:46:48,638 - DEBUG - VM ctest-vn2-vm1-65830735 is ready for SSH connections 2025-11-05 13:46:48,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:46:48,638 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.41.195.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-05 13:46:48,638 - DEBUG - ping -s 56 -c 3 -W 1 31.41.195.3 2025-11-05 13:46:53,605 - DEBUG - PING 31.41.195.3 (31.41.195.3): 56 data bytes --- 31.41.195.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 13:46:53,605 - WARNING - Ping to IP 31.41.195.3 from VM ctest-vn1-vm1-78752627 failed 2025-11-05 13:46:53,605 - INFO - Adding interface with subnet_id f2c3db76-d5c6-445a-b49a-f5ef5273414e, port_id None to router 3ecb1137-48cc-4a4e-a94a-658fdfed3b22 2025-11-05 13:46:53,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:46:53,869 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.41.195.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-05 13:46:53,869 - DEBUG - ping -s 56 -c 3 -W 1 31.41.195.3 2025-11-05 13:46:56,086 - DEBUG - PING 31.41.195.3 (31.41.195.3): 56 data bytes 64 bytes from 31.41.195.3: seq=0 ttl=63 time=3.018 ms 64 bytes from 31.41.195.3: seq=1 ttl=63 time=1.071 ms 64 bytes from 31.41.195.3: seq=2 ttl=63 time=0.958 ms --- 31.41.195.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.958/1.682/3.018 ms 2025-11-05 13:46:56,087 - INFO - Ping to IP 31.41.195.3 from VM ctest-vn1-vm1-78752627 passed 2025-11-05 13:46:56,087 - INFO - Deleting interface with subnet_id 87c1ce77-c861-4a52-a27d-bfb3a44d35d1, port_id None from router 3ecb1137-48cc-4a4e-a94a-658fdfed3b22 2025-11-05 13:46:56,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:46:56,204 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.41.195.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-05 13:46:56,204 - DEBUG - ping -s 56 -c 3 -W 1 31.41.195.3 2025-11-05 13:46:59,413 - DEBUG - PING 31.41.195.3 (31.41.195.3): 56 data bytes --- 31.41.195.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 13:46:59,413 - WARNING - Ping to IP 31.41.195.3 from VM ctest-vn1-vm1-78752627 failed 2025-11-05 13:46:59,413 - INFO - Adding interface with subnet_id 87c1ce77-c861-4a52-a27d-bfb3a44d35d1, port_id None to router 3ecb1137-48cc-4a4e-a94a-658fdfed3b22 2025-11-05 13:46:59,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:46:59,619 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.41.195.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-05 13:46:59,619 - DEBUG - ping -s 56 -c 3 -W 1 31.41.195.3 2025-11-05 13:47:02,816 - DEBUG - PING 31.41.195.3 (31.41.195.3): 56 data bytes 64 bytes from 31.41.195.3: seq=1 ttl=63 time=2.395 ms 64 bytes from 31.41.195.3: seq=2 ttl=63 time=0.953 ms --- 31.41.195.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.953/1.674/2.395 ms 2025-11-05 13:47:02,816 - WARNING - Ping to IP 31.41.195.3 from VM ctest-vn1-vm1-78752627 failed 2025-11-05 13:47:03,817 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.41.195.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-05 13:47:03,817 - DEBUG - ping -s 56 -c 3 -W 1 31.41.195.3 2025-11-05 13:47:06,032 - DEBUG - PING 31.41.195.3 (31.41.195.3): 56 data bytes 64 bytes from 31.41.195.3: seq=0 ttl=63 time=1.262 ms 64 bytes from 31.41.195.3: seq=1 ttl=63 time=1.011 ms 64 bytes from 31.41.195.3: seq=2 ttl=63 time=0.818 ms --- 31.41.195.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.818/1.030/1.262 ms 2025-11-05 13:47:06,032 - INFO - Ping to IP 31.41.195.3 from VM ctest-vn1-vm1-78752627 passed 2025-11-05 13:47:06,032 - INFO - Deleting interface with subnet_id f2c3db76-d5c6-445a-b49a-f5ef5273414e, port_id None from router 3ecb1137-48cc-4a4e-a94a-658fdfed3b22 2025-11-05 13:47:06,136 - INFO - Deleting interface with subnet_id 87c1ce77-c861-4a52-a27d-bfb3a44d35d1, port_id None from router 3ecb1137-48cc-4a4e-a94a-658fdfed3b22 2025-11-05 13:47:06,305 - INFO - Deleting VM ctest-vn2-vm1-65830735 2025-11-05 13:47:06,378 - INFO - Deleting VM ctest-vn1-vm1-78752627 2025-11-05 13:47:06,453 - INFO - Deleting VN ctest-vn2-27613000 2025-11-05 13:47:06,486 - DEBUG - VN 0e4b0a67-d06d-4e92-abc6-2f1a6bee750c still in use: Unable to complete operation on network 0e4b0a67-d06d-4e92-abc6-2f1a6bee750c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ca24096e-527a-4d9a-91f9-02af04467f3d'] 2025-11-05 13:47:06,486 - WARNING - Deleting VN ctest-vn2-27613000 failed..Will retry 2025-11-05 13:47:08,585 - DEBUG - Response for deleting network () 2025-11-05 13:47:08,585 - INFO - Deleting VN ctest-vn1-32531430 2025-11-05 13:47:08,695 - DEBUG - Response for deleting network () 2025-11-05 13:47:08,952 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 13:47:08,952 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-11-05 13:47:08,952 - INFO - -------------------------------------------------------------------------------- 2025-11-05 13:47:09,622 - INFO - Deleted project: ctest-TestRouters-51546255, ID : d03cabbc-155d-4bbc-b680-450f8e501c43