2025-05-28 11:41:47,746 - INFO - Domain Default found not creating 2025-05-28 11:41:47,880 - INFO - Project ctest-TestBasicVMVNx-65578510 not found, creating it 2025-05-28 11:41:48,331 - INFO - Created Project:ctest-TestBasicVMVNx-65578510, ID : 630c276a-0a45-4899-9518-f01ed8a38a5f 2025-05-28 11:41:49,835 - INFO - ================================================================================ 2025-05-28 11:41:49,835 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-28 11:41:49,835 - 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-05-28 11:41:50,090 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-05-28 11:41:50,090 - INFO - Initial checks done. Running the testcase now 2025-05-28 11:41:50,090 - INFO - 2025-05-28 11:41:50,689 - DEBUG - Response for create_network : {'network': {'id': 'f7d21ecd-238f-422b-8361-fa14ecbf9804', 'name': 'ctest-vn-11877710', 'tenant_id': '630c276a0a4548999518f01ed8a38a5f', 'project_id': '630c276a0a4548999518f01ed8a38a5f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-65578510', 'ctest-vn-11877710'], 'port_security_enabled': True, 'description': ''}} 2025-05-28 11:41:50,913 - DEBUG - Response for create_subnet : {'subnet': {'id': '5738ed53-5f4f-446f-9327-366d7d776860', 'name': '', 'tenant_id': '630c276a0a4548999518f01ed8a38a5f', 'network_id': 'f7d21ecd-238f-422b-8361-fa14ecbf9804', 'ip_version': 4, 'cidr': '48.10.15.64/26', 'allocation_pools': [{'start': '48.10.15.66', 'end': '48.10.15.126'}], 'gateway_ip': '48.10.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.10.15.66', 'tags': [], 'project_id': '630c276a0a4548999518f01ed8a38a5f'}} 2025-05-28 11:41:50,933 - INFO - Created VN ctest-vn-11877710 2025-05-28 11:41:50,983 - DEBUG - VN ctest-vn-11877710 UUID is f7d21ecd-238f-422b-8361-fa14ecbf9804 2025-05-28 11:41:51,277 - DEBUG - Services list from nova: [, , ] 2025-05-28 11:41:52,351 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3349-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3349-1) 2025-05-28 11:41:53,590 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3349-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3349-1) 2025-05-28 11:41:53,591 - INFO - Waiting for VM ctest-TestBasicVMVNx-65578510-70479140 to be up.. 2025-05-28 11:41:53,666 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-28 11:41:58,741 - DEBUG - VM is in ACTIVE state now 2025-05-28 11:41:58,741 - INFO - VM name : ctest-TestBasicVMVNx-65578510-70479140 2025-05-28 11:41:58,816 - DEBUG - VM ctest-TestBasicVMVNx-65578510-70479140 ID is f04fe69c-0c91-4b02-a505-c3c87f157785 2025-05-28 11:41:58,837 - DEBUG - VM ctest-TestBasicVMVNx-65578510-70479140 launched on Node cn-jenkins-deploy-platform-ansible-os-3349-1 2025-05-28 11:41:58,921 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/f04fe69c-0c91-4b02-a505-c3c87f157785 2025-05-28 11:41:59,261 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/f04fe69c-0c91-4b02-a505-c3c87f157785 2025-05-28 11:41:59,293 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/bdffe446-efa6-4f46-a854-9c26f842d033 2025-05-28 11:42:02,564 - 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 1023ms') 2025-05-28 11:42:02,564 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-65578510-70479140 failed! 2025-05-28 11:42:02,619 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-65578510:ctest-vn-11877710 is 48.10.15.65 and allocation pool is NOT set 2025-05-28 11:42:04,678 - 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=4.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.21 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 = 1.205/2.636/4.068/1.431 ms') 2025-05-28 11:42:04,679 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-65578510-70479140 passed 2025-05-28 11:42:04,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 11:42:04,827 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-65578510-70479140, IP 48.10.15.67, Port 22 2025-05-28 11:42:04,993 - DEBUG - VM ctest-TestBasicVMVNx-65578510-70479140 is ready for SSH connections 2025-05-28 11:42:04,994 - INFO - Waiting for VM ctest-TestBasicVMVNx-65578510-85701642 to be up.. 2025-05-28 11:42:05,069 - DEBUG - VM is in ACTIVE state now 2025-05-28 11:42:05,069 - INFO - VM name : ctest-TestBasicVMVNx-65578510-85701642 2025-05-28 11:42:05,137 - DEBUG - VM ctest-TestBasicVMVNx-65578510-85701642 ID is 5570c0d8-fe80-4d11-9161-5528ebdb052d 2025-05-28 11:42:05,137 - DEBUG - VM ctest-TestBasicVMVNx-65578510-85701642 launched on Node cn-jenkins-deploy-platform-ansible-os-3349-1 2025-05-28 11:42:05,215 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/5570c0d8-fe80-4d11-9161-5528ebdb052d 2025-05-28 11:42:05,224 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/99bd3156-b9b6-4946-910b-024536284ef0 2025-05-28 11:42:06,467 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.499 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.499/1.756/3.014/1.257 ms') 2025-05-28 11:42:06,467 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-65578510-85701642 passed 2025-05-28 11:42:06,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 11:42:06,623 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-65578510-85701642, IP 48.10.15.68, Port 22 2025-05-28 11:42:06,779 - DEBUG - VM ctest-TestBasicVMVNx-65578510-85701642 is ready for SSH connections 2025-05-28 11:42:06,779 - DEBUG - FILE SIZE = 1303B 2025-05-28 11:42:06,779 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-65578510-70479140 to ctest-TestBasicVMVNx-65578510-85701642 using scp 2025-05-28 11:42:06,780 - 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.49, gateway password: c0ntrail123 2025-05-28 11:42:06,780 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-28 11:42:08,769 - DEBUG - 1+0 records in 1+0 records out 2025-05-28 11:42:09,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 11:42:09,762 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-05-28 11:42:09,762 - DEBUG - ls -l testfile 2025-05-28 11:42:11,359 - DEBUG - -rw------- 1 cirros cirros 1303 May 28 05:42 testfile 2025-05-28 11:42:11,359 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-65578510-85701642 2025-05-28 11:42:11,360 - INFO - Deleting VM ctest-TestBasicVMVNx-65578510-85701642 2025-05-28 11:42:11,425 - INFO - Deleting VM ctest-TestBasicVMVNx-65578510-70479140 2025-05-28 11:42:11,489 - INFO - Deleting VN ctest-vn-11877710 2025-05-28 11:42:11,524 - DEBUG - VN f7d21ecd-238f-422b-8361-fa14ecbf9804 still in use: Unable to complete operation on network f7d21ecd-238f-422b-8361-fa14ecbf9804. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6adf6961-305a-495e-99b9-0b1dc3ffe69c'] 2025-05-28 11:42:11,524 - WARNING - Deleting VN ctest-vn-11877710 failed..Will retry 2025-05-28 11:42:13,629 - DEBUG - Response for deleting network () 2025-05-28 11:42:13,885 - DEBUG - No XMPP flaps were noticed during the test 2025-05-28 11:42:13,885 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-05-28 11:42:13,885 - INFO - -------------------------------------------------------------------------------- 2025-05-28 11:42:14,590 - INFO - Deleted project: ctest-TestBasicVMVNx-65578510, ID : 630c276a-0a45-4899-9518-f01ed8a38a5f