2025-01-27 02:27:50,429 - INFO - Domain Default found not creating 2025-01-27 02:27:50,606 - INFO - Project ctest-TestBasicVMVNx-74706173 not found, creating it 2025-01-27 02:27:51,120 - INFO - Created Project:ctest-TestBasicVMVNx-74706173, ID : 331b605a-2f5e-4743-9471-99a5f928fab8 2025-01-27 02:27:52,776 - INFO - ================================================================================ 2025-01-27 02:27:52,777 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-27 02:27:52,777 - 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 2025-01-27 02:27:53,050 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.0.0.33': '0'}} with 2025-01-27 02:27:53,050 - INFO - Initial checks done. Running the testcase now 2025-01-27 02:27:53,050 - INFO - 2025-01-27 02:27:53,652 - DEBUG - Response for create_network : {'network': {'id': '75a58f9b-96a0-45af-89d0-fdc4c67acceb', 'name': 'ctest-vn-95127622', 'tenant_id': '331b605a2f5e4743947199a5f928fab8', 'project_id': '331b605a2f5e4743947199a5f928fab8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-74706173', 'ctest-vn-95127622'], 'port_security_enabled': True, 'description': ''}} 2025-01-27 02:27:53,820 - DEBUG - Response for create_subnet : {'subnet': {'id': '646ad667-3440-4c84-ab86-6236cff5e51f', 'name': '', 'tenant_id': '331b605a2f5e4743947199a5f928fab8', 'network_id': '75a58f9b-96a0-45af-89d0-fdc4c67acceb', 'ip_version': 4, 'cidr': '122.11.76.64/26', 'allocation_pools': [{'start': '122.11.76.66', 'end': '122.11.76.126'}], 'gateway_ip': '122.11.76.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.11.76.66', 'tags': [], 'project_id': '331b605a2f5e4743947199a5f928fab8'}} 2025-01-27 02:27:53,843 - INFO - Created VN ctest-vn-95127622 2025-01-27 02:27:53,899 - DEBUG - VN ctest-vn-95127622 UUID is 75a58f9b-96a0-45af-89d0-fdc4c67acceb 2025-01-27 02:27:54,086 - DEBUG - Services list from nova: [, , ] 2025-01-27 02:27:55,189 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2661-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2661-1) 2025-01-27 02:27:56,422 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2661-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2661-1) 2025-01-27 02:27:56,422 - INFO - Waiting for VM ctest-TestBasicVMVNx-74706173-24441323 to be up.. 2025-01-27 02:27:56,541 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-27 02:28:01,651 - DEBUG - VM is in ACTIVE state now 2025-01-27 02:28:01,651 - INFO - VM name : ctest-TestBasicVMVNx-74706173-24441323 2025-01-27 02:28:01,751 - DEBUG - VM ctest-TestBasicVMVNx-74706173-24441323 ID is 28bb49a7-1a92-43bf-85c6-c871c84a0323 2025-01-27 02:28:01,774 - DEBUG - VM ctest-TestBasicVMVNx-74706173-24441323 launched on Node cn-jenkins-deploy-platform-ansible-os-2661-1. 2025-01-27 02:28:01,867 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/28bb49a7-1a92-43bf-85c6-c871c84a0323 2025-01-27 02:28:02,177 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/28bb49a7-1a92-43bf-85c6-c871c84a0323 2025-01-27 02:28:02,220 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/faf124a4-354c-431b-893f-317185239a61 2025-01-27 02:28:05,500 - 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 1006ms') 2025-01-27 02:28:05,500 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74706173-24441323 failed! 2025-01-27 02:28:05,563 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-74706173:ctest-vn-95127622 is 122.11.76.65 and allocation pool is NOT set 2025-01-27 02:28:07,623 - 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=3.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.509 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.509/2.210/3.911/1.701 ms') 2025-01-27 02:28:07,623 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74706173-24441323 passed 2025-01-27 02:28:07,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 02:28:07,779 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74706173-24441323, IP 122.11.76.67, Port 22 2025-01-27 02:28:07,949 - DEBUG - VM ctest-TestBasicVMVNx-74706173-24441323 is ready for SSH connections 2025-01-27 02:28:07,949 - INFO - Waiting for VM ctest-TestBasicVMVNx-74706173-93651813 to be up.. 2025-01-27 02:28:08,043 - DEBUG - VM is in ACTIVE state now 2025-01-27 02:28:08,043 - INFO - VM name : ctest-TestBasicVMVNx-74706173-93651813 2025-01-27 02:28:08,153 - DEBUG - VM ctest-TestBasicVMVNx-74706173-93651813 ID is 77a11c0f-0733-4e0d-a94d-001811ad4b9b 2025-01-27 02:28:08,153 - DEBUG - VM ctest-TestBasicVMVNx-74706173-93651813 launched on Node cn-jenkins-deploy-platform-ansible-os-2661-1. 2025-01-27 02:28:08,240 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/77a11c0f-0733-4e0d-a94d-001811ad4b9b 2025-01-27 02:28:08,254 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/36faa15e-3d23-4937-9009-ade4e0d726c9 2025-01-27 02:28:09,523 - 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.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.890 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.890/2.650/4.410/1.760 ms') 2025-01-27 02:28:09,523 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-74706173-93651813 passed 2025-01-27 02:28:09,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 02:28:09,683 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74706173-93651813, IP 122.11.76.68, Port 22 2025-01-27 02:28:09,853 - DEBUG - VM ctest-TestBasicVMVNx-74706173-93651813 is ready for SSH connections 2025-01-27 02:28:09,853 - DEBUG - FILE SIZE = 1303B 2025-01-27 02:28:09,853 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-74706173-24441323 to ctest-TestBasicVMVNx-74706173-93651813 using scp 2025-01-27 02:28:09,855 - 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 2025-01-27 02:28:09,855 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-27 02:28:11,920 - DEBUG - 1+0 records in 1+0 records out 2025-01-27 02:28:12,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 02:28:12,919 - 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 2025-01-27 02:28:12,919 - DEBUG - ls -l testfile 2025-01-27 02:28:14,560 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 26 19:28 testfile 2025-01-27 02:28:14,560 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-74706173-93651813 2025-01-27 02:28:14,561 - INFO - Deleting VM ctest-TestBasicVMVNx-74706173-93651813 2025-01-27 02:28:14,652 - INFO - Deleting VM ctest-TestBasicVMVNx-74706173-24441323 2025-01-27 02:28:14,742 - INFO - Deleting VN ctest-vn-95127622 2025-01-27 02:28:14,792 - DEBUG - VN 75a58f9b-96a0-45af-89d0-fdc4c67acceb still in use: Unable to complete operation on network 75a58f9b-96a0-45af-89d0-fdc4c67acceb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8d2d7604-c634-4055-96fc-6c5ee1ba41ed'] 2025-01-27 02:28:14,793 - WARNING - Deleting VN ctest-vn-95127622 failed..Will retry 2025-01-27 02:28:16,974 - DEBUG - Response for deleting network () 2025-01-27 02:28:17,247 - DEBUG - No XMPP flaps were noticed during the test
2025-01-27 02:28:17,247 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-01-27 02:28:17,248 - INFO - -------------------------------------------------------------------------------- 2025-01-27 02:28:18,063 - INFO - Deleted project: ctest-TestBasicVMVNx-74706173, ID : 331b605a-2f5e-4743-9471-99a5f928fab8