2025-09-21 12:52:23,007 - INFO - Domain Default found not creating 2025-09-21 12:52:23,127 - INFO - Project ctest-TestBasicVMVNx-58761390 not found, creating it 2025-09-21 12:52:23,540 - INFO - Created Project:ctest-TestBasicVMVNx-58761390, ID : 663c3a47-10cf-4fc6-aab8-0a57f23cc1fd 2025-09-21 12:52:24,959 - INFO - ================================================================================ 2025-09-21 12:52:24,959 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-09-21 12:52:24,959 - 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-09-21 12:52:25,212 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-21 12:52:25,212 - INFO - Initial checks done. Running the testcase now 2025-09-21 12:52:25,212 - INFO - 2025-09-21 12:52:25,724 - DEBUG - Response for create_network : {'network': {'id': 'f0857e84-58a9-4f07-a8a3-a91227343970', 'name': 'ctest-vn-35147728', 'tenant_id': '663c3a4710cf4fc6aab80a57f23cc1fd', 'project_id': '663c3a4710cf4fc6aab80a57f23cc1fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-58761390', 'ctest-vn-35147728'], 'port_security_enabled': True, 'description': ''}} 2025-09-21 12:52:25,912 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d75b8ee-560c-4fa4-ae16-82bd71544133', 'name': '', 'tenant_id': '663c3a4710cf4fc6aab80a57f23cc1fd', 'network_id': 'f0857e84-58a9-4f07-a8a3-a91227343970', 'ip_version': 4, 'cidr': '167.115.185.128/26', 'allocation_pools': [{'start': '167.115.185.130', 'end': '167.115.185.190'}], 'gateway_ip': '167.115.185.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.115.185.130', 'tags': [], 'project_id': '663c3a4710cf4fc6aab80a57f23cc1fd'}} 2025-09-21 12:52:25,927 - INFO - Created VN ctest-vn-35147728 2025-09-21 12:52:25,976 - DEBUG - VN ctest-vn-35147728 UUID is f0857e84-58a9-4f07-a8a3-a91227343970 2025-09-21 12:52:26,168 - DEBUG - Services list from nova: [, , ] 2025-09-21 12:52:27,135 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4157-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4157-1) 2025-09-21 12:52:28,189 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4157-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4157-1) 2025-09-21 12:52:28,189 - INFO - Waiting for VM ctest-TestBasicVMVNx-58761390-61863840 to be up.. 2025-09-21 12:52:28,264 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-21 12:52:33,337 - DEBUG - VM is in ACTIVE state now 2025-09-21 12:52:33,337 - INFO - VM name : ctest-TestBasicVMVNx-58761390-61863840 2025-09-21 12:52:33,402 - DEBUG - VM ctest-TestBasicVMVNx-58761390-61863840 ID is e0b5f686-8b7f-4250-bcd9-4867a3fdbef5 2025-09-21 12:52:33,421 - DEBUG - VM ctest-TestBasicVMVNx-58761390-61863840 launched on Node cn-jenkins-deploy-platform-ansible-os-4157-1 2025-09-21 12:52:33,488 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e0b5f686-8b7f-4250-bcd9-4867a3fdbef5 2025-09-21 12:52:33,777 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e0b5f686-8b7f-4250-bcd9-4867a3fdbef5 2025-09-21 12:52:33,806 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/eccd4e92-d7df-4b9d-92dc-022ddadd1da9 2025-09-21 12:52:37,051 - 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 1024ms') 2025-09-21 12:52:37,051 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-58761390-61863840 failed! 2025-09-21 12:52:37,108 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-58761390:ctest-vn-35147728 is 167.115.185.129 and allocation pool is NOT set 2025-09-21 12:52:39,173 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.443 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.443/1.653/2.863/1.210 ms') 2025-09-21 12:52:39,173 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-58761390-61863840 passed 2025-09-21 12:52:39,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 12:52:39,320 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58761390-61863840, IP 167.115.185.131, Port 22 2025-09-21 12:52:39,475 - DEBUG - VM ctest-TestBasicVMVNx-58761390-61863840 is ready for SSH connections 2025-09-21 12:52:39,475 - INFO - Waiting for VM ctest-TestBasicVMVNx-58761390-03861909 to be up.. 2025-09-21 12:52:39,539 - DEBUG - VM is in ACTIVE state now 2025-09-21 12:52:39,540 - INFO - VM name : ctest-TestBasicVMVNx-58761390-03861909 2025-09-21 12:52:39,601 - DEBUG - VM ctest-TestBasicVMVNx-58761390-03861909 ID is 5c9f47e8-3810-448c-95fc-e40666606967 2025-09-21 12:52:39,601 - DEBUG - VM ctest-TestBasicVMVNx-58761390-03861909 launched on Node cn-jenkins-deploy-platform-ansible-os-4157-1 2025-09-21 12:52:39,665 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5c9f47e8-3810-448c-95fc-e40666606967 2025-09-21 12:52:39,672 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6e347880-6683-4461-9836-7ec1c103c87d 2025-09-21 12:52:40,907 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.378 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.378/2.209/4.041/1.831 ms') 2025-09-21 12:52:40,907 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-58761390-03861909 passed 2025-09-21 12:52:41,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 12:52:41,056 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58761390-03861909, IP 167.115.185.132, Port 22 2025-09-21 12:52:41,223 - DEBUG - VM ctest-TestBasicVMVNx-58761390-03861909 is ready for SSH connections 2025-09-21 12:52:41,223 - DEBUG - FILE SIZE = 1303B 2025-09-21 12:52:41,223 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-58761390-61863840 to ctest-TestBasicVMVNx-58761390-03861909 using scp 2025-09-21 12:52:41,224 - 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.50, gateway password: c0ntrail123 2025-09-21 12:52:41,224 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-09-21 12:52:43,103 - DEBUG - 1+0 records in 1+0 records out 2025-09-21 12:52:43,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 12:52:44,037 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-21 12:52:44,038 - DEBUG - ls -l testfile 2025-09-21 12:52:45,609 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 21 06:52 testfile 2025-09-21 12:52:45,609 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-58761390-03861909 2025-09-21 12:52:45,609 - INFO - Deleting VM ctest-TestBasicVMVNx-58761390-03861909 2025-09-21 12:52:45,672 - INFO - Deleting VM ctest-TestBasicVMVNx-58761390-61863840 2025-09-21 12:52:45,729 - INFO - Deleting VN ctest-vn-35147728 2025-09-21 12:52:45,759 - DEBUG - VN f0857e84-58a9-4f07-a8a3-a91227343970 still in use: Unable to complete operation on network f0857e84-58a9-4f07-a8a3-a91227343970. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ae6d9171-0a5d-4d02-884b-6e286178e78b'] 2025-09-21 12:52:45,759 - WARNING - Deleting VN ctest-vn-35147728 failed..Will retry 2025-09-21 12:52:47,839 - DEBUG - Response for deleting network () 2025-09-21 12:52:48,097 - DEBUG - No XMPP flaps were noticed during the test
2025-09-21 12:52:48,097 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-09-21 12:52:48,097 - INFO - -------------------------------------------------------------------------------- 2025-09-21 12:52:48,742 - INFO - Deleted project: ctest-TestBasicVMVNx-58761390, ID : 663c3a47-10cf-4fc6-aab8-0a57f23cc1fd