2025-04-28 15:58:47,906 - INFO - Domain Default found not creating 2025-04-28 15:58:48,045 - INFO - Project ctest-TestBasicVMVNx-74559423 not found, creating it 2025-04-28 15:58:48,469 - INFO - Created Project:ctest-TestBasicVMVNx-74559423, ID : be2ffd25-0cef-4588-a9bd-070623fba391 2025-04-28 15:58:49,800 - INFO - ================================================================================ 2025-04-28 15:58:49,800 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-28 15:58:49,800 - 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-04-28 15:58:50,049 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2025-04-28 15:58:50,049 - INFO - Initial checks done. Running the testcase now 2025-04-28 15:58:50,049 - INFO - 2025-04-28 15:58:50,570 - DEBUG - Response for create_network : {'network': {'id': '9ae0068b-9a5a-4d22-a620-a4046176f4c4', 'name': 'ctest-vn-59645887', 'tenant_id': 'be2ffd250cef4588a9bd070623fba391', 'project_id': 'be2ffd250cef4588a9bd070623fba391', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-74559423', 'ctest-vn-59645887'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 15:58:50,780 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a3280d1-54e6-460b-9dda-0dd54574b648', 'name': '', 'tenant_id': 'be2ffd250cef4588a9bd070623fba391', 'network_id': '9ae0068b-9a5a-4d22-a620-a4046176f4c4', 'ip_version': 4, 'cidr': '113.54.4.192/26', 'allocation_pools': [{'start': '113.54.4.194', 'end': '113.54.4.254'}], 'gateway_ip': '113.54.4.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.54.4.194', 'tags': [], 'project_id': 'be2ffd250cef4588a9bd070623fba391'}} 2025-04-28 15:58:50,796 - INFO - Created VN ctest-vn-59645887 2025-04-28 15:58:50,847 - DEBUG - VN ctest-vn-59645887 UUID is 9ae0068b-9a5a-4d22-a620-a4046176f4c4 2025-04-28 15:58:51,056 - DEBUG - Services list from nova: [, , ] 2025-04-28 15:58:52,012 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3241-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3241-1) 2025-04-28 15:58:53,094 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3241-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3241-1) 2025-04-28 15:58:53,094 - INFO - Waiting for VM ctest-TestBasicVMVNx-74559423-26255095 to be up.. 2025-04-28 15:58:53,163 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-28 15:58:58,236 - DEBUG - VM is in ACTIVE state now 2025-04-28 15:58:58,236 - INFO - VM name : ctest-TestBasicVMVNx-74559423-26255095 2025-04-28 15:58:58,305 - DEBUG - VM ctest-TestBasicVMVNx-74559423-26255095 ID is 4c40a78c-412f-4824-8c0a-b094c0a9b0b5 2025-04-28 15:58:58,321 - DEBUG - VM ctest-TestBasicVMVNx-74559423-26255095 launched on Node cn-jenkins-deploy-platform-ansible-os-3241-1 2025-04-28 15:58:58,393 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4c40a78c-412f-4824-8c0a-b094c0a9b0b5 2025-04-28 15:58:58,681 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4c40a78c-412f-4824-8c0a-b094c0a9b0b5 2025-04-28 15:58:58,709 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1d4a03ab-24cf-450a-8cd8-3c444a56a846 2025-04-28 15:59:01,948 - 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') 2025-04-28 15:59:01,948 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74559423-26255095 failed! 2025-04-28 15:59:02,007 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-74559423:ctest-vn-59645887 is 113.54.4.193 and allocation pool is NOT set 2025-04-28 15:59:04,066 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.362 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.362/1.493/2.624/1.131 ms') 2025-04-28 15:59:04,067 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74559423-26255095 passed 2025-04-28 15:59:04,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:59:04,216 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74559423-26255095, IP 113.54.4.195, Port 22 2025-04-28 15:59:04,367 - DEBUG - VM ctest-TestBasicVMVNx-74559423-26255095 is ready for SSH connections 2025-04-28 15:59:04,367 - INFO - Waiting for VM ctest-TestBasicVMVNx-74559423-43024405 to be up.. 2025-04-28 15:59:04,432 - DEBUG - VM is in ACTIVE state now 2025-04-28 15:59:04,432 - INFO - VM name : ctest-TestBasicVMVNx-74559423-43024405 2025-04-28 15:59:04,496 - DEBUG - VM ctest-TestBasicVMVNx-74559423-43024405 ID is adae8d1c-b2b6-41fa-a72c-4ca7383ed306 2025-04-28 15:59:04,496 - DEBUG - VM ctest-TestBasicVMVNx-74559423-43024405 launched on Node cn-jenkins-deploy-platform-ansible-os-3241-1 2025-04-28 15:59:04,561 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/adae8d1c-b2b6-41fa-a72c-4ca7383ed306 2025-04-28 15:59:04,570 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ebae8ee7-98f1-4419-8744-2539d910040f 2025-04-28 15:59:05,811 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.396/1.411/2.427/1.015 ms') 2025-04-28 15:59:05,811 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-74559423-43024405 passed 2025-04-28 15:59:05,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:59:05,964 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74559423-43024405, IP 113.54.4.196, Port 22 2025-04-28 15:59:06,123 - DEBUG - VM ctest-TestBasicVMVNx-74559423-43024405 is ready for SSH connections 2025-04-28 15:59:06,123 - DEBUG - FILE SIZE = 1303B 2025-04-28 15:59:06,123 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-74559423-26255095 to ctest-TestBasicVMVNx-74559423-43024405 using scp 2025-04-28 15:59:06,123 - 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.22, gateway password: c0ntrail123 2025-04-28 15:59:06,123 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-28 15:59:07,973 - DEBUG - 1+0 records in 1+0 records out 2025-04-28 15:59:08,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:59:08,857 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-04-28 15:59:08,857 - DEBUG - ls -l testfile 2025-04-28 15:59:10,431 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 28 09:59 testfile 2025-04-28 15:59:10,431 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-74559423-43024405 2025-04-28 15:59:10,431 - INFO - Deleting VM ctest-TestBasicVMVNx-74559423-43024405 2025-04-28 15:59:10,500 - INFO - Deleting VM ctest-TestBasicVMVNx-74559423-26255095 2025-04-28 15:59:10,581 - INFO - Deleting VN ctest-vn-59645887 2025-04-28 15:59:10,622 - DEBUG - VN 9ae0068b-9a5a-4d22-a620-a4046176f4c4 still in use: Unable to complete operation on network 9ae0068b-9a5a-4d22-a620-a4046176f4c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8999abca-cae7-407b-a4a2-3a35c048b7a1'] 2025-04-28 15:59:10,622 - WARNING - Deleting VN ctest-vn-59645887 failed..Will retry 2025-04-28 15:59:12,732 - DEBUG - Response for deleting network () 2025-04-28 15:59:12,990 - DEBUG - No XMPP flaps were noticed during the test
2025-04-28 15:59:12,990 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-04-28 15:59:12,990 - INFO - -------------------------------------------------------------------------------- 2025-04-28 15:59:13,664 - INFO - Deleted project: ctest-TestBasicVMVNx-74559423, ID : be2ffd25-0cef-4588-a9bd-070623fba391