2025-04-22 12:44:04,485 - INFO - Domain Default found not creating 2025-04-22 12:44:04,615 - INFO - Project ctest-TestBasicVMVNx-40833901 not found, creating it 2025-04-22 12:44:05,053 - INFO - Created Project:ctest-TestBasicVMVNx-40833901, ID : 6f206ba6-f67a-4518-b610-c921ebf00ff5 2025-04-22 12:44:06,397 - INFO - ================================================================================ 2025-04-22 12:44:06,398 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-22 12:44:06,398 - 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-22 12:44:06,650 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-04-22 12:44:06,650 - INFO - Initial checks done. Running the testcase now 2025-04-22 12:44:06,650 - INFO - 2025-04-22 12:44:07,178 - DEBUG - Response for create_network : {'network': {'id': '23dd4724-7d31-42f5-871a-1ddec4c62ac8', 'name': 'ctest-vn-26517700', 'tenant_id': '6f206ba6f67a4518b610c921ebf00ff5', 'project_id': '6f206ba6f67a4518b610c921ebf00ff5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-40833901', 'ctest-vn-26517700'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 12:44:07,379 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9d5d2fe-9043-43ed-8b89-3053bc4c372b', 'name': '', 'tenant_id': '6f206ba6f67a4518b610c921ebf00ff5', 'network_id': '23dd4724-7d31-42f5-871a-1ddec4c62ac8', 'ip_version': 4, 'cidr': '105.175.29.64/26', 'allocation_pools': [{'start': '105.175.29.66', 'end': '105.175.29.126'}], 'gateway_ip': '105.175.29.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.175.29.66', 'tags': [], 'project_id': '6f206ba6f67a4518b610c921ebf00ff5'}} 2025-04-22 12:44:07,395 - INFO - Created VN ctest-vn-26517700 2025-04-22 12:44:07,445 - DEBUG - VN ctest-vn-26517700 UUID is 23dd4724-7d31-42f5-871a-1ddec4c62ac8 2025-04-22 12:44:07,639 - DEBUG - Services list from nova: [, , ] 2025-04-22 12:44:08,596 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3161-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3161-1) 2025-04-22 12:44:09,668 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3161-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3161-1) 2025-04-22 12:44:09,668 - INFO - Waiting for VM ctest-TestBasicVMVNx-40833901-15789675 to be up.. 2025-04-22 12:44:09,740 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 12:44:14,822 - DEBUG - VM is in ACTIVE state now 2025-04-22 12:44:14,822 - INFO - VM name : ctest-TestBasicVMVNx-40833901-15789675 2025-04-22 12:44:14,905 - DEBUG - VM ctest-TestBasicVMVNx-40833901-15789675 ID is d1e2df4a-43be-4e16-b66a-ac1f45bb1d39 2025-04-22 12:44:14,922 - DEBUG - VM ctest-TestBasicVMVNx-40833901-15789675 launched on Node cn-jenkins-deploy-platform-ansible-os-3161-1 2025-04-22 12:44:14,992 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d1e2df4a-43be-4e16-b66a-ac1f45bb1d39 2025-04-22 12:44:15,294 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d1e2df4a-43be-4e16-b66a-ac1f45bb1d39 2025-04-22 12:44:15,329 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/33ca5d70-52fe-4545-bc21-237f2f0f944b 2025-04-22 12:44:18,584 - 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 1020ms') 2025-04-22 12:44:18,584 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-40833901-15789675 failed! 2025-04-22 12:44:18,641 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-40833901:ctest-vn-26517700 is 105.175.29.65 and allocation pool is NOT set 2025-04-22 12:44:20,700 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.353 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.353/1.491/2.630/1.138 ms') 2025-04-22 12:44:20,700 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-40833901-15789675 passed 2025-04-22 12:44:20,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 12:44:20,857 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40833901-15789675, IP 105.175.29.67, Port 22 2025-04-22 12:44:21,016 - DEBUG - VM ctest-TestBasicVMVNx-40833901-15789675 is ready for SSH connections 2025-04-22 12:44:21,016 - INFO - Waiting for VM ctest-TestBasicVMVNx-40833901-43593845 to be up.. 2025-04-22 12:44:21,083 - DEBUG - VM is in ACTIVE state now 2025-04-22 12:44:21,083 - INFO - VM name : ctest-TestBasicVMVNx-40833901-43593845 2025-04-22 12:44:21,149 - DEBUG - VM ctest-TestBasicVMVNx-40833901-43593845 ID is 6e4b2d52-0495-43ca-ad2e-79aab7c2421e 2025-04-22 12:44:21,150 - DEBUG - VM ctest-TestBasicVMVNx-40833901-43593845 launched on Node cn-jenkins-deploy-platform-ansible-os-3161-1 2025-04-22 12:44:21,220 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6e4b2d52-0495-43ca-ad2e-79aab7c2421e 2025-04-22 12:44:21,228 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b8451ac9-565c-4def-a1ea-d28f95ad06ee 2025-04-22 12:44:22,461 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.349 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.349/1.503/2.658/1.154 ms') 2025-04-22 12:44:22,461 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-40833901-43593845 passed 2025-04-22 12:44:22,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 12:44:22,613 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40833901-43593845, IP 105.175.29.68, Port 22 2025-04-22 12:44:22,776 - DEBUG - VM ctest-TestBasicVMVNx-40833901-43593845 is ready for SSH connections 2025-04-22 12:44:22,777 - DEBUG - FILE SIZE = 1303B 2025-04-22 12:44:22,777 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-40833901-15789675 to ctest-TestBasicVMVNx-40833901-43593845 using scp 2025-04-22 12:44:22,777 - 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.41, gateway password: c0ntrail123 2025-04-22 12:44:22,777 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-22 12:44:24,615 - DEBUG - 1+0 records in 1+0 records out 2025-04-22 12:44:25,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 12:44:25,508 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-04-22 12:44:25,509 - DEBUG - ls -l testfile 2025-04-22 12:44:27,069 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 22 06:44 testfile 2025-04-22 12:44:27,069 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-40833901-43593845 2025-04-22 12:44:27,069 - INFO - Deleting VM ctest-TestBasicVMVNx-40833901-43593845 2025-04-22 12:44:27,127 - INFO - Deleting VM ctest-TestBasicVMVNx-40833901-15789675 2025-04-22 12:44:27,187 - INFO - Deleting VN ctest-vn-26517700 2025-04-22 12:44:27,223 - DEBUG - VN 23dd4724-7d31-42f5-871a-1ddec4c62ac8 still in use: Unable to complete operation on network 23dd4724-7d31-42f5-871a-1ddec4c62ac8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-31f5de9f-14ca-466c-b77a-7e312d4236dc'] 2025-04-22 12:44:27,223 - WARNING - Deleting VN ctest-vn-26517700 failed..Will retry 2025-04-22 12:44:29,322 - DEBUG - Response for deleting network () 2025-04-22 12:44:29,582 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 12:44:29,583 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-04-22 12:44:29,583 - INFO - -------------------------------------------------------------------------------- 2025-04-22 12:44:30,236 - INFO - Deleted project: ctest-TestBasicVMVNx-40833901, ID : 6f206ba6-f67a-4518-b610-c921ebf00ff5