2025-10-31 07:53:46,845 - INFO - Domain Default found not creating 2025-10-31 07:53:46,986 - INFO - Project ctest-TestRouters-55206025 not found, creating it 2025-10-31 07:53:47,448 - INFO - Created Project:ctest-TestRouters-55206025, ID : ff044c2e-4870-4d85-86a5-81fe173e4e1b 2025-10-31 07:53:48,941 - INFO - ================================================================================ 2025-10-31 07:53:48,942 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-31 07:53:48,942 - 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-10-31 07:53:49,201 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-31 07:53:49,201 - INFO - Initial checks done. Running the testcase now 2025-10-31 07:53:49,201 - INFO - 2025-10-31 07:53:49,740 - DEBUG - Response for create_network : {'network': {'id': 'b60ecb5f-39f5-4764-a67c-82d6bf26cf93', 'name': 'ctest-vn1-74075682', 'tenant_id': 'ff044c2e48704d8586a581fe173e4e1b', 'project_id': 'ff044c2e48704d8586a581fe173e4e1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55206025', 'ctest-vn1-74075682'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 07:53:49,918 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa848c16-5e37-4933-b1ac-89fd217d3a86', 'name': '', 'tenant_id': 'ff044c2e48704d8586a581fe173e4e1b', 'network_id': 'b60ecb5f-39f5-4764-a67c-82d6bf26cf93', 'ip_version': 4, 'cidr': '55.132.184.128/26', 'allocation_pools': [{'start': '55.132.184.130', 'end': '55.132.184.190'}], 'gateway_ip': '55.132.184.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.132.184.130', 'tags': [], 'project_id': 'ff044c2e48704d8586a581fe173e4e1b'}} 2025-10-31 07:53:49,933 - INFO - Created VN ctest-vn1-74075682 2025-10-31 07:53:49,985 - DEBUG - VN ctest-vn1-74075682 UUID is b60ecb5f-39f5-4764-a67c-82d6bf26cf93 2025-10-31 07:53:50,293 - DEBUG - Response for create_network : {'network': {'id': '63780fee-6ef4-4553-8541-c85b94074664', 'name': 'ctest-vn2-93987495', 'tenant_id': 'ff044c2e48704d8586a581fe173e4e1b', 'project_id': 'ff044c2e48704d8586a581fe173e4e1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55206025', 'ctest-vn2-93987495'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 07:53:50,471 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c1c4aa7-77f9-4964-8060-c980cf3fbb46', 'name': '', 'tenant_id': 'ff044c2e48704d8586a581fe173e4e1b', 'network_id': '63780fee-6ef4-4553-8541-c85b94074664', 'ip_version': 4, 'cidr': '42.34.194.64/26', 'allocation_pools': [{'start': '42.34.194.66', 'end': '42.34.194.126'}], 'gateway_ip': '42.34.194.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.34.194.66', 'tags': [], 'project_id': 'ff044c2e48704d8586a581fe173e4e1b'}} 2025-10-31 07:53:50,487 - INFO - Created VN ctest-vn2-93987495 2025-10-31 07:53:50,537 - DEBUG - VN ctest-vn2-93987495 UUID is 63780fee-6ef4-4553-8541-c85b94074664 2025-10-31 07:53:50,747 - DEBUG - Services list from nova: [, , ] 2025-10-31 07:53:51,708 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4572-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4572-1) 2025-10-31 07:53:52,873 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4572-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4572-1) 2025-10-31 07:53:52,935 - INFO - Adding interface with subnet_id aa848c16-5e37-4933-b1ac-89fd217d3a86, port_id None to router 789c4f5e-746d-48b5-98d1-392a47a39a67 2025-10-31 07:53:53,182 - INFO - Waiting for VM ctest-vn1-vm1-36841576 to be up.. 2025-10-31 07:53:53,266 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 07:53:58,336 - DEBUG - VM is in ACTIVE state now 2025-10-31 07:53:58,336 - INFO - VM name : ctest-vn1-vm1-36841576 2025-10-31 07:53:58,404 - DEBUG - VM ctest-vn1-vm1-36841576 ID is 763ded68-25e8-46bd-8e1f-313158709c42 2025-10-31 07:53:58,422 - DEBUG - VM ctest-vn1-vm1-36841576 launched on Node cn-jenkins-deploy-platform-ansible-os-4572-1 2025-10-31 07:53:58,495 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/763ded68-25e8-46bd-8e1f-313158709c42 2025-10-31 07:53:58,789 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/763ded68-25e8-46bd-8e1f-313158709c42 2025-10-31 07:53:58,818 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/016d59eb-555f-46d4-93d4-6f0cbe647872 2025-10-31 07:54:02,087 - 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 1032ms') 2025-10-31 07:54:02,087 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36841576 failed! 2025-10-31 07:54:02,141 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-55206025:ctest-vn1-74075682 is 55.132.184.129 and allocation pool is NOT set 2025-10-31 07:54:04,204 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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.414/1.630/2.847/1.216 ms') 2025-10-31 07:54:04,204 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36841576 passed 2025-10-31 07:54:04,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 07:54:04,353 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36841576, IP 55.132.184.131, Port 22 2025-10-31 07:54:04,509 - DEBUG - VM ctest-vn1-vm1-36841576 is ready for SSH connections 2025-10-31 07:54:04,509 - INFO - Waiting for VM ctest-vn2-vm1-87432210 to be up.. 2025-10-31 07:54:04,579 - DEBUG - VM is in ACTIVE state now 2025-10-31 07:54:04,579 - INFO - VM name : ctest-vn2-vm1-87432210 2025-10-31 07:54:04,647 - DEBUG - VM ctest-vn2-vm1-87432210 ID is 5b08d5fd-9875-49d4-a76e-d7d81ea7646d 2025-10-31 07:54:04,647 - DEBUG - VM ctest-vn2-vm1-87432210 launched on Node cn-jenkins-deploy-platform-ansible-os-4572-1 2025-10-31 07:54:04,710 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5b08d5fd-9875-49d4-a76e-d7d81ea7646d 2025-10-31 07:54:04,716 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f4df45b1-dea0-43f1-950e-b4ca80119b3e 2025-10-31 07:54:05,954 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/1.597/2.791/1.193 ms') 2025-10-31 07:54:05,954 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-87432210 passed 2025-10-31 07:54:06,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 07:54:06,105 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-87432210, IP 42.34.194.67, Port 22 2025-10-31 07:54:06,261 - DEBUG - VM ctest-vn2-vm1-87432210 is ready for SSH connections 2025-10-31 07:54:06,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 07:54:06,261 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.34.194.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 07:54:06,261 - DEBUG - ping -s 56 -c 3 -W 1 42.34.194.67 2025-10-31 07:54:10,988 - DEBUG - PING 42.34.194.67 (42.34.194.67): 56 data bytes --- 42.34.194.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 07:54:10,988 - WARNING - Ping to IP 42.34.194.67 from VM ctest-vn1-vm1-36841576 failed 2025-10-31 07:54:10,989 - INFO - Adding interface with subnet_id 2c1c4aa7-77f9-4964-8060-c980cf3fbb46, port_id None to router 789c4f5e-746d-48b5-98d1-392a47a39a67 2025-10-31 07:54:11,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 07:54:11,201 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.34.194.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 07:54:11,201 - DEBUG - ping -s 56 -c 3 -W 1 42.34.194.67 2025-10-31 07:54:14,397 - DEBUG - PING 42.34.194.67 (42.34.194.67): 56 data bytes 64 bytes from 42.34.194.67: seq=1 ttl=63 time=2.445 ms 64 bytes from 42.34.194.67: seq=2 ttl=63 time=1.062 ms --- 42.34.194.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.062/1.753/2.445 ms 2025-10-31 07:54:14,398 - WARNING - Ping to IP 42.34.194.67 from VM ctest-vn1-vm1-36841576 failed 2025-10-31 07:54:15,398 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.34.194.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 07:54:15,398 - DEBUG - ping -s 56 -c 3 -W 1 42.34.194.67 2025-10-31 07:54:17,600 - DEBUG - PING 42.34.194.67 (42.34.194.67): 56 data bytes 64 bytes from 42.34.194.67: seq=0 ttl=63 time=1.354 ms 64 bytes from 42.34.194.67: seq=1 ttl=63 time=0.775 ms 64 bytes from 42.34.194.67: seq=2 ttl=63 time=0.751 ms --- 42.34.194.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.751/0.960/1.354 ms 2025-10-31 07:54:17,600 - INFO - Ping to IP 42.34.194.67 from VM ctest-vn1-vm1-36841576 passed 2025-10-31 07:54:17,600 - INFO - Deleting interface with subnet_id aa848c16-5e37-4933-b1ac-89fd217d3a86, port_id None from router 789c4f5e-746d-48b5-98d1-392a47a39a67 2025-10-31 07:54:17,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 07:54:17,698 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.34.194.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 07:54:17,698 - DEBUG - ping -s 56 -c 3 -W 1 42.34.194.67 2025-10-31 07:54:20,900 - DEBUG - PING 42.34.194.67 (42.34.194.67): 56 data bytes --- 42.34.194.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 07:54:20,900 - WARNING - Ping to IP 42.34.194.67 from VM ctest-vn1-vm1-36841576 failed 2025-10-31 07:54:20,900 - INFO - Adding interface with subnet_id aa848c16-5e37-4933-b1ac-89fd217d3a86, port_id None to router 789c4f5e-746d-48b5-98d1-392a47a39a67 2025-10-31 07:54:21,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 07:54:21,104 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.34.194.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 07:54:21,105 - DEBUG - ping -s 56 -c 3 -W 1 42.34.194.67 2025-10-31 07:54:23,303 - DEBUG - PING 42.34.194.67 (42.34.194.67): 56 data bytes 64 bytes from 42.34.194.67: seq=0 ttl=63 time=1.250 ms 64 bytes from 42.34.194.67: seq=1 ttl=63 time=0.758 ms 64 bytes from 42.34.194.67: seq=2 ttl=63 time=0.894 ms --- 42.34.194.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.758/0.967/1.250 ms 2025-10-31 07:54:23,303 - INFO - Ping to IP 42.34.194.67 from VM ctest-vn1-vm1-36841576 passed 2025-10-31 07:54:23,303 - INFO - Deleting interface with subnet_id 2c1c4aa7-77f9-4964-8060-c980cf3fbb46, port_id None from router 789c4f5e-746d-48b5-98d1-392a47a39a67 2025-10-31 07:54:23,397 - INFO - Deleting interface with subnet_id aa848c16-5e37-4933-b1ac-89fd217d3a86, port_id None from router 789c4f5e-746d-48b5-98d1-392a47a39a67 2025-10-31 07:54:23,560 - INFO - Deleting VM ctest-vn2-vm1-87432210 2025-10-31 07:54:23,642 - INFO - Deleting VM ctest-vn1-vm1-36841576 2025-10-31 07:54:23,713 - INFO - Deleting VN ctest-vn2-93987495 2025-10-31 07:54:23,753 - DEBUG - VN 63780fee-6ef4-4553-8541-c85b94074664 still in use: Unable to complete operation on network 63780fee-6ef4-4553-8541-c85b94074664. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6aa74c3c-5497-4e83-9440-3c598b0c92ee'] 2025-10-31 07:54:23,753 - WARNING - Deleting VN ctest-vn2-93987495 failed..Will retry 2025-10-31 07:54:25,854 - DEBUG - Response for deleting network () 2025-10-31 07:54:25,855 - INFO - Deleting VN ctest-vn1-74075682 2025-10-31 07:54:25,951 - DEBUG - Response for deleting network () 2025-10-31 07:54:26,214 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 07:54:26,214 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-10-31 07:54:26,214 - INFO - -------------------------------------------------------------------------------- 2025-10-31 07:54:26,864 - INFO - Deleted project: ctest-TestRouters-55206025, ID : ff044c2e-4870-4d85-86a5-81fe173e4e1b