2025-09-24 08:02:09,703 - INFO - Domain Default found not creating 2025-09-24 08:02:09,844 - INFO - Project ctest-TestRouters-47769212 not found, creating it 2025-09-24 08:02:10,288 - INFO - Created Project:ctest-TestRouters-47769212, ID : 479ea3c8-0298-4922-9852-d0a0c99a232e 2025-09-24 08:02:11,698 - INFO - ================================================================================ 2025-09-24 08:02:11,698 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-24 08:02:11,698 - 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-24 08:02:11,955 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-24 08:02:11,955 - INFO - Initial checks done. Running the testcase now 2025-09-24 08:02:11,955 - INFO - 2025-09-24 08:02:12,555 - DEBUG - Response for create_network : {'network': {'id': '5d2825cf-1a47-46bc-a14a-5f3761c900a8', 'name': 'ctest-vn1-40908186', 'tenant_id': '479ea3c8029849229852d0a0c99a232e', 'project_id': '479ea3c8029849229852d0a0c99a232e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-47769212', 'ctest-vn1-40908186'], 'port_security_enabled': True, 'description': ''}} 2025-09-24 08:02:12,744 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0db786c-f477-4285-908d-d9b233a9d38a', 'name': '', 'tenant_id': '479ea3c8029849229852d0a0c99a232e', 'network_id': '5d2825cf-1a47-46bc-a14a-5f3761c900a8', 'ip_version': 4, 'cidr': '56.117.198.64/26', 'allocation_pools': [{'start': '56.117.198.66', 'end': '56.117.198.126'}], 'gateway_ip': '56.117.198.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.117.198.66', 'tags': [], 'project_id': '479ea3c8029849229852d0a0c99a232e'}} 2025-09-24 08:02:12,764 - INFO - Created VN ctest-vn1-40908186 2025-09-24 08:02:12,814 - DEBUG - VN ctest-vn1-40908186 UUID is 5d2825cf-1a47-46bc-a14a-5f3761c900a8 2025-09-24 08:02:13,123 - DEBUG - Response for create_network : {'network': {'id': '5010cea7-df4e-4286-9c2a-c7a839f9590a', 'name': 'ctest-vn2-53883911', 'tenant_id': '479ea3c8029849229852d0a0c99a232e', 'project_id': '479ea3c8029849229852d0a0c99a232e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-47769212', 'ctest-vn2-53883911'], 'port_security_enabled': True, 'description': ''}} 2025-09-24 08:02:13,312 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e91abd48-3684-4ccd-bd03-299be72679b9', 'name': '', 'tenant_id': '479ea3c8029849229852d0a0c99a232e', 'network_id': '5010cea7-df4e-4286-9c2a-c7a839f9590a', 'ip_version': 4, 'cidr': '169.65.99.128/26', 'allocation_pools': [{'start': '169.65.99.130', 'end': '169.65.99.190'}], 'gateway_ip': '169.65.99.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.65.99.130', 'tags': [], 'project_id': '479ea3c8029849229852d0a0c99a232e'}} 2025-09-24 08:02:13,328 - INFO - Created VN ctest-vn2-53883911 2025-09-24 08:02:13,382 - DEBUG - VN ctest-vn2-53883911 UUID is 5010cea7-df4e-4286-9c2a-c7a839f9590a 2025-09-24 08:02:13,592 - DEBUG - Services list from nova: [, , ] 2025-09-24 08:02:14,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4181-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4181-1) 2025-09-24 08:02:15,719 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4181-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4181-1) 2025-09-24 08:02:15,788 - INFO - Adding interface with subnet_id f0db786c-f477-4285-908d-d9b233a9d38a, port_id None to router e0f43eed-54de-40be-a63a-026ece095ae3 2025-09-24 08:02:16,064 - INFO - Waiting for VM ctest-vn1-vm1-67088633 to be up.. 2025-09-24 08:02:16,176 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-24 08:02:21,246 - DEBUG - VM is in ACTIVE state now 2025-09-24 08:02:21,246 - INFO - VM name : ctest-vn1-vm1-67088633 2025-09-24 08:02:21,330 - DEBUG - VM ctest-vn1-vm1-67088633 ID is 624ebc0a-8dc1-4562-9e23-5b95a0d58ee8 2025-09-24 08:02:21,354 - DEBUG - VM ctest-vn1-vm1-67088633 launched on Node cn-jenkins-deploy-platform-ansible-os-4181-1 2025-09-24 08:02:21,422 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/624ebc0a-8dc1-4562-9e23-5b95a0d58ee8 2025-09-24 08:02:21,716 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/624ebc0a-8dc1-4562-9e23-5b95a0d58ee8 2025-09-24 08:02:21,746 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/ce377dc4-6dd1-4802-8cf4-a36eb530f22f 2025-09-24 08:02:25,008 - 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 1028ms') 2025-09-24 08:02:25,008 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67088633 failed! 2025-09-24 08:02:25,066 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-47769212:ctest-vn1-40908186 is 56.117.198.65 and allocation pool is NOT set 2025-09-24 08:02:27,130 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.486 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.486/1.566/2.646/1.080 ms') 2025-09-24 08:02:27,131 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67088633 passed 2025-09-24 08:02:27,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 08:02:27,278 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67088633, IP 56.117.198.67, Port 22 2025-09-24 08:02:27,445 - DEBUG - VM ctest-vn1-vm1-67088633 is ready for SSH connections 2025-09-24 08:02:27,446 - INFO - Waiting for VM ctest-vn2-vm1-75486758 to be up.. 2025-09-24 08:02:27,520 - DEBUG - VM is in ACTIVE state now 2025-09-24 08:02:27,520 - INFO - VM name : ctest-vn2-vm1-75486758 2025-09-24 08:02:27,586 - DEBUG - VM ctest-vn2-vm1-75486758 ID is d6290283-6a40-4504-a443-2b138ec4e0c8 2025-09-24 08:02:27,586 - DEBUG - VM ctest-vn2-vm1-75486758 launched on Node cn-jenkins-deploy-platform-ansible-os-4181-1 2025-09-24 08:02:27,651 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/d6290283-6a40-4504-a443-2b138ec4e0c8 2025-09-24 08:02:27,658 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/37d49aea-61b9-4f23-a145-4ccafed20f56 2025-09-24 08:02:28,893 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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.430/2.087/3.744/1.657 ms') 2025-09-24 08:02:28,893 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-75486758 passed 2025-09-24 08:02:29,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 08:02:29,038 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-75486758, IP 169.65.99.131, Port 22 2025-09-24 08:02:29,104 - 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-24 08:02:29,174 - DEBUG - VM ctest-vn2-vm1-75486758 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-24 08:02:34,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 08:02:34,175 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-75486758, IP 169.65.99.131, Port 22 2025-09-24 08:02:34,326 - DEBUG - VM ctest-vn2-vm1-75486758 is ready for SSH connections 2025-09-24 08:02:34,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 08:02:34,326 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.65.99.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 08:02:34,326 - DEBUG - ping -s 56 -c 3 -W 1 169.65.99.131 2025-09-24 08:02:39,333 - DEBUG - PING 169.65.99.131 (169.65.99.131): 56 data bytes --- 169.65.99.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-24 08:02:39,333 - WARNING - Ping to IP 169.65.99.131 from VM ctest-vn1-vm1-67088633 failed 2025-09-24 08:02:39,333 - INFO - Adding interface with subnet_id e91abd48-3684-4ccd-bd03-299be72679b9, port_id None to router e0f43eed-54de-40be-a63a-026ece095ae3 2025-09-24 08:02:39,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 08:02:39,559 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.65.99.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 08:02:39,560 - DEBUG - ping -s 56 -c 3 -W 1 169.65.99.131 2025-09-24 08:02:41,766 - DEBUG - PING 169.65.99.131 (169.65.99.131): 56 data bytes 64 bytes from 169.65.99.131: seq=0 ttl=63 time=3.344 ms 64 bytes from 169.65.99.131: seq=1 ttl=63 time=0.752 ms 64 bytes from 169.65.99.131: seq=2 ttl=63 time=0.762 ms --- 169.65.99.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.752/1.619/3.344 ms 2025-09-24 08:02:41,766 - INFO - Ping to IP 169.65.99.131 from VM ctest-vn1-vm1-67088633 passed 2025-09-24 08:02:41,766 - INFO - Deleting interface with subnet_id f0db786c-f477-4285-908d-d9b233a9d38a, port_id None from router e0f43eed-54de-40be-a63a-026ece095ae3 2025-09-24 08:02:41,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 08:02:41,854 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.65.99.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 08:02:41,854 - DEBUG - ping -s 56 -c 3 -W 1 169.65.99.131 2025-09-24 08:02:45,055 - DEBUG - PING 169.65.99.131 (169.65.99.131): 56 data bytes --- 169.65.99.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-24 08:02:45,055 - WARNING - Ping to IP 169.65.99.131 from VM ctest-vn1-vm1-67088633 failed 2025-09-24 08:02:45,055 - INFO - Adding interface with subnet_id f0db786c-f477-4285-908d-d9b233a9d38a, port_id None to router e0f43eed-54de-40be-a63a-026ece095ae3 2025-09-24 08:02:45,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-24 08:02:45,245 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.65.99.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-24 08:02:45,245 - DEBUG - ping -s 56 -c 3 -W 1 169.65.99.131 2025-09-24 08:02:47,453 - DEBUG - PING 169.65.99.131 (169.65.99.131): 56 data bytes 64 bytes from 169.65.99.131: seq=0 ttl=63 time=1.357 ms 64 bytes from 169.65.99.131: seq=1 ttl=63 time=0.833 ms 64 bytes from 169.65.99.131: seq=2 ttl=63 time=0.796 ms --- 169.65.99.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/0.995/1.357 ms 2025-09-24 08:02:47,453 - INFO - Ping to IP 169.65.99.131 from VM ctest-vn1-vm1-67088633 passed 2025-09-24 08:02:47,453 - INFO - Deleting interface with subnet_id e91abd48-3684-4ccd-bd03-299be72679b9, port_id None from router e0f43eed-54de-40be-a63a-026ece095ae3 2025-09-24 08:02:47,545 - INFO - Deleting interface with subnet_id f0db786c-f477-4285-908d-d9b233a9d38a, port_id None from router e0f43eed-54de-40be-a63a-026ece095ae3 2025-09-24 08:02:47,689 - INFO - Deleting VM ctest-vn2-vm1-75486758 2025-09-24 08:02:47,752 - INFO - Deleting VM ctest-vn1-vm1-67088633 2025-09-24 08:02:47,814 - INFO - Deleting VN ctest-vn2-53883911 2025-09-24 08:02:47,845 - DEBUG - VN 5010cea7-df4e-4286-9c2a-c7a839f9590a still in use: Unable to complete operation on network 5010cea7-df4e-4286-9c2a-c7a839f9590a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1f3bbce5-b94f-4004-a9cb-f8090cc782ac'] 2025-09-24 08:02:47,845 - WARNING - Deleting VN ctest-vn2-53883911 failed..Will retry 2025-09-24 08:02:49,933 - DEBUG - Response for deleting network () 2025-09-24 08:02:49,933 - INFO - Deleting VN ctest-vn1-40908186 2025-09-24 08:02:50,027 - DEBUG - Response for deleting network () 2025-09-24 08:02:50,282 - DEBUG - No XMPP flaps were noticed during the test 2025-09-24 08:02:50,282 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-09-24 08:02:50,282 - INFO - -------------------------------------------------------------------------------- 2025-09-24 08:02:50,915 - INFO - Deleted project: ctest-TestRouters-47769212, ID : 479ea3c8-0298-4922-9852-d0a0c99a232e