2025-12-09 13:26:17,975 - INFO - Domain Default found not creating 2025-12-09 13:26:18,158 - INFO - Project ctest-TestRouters-17712357 not found, creating it 2025-12-09 13:26:18,778 - INFO - Created Project:ctest-TestRouters-17712357, ID : e5d9e3df-58dc-4601-8c97-ed7189a9af70 2025-12-09 13:26:21,211 - INFO - ================================================================================ 2025-12-09 13:26:21,212 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-09 13:26:21,212 - 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-09 13:26:21,486 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-09 13:26:21,486 - INFO - Initial checks done. Running the testcase now 2025-12-09 13:26:21,486 - INFO - 2025-12-09 13:26:22,081 - DEBUG - Response for create_network : {'network': {'id': '40279a5b-5978-44f0-a372-8dcc74e56774', 'name': 'ctest-vn1-52657526', 'tenant_id': 'e5d9e3df58dc46018c97ed7189a9af70', 'project_id': 'e5d9e3df58dc46018c97ed7189a9af70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-17712357', 'ctest-vn1-52657526'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 13:26:22,308 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a376d0f-cdfa-47c7-b819-e9498f6b9453', 'name': '', 'tenant_id': 'e5d9e3df58dc46018c97ed7189a9af70', 'network_id': '40279a5b-5978-44f0-a372-8dcc74e56774', 'ip_version': 4, 'cidr': '26.108.46.128/26', 'allocation_pools': [{'start': '26.108.46.130', 'end': '26.108.46.190'}], 'gateway_ip': '26.108.46.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.108.46.130', 'tags': [], 'project_id': 'e5d9e3df58dc46018c97ed7189a9af70'}} 2025-12-09 13:26:22,332 - INFO - Created VN ctest-vn1-52657526 2025-12-09 13:26:22,385 - DEBUG - VN ctest-vn1-52657526 UUID is 40279a5b-5978-44f0-a372-8dcc74e56774 2025-12-09 13:26:22,692 - DEBUG - Response for create_network : {'network': {'id': '6a226aeb-5111-43b3-9c89-fe8c088f843f', 'name': 'ctest-vn2-42757007', 'tenant_id': 'e5d9e3df58dc46018c97ed7189a9af70', 'project_id': 'e5d9e3df58dc46018c97ed7189a9af70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-17712357', 'ctest-vn2-42757007'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 13:26:22,851 - DEBUG - Response for create_subnet : {'subnet': {'id': '516066ba-ce2b-4260-96a0-94fccb81e76e', 'name': '', 'tenant_id': 'e5d9e3df58dc46018c97ed7189a9af70', 'network_id': '6a226aeb-5111-43b3-9c89-fe8c088f843f', 'ip_version': 4, 'cidr': '79.193.105.128/26', 'allocation_pools': [{'start': '79.193.105.130', 'end': '79.193.105.190'}], 'gateway_ip': '79.193.105.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.193.105.130', 'tags': [], 'project_id': 'e5d9e3df58dc46018c97ed7189a9af70'}} 2025-12-09 13:26:22,871 - INFO - Created VN ctest-vn2-42757007 2025-12-09 13:26:22,921 - DEBUG - VN ctest-vn2-42757007 UUID is 6a226aeb-5111-43b3-9c89-fe8c088f843f 2025-12-09 13:26:23,093 - DEBUG - Services list from nova: [, , ] 2025-12-09 13:26:24,289 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4870-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4870-1) 2025-12-09 13:26:25,476 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4870-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4870-1) 2025-12-09 13:26:25,571 - INFO - Adding interface with subnet_id 8a376d0f-cdfa-47c7-b819-e9498f6b9453, port_id None to router 3b67618f-3ef7-4494-9b3c-005b02dcdd3a 2025-12-09 13:26:25,902 - INFO - Waiting for VM ctest-vn1-vm1-59386931 to be up.. 2025-12-09 13:26:26,009 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 13:26:31,089 - DEBUG - VM is in ACTIVE state now 2025-12-09 13:26:31,090 - INFO - VM name : ctest-vn1-vm1-59386931 2025-12-09 13:26:31,176 - DEBUG - VM ctest-vn1-vm1-59386931 ID is eaaec417-ff1f-43e3-b1db-324523fdd05a 2025-12-09 13:26:31,198 - DEBUG - VM ctest-vn1-vm1-59386931 launched on Node cn-jenkins-deploy-platform-ansible-os-4870-1 2025-12-09 13:26:31,276 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/eaaec417-ff1f-43e3-b1db-324523fdd05a 2025-12-09 13:26:31,578 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/eaaec417-ff1f-43e3-b1db-324523fdd05a 2025-12-09 13:26:31,614 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/361f9d90-3c79-4fbd-9cac-3e6b0913be85 2025-12-09 13:26:34,869 - 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 1008ms') 2025-12-09 13:26:34,869 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59386931 failed! 2025-12-09 13:26:34,929 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-17712357:ctest-vn1-52657526 is 26.108.46.129 and allocation pool is NOT set 2025-12-09 13:26:37,001 - 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.97 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 1000ms\r\nrtt min/avg/max/mdev = 1.301/2.634/3.968/1.333 ms') 2025-12-09 13:26:37,002 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59386931 passed 2025-12-09 13:26:37,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 13:26:37,165 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-59386931, IP 26.108.46.131, Port 22 2025-12-09 13:26:37,230 - 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-09 13:26:37,322 - DEBUG - VM ctest-vn1-vm1-59386931 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-09 13:26:42,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 13:26:42,324 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-59386931, IP 26.108.46.131, Port 22 2025-12-09 13:26:42,486 - DEBUG - VM ctest-vn1-vm1-59386931 is ready for SSH connections 2025-12-09 13:26:42,486 - INFO - Waiting for VM ctest-vn2-vm1-61260521 to be up.. 2025-12-09 13:26:42,569 - DEBUG - VM is in ACTIVE state now 2025-12-09 13:26:42,569 - INFO - VM name : ctest-vn2-vm1-61260521 2025-12-09 13:26:42,654 - DEBUG - VM ctest-vn2-vm1-61260521 ID is 4c1bec9a-0e8f-4137-b9b0-8c7059d71587 2025-12-09 13:26:42,654 - DEBUG - VM ctest-vn2-vm1-61260521 launched on Node cn-jenkins-deploy-platform-ansible-os-4870-1 2025-12-09 13:26:42,737 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4c1bec9a-0e8f-4137-b9b0-8c7059d71587 2025-12-09 13:26:42,755 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c4af35ac-7e1c-4929-a90c-cb6d4e70f9fb 2025-12-09 13:26:44,019 - 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=4.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.458 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.458/2.440/4.423/1.982 ms') 2025-12-09 13:26:44,019 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-61260521 passed 2025-12-09 13:26:44,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 13:26:44,169 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-61260521, IP 79.193.105.131, Port 22 2025-12-09 13:26:44,343 - DEBUG - VM ctest-vn2-vm1-61260521 is ready for SSH connections 2025-12-09 13:26:44,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 13:26:44,343 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.193.105.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 13:26:44,343 - DEBUG - ping -s 56 -c 3 -W 1 79.193.105.131 2025-12-09 13:26:49,398 - DEBUG - PING 79.193.105.131 (79.193.105.131): 56 data bytes --- 79.193.105.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-09 13:26:49,398 - WARNING - Ping to IP 79.193.105.131 from VM ctest-vn1-vm1-59386931 failed 2025-12-09 13:26:49,398 - INFO - Adding interface with subnet_id 516066ba-ce2b-4260-96a0-94fccb81e76e, port_id None to router 3b67618f-3ef7-4494-9b3c-005b02dcdd3a 2025-12-09 13:26:49,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 13:26:49,658 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.193.105.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 13:26:49,658 - DEBUG - ping -s 56 -c 3 -W 1 79.193.105.131 2025-12-09 13:26:52,879 - DEBUG - PING 79.193.105.131 (79.193.105.131): 56 data bytes 64 bytes from 79.193.105.131: seq=1 ttl=63 time=3.147 ms 64 bytes from 79.193.105.131: seq=2 ttl=63 time=1.053 ms --- 79.193.105.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.053/2.100/3.147 ms 2025-12-09 13:26:52,880 - WARNING - Ping to IP 79.193.105.131 from VM ctest-vn1-vm1-59386931 failed 2025-12-09 13:26:53,880 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.193.105.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 13:26:53,880 - DEBUG - ping -s 56 -c 3 -W 1 79.193.105.131 2025-12-09 13:26:56,097 - DEBUG - PING 79.193.105.131 (79.193.105.131): 56 data bytes 64 bytes from 79.193.105.131: seq=0 ttl=63 time=1.931 ms 64 bytes from 79.193.105.131: seq=1 ttl=63 time=1.087 ms 64 bytes from 79.193.105.131: seq=2 ttl=63 time=1.105 ms --- 79.193.105.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.087/1.374/1.931 ms 2025-12-09 13:26:56,097 - INFO - Ping to IP 79.193.105.131 from VM ctest-vn1-vm1-59386931 passed 2025-12-09 13:26:56,097 - INFO - Deleting interface with subnet_id 8a376d0f-cdfa-47c7-b819-e9498f6b9453, port_id None from router 3b67618f-3ef7-4494-9b3c-005b02dcdd3a 2025-12-09 13:26:56,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 13:26:56,227 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.193.105.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 13:26:56,227 - DEBUG - ping -s 56 -c 3 -W 1 79.193.105.131 2025-12-09 13:26:59,447 - DEBUG - PING 79.193.105.131 (79.193.105.131): 56 data bytes --- 79.193.105.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-09 13:26:59,447 - WARNING - Ping to IP 79.193.105.131 from VM ctest-vn1-vm1-59386931 failed 2025-12-09 13:26:59,447 - INFO - Adding interface with subnet_id 8a376d0f-cdfa-47c7-b819-e9498f6b9453, port_id None to router 3b67618f-3ef7-4494-9b3c-005b02dcdd3a 2025-12-09 13:26:59,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 13:26:59,681 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.193.105.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 13:26:59,682 - DEBUG - ping -s 56 -c 3 -W 1 79.193.105.131 2025-12-09 13:27:01,929 - DEBUG - PING 79.193.105.131 (79.193.105.131): 56 data bytes 64 bytes from 79.193.105.131: seq=0 ttl=63 time=1.869 ms 64 bytes from 79.193.105.131: seq=1 ttl=63 time=0.942 ms 64 bytes from 79.193.105.131: seq=2 ttl=63 time=0.891 ms --- 79.193.105.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.891/1.234/1.869 ms 2025-12-09 13:27:01,929 - INFO - Ping to IP 79.193.105.131 from VM ctest-vn1-vm1-59386931 passed 2025-12-09 13:27:01,929 - INFO - Deleting interface with subnet_id 516066ba-ce2b-4260-96a0-94fccb81e76e, port_id None from router 3b67618f-3ef7-4494-9b3c-005b02dcdd3a 2025-12-09 13:27:02,079 - INFO - Deleting interface with subnet_id 8a376d0f-cdfa-47c7-b819-e9498f6b9453, port_id None from router 3b67618f-3ef7-4494-9b3c-005b02dcdd3a 2025-12-09 13:27:02,272 - INFO - Deleting VM ctest-vn2-vm1-61260521 2025-12-09 13:27:02,354 - INFO - Deleting VM ctest-vn1-vm1-59386931 2025-12-09 13:27:02,442 - INFO - Deleting VN ctest-vn2-42757007 2025-12-09 13:27:02,486 - DEBUG - VN 6a226aeb-5111-43b3-9c89-fe8c088f843f still in use: Unable to complete operation on network 6a226aeb-5111-43b3-9c89-fe8c088f843f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-119c53c2-b083-4fe0-931b-2d602ef70a44'] 2025-12-09 13:27:02,486 - WARNING - Deleting VN ctest-vn2-42757007 failed..Will retry 2025-12-09 13:27:04,610 - DEBUG - Response for deleting network () 2025-12-09 13:27:04,610 - INFO - Deleting VN ctest-vn1-52657526 2025-12-09 13:27:04,731 - DEBUG - Response for deleting network () 2025-12-09 13:27:05,001 - DEBUG - No XMPP flaps were noticed during the test 2025-12-09 13:27:05,001 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-12-09 13:27:05,001 - INFO - -------------------------------------------------------------------------------- 2025-12-09 13:27:05,706 - INFO - Deleted project: ctest-TestRouters-17712357, ID : e5d9e3df-58dc-4601-8c97-ed7189a9af70