2025-11-20 13:42:12,527 - INFO - Domain Default found not creating
2025-11-20 13:42:12,776 - INFO - Project ctest-TestRouters-75248470 not found, creating it
2025-11-20 13:42:13,366 - INFO - Created Project:ctest-TestRouters-75248470, ID : 1813d919-bf5e-42fc-8d57-f422deab2a2d
2025-11-20 13:42:15,360 - INFO - ================================================================================
2025-11-20 13:42:15,360 - INFO - STARTING TEST : test_basic_router_behavior
2025-11-20 13:42:15,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-11-20 13:42:15,671 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.249': '0'}} with
2025-11-20 13:42:15,671 - INFO - Initial checks done. Running the testcase now
2025-11-20 13:42:15,671 - INFO -
2025-11-20 13:42:16,604 - DEBUG - Response for create_network : {'network': {'id': '43b960e3-f943-44aa-bd57-5f6db0303b80', 'name': 'ctest-vn1-06014681', 'tenant_id': '1813d919bf5e42fc8d57f422deab2a2d', 'project_id': '1813d919bf5e42fc8d57f422deab2a2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-75248470', 'ctest-vn1-06014681'], 'port_security_enabled': True, 'description': ''}}
2025-11-20 13:42:16,984 - DEBUG - Response for create_subnet : {'subnet': {'id': '75a78afa-bccb-4f73-a09e-41cc55ecb472', 'name': '', 'tenant_id': '1813d919bf5e42fc8d57f422deab2a2d', 'network_id': '43b960e3-f943-44aa-bd57-5f6db0303b80', 'ip_version': 4, 'cidr': '91.31.138.64/26', 'allocation_pools': [{'start': '91.31.138.66', 'end': '91.31.138.126'}], 'gateway_ip': '91.31.138.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.31.138.66', 'tags': [], 'project_id': '1813d919bf5e42fc8d57f422deab2a2d'}}
2025-11-20 13:42:17,027 - INFO - Created VN ctest-vn1-06014681
2025-11-20 13:42:17,091 - DEBUG - VN ctest-vn1-06014681 UUID is 43b960e3-f943-44aa-bd57-5f6db0303b80
2025-11-20 13:42:17,445 - DEBUG - Response for create_network : {'network': {'id': '02556d67-2cff-4f0f-a265-face6c49a6fd', 'name': 'ctest-vn2-41771176', 'tenant_id': '1813d919bf5e42fc8d57f422deab2a2d', 'project_id': '1813d919bf5e42fc8d57f422deab2a2d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-75248470', 'ctest-vn2-41771176'], 'port_security_enabled': True, 'description': ''}}
2025-11-20 13:42:17,728 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ae39be2-4a02-4be0-81dc-9b5f77807fc0', 'name': '', 'tenant_id': '1813d919bf5e42fc8d57f422deab2a2d', 'network_id': '02556d67-2cff-4f0f-a265-face6c49a6fd', 'ip_version': 4, 'cidr': '174.10.114.128/26', 'allocation_pools': [{'start': '174.10.114.130', 'end': '174.10.114.190'}], 'gateway_ip': '174.10.114.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.10.114.130', 'tags': [], 'project_id': '1813d919bf5e42fc8d57f422deab2a2d'}}
2025-11-20 13:42:17,762 - INFO - Created VN ctest-vn2-41771176
2025-11-20 13:42:17,827 - DEBUG - VN ctest-vn2-41771176 UUID is 02556d67-2cff-4f0f-a265-face6c49a6fd
2025-11-20 13:42:18,046 - DEBUG - Services list from nova: [, , ]
2025-11-20 13:42:19,312 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4774-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4774-1)
2025-11-20 13:42:20,771 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4774-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4774-1)
2025-11-20 13:42:20,877 - INFO - Adding interface with subnet_id 75a78afa-bccb-4f73-a09e-41cc55ecb472, port_id None to router 540b9c3b-8054-427f-82b8-3d92efaacf6f
2025-11-20 13:42:21,167 - INFO - Waiting for VM ctest-vn1-vm1-13931636 to be up..
2025-11-20 13:42:21,273 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-20 13:42:26,410 - DEBUG - VM is in ACTIVE state now
2025-11-20 13:42:26,411 - INFO - VM name : ctest-vn1-vm1-13931636
2025-11-20 13:42:26,514 - DEBUG - VM ctest-vn1-vm1-13931636 ID is 575e9004-a3c5-4b51-bd27-1fba43eef236
2025-11-20 13:42:26,546 - DEBUG - VM ctest-vn1-vm1-13931636 launched on Node cn-jenkins-deploy-platform-ansible-os-4774-1
2025-11-20 13:42:26,649 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/575e9004-a3c5-4b51-bd27-1fba43eef236
2025-11-20 13:42:26,950 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/575e9004-a3c5-4b51-bd27-1fba43eef236
2025-11-20 13:42:26,994 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/e644c0a1-f55c-43e2-9ac2-768d51f3360e
2025-11-20 13:42:30,284 - 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 1025ms')
2025-11-20 13:42:30,284 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13931636 failed!
2025-11-20 13:42:30,343 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-75248470:ctest-vn1-06014681 is 91.31.138.65 and allocation pool is NOT set
2025-11-20 13:42:32,407 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.64 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.641/3.163/3.686/0.522 ms')
2025-11-20 13:42:32,407 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13931636 passed
2025-11-20 13:42:32,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 13:42:32,559 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-13931636, IP 91.31.138.67, Port 22
2025-11-20 13:42:32,636 - 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-11-20 13:42:32,761 - DEBUG - VM ctest-vn1-vm1-13931636 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-20 13:42:37,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 13:42:37,762 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-13931636, IP 91.31.138.67, Port 22
2025-11-20 13:42:37,959 - DEBUG - VM ctest-vn1-vm1-13931636 is ready for SSH connections
2025-11-20 13:42:37,960 - INFO - Waiting for VM ctest-vn2-vm1-96229177 to be up..
2025-11-20 13:42:38,101 - DEBUG - VM is in ACTIVE state now
2025-11-20 13:42:38,101 - INFO - VM name : ctest-vn2-vm1-96229177
2025-11-20 13:42:38,236 - DEBUG - VM ctest-vn2-vm1-96229177 ID is 49d66b23-0c61-4199-87f2-ac1dc982c4b4
2025-11-20 13:42:38,237 - DEBUG - VM ctest-vn2-vm1-96229177 launched on Node cn-jenkins-deploy-platform-ansible-os-4774-1
2025-11-20 13:42:38,373 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/49d66b23-0c61-4199-87f2-ac1dc982c4b4
2025-11-20 13:42:38,385 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/3fc5a400-53fc-4820-be64-a0463c7866d5
2025-11-20 13:42:39,666 - 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=8.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.632 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.632/4.642/8.652/4.010 ms')
2025-11-20 13:42:39,666 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-96229177 passed
2025-11-20 13:42:39,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 13:42:39,843 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-96229177, IP 174.10.114.131, Port 22
2025-11-20 13:42:40,025 - DEBUG - VM ctest-vn2-vm1-96229177 is ready for SSH connections
2025-11-20 13:42:40,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 13:42:40,025 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.10.114.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-11-20 13:42:40,025 - DEBUG - ping -s 56 -c 3 -W 1 174.10.114.131
2025-11-20 13:42:45,653 - DEBUG - PING 174.10.114.131 (174.10.114.131): 56 data bytes
--- 174.10.114.131 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-20 13:42:45,653 - WARNING - Ping to IP 174.10.114.131 from VM ctest-vn1-vm1-13931636 failed
2025-11-20 13:42:45,653 - INFO - Adding interface with subnet_id 0ae39be2-4a02-4be0-81dc-9b5f77807fc0, port_id None to router 540b9c3b-8054-427f-82b8-3d92efaacf6f
2025-11-20 13:42:46,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 13:42:46,076 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.10.114.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-11-20 13:42:46,076 - DEBUG - ping -s 56 -c 3 -W 1 174.10.114.131
2025-11-20 13:42:48,338 - DEBUG - PING 174.10.114.131 (174.10.114.131): 56 data bytes
64 bytes from 174.10.114.131: seq=0 ttl=63 time=2.639 ms
64 bytes from 174.10.114.131: seq=1 ttl=63 time=1.506 ms
64 bytes from 174.10.114.131: seq=2 ttl=63 time=1.194 ms
--- 174.10.114.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.194/1.779/2.639 ms
2025-11-20 13:42:48,338 - INFO - Ping to IP 174.10.114.131 from VM ctest-vn1-vm1-13931636 passed
2025-11-20 13:42:48,338 - INFO - Deleting interface with subnet_id 75a78afa-bccb-4f73-a09e-41cc55ecb472, port_id None from router 540b9c3b-8054-427f-82b8-3d92efaacf6f
2025-11-20 13:42:48,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 13:42:48,554 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.10.114.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-11-20 13:42:48,554 - DEBUG - ping -s 56 -c 3 -W 1 174.10.114.131
2025-11-20 13:42:51,785 - DEBUG - PING 174.10.114.131 (174.10.114.131): 56 data bytes
--- 174.10.114.131 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-20 13:42:51,785 - WARNING - Ping to IP 174.10.114.131 from VM ctest-vn1-vm1-13931636 failed
2025-11-20 13:42:51,785 - INFO - Adding interface with subnet_id 75a78afa-bccb-4f73-a09e-41cc55ecb472, port_id None to router 540b9c3b-8054-427f-82b8-3d92efaacf6f
2025-11-20 13:42:52,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 13:42:52,141 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.10.114.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-11-20 13:42:52,141 - DEBUG - ping -s 56 -c 3 -W 1 174.10.114.131
2025-11-20 13:42:54,373 - DEBUG - PING 174.10.114.131 (174.10.114.131): 56 data bytes
64 bytes from 174.10.114.131: seq=0 ttl=63 time=1.614 ms
64 bytes from 174.10.114.131: seq=1 ttl=63 time=1.629 ms
64 bytes from 174.10.114.131: seq=2 ttl=63 time=1.557 ms
--- 174.10.114.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.557/1.600/1.629 ms
2025-11-20 13:42:54,374 - INFO - Ping to IP 174.10.114.131 from VM ctest-vn1-vm1-13931636 passed
2025-11-20 13:42:54,374 - INFO - Deleting interface with subnet_id 0ae39be2-4a02-4be0-81dc-9b5f77807fc0, port_id None from router 540b9c3b-8054-427f-82b8-3d92efaacf6f
2025-11-20 13:42:54,607 - INFO - Deleting interface with subnet_id 75a78afa-bccb-4f73-a09e-41cc55ecb472, port_id None from router 540b9c3b-8054-427f-82b8-3d92efaacf6f
2025-11-20 13:42:54,799 - INFO - Deleting VM ctest-vn2-vm1-96229177
2025-11-20 13:42:54,879 - INFO - Deleting VM ctest-vn1-vm1-13931636
2025-11-20 13:42:54,977 - INFO - Deleting VN ctest-vn2-41771176
2025-11-20 13:42:55,042 - DEBUG - VN 02556d67-2cff-4f0f-a265-face6c49a6fd still in use: Unable to complete operation on network 02556d67-2cff-4f0f-a265-face6c49a6fd. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-384a3acd-2c05-45bf-ac2e-4aa04b84ebd2']
2025-11-20 13:42:55,042 - WARNING - Deleting VN ctest-vn2-41771176 failed..Will retry
2025-11-20 13:42:57,245 - DEBUG - Response for deleting network ()
2025-11-20 13:42:57,245 - INFO - Deleting VN ctest-vn1-06014681
2025-11-20 13:42:57,397 - DEBUG - Response for deleting network ()
2025-11-20 13:42:57,679 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 13:42:57,679 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42]
2025-11-20 13:42:57,680 - INFO - --------------------------------------------------------------------------------
2025-11-20 13:42:58,539 - INFO - Deleted project: ctest-TestRouters-75248470, ID : 1813d919-bf5e-42fc-8d57-f422deab2a2d