2025-08-14 14:35:56,220 - INFO - Domain Default found not creating 2025-08-14 14:35:56,363 - INFO - Project ctest-TestRouters-19697120 not found, creating it 2025-08-14 14:35:56,841 - INFO - Created Project:ctest-TestRouters-19697120, ID : b1c6c08c-6c47-4ae2-bad3-0f44dde536ea 2025-08-14 14:35:58,360 - INFO - ================================================================================ 2025-08-14 14:35:58,360 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-14 14:35:58,360 - 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-08-14 14:35:58,625 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-08-14 14:35:58,625 - INFO - Initial checks done. Running the testcase now 2025-08-14 14:35:58,625 - INFO - 2025-08-14 14:35:59,244 - DEBUG - Response for create_network : {'network': {'id': 'ed7990d8-2ca4-451a-9be9-1116dd149234', 'name': 'ctest-vn1-13470224', 'tenant_id': 'b1c6c08c6c474ae2bad30f44dde536ea', 'project_id': 'b1c6c08c6c474ae2bad30f44dde536ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19697120', 'ctest-vn1-13470224'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:35:59,514 - DEBUG - Response for create_subnet : {'subnet': {'id': '53737b86-3c75-4265-80fe-5abf45f97b86', 'name': '', 'tenant_id': 'b1c6c08c6c474ae2bad30f44dde536ea', 'network_id': 'ed7990d8-2ca4-451a-9be9-1116dd149234', 'ip_version': 4, 'cidr': '2.121.9.192/26', 'allocation_pools': [{'start': '2.121.9.194', 'end': '2.121.9.254'}], 'gateway_ip': '2.121.9.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.121.9.194', 'tags': [], 'project_id': 'b1c6c08c6c474ae2bad30f44dde536ea'}} 2025-08-14 14:35:59,533 - INFO - Created VN ctest-vn1-13470224 2025-08-14 14:35:59,586 - DEBUG - VN ctest-vn1-13470224 UUID is ed7990d8-2ca4-451a-9be9-1116dd149234 2025-08-14 14:35:59,970 - DEBUG - Response for create_network : {'network': {'id': '8c60a2a1-309d-466c-908e-c726c3c15d34', 'name': 'ctest-vn2-04344141', 'tenant_id': 'b1c6c08c6c474ae2bad30f44dde536ea', 'project_id': 'b1c6c08c6c474ae2bad30f44dde536ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19697120', 'ctest-vn2-04344141'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:36:00,208 - DEBUG - Response for create_subnet : {'subnet': {'id': '04d025b3-cd00-4e2d-a040-48adb1825f66', 'name': '', 'tenant_id': 'b1c6c08c6c474ae2bad30f44dde536ea', 'network_id': '8c60a2a1-309d-466c-908e-c726c3c15d34', 'ip_version': 4, 'cidr': '208.54.63.64/26', 'allocation_pools': [{'start': '208.54.63.66', 'end': '208.54.63.126'}], 'gateway_ip': '208.54.63.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.54.63.66', 'tags': [], 'project_id': 'b1c6c08c6c474ae2bad30f44dde536ea'}} 2025-08-14 14:36:00,225 - INFO - Created VN ctest-vn2-04344141 2025-08-14 14:36:00,278 - DEBUG - VN ctest-vn2-04344141 UUID is 8c60a2a1-309d-466c-908e-c726c3c15d34 2025-08-14 14:36:00,476 - DEBUG - Services list from nova: [, , ] 2025-08-14 14:36:01,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3857-1) 2025-08-14 14:36:02,862 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3857-1) 2025-08-14 14:36:02,934 - INFO - Adding interface with subnet_id 53737b86-3c75-4265-80fe-5abf45f97b86, port_id None to router 2ec6baf8-924e-40b0-9e93-97d628047558 2025-08-14 14:36:03,326 - INFO - Waiting for VM ctest-vn1-vm1-64817548 to be up.. 2025-08-14 14:36:03,459 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 14:36:08,535 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:36:08,535 - INFO - VM name : ctest-vn1-vm1-64817548 2025-08-14 14:36:08,602 - DEBUG - VM ctest-vn1-vm1-64817548 ID is 3cba31d3-ad0d-4631-90f9-d2644296775e 2025-08-14 14:36:08,620 - DEBUG - VM ctest-vn1-vm1-64817548 launched on Node cn-jenkins-deploy-platform-ansible-os-3857-1 2025-08-14 14:36:08,691 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3cba31d3-ad0d-4631-90f9-d2644296775e 2025-08-14 14:36:09,023 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3cba31d3-ad0d-4631-90f9-d2644296775e 2025-08-14 14:36:09,056 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/5b7e0170-2268-441a-a92c-a5bf34f60596 2025-08-14 14:36:12,329 - 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-08-14 14:36:12,329 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64817548 failed! 2025-08-14 14:36:12,382 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-19697120:ctest-vn1-13470224 is 2.121.9.193 and allocation pool is NOT set 2025-08-14 14:36:14,439 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.89 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 = 2.891/3.049/3.208/0.158 ms') 2025-08-14 14:36:14,439 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64817548 passed 2025-08-14 14:36:14,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:36:14,586 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64817548, IP 2.121.9.195, Port 22 2025-08-14 14:36:14,645 - 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-08-14 14:36:14,715 - DEBUG - VM ctest-vn1-vm1-64817548 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-14 14:36:19,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:36:19,715 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64817548, IP 2.121.9.195, Port 22 2025-08-14 14:36:19,873 - DEBUG - VM ctest-vn1-vm1-64817548 is ready for SSH connections 2025-08-14 14:36:19,873 - INFO - Waiting for VM ctest-vn2-vm1-84017988 to be up.. 2025-08-14 14:36:19,946 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:36:19,947 - INFO - VM name : ctest-vn2-vm1-84017988 2025-08-14 14:36:20,019 - DEBUG - VM ctest-vn2-vm1-84017988 ID is 65e23649-53d6-4f55-a1fb-7d2387c6d5ec 2025-08-14 14:36:20,019 - DEBUG - VM ctest-vn2-vm1-84017988 launched on Node cn-jenkins-deploy-platform-ansible-os-3857-1 2025-08-14 14:36:20,099 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/65e23649-53d6-4f55-a1fb-7d2387c6d5ec 2025-08-14 14:36:20,108 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c8181729-0822-439c-b594-dc9132f7483c 2025-08-14 14:36:21,347 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.347 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.347/1.704/3.062/1.357 ms') 2025-08-14 14:36:21,348 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-84017988 passed 2025-08-14 14:36:21,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:36:21,502 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-84017988, IP 208.54.63.67, Port 22 2025-08-14 14:36:21,653 - DEBUG - VM ctest-vn2-vm1-84017988 is ready for SSH connections 2025-08-14 14:36:21,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:36:21,653 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.54.63.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-14 14:36:21,653 - DEBUG - ping -s 56 -c 3 -W 1 208.54.63.67 2025-08-14 14:36:26,657 - DEBUG - PING 208.54.63.67 (208.54.63.67): 56 data bytes --- 208.54.63.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 14:36:26,657 - WARNING - Ping to IP 208.54.63.67 from VM ctest-vn1-vm1-64817548 failed 2025-08-14 14:36:26,657 - INFO - Adding interface with subnet_id 04d025b3-cd00-4e2d-a040-48adb1825f66, port_id None to router 2ec6baf8-924e-40b0-9e93-97d628047558 2025-08-14 14:36:26,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:36:26,923 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.54.63.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-14 14:36:26,923 - DEBUG - ping -s 56 -c 3 -W 1 208.54.63.67 2025-08-14 14:36:30,137 - DEBUG - PING 208.54.63.67 (208.54.63.67): 56 data bytes 64 bytes from 208.54.63.67: seq=1 ttl=63 time=2.698 ms 64 bytes from 208.54.63.67: seq=2 ttl=63 time=0.805 ms --- 208.54.63.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.805/1.751/2.698 ms 2025-08-14 14:36:30,137 - WARNING - Ping to IP 208.54.63.67 from VM ctest-vn1-vm1-64817548 failed 2025-08-14 14:36:31,137 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.54.63.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-14 14:36:31,138 - DEBUG - ping -s 56 -c 3 -W 1 208.54.63.67 2025-08-14 14:36:33,357 - DEBUG - PING 208.54.63.67 (208.54.63.67): 56 data bytes 64 bytes from 208.54.63.67: seq=0 ttl=63 time=1.481 ms 64 bytes from 208.54.63.67: seq=1 ttl=63 time=0.807 ms 64 bytes from 208.54.63.67: seq=2 ttl=63 time=0.901 ms --- 208.54.63.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.807/1.063/1.481 ms 2025-08-14 14:36:33,357 - INFO - Ping to IP 208.54.63.67 from VM ctest-vn1-vm1-64817548 passed 2025-08-14 14:36:33,357 - INFO - Deleting interface with subnet_id 53737b86-3c75-4265-80fe-5abf45f97b86, port_id None from router 2ec6baf8-924e-40b0-9e93-97d628047558 2025-08-14 14:36:33,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:36:33,483 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.54.63.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-14 14:36:33,483 - DEBUG - ping -s 56 -c 3 -W 1 208.54.63.67 2025-08-14 14:36:36,696 - DEBUG - PING 208.54.63.67 (208.54.63.67): 56 data bytes --- 208.54.63.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 14:36:36,696 - WARNING - Ping to IP 208.54.63.67 from VM ctest-vn1-vm1-64817548 failed 2025-08-14 14:36:36,696 - INFO - Adding interface with subnet_id 53737b86-3c75-4265-80fe-5abf45f97b86, port_id None to router 2ec6baf8-924e-40b0-9e93-97d628047558 2025-08-14 14:36:36,919 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:36:36,920 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.54.63.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-14 14:36:36,920 - DEBUG - ping -s 56 -c 3 -W 1 208.54.63.67 2025-08-14 14:36:39,140 - DEBUG - PING 208.54.63.67 (208.54.63.67): 56 data bytes 64 bytes from 208.54.63.67: seq=0 ttl=63 time=1.579 ms 64 bytes from 208.54.63.67: seq=1 ttl=63 time=0.880 ms 64 bytes from 208.54.63.67: seq=2 ttl=63 time=0.790 ms --- 208.54.63.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.790/1.083/1.579 ms 2025-08-14 14:36:39,140 - INFO - Ping to IP 208.54.63.67 from VM ctest-vn1-vm1-64817548 passed 2025-08-14 14:36:39,140 - INFO - Deleting interface with subnet_id 04d025b3-cd00-4e2d-a040-48adb1825f66, port_id None from router 2ec6baf8-924e-40b0-9e93-97d628047558 2025-08-14 14:36:39,263 - INFO - Deleting interface with subnet_id 53737b86-3c75-4265-80fe-5abf45f97b86, port_id None from router 2ec6baf8-924e-40b0-9e93-97d628047558 2025-08-14 14:36:39,462 - INFO - Deleting VM ctest-vn2-vm1-84017988 2025-08-14 14:36:39,532 - INFO - Deleting VM ctest-vn1-vm1-64817548 2025-08-14 14:36:39,605 - INFO - Deleting VN ctest-vn2-04344141 2025-08-14 14:36:39,645 - DEBUG - VN 8c60a2a1-309d-466c-908e-c726c3c15d34 still in use: Unable to complete operation on network 8c60a2a1-309d-466c-908e-c726c3c15d34. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e67d4f64-3417-4721-9859-43c2422f70ab'] 2025-08-14 14:36:39,645 - WARNING - Deleting VN ctest-vn2-04344141 failed..Will retry 2025-08-14 14:36:41,753 - DEBUG - Response for deleting network () 2025-08-14 14:36:41,754 - INFO - Deleting VN ctest-vn1-13470224 2025-08-14 14:36:41,844 - DEBUG - Response for deleting network () 2025-08-14 14:36:42,102 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 14:36:42,103 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-08-14 14:36:42,103 - INFO - -------------------------------------------------------------------------------- 2025-08-14 14:36:42,808 - INFO - Deleted project: ctest-TestRouters-19697120, ID : b1c6c08c-6c47-4ae2-bad3-0f44dde536ea