2025-08-06 07:23:47,648 - INFO - Domain Default found not creating 2025-08-06 07:23:47,825 - INFO - Project ctest-TestRouters-36031230 not found, creating it 2025-08-06 07:23:48,358 - INFO - Created Project:ctest-TestRouters-36031230, ID : 5406c6c3-953d-4c11-a1a8-fe73e255b4da 2025-08-06 07:23:49,848 - INFO - ================================================================================ 2025-08-06 07:23:49,848 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-06 07:23:49,848 - 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-06 07:23:50,103 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-06 07:23:50,104 - INFO - Initial checks done. Running the testcase now 2025-08-06 07:23:50,104 - INFO - 2025-08-06 07:23:50,650 - DEBUG - Response for create_network : {'network': {'id': 'f080a0a2-6bc3-4aea-9ec5-89e6e76b47f7', 'name': 'ctest-vn1-10365666', 'tenant_id': '5406c6c3953d4c11a1a8fe73e255b4da', 'project_id': '5406c6c3953d4c11a1a8fe73e255b4da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-36031230', 'ctest-vn1-10365666'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 07:23:50,849 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa0becc8-408b-4027-a2f4-36b65f5e1e13', 'name': '', 'tenant_id': '5406c6c3953d4c11a1a8fe73e255b4da', 'network_id': 'f080a0a2-6bc3-4aea-9ec5-89e6e76b47f7', 'ip_version': 4, 'cidr': '146.103.120.0/26', 'allocation_pools': [{'start': '146.103.120.2', 'end': '146.103.120.62'}], 'gateway_ip': '146.103.120.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.103.120.2', 'tags': [], 'project_id': '5406c6c3953d4c11a1a8fe73e255b4da'}} 2025-08-06 07:23:50,873 - INFO - Created VN ctest-vn1-10365666 2025-08-06 07:23:50,929 - DEBUG - VN ctest-vn1-10365666 UUID is f080a0a2-6bc3-4aea-9ec5-89e6e76b47f7 2025-08-06 07:23:51,283 - DEBUG - Response for create_network : {'network': {'id': 'df52ee98-5f6f-4adc-a38a-5191c4ccb21d', 'name': 'ctest-vn2-60293426', 'tenant_id': '5406c6c3953d4c11a1a8fe73e255b4da', 'project_id': '5406c6c3953d4c11a1a8fe73e255b4da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-36031230', 'ctest-vn2-60293426'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 07:23:51,522 - DEBUG - Response for create_subnet : {'subnet': {'id': '3406f554-1200-496b-abf8-414b86f8b13c', 'name': '', 'tenant_id': '5406c6c3953d4c11a1a8fe73e255b4da', 'network_id': 'df52ee98-5f6f-4adc-a38a-5191c4ccb21d', 'ip_version': 4, 'cidr': '171.117.25.192/26', 'allocation_pools': [{'start': '171.117.25.194', 'end': '171.117.25.254'}], 'gateway_ip': '171.117.25.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.117.25.194', 'tags': [], 'project_id': '5406c6c3953d4c11a1a8fe73e255b4da'}} 2025-08-06 07:23:51,542 - INFO - Created VN ctest-vn2-60293426 2025-08-06 07:23:51,597 - DEBUG - VN ctest-vn2-60293426 UUID is df52ee98-5f6f-4adc-a38a-5191c4ccb21d 2025-08-06 07:23:51,767 - DEBUG - Services list from nova: [, , ] 2025-08-06 07:23:52,921 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3760-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3760-1) 2025-08-06 07:23:54,242 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3760-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3760-1) 2025-08-06 07:23:54,320 - INFO - Adding interface with subnet_id aa0becc8-408b-4027-a2f4-36b65f5e1e13, port_id None to router 2bbef678-03be-4494-bc96-0799fe33084c 2025-08-06 07:23:54,615 - INFO - Waiting for VM ctest-vn1-vm1-49858035 to be up.. 2025-08-06 07:23:54,800 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 07:23:59,881 - DEBUG - VM is in ACTIVE state now 2025-08-06 07:23:59,881 - INFO - VM name : ctest-vn1-vm1-49858035 2025-08-06 07:23:59,961 - DEBUG - VM ctest-vn1-vm1-49858035 ID is fd6dd154-c059-40aa-a3ed-e68422749509 2025-08-06 07:23:59,982 - DEBUG - VM ctest-vn1-vm1-49858035 launched on Node cn-jenkins-deploy-platform-ansible-os-3760-1 2025-08-06 07:24:00,073 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fd6dd154-c059-40aa-a3ed-e68422749509 2025-08-06 07:24:00,379 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fd6dd154-c059-40aa-a3ed-e68422749509 2025-08-06 07:24:00,417 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/701f1a46-f405-43c4-ac3a-b31bc134f199 2025-08-06 07:24:03,684 - 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 1026ms') 2025-08-06 07:24:03,684 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49858035 failed! 2025-08-06 07:24:03,741 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-36031230:ctest-vn1-10365666 is 146.103.120.1 and allocation pool is NOT set 2025-08-06 07:24:05,809 - 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=2.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.487 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 = 0.487/1.551/2.616/1.064 ms') 2025-08-06 07:24:05,809 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49858035 passed 2025-08-06 07:24:05,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:24:05,969 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-49858035, IP 146.103.120.3, Port 22 2025-08-06 07:24:06,124 - DEBUG - VM ctest-vn1-vm1-49858035 is ready for SSH connections 2025-08-06 07:24:06,124 - INFO - Waiting for VM ctest-vn2-vm1-06185813 to be up.. 2025-08-06 07:24:06,202 - DEBUG - VM is in ACTIVE state now 2025-08-06 07:24:06,202 - INFO - VM name : ctest-vn2-vm1-06185813 2025-08-06 07:24:06,278 - DEBUG - VM ctest-vn2-vm1-06185813 ID is b7eb474a-a128-4748-8efb-93af6f4834aa 2025-08-06 07:24:06,278 - DEBUG - VM ctest-vn2-vm1-06185813 launched on Node cn-jenkins-deploy-platform-ansible-os-3760-1 2025-08-06 07:24:06,355 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b7eb474a-a128-4748-8efb-93af6f4834aa 2025-08-06 07:24:06,364 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e795fc99-711f-43e0-9f6e-ef6efba87f0b 2025-08-06 07:24:07,615 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.33 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 = 1.325/2.683/4.041/1.358 ms') 2025-08-06 07:24:07,615 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-06185813 passed 2025-08-06 07:24:07,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:24:07,773 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-06185813, IP 171.117.25.195, Port 22 2025-08-06 07:24:07,839 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-06 07:24:07,922 - DEBUG - VM ctest-vn2-vm1-06185813 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 07:24:12,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:24:12,923 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-06185813, IP 171.117.25.195, Port 22 2025-08-06 07:24:13,081 - DEBUG - VM ctest-vn2-vm1-06185813 is ready for SSH connections 2025-08-06 07:24:13,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:24:13,081 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.117.25.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-06 07:24:13,081 - DEBUG - ping -s 56 -c 3 -W 1 171.117.25.195 2025-08-06 07:24:18,114 - DEBUG - PING 171.117.25.195 (171.117.25.195): 56 data bytes --- 171.117.25.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-06 07:24:18,114 - WARNING - Ping to IP 171.117.25.195 from VM ctest-vn1-vm1-49858035 failed 2025-08-06 07:24:18,114 - INFO - Adding interface with subnet_id 3406f554-1200-496b-abf8-414b86f8b13c, port_id None to router 2bbef678-03be-4494-bc96-0799fe33084c 2025-08-06 07:24:18,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:24:18,371 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.117.25.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-06 07:24:18,371 - DEBUG - ping -s 56 -c 3 -W 1 171.117.25.195 2025-08-06 07:24:21,584 - DEBUG - PING 171.117.25.195 (171.117.25.195): 56 data bytes 64 bytes from 171.117.25.195: seq=1 ttl=63 time=3.441 ms 64 bytes from 171.117.25.195: seq=2 ttl=63 time=1.409 ms --- 171.117.25.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.409/2.425/3.441 ms 2025-08-06 07:24:21,584 - WARNING - Ping to IP 171.117.25.195 from VM ctest-vn1-vm1-49858035 failed 2025-08-06 07:24:22,585 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.117.25.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-06 07:24:22,585 - DEBUG - ping -s 56 -c 3 -W 1 171.117.25.195 2025-08-06 07:24:24,799 - DEBUG - PING 171.117.25.195 (171.117.25.195): 56 data bytes 64 bytes from 171.117.25.195: seq=0 ttl=63 time=1.681 ms 64 bytes from 171.117.25.195: seq=1 ttl=63 time=0.807 ms 64 bytes from 171.117.25.195: seq=2 ttl=63 time=0.859 ms --- 171.117.25.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.807/1.115/1.681 ms 2025-08-06 07:24:24,799 - INFO - Ping to IP 171.117.25.195 from VM ctest-vn1-vm1-49858035 passed 2025-08-06 07:24:24,799 - INFO - Deleting interface with subnet_id aa0becc8-408b-4027-a2f4-36b65f5e1e13, port_id None from router 2bbef678-03be-4494-bc96-0799fe33084c 2025-08-06 07:24:24,918 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:24:24,919 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.117.25.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-06 07:24:24,919 - DEBUG - ping -s 56 -c 3 -W 1 171.117.25.195 2025-08-06 07:24:28,125 - DEBUG - PING 171.117.25.195 (171.117.25.195): 56 data bytes --- 171.117.25.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-06 07:24:28,125 - WARNING - Ping to IP 171.117.25.195 from VM ctest-vn1-vm1-49858035 failed 2025-08-06 07:24:28,125 - INFO - Adding interface with subnet_id aa0becc8-408b-4027-a2f4-36b65f5e1e13, port_id None to router 2bbef678-03be-4494-bc96-0799fe33084c 2025-08-06 07:24:28,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:24:28,372 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.117.25.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-06 07:24:28,372 - DEBUG - ping -s 56 -c 3 -W 1 171.117.25.195 2025-08-06 07:24:30,618 - DEBUG - PING 171.117.25.195 (171.117.25.195): 56 data bytes 64 bytes from 171.117.25.195: seq=0 ttl=63 time=2.033 ms 64 bytes from 171.117.25.195: seq=1 ttl=63 time=0.888 ms 64 bytes from 171.117.25.195: seq=2 ttl=63 time=0.777 ms --- 171.117.25.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.777/1.232/2.033 ms 2025-08-06 07:24:30,618 - INFO - Ping to IP 171.117.25.195 from VM ctest-vn1-vm1-49858035 passed 2025-08-06 07:24:30,618 - INFO - Deleting interface with subnet_id 3406f554-1200-496b-abf8-414b86f8b13c, port_id None from router 2bbef678-03be-4494-bc96-0799fe33084c 2025-08-06 07:24:30,739 - INFO - Deleting interface with subnet_id aa0becc8-408b-4027-a2f4-36b65f5e1e13, port_id None from router 2bbef678-03be-4494-bc96-0799fe33084c 2025-08-06 07:24:30,921 - INFO - Deleting VM ctest-vn2-vm1-06185813 2025-08-06 07:24:30,998 - INFO - Deleting VM ctest-vn1-vm1-49858035 2025-08-06 07:24:31,075 - INFO - Deleting VN ctest-vn2-60293426 2025-08-06 07:24:31,119 - DEBUG - VN df52ee98-5f6f-4adc-a38a-5191c4ccb21d still in use: Unable to complete operation on network df52ee98-5f6f-4adc-a38a-5191c4ccb21d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3c45719d-1b87-4d33-b6db-be2feedecd00'] 2025-08-06 07:24:31,119 - WARNING - Deleting VN ctest-vn2-60293426 failed..Will retry 2025-08-06 07:24:33,236 - DEBUG - Response for deleting network () 2025-08-06 07:24:33,236 - INFO - Deleting VN ctest-vn1-10365666 2025-08-06 07:24:33,365 - DEBUG - Response for deleting network () 2025-08-06 07:24:33,619 - DEBUG - No XMPP flaps were noticed during the test
2025-08-06 07:24:33,619 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-08-06 07:24:33,619 - INFO - -------------------------------------------------------------------------------- 2025-08-06 07:24:34,321 - INFO - Deleted project: ctest-TestRouters-36031230, ID : 5406c6c3-953d-4c11-a1a8-fe73e255b4da