2025-03-24 02:19:45,277 - INFO - Domain Default found not creating 2025-03-24 02:19:45,417 - INFO - Project ctest-TestBasicVMVNx-26390571 not found, creating it 2025-03-24 02:19:45,846 - INFO - Created Project:ctest-TestBasicVMVNx-26390571, ID : 45cf3b92-43cf-4e72-bfc9-6be900172937 2025-03-24 02:19:47,241 - INFO - ================================================================================ 2025-03-24 02:19:47,241 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-24 02:19:47,241 - 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-24 02:19:47,501 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.7': '0'}} with 2025-03-24 02:19:47,501 - INFO - Initial checks done. Running the testcase now 2025-03-24 02:19:47,501 - INFO - 2025-03-24 02:19:48,049 - DEBUG - Response for create_network : {'network': {'id': 'e4ff4e19-0d92-40be-96b4-19ac35a7f5eb', 'name': 'ctest-vn-40385967', 'tenant_id': '45cf3b9243cf4e72bfc96be900172937', 'project_id': '45cf3b9243cf4e72bfc96be900172937', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-26390571', 'ctest-vn-40385967'], 'port_security_enabled': True, 'description': ''}} 2025-03-24 02:19:48,269 - DEBUG - Response for create_subnet : {'subnet': {'id': '8dde2ed0-45b6-4934-b3d4-45f881e57bc8', 'name': '', 'tenant_id': '45cf3b9243cf4e72bfc96be900172937', 'network_id': 'e4ff4e19-0d92-40be-96b4-19ac35a7f5eb', 'ip_version': 4, 'cidr': '12.111.161.128/26', 'allocation_pools': [{'start': '12.111.161.130', 'end': '12.111.161.190'}], 'gateway_ip': '12.111.161.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.111.161.130', 'tags': [], 'project_id': '45cf3b9243cf4e72bfc96be900172937'}} 2025-03-24 02:19:48,287 - INFO - Created VN ctest-vn-40385967 2025-03-24 02:19:48,339 - DEBUG - VN ctest-vn-40385967 UUID is e4ff4e19-0d92-40be-96b4-19ac35a7f5eb 2025-03-24 02:19:48,493 - DEBUG - Services list from nova: [, , ] 2025-03-24 02:19:49,456 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2939-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2939-1) 2025-03-24 02:19:50,550 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2939-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2939-1) 2025-03-24 02:19:50,550 - INFO - Waiting for VM ctest-TestBasicVMVNx-26390571-53918642 to be up.. 2025-03-24 02:19:50,633 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-24 02:19:55,708 - DEBUG - VM is in ACTIVE state now 2025-03-24 02:19:55,708 - INFO - VM name : ctest-TestBasicVMVNx-26390571-53918642 2025-03-24 02:19:55,778 - DEBUG - VM ctest-TestBasicVMVNx-26390571-53918642 ID is d584a7d2-ad77-4477-970b-eaaf65800752 2025-03-24 02:19:55,799 - DEBUG - VM ctest-TestBasicVMVNx-26390571-53918642 launched on Node cn-jenkins-deploy-platform-ansible-os-2939-1 2025-03-24 02:19:55,872 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d584a7d2-ad77-4477-970b-eaaf65800752 2025-03-24 02:19:56,166 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d584a7d2-ad77-4477-970b-eaaf65800752 2025-03-24 02:19:56,196 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/8ec73f9c-2b8b-41b9-83fd-74b0edd08e2d 2025-03-24 02:19:59,441 - 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 1015ms') 2025-03-24 02:19:59,441 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-26390571-53918642 failed! 2025-03-24 02:19:59,495 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-26390571:ctest-vn-40385967 is 12.111.161.129 and allocation pool is NOT set 2025-03-24 02:20:01,553 - 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=3.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.560 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.560/2.158/3.756/1.598 ms') 2025-03-24 02:20:01,553 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-26390571-53918642 passed 2025-03-24 02:20:01,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 02:20:01,707 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-26390571-53918642, IP 12.111.161.131, Port 22 2025-03-24 02:20:01,862 - DEBUG - VM ctest-TestBasicVMVNx-26390571-53918642 is ready for SSH connections 2025-03-24 02:20:01,863 - INFO - Waiting for VM ctest-TestBasicVMVNx-26390571-77013069 to be up.. 2025-03-24 02:20:01,936 - DEBUG - VM is in ACTIVE state now 2025-03-24 02:20:01,936 - INFO - VM name : ctest-TestBasicVMVNx-26390571-77013069 2025-03-24 02:20:02,017 - DEBUG - VM ctest-TestBasicVMVNx-26390571-77013069 ID is d660cdf8-53dc-4214-9dbe-ca975c8c093c 2025-03-24 02:20:02,017 - DEBUG - VM ctest-TestBasicVMVNx-26390571-77013069 launched on Node cn-jenkins-deploy-platform-ansible-os-2939-1 2025-03-24 02:20:02,088 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d660cdf8-53dc-4214-9dbe-ca975c8c093c 2025-03-24 02:20:02,096 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b8fdade0-cc78-479b-8287-ed5d18f200c0 2025-03-24 02:20:03,327 - 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=3.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.369 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.369/1.718/3.067/1.349 ms') 2025-03-24 02:20:03,327 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-26390571-77013069 passed 2025-03-24 02:20:03,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 02:20:03,475 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-26390571-77013069, IP 12.111.161.132, Port 22 2025-03-24 02:20:03,631 - DEBUG - VM ctest-TestBasicVMVNx-26390571-77013069 is ready for SSH connections 2025-03-24 02:20:03,631 - DEBUG - FILE SIZE = 1303B 2025-03-24 02:20:03,631 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-26390571-53918642 to ctest-TestBasicVMVNx-26390571-77013069 using scp 2025-03-24 02:20:03,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 02:20:03,636 - 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.27, gateway password: c0ntrail123 2025-03-24 02:20:03,636 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-24 02:20:05,555 - DEBUG - 1+0 records in 1+0 records out 2025-03-24 02:20:06,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-24 02:20:06,632 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-03-24 02:20:06,632 - DEBUG - ls -l testfile 2025-03-24 02:20:08,216 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 23 20:20 testfile 2025-03-24 02:20:08,216 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-26390571-77013069 2025-03-24 02:20:08,217 - INFO - Deleting VM ctest-TestBasicVMVNx-26390571-77013069 2025-03-24 02:20:08,282 - INFO - Deleting VM ctest-TestBasicVMVNx-26390571-53918642 2025-03-24 02:20:08,355 - INFO - Deleting VN ctest-vn-40385967 2025-03-24 02:20:08,388 - DEBUG - VN e4ff4e19-0d92-40be-96b4-19ac35a7f5eb still in use: Unable to complete operation on network e4ff4e19-0d92-40be-96b4-19ac35a7f5eb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7662991e-d231-460f-a4bc-900e0f38506a'] 2025-03-24 02:20:08,388 - WARNING - Deleting VN ctest-vn-40385967 failed..Will retry 2025-03-24 02:20:10,488 - DEBUG - Response for deleting network () 2025-03-24 02:20:10,749 - DEBUG - No XMPP flaps were noticed during the test 2025-03-24 02:20:10,749 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-03-24 02:20:10,749 - INFO - -------------------------------------------------------------------------------- 2025-03-24 02:20:11,388 - INFO - Deleted project: ctest-TestBasicVMVNx-26390571, ID : 45cf3b92-43cf-4e72-bfc9-6be900172937