2025-12-29 02:08:28,120 - INFO - Domain Default found not creating 2025-12-29 02:08:28,299 - INFO - Project ctest-TestRouters-55409510 not found, creating it 2025-12-29 02:08:28,768 - INFO - Created Project:ctest-TestRouters-55409510, ID : 328f9d09-efb5-4ea1-a7d0-907defdb24d1 2025-12-29 02:08:30,323 - INFO - ================================================================================ 2025-12-29 02:08:30,323 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-29 02:08:30,323 - 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-12-29 02:08:30,580 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-12-29 02:08:30,580 - INFO - Initial checks done. Running the testcase now 2025-12-29 02:08:30,580 - INFO - 2025-12-29 02:08:31,180 - DEBUG - Response for create_network : {'network': {'id': 'fd99f5c1-03b2-485e-869e-0220ce1b6e85', 'name': 'ctest-vn1-36266655', 'tenant_id': '328f9d09efb54ea1a7d0907defdb24d1', 'project_id': '328f9d09efb54ea1a7d0907defdb24d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55409510', 'ctest-vn1-36266655'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:08:31,395 - DEBUG - Response for create_subnet : {'subnet': {'id': '55541b24-4ef7-48a2-a85d-ddf0856c043c', 'name': '', 'tenant_id': '328f9d09efb54ea1a7d0907defdb24d1', 'network_id': 'fd99f5c1-03b2-485e-869e-0220ce1b6e85', 'ip_version': 4, 'cidr': '91.234.1.192/26', 'allocation_pools': [{'start': '91.234.1.194', 'end': '91.234.1.254'}], 'gateway_ip': '91.234.1.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.234.1.194', 'tags': [], 'project_id': '328f9d09efb54ea1a7d0907defdb24d1'}} 2025-12-29 02:08:31,415 - INFO - Created VN ctest-vn1-36266655 2025-12-29 02:08:31,469 - DEBUG - VN ctest-vn1-36266655 UUID is fd99f5c1-03b2-485e-869e-0220ce1b6e85 2025-12-29 02:08:31,760 - DEBUG - Response for create_network : {'network': {'id': 'd8f738ac-7db2-415b-8fd2-8e02499168d2', 'name': 'ctest-vn2-80942526', 'tenant_id': '328f9d09efb54ea1a7d0907defdb24d1', 'project_id': '328f9d09efb54ea1a7d0907defdb24d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55409510', 'ctest-vn2-80942526'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:08:31,945 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9dd716b-f363-4acd-a5d3-487633256e25', 'name': '', 'tenant_id': '328f9d09efb54ea1a7d0907defdb24d1', 'network_id': 'd8f738ac-7db2-415b-8fd2-8e02499168d2', 'ip_version': 4, 'cidr': '217.71.9.0/26', 'allocation_pools': [{'start': '217.71.9.2', 'end': '217.71.9.62'}], 'gateway_ip': '217.71.9.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.71.9.2', 'tags': [], 'project_id': '328f9d09efb54ea1a7d0907defdb24d1'}} 2025-12-29 02:08:31,967 - INFO - Created VN ctest-vn2-80942526 2025-12-29 02:08:32,021 - DEBUG - VN ctest-vn2-80942526 UUID is d8f738ac-7db2-415b-8fd2-8e02499168d2 2025-12-29 02:08:32,190 - DEBUG - Services list from nova: [, , ] 2025-12-29 02:08:33,270 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4930-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4930-1) 2025-12-29 02:08:34,595 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4930-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4930-1) 2025-12-29 02:08:34,692 - INFO - Adding interface with subnet_id 55541b24-4ef7-48a2-a85d-ddf0856c043c, port_id None to router 7966e872-0cac-4aed-9df9-510e4312d06d 2025-12-29 02:08:35,023 - INFO - Waiting for VM ctest-vn1-vm1-99637189 to be up.. 2025-12-29 02:08:35,149 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-29 02:08:40,236 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:08:40,237 - INFO - VM name : ctest-vn1-vm1-99637189 2025-12-29 02:08:40,320 - DEBUG - VM ctest-vn1-vm1-99637189 ID is 6e2cd355-4c9e-4ad0-8017-aa713fae6eb5 2025-12-29 02:08:40,343 - DEBUG - VM ctest-vn1-vm1-99637189 launched on Node cn-jenkins-deploy-platform-ansible-os-4930-1 2025-12-29 02:08:40,428 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/6e2cd355-4c9e-4ad0-8017-aa713fae6eb5 2025-12-29 02:08:40,734 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/6e2cd355-4c9e-4ad0-8017-aa713fae6eb5 2025-12-29 02:08:40,776 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/1437e7a3-240a-4b2d-b706-1662320d5fbb 2025-12-29 02:08:44,037 - 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 1018ms') 2025-12-29 02:08:44,037 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-99637189 failed! 2025-12-29 02:08:44,097 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-55409510:ctest-vn1-36266655 is 91.234.1.193 and allocation pool is NOT set 2025-12-29 02:08:46,163 - 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=5.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.28 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.278/3.332/5.387/2.054 ms') 2025-12-29 02:08:46,164 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-99637189 passed 2025-12-29 02:08:46,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:08:46,313 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-99637189, IP 91.234.1.195, Port 22 2025-12-29 02:08:46,379 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-29 02:08:46,469 - DEBUG - VM ctest-vn1-vm1-99637189 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-29 02:08:51,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:08:51,471 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-99637189, IP 91.234.1.195, Port 22 2025-12-29 02:08:51,626 - DEBUG - VM ctest-vn1-vm1-99637189 is ready for SSH connections 2025-12-29 02:08:51,626 - INFO - Waiting for VM ctest-vn2-vm1-10943370 to be up.. 2025-12-29 02:08:51,706 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:08:51,706 - INFO - VM name : ctest-vn2-vm1-10943370 2025-12-29 02:08:51,787 - DEBUG - VM ctest-vn2-vm1-10943370 ID is 74b251d8-03dd-4c7f-ab92-bc4599cbb406 2025-12-29 02:08:51,787 - DEBUG - VM ctest-vn2-vm1-10943370 launched on Node cn-jenkins-deploy-platform-ansible-os-4930-1 2025-12-29 02:08:51,872 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/74b251d8-03dd-4c7f-ab92-bc4599cbb406 2025-12-29 02:08:51,881 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/e7b5147b-2e5f-4cb5-9129-8822900c1860 2025-12-29 02:08:53,131 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.366 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.366/2.056/3.747/1.690 ms') 2025-12-29 02:08:53,131 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-10943370 passed 2025-12-29 02:08:53,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:08:53,281 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-10943370, IP 217.71.9.3, Port 22 2025-12-29 02:08:53,438 - DEBUG - VM ctest-vn2-vm1-10943370 is ready for SSH connections 2025-12-29 02:08:53,438 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:08:53,438 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.71.9.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-29 02:08:53,438 - DEBUG - ping -s 56 -c 3 -W 1 217.71.9.3 2025-12-29 02:08:58,489 - DEBUG - PING 217.71.9.3 (217.71.9.3): 56 data bytes --- 217.71.9.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-29 02:08:58,489 - WARNING - Ping to IP 217.71.9.3 from VM ctest-vn1-vm1-99637189 failed 2025-12-29 02:08:58,489 - INFO - Adding interface with subnet_id a9dd716b-f363-4acd-a5d3-487633256e25, port_id None to router 7966e872-0cac-4aed-9df9-510e4312d06d 2025-12-29 02:08:58,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:08:58,739 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.71.9.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-29 02:08:58,739 - DEBUG - ping -s 56 -c 3 -W 1 217.71.9.3 2025-12-29 02:09:01,952 - DEBUG - PING 217.71.9.3 (217.71.9.3): 56 data bytes 64 bytes from 217.71.9.3: seq=1 ttl=63 time=3.408 ms 64 bytes from 217.71.9.3: seq=2 ttl=63 time=0.923 ms --- 217.71.9.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.923/2.165/3.408 ms 2025-12-29 02:09:01,952 - WARNING - Ping to IP 217.71.9.3 from VM ctest-vn1-vm1-99637189 failed 2025-12-29 02:09:02,953 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.71.9.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-29 02:09:02,954 - DEBUG - ping -s 56 -c 3 -W 1 217.71.9.3 2025-12-29 02:09:05,197 - DEBUG - PING 217.71.9.3 (217.71.9.3): 56 data bytes 64 bytes from 217.71.9.3: seq=0 ttl=63 time=2.556 ms 64 bytes from 217.71.9.3: seq=1 ttl=63 time=0.931 ms 64 bytes from 217.71.9.3: seq=2 ttl=63 time=1.072 ms --- 217.71.9.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.931/1.519/2.556 ms 2025-12-29 02:09:05,197 - INFO - Ping to IP 217.71.9.3 from VM ctest-vn1-vm1-99637189 passed 2025-12-29 02:09:05,197 - INFO - Deleting interface with subnet_id 55541b24-4ef7-48a2-a85d-ddf0856c043c, port_id None from router 7966e872-0cac-4aed-9df9-510e4312d06d 2025-12-29 02:09:05,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:09:05,311 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.71.9.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-29 02:09:05,311 - DEBUG - ping -s 56 -c 3 -W 1 217.71.9.3 2025-12-29 02:09:08,529 - DEBUG - PING 217.71.9.3 (217.71.9.3): 56 data bytes --- 217.71.9.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-29 02:09:08,529 - WARNING - Ping to IP 217.71.9.3 from VM ctest-vn1-vm1-99637189 failed 2025-12-29 02:09:08,529 - INFO - Adding interface with subnet_id 55541b24-4ef7-48a2-a85d-ddf0856c043c, port_id None to router 7966e872-0cac-4aed-9df9-510e4312d06d 2025-12-29 02:09:08,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:09:08,759 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.71.9.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-29 02:09:08,759 - DEBUG - ping -s 56 -c 3 -W 1 217.71.9.3 2025-12-29 02:09:10,990 - DEBUG - PING 217.71.9.3 (217.71.9.3): 56 data bytes 64 bytes from 217.71.9.3: seq=0 ttl=63 time=1.431 ms 64 bytes from 217.71.9.3: seq=1 ttl=63 time=0.925 ms 64 bytes from 217.71.9.3: seq=2 ttl=63 time=1.032 ms --- 217.71.9.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.925/1.129/1.431 ms 2025-12-29 02:09:10,990 - INFO - Ping to IP 217.71.9.3 from VM ctest-vn1-vm1-99637189 passed 2025-12-29 02:09:10,990 - INFO - Deleting interface with subnet_id a9dd716b-f363-4acd-a5d3-487633256e25, port_id None from router 7966e872-0cac-4aed-9df9-510e4312d06d 2025-12-29 02:09:11,132 - INFO - Deleting interface with subnet_id 55541b24-4ef7-48a2-a85d-ddf0856c043c, port_id None from router 7966e872-0cac-4aed-9df9-510e4312d06d 2025-12-29 02:09:11,322 - INFO - Deleting VM ctest-vn2-vm1-10943370 2025-12-29 02:09:11,402 - INFO - Deleting VM ctest-vn1-vm1-99637189 2025-12-29 02:09:11,482 - INFO - Deleting VN ctest-vn2-80942526 2025-12-29 02:09:11,520 - DEBUG - VN d8f738ac-7db2-415b-8fd2-8e02499168d2 still in use: Unable to complete operation on network d8f738ac-7db2-415b-8fd2-8e02499168d2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bf4e01ed-28d0-4332-9209-c062a88542b1'] 2025-12-29 02:09:11,520 - WARNING - Deleting VN ctest-vn2-80942526 failed..Will retry 2025-12-29 02:09:13,629 - DEBUG - Response for deleting network () 2025-12-29 02:09:13,630 - INFO - Deleting VN ctest-vn1-36266655 2025-12-29 02:09:13,735 - DEBUG - Response for deleting network () 2025-12-29 02:09:13,990 - DEBUG - No XMPP flaps were noticed during the test 2025-12-29 02:09:13,991 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43] 2025-12-29 02:09:13,991 - INFO - -------------------------------------------------------------------------------- 2025-12-29 02:09:14,688 - INFO - Deleted project: ctest-TestRouters-55409510, ID : 328f9d09-efb5-4ea1-a7d0-907defdb24d1