2025-11-05 16:25:42,955 - INFO - Domain Default found not creating 2025-11-05 16:25:43,086 - INFO - Project ctest-TestRouters-89016296 not found, creating it 2025-11-05 16:25:43,520 - INFO - Created Project:ctest-TestRouters-89016296, ID : e1a600f8-5e33-49ce-a092-1b0472889c88 2025-11-05 16:25:44,906 - INFO - ================================================================================ 2025-11-05 16:25:44,907 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-05 16:25:44,907 - 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-05 16:25:45,167 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.241': '0'}} with 2025-11-05 16:25:45,167 - INFO - Initial checks done. Running the testcase now 2025-11-05 16:25:45,167 - INFO - 2025-11-05 16:25:45,693 - DEBUG - Response for create_network : {'network': {'id': 'cc594fcd-5018-493a-9afe-d17a4aa9078d', 'name': 'ctest-vn1-40147689', 'tenant_id': 'e1a600f85e3349cea0921b0472889c88', 'project_id': 'e1a600f85e3349cea0921b0472889c88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-89016296', 'ctest-vn1-40147689'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:25:45,850 - DEBUG - Response for create_subnet : {'subnet': {'id': '58a7ef9a-49bc-4824-8164-dcf72e2af19e', 'name': '', 'tenant_id': 'e1a600f85e3349cea0921b0472889c88', 'network_id': 'cc594fcd-5018-493a-9afe-d17a4aa9078d', 'ip_version': 4, 'cidr': '146.232.82.0/26', 'allocation_pools': [{'start': '146.232.82.2', 'end': '146.232.82.62'}], 'gateway_ip': '146.232.82.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.232.82.2', 'tags': [], 'project_id': 'e1a600f85e3349cea0921b0472889c88'}} 2025-11-05 16:25:45,865 - INFO - Created VN ctest-vn1-40147689 2025-11-05 16:25:45,914 - DEBUG - VN ctest-vn1-40147689 UUID is cc594fcd-5018-493a-9afe-d17a4aa9078d 2025-11-05 16:25:46,253 - DEBUG - Response for create_network : {'network': {'id': '01b79edc-1074-4891-892f-c2df4c44d5e2', 'name': 'ctest-vn2-70192502', 'tenant_id': 'e1a600f85e3349cea0921b0472889c88', 'project_id': 'e1a600f85e3349cea0921b0472889c88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-89016296', 'ctest-vn2-70192502'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:25:46,450 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6f1611b-d34d-4838-b332-e9d73a297310', 'name': '', 'tenant_id': 'e1a600f85e3349cea0921b0472889c88', 'network_id': '01b79edc-1074-4891-892f-c2df4c44d5e2', 'ip_version': 4, 'cidr': '191.149.221.0/26', 'allocation_pools': [{'start': '191.149.221.2', 'end': '191.149.221.62'}], 'gateway_ip': '191.149.221.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.149.221.2', 'tags': [], 'project_id': 'e1a600f85e3349cea0921b0472889c88'}} 2025-11-05 16:25:46,470 - INFO - Created VN ctest-vn2-70192502 2025-11-05 16:25:46,526 - DEBUG - VN ctest-vn2-70192502 UUID is 01b79edc-1074-4891-892f-c2df4c44d5e2 2025-11-05 16:25:46,739 - DEBUG - Services list from nova: [, , ] 2025-11-05 16:25:47,702 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4650-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4650-1) 2025-11-05 16:25:48,918 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4650-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4650-1) 2025-11-05 16:25:49,003 - INFO - Adding interface with subnet_id 58a7ef9a-49bc-4824-8164-dcf72e2af19e, port_id None to router 76f5151d-a4de-4460-905c-0118d325a655 2025-11-05 16:25:49,302 - INFO - Waiting for VM ctest-vn1-vm1-43095285 to be up.. 2025-11-05 16:25:49,468 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 16:25:54,536 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:25:54,536 - INFO - VM name : ctest-vn1-vm1-43095285 2025-11-05 16:25:54,602 - DEBUG - VM ctest-vn1-vm1-43095285 ID is 9bab7708-c3de-49af-a4ed-236ef891cc50 2025-11-05 16:25:54,619 - DEBUG - VM ctest-vn1-vm1-43095285 launched on Node cn-jenkins-deploy-platform-ansible-os-4650-1 2025-11-05 16:25:54,681 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9bab7708-c3de-49af-a4ed-236ef891cc50 2025-11-05 16:25:54,973 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9bab7708-c3de-49af-a4ed-236ef891cc50 2025-11-05 16:25:55,003 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/1af8f012-fc95-439e-99fb-cf7306b48463 2025-11-05 16:25:58,268 - 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 1031ms') 2025-11-05 16:25:58,268 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43095285 failed! 2025-11-05 16:25:58,322 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-89016296:ctest-vn1-40147689 is 146.232.82.1 and allocation pool is NOT set 2025-11-05 16:26:00,388 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.19 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 = 1.188/2.434/3.681/1.246 ms') 2025-11-05 16:26:00,388 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43095285 passed 2025-11-05 16:26:00,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:26:00,542 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43095285, IP 146.232.82.3, Port 22 2025-11-05 16:26:00,697 - DEBUG - VM ctest-vn1-vm1-43095285 is ready for SSH connections 2025-11-05 16:26:00,698 - INFO - Waiting for VM ctest-vn2-vm1-23375972 to be up.. 2025-11-05 16:26:00,804 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:26:00,804 - INFO - VM name : ctest-vn2-vm1-23375972 2025-11-05 16:26:00,887 - DEBUG - VM ctest-vn2-vm1-23375972 ID is dd847e23-550f-4a79-a1fe-5d79bea25225 2025-11-05 16:26:00,888 - DEBUG - VM ctest-vn2-vm1-23375972 launched on Node cn-jenkins-deploy-platform-ansible-os-4650-1 2025-11-05 16:26:00,968 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/dd847e23-550f-4a79-a1fe-5d79bea25225 2025-11-05 16:26:00,976 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/f4644b49-9fc4-40a6-9d12-118c191a04fe 2025-11-05 16:26:02,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=6.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.13 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 = 1.125/3.627/6.130/2.502 ms') 2025-11-05 16:26:02,216 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-23375972 passed 2025-11-05 16:26:02,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:26:02,366 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-23375972, IP 191.149.221.3, Port 22 2025-11-05 16:26:02,518 - DEBUG - VM ctest-vn2-vm1-23375972 is ready for SSH connections 2025-11-05 16:26:02,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:26:02,518 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.149.221.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-05 16:26:02,518 - DEBUG - ping -s 56 -c 3 -W 1 191.149.221.3 2025-11-05 16:26:07,166 - DEBUG - PING 191.149.221.3 (191.149.221.3): 56 data bytes --- 191.149.221.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 16:26:07,166 - WARNING - Ping to IP 191.149.221.3 from VM ctest-vn1-vm1-43095285 failed 2025-11-05 16:26:07,166 - INFO - Adding interface with subnet_id a6f1611b-d34d-4838-b332-e9d73a297310, port_id None to router 76f5151d-a4de-4460-905c-0118d325a655 2025-11-05 16:26:07,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:26:07,412 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.149.221.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-05 16:26:07,412 - DEBUG - ping -s 56 -c 3 -W 1 191.149.221.3 2025-11-05 16:26:09,615 - DEBUG - PING 191.149.221.3 (191.149.221.3): 56 data bytes 64 bytes from 191.149.221.3: seq=0 ttl=63 time=2.420 ms 64 bytes from 191.149.221.3: seq=1 ttl=63 time=0.854 ms 64 bytes from 191.149.221.3: seq=2 ttl=63 time=0.795 ms --- 191.149.221.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.795/1.356/2.420 ms 2025-11-05 16:26:09,615 - INFO - Ping to IP 191.149.221.3 from VM ctest-vn1-vm1-43095285 passed 2025-11-05 16:26:09,615 - INFO - Deleting interface with subnet_id 58a7ef9a-49bc-4824-8164-dcf72e2af19e, port_id None from router 76f5151d-a4de-4460-905c-0118d325a655 2025-11-05 16:26:09,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:26:09,719 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.149.221.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-05 16:26:09,719 - DEBUG - ping -s 56 -c 3 -W 1 191.149.221.3 2025-11-05 16:26:12,920 - DEBUG - PING 191.149.221.3 (191.149.221.3): 56 data bytes --- 191.149.221.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 16:26:12,920 - WARNING - Ping to IP 191.149.221.3 from VM ctest-vn1-vm1-43095285 failed 2025-11-05 16:26:12,920 - INFO - Adding interface with subnet_id 58a7ef9a-49bc-4824-8164-dcf72e2af19e, port_id None to router 76f5151d-a4de-4460-905c-0118d325a655 2025-11-05 16:26:13,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:26:13,133 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.149.221.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-05 16:26:13,134 - DEBUG - ping -s 56 -c 3 -W 1 191.149.221.3 2025-11-05 16:26:16,376 - DEBUG - PING 191.149.221.3 (191.149.221.3): 56 data bytes 64 bytes from 191.149.221.3: seq=1 ttl=63 time=1.418 ms 64 bytes from 191.149.221.3: seq=2 ttl=63 time=0.750 ms --- 191.149.221.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.750/1.084/1.418 ms 2025-11-05 16:26:16,376 - WARNING - Ping to IP 191.149.221.3 from VM ctest-vn1-vm1-43095285 failed 2025-11-05 16:26:17,376 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.149.221.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-05 16:26:17,377 - DEBUG - ping -s 56 -c 3 -W 1 191.149.221.3 2025-11-05 16:26:19,584 - DEBUG - PING 191.149.221.3 (191.149.221.3): 56 data bytes 64 bytes from 191.149.221.3: seq=0 ttl=63 time=1.336 ms 64 bytes from 191.149.221.3: seq=1 ttl=63 time=0.737 ms 64 bytes from 191.149.221.3: seq=2 ttl=63 time=0.854 ms --- 191.149.221.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.737/0.975/1.336 ms 2025-11-05 16:26:19,584 - INFO - Ping to IP 191.149.221.3 from VM ctest-vn1-vm1-43095285 passed 2025-11-05 16:26:19,584 - INFO - Deleting interface with subnet_id a6f1611b-d34d-4838-b332-e9d73a297310, port_id None from router 76f5151d-a4de-4460-905c-0118d325a655 2025-11-05 16:26:19,698 - INFO - Deleting interface with subnet_id 58a7ef9a-49bc-4824-8164-dcf72e2af19e, port_id None from router 76f5151d-a4de-4460-905c-0118d325a655 2025-11-05 16:26:19,844 - INFO - Deleting VM ctest-vn2-vm1-23375972 2025-11-05 16:26:19,905 - INFO - Deleting VM ctest-vn1-vm1-43095285 2025-11-05 16:26:19,969 - INFO - Deleting VN ctest-vn2-70192502 2025-11-05 16:26:20,007 - DEBUG - VN 01b79edc-1074-4891-892f-c2df4c44d5e2 still in use: Unable to complete operation on network 01b79edc-1074-4891-892f-c2df4c44d5e2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1ee3dec8-66ad-4200-9264-c98237e7d3ea'] 2025-11-05 16:26:20,008 - WARNING - Deleting VN ctest-vn2-70192502 failed..Will retry 2025-11-05 16:26:22,090 - DEBUG - Response for deleting network () 2025-11-05 16:26:22,090 - INFO - Deleting VN ctest-vn1-40147689 2025-11-05 16:26:22,191 - DEBUG - Response for deleting network () 2025-11-05 16:26:22,448 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 16:26:22,448 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-11-05 16:26:22,448 - INFO - -------------------------------------------------------------------------------- 2025-11-05 16:26:23,133 - INFO - Deleted project: ctest-TestRouters-89016296, ID : e1a600f8-5e33-49ce-a092-1b0472889c88