2025-08-18 09:43:07,864 - INFO - Domain Default found not creating 2025-08-18 09:43:07,982 - INFO - Project ctest-TestRouters-04240778 not found, creating it 2025-08-18 09:43:08,418 - INFO - Created Project:ctest-TestRouters-04240778, ID : cbbd230c-4a3e-4760-a798-4bd449c01158 2025-08-18 09:43:09,807 - INFO - ================================================================================ 2025-08-18 09:43:09,807 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-18 09:43:09,807 - 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-18 09:43:10,063 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.0.0.48': '0'}} with 2025-08-18 09:43:10,063 - INFO - Initial checks done. Running the testcase now 2025-08-18 09:43:10,063 - INFO - 2025-08-18 09:43:10,595 - DEBUG - Response for create_network : {'network': {'id': '83a37536-30b4-49ce-bd30-5f35bd55297e', 'name': 'ctest-vn1-36510192', 'tenant_id': 'cbbd230c4a3e4760a7984bd449c01158', 'project_id': 'cbbd230c4a3e4760a7984bd449c01158', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-04240778', 'ctest-vn1-36510192'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 09:43:10,771 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e4d28cf-6fab-46d5-a6ba-7eaff34e943e', 'name': '', 'tenant_id': 'cbbd230c4a3e4760a7984bd449c01158', 'network_id': '83a37536-30b4-49ce-bd30-5f35bd55297e', 'ip_version': 4, 'cidr': '30.211.247.64/26', 'allocation_pools': [{'start': '30.211.247.66', 'end': '30.211.247.126'}], 'gateway_ip': '30.211.247.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.211.247.66', 'tags': [], 'project_id': 'cbbd230c4a3e4760a7984bd449c01158'}} 2025-08-18 09:43:10,786 - INFO - Created VN ctest-vn1-36510192 2025-08-18 09:43:10,835 - DEBUG - VN ctest-vn1-36510192 UUID is 83a37536-30b4-49ce-bd30-5f35bd55297e 2025-08-18 09:43:11,136 - DEBUG - Response for create_network : {'network': {'id': 'a5eabed1-fdda-45ad-8abd-b4af1c71d68e', 'name': 'ctest-vn2-25867577', 'tenant_id': 'cbbd230c4a3e4760a7984bd449c01158', 'project_id': 'cbbd230c4a3e4760a7984bd449c01158', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-04240778', 'ctest-vn2-25867577'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 09:43:11,279 - DEBUG - Response for create_subnet : {'subnet': {'id': '05e6ac47-91fa-4b22-a4f3-bc0c4f7fab01', 'name': '', 'tenant_id': 'cbbd230c4a3e4760a7984bd449c01158', 'network_id': 'a5eabed1-fdda-45ad-8abd-b4af1c71d68e', 'ip_version': 4, 'cidr': '122.134.8.192/26', 'allocation_pools': [{'start': '122.134.8.194', 'end': '122.134.8.254'}], 'gateway_ip': '122.134.8.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.134.8.194', 'tags': [], 'project_id': 'cbbd230c4a3e4760a7984bd449c01158'}} 2025-08-18 09:43:11,294 - INFO - Created VN ctest-vn2-25867577 2025-08-18 09:43:11,343 - DEBUG - VN ctest-vn2-25867577 UUID is a5eabed1-fdda-45ad-8abd-b4af1c71d68e 2025-08-18 09:43:11,590 - DEBUG - Services list from nova: [, , ] 2025-08-18 09:43:12,552 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3875-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3875-1) 2025-08-18 09:43:13,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3875-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3875-1) 2025-08-18 09:43:13,763 - INFO - Adding interface with subnet_id 8e4d28cf-6fab-46d5-a6ba-7eaff34e943e, port_id None to router b8ec72f3-41b5-4554-b822-f3daba7a823e 2025-08-18 09:43:14,047 - INFO - Waiting for VM ctest-vn1-vm1-87360894 to be up.. 2025-08-18 09:43:14,143 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 09:43:19,213 - DEBUG - VM is in ACTIVE state now 2025-08-18 09:43:19,213 - INFO - VM name : ctest-vn1-vm1-87360894 2025-08-18 09:43:19,281 - DEBUG - VM ctest-vn1-vm1-87360894 ID is 696bfd6b-33e7-4f5d-a9c0-8988dc61eaa7 2025-08-18 09:43:19,299 - DEBUG - VM ctest-vn1-vm1-87360894 launched on Node cn-jenkins-deploy-platform-ansible-os-3875-1. 2025-08-18 09:43:19,385 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/696bfd6b-33e7-4f5d-a9c0-8988dc61eaa7 2025-08-18 09:43:19,685 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/696bfd6b-33e7-4f5d-a9c0-8988dc61eaa7 2025-08-18 09:43:19,713 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/c81726f3-f959-4680-a063-18567d78a5b3 2025-08-18 09:43:22,960 - 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=2 ttl=63 time=8.81 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 8.812/8.812/8.812/0.000 ms') 2025-08-18 09:43:22,960 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87360894 passed 2025-08-18 09:43:23,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:43:23,111 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87360894, IP 30.211.247.67, Port 22 2025-08-18 09:43:23,171 - 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-18 09:43:23,236 - DEBUG - VM ctest-vn1-vm1-87360894 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-18 09:43:28,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:43:28,237 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87360894, IP 30.211.247.67, Port 22 2025-08-18 09:43:28,394 - DEBUG - VM ctest-vn1-vm1-87360894 is ready for SSH connections 2025-08-18 09:43:28,394 - INFO - Waiting for VM ctest-vn2-vm1-84714684 to be up.. 2025-08-18 09:43:28,455 - DEBUG - VM is in ACTIVE state now 2025-08-18 09:43:28,455 - INFO - VM name : ctest-vn2-vm1-84714684 2025-08-18 09:43:28,516 - DEBUG - VM ctest-vn2-vm1-84714684 ID is 79274ffa-1102-426a-9fcf-4170dbba1ca5 2025-08-18 09:43:28,516 - DEBUG - VM ctest-vn2-vm1-84714684 launched on Node cn-jenkins-deploy-platform-ansible-os-3875-1. 2025-08-18 09:43:28,574 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/79274ffa-1102-426a-9fcf-4170dbba1ca5 2025-08-18 09:43:28,581 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/77da4629-8037-43ab-b8b9-c7328ece6bc9 2025-08-18 09:43:29,805 - 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=2.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 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.428/1.514/2.600/1.086 ms') 2025-08-18 09:43:29,805 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-84714684 passed 2025-08-18 09:43:29,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:43:29,959 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-84714684, IP 122.134.8.195, Port 22 2025-08-18 09:43:30,134 - DEBUG - VM ctest-vn2-vm1-84714684 is ready for SSH connections 2025-08-18 09:43:30,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:43:30,134 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.134.8.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-18 09:43:30,135 - DEBUG - ping -s 56 -c 3 -W 1 122.134.8.195 2025-08-18 09:43:34,783 - DEBUG - PING 122.134.8.195 (122.134.8.195): 56 data bytes --- 122.134.8.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-18 09:43:34,783 - WARNING - Ping to IP 122.134.8.195 from VM ctest-vn1-vm1-87360894 failed 2025-08-18 09:43:34,783 - INFO - Adding interface with subnet_id 05e6ac47-91fa-4b22-a4f3-bc0c4f7fab01, port_id None to router b8ec72f3-41b5-4554-b822-f3daba7a823e 2025-08-18 09:43:35,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:43:35,015 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.134.8.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-18 09:43:35,015 - DEBUG - ping -s 56 -c 3 -W 1 122.134.8.195 2025-08-18 09:43:38,213 - DEBUG - PING 122.134.8.195 (122.134.8.195): 56 data bytes 64 bytes from 122.134.8.195: seq=1 ttl=63 time=2.340 ms 64 bytes from 122.134.8.195: seq=2 ttl=63 time=0.717 ms --- 122.134.8.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.717/1.528/2.340 ms 2025-08-18 09:43:38,214 - WARNING - Ping to IP 122.134.8.195 from VM ctest-vn1-vm1-87360894 failed 2025-08-18 09:43:39,214 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.134.8.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-18 09:43:39,214 - DEBUG - ping -s 56 -c 3 -W 1 122.134.8.195 2025-08-18 09:43:41,403 - DEBUG - PING 122.134.8.195 (122.134.8.195): 56 data bytes 64 bytes from 122.134.8.195: seq=0 ttl=63 time=1.238 ms 64 bytes from 122.134.8.195: seq=1 ttl=63 time=0.660 ms 64 bytes from 122.134.8.195: seq=2 ttl=63 time=0.700 ms --- 122.134.8.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.660/0.866/1.238 ms 2025-08-18 09:43:41,404 - INFO - Ping to IP 122.134.8.195 from VM ctest-vn1-vm1-87360894 passed 2025-08-18 09:43:41,404 - INFO - Deleting interface with subnet_id 8e4d28cf-6fab-46d5-a6ba-7eaff34e943e, port_id None from router b8ec72f3-41b5-4554-b822-f3daba7a823e 2025-08-18 09:43:41,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:43:41,506 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.134.8.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-18 09:43:41,506 - DEBUG - ping -s 56 -c 3 -W 1 122.134.8.195 2025-08-18 09:43:44,695 - DEBUG - PING 122.134.8.195 (122.134.8.195): 56 data bytes --- 122.134.8.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-18 09:43:44,695 - WARNING - Ping to IP 122.134.8.195 from VM ctest-vn1-vm1-87360894 failed 2025-08-18 09:43:44,695 - INFO - Adding interface with subnet_id 8e4d28cf-6fab-46d5-a6ba-7eaff34e943e, port_id None to router b8ec72f3-41b5-4554-b822-f3daba7a823e 2025-08-18 09:43:44,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:43:44,928 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.134.8.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-18 09:43:44,928 - DEBUG - ping -s 56 -c 3 -W 1 122.134.8.195 2025-08-18 09:43:47,120 - DEBUG - PING 122.134.8.195 (122.134.8.195): 56 data bytes 64 bytes from 122.134.8.195: seq=0 ttl=63 time=1.262 ms 64 bytes from 122.134.8.195: seq=1 ttl=63 time=0.743 ms 64 bytes from 122.134.8.195: seq=2 ttl=63 time=0.797 ms --- 122.134.8.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.743/0.934/1.262 ms 2025-08-18 09:43:47,120 - INFO - Ping to IP 122.134.8.195 from VM ctest-vn1-vm1-87360894 passed 2025-08-18 09:43:47,120 - INFO - Deleting interface with subnet_id 05e6ac47-91fa-4b22-a4f3-bc0c4f7fab01, port_id None from router b8ec72f3-41b5-4554-b822-f3daba7a823e 2025-08-18 09:43:47,231 - INFO - Deleting interface with subnet_id 8e4d28cf-6fab-46d5-a6ba-7eaff34e943e, port_id None from router b8ec72f3-41b5-4554-b822-f3daba7a823e 2025-08-18 09:43:47,381 - INFO - Deleting VM ctest-vn2-vm1-84714684 2025-08-18 09:43:47,438 - INFO - Deleting VM ctest-vn1-vm1-87360894 2025-08-18 09:43:47,499 - INFO - Deleting VN ctest-vn2-25867577 2025-08-18 09:43:47,530 - DEBUG - VN a5eabed1-fdda-45ad-8abd-b4af1c71d68e still in use: Unable to complete operation on network a5eabed1-fdda-45ad-8abd-b4af1c71d68e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-55f014ec-776c-441f-b73e-5908d2cd3d9c'] 2025-08-18 09:43:47,530 - WARNING - Deleting VN ctest-vn2-25867577 failed..Will retry 2025-08-18 09:43:49,639 - DEBUG - Response for deleting network () 2025-08-18 09:43:49,639 - INFO - Deleting VN ctest-vn1-36510192 2025-08-18 09:43:49,735 - DEBUG - Response for deleting network () 2025-08-18 09:43:49,987 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 09:43:49,987 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:40]
2025-08-18 09:43:49,987 - INFO - -------------------------------------------------------------------------------- 2025-08-18 09:43:50,691 - INFO - Deleted project: ctest-TestRouters-04240778, ID : cbbd230c-4a3e-4760-a798-4bd449c01158