2024-08-23 19:20:45,877 - INFO - Domain Default found not creating 2024-08-23 19:20:46,098 - INFO - Project ctest-TestBasicVMVNx-30676588 not found, creating it 2024-08-23 19:20:46,605 - INFO - Created Project:ctest-TestBasicVMVNx-30676588, ID : 3c62cc45-8c06-4ba6-a34c-1aa2a4ab76ba 2024-08-23 19:20:48,412 - INFO - ================================================================================ 2024-08-23 19:20:48,412 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-23 19:20:48,412 - 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-08-23 19:20:48,686 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.10': '0'}} with 2024-08-23 19:20:48,686 - INFO - Initial checks done. Running the testcase now 2024-08-23 19:20:48,687 - INFO - 2024-08-23 19:20:49,342 - DEBUG - Response for create_network : {'network': {'id': 'aa8e699f-1101-45b4-ad7d-eb0c47be7896', 'name': 'ctest-vn-82997768', 'tenant_id': '3c62cc458c064ba6a34c1aa2a4ab76ba', 'project_id': '3c62cc458c064ba6a34c1aa2a4ab76ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-30676588', 'ctest-vn-82997768'], 'port_security_enabled': True, 'description': ''}} 2024-08-23 19:20:49,584 - DEBUG - Response for create_subnet : {'subnet': {'id': '20a11ed2-cd85-4d3f-b3a4-24098c96684c', 'name': '', 'tenant_id': '3c62cc458c064ba6a34c1aa2a4ab76ba', 'network_id': 'aa8e699f-1101-45b4-ad7d-eb0c47be7896', 'ip_version': 4, 'cidr': '119.16.147.192/26', 'allocation_pools': [{'start': '119.16.147.194', 'end': '119.16.147.254'}], 'gateway_ip': '119.16.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.16.147.194', 'tags': [], 'project_id': '3c62cc458c064ba6a34c1aa2a4ab76ba'}} 2024-08-23 19:20:49,607 - INFO - Created VN ctest-vn-82997768 2024-08-23 19:20:49,660 - DEBUG - VN ctest-vn-82997768 UUID is aa8e699f-1101-45b4-ad7d-eb0c47be7896 2024-08-23 19:20:49,843 - DEBUG - Services list from nova: [, , ] 2024-08-23 19:20:51,054 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1725-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1725-1) 2024-08-23 19:20:52,367 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1725-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1725-1) 2024-08-23 19:20:52,367 - INFO - Waiting for VM ctest-TestBasicVMVNx-30676588-79406245 to be up.. 2024-08-23 19:20:52,481 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-23 19:20:57,583 - DEBUG - VM is in ACTIVE state now 2024-08-23 19:20:57,584 - INFO - VM name : ctest-TestBasicVMVNx-30676588-79406245 2024-08-23 19:20:57,678 - DEBUG - VM ctest-TestBasicVMVNx-30676588-79406245 ID is 357fd77f-a541-4e4e-b505-1f8f965394bd 2024-08-23 19:20:57,700 - DEBUG - VM ctest-TestBasicVMVNx-30676588-79406245 launched on Node cn-jenkins-deploy-platform-ansible-os-1725-1 2024-08-23 19:20:57,798 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/357fd77f-a541-4e4e-b505-1f8f965394bd 2024-08-23 19:20:58,147 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/357fd77f-a541-4e4e-b505-1f8f965394bd 2024-08-23 19:20:58,191 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/b4264d44-ab60-4dea-b495-c3645fc63f78 2024-08-23 19:21:01,463 - 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 1009ms') 2024-08-23 19:21:01,463 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30676588-79406245 failed! 2024-08-23 19:21:01,516 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-30676588:ctest-vn-82997768 is 119.16.147.193 and allocation pool is NOT set 2024-08-23 19:21:03,583 - 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=5.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.678 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.678/2.839/5.000/2.161 ms') 2024-08-23 19:21:03,584 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30676588-79406245 passed 2024-08-23 19:21:03,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 19:21:03,740 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30676588-79406245, IP 119.16.147.195, Port 22 2024-08-23 19:21:03,909 - DEBUG - VM ctest-TestBasicVMVNx-30676588-79406245 is ready for SSH connections 2024-08-23 19:21:03,909 - INFO - Waiting for VM ctest-TestBasicVMVNx-30676588-28809312 to be up.. 2024-08-23 19:21:04,007 - DEBUG - VM is in ACTIVE state now 2024-08-23 19:21:04,008 - INFO - VM name : ctest-TestBasicVMVNx-30676588-28809312 2024-08-23 19:21:04,098 - DEBUG - VM ctest-TestBasicVMVNx-30676588-28809312 ID is d525b039-74de-4160-adc8-3a3f3c42f124 2024-08-23 19:21:04,098 - DEBUG - VM ctest-TestBasicVMVNx-30676588-28809312 launched on Node cn-jenkins-deploy-platform-ansible-os-1725-1 2024-08-23 19:21:04,193 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/d525b039-74de-4160-adc8-3a3f3c42f124 2024-08-23 19:21:04,204 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/a200e74c-525e-461f-8e9b-1482d74bf407 2024-08-23 19:21:05,448 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.19 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.192/2.849/4.506/1.657 ms') 2024-08-23 19:21:05,449 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-30676588-28809312 passed 2024-08-23 19:21:05,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 19:21:05,616 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30676588-28809312, IP 119.16.147.196, Port 22 2024-08-23 19:21:05,796 - DEBUG - VM ctest-TestBasicVMVNx-30676588-28809312 is ready for SSH connections 2024-08-23 19:21:05,796 - DEBUG - FILE SIZE = 1303B 2024-08-23 19:21:05,796 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-30676588-79406245 to ctest-TestBasicVMVNx-30676588-28809312 using scp 2024-08-23 19:21:05,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 19:21:05,804 - 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-08-23 19:21:05,805 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-23 19:21:07,816 - DEBUG - 1+0 records in 1+0 records out 2024-08-23 19:21:08,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 19:21:09,039 - 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-08-23 19:21:09,040 - DEBUG - ls -l testfile 2024-08-23 19:21:10,673 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 23 13:21 testfile 2024-08-23 19:21:10,673 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-30676588-28809312 2024-08-23 19:21:10,673 - INFO - Deleting VM ctest-TestBasicVMVNx-30676588-28809312 2024-08-23 19:21:10,748 - INFO - Deleting VM ctest-TestBasicVMVNx-30676588-79406245 2024-08-23 19:21:10,824 - INFO - Deleting VN ctest-vn-82997768 2024-08-23 19:21:10,867 - DEBUG - VN aa8e699f-1101-45b4-ad7d-eb0c47be7896 still in use: Unable to complete operation on network aa8e699f-1101-45b4-ad7d-eb0c47be7896. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3a987a6c-1d5c-4eba-b6a2-f3e7dfb76375'] 2024-08-23 19:21:10,867 - WARNING - Deleting VN ctest-vn-82997768 failed..Will retry 2024-08-23 19:21:12,988 - DEBUG - Response for deleting network () 2024-08-23 19:21:13,262 - DEBUG - No XMPP flaps were noticed during the test
2024-08-23 19:21:13,262 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-08-23 19:21:13,262 - INFO - -------------------------------------------------------------------------------- 2024-08-23 19:21:14,017 - INFO - Deleted project: ctest-TestBasicVMVNx-30676588, ID : 3c62cc45-8c06-4ba6-a34c-1aa2a4ab76ba