2025-04-16 22:06:54,284 - INFO - Domain Default found not creating 2025-04-16 22:06:54,434 - INFO - Project ctest-TestBasicVMVNx-74152602 not found, creating it 2025-04-16 22:06:54,902 - INFO - Created Project:ctest-TestBasicVMVNx-74152602, ID : 1227a815-03bc-4eec-ac0b-19e8ef110663 2025-04-16 22:06:56,389 - INFO - ================================================================================ 2025-04-16 22:06:56,389 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-16 22:06:56,389 - 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-16 22:06:56,652 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-04-16 22:06:56,652 - INFO - Initial checks done. Running the testcase now 2025-04-16 22:06:56,652 - INFO - 2025-04-16 22:06:57,226 - DEBUG - Response for create_network : {'network': {'id': '2183549b-78e1-4d71-9dee-178df25dc045', 'name': 'ctest-vn-45700185', 'tenant_id': '1227a81503bc4eecac0b19e8ef110663', 'project_id': '1227a81503bc4eecac0b19e8ef110663', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-74152602', 'ctest-vn-45700185'], 'port_security_enabled': True, 'description': ''}} 2025-04-16 22:06:57,420 - DEBUG - Response for create_subnet : {'subnet': {'id': '5312382f-0111-4d61-9b4a-ddf388092851', 'name': '', 'tenant_id': '1227a81503bc4eecac0b19e8ef110663', 'network_id': '2183549b-78e1-4d71-9dee-178df25dc045', 'ip_version': 4, 'cidr': '161.14.233.0/26', 'allocation_pools': [{'start': '161.14.233.2', 'end': '161.14.233.62'}], 'gateway_ip': '161.14.233.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.14.233.2', 'tags': [], 'project_id': '1227a81503bc4eecac0b19e8ef110663'}} 2025-04-16 22:06:57,441 - INFO - Created VN ctest-vn-45700185 2025-04-16 22:06:57,496 - DEBUG - VN ctest-vn-45700185 UUID is 2183549b-78e1-4d71-9dee-178df25dc045 2025-04-16 22:06:57,669 - DEBUG - Services list from nova: [, , ] 2025-04-16 22:06:58,706 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3127-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3127-1) 2025-04-16 22:06:59,822 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3127-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3127-1) 2025-04-16 22:06:59,823 - INFO - Waiting for VM ctest-TestBasicVMVNx-74152602-75111090 to be up.. 2025-04-16 22:06:59,916 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-16 22:07:05,000 - DEBUG - VM is in ACTIVE state now 2025-04-16 22:07:05,000 - INFO - VM name : ctest-TestBasicVMVNx-74152602-75111090 2025-04-16 22:07:05,090 - DEBUG - VM ctest-TestBasicVMVNx-74152602-75111090 ID is c18c5b84-4203-4990-a5ff-6cf2a7305984 2025-04-16 22:07:05,108 - DEBUG - VM ctest-TestBasicVMVNx-74152602-75111090 launched on Node cn-jenkins-deploy-platform-ansible-os-3127-1 2025-04-16 22:07:05,191 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c18c5b84-4203-4990-a5ff-6cf2a7305984 2025-04-16 22:07:05,495 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c18c5b84-4203-4990-a5ff-6cf2a7305984 2025-04-16 22:07:05,530 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ca5391d9-fc5f-49a1-9a21-e8c53648ef68 2025-04-16 22:07:08,811 - 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 1026ms') 2025-04-16 22:07:08,812 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74152602-75111090 failed! 2025-04-16 22:07:08,868 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-74152602:ctest-vn-45700185 is 161.14.233.1 and allocation pool is NOT set 2025-04-16 22:07:10,937 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.41 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 = 2.409/3.637/4.865/1.228 ms') 2025-04-16 22:07:10,938 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74152602-75111090 passed 2025-04-16 22:07:11,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 22:07:11,093 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74152602-75111090, IP 161.14.233.3, Port 22 2025-04-16 22:07:11,261 - DEBUG - VM ctest-TestBasicVMVNx-74152602-75111090 is ready for SSH connections 2025-04-16 22:07:11,261 - INFO - Waiting for VM ctest-TestBasicVMVNx-74152602-35166851 to be up.. 2025-04-16 22:07:11,356 - DEBUG - VM is in ACTIVE state now 2025-04-16 22:07:11,356 - INFO - VM name : ctest-TestBasicVMVNx-74152602-35166851 2025-04-16 22:07:11,459 - DEBUG - VM ctest-TestBasicVMVNx-74152602-35166851 ID is 833ae899-a219-4e30-a47d-91769495a72a 2025-04-16 22:07:11,459 - DEBUG - VM ctest-TestBasicVMVNx-74152602-35166851 launched on Node cn-jenkins-deploy-platform-ansible-os-3127-1 2025-04-16 22:07:11,553 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/833ae899-a219-4e30-a47d-91769495a72a 2025-04-16 22:07:11,565 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8bad7259-a2fe-4b12-bcfa-4f0338114d05 2025-04-16 22:07:12,825 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.98 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 = 1.983/3.245/4.507/1.262 ms') 2025-04-16 22:07:12,825 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-74152602-35166851 passed 2025-04-16 22:07:12,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 22:07:12,981 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74152602-35166851, IP 161.14.233.4, Port 22 2025-04-16 22:07:13,151 - DEBUG - VM ctest-TestBasicVMVNx-74152602-35166851 is ready for SSH connections 2025-04-16 22:07:13,151 - DEBUG - FILE SIZE = 1303B 2025-04-16 22:07:13,151 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-74152602-75111090 to ctest-TestBasicVMVNx-74152602-35166851 using scp 2025-04-16 22:07:13,152 - 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.22, gateway password: c0ntrail123 2025-04-16 22:07:13,152 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-16 22:07:15,121 - DEBUG - 1+0 records in 1+0 records out 2025-04-16 22:07:15,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 22:07:16,125 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-04-16 22:07:16,125 - DEBUG - ls -l testfile 2025-04-16 22:07:17,737 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 16 16:07 testfile 2025-04-16 22:07:17,737 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-74152602-35166851 2025-04-16 22:07:17,737 - INFO - Deleting VM ctest-TestBasicVMVNx-74152602-35166851 2025-04-16 22:07:17,819 - INFO - Deleting VM ctest-TestBasicVMVNx-74152602-75111090 2025-04-16 22:07:17,901 - INFO - Deleting VN ctest-vn-45700185 2025-04-16 22:07:17,945 - DEBUG - VN 2183549b-78e1-4d71-9dee-178df25dc045 still in use: Unable to complete operation on network 2183549b-78e1-4d71-9dee-178df25dc045. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4c125613-500b-48a9-b933-7f76c4c2cfb9'] 2025-04-16 22:07:17,945 - WARNING - Deleting VN ctest-vn-45700185 failed..Will retry 2025-04-16 22:07:20,259 - DEBUG - Response for deleting network () 2025-04-16 22:07:20,515 - DEBUG - No XMPP flaps were noticed during the test 2025-04-16 22:07:20,515 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-04-16 22:07:20,515 - INFO - -------------------------------------------------------------------------------- 2025-04-16 22:07:21,276 - INFO - Deleted project: ctest-TestBasicVMVNx-74152602, ID : 1227a815-03bc-4eec-ac0b-19e8ef110663