2025-03-20 02:26:31,879 - INFO - Domain Default found not creating 2025-03-20 02:26:32,043 - INFO - Project ctest-TestBasicVMVNx-27034715 not found, creating it 2025-03-20 02:26:32,518 - INFO - Created Project:ctest-TestBasicVMVNx-27034715, ID : 2b4e1d2f-2676-46f1-8a2f-4814aa0f7541 2025-03-20 02:26:33,980 - INFO - ================================================================================ 2025-03-20 02:26:33,981 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-20 02:26:33,981 - 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-03-20 02:26:34,236 - DEBUG - Nothing to compare xmpp stats {'10.0.0.59': {'10.20.0.20': '0'}} with 2025-03-20 02:26:34,236 - INFO - Initial checks done. Running the testcase now 2025-03-20 02:26:34,236 - INFO - 2025-03-20 02:26:34,799 - DEBUG - Response for create_network : {'network': {'id': '0982f150-af2d-48ba-8ac0-26d2a163a4b2', 'name': 'ctest-vn-62431869', 'tenant_id': '2b4e1d2f267646f18a2f4814aa0f7541', 'project_id': '2b4e1d2f267646f18a2f4814aa0f7541', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-27034715', 'ctest-vn-62431869'], 'port_security_enabled': True, 'description': ''}} 2025-03-20 02:26:34,990 - DEBUG - Response for create_subnet : {'subnet': {'id': '1eb1c773-f46a-4b23-aba8-3bade3be3098', 'name': '', 'tenant_id': '2b4e1d2f267646f18a2f4814aa0f7541', 'network_id': '0982f150-af2d-48ba-8ac0-26d2a163a4b2', 'ip_version': 4, 'cidr': '8.188.181.128/26', 'allocation_pools': [{'start': '8.188.181.130', 'end': '8.188.181.190'}], 'gateway_ip': '8.188.181.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.188.181.130', 'tags': [], 'project_id': '2b4e1d2f267646f18a2f4814aa0f7541'}} 2025-03-20 02:26:35,008 - INFO - Created VN ctest-vn-62431869 2025-03-20 02:26:35,062 - DEBUG - VN ctest-vn-62431869 UUID is 0982f150-af2d-48ba-8ac0-26d2a163a4b2 2025-03-20 02:26:35,227 - DEBUG - Services list from nova: [, , ] 2025-03-20 02:26:36,262 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2924-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2924-1) 2025-03-20 02:26:37,401 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2924-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2924-1) 2025-03-20 02:26:37,401 - INFO - Waiting for VM ctest-TestBasicVMVNx-27034715-76354971 to be up.. 2025-03-20 02:26:37,485 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-20 02:26:42,568 - DEBUG - VM is in ACTIVE state now 2025-03-20 02:26:42,568 - INFO - VM name : ctest-TestBasicVMVNx-27034715-76354971 2025-03-20 02:26:42,661 - DEBUG - VM ctest-TestBasicVMVNx-27034715-76354971 ID is d674c1aa-2c3b-48ee-92a4-f5fbb2971a56 2025-03-20 02:26:42,691 - DEBUG - VM ctest-TestBasicVMVNx-27034715-76354971 launched on Node cn-jenkins-deploy-platform-ansible-os-2924-1 2025-03-20 02:26:42,792 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine/d674c1aa-2c3b-48ee-92a4-f5fbb2971a56 2025-03-20 02:26:43,090 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine/d674c1aa-2c3b-48ee-92a4-f5fbb2971a56 2025-03-20 02:26:43,128 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine-interface/e4887b7f-f77b-4100-8b4b-57e6acfc79ce 2025-03-20 02:26:46,394 - 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 1018ms') 2025-03-20 02:26:46,394 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27034715-76354971 failed! 2025-03-20 02:26:46,449 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-27034715:ctest-vn-62431869 is 8.188.181.129 and allocation pool is NOT set 2025-03-20 02:26:48,514 - 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=5.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.13 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.130/3.373/5.616/2.243 ms') 2025-03-20 02:26:48,515 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27034715-76354971 passed 2025-03-20 02:26:48,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-20 02:26:48,670 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27034715-76354971, IP 8.188.181.131, Port 22 2025-03-20 02:26:48,825 - DEBUG - VM ctest-TestBasicVMVNx-27034715-76354971 is ready for SSH connections 2025-03-20 02:26:48,826 - INFO - Waiting for VM ctest-TestBasicVMVNx-27034715-17991557 to be up.. 2025-03-20 02:26:48,901 - DEBUG - VM is in ACTIVE state now 2025-03-20 02:26:48,902 - INFO - VM name : ctest-TestBasicVMVNx-27034715-17991557 2025-03-20 02:26:48,977 - DEBUG - VM ctest-TestBasicVMVNx-27034715-17991557 ID is f8f8ca5d-f282-4cd2-80fb-71c0d66e490f 2025-03-20 02:26:48,978 - DEBUG - VM ctest-TestBasicVMVNx-27034715-17991557 launched on Node cn-jenkins-deploy-platform-ansible-os-2924-1 2025-03-20 02:26:49,057 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine/f8f8ca5d-f282-4cd2-80fb-71c0d66e490f 2025-03-20 02:26:49,066 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine-interface/c278bbbc-9b4b-409c-8c00-915f24454c4c 2025-03-20 02:26:50,308 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.418 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.418/1.603/2.789/1.185 ms') 2025-03-20 02:26:50,308 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-27034715-17991557 passed 2025-03-20 02:26:50,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-20 02:26:50,458 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27034715-17991557, IP 8.188.181.132, Port 22 2025-03-20 02:26:50,613 - DEBUG - VM ctest-TestBasicVMVNx-27034715-17991557 is ready for SSH connections 2025-03-20 02:26:50,613 - DEBUG - FILE SIZE = 1303B 2025-03-20 02:26:50,613 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-27034715-76354971 to ctest-TestBasicVMVNx-27034715-17991557 using scp 2025-03-20 02:26:50,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-20 02:26:50,619 - 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.59, gateway password: c0ntrail123 2025-03-20 02:26:50,619 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-20 02:26:52,516 - DEBUG - 1+0 records in 1+0 records out 2025-03-20 02:26:53,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-20 02:26:53,468 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.59, gateway password: c0ntrail123 2025-03-20 02:26:53,468 - DEBUG - ls -l testfile 2025-03-20 02:26:55,050 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 19 20:26 testfile 2025-03-20 02:26:55,050 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-27034715-17991557 2025-03-20 02:26:55,051 - INFO - Deleting VM ctest-TestBasicVMVNx-27034715-17991557 2025-03-20 02:26:55,128 - INFO - Deleting VM ctest-TestBasicVMVNx-27034715-76354971 2025-03-20 02:26:55,204 - INFO - Deleting VN ctest-vn-62431869 2025-03-20 02:26:55,243 - DEBUG - VN 0982f150-af2d-48ba-8ac0-26d2a163a4b2 still in use: Unable to complete operation on network 0982f150-af2d-48ba-8ac0-26d2a163a4b2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-28d252c9-5089-47a1-8111-f1882ebc3b1d'] 2025-03-20 02:26:55,243 - WARNING - Deleting VN ctest-vn-62431869 failed..Will retry 2025-03-20 02:26:57,341 - DEBUG - Response for deleting network () 2025-03-20 02:26:57,598 - DEBUG - No XMPP flaps were noticed during the test 2025-03-20 02:26:57,598 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-03-20 02:26:57,598 - INFO - -------------------------------------------------------------------------------- 2025-03-20 02:26:58,262 - INFO - Deleted project: ctest-TestBasicVMVNx-27034715, ID : 2b4e1d2f-2676-46f1-8a2f-4814aa0f7541