2024-10-28 17:35:07,367 - INFO - Domain Default found not creating 2024-10-28 17:35:07,548 - INFO - Project ctest-TestBasicVMVNx-80352616 not found, creating it 2024-10-28 17:35:08,084 - INFO - Created Project:ctest-TestBasicVMVNx-80352616, ID : 80846213-5733-471e-8484-32e0ee07c1b1 2024-10-28 17:35:09,684 - INFO - ================================================================================ 2024-10-28 17:35:09,684 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-28 17:35:09,684 - 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-28 17:35:09,956 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.22': '0'}} with 2024-10-28 17:35:09,956 - INFO - Initial checks done. Running the testcase now 2024-10-28 17:35:09,956 - INFO - 2024-10-28 17:35:10,588 - DEBUG - Response for create_network : {'network': {'id': '37e976ad-7984-4577-b0a5-2d541f621d3e', 'name': 'ctest-vn-62337347', 'tenant_id': '808462135733471e848432e0ee07c1b1', 'project_id': '808462135733471e848432e0ee07c1b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-80352616', 'ctest-vn-62337347'], 'port_security_enabled': True, 'description': ''}} 2024-10-28 17:35:10,805 - DEBUG - Response for create_subnet : {'subnet': {'id': '5904bc26-4d6e-4506-9326-85a350bc560a', 'name': '', 'tenant_id': '808462135733471e848432e0ee07c1b1', 'network_id': '37e976ad-7984-4577-b0a5-2d541f621d3e', 'ip_version': 4, 'cidr': '167.89.177.128/26', 'allocation_pools': [{'start': '167.89.177.130', 'end': '167.89.177.190'}], 'gateway_ip': '167.89.177.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.89.177.130', 'tags': [], 'project_id': '808462135733471e848432e0ee07c1b1'}} 2024-10-28 17:35:10,828 - INFO - Created VN ctest-vn-62337347 2024-10-28 17:35:10,886 - DEBUG - VN ctest-vn-62337347 UUID is 37e976ad-7984-4577-b0a5-2d541f621d3e 2024-10-28 17:35:11,090 - DEBUG - Services list from nova: [, , ] 2024-10-28 17:35:12,238 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2172-1) 2024-10-28 17:35:13,526 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2172-1) 2024-10-28 17:35:13,526 - INFO - Waiting for VM ctest-TestBasicVMVNx-80352616-18618147 to be up.. 2024-10-28 17:35:13,623 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-28 17:35:18,723 - DEBUG - VM is in ACTIVE state now 2024-10-28 17:35:18,724 - INFO - VM name : ctest-TestBasicVMVNx-80352616-18618147 2024-10-28 17:35:18,825 - DEBUG - VM ctest-TestBasicVMVNx-80352616-18618147 ID is 6e4b2aa3-4eb1-40d4-92da-30a821a29ca3 2024-10-28 17:35:18,851 - DEBUG - VM ctest-TestBasicVMVNx-80352616-18618147 launched on Node cn-jenkins-deploy-platform-ansible-os-2172-1 2024-10-28 17:35:18,968 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/6e4b2aa3-4eb1-40d4-92da-30a821a29ca3 2024-10-28 17:35:19,273 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/6e4b2aa3-4eb1-40d4-92da-30a821a29ca3 2024-10-28 17:35:19,313 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/d714e93b-d903-4ea9-8df8-4355cd1f1154 2024-10-28 17:35:22,578 - 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') 2024-10-28 17:35:22,578 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80352616-18618147 failed! 2024-10-28 17:35:22,638 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-80352616:ctest-vn-62337347 is 167.89.177.129 and allocation pool is NOT set 2024-10-28 17:35:24,699 - 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=7.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.468 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.468/3.798/7.128/3.330 ms') 2024-10-28 17:35:24,700 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80352616-18618147 passed 2024-10-28 17:35:24,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 17:35:24,866 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80352616-18618147, IP 167.89.177.131, Port 22 2024-10-28 17:35:25,028 - DEBUG - VM ctest-TestBasicVMVNx-80352616-18618147 is ready for SSH connections 2024-10-28 17:35:25,028 - INFO - Waiting for VM ctest-TestBasicVMVNx-80352616-49936040 to be up.. 2024-10-28 17:35:25,123 - DEBUG - VM is in ACTIVE state now 2024-10-28 17:35:25,123 - INFO - VM name : ctest-TestBasicVMVNx-80352616-49936040 2024-10-28 17:35:25,224 - DEBUG - VM ctest-TestBasicVMVNx-80352616-49936040 ID is 0b7c5415-ce37-41b9-83ef-3d77bfe6a662 2024-10-28 17:35:25,225 - DEBUG - VM ctest-TestBasicVMVNx-80352616-49936040 launched on Node cn-jenkins-deploy-platform-ansible-os-2172-1 2024-10-28 17:35:25,315 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/0b7c5415-ce37-41b9-83ef-3d77bfe6a662 2024-10-28 17:35:25,328 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/084f6897-ab4c-4612-b295-3ad2fe105bff 2024-10-28 17:35:26,593 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.991 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.991/2.488/3.986/1.497 ms') 2024-10-28 17:35:26,594 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-80352616-49936040 passed 2024-10-28 17:35:26,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 17:35:26,766 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80352616-49936040, IP 167.89.177.132, Port 22 2024-10-28 17:35:26,932 - DEBUG - VM ctest-TestBasicVMVNx-80352616-49936040 is ready for SSH connections 2024-10-28 17:35:26,932 - DEBUG - FILE SIZE = 1303B 2024-10-28 17:35:26,932 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-80352616-18618147 to ctest-TestBasicVMVNx-80352616-49936040 using scp 2024-10-28 17:35:26,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 17:35:26,940 - 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.30, gateway password: c0ntrail123 2024-10-28 17:35:26,941 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-28 17:35:28,889 - DEBUG - 1+0 records in 1+0 records out 2024-10-28 17:35:29,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 17:35:30,004 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2024-10-28 17:35:30,004 - DEBUG - ls -l testfile 2024-10-28 17:35:31,634 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 28 11:35 testfile 2024-10-28 17:35:31,635 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-80352616-49936040 2024-10-28 17:35:31,635 - INFO - Deleting VM ctest-TestBasicVMVNx-80352616-49936040 2024-10-28 17:35:31,709 - INFO - Deleting VM ctest-TestBasicVMVNx-80352616-18618147 2024-10-28 17:35:31,788 - INFO - Deleting VN ctest-vn-62337347 2024-10-28 17:35:31,836 - DEBUG - VN 37e976ad-7984-4577-b0a5-2d541f621d3e still in use: Unable to complete operation on network 37e976ad-7984-4577-b0a5-2d541f621d3e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8e53384e-6be7-4089-97a7-0f5cf51053b9'] 2024-10-28 17:35:31,836 - WARNING - Deleting VN ctest-vn-62337347 failed..Will retry 2024-10-28 17:35:34,003 - DEBUG - Response for deleting network () 2024-10-28 17:35:34,256 - DEBUG - No XMPP flaps were noticed during the test 2024-10-28 17:35:34,256 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-10-28 17:35:34,256 - INFO - -------------------------------------------------------------------------------- 2024-10-28 17:35:35,027 - INFO - Deleted project: ctest-TestBasicVMVNx-80352616, ID : 80846213-5733-471e-8484-32e0ee07c1b1