2025-09-02 13:16:39,503 - INFO - Domain Default found not creating 2025-09-02 13:16:39,649 - INFO - Project ctest-TestRouters-63980618 not found, creating it 2025-09-02 13:16:40,093 - INFO - Created Project:ctest-TestRouters-63980618, ID : 441ab3e0-656d-44cd-8f0d-682aae243ed8 2025-09-02 13:16:41,674 - INFO - ================================================================================ 2025-09-02 13:16:41,674 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-02 13:16:41,674 - 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-09-02 13:16:41,927 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-09-02 13:16:41,927 - INFO - Initial checks done. Running the testcase now 2025-09-02 13:16:41,927 - INFO - 2025-09-02 13:16:42,522 - DEBUG - Response for create_network : {'network': {'id': '5087821d-18cb-4138-a2da-f91a79d6f39c', 'name': 'ctest-vn1-18511916', 'tenant_id': '441ab3e0656d44cd8f0d682aae243ed8', 'project_id': '441ab3e0656d44cd8f0d682aae243ed8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-63980618', 'ctest-vn1-18511916'], 'port_security_enabled': True, 'description': ''}} 2025-09-02 13:16:42,696 - DEBUG - Response for create_subnet : {'subnet': {'id': '666185ad-7277-4e57-a66e-1464992e6134', 'name': '', 'tenant_id': '441ab3e0656d44cd8f0d682aae243ed8', 'network_id': '5087821d-18cb-4138-a2da-f91a79d6f39c', 'ip_version': 4, 'cidr': '119.29.131.0/26', 'allocation_pools': [{'start': '119.29.131.2', 'end': '119.29.131.62'}], 'gateway_ip': '119.29.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.29.131.2', 'tags': [], 'project_id': '441ab3e0656d44cd8f0d682aae243ed8'}} 2025-09-02 13:16:42,712 - INFO - Created VN ctest-vn1-18511916 2025-09-02 13:16:42,763 - DEBUG - VN ctest-vn1-18511916 UUID is 5087821d-18cb-4138-a2da-f91a79d6f39c 2025-09-02 13:16:43,085 - DEBUG - Response for create_network : {'network': {'id': '334c7f07-abe0-4f7b-aaa6-7bd403e15055', 'name': 'ctest-vn2-15596125', 'tenant_id': '441ab3e0656d44cd8f0d682aae243ed8', 'project_id': '441ab3e0656d44cd8f0d682aae243ed8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-63980618', 'ctest-vn2-15596125'], 'port_security_enabled': True, 'description': ''}} 2025-09-02 13:16:43,338 - DEBUG - Response for create_subnet : {'subnet': {'id': '68b5eb7b-4973-4ee5-907f-75db2045f644', 'name': '', 'tenant_id': '441ab3e0656d44cd8f0d682aae243ed8', 'network_id': '334c7f07-abe0-4f7b-aaa6-7bd403e15055', 'ip_version': 4, 'cidr': '120.60.197.192/26', 'allocation_pools': [{'start': '120.60.197.194', 'end': '120.60.197.254'}], 'gateway_ip': '120.60.197.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.60.197.194', 'tags': [], 'project_id': '441ab3e0656d44cd8f0d682aae243ed8'}} 2025-09-02 13:16:43,357 - INFO - Created VN ctest-vn2-15596125 2025-09-02 13:16:43,410 - DEBUG - VN ctest-vn2-15596125 UUID is 334c7f07-abe0-4f7b-aaa6-7bd403e15055 2025-09-02 13:16:43,619 - DEBUG - Services list from nova: [, , ] 2025-09-02 13:16:44,693 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4002-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4002-1) 2025-09-02 13:16:46,043 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4002-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4002-1) 2025-09-02 13:16:46,306 - INFO - Adding interface with subnet_id 666185ad-7277-4e57-a66e-1464992e6134, port_id None to router 3a231770-119a-4c2b-8b62-28ef7c040eb5 2025-09-02 13:16:46,955 - INFO - Waiting for VM ctest-vn1-vm1-20296809 to be up.. 2025-09-02 13:16:47,087 - DEBUG - VM is in ACTIVE state now 2025-09-02 13:16:47,087 - INFO - VM name : ctest-vn1-vm1-20296809 2025-09-02 13:16:47,205 - DEBUG - VM ctest-vn1-vm1-20296809 ID is d17df7b2-e266-40ae-9601-b15d38a6e061 2025-09-02 13:16:47,235 - DEBUG - VM ctest-vn1-vm1-20296809 launched on Node cn-jenkins-deploy-platform-ansible-os-4002-1 2025-09-02 13:16:47,325 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d17df7b2-e266-40ae-9601-b15d38a6e061 2025-09-02 13:16:47,658 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d17df7b2-e266-40ae-9601-b15d38a6e061 2025-09-02 13:16:47,694 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1c5d596f-f82b-46ad-9fa0-9a4370f90c26 2025-09-02 13:16:50,936 - 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 1002ms') 2025-09-02 13:16:50,936 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20296809 failed! 2025-09-02 13:16:50,991 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-63980618:ctest-vn1-18511916 is 119.29.131.1 and allocation pool is NOT set 2025-09-02 13:16:55,059 - 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 1014ms') 2025-09-02 13:16:55,059 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20296809 failed! 2025-09-02 13:16:55,115 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-63980618:ctest-vn1-18511916 is 119.29.131.1 and allocation pool is NOT set 2025-09-02 13:16:57,178 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.859 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.859/2.232/3.605/1.373 ms') 2025-09-02 13:16:57,178 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20296809 passed 2025-09-02 13:16:57,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 13:16:57,327 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-20296809, IP 119.29.131.3, Port 22 2025-09-02 13:16:57,486 - DEBUG - VM ctest-vn1-vm1-20296809 is ready for SSH connections 2025-09-02 13:16:57,486 - INFO - Waiting for VM ctest-vn2-vm1-14371842 to be up.. 2025-09-02 13:16:57,556 - DEBUG - VM is in ACTIVE state now 2025-09-02 13:16:57,557 - INFO - VM name : ctest-vn2-vm1-14371842 2025-09-02 13:16:57,623 - DEBUG - VM ctest-vn2-vm1-14371842 ID is 7eae852a-6b15-431d-ad73-06d54e1df3e4 2025-09-02 13:16:57,623 - DEBUG - VM ctest-vn2-vm1-14371842 launched on Node cn-jenkins-deploy-platform-ansible-os-4002-1 2025-09-02 13:16:57,689 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7eae852a-6b15-431d-ad73-06d54e1df3e4 2025-09-02 13:16:57,697 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8b7d53e3-109e-4cf6-b39c-1b634177b476 2025-09-02 13:16:58,940 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.649 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.649/2.634/4.620/1.985 ms') 2025-09-02 13:16:58,940 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-14371842 passed 2025-09-02 13:16:59,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 13:16:59,087 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-14371842, IP 120.60.197.195, Port 22 2025-09-02 13:16:59,142 - 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-09-02 13:16:59,217 - DEBUG - VM ctest-vn2-vm1-14371842 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-02 13:17:04,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 13:17:04,218 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-14371842, IP 120.60.197.195, Port 22 2025-09-02 13:17:04,378 - DEBUG - VM ctest-vn2-vm1-14371842 is ready for SSH connections 2025-09-02 13:17:04,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 13:17:04,378 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.60.197.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-02 13:17:04,378 - DEBUG - ping -s 56 -c 3 -W 1 120.60.197.195 2025-09-02 13:17:09,429 - DEBUG - PING 120.60.197.195 (120.60.197.195): 56 data bytes --- 120.60.197.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-02 13:17:09,429 - WARNING - Ping to IP 120.60.197.195 from VM ctest-vn1-vm1-20296809 failed 2025-09-02 13:17:09,429 - INFO - Adding interface with subnet_id 68b5eb7b-4973-4ee5-907f-75db2045f644, port_id None to router 3a231770-119a-4c2b-8b62-28ef7c040eb5 2025-09-02 13:17:09,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 13:17:09,696 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.60.197.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-02 13:17:09,696 - DEBUG - ping -s 56 -c 3 -W 1 120.60.197.195 2025-09-02 13:17:12,943 - DEBUG - PING 120.60.197.195 (120.60.197.195): 56 data bytes 64 bytes from 120.60.197.195: seq=1 ttl=63 time=2.895 ms 64 bytes from 120.60.197.195: seq=2 ttl=63 time=0.821 ms --- 120.60.197.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.821/1.858/2.895 ms 2025-09-02 13:17:12,943 - WARNING - Ping to IP 120.60.197.195 from VM ctest-vn1-vm1-20296809 failed 2025-09-02 13:17:13,944 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.60.197.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-02 13:17:13,944 - DEBUG - ping -s 56 -c 3 -W 1 120.60.197.195 2025-09-02 13:17:16,206 - DEBUG - PING 120.60.197.195 (120.60.197.195): 56 data bytes 64 bytes from 120.60.197.195: seq=0 ttl=63 time=1.632 ms 64 bytes from 120.60.197.195: seq=1 ttl=63 time=0.892 ms 64 bytes from 120.60.197.195: seq=2 ttl=63 time=0.824 ms --- 120.60.197.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.824/1.116/1.632 ms 2025-09-02 13:17:16,207 - INFO - Ping to IP 120.60.197.195 from VM ctest-vn1-vm1-20296809 passed 2025-09-02 13:17:16,207 - INFO - Deleting interface with subnet_id 666185ad-7277-4e57-a66e-1464992e6134, port_id None from router 3a231770-119a-4c2b-8b62-28ef7c040eb5 2025-09-02 13:17:16,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 13:17:16,322 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.60.197.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-02 13:17:16,322 - DEBUG - ping -s 56 -c 3 -W 1 120.60.197.195 2025-09-02 13:17:19,559 - DEBUG - PING 120.60.197.195 (120.60.197.195): 56 data bytes --- 120.60.197.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-02 13:17:19,559 - WARNING - Ping to IP 120.60.197.195 from VM ctest-vn1-vm1-20296809 failed 2025-09-02 13:17:19,559 - INFO - Adding interface with subnet_id 666185ad-7277-4e57-a66e-1464992e6134, port_id None to router 3a231770-119a-4c2b-8b62-28ef7c040eb5 2025-09-02 13:17:19,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-02 13:17:19,795 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.60.197.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-02 13:17:19,795 - DEBUG - ping -s 56 -c 3 -W 1 120.60.197.195 2025-09-02 13:17:22,019 - DEBUG - PING 120.60.197.195 (120.60.197.195): 56 data bytes 64 bytes from 120.60.197.195: seq=0 ttl=63 time=1.666 ms 64 bytes from 120.60.197.195: seq=1 ttl=63 time=0.833 ms 64 bytes from 120.60.197.195: seq=2 ttl=63 time=0.917 ms --- 120.60.197.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.833/1.138/1.666 ms 2025-09-02 13:17:22,019 - INFO - Ping to IP 120.60.197.195 from VM ctest-vn1-vm1-20296809 passed 2025-09-02 13:17:22,019 - INFO - Deleting interface with subnet_id 68b5eb7b-4973-4ee5-907f-75db2045f644, port_id None from router 3a231770-119a-4c2b-8b62-28ef7c040eb5 2025-09-02 13:17:22,139 - INFO - Deleting interface with subnet_id 666185ad-7277-4e57-a66e-1464992e6134, port_id None from router 3a231770-119a-4c2b-8b62-28ef7c040eb5 2025-09-02 13:17:22,331 - INFO - Deleting VM ctest-vn2-vm1-14371842 2025-09-02 13:17:22,400 - INFO - Deleting VM ctest-vn1-vm1-20296809 2025-09-02 13:17:22,480 - INFO - Deleting VN ctest-vn2-15596125 2025-09-02 13:17:22,520 - DEBUG - VN 334c7f07-abe0-4f7b-aaa6-7bd403e15055 still in use: Unable to complete operation on network 334c7f07-abe0-4f7b-aaa6-7bd403e15055. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6283be2c-56bd-4d19-90e9-7e39a0251863'] 2025-09-02 13:17:22,520 - WARNING - Deleting VN ctest-vn2-15596125 failed..Will retry 2025-09-02 13:17:24,618 - DEBUG - Response for deleting network () 2025-09-02 13:17:24,619 - INFO - Deleting VN ctest-vn1-18511916 2025-09-02 13:17:24,713 - DEBUG - Response for deleting network () 2025-09-02 13:17:24,968 - DEBUG - No XMPP flaps were noticed during the test
2025-09-02 13:17:24,968 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43]
2025-09-02 13:17:24,968 - INFO - -------------------------------------------------------------------------------- 2025-09-02 13:17:25,677 - INFO - Deleted project: ctest-TestRouters-63980618, ID : 441ab3e0-656d-44cd-8f0d-682aae243ed8