2025-11-03 17:54:56,702 - INFO - Domain Default found not creating 2025-11-03 17:54:56,878 - INFO - Project ctest-TestRouters-24354623 not found, creating it 2025-11-03 17:54:57,498 - INFO - Created Project:ctest-TestRouters-24354623, ID : 2b5d7308-4c4a-4521-9ef8-e0d25e988612 2025-11-03 17:54:59,675 - INFO - ================================================================================ 2025-11-03 17:54:59,675 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-03 17:54:59,675 - 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-03 17:54:59,955 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-03 17:54:59,955 - INFO - Initial checks done. Running the testcase now 2025-11-03 17:54:59,956 - INFO - 2025-11-03 17:55:00,488 - DEBUG - Response for create_network : {'network': {'id': 'cfe02272-3d4d-46f6-8902-2ff2076b1c88', 'name': 'ctest-vn1-03085580', 'tenant_id': '2b5d73084c4a45219ef8e0d25e988612', 'project_id': '2b5d73084c4a45219ef8e0d25e988612', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-24354623', 'ctest-vn1-03085580'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 17:55:00,676 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b13ae721-03c9-4f62-a1fc-67f485041797', 'name': '', 'tenant_id': '2b5d73084c4a45219ef8e0d25e988612', 'network_id': 'cfe02272-3d4d-46f6-8902-2ff2076b1c88', 'ip_version': 4, 'cidr': '219.205.247.0/26', 'allocation_pools': [{'start': '219.205.247.2', 'end': '219.205.247.62'}], 'gateway_ip': '219.205.247.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.205.247.2', 'tags': [], 'project_id': '2b5d73084c4a45219ef8e0d25e988612'}} 2025-11-03 17:55:00,698 - INFO - Created VN ctest-vn1-03085580 2025-11-03 17:55:00,750 - DEBUG - VN ctest-vn1-03085580 UUID is cfe02272-3d4d-46f6-8902-2ff2076b1c88 2025-11-03 17:55:01,041 - DEBUG - Response for create_network : {'network': {'id': '522b8b99-13c2-4094-a4bf-ae3f5a3685db', 'name': 'ctest-vn2-11074002', 'tenant_id': '2b5d73084c4a45219ef8e0d25e988612', 'project_id': '2b5d73084c4a45219ef8e0d25e988612', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-24354623', 'ctest-vn2-11074002'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 17:55:01,188 - DEBUG - Response for create_subnet : {'subnet': {'id': '6000f71f-9152-4102-9888-8057d8539e46', 'name': '', 'tenant_id': '2b5d73084c4a45219ef8e0d25e988612', 'network_id': '522b8b99-13c2-4094-a4bf-ae3f5a3685db', 'ip_version': 4, 'cidr': '202.114.12.64/26', 'allocation_pools': [{'start': '202.114.12.66', 'end': '202.114.12.126'}], 'gateway_ip': '202.114.12.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.114.12.66', 'tags': [], 'project_id': '2b5d73084c4a45219ef8e0d25e988612'}} 2025-11-03 17:55:01,209 - INFO - Created VN ctest-vn2-11074002 2025-11-03 17:55:01,262 - DEBUG - VN ctest-vn2-11074002 UUID is 522b8b99-13c2-4094-a4bf-ae3f5a3685db 2025-11-03 17:55:01,459 - DEBUG - Services list from nova: [, , ] 2025-11-03 17:55:02,668 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4611-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4611-1) 2025-11-03 17:55:03,920 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4611-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4611-1) 2025-11-03 17:55:04,006 - INFO - Adding interface with subnet_id b13ae721-03c9-4f62-a1fc-67f485041797, port_id None to router 145fab15-de7c-43a3-b46f-5450d34cbaa3 2025-11-03 17:55:04,298 - INFO - Waiting for VM ctest-vn1-vm1-28515677 to be up.. 2025-11-03 17:55:04,396 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 17:55:09,527 - DEBUG - VM is in ACTIVE state now 2025-11-03 17:55:09,527 - INFO - VM name : ctest-vn1-vm1-28515677 2025-11-03 17:55:09,641 - DEBUG - VM ctest-vn1-vm1-28515677 ID is 3fd5c82c-4675-429c-bbc8-20d19cd0fc52 2025-11-03 17:55:09,667 - DEBUG - VM ctest-vn1-vm1-28515677 launched on Node cn-jenkins-deploy-platform-ansible-os-4611-1 2025-11-03 17:55:09,798 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3fd5c82c-4675-429c-bbc8-20d19cd0fc52 2025-11-03 17:55:10,122 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3fd5c82c-4675-429c-bbc8-20d19cd0fc52 2025-11-03 17:55:10,159 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9cbdcae2-93d7-45f6-a56c-5b33b1b27218 2025-11-03 17:55:13,428 - 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 1022ms') 2025-11-03 17:55:13,428 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28515677 failed! 2025-11-03 17:55:13,482 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-24354623:ctest-vn1-03085580 is 219.205.247.1 and allocation pool is NOT set 2025-11-03 17:55:15,548 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.596 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.596/1.679/2.763/1.083 ms') 2025-11-03 17:55:15,548 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-28515677 passed 2025-11-03 17:55:15,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:55:15,698 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-28515677, IP 219.205.247.3, Port 22 2025-11-03 17:55:15,876 - DEBUG - VM ctest-vn1-vm1-28515677 is ready for SSH connections 2025-11-03 17:55:15,876 - INFO - Waiting for VM ctest-vn2-vm1-78197474 to be up.. 2025-11-03 17:55:15,965 - DEBUG - VM is in ACTIVE state now 2025-11-03 17:55:15,965 - INFO - VM name : ctest-vn2-vm1-78197474 2025-11-03 17:55:16,056 - DEBUG - VM ctest-vn2-vm1-78197474 ID is fea331bd-a699-472b-9642-28672a93bac2 2025-11-03 17:55:16,056 - DEBUG - VM ctest-vn2-vm1-78197474 launched on Node cn-jenkins-deploy-platform-ansible-os-4611-1 2025-11-03 17:55:16,160 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fea331bd-a699-472b-9642-28672a93bac2 2025-11-03 17:55:16,171 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/293085fd-4933-43cb-a08f-58c83b2b62d9 2025-11-03 17:55:17,413 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.599 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.599/2.269/3.939/1.670 ms') 2025-11-03 17:55:17,413 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-78197474 passed 2025-11-03 17:55:17,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:55:17,566 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-78197474, IP 202.114.12.67, Port 22 2025-11-03 17:55:17,730 - DEBUG - VM ctest-vn2-vm1-78197474 is ready for SSH connections 2025-11-03 17:55:17,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:55:17,731 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.114.12.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-03 17:55:17,731 - DEBUG - ping -s 56 -c 3 -W 1 202.114.12.67 2025-11-03 17:55:22,801 - DEBUG - PING 202.114.12.67 (202.114.12.67): 56 data bytes --- 202.114.12.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-03 17:55:22,802 - WARNING - Ping to IP 202.114.12.67 from VM ctest-vn1-vm1-28515677 failed 2025-11-03 17:55:22,802 - INFO - Adding interface with subnet_id 6000f71f-9152-4102-9888-8057d8539e46, port_id None to router 145fab15-de7c-43a3-b46f-5450d34cbaa3 2025-11-03 17:55:23,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:55:23,094 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.114.12.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-03 17:55:23,094 - DEBUG - ping -s 56 -c 3 -W 1 202.114.12.67 2025-11-03 17:55:26,330 - DEBUG - PING 202.114.12.67 (202.114.12.67): 56 data bytes 64 bytes from 202.114.12.67: seq=1 ttl=63 time=3.552 ms 64 bytes from 202.114.12.67: seq=2 ttl=63 time=1.207 ms --- 202.114.12.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.207/2.379/3.552 ms 2025-11-03 17:55:26,330 - WARNING - Ping to IP 202.114.12.67 from VM ctest-vn1-vm1-28515677 failed 2025-11-03 17:55:27,331 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.114.12.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-03 17:55:27,331 - DEBUG - ping -s 56 -c 3 -W 1 202.114.12.67 2025-11-03 17:55:29,592 - DEBUG - PING 202.114.12.67 (202.114.12.67): 56 data bytes 64 bytes from 202.114.12.67: seq=0 ttl=63 time=1.740 ms 64 bytes from 202.114.12.67: seq=1 ttl=63 time=0.949 ms 64 bytes from 202.114.12.67: seq=2 ttl=63 time=1.173 ms --- 202.114.12.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.949/1.287/1.740 ms 2025-11-03 17:55:29,592 - INFO - Ping to IP 202.114.12.67 from VM ctest-vn1-vm1-28515677 passed 2025-11-03 17:55:29,593 - INFO - Deleting interface with subnet_id b13ae721-03c9-4f62-a1fc-67f485041797, port_id None from router 145fab15-de7c-43a3-b46f-5450d34cbaa3 2025-11-03 17:55:29,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:55:29,714 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.114.12.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-03 17:55:29,714 - DEBUG - ping -s 56 -c 3 -W 1 202.114.12.67 2025-11-03 17:55:32,944 - DEBUG - PING 202.114.12.67 (202.114.12.67): 56 data bytes --- 202.114.12.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-03 17:55:32,944 - WARNING - Ping to IP 202.114.12.67 from VM ctest-vn1-vm1-28515677 failed 2025-11-03 17:55:32,944 - INFO - Adding interface with subnet_id b13ae721-03c9-4f62-a1fc-67f485041797, port_id None to router 145fab15-de7c-43a3-b46f-5450d34cbaa3 2025-11-03 17:55:33,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:55:33,187 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.114.12.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-03 17:55:33,187 - DEBUG - ping -s 56 -c 3 -W 1 202.114.12.67 2025-11-03 17:55:35,398 - DEBUG - PING 202.114.12.67 (202.114.12.67): 56 data bytes 64 bytes from 202.114.12.67: seq=0 ttl=63 time=1.778 ms 64 bytes from 202.114.12.67: seq=1 ttl=63 time=0.958 ms 64 bytes from 202.114.12.67: seq=2 ttl=63 time=1.396 ms --- 202.114.12.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.958/1.377/1.778 ms 2025-11-03 17:55:35,398 - INFO - Ping to IP 202.114.12.67 from VM ctest-vn1-vm1-28515677 passed 2025-11-03 17:55:35,398 - INFO - Deleting interface with subnet_id 6000f71f-9152-4102-9888-8057d8539e46, port_id None from router 145fab15-de7c-43a3-b46f-5450d34cbaa3 2025-11-03 17:55:35,506 - INFO - Deleting interface with subnet_id b13ae721-03c9-4f62-a1fc-67f485041797, port_id None from router 145fab15-de7c-43a3-b46f-5450d34cbaa3 2025-11-03 17:55:35,742 - INFO - Deleting VM ctest-vn2-vm1-78197474 2025-11-03 17:55:35,835 - INFO - Deleting VM ctest-vn1-vm1-28515677 2025-11-03 17:55:35,923 - INFO - Deleting VN ctest-vn2-11074002 2025-11-03 17:55:35,963 - DEBUG - VN 522b8b99-13c2-4094-a4bf-ae3f5a3685db still in use: Unable to complete operation on network 522b8b99-13c2-4094-a4bf-ae3f5a3685db. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7a74817a-6e14-4329-871a-7cb4b34f63b3'] 2025-11-03 17:55:35,964 - WARNING - Deleting VN ctest-vn2-11074002 failed..Will retry 2025-11-03 17:55:38,065 - DEBUG - Response for deleting network () 2025-11-03 17:55:38,065 - INFO - Deleting VN ctest-vn1-03085580 2025-11-03 17:55:38,172 - DEBUG - Response for deleting network () 2025-11-03 17:55:38,426 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 17:55:38,427 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-11-03 17:55:38,427 - INFO - -------------------------------------------------------------------------------- 2025-11-03 17:55:39,137 - INFO - Deleted project: ctest-TestRouters-24354623, ID : 2b5d7308-4c4a-4521-9ef8-e0d25e988612