2025-08-28 02:44:52,615 - INFO - Domain Default found not creating 2025-08-28 02:44:52,800 - INFO - Project ctest-TestBasicVMVNx-08686793 not found, creating it 2025-08-28 02:44:53,301 - INFO - Created Project:ctest-TestBasicVMVNx-08686793, ID : 1d093cb9-6de2-4068-b0e2-5dd81e8d2d1e 2025-08-28 02:44:54,962 - INFO - ================================================================================ 2025-08-28 02:44:54,962 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-28 02:44:54,962 - 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-08-28 02:44:55,226 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.209': '0'}} with 2025-08-28 02:44:55,226 - INFO - Initial checks done. Running the testcase now 2025-08-28 02:44:55,226 - INFO - 2025-08-28 02:44:55,851 - DEBUG - Response for create_network : {'network': {'id': '65be6304-f077-4448-b707-f483471b9e2c', 'name': 'ctest-vn-08537699', 'tenant_id': '1d093cb96de24068b0e25dd81e8d2d1e', 'project_id': '1d093cb96de24068b0e25dd81e8d2d1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-08686793', 'ctest-vn-08537699'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 02:44:56,007 - DEBUG - Response for create_subnet : {'subnet': {'id': '6edfb568-605b-4dd2-a79d-57ad21bdfdae', 'name': '', 'tenant_id': '1d093cb96de24068b0e25dd81e8d2d1e', 'network_id': '65be6304-f077-4448-b707-f483471b9e2c', 'ip_version': 4, 'cidr': '20.174.194.64/26', 'allocation_pools': [{'start': '20.174.194.66', 'end': '20.174.194.126'}], 'gateway_ip': '20.174.194.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.174.194.66', 'tags': [], 'project_id': '1d093cb96de24068b0e25dd81e8d2d1e'}} 2025-08-28 02:44:56,028 - INFO - Created VN ctest-vn-08537699 2025-08-28 02:44:56,082 - DEBUG - VN ctest-vn-08537699 UUID is 65be6304-f077-4448-b707-f483471b9e2c 2025-08-28 02:44:56,262 - DEBUG - Services list from nova: [, , ] 2025-08-28 02:44:57,555 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3955-1) 2025-08-28 02:44:58,905 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3955-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3955-1) 2025-08-28 02:44:58,905 - INFO - Waiting for VM ctest-TestBasicVMVNx-08686793-39256819 to be up.. 2025-08-28 02:44:58,997 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 02:45:04,079 - DEBUG - VM is in ACTIVE state now 2025-08-28 02:45:04,079 - INFO - VM name : ctest-TestBasicVMVNx-08686793-39256819 2025-08-28 02:45:04,187 - DEBUG - VM ctest-TestBasicVMVNx-08686793-39256819 ID is 2ecddd06-d245-4c43-a006-1b4031184746 2025-08-28 02:45:04,211 - DEBUG - VM ctest-TestBasicVMVNx-08686793-39256819 launched on Node cn-jenkins-deploy-platform-ansible-os-3955-1 2025-08-28 02:45:04,298 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/2ecddd06-d245-4c43-a006-1b4031184746 2025-08-28 02:45:04,653 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/2ecddd06-d245-4c43-a006-1b4031184746 2025-08-28 02:45:04,693 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/27c4059d-8c5c-442f-8d8e-0dc05b1670d6 2025-08-28 02:45:07,975 - 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 1028ms') 2025-08-28 02:45:07,975 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-08686793-39256819 failed! 2025-08-28 02:45:08,029 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-08686793:ctest-vn-08537699 is 20.174.194.65 and allocation pool is NOT set 2025-08-28 02:45:10,103 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.580 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.580/2.558/4.536/1.978 ms') 2025-08-28 02:45:10,103 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-08686793-39256819 passed 2025-08-28 02:45:10,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:45:10,266 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08686793-39256819, IP 20.174.194.67, Port 22 2025-08-28 02:45:10,431 - DEBUG - VM ctest-TestBasicVMVNx-08686793-39256819 is ready for SSH connections 2025-08-28 02:45:10,431 - INFO - Waiting for VM ctest-TestBasicVMVNx-08686793-78650196 to be up.. 2025-08-28 02:45:10,526 - DEBUG - VM is in ACTIVE state now 2025-08-28 02:45:10,526 - INFO - VM name : ctest-TestBasicVMVNx-08686793-78650196 2025-08-28 02:45:10,621 - DEBUG - VM ctest-TestBasicVMVNx-08686793-78650196 ID is 36614223-30c3-4d83-9160-cb117f6d3dc7 2025-08-28 02:45:10,622 - DEBUG - VM ctest-TestBasicVMVNx-08686793-78650196 launched on Node cn-jenkins-deploy-platform-ansible-os-3955-1 2025-08-28 02:45:10,719 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/36614223-30c3-4d83-9160-cb117f6d3dc7 2025-08-28 02:45:10,729 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/04a31be5-9cc8-4d46-80ec-da09248a8e6b 2025-08-28 02:45:11,986 - 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=6.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.712 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.712/3.357/6.002/2.645 ms') 2025-08-28 02:45:11,986 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-08686793-78650196 passed 2025-08-28 02:45:12,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:45:12,146 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08686793-78650196, IP 20.174.194.68, Port 22 2025-08-28 02:45:12,315 - DEBUG - VM ctest-TestBasicVMVNx-08686793-78650196 is ready for SSH connections 2025-08-28 02:45:12,316 - DEBUG - FILE SIZE = 1303B 2025-08-28 02:45:12,316 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-08686793-39256819 to ctest-TestBasicVMVNx-08686793-78650196 using scp 2025-08-28 02:45:12,317 - 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.249, gateway password: c0ntrail123 2025-08-28 02:45:12,318 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-28 02:45:14,367 - DEBUG - 1+0 records in 1+0 records out 2025-08-28 02:45:15,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:45:15,701 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-28 02:45:15,702 - DEBUG - ls -l testfile 2025-08-28 02:45:17,351 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 27 20:45 testfile 2025-08-28 02:45:17,351 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-08686793-78650196 2025-08-28 02:45:17,351 - INFO - Deleting VM ctest-TestBasicVMVNx-08686793-78650196 2025-08-28 02:45:17,434 - INFO - Deleting VM ctest-TestBasicVMVNx-08686793-39256819 2025-08-28 02:45:17,516 - INFO - Deleting VN ctest-vn-08537699 2025-08-28 02:45:17,558 - DEBUG - VN 65be6304-f077-4448-b707-f483471b9e2c still in use: Unable to complete operation on network 65be6304-f077-4448-b707-f483471b9e2c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-701193cd-8a86-4635-8b79-9ed8f20e04f1'] 2025-08-28 02:45:17,558 - WARNING - Deleting VN ctest-vn-08537699 failed..Will retry 2025-08-28 02:45:19,692 - DEBUG - Response for deleting network () 2025-08-28 02:45:19,967 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 02:45:19,967 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2025-08-28 02:45:19,967 - INFO - -------------------------------------------------------------------------------- 2025-08-28 02:45:20,770 - INFO - Deleted project: ctest-TestBasicVMVNx-08686793, ID : 1d093cb9-6de2-4068-b0e2-5dd81e8d2d1e