2024-09-04 14:26:17,227 - INFO - Domain Default found not creating 2024-09-04 14:26:17,389 - INFO - Project ctest-TestBasicVMVNx-98551397 not found, creating it 2024-09-04 14:26:17,854 - INFO - Created Project:ctest-TestBasicVMVNx-98551397, ID : 4fe5977b-b21f-4690-842b-2cafbe43f495 2024-09-04 14:26:19,334 - INFO - ================================================================================ 2024-09-04 14:26:19,334 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-04 14:26:19,334 - 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-04 14:26:19,588 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.7': '0'}} with 2024-09-04 14:26:19,588 - INFO - Initial checks done. Running the testcase now 2024-09-04 14:26:19,588 - INFO - 2024-09-04 14:26:20,148 - DEBUG - Response for create_network : {'network': {'id': '9d95fe3b-70d7-41a0-a391-a9889634137e', 'name': 'ctest-vn-54904276', 'tenant_id': '4fe5977bb21f4690842b2cafbe43f495', 'project_id': '4fe5977bb21f4690842b2cafbe43f495', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-98551397', 'ctest-vn-54904276'], 'port_security_enabled': True, 'description': ''}} 2024-09-04 14:26:20,375 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a8470fa-d3f8-4525-9c33-df3e4123e3fd', 'name': '', 'tenant_id': '4fe5977bb21f4690842b2cafbe43f495', 'network_id': '9d95fe3b-70d7-41a0-a391-a9889634137e', 'ip_version': 4, 'cidr': '99.6.230.128/26', 'allocation_pools': [{'start': '99.6.230.130', 'end': '99.6.230.190'}], 'gateway_ip': '99.6.230.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.6.230.130', 'tags': [], 'project_id': '4fe5977bb21f4690842b2cafbe43f495'}} 2024-09-04 14:26:20,394 - INFO - Created VN ctest-vn-54904276 2024-09-04 14:26:20,445 - DEBUG - VN ctest-vn-54904276 UUID is 9d95fe3b-70d7-41a0-a391-a9889634137e 2024-09-04 14:26:20,604 - DEBUG - Services list from nova: [, , ] 2024-09-04 14:26:21,594 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1844-1) 2024-09-04 14:26:22,739 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1844-1) 2024-09-04 14:26:22,739 - INFO - Waiting for VM ctest-TestBasicVMVNx-98551397-36638039 to be up.. 2024-09-04 14:26:22,831 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-04 14:26:27,919 - DEBUG - VM is in ACTIVE state now 2024-09-04 14:26:27,919 - INFO - VM name : ctest-TestBasicVMVNx-98551397-36638039 2024-09-04 14:26:27,999 - DEBUG - VM ctest-TestBasicVMVNx-98551397-36638039 ID is d92211b0-7555-4cc7-88ad-630eaacfce64 2024-09-04 14:26:28,018 - DEBUG - VM ctest-TestBasicVMVNx-98551397-36638039 launched on Node cn-jenkins-deploy-platform-ansible-os-1844-1 2024-09-04 14:26:28,095 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d92211b0-7555-4cc7-88ad-630eaacfce64 2024-09-04 14:26:28,389 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d92211b0-7555-4cc7-88ad-630eaacfce64 2024-09-04 14:26:28,423 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c2c4e414-be24-4a4d-ae7e-482d207e06da 2024-09-04 14:26:31,666 - 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-04 14:26:31,666 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-98551397-36638039 failed! 2024-09-04 14:26:31,721 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-98551397:ctest-vn-54904276 is 99.6.230.129 and allocation pool is NOT set 2024-09-04 14:26:33,781 - 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=6.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.437 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.437/3.519/6.601/3.082 ms') 2024-09-04 14:26:33,781 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-98551397-36638039 passed 2024-09-04 14:26:33,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:26:33,929 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-98551397-36638039, IP 99.6.230.131, Port 22 2024-09-04 14:26:34,081 - DEBUG - VM ctest-TestBasicVMVNx-98551397-36638039 is ready for SSH connections 2024-09-04 14:26:34,081 - INFO - Waiting for VM ctest-TestBasicVMVNx-98551397-82387791 to be up.. 2024-09-04 14:26:34,160 - DEBUG - VM is in ACTIVE state now 2024-09-04 14:26:34,160 - INFO - VM name : ctest-TestBasicVMVNx-98551397-82387791 2024-09-04 14:26:34,237 - DEBUG - VM ctest-TestBasicVMVNx-98551397-82387791 ID is 5d36411e-2628-422e-b4a2-e69a3edd691f 2024-09-04 14:26:34,237 - DEBUG - VM ctest-TestBasicVMVNx-98551397-82387791 launched on Node cn-jenkins-deploy-platform-ansible-os-1844-1 2024-09-04 14:26:34,312 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5d36411e-2628-422e-b4a2-e69a3edd691f 2024-09-04 14:26:34,322 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d2b9d449-3301-448c-92f1-7e0b618d5779 2024-09-04 14:26:35,554 - 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=2.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 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.390/1.602/2.814/1.212 ms') 2024-09-04 14:26:35,555 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-98551397-82387791 passed 2024-09-04 14:26:35,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:26:35,705 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-98551397-82387791, IP 99.6.230.132, Port 22 2024-09-04 14:26:35,861 - DEBUG - VM ctest-TestBasicVMVNx-98551397-82387791 is ready for SSH connections 2024-09-04 14:26:35,861 - DEBUG - FILE SIZE = 1303B 2024-09-04 14:26:35,861 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-98551397-36638039 to ctest-TestBasicVMVNx-98551397-82387791 using scp 2024-09-04 14:26:35,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:26:35,868 - 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.33, gateway password: c0ntrail123 2024-09-04 14:26:35,868 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-04 14:26:37,741 - DEBUG - 1+0 records in 1+0 records out 2024-09-04 14:26:38,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:26:38,667 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-09-04 14:26:38,668 - DEBUG - ls -l testfile 2024-09-04 14:26:40,236 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 4 08:26 testfile 2024-09-04 14:26:40,236 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-98551397-82387791 2024-09-04 14:26:40,236 - INFO - Deleting VM ctest-TestBasicVMVNx-98551397-82387791 2024-09-04 14:26:40,300 - INFO - Deleting VM ctest-TestBasicVMVNx-98551397-36638039 2024-09-04 14:26:40,364 - INFO - Deleting VN ctest-vn-54904276 2024-09-04 14:26:40,401 - DEBUG - VN 9d95fe3b-70d7-41a0-a391-a9889634137e still in use: Unable to complete operation on network 9d95fe3b-70d7-41a0-a391-a9889634137e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1c91c4de-deaf-4f3c-bbfb-fb204c136763'] 2024-09-04 14:26:40,401 - WARNING - Deleting VN ctest-vn-54904276 failed..Will retry 2024-09-04 14:26:42,504 - DEBUG - Response for deleting network () 2024-09-04 14:26:42,759 - DEBUG - No XMPP flaps were noticed during the test
2024-09-04 14:26:42,759 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2024-09-04 14:26:42,759 - INFO - -------------------------------------------------------------------------------- 2024-09-04 14:26:43,427 - INFO - Deleted project: ctest-TestBasicVMVNx-98551397, ID : 4fe5977b-b21f-4690-842b-2cafbe43f495