2025-11-20 01:53:36,532 - INFO - Domain Default found not creating 2025-11-20 01:53:36,682 - INFO - Project ctest-TestRouters-54689279 not found, creating it 2025-11-20 01:53:37,120 - INFO - Created Project:ctest-TestRouters-54689279, ID : b9bd621f-e1a9-4f32-80b6-6edd3f36024f 2025-11-20 01:53:38,567 - INFO - ================================================================================ 2025-11-20 01:53:38,567 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-20 01:53:38,568 - 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-20 01:53:38,819 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.192': '0'}} with 2025-11-20 01:53:38,819 - INFO - Initial checks done. Running the testcase now 2025-11-20 01:53:38,819 - INFO - 2025-11-20 01:53:39,374 - DEBUG - Response for create_network : {'network': {'id': '3855cfe1-b7f8-4053-a4c9-7a555fc43634', 'name': 'ctest-vn1-65840708', 'tenant_id': 'b9bd621fe1a94f3280b66edd3f36024f', 'project_id': 'b9bd621fe1a94f3280b66edd3f36024f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-54689279', 'ctest-vn1-65840708'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:53:39,555 - DEBUG - Response for create_subnet : {'subnet': {'id': '8bc644be-0794-43ac-88c2-cffb2b4d4964', 'name': '', 'tenant_id': 'b9bd621fe1a94f3280b66edd3f36024f', 'network_id': '3855cfe1-b7f8-4053-a4c9-7a555fc43634', 'ip_version': 4, 'cidr': '121.65.214.192/26', 'allocation_pools': [{'start': '121.65.214.194', 'end': '121.65.214.254'}], 'gateway_ip': '121.65.214.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.65.214.194', 'tags': [], 'project_id': 'b9bd621fe1a94f3280b66edd3f36024f'}} 2025-11-20 01:53:39,571 - INFO - Created VN ctest-vn1-65840708 2025-11-20 01:53:39,622 - DEBUG - VN ctest-vn1-65840708 UUID is 3855cfe1-b7f8-4053-a4c9-7a555fc43634 2025-11-20 01:53:39,902 - DEBUG - Response for create_network : {'network': {'id': '32d2c9aa-b4f5-4d00-bd61-77d888c1302a', 'name': 'ctest-vn2-85396344', 'tenant_id': 'b9bd621fe1a94f3280b66edd3f36024f', 'project_id': 'b9bd621fe1a94f3280b66edd3f36024f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-54689279', 'ctest-vn2-85396344'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:53:40,067 - DEBUG - Response for create_subnet : {'subnet': {'id': '73cd9230-3f55-4abe-b26a-b4c03a5a1ee9', 'name': '', 'tenant_id': 'b9bd621fe1a94f3280b66edd3f36024f', 'network_id': '32d2c9aa-b4f5-4d00-bd61-77d888c1302a', 'ip_version': 4, 'cidr': '160.95.112.192/26', 'allocation_pools': [{'start': '160.95.112.194', 'end': '160.95.112.254'}], 'gateway_ip': '160.95.112.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.95.112.194', 'tags': [], 'project_id': 'b9bd621fe1a94f3280b66edd3f36024f'}} 2025-11-20 01:53:40,083 - INFO - Created VN ctest-vn2-85396344 2025-11-20 01:53:40,134 - DEBUG - VN ctest-vn2-85396344 UUID is 32d2c9aa-b4f5-4d00-bd61-77d888c1302a 2025-11-20 01:53:40,396 - DEBUG - Services list from nova: [, , ] 2025-11-20 01:53:41,462 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4769-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4769-1) 2025-11-20 01:53:42,676 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4769-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4769-1) 2025-11-20 01:53:42,747 - INFO - Adding interface with subnet_id 8bc644be-0794-43ac-88c2-cffb2b4d4964, port_id None to router ccf69374-f914-4d63-8350-8edd1969d739 2025-11-20 01:53:43,016 - INFO - Waiting for VM ctest-vn1-vm1-52208991 to be up.. 2025-11-20 01:53:43,130 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 01:53:48,200 - DEBUG - VM is in ACTIVE state now 2025-11-20 01:53:48,200 - INFO - VM name : ctest-vn1-vm1-52208991 2025-11-20 01:53:48,271 - DEBUG - VM ctest-vn1-vm1-52208991 ID is 2a079854-5b38-4514-b029-7b078bce1ff9 2025-11-20 01:53:48,288 - DEBUG - VM ctest-vn1-vm1-52208991 launched on Node cn-jenkins-deploy-platform-ansible-os-4769-1 2025-11-20 01:53:48,357 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/2a079854-5b38-4514-b029-7b078bce1ff9 2025-11-20 01:53:48,649 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/2a079854-5b38-4514-b029-7b078bce1ff9 2025-11-20 01:53:48,682 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/1caa0d12-32d6-4997-ac4f-35dcab873992 2025-11-20 01:53:51,926 - 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 1007ms') 2025-11-20 01:53:51,926 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52208991 failed! 2025-11-20 01:53:51,978 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-54689279:ctest-vn1-65840708 is 121.65.214.193 and allocation pool is NOT set 2025-11-20 01:53:54,045 - 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=3.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.11 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.114/2.084/3.055/0.970 ms') 2025-11-20 01:53:54,045 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52208991 passed 2025-11-20 01:53:54,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:53:54,203 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52208991, IP 121.65.214.195, Port 22 2025-11-20 01:53:54,358 - DEBUG - VM ctest-vn1-vm1-52208991 is ready for SSH connections 2025-11-20 01:53:54,358 - INFO - Waiting for VM ctest-vn2-vm1-17889716 to be up.. 2025-11-20 01:53:54,448 - DEBUG - VM is in ACTIVE state now 2025-11-20 01:53:54,448 - INFO - VM name : ctest-vn2-vm1-17889716 2025-11-20 01:53:54,528 - DEBUG - VM ctest-vn2-vm1-17889716 ID is 1898e9a7-e020-4dec-ba42-fe1bf03e1808 2025-11-20 01:53:54,528 - DEBUG - VM ctest-vn2-vm1-17889716 launched on Node cn-jenkins-deploy-platform-ansible-os-4769-1 2025-11-20 01:53:54,606 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/1898e9a7-e020-4dec-ba42-fe1bf03e1808 2025-11-20 01:53:54,614 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/e96adde6-a64e-4532-9b53-52cad8d35f50 2025-11-20 01:53:55,850 - 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=2.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.327 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.327/1.524/2.722/1.197 ms') 2025-11-20 01:53:55,850 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-17889716 passed 2025-11-20 01:53:56,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:53:56,003 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-17889716, IP 160.95.112.195, Port 22 2025-11-20 01:53:56,154 - DEBUG - VM ctest-vn2-vm1-17889716 is ready for SSH connections 2025-11-20 01:53:56,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:53:56,154 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.95.112.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-20 01:53:56,154 - DEBUG - ping -s 56 -c 3 -W 1 160.95.112.195 2025-11-20 01:54:01,103 - DEBUG - PING 160.95.112.195 (160.95.112.195): 56 data bytes --- 160.95.112.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-20 01:54:01,103 - WARNING - Ping to IP 160.95.112.195 from VM ctest-vn1-vm1-52208991 failed 2025-11-20 01:54:01,103 - INFO - Adding interface with subnet_id 73cd9230-3f55-4abe-b26a-b4c03a5a1ee9, port_id None to router ccf69374-f914-4d63-8350-8edd1969d739 2025-11-20 01:54:01,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:54:01,350 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.95.112.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-20 01:54:01,350 - DEBUG - ping -s 56 -c 3 -W 1 160.95.112.195 2025-11-20 01:54:03,549 - DEBUG - PING 160.95.112.195 (160.95.112.195): 56 data bytes 64 bytes from 160.95.112.195: seq=0 ttl=63 time=2.569 ms 64 bytes from 160.95.112.195: seq=1 ttl=63 time=1.020 ms 64 bytes from 160.95.112.195: seq=2 ttl=63 time=0.925 ms --- 160.95.112.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.925/1.504/2.569 ms 2025-11-20 01:54:03,549 - INFO - Ping to IP 160.95.112.195 from VM ctest-vn1-vm1-52208991 passed 2025-11-20 01:54:03,549 - INFO - Deleting interface with subnet_id 8bc644be-0794-43ac-88c2-cffb2b4d4964, port_id None from router ccf69374-f914-4d63-8350-8edd1969d739 2025-11-20 01:54:03,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:54:03,665 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.95.112.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-20 01:54:03,665 - DEBUG - ping -s 56 -c 3 -W 1 160.95.112.195 2025-11-20 01:54:06,864 - DEBUG - PING 160.95.112.195 (160.95.112.195): 56 data bytes --- 160.95.112.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-20 01:54:06,864 - WARNING - Ping to IP 160.95.112.195 from VM ctest-vn1-vm1-52208991 failed 2025-11-20 01:54:06,864 - INFO - Adding interface with subnet_id 8bc644be-0794-43ac-88c2-cffb2b4d4964, port_id None to router ccf69374-f914-4d63-8350-8edd1969d739 2025-11-20 01:54:07,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:54:07,081 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.95.112.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-20 01:54:07,081 - DEBUG - ping -s 56 -c 3 -W 1 160.95.112.195 2025-11-20 01:54:10,276 - DEBUG - PING 160.95.112.195 (160.95.112.195): 56 data bytes 64 bytes from 160.95.112.195: seq=1 ttl=63 time=1.381 ms 64 bytes from 160.95.112.195: seq=2 ttl=63 time=0.885 ms --- 160.95.112.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.885/1.133/1.381 ms 2025-11-20 01:54:10,276 - WARNING - Ping to IP 160.95.112.195 from VM ctest-vn1-vm1-52208991 failed 2025-11-20 01:54:11,277 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.95.112.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-20 01:54:11,277 - DEBUG - ping -s 56 -c 3 -W 1 160.95.112.195 2025-11-20 01:54:13,487 - DEBUG - PING 160.95.112.195 (160.95.112.195): 56 data bytes 64 bytes from 160.95.112.195: seq=0 ttl=63 time=1.853 ms 64 bytes from 160.95.112.195: seq=1 ttl=63 time=1.143 ms 64 bytes from 160.95.112.195: seq=2 ttl=63 time=0.796 ms --- 160.95.112.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/1.264/1.853 ms 2025-11-20 01:54:13,487 - INFO - Ping to IP 160.95.112.195 from VM ctest-vn1-vm1-52208991 passed 2025-11-20 01:54:13,487 - INFO - Deleting interface with subnet_id 73cd9230-3f55-4abe-b26a-b4c03a5a1ee9, port_id None from router ccf69374-f914-4d63-8350-8edd1969d739 2025-11-20 01:54:13,591 - INFO - Deleting interface with subnet_id 8bc644be-0794-43ac-88c2-cffb2b4d4964, port_id None from router ccf69374-f914-4d63-8350-8edd1969d739 2025-11-20 01:54:13,776 - INFO - Deleting VM ctest-vn2-vm1-17889716 2025-11-20 01:54:13,857 - INFO - Deleting VM ctest-vn1-vm1-52208991 2025-11-20 01:54:13,938 - INFO - Deleting VN ctest-vn2-85396344 2025-11-20 01:54:13,976 - DEBUG - VN 32d2c9aa-b4f5-4d00-bd61-77d888c1302a still in use: Unable to complete operation on network 32d2c9aa-b4f5-4d00-bd61-77d888c1302a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-47632166-d515-4ac0-873a-5780c1dc659f'] 2025-11-20 01:54:13,977 - WARNING - Deleting VN ctest-vn2-85396344 failed..Will retry 2025-11-20 01:54:16,080 - DEBUG - Response for deleting network () 2025-11-20 01:54:16,080 - INFO - Deleting VN ctest-vn1-65840708 2025-11-20 01:54:16,178 - DEBUG - Response for deleting network () 2025-11-20 01:54:16,438 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 01:54:16,438 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-11-20 01:54:16,438 - INFO - -------------------------------------------------------------------------------- 2025-11-20 01:54:17,094 - INFO - Deleted project: ctest-TestRouters-54689279, ID : b9bd621f-e1a9-4f32-80b6-6edd3f36024f