2025-10-27 13:55:50,860 - INFO - Domain Default found not creating 2025-10-27 13:55:51,029 - INFO - Project ctest-TestRouters-78633024 not found, creating it 2025-10-27 13:55:51,528 - INFO - Created Project:ctest-TestRouters-78633024, ID : 94d73837-d70f-4d7d-bd03-b2d7e88fdb6b 2025-10-27 13:55:53,142 - INFO - ================================================================================ 2025-10-27 13:55:53,142 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-27 13:55:53,142 - 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-27 13:55:53,403 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-27 13:55:53,403 - INFO - Initial checks done. Running the testcase now 2025-10-27 13:55:53,403 - INFO - 2025-10-27 13:55:53,971 - DEBUG - Response for create_network : {'network': {'id': 'a23cb37c-be42-4b97-b403-2410c25a125e', 'name': 'ctest-vn1-82694127', 'tenant_id': '94d73837d70f4d7dbd03b2d7e88fdb6b', 'project_id': '94d73837d70f4d7dbd03b2d7e88fdb6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-78633024', 'ctest-vn1-82694127'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 13:55:54,223 - DEBUG - Response for create_subnet : {'subnet': {'id': '35e8c560-7860-4ae0-841f-63ee0ac837c3', 'name': '', 'tenant_id': '94d73837d70f4d7dbd03b2d7e88fdb6b', 'network_id': 'a23cb37c-be42-4b97-b403-2410c25a125e', 'ip_version': 4, 'cidr': '37.209.217.192/26', 'allocation_pools': [{'start': '37.209.217.194', 'end': '37.209.217.254'}], 'gateway_ip': '37.209.217.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.209.217.194', 'tags': [], 'project_id': '94d73837d70f4d7dbd03b2d7e88fdb6b'}} 2025-10-27 13:55:54,253 - INFO - Created VN ctest-vn1-82694127 2025-10-27 13:55:54,305 - DEBUG - VN ctest-vn1-82694127 UUID is a23cb37c-be42-4b97-b403-2410c25a125e 2025-10-27 13:55:54,681 - DEBUG - Response for create_network : {'network': {'id': '2eca69fd-eb71-4592-bc13-915ecb50a8ad', 'name': 'ctest-vn2-63278205', 'tenant_id': '94d73837d70f4d7dbd03b2d7e88fdb6b', 'project_id': '94d73837d70f4d7dbd03b2d7e88fdb6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-78633024', 'ctest-vn2-63278205'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 13:55:54,925 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6960bde-82fc-4768-aa01-25cf7eef8700', 'name': '', 'tenant_id': '94d73837d70f4d7dbd03b2d7e88fdb6b', 'network_id': '2eca69fd-eb71-4592-bc13-915ecb50a8ad', 'ip_version': 4, 'cidr': '128.100.130.0/26', 'allocation_pools': [{'start': '128.100.130.2', 'end': '128.100.130.62'}], 'gateway_ip': '128.100.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.100.130.2', 'tags': [], 'project_id': '94d73837d70f4d7dbd03b2d7e88fdb6b'}} 2025-10-27 13:55:54,952 - INFO - Created VN ctest-vn2-63278205 2025-10-27 13:55:55,013 - DEBUG - VN ctest-vn2-63278205 UUID is 2eca69fd-eb71-4592-bc13-915ecb50a8ad 2025-10-27 13:55:55,195 - DEBUG - Services list from nova: [, , ] 2025-10-27 13:55:56,305 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4503-1) 2025-10-27 13:55:57,757 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4503-1) 2025-10-27 13:55:57,836 - INFO - Adding interface with subnet_id 35e8c560-7860-4ae0-841f-63ee0ac837c3, port_id None to router 49d60e6f-e34a-4b69-aaea-cbbf6b9d7991 2025-10-27 13:55:58,154 - INFO - Waiting for VM ctest-vn1-vm1-70401669 to be up.. 2025-10-27 13:55:58,257 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 13:56:03,342 - DEBUG - VM is in ACTIVE state now 2025-10-27 13:56:03,342 - INFO - VM name : ctest-vn1-vm1-70401669 2025-10-27 13:56:03,431 - DEBUG - VM ctest-vn1-vm1-70401669 ID is fd419a65-4e1b-4012-9eb5-a4af4be05de9 2025-10-27 13:56:03,454 - DEBUG - VM ctest-vn1-vm1-70401669 launched on Node cn-jenkins-deploy-platform-ansible-os-4503-1 2025-10-27 13:56:03,545 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/fd419a65-4e1b-4012-9eb5-a4af4be05de9 2025-10-27 13:56:03,841 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/fd419a65-4e1b-4012-9eb5-a4af4be05de9 2025-10-27 13:56:03,874 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/e5a516ca-2816-4e8c-ad16-5755da86a691 2025-10-27 13:56:07,152 - 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-10-27 13:56:07,152 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70401669 failed! 2025-10-27 13:56:07,209 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-78633024:ctest-vn1-82694127 is 37.209.217.193 and allocation pool is NOT set 2025-10-27 13:56:09,276 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.30 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 = 1.298/2.450/3.602/1.152 ms') 2025-10-27 13:56:09,276 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70401669 passed 2025-10-27 13:56:09,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 13:56:09,425 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70401669, IP 37.209.217.195, Port 22 2025-10-27 13:56:09,595 - DEBUG - VM ctest-vn1-vm1-70401669 is ready for SSH connections 2025-10-27 13:56:09,595 - INFO - Waiting for VM ctest-vn2-vm1-49489797 to be up.. 2025-10-27 13:56:09,686 - DEBUG - VM is in ACTIVE state now 2025-10-27 13:56:09,686 - INFO - VM name : ctest-vn2-vm1-49489797 2025-10-27 13:56:09,766 - DEBUG - VM ctest-vn2-vm1-49489797 ID is ada7aab2-5d22-4d9a-b379-614e293c4049 2025-10-27 13:56:09,767 - DEBUG - VM ctest-vn2-vm1-49489797 launched on Node cn-jenkins-deploy-platform-ansible-os-4503-1 2025-10-27 13:56:09,851 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ada7aab2-5d22-4d9a-b379-614e293c4049 2025-10-27 13:56:09,866 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/81a06aab-489a-414f-8b77-67b263d7de17 2025-10-27 13:56:11,133 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.565 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.565/2.063/3.561/1.498 ms') 2025-10-27 13:56:11,133 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-49489797 passed 2025-10-27 13:56:11,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 13:56:11,285 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-49489797, IP 128.100.130.3, Port 22 2025-10-27 13:56:11,456 - DEBUG - VM ctest-vn2-vm1-49489797 is ready for SSH connections 2025-10-27 13:56:11,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 13:56:11,456 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.100.130.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 13:56:11,456 - DEBUG - ping -s 56 -c 3 -W 1 128.100.130.3 2025-10-27 13:56:16,547 - DEBUG - PING 128.100.130.3 (128.100.130.3): 56 data bytes --- 128.100.130.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 13:56:16,548 - WARNING - Ping to IP 128.100.130.3 from VM ctest-vn1-vm1-70401669 failed 2025-10-27 13:56:16,548 - INFO - Adding interface with subnet_id a6960bde-82fc-4768-aa01-25cf7eef8700, port_id None to router 49d60e6f-e34a-4b69-aaea-cbbf6b9d7991 2025-10-27 13:56:16,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 13:56:16,807 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.100.130.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 13:56:16,807 - DEBUG - ping -s 56 -c 3 -W 1 128.100.130.3 2025-10-27 13:56:20,042 - DEBUG - PING 128.100.130.3 (128.100.130.3): 56 data bytes 64 bytes from 128.100.130.3: seq=1 ttl=63 time=3.073 ms 64 bytes from 128.100.130.3: seq=2 ttl=63 time=1.054 ms --- 128.100.130.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.054/2.063/3.073 ms 2025-10-27 13:56:20,042 - WARNING - Ping to IP 128.100.130.3 from VM ctest-vn1-vm1-70401669 failed 2025-10-27 13:56:21,043 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.100.130.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 13:56:21,043 - DEBUG - ping -s 56 -c 3 -W 1 128.100.130.3 2025-10-27 13:56:23,278 - DEBUG - PING 128.100.130.3 (128.100.130.3): 56 data bytes 64 bytes from 128.100.130.3: seq=0 ttl=63 time=1.673 ms 64 bytes from 128.100.130.3: seq=1 ttl=63 time=1.350 ms 64 bytes from 128.100.130.3: seq=2 ttl=63 time=0.899 ms --- 128.100.130.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.899/1.307/1.673 ms 2025-10-27 13:56:23,278 - INFO - Ping to IP 128.100.130.3 from VM ctest-vn1-vm1-70401669 passed 2025-10-27 13:56:23,278 - INFO - Deleting interface with subnet_id 35e8c560-7860-4ae0-841f-63ee0ac837c3, port_id None from router 49d60e6f-e34a-4b69-aaea-cbbf6b9d7991 2025-10-27 13:56:23,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 13:56:23,427 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.100.130.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 13:56:23,427 - DEBUG - ping -s 56 -c 3 -W 1 128.100.130.3 2025-10-27 13:56:26,651 - DEBUG - PING 128.100.130.3 (128.100.130.3): 56 data bytes --- 128.100.130.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 13:56:26,651 - WARNING - Ping to IP 128.100.130.3 from VM ctest-vn1-vm1-70401669 failed 2025-10-27 13:56:26,651 - INFO - Adding interface with subnet_id 35e8c560-7860-4ae0-841f-63ee0ac837c3, port_id None to router 49d60e6f-e34a-4b69-aaea-cbbf6b9d7991 2025-10-27 13:56:26,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 13:56:26,865 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.100.130.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 13:56:26,865 - DEBUG - ping -s 56 -c 3 -W 1 128.100.130.3 2025-10-27 13:56:29,101 - DEBUG - PING 128.100.130.3 (128.100.130.3): 56 data bytes 64 bytes from 128.100.130.3: seq=0 ttl=63 time=2.330 ms 64 bytes from 128.100.130.3: seq=1 ttl=63 time=1.504 ms 64 bytes from 128.100.130.3: seq=2 ttl=63 time=0.954 ms --- 128.100.130.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.954/1.596/2.330 ms 2025-10-27 13:56:29,101 - INFO - Ping to IP 128.100.130.3 from VM ctest-vn1-vm1-70401669 passed 2025-10-27 13:56:29,101 - INFO - Deleting interface with subnet_id a6960bde-82fc-4768-aa01-25cf7eef8700, port_id None from router 49d60e6f-e34a-4b69-aaea-cbbf6b9d7991 2025-10-27 13:56:29,276 - INFO - Deleting interface with subnet_id 35e8c560-7860-4ae0-841f-63ee0ac837c3, port_id None from router 49d60e6f-e34a-4b69-aaea-cbbf6b9d7991 2025-10-27 13:56:29,507 - INFO - Deleting VM ctest-vn2-vm1-49489797 2025-10-27 13:56:29,613 - INFO - Deleting VM ctest-vn1-vm1-70401669 2025-10-27 13:56:29,707 - INFO - Deleting VN ctest-vn2-63278205 2025-10-27 13:56:29,751 - DEBUG - VN 2eca69fd-eb71-4592-bc13-915ecb50a8ad still in use: Unable to complete operation on network 2eca69fd-eb71-4592-bc13-915ecb50a8ad. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4078f420-80ed-4597-ab7f-acebf0625e4e'] 2025-10-27 13:56:29,751 - WARNING - Deleting VN ctest-vn2-63278205 failed..Will retry 2025-10-27 13:56:31,885 - DEBUG - Response for deleting network () 2025-10-27 13:56:31,886 - INFO - Deleting VN ctest-vn1-82694127 2025-10-27 13:56:32,020 - DEBUG - Response for deleting network () 2025-10-27 13:56:32,294 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 13:56:32,294 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-10-27 13:56:32,294 - INFO - -------------------------------------------------------------------------------- 2025-10-27 13:56:33,036 - INFO - Deleted project: ctest-TestRouters-78633024, ID : 94d73837-d70f-4d7d-bd03-b2d7e88fdb6b