2025-06-18 12:30:54,768 - INFO - Domain Default found not creating 2025-06-18 12:30:54,919 - INFO - Project ctest-TestBasicVMVNx-93873383 not found, creating it 2025-06-18 12:30:55,404 - INFO - Created Project:ctest-TestBasicVMVNx-93873383, ID : fa707227-7b5f-4087-915c-a7ce287a8761 2025-06-18 12:30:56,865 - INFO - ================================================================================ 2025-06-18 12:30:56,865 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-18 12:30:56,865 - 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-06-18 12:30:57,127 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-18 12:30:57,127 - INFO - Initial checks done. Running the testcase now 2025-06-18 12:30:57,127 - INFO - 2025-06-18 12:30:57,675 - DEBUG - Response for create_network : {'network': {'id': '98bc46da-8bc1-4e7a-af2e-47ed896d80e1', 'name': 'ctest-vn-35400979', 'tenant_id': 'fa7072277b5f4087915ca7ce287a8761', 'project_id': 'fa7072277b5f4087915ca7ce287a8761', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-93873383', 'ctest-vn-35400979'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 12:30:57,848 - DEBUG - Response for create_subnet : {'subnet': {'id': '6370876a-3b40-401e-b1c0-51e0a03d9594', 'name': '', 'tenant_id': 'fa7072277b5f4087915ca7ce287a8761', 'network_id': '98bc46da-8bc1-4e7a-af2e-47ed896d80e1', 'ip_version': 4, 'cidr': '41.253.83.128/26', 'allocation_pools': [{'start': '41.253.83.130', 'end': '41.253.83.190'}], 'gateway_ip': '41.253.83.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.253.83.130', 'tags': [], 'project_id': 'fa7072277b5f4087915ca7ce287a8761'}} 2025-06-18 12:30:57,866 - INFO - Created VN ctest-vn-35400979 2025-06-18 12:30:57,921 - DEBUG - VN ctest-vn-35400979 UUID is 98bc46da-8bc1-4e7a-af2e-47ed896d80e1 2025-06-18 12:30:58,129 - DEBUG - Services list from nova: [, , ] 2025-06-18 12:30:59,154 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3474-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3474-1) 2025-06-18 12:31:00,328 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3474-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3474-1) 2025-06-18 12:31:00,328 - INFO - Waiting for VM ctest-TestBasicVMVNx-93873383-88442386 to be up.. 2025-06-18 12:31:00,432 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 12:31:05,529 - DEBUG - VM is in ACTIVE state now 2025-06-18 12:31:05,530 - INFO - VM name : ctest-TestBasicVMVNx-93873383-88442386 2025-06-18 12:31:05,609 - DEBUG - VM ctest-TestBasicVMVNx-93873383-88442386 ID is 4cd1dd17-7f3e-4b42-9a9c-5debec91e963 2025-06-18 12:31:05,630 - DEBUG - VM ctest-TestBasicVMVNx-93873383-88442386 launched on Node cn-jenkins-deploy-platform-ansible-os-3474-1 2025-06-18 12:31:05,712 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4cd1dd17-7f3e-4b42-9a9c-5debec91e963 2025-06-18 12:31:06,015 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4cd1dd17-7f3e-4b42-9a9c-5debec91e963 2025-06-18 12:31:06,049 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/08995951-bd7b-4f10-8967-488077cb6722 2025-06-18 12:31:09,302 - 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 1005ms') 2025-06-18 12:31:09,303 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93873383-88442386 failed! 2025-06-18 12:31:09,361 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-93873383:ctest-vn-35400979 is 41.253.83.129 and allocation pool is NOT set 2025-06-18 12:31:11,421 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.17 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 = 1.166/2.951/4.736/1.785 ms') 2025-06-18 12:31:11,421 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93873383-88442386 passed 2025-06-18 12:31:11,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 12:31:11,577 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93873383-88442386, IP 41.253.83.131, Port 22 2025-06-18 12:31:11,734 - DEBUG - VM ctest-TestBasicVMVNx-93873383-88442386 is ready for SSH connections 2025-06-18 12:31:11,734 - INFO - Waiting for VM ctest-TestBasicVMVNx-93873383-31686291 to be up.. 2025-06-18 12:31:11,828 - DEBUG - VM is in ACTIVE state now 2025-06-18 12:31:11,828 - INFO - VM name : ctest-TestBasicVMVNx-93873383-31686291 2025-06-18 12:31:11,910 - DEBUG - VM ctest-TestBasicVMVNx-93873383-31686291 ID is 31d5af90-8358-4da2-a454-950df972b1da 2025-06-18 12:31:11,911 - DEBUG - VM ctest-TestBasicVMVNx-93873383-31686291 launched on Node cn-jenkins-deploy-platform-ansible-os-3474-1 2025-06-18 12:31:12,008 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/31d5af90-8358-4da2-a454-950df972b1da 2025-06-18 12:31:12,018 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a30ad0ee-53de-4371-8848-3b1a4426f0af 2025-06-18 12:31:13,267 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.452 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.452/1.998/3.545/1.546 ms') 2025-06-18 12:31:13,267 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-93873383-31686291 passed 2025-06-18 12:31:13,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 12:31:13,429 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93873383-31686291, IP 41.253.83.132, Port 22 2025-06-18 12:31:13,585 - DEBUG - VM ctest-TestBasicVMVNx-93873383-31686291 is ready for SSH connections 2025-06-18 12:31:13,585 - DEBUG - FILE SIZE = 1303B 2025-06-18 12:31:13,585 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-93873383-88442386 to ctest-TestBasicVMVNx-93873383-31686291 using scp 2025-06-18 12:31:13,586 - 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.254, gateway password: c0ntrail123 2025-06-18 12:31:13,586 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-18 12:31:15,500 - DEBUG - 1+0 records in 1+0 records out 2025-06-18 12:31:16,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 12:31:16,594 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-18 12:31:16,594 - DEBUG - ls -l testfile 2025-06-18 12:31:18,215 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 18 06:31 testfile 2025-06-18 12:31:18,215 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-93873383-31686291 2025-06-18 12:31:18,215 - INFO - Deleting VM ctest-TestBasicVMVNx-93873383-31686291 2025-06-18 12:31:18,301 - INFO - Deleting VM ctest-TestBasicVMVNx-93873383-88442386 2025-06-18 12:31:18,389 - INFO - Deleting VN ctest-vn-35400979 2025-06-18 12:31:18,430 - DEBUG - VN 98bc46da-8bc1-4e7a-af2e-47ed896d80e1 still in use: Unable to complete operation on network 98bc46da-8bc1-4e7a-af2e-47ed896d80e1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a0bd4eef-6404-4b1c-9974-626dddfdd006'] 2025-06-18 12:31:18,430 - WARNING - Deleting VN ctest-vn-35400979 failed..Will retry 2025-06-18 12:31:20,563 - DEBUG - Response for deleting network () 2025-06-18 12:31:20,831 - DEBUG - No XMPP flaps were noticed during the test
2025-06-18 12:31:20,831 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-06-18 12:31:20,832 - INFO - -------------------------------------------------------------------------------- 2025-06-18 12:31:21,519 - INFO - Deleted project: ctest-TestBasicVMVNx-93873383, ID : fa707227-7b5f-4087-915c-a7ce287a8761