2024-09-06 17:55:24,365 - INFO - Domain Default found not creating 2024-09-06 17:55:24,531 - INFO - Project ctest-TestBasicVMVNx-55125187 not found, creating it 2024-09-06 17:55:25,027 - INFO - Created Project:ctest-TestBasicVMVNx-55125187, ID : 06de1381-0f3b-46f9-bdce-670e01875336 2024-09-06 17:55:26,487 - INFO - ================================================================================ 2024-09-06 17:55:26,487 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-06 17:55:26,487 - 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-09-06 17:55:26,740 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.33': '0'}} with 2024-09-06 17:55:26,740 - INFO - Initial checks done. Running the testcase now 2024-09-06 17:55:26,740 - INFO - 2024-09-06 17:55:27,287 - DEBUG - Response for create_network : {'network': {'id': '639e0ac5-3d19-4f7d-812f-31154c81a7cf', 'name': 'ctest-vn-95057827', 'tenant_id': '06de13810f3b46f9bdce670e01875336', 'project_id': '06de13810f3b46f9bdce670e01875336', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-55125187', 'ctest-vn-95057827'], 'port_security_enabled': True, 'description': ''}} 2024-09-06 17:55:27,493 - DEBUG - Response for create_subnet : {'subnet': {'id': '84fa7906-2bb4-41f0-99ab-edecd78c1e03', 'name': '', 'tenant_id': '06de13810f3b46f9bdce670e01875336', 'network_id': '639e0ac5-3d19-4f7d-812f-31154c81a7cf', 'ip_version': 4, 'cidr': '20.206.19.192/26', 'allocation_pools': [{'start': '20.206.19.194', 'end': '20.206.19.254'}], 'gateway_ip': '20.206.19.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.206.19.194', 'tags': [], 'project_id': '06de13810f3b46f9bdce670e01875336'}} 2024-09-06 17:55:27,512 - INFO - Created VN ctest-vn-95057827 2024-09-06 17:55:27,566 - DEBUG - VN ctest-vn-95057827 UUID is 639e0ac5-3d19-4f7d-812f-31154c81a7cf 2024-09-06 17:55:27,747 - DEBUG - Services list from nova: [, , ] 2024-09-06 17:55:30,532 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1867-1) 2024-09-06 17:55:31,657 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1867-1) 2024-09-06 17:55:31,657 - INFO - Waiting for VM ctest-TestBasicVMVNx-55125187-29307560 to be up.. 2024-09-06 17:55:31,743 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-06 17:55:36,825 - DEBUG - VM is in ACTIVE state now 2024-09-06 17:55:36,825 - INFO - VM name : ctest-TestBasicVMVNx-55125187-29307560 2024-09-06 17:55:36,906 - DEBUG - VM ctest-TestBasicVMVNx-55125187-29307560 ID is dcc9460f-ec49-47ac-ac0f-6722a5aeb8c9 2024-09-06 17:55:36,923 - DEBUG - VM ctest-TestBasicVMVNx-55125187-29307560 launched on Node cn-jenkins-deploy-platform-ansible-os-1867-1 2024-09-06 17:55:37,009 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/dcc9460f-ec49-47ac-ac0f-6722a5aeb8c9 2024-09-06 17:55:37,303 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/dcc9460f-ec49-47ac-ac0f-6722a5aeb8c9 2024-09-06 17:55:37,337 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/d4e98ff9-8f27-4551-88a5-bcc65f7c15d7 2024-09-06 17:55:40,580 - 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 1011ms') 2024-09-06 17:55:40,581 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55125187-29307560 failed! 2024-09-06 17:55:40,638 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-55125187:ctest-vn-95057827 is 20.206.19.193 and allocation pool is NOT set 2024-09-06 17:55:44,714 - 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 1016ms') 2024-09-06 17:55:44,715 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55125187-29307560 failed! 2024-09-06 17:55:44,766 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-55125187:ctest-vn-95057827 is 20.206.19.193 and allocation pool is NOT set 2024-09-06 17:55:46,826 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.408 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 = 0.408/1.634/2.861/1.226 ms') 2024-09-06 17:55:46,826 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55125187-29307560 passed 2024-09-06 17:55:46,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 17:55:46,979 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55125187-29307560, IP 20.206.19.195, Port 22 2024-09-06 17:55:47,134 - DEBUG - VM ctest-TestBasicVMVNx-55125187-29307560 is ready for SSH connections 2024-09-06 17:55:47,135 - INFO - Waiting for VM ctest-TestBasicVMVNx-55125187-72218644 to be up.. 2024-09-06 17:55:47,223 - DEBUG - VM is in ACTIVE state now 2024-09-06 17:55:47,223 - INFO - VM name : ctest-TestBasicVMVNx-55125187-72218644 2024-09-06 17:55:47,317 - DEBUG - VM ctest-TestBasicVMVNx-55125187-72218644 ID is 2fb633af-22e7-40fb-8203-258d98d6757c 2024-09-06 17:55:47,317 - DEBUG - VM ctest-TestBasicVMVNx-55125187-72218644 launched on Node cn-jenkins-deploy-platform-ansible-os-1867-1 2024-09-06 17:55:47,413 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/2fb633af-22e7-40fb-8203-258d98d6757c 2024-09-06 17:55:47,424 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/9e85d313-041b-4863-84d5-f1123a4ba549 2024-09-06 17:55:48,660 - 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=5.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.96 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 = 1.960/3.867/5.774/1.907 ms') 2024-09-06 17:55:48,660 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-55125187-72218644 passed 2024-09-06 17:55:48,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 17:55:48,819 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55125187-72218644, IP 20.206.19.196, Port 22 2024-09-06 17:55:48,978 - DEBUG - VM ctest-TestBasicVMVNx-55125187-72218644 is ready for SSH connections 2024-09-06 17:55:48,978 - DEBUG - FILE SIZE = 1303B 2024-09-06 17:55:48,978 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-55125187-29307560 to ctest-TestBasicVMVNx-55125187-72218644 using scp 2024-09-06 17:55:48,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 17:55:48,986 - 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.35, gateway password: c0ntrail123 2024-09-06 17:55:48,986 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-06 17:55:50,903 - DEBUG - 1+0 records in 1+0 records out 2024-09-06 17:55:51,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 17:55:51,814 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2024-09-06 17:55:51,814 - DEBUG - ls -l testfile 2024-09-06 17:55:53,386 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 6 11:55 testfile 2024-09-06 17:55:53,386 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-55125187-72218644 2024-09-06 17:55:53,386 - INFO - Deleting VM ctest-TestBasicVMVNx-55125187-72218644 2024-09-06 17:55:54,882 - INFO - Deleting VM ctest-TestBasicVMVNx-55125187-29307560 2024-09-06 17:55:54,959 - INFO - Deleting VN ctest-vn-95057827 2024-09-06 17:55:55,016 - DEBUG - VN 639e0ac5-3d19-4f7d-812f-31154c81a7cf still in use: Unable to complete operation on network 639e0ac5-3d19-4f7d-812f-31154c81a7cf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0aa024ff-90b0-4dc6-bd0a-a22f668f9f4f'] 2024-09-06 17:55:55,016 - WARNING - Deleting VN ctest-vn-95057827 failed..Will retry 2024-09-06 17:55:57,397 - DEBUG - Response for deleting network () 2024-09-06 17:55:57,653 - DEBUG - No XMPP flaps were noticed during the test
2024-09-06 17:55:57,653 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31]
2024-09-06 17:55:57,653 - INFO - -------------------------------------------------------------------------------- 2024-09-06 17:55:58,347 - INFO - Deleted project: ctest-TestBasicVMVNx-55125187, ID : 06de1381-0f3b-46f9-bdce-670e01875336