2025-10-16 10:41:14,539 - INFO - Domain Default found not creating 2025-10-16 10:41:14,758 - INFO - Project ctest-TestRouters-77293967 not found, creating it 2025-10-16 10:41:15,283 - INFO - Created Project:ctest-TestRouters-77293967, ID : 4e5aced6-b109-4ce5-9588-ce68bcad383b 2025-10-16 10:41:16,942 - INFO - ================================================================================ 2025-10-16 10:41:16,942 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-16 10:41:16,943 - 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-16 10:41:17,200 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.18': '0'}} with 2025-10-16 10:41:17,201 - INFO - Initial checks done. Running the testcase now 2025-10-16 10:41:17,201 - INFO - 2025-10-16 10:41:17,803 - DEBUG - Response for create_network : {'network': {'id': 'cf28edf1-7b62-4fb9-babf-5eb9922b4aa4', 'name': 'ctest-vn1-59503536', 'tenant_id': '4e5aced6b1094ce59588ce68bcad383b', 'project_id': '4e5aced6b1094ce59588ce68bcad383b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-77293967', 'ctest-vn1-59503536'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 10:41:18,024 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a21cc3b-8b18-48e4-bd18-ec18c9b5a562', 'name': '', 'tenant_id': '4e5aced6b1094ce59588ce68bcad383b', 'network_id': 'cf28edf1-7b62-4fb9-babf-5eb9922b4aa4', 'ip_version': 4, 'cidr': '81.40.29.192/26', 'allocation_pools': [{'start': '81.40.29.194', 'end': '81.40.29.254'}], 'gateway_ip': '81.40.29.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.40.29.194', 'tags': [], 'project_id': '4e5aced6b1094ce59588ce68bcad383b'}} 2025-10-16 10:41:18,048 - INFO - Created VN ctest-vn1-59503536 2025-10-16 10:41:18,104 - DEBUG - VN ctest-vn1-59503536 UUID is cf28edf1-7b62-4fb9-babf-5eb9922b4aa4 2025-10-16 10:41:18,448 - DEBUG - Response for create_network : {'network': {'id': '8a938f6d-558b-4e79-8621-83eeddf2bc03', 'name': 'ctest-vn2-44419854', 'tenant_id': '4e5aced6b1094ce59588ce68bcad383b', 'project_id': '4e5aced6b1094ce59588ce68bcad383b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-77293967', 'ctest-vn2-44419854'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 10:41:18,611 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc96b98b-3b0c-4602-8266-a98cdc38944a', 'name': '', 'tenant_id': '4e5aced6b1094ce59588ce68bcad383b', 'network_id': '8a938f6d-558b-4e79-8621-83eeddf2bc03', 'ip_version': 4, 'cidr': '26.168.114.64/26', 'allocation_pools': [{'start': '26.168.114.66', 'end': '26.168.114.126'}], 'gateway_ip': '26.168.114.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.168.114.66', 'tags': [], 'project_id': '4e5aced6b1094ce59588ce68bcad383b'}} 2025-10-16 10:41:18,628 - INFO - Created VN ctest-vn2-44419854 2025-10-16 10:41:18,680 - DEBUG - VN ctest-vn2-44419854 UUID is 8a938f6d-558b-4e79-8621-83eeddf2bc03 2025-10-16 10:41:18,852 - DEBUG - Services list from nova: [, , ] 2025-10-16 10:41:20,056 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4344-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4344-1) 2025-10-16 10:41:21,356 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4344-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4344-1) 2025-10-16 10:41:21,458 - INFO - Adding interface with subnet_id 4a21cc3b-8b18-48e4-bd18-ec18c9b5a562, port_id None to router 362a49e4-abf5-4c1d-a92c-1cd3cfcd11b0 2025-10-16 10:41:21,734 - INFO - Waiting for VM ctest-vn1-vm1-50853642 to be up.. 2025-10-16 10:41:21,837 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 10:41:26,914 - DEBUG - VM is in ACTIVE state now 2025-10-16 10:41:26,914 - INFO - VM name : ctest-vn1-vm1-50853642 2025-10-16 10:41:26,998 - DEBUG - VM ctest-vn1-vm1-50853642 ID is fb150088-80e1-4d78-ad19-8e27bfdfa9a1 2025-10-16 10:41:27,019 - DEBUG - VM ctest-vn1-vm1-50853642 launched on Node cn-jenkins-deploy-platform-ansible-os-4344-1 2025-10-16 10:41:27,101 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/fb150088-80e1-4d78-ad19-8e27bfdfa9a1 2025-10-16 10:41:27,438 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/fb150088-80e1-4d78-ad19-8e27bfdfa9a1 2025-10-16 10:41:27,471 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/392824ca-b2ee-4d3f-acb1-86285588e191 2025-10-16 10:41:30,748 - 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 1030ms') 2025-10-16 10:41:30,748 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50853642 failed! 2025-10-16 10:41:30,804 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-77293967:ctest-vn1-59503536 is 81.40.29.193 and allocation pool is NOT set 2025-10-16 10:41:32,873 - 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.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.899 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.899/2.580/4.262/1.681 ms') 2025-10-16 10:41:32,873 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-50853642 passed 2025-10-16 10:41:33,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:41:33,024 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-50853642, IP 81.40.29.195, Port 22 2025-10-16 10:41:33,183 - DEBUG - VM ctest-vn1-vm1-50853642 is ready for SSH connections 2025-10-16 10:41:33,183 - INFO - Waiting for VM ctest-vn2-vm1-46963668 to be up.. 2025-10-16 10:41:33,259 - DEBUG - VM is in ACTIVE state now 2025-10-16 10:41:33,259 - INFO - VM name : ctest-vn2-vm1-46963668 2025-10-16 10:41:33,332 - DEBUG - VM ctest-vn2-vm1-46963668 ID is 76467422-25c7-4dfc-9167-d5c0fe13046e 2025-10-16 10:41:33,332 - DEBUG - VM ctest-vn2-vm1-46963668 launched on Node cn-jenkins-deploy-platform-ansible-os-4344-1 2025-10-16 10:41:33,402 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/76467422-25c7-4dfc-9167-d5c0fe13046e 2025-10-16 10:41:33,410 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/e2e94549-f08f-4c36-a25c-152f822df622 2025-10-16 10:41:34,650 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.951 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.951/2.306/3.661/1.355 ms') 2025-10-16 10:41:34,650 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-46963668 passed 2025-10-16 10:41:34,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:41:34,804 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-46963668, IP 26.168.114.67, Port 22 2025-10-16 10:41:34,960 - DEBUG - VM ctest-vn2-vm1-46963668 is ready for SSH connections 2025-10-16 10:41:34,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:41:34,960 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.168.114.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-16 10:41:34,960 - DEBUG - ping -s 56 -c 3 -W 1 26.168.114.67 2025-10-16 10:41:40,026 - DEBUG - PING 26.168.114.67 (26.168.114.67): 56 data bytes --- 26.168.114.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-16 10:41:40,026 - WARNING - Ping to IP 26.168.114.67 from VM ctest-vn1-vm1-50853642 failed 2025-10-16 10:41:40,026 - INFO - Adding interface with subnet_id bc96b98b-3b0c-4602-8266-a98cdc38944a, port_id None to router 362a49e4-abf5-4c1d-a92c-1cd3cfcd11b0 2025-10-16 10:41:40,291 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:41:40,291 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.168.114.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-16 10:41:40,291 - DEBUG - ping -s 56 -c 3 -W 1 26.168.114.67 2025-10-16 10:41:43,539 - DEBUG - PING 26.168.114.67 (26.168.114.67): 56 data bytes 64 bytes from 26.168.114.67: seq=1 ttl=63 time=3.626 ms 64 bytes from 26.168.114.67: seq=2 ttl=63 time=1.130 ms --- 26.168.114.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.130/2.378/3.626 ms 2025-10-16 10:41:43,539 - WARNING - Ping to IP 26.168.114.67 from VM ctest-vn1-vm1-50853642 failed 2025-10-16 10:41:44,540 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.168.114.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-16 10:41:44,540 - DEBUG - ping -s 56 -c 3 -W 1 26.168.114.67 2025-10-16 10:41:46,765 - DEBUG - PING 26.168.114.67 (26.168.114.67): 56 data bytes 64 bytes from 26.168.114.67: seq=0 ttl=63 time=1.508 ms 64 bytes from 26.168.114.67: seq=1 ttl=63 time=0.767 ms 64 bytes from 26.168.114.67: seq=2 ttl=63 time=1.002 ms --- 26.168.114.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.767/1.092/1.508 ms 2025-10-16 10:41:46,765 - INFO - Ping to IP 26.168.114.67 from VM ctest-vn1-vm1-50853642 passed 2025-10-16 10:41:46,765 - INFO - Deleting interface with subnet_id 4a21cc3b-8b18-48e4-bd18-ec18c9b5a562, port_id None from router 362a49e4-abf5-4c1d-a92c-1cd3cfcd11b0 2025-10-16 10:41:46,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:41:46,890 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.168.114.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-16 10:41:46,890 - DEBUG - ping -s 56 -c 3 -W 1 26.168.114.67 2025-10-16 10:41:50,134 - DEBUG - PING 26.168.114.67 (26.168.114.67): 56 data bytes --- 26.168.114.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-16 10:41:50,134 - WARNING - Ping to IP 26.168.114.67 from VM ctest-vn1-vm1-50853642 failed 2025-10-16 10:41:50,134 - INFO - Adding interface with subnet_id 4a21cc3b-8b18-48e4-bd18-ec18c9b5a562, port_id None to router 362a49e4-abf5-4c1d-a92c-1cd3cfcd11b0 2025-10-16 10:41:50,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:41:50,370 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.168.114.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-16 10:41:50,370 - DEBUG - ping -s 56 -c 3 -W 1 26.168.114.67 2025-10-16 10:41:52,595 - DEBUG - PING 26.168.114.67 (26.168.114.67): 56 data bytes 64 bytes from 26.168.114.67: seq=0 ttl=63 time=1.408 ms 64 bytes from 26.168.114.67: seq=1 ttl=63 time=0.767 ms 64 bytes from 26.168.114.67: seq=2 ttl=63 time=0.826 ms --- 26.168.114.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.767/1.000/1.408 ms 2025-10-16 10:41:52,595 - INFO - Ping to IP 26.168.114.67 from VM ctest-vn1-vm1-50853642 passed 2025-10-16 10:41:52,595 - INFO - Deleting interface with subnet_id bc96b98b-3b0c-4602-8266-a98cdc38944a, port_id None from router 362a49e4-abf5-4c1d-a92c-1cd3cfcd11b0 2025-10-16 10:41:52,728 - INFO - Deleting interface with subnet_id 4a21cc3b-8b18-48e4-bd18-ec18c9b5a562, port_id None from router 362a49e4-abf5-4c1d-a92c-1cd3cfcd11b0 2025-10-16 10:41:52,936 - INFO - Deleting VM ctest-vn2-vm1-46963668 2025-10-16 10:41:53,013 - INFO - Deleting VM ctest-vn1-vm1-50853642 2025-10-16 10:41:53,087 - INFO - Deleting VN ctest-vn2-44419854 2025-10-16 10:41:53,124 - DEBUG - VN 8a938f6d-558b-4e79-8621-83eeddf2bc03 still in use: Unable to complete operation on network 8a938f6d-558b-4e79-8621-83eeddf2bc03. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1bd717ec-096e-4343-bd1a-9de669e21537'] 2025-10-16 10:41:53,124 - WARNING - Deleting VN ctest-vn2-44419854 failed..Will retry 2025-10-16 10:41:55,218 - DEBUG - Response for deleting network () 2025-10-16 10:41:55,218 - INFO - Deleting VN ctest-vn1-59503536 2025-10-16 10:41:55,310 - DEBUG - Response for deleting network () 2025-10-16 10:41:55,569 - DEBUG - No XMPP flaps were noticed during the test 2025-10-16 10:41:55,569 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-10-16 10:41:55,569 - INFO - -------------------------------------------------------------------------------- 2025-10-16 10:41:56,282 - INFO - Deleted project: ctest-TestRouters-77293967, ID : 4e5aced6-b109-4ce5-9588-ce68bcad383b