2025-09-15 11:44:45,835 - INFO - Domain Default found not creating 2025-09-15 11:44:46,065 - INFO - Project ctest-TestRouters-25868214 not found, creating it 2025-09-15 11:44:46,541 - INFO - Created Project:ctest-TestRouters-25868214, ID : 8b4ebc64-4be3-4b4d-a17e-f172b30765eb 2025-09-15 11:44:48,019 - INFO - ================================================================================ 2025-09-15 11:44:48,019 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-15 11:44:48,020 - 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-09-15 11:44:48,280 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-09-15 11:44:48,280 - INFO - Initial checks done. Running the testcase now 2025-09-15 11:44:48,280 - INFO - 2025-09-15 11:44:48,891 - DEBUG - Response for create_network : {'network': {'id': 'f4b0bbb9-32aa-4d71-a1eb-117dae15145a', 'name': 'ctest-vn1-29601254', 'tenant_id': '8b4ebc644be34b4da17ef172b30765eb', 'project_id': '8b4ebc644be34b4da17ef172b30765eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-25868214', 'ctest-vn1-29601254'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:44:49,101 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2ee00b3-b81e-43e7-bb8c-f52f214658bb', 'name': '', 'tenant_id': '8b4ebc644be34b4da17ef172b30765eb', 'network_id': 'f4b0bbb9-32aa-4d71-a1eb-117dae15145a', 'ip_version': 4, 'cidr': '94.189.37.64/26', 'allocation_pools': [{'start': '94.189.37.66', 'end': '94.189.37.126'}], 'gateway_ip': '94.189.37.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.189.37.66', 'tags': [], 'project_id': '8b4ebc644be34b4da17ef172b30765eb'}} 2025-09-15 11:44:49,116 - INFO - Created VN ctest-vn1-29601254 2025-09-15 11:44:49,169 - DEBUG - VN ctest-vn1-29601254 UUID is f4b0bbb9-32aa-4d71-a1eb-117dae15145a 2025-09-15 11:44:49,506 - DEBUG - Response for create_network : {'network': {'id': 'c50572be-867c-4cd5-a78c-2049bddd156a', 'name': 'ctest-vn2-39789568', 'tenant_id': '8b4ebc644be34b4da17ef172b30765eb', 'project_id': '8b4ebc644be34b4da17ef172b30765eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-25868214', 'ctest-vn2-39789568'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:44:49,721 - DEBUG - Response for create_subnet : {'subnet': {'id': '74a7c949-d6de-4293-aa2a-c65f7cc05061', 'name': '', 'tenant_id': '8b4ebc644be34b4da17ef172b30765eb', 'network_id': 'c50572be-867c-4cd5-a78c-2049bddd156a', 'ip_version': 4, 'cidr': '106.24.124.128/26', 'allocation_pools': [{'start': '106.24.124.130', 'end': '106.24.124.190'}], 'gateway_ip': '106.24.124.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.24.124.130', 'tags': [], 'project_id': '8b4ebc644be34b4da17ef172b30765eb'}} 2025-09-15 11:44:49,737 - INFO - Created VN ctest-vn2-39789568 2025-09-15 11:44:49,793 - DEBUG - VN ctest-vn2-39789568 UUID is c50572be-867c-4cd5-a78c-2049bddd156a 2025-09-15 11:44:50,014 - DEBUG - Services list from nova: [, , ] 2025-09-15 11:44:51,039 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4116-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4116-1) 2025-09-15 11:44:52,270 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4116-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4116-1) 2025-09-15 11:44:52,339 - INFO - Adding interface with subnet_id d2ee00b3-b81e-43e7-bb8c-f52f214658bb, port_id None to router a047e475-2c6f-42f0-9de8-3aa86778cc8d 2025-09-15 11:44:52,631 - INFO - Waiting for VM ctest-vn1-vm1-37845895 to be up.. 2025-09-15 11:44:52,722 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 11:44:57,809 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:44:57,809 - INFO - VM name : ctest-vn1-vm1-37845895 2025-09-15 11:44:57,886 - DEBUG - VM ctest-vn1-vm1-37845895 ID is ad4ec656-d26c-4d0a-812e-fce36ccf9d67 2025-09-15 11:44:57,905 - DEBUG - VM ctest-vn1-vm1-37845895 launched on Node cn-jenkins-deploy-platform-ansible-os-4116-1 2025-09-15 11:44:57,985 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ad4ec656-d26c-4d0a-812e-fce36ccf9d67 2025-09-15 11:44:58,299 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ad4ec656-d26c-4d0a-812e-fce36ccf9d67 2025-09-15 11:44:58,340 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d3ebc576-20e5-4437-bd9e-ab8f9a1fb1d1 2025-09-15 11:45:01,615 - 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 1026ms') 2025-09-15 11:45:01,615 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37845895 failed! 2025-09-15 11:45:01,669 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-25868214:ctest-vn1-29601254 is 94.189.37.65 and allocation pool is NOT set 2025-09-15 11:45:03,729 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.886 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 = 0.886/2.460/4.034/1.574 ms') 2025-09-15 11:45:03,729 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37845895 passed 2025-09-15 11:45:03,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:45:03,882 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-37845895, IP 94.189.37.67, Port 22 2025-09-15 11:45:04,044 - DEBUG - VM ctest-vn1-vm1-37845895 is ready for SSH connections 2025-09-15 11:45:04,045 - INFO - Waiting for VM ctest-vn2-vm1-64545788 to be up.. 2025-09-15 11:45:04,123 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:45:04,124 - INFO - VM name : ctest-vn2-vm1-64545788 2025-09-15 11:45:04,193 - DEBUG - VM ctest-vn2-vm1-64545788 ID is 351112ff-0c21-4f9f-974a-7dd2d86a4910 2025-09-15 11:45:04,193 - DEBUG - VM ctest-vn2-vm1-64545788 launched on Node cn-jenkins-deploy-platform-ansible-os-4116-1 2025-09-15 11:45:04,263 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/351112ff-0c21-4f9f-974a-7dd2d86a4910 2025-09-15 11:45:04,270 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fa616447-edb8-4e55-a304-824ef16cfc55 2025-09-15 11:45:05,510 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.705 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.705/2.233/3.761/1.528 ms') 2025-09-15 11:45:05,511 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-64545788 passed 2025-09-15 11:45:05,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:45:05,637 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-64545788, IP 106.24.124.131, Port 22 2025-09-15 11:45:05,807 - DEBUG - VM ctest-vn2-vm1-64545788 is ready for SSH connections 2025-09-15 11:45:05,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:45:05,807 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.24.124.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-15 11:45:05,807 - DEBUG - ping -s 56 -c 3 -W 1 106.24.124.131 2025-09-15 11:45:10,814 - DEBUG - PING 106.24.124.131 (106.24.124.131): 56 data bytes --- 106.24.124.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-15 11:45:10,814 - WARNING - Ping to IP 106.24.124.131 from VM ctest-vn1-vm1-37845895 failed 2025-09-15 11:45:10,814 - INFO - Adding interface with subnet_id 74a7c949-d6de-4293-aa2a-c65f7cc05061, port_id None to router a047e475-2c6f-42f0-9de8-3aa86778cc8d 2025-09-15 11:45:11,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:45:11,122 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.24.124.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-15 11:45:11,122 - DEBUG - ping -s 56 -c 3 -W 1 106.24.124.131 2025-09-15 11:45:14,325 - DEBUG - PING 106.24.124.131 (106.24.124.131): 56 data bytes 64 bytes from 106.24.124.131: seq=1 ttl=63 time=2.788 ms 64 bytes from 106.24.124.131: seq=2 ttl=63 time=1.023 ms --- 106.24.124.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.023/1.905/2.788 ms 2025-09-15 11:45:14,325 - WARNING - Ping to IP 106.24.124.131 from VM ctest-vn1-vm1-37845895 failed 2025-09-15 11:45:15,326 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.24.124.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-15 11:45:15,326 - DEBUG - ping -s 56 -c 3 -W 1 106.24.124.131 2025-09-15 11:45:17,535 - DEBUG - PING 106.24.124.131 (106.24.124.131): 56 data bytes 64 bytes from 106.24.124.131: seq=0 ttl=63 time=2.222 ms 64 bytes from 106.24.124.131: seq=1 ttl=63 time=1.157 ms 64 bytes from 106.24.124.131: seq=2 ttl=63 time=0.861 ms --- 106.24.124.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.861/1.413/2.222 ms 2025-09-15 11:45:17,535 - INFO - Ping to IP 106.24.124.131 from VM ctest-vn1-vm1-37845895 passed 2025-09-15 11:45:17,535 - INFO - Deleting interface with subnet_id d2ee00b3-b81e-43e7-bb8c-f52f214658bb, port_id None from router a047e475-2c6f-42f0-9de8-3aa86778cc8d 2025-09-15 11:45:17,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:45:17,645 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.24.124.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-15 11:45:17,646 - DEBUG - ping -s 56 -c 3 -W 1 106.24.124.131 2025-09-15 11:45:20,858 - DEBUG - PING 106.24.124.131 (106.24.124.131): 56 data bytes --- 106.24.124.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-15 11:45:20,858 - WARNING - Ping to IP 106.24.124.131 from VM ctest-vn1-vm1-37845895 failed 2025-09-15 11:45:20,859 - INFO - Adding interface with subnet_id d2ee00b3-b81e-43e7-bb8c-f52f214658bb, port_id None to router a047e475-2c6f-42f0-9de8-3aa86778cc8d 2025-09-15 11:45:21,089 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:45:21,089 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.24.124.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-15 11:45:21,089 - DEBUG - ping -s 56 -c 3 -W 1 106.24.124.131 2025-09-15 11:45:23,294 - DEBUG - PING 106.24.124.131 (106.24.124.131): 56 data bytes 64 bytes from 106.24.124.131: seq=0 ttl=63 time=1.876 ms 64 bytes from 106.24.124.131: seq=1 ttl=63 time=1.271 ms 64 bytes from 106.24.124.131: seq=2 ttl=63 time=0.753 ms --- 106.24.124.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/1.300/1.876 ms 2025-09-15 11:45:23,294 - INFO - Ping to IP 106.24.124.131 from VM ctest-vn1-vm1-37845895 passed 2025-09-15 11:45:23,295 - INFO - Deleting interface with subnet_id 74a7c949-d6de-4293-aa2a-c65f7cc05061, port_id None from router a047e475-2c6f-42f0-9de8-3aa86778cc8d 2025-09-15 11:45:23,418 - INFO - Deleting interface with subnet_id d2ee00b3-b81e-43e7-bb8c-f52f214658bb, port_id None from router a047e475-2c6f-42f0-9de8-3aa86778cc8d 2025-09-15 11:45:23,602 - INFO - Deleting VM ctest-vn2-vm1-64545788 2025-09-15 11:45:23,678 - INFO - Deleting VM ctest-vn1-vm1-37845895 2025-09-15 11:45:23,752 - INFO - Deleting VN ctest-vn2-39789568 2025-09-15 11:45:23,802 - DEBUG - VN c50572be-867c-4cd5-a78c-2049bddd156a still in use: Unable to complete operation on network c50572be-867c-4cd5-a78c-2049bddd156a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fa677ddf-aebb-4976-b0e1-afcf4326bdb5'] 2025-09-15 11:45:23,802 - WARNING - Deleting VN ctest-vn2-39789568 failed..Will retry 2025-09-15 11:45:25,900 - DEBUG - Response for deleting network () 2025-09-15 11:45:25,900 - INFO - Deleting VN ctest-vn1-29601254 2025-09-15 11:45:26,006 - DEBUG - Response for deleting network () 2025-09-15 11:45:26,262 - DEBUG - No XMPP flaps were noticed during the test 2025-09-15 11:45:26,263 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-09-15 11:45:26,263 - INFO - -------------------------------------------------------------------------------- 2025-09-15 11:45:26,929 - INFO - Deleted project: ctest-TestRouters-25868214, ID : 8b4ebc64-4be3-4b4d-a17e-f172b30765eb