2025-12-04 02:39:58,771 - INFO - Domain Default found not creating 2025-12-04 02:39:58,966 - INFO - Project ctest-TestRouters-36441200 not found, creating it 2025-12-04 02:39:59,502 - INFO - Created Project:ctest-TestRouters-36441200, ID : 3cca400a-a767-4f92-b5d8-74eaa63eb98d 2025-12-04 02:40:01,305 - INFO - ================================================================================ 2025-12-04 02:40:01,305 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-04 02:40:01,305 - 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-04 02:40:01,580 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-04 02:40:01,580 - INFO - Initial checks done. Running the testcase now 2025-12-04 02:40:01,580 - INFO - 2025-12-04 02:40:02,300 - DEBUG - Response for create_network : {'network': {'id': '76d91ac9-9a2c-4ce2-99fd-52bec1353e66', 'name': 'ctest-vn1-92468332', 'tenant_id': '3cca400aa7674f92b5d874eaa63eb98d', 'project_id': '3cca400aa7674f92b5d874eaa63eb98d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-36441200', 'ctest-vn1-92468332'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:40:02,489 - DEBUG - Response for create_subnet : {'subnet': {'id': '8506cf76-d2b7-4e6e-892f-831764e8c270', 'name': '', 'tenant_id': '3cca400aa7674f92b5d874eaa63eb98d', 'network_id': '76d91ac9-9a2c-4ce2-99fd-52bec1353e66', 'ip_version': 4, 'cidr': '18.176.83.192/26', 'allocation_pools': [{'start': '18.176.83.194', 'end': '18.176.83.254'}], 'gateway_ip': '18.176.83.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.176.83.194', 'tags': [], 'project_id': '3cca400aa7674f92b5d874eaa63eb98d'}} 2025-12-04 02:40:02,509 - INFO - Created VN ctest-vn1-92468332 2025-12-04 02:40:02,562 - DEBUG - VN ctest-vn1-92468332 UUID is 76d91ac9-9a2c-4ce2-99fd-52bec1353e66 2025-12-04 02:40:02,884 - DEBUG - Response for create_network : {'network': {'id': '7bf042dc-1057-4ac8-8357-81b83a975dc2', 'name': 'ctest-vn2-97338082', 'tenant_id': '3cca400aa7674f92b5d874eaa63eb98d', 'project_id': '3cca400aa7674f92b5d874eaa63eb98d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-36441200', 'ctest-vn2-97338082'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:40:03,086 - DEBUG - Response for create_subnet : {'subnet': {'id': '3df6fe01-44c9-4304-be84-81f72ed8a9d1', 'name': '', 'tenant_id': '3cca400aa7674f92b5d874eaa63eb98d', 'network_id': '7bf042dc-1057-4ac8-8357-81b83a975dc2', 'ip_version': 4, 'cidr': '109.150.41.192/26', 'allocation_pools': [{'start': '109.150.41.194', 'end': '109.150.41.254'}], 'gateway_ip': '109.150.41.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.150.41.194', 'tags': [], 'project_id': '3cca400aa7674f92b5d874eaa63eb98d'}} 2025-12-04 02:40:03,106 - INFO - Created VN ctest-vn2-97338082 2025-12-04 02:40:03,158 - DEBUG - VN ctest-vn2-97338082 UUID is 7bf042dc-1057-4ac8-8357-81b83a975dc2 2025-12-04 02:40:03,339 - DEBUG - Services list from nova: [, , ] 2025-12-04 02:40:04,546 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4836-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4836-1) 2025-12-04 02:40:06,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4836-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4836-1) 2025-12-04 02:40:06,129 - INFO - Adding interface with subnet_id 8506cf76-d2b7-4e6e-892f-831764e8c270, port_id None to router fbf55e5e-fee4-42e8-8943-919851ebf5e1 2025-12-04 02:40:06,513 - INFO - Waiting for VM ctest-vn1-vm1-01093394 to be up.. 2025-12-04 02:40:06,701 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-04 02:40:11,787 - DEBUG - VM is in ACTIVE state now 2025-12-04 02:40:11,787 - INFO - VM name : ctest-vn1-vm1-01093394 2025-12-04 02:40:11,868 - DEBUG - VM ctest-vn1-vm1-01093394 ID is 8b964903-1e7a-4ff0-9ace-043ef86bfc72 2025-12-04 02:40:11,889 - DEBUG - VM ctest-vn1-vm1-01093394 launched on Node cn-jenkins-deploy-platform-ansible-os-4836-1 2025-12-04 02:40:11,980 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8b964903-1e7a-4ff0-9ace-043ef86bfc72 2025-12-04 02:40:12,328 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8b964903-1e7a-4ff0-9ace-043ef86bfc72 2025-12-04 02:40:12,367 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a5e245b7-499c-47d1-a739-bf5ec4361637 2025-12-04 02:40:15,636 - 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-04 02:40:15,636 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01093394 failed! 2025-12-04 02:40:15,698 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-36441200:ctest-vn1-92468332 is 18.176.83.193 and allocation pool is NOT set 2025-12-04 02:40:17,762 - 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=4.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 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.099/2.919/4.740/1.820 ms') 2025-12-04 02:40:17,762 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01093394 passed 2025-12-04 02:40:17,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:40:17,914 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01093394, IP 18.176.83.195, Port 22 2025-12-04 02:40:17,980 - 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-04 02:40:18,064 - DEBUG - VM ctest-vn1-vm1-01093394 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 02:40:23,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:40:23,065 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01093394, IP 18.176.83.195, Port 22 2025-12-04 02:40:23,222 - DEBUG - VM ctest-vn1-vm1-01093394 is ready for SSH connections 2025-12-04 02:40:23,222 - INFO - Waiting for VM ctest-vn2-vm1-86570713 to be up.. 2025-12-04 02:40:23,305 - DEBUG - VM is in ACTIVE state now 2025-12-04 02:40:23,305 - INFO - VM name : ctest-vn2-vm1-86570713 2025-12-04 02:40:23,381 - DEBUG - VM ctest-vn2-vm1-86570713 ID is 7612a59d-01bd-4975-bd81-b69dfbac8536 2025-12-04 02:40:23,381 - DEBUG - VM ctest-vn2-vm1-86570713 launched on Node cn-jenkins-deploy-platform-ansible-os-4836-1 2025-12-04 02:40:23,457 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7612a59d-01bd-4975-bd81-b69dfbac8536 2025-12-04 02:40:23,467 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6a4cce5e-4c86-4725-9171-42bc3b1a7311 2025-12-04 02:40:24,699 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.504 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.504/1.992/3.480/1.488 ms') 2025-12-04 02:40:24,699 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-86570713 passed 2025-12-04 02:40:24,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:40:24,858 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-86570713, IP 109.150.41.195, Port 22 2025-12-04 02:40:25,014 - DEBUG - VM ctest-vn2-vm1-86570713 is ready for SSH connections 2025-12-04 02:40:25,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:40:25,014 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.150.41.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-04 02:40:25,014 - DEBUG - ping -s 56 -c 3 -W 1 109.150.41.195 2025-12-04 02:40:30,126 - DEBUG - PING 109.150.41.195 (109.150.41.195): 56 data bytes --- 109.150.41.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-04 02:40:30,126 - WARNING - Ping to IP 109.150.41.195 from VM ctest-vn1-vm1-01093394 failed 2025-12-04 02:40:30,126 - INFO - Adding interface with subnet_id 3df6fe01-44c9-4304-be84-81f72ed8a9d1, port_id None to router fbf55e5e-fee4-42e8-8943-919851ebf5e1 2025-12-04 02:40:30,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:40:30,394 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.150.41.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-04 02:40:30,394 - DEBUG - ping -s 56 -c 3 -W 1 109.150.41.195 2025-12-04 02:40:33,632 - DEBUG - PING 109.150.41.195 (109.150.41.195): 56 data bytes 64 bytes from 109.150.41.195: seq=1 ttl=63 time=3.266 ms 64 bytes from 109.150.41.195: seq=2 ttl=63 time=0.970 ms --- 109.150.41.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.970/2.118/3.266 ms 2025-12-04 02:40:33,632 - WARNING - Ping to IP 109.150.41.195 from VM ctest-vn1-vm1-01093394 failed 2025-12-04 02:40:34,633 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.150.41.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-04 02:40:34,633 - DEBUG - ping -s 56 -c 3 -W 1 109.150.41.195 2025-12-04 02:40:36,865 - DEBUG - PING 109.150.41.195 (109.150.41.195): 56 data bytes 64 bytes from 109.150.41.195: seq=0 ttl=63 time=1.487 ms 64 bytes from 109.150.41.195: seq=1 ttl=63 time=0.890 ms 64 bytes from 109.150.41.195: seq=2 ttl=63 time=0.834 ms --- 109.150.41.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/1.070/1.487 ms 2025-12-04 02:40:36,865 - INFO - Ping to IP 109.150.41.195 from VM ctest-vn1-vm1-01093394 passed 2025-12-04 02:40:36,866 - INFO - Deleting interface with subnet_id 8506cf76-d2b7-4e6e-892f-831764e8c270, port_id None from router fbf55e5e-fee4-42e8-8943-919851ebf5e1 2025-12-04 02:40:36,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:40:36,984 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.150.41.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-04 02:40:36,984 - DEBUG - ping -s 56 -c 3 -W 1 109.150.41.195 2025-12-04 02:40:40,215 - DEBUG - PING 109.150.41.195 (109.150.41.195): 56 data bytes --- 109.150.41.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-04 02:40:40,215 - WARNING - Ping to IP 109.150.41.195 from VM ctest-vn1-vm1-01093394 failed 2025-12-04 02:40:40,215 - INFO - Adding interface with subnet_id 8506cf76-d2b7-4e6e-892f-831764e8c270, port_id None to router fbf55e5e-fee4-42e8-8943-919851ebf5e1 2025-12-04 02:40:40,438 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:40:40,438 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.150.41.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-04 02:40:40,439 - DEBUG - ping -s 56 -c 3 -W 1 109.150.41.195 2025-12-04 02:40:42,692 - DEBUG - PING 109.150.41.195 (109.150.41.195): 56 data bytes 64 bytes from 109.150.41.195: seq=0 ttl=63 time=2.036 ms 64 bytes from 109.150.41.195: seq=1 ttl=63 time=1.069 ms 64 bytes from 109.150.41.195: seq=2 ttl=63 time=0.918 ms --- 109.150.41.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.918/1.341/2.036 ms 2025-12-04 02:40:42,692 - INFO - Ping to IP 109.150.41.195 from VM ctest-vn1-vm1-01093394 passed 2025-12-04 02:40:42,692 - INFO - Deleting interface with subnet_id 3df6fe01-44c9-4304-be84-81f72ed8a9d1, port_id None from router fbf55e5e-fee4-42e8-8943-919851ebf5e1 2025-12-04 02:40:42,810 - INFO - Deleting interface with subnet_id 8506cf76-d2b7-4e6e-892f-831764e8c270, port_id None from router fbf55e5e-fee4-42e8-8943-919851ebf5e1 2025-12-04 02:40:42,995 - INFO - Deleting VM ctest-vn2-vm1-86570713 2025-12-04 02:40:43,089 - INFO - Deleting VM ctest-vn1-vm1-01093394 2025-12-04 02:40:43,166 - INFO - Deleting VN ctest-vn2-97338082 2025-12-04 02:40:43,206 - DEBUG - VN 7bf042dc-1057-4ac8-8357-81b83a975dc2 still in use: Unable to complete operation on network 7bf042dc-1057-4ac8-8357-81b83a975dc2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5c817cc3-8c88-4eab-9ca2-f4a417ebe603'] 2025-12-04 02:40:43,206 - WARNING - Deleting VN ctest-vn2-97338082 failed..Will retry 2025-12-04 02:40:45,321 - DEBUG - Response for deleting network () 2025-12-04 02:40:45,322 - INFO - Deleting VN ctest-vn1-92468332 2025-12-04 02:40:45,424 - DEBUG - Response for deleting network () 2025-12-04 02:40:45,686 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 02:40:45,686 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-12-04 02:40:45,686 - INFO - -------------------------------------------------------------------------------- 2025-12-04 02:40:46,505 - INFO - Deleted project: ctest-TestRouters-36441200, ID : 3cca400a-a767-4f92-b5d8-74eaa63eb98d