2025-11-13 12:32:29,754 - INFO - Domain Default found not creating 2025-11-13 12:32:29,918 - INFO - Project ctest-TestRouters-32941267 not found, creating it 2025-11-13 12:32:30,392 - INFO - Created Project:ctest-TestRouters-32941267, ID : 8e643ff6-2e0a-4f8e-9f33-7a692e0e4f49 2025-11-13 12:32:31,934 - INFO - ================================================================================ 2025-11-13 12:32:31,934 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-13 12:32:31,935 - 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-13 12:32:32,191 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-13 12:32:32,191 - INFO - Initial checks done. Running the testcase now 2025-11-13 12:32:32,191 - INFO - 2025-11-13 12:32:32,772 - DEBUG - Response for create_network : {'network': {'id': 'c4b0c31a-75d6-4867-88bf-81c12834aa7d', 'name': 'ctest-vn1-75389108', 'tenant_id': '8e643ff62e0a4f8e9f337a692e0e4f49', 'project_id': '8e643ff62e0a4f8e9f337a692e0e4f49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-32941267', 'ctest-vn1-75389108'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 12:32:33,020 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6aa304d-11db-4b70-8297-7cbc582620f6', 'name': '', 'tenant_id': '8e643ff62e0a4f8e9f337a692e0e4f49', 'network_id': 'c4b0c31a-75d6-4867-88bf-81c12834aa7d', 'ip_version': 4, 'cidr': '80.219.136.192/26', 'allocation_pools': [{'start': '80.219.136.194', 'end': '80.219.136.254'}], 'gateway_ip': '80.219.136.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.219.136.194', 'tags': [], 'project_id': '8e643ff62e0a4f8e9f337a692e0e4f49'}} 2025-11-13 12:32:33,038 - INFO - Created VN ctest-vn1-75389108 2025-11-13 12:32:33,101 - DEBUG - VN ctest-vn1-75389108 UUID is c4b0c31a-75d6-4867-88bf-81c12834aa7d 2025-11-13 12:32:33,428 - DEBUG - Response for create_network : {'network': {'id': '365428da-6598-4aed-836e-b3753755d708', 'name': 'ctest-vn2-78609764', 'tenant_id': '8e643ff62e0a4f8e9f337a692e0e4f49', 'project_id': '8e643ff62e0a4f8e9f337a692e0e4f49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-32941267', 'ctest-vn2-78609764'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 12:32:33,624 - DEBUG - Response for create_subnet : {'subnet': {'id': '351dbf60-8ab3-4b4c-997d-e0d0e2e3d475', 'name': '', 'tenant_id': '8e643ff62e0a4f8e9f337a692e0e4f49', 'network_id': '365428da-6598-4aed-836e-b3753755d708', 'ip_version': 4, 'cidr': '140.181.155.0/26', 'allocation_pools': [{'start': '140.181.155.2', 'end': '140.181.155.62'}], 'gateway_ip': '140.181.155.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.181.155.2', 'tags': [], 'project_id': '8e643ff62e0a4f8e9f337a692e0e4f49'}} 2025-11-13 12:32:33,640 - INFO - Created VN ctest-vn2-78609764 2025-11-13 12:32:33,693 - DEBUG - VN ctest-vn2-78609764 UUID is 365428da-6598-4aed-836e-b3753755d708 2025-11-13 12:32:33,865 - DEBUG - Services list from nova: [, , ] 2025-11-13 12:32:34,944 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4720-1) 2025-11-13 12:32:36,101 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4720-1) 2025-11-13 12:32:36,170 - INFO - Adding interface with subnet_id e6aa304d-11db-4b70-8297-7cbc582620f6, port_id None to router 0da26a2f-e912-4d5e-a280-96a2baf3470b 2025-11-13 12:32:36,508 - INFO - Waiting for VM ctest-vn1-vm1-09641553 to be up.. 2025-11-13 12:32:36,606 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 12:32:41,681 - DEBUG - VM is in ACTIVE state now 2025-11-13 12:32:41,682 - INFO - VM name : ctest-vn1-vm1-09641553 2025-11-13 12:32:41,755 - DEBUG - VM ctest-vn1-vm1-09641553 ID is b98e9edf-d69d-4dfc-baa5-1d29aff2fe79 2025-11-13 12:32:41,775 - DEBUG - VM ctest-vn1-vm1-09641553 launched on Node cn-jenkins-deploy-platform-ansible-os-4720-1 2025-11-13 12:32:41,849 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b98e9edf-d69d-4dfc-baa5-1d29aff2fe79 2025-11-13 12:32:42,174 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b98e9edf-d69d-4dfc-baa5-1d29aff2fe79 2025-11-13 12:32:42,207 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/30116199-0975-4633-9f8a-1aadb91f7fc7 2025-11-13 12:32:45,461 - 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=6.17 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 6.166/6.166/6.166/0.000 ms') 2025-11-13 12:32:45,462 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09641553 passed 2025-11-13 12:32:45,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:32:45,610 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-09641553, IP 80.219.136.195, Port 22 2025-11-13 12:32:45,766 - DEBUG - VM ctest-vn1-vm1-09641553 is ready for SSH connections 2025-11-13 12:32:45,766 - INFO - Waiting for VM ctest-vn2-vm1-31756039 to be up.. 2025-11-13 12:32:45,836 - DEBUG - VM is in ACTIVE state now 2025-11-13 12:32:45,836 - INFO - VM name : ctest-vn2-vm1-31756039 2025-11-13 12:32:45,902 - DEBUG - VM ctest-vn2-vm1-31756039 ID is ca69bfab-b684-46ce-8592-05eebe4c5546 2025-11-13 12:32:45,903 - DEBUG - VM ctest-vn2-vm1-31756039 launched on Node cn-jenkins-deploy-platform-ansible-os-4720-1 2025-11-13 12:32:45,970 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ca69bfab-b684-46ce-8592-05eebe4c5546 2025-11-13 12:32:45,978 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7ca7abed-711d-46fd-ac25-fbc0a30fcb36 2025-11-13 12:32:47,216 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.521 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.521/1.811/3.102/1.290 ms') 2025-11-13 12:32:47,216 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-31756039 passed 2025-11-13 12:32:47,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:32:47,370 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-31756039, IP 140.181.155.3, Port 22 2025-11-13 12:32:47,539 - DEBUG - VM ctest-vn2-vm1-31756039 is ready for SSH connections 2025-11-13 12:32:47,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:32:47,540 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.181.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-13 12:32:47,540 - DEBUG - ping -s 56 -c 3 -W 1 140.181.155.3 2025-11-13 12:32:52,183 - DEBUG - PING 140.181.155.3 (140.181.155.3): 56 data bytes --- 140.181.155.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 12:32:52,183 - WARNING - Ping to IP 140.181.155.3 from VM ctest-vn1-vm1-09641553 failed 2025-11-13 12:32:52,183 - INFO - Adding interface with subnet_id 351dbf60-8ab3-4b4c-997d-e0d0e2e3d475, port_id None to router 0da26a2f-e912-4d5e-a280-96a2baf3470b 2025-11-13 12:32:52,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:32:52,423 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.181.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-13 12:32:52,424 - DEBUG - ping -s 56 -c 3 -W 1 140.181.155.3 2025-11-13 12:32:54,571 - DEBUG - PING 140.181.155.3 (140.181.155.3): 56 data bytes 64 bytes from 140.181.155.3: seq=0 ttl=63 time=3.179 ms 64 bytes from 140.181.155.3: seq=1 ttl=63 time=0.940 ms 64 bytes from 140.181.155.3: seq=2 ttl=63 time=0.902 ms --- 140.181.155.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.902/1.673/3.179 ms 2025-11-13 12:32:54,571 - INFO - Ping to IP 140.181.155.3 from VM ctest-vn1-vm1-09641553 passed 2025-11-13 12:32:54,571 - INFO - Deleting interface with subnet_id e6aa304d-11db-4b70-8297-7cbc582620f6, port_id None from router 0da26a2f-e912-4d5e-a280-96a2baf3470b 2025-11-13 12:32:54,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:32:54,688 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.181.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-13 12:32:54,688 - DEBUG - ping -s 56 -c 3 -W 1 140.181.155.3 2025-11-13 12:32:57,813 - DEBUG - PING 140.181.155.3 (140.181.155.3): 56 data bytes --- 140.181.155.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 12:32:57,813 - WARNING - Ping to IP 140.181.155.3 from VM ctest-vn1-vm1-09641553 failed 2025-11-13 12:32:57,813 - INFO - Adding interface with subnet_id e6aa304d-11db-4b70-8297-7cbc582620f6, port_id None to router 0da26a2f-e912-4d5e-a280-96a2baf3470b 2025-11-13 12:32:58,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 12:32:58,022 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.181.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-13 12:32:58,022 - DEBUG - ping -s 56 -c 3 -W 1 140.181.155.3 2025-11-13 12:33:01,135 - DEBUG - PING 140.181.155.3 (140.181.155.3): 56 data bytes 64 bytes from 140.181.155.3: seq=1 ttl=63 time=1.610 ms 64 bytes from 140.181.155.3: seq=2 ttl=63 time=0.988 ms --- 140.181.155.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.988/1.299/1.610 ms 2025-11-13 12:33:01,135 - WARNING - Ping to IP 140.181.155.3 from VM ctest-vn1-vm1-09641553 failed 2025-11-13 12:33:02,136 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.181.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-13 12:33:02,136 - DEBUG - ping -s 56 -c 3 -W 1 140.181.155.3 2025-11-13 12:33:04,254 - DEBUG - PING 140.181.155.3 (140.181.155.3): 56 data bytes 64 bytes from 140.181.155.3: seq=0 ttl=63 time=1.403 ms 64 bytes from 140.181.155.3: seq=1 ttl=63 time=1.053 ms 64 bytes from 140.181.155.3: seq=2 ttl=63 time=0.889 ms --- 140.181.155.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/1.115/1.403 ms 2025-11-13 12:33:04,254 - INFO - Ping to IP 140.181.155.3 from VM ctest-vn1-vm1-09641553 passed 2025-11-13 12:33:04,254 - INFO - Deleting interface with subnet_id 351dbf60-8ab3-4b4c-997d-e0d0e2e3d475, port_id None from router 0da26a2f-e912-4d5e-a280-96a2baf3470b 2025-11-13 12:33:04,366 - INFO - Deleting interface with subnet_id e6aa304d-11db-4b70-8297-7cbc582620f6, port_id None from router 0da26a2f-e912-4d5e-a280-96a2baf3470b 2025-11-13 12:33:04,537 - INFO - Deleting VM ctest-vn2-vm1-31756039 2025-11-13 12:33:04,611 - INFO - Deleting VM ctest-vn1-vm1-09641553 2025-11-13 12:33:04,686 - INFO - Deleting VN ctest-vn2-78609764 2025-11-13 12:33:04,723 - DEBUG - VN 365428da-6598-4aed-836e-b3753755d708 still in use: Unable to complete operation on network 365428da-6598-4aed-836e-b3753755d708. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-061f091c-80f1-41a5-9382-fe7db4e4ed65'] 2025-11-13 12:33:04,724 - WARNING - Deleting VN ctest-vn2-78609764 failed..Will retry 2025-11-13 12:33:06,823 - DEBUG - Response for deleting network () 2025-11-13 12:33:06,823 - INFO - Deleting VN ctest-vn1-75389108 2025-11-13 12:33:06,930 - DEBUG - Response for deleting network () 2025-11-13 12:33:07,187 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 12:33:07,187 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:36]
2025-11-13 12:33:07,188 - INFO - -------------------------------------------------------------------------------- 2025-11-13 12:33:07,881 - INFO - Deleted project: ctest-TestRouters-32941267, ID : 8e643ff6-2e0a-4f8e-9f33-7a692e0e4f49