2024-10-29 22:24:21,457 - INFO - Domain Default found not creating 2024-10-29 22:24:21,670 - INFO - Project ctest-TestBasicVMVNx-13725455 not found, creating it 2024-10-29 22:24:22,205 - INFO - Created Project:ctest-TestBasicVMVNx-13725455, ID : b00d75d8-b994-447a-88c4-196c24b8a53d 2024-10-29 22:24:24,013 - INFO - ================================================================================ 2024-10-29 22:24:24,013 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-29 22:24:24,013 - INFO - TEST DESCRIPTION : Description: Test to validate File Transfer using scp between VMs. Files of different sizes. Test steps: 1. Creating vm's - vm1 and vm2 and a Vn - vn222 2. Transfer file from vm1 to vm2 with diferrent file sizes using scp 3. file sizes - 64,1202,2210,10000 4. verify files present in vm2 match with the size of the file sent. Pass criteria: File in vm2 should match with the transferred file size from vm1 Maintainer : ganeshahv@juniper.net 2024-10-29 22:24:24,278 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.14': '0'}} with 2024-10-29 22:24:24,278 - INFO - Initial checks done. Running the testcase now 2024-10-29 22:24:24,278 - INFO - 2024-10-29 22:24:24,937 - DEBUG - Response for create_network : {'network': {'id': '1f980d08-a531-49a2-8dff-082ff4608504', 'name': 'ctest-vn-02608122', 'tenant_id': 'b00d75d8b994447a88c4196c24b8a53d', 'project_id': 'b00d75d8b994447a88c4196c24b8a53d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-13725455', 'ctest-vn-02608122'], 'port_security_enabled': True, 'description': ''}} 2024-10-29 22:24:25,127 - DEBUG - Response for create_subnet : {'subnet': {'id': '07f4618e-ef25-447b-95d7-8a1709ad3445', 'name': '', 'tenant_id': 'b00d75d8b994447a88c4196c24b8a53d', 'network_id': '1f980d08-a531-49a2-8dff-082ff4608504', 'ip_version': 4, 'cidr': '137.218.190.0/26', 'allocation_pools': [{'start': '137.218.190.2', 'end': '137.218.190.62'}], 'gateway_ip': '137.218.190.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.218.190.2', 'tags': [], 'project_id': 'b00d75d8b994447a88c4196c24b8a53d'}} 2024-10-29 22:24:25,155 - INFO - Created VN ctest-vn-02608122 2024-10-29 22:24:25,214 - DEBUG - VN ctest-vn-02608122 UUID is 1f980d08-a531-49a2-8dff-082ff4608504 2024-10-29 22:24:25,417 - DEBUG - Services list from nova: [, , ] 2024-10-29 22:24:26,650 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2178-1) 2024-10-29 22:24:28,060 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2178-1) 2024-10-29 22:24:28,060 - INFO - Waiting for VM ctest-TestBasicVMVNx-13725455-54167537 to be up.. 2024-10-29 22:24:28,204 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-29 22:24:33,299 - DEBUG - VM is in ACTIVE state now 2024-10-29 22:24:33,300 - INFO - VM name : ctest-TestBasicVMVNx-13725455-54167537 2024-10-29 22:24:33,402 - DEBUG - VM ctest-TestBasicVMVNx-13725455-54167537 ID is 4e6ab7f2-1047-4db8-839e-c69a1b25dc62 2024-10-29 22:24:33,425 - DEBUG - VM ctest-TestBasicVMVNx-13725455-54167537 launched on Node cn-jenkins-deploy-platform-ansible-os-2178-1 2024-10-29 22:24:33,527 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/4e6ab7f2-1047-4db8-839e-c69a1b25dc62 2024-10-29 22:24:33,873 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/4e6ab7f2-1047-4db8-839e-c69a1b25dc62 2024-10-29 22:24:33,918 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/a9791414-323c-4273-b93a-9479b490e477 2024-10-29 22:24:37,208 - 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 1008ms') 2024-10-29 22:24:37,208 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13725455-54167537 failed! 2024-10-29 22:24:37,274 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-13725455:ctest-vn-02608122 is 137.218.190.1 and allocation pool is NOT set 2024-10-29 22:24:39,344 - 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=19.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.00 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.002/11.232/19.463/8.230 ms') 2024-10-29 22:24:39,344 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13725455-54167537 passed 2024-10-29 22:24:39,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-29 22:24:39,510 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13725455-54167537, IP 137.218.190.3, Port 22 2024-10-29 22:24:39,577 - 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': ''} 2024-10-29 22:24:39,715 - DEBUG - VM ctest-TestBasicVMVNx-13725455-54167537 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-29 22:24:44,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-29 22:24:44,716 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13725455-54167537, IP 137.218.190.3, Port 22 2024-10-29 22:24:44,874 - DEBUG - VM ctest-TestBasicVMVNx-13725455-54167537 is ready for SSH connections 2024-10-29 22:24:44,874 - INFO - Waiting for VM ctest-TestBasicVMVNx-13725455-02737788 to be up.. 2024-10-29 22:24:44,970 - DEBUG - VM is in ACTIVE state now 2024-10-29 22:24:44,970 - INFO - VM name : ctest-TestBasicVMVNx-13725455-02737788 2024-10-29 22:24:45,058 - DEBUG - VM ctest-TestBasicVMVNx-13725455-02737788 ID is f8a05973-8ccc-43ec-8b76-fabd8996a01e 2024-10-29 22:24:45,059 - DEBUG - VM ctest-TestBasicVMVNx-13725455-02737788 launched on Node cn-jenkins-deploy-platform-ansible-os-2178-1 2024-10-29 22:24:45,153 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/f8a05973-8ccc-43ec-8b76-fabd8996a01e 2024-10-29 22:24:45,165 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/07c77048-03f5-4fab-a4be-6c5bbf9e6d44 2024-10-29 22:24:46,433 - 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.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 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.462/2.423/4.385/1.961 ms') 2024-10-29 22:24:46,433 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-13725455-02737788 passed 2024-10-29 22:24:46,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-29 22:24:46,598 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13725455-02737788, IP 137.218.190.4, Port 22 2024-10-29 22:24:46,764 - DEBUG - VM ctest-TestBasicVMVNx-13725455-02737788 is ready for SSH connections 2024-10-29 22:24:46,765 - DEBUG - FILE SIZE = 1303B 2024-10-29 22:24:46,765 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-13725455-54167537 to ctest-TestBasicVMVNx-13725455-02737788 using scp 2024-10-29 22:24:46,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-29 22:24:46,771 - DEBUG - Running remote_cmd, Cmd : dd bs=1303 count=1 if=/dev/zero of=testfile, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-10-29 22:24:46,771 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-29 22:24:48,858 - DEBUG - 1+0 records in 1+0 records out 2024-10-29 22:24:49,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-29 22:24:50,150 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-10-29 22:24:50,151 - DEBUG - ls -l testfile 2024-10-29 22:24:51,811 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 29 16:24 testfile 2024-10-29 22:24:51,811 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-13725455-02737788 2024-10-29 22:24:51,811 - INFO - Deleting VM ctest-TestBasicVMVNx-13725455-02737788 2024-10-29 22:24:51,902 - INFO - Deleting VM ctest-TestBasicVMVNx-13725455-54167537 2024-10-29 22:24:51,989 - INFO - Deleting VN ctest-vn-02608122 2024-10-29 22:24:52,037 - DEBUG - VN 1f980d08-a531-49a2-8dff-082ff4608504 still in use: Unable to complete operation on network 1f980d08-a531-49a2-8dff-082ff4608504. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-81faa89f-7748-408f-8876-08e22485b261'] 2024-10-29 22:24:52,037 - WARNING - Deleting VN ctest-vn-02608122 failed..Will retry 2024-10-29 22:24:54,194 - DEBUG - Response for deleting network () 2024-10-29 22:24:54,472 - DEBUG - No XMPP flaps were noticed during the test
2024-10-29 22:24:54,472 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2024-10-29 22:24:54,473 - INFO - -------------------------------------------------------------------------------- 2024-10-29 22:24:55,339 - INFO - Deleted project: ctest-TestBasicVMVNx-13725455, ID : b00d75d8-b994-447a-88c4-196c24b8a53d