2025-03-27 02:39:16,801 - INFO - Domain Default found not creating 2025-03-27 02:39:16,975 - INFO - Project ctest-TestBasicVMVNx-22733652 not found, creating it 2025-03-27 02:39:17,469 - INFO - Created Project:ctest-TestBasicVMVNx-22733652, ID : 4b07285d-5285-4850-893f-96cb0e8e2b5b 2025-03-27 02:39:18,976 - INFO - ================================================================================ 2025-03-27 02:39:18,976 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-27 02:39:18,976 - 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-27 02:39:19,234 - DEBUG - Nothing to compare xmpp stats {'10.0.0.43': {'10.20.0.6': '0'}} with 2025-03-27 02:39:19,234 - INFO - Initial checks done. Running the testcase now 2025-03-27 02:39:19,234 - INFO - 2025-03-27 02:39:19,841 - DEBUG - Response for create_network : {'network': {'id': '485c7de5-68c7-4696-be55-6b9e95771436', 'name': 'ctest-vn-04166169', 'tenant_id': '4b07285d52854850893f96cb0e8e2b5b', 'project_id': '4b07285d52854850893f96cb0e8e2b5b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-22733652', 'ctest-vn-04166169'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 02:39:20,050 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2640577-ffb7-47dc-b64d-caee5c286fc2', 'name': '', 'tenant_id': '4b07285d52854850893f96cb0e8e2b5b', 'network_id': '485c7de5-68c7-4696-be55-6b9e95771436', 'ip_version': 4, 'cidr': '58.196.38.0/26', 'allocation_pools': [{'start': '58.196.38.2', 'end': '58.196.38.62'}], 'gateway_ip': '58.196.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.196.38.2', 'tags': [], 'project_id': '4b07285d52854850893f96cb0e8e2b5b'}} 2025-03-27 02:39:20,070 - INFO - Created VN ctest-vn-04166169 2025-03-27 02:39:20,122 - DEBUG - VN ctest-vn-04166169 UUID is 485c7de5-68c7-4696-be55-6b9e95771436 2025-03-27 02:39:20,294 - DEBUG - Services list from nova: [, , ] 2025-03-27 02:39:21,347 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2965-1) 2025-03-27 02:39:22,509 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2965-1) 2025-03-27 02:39:22,509 - INFO - Waiting for VM ctest-TestBasicVMVNx-22733652-77638098 to be up.. 2025-03-27 02:39:22,602 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 02:39:27,701 - DEBUG - VM is in ACTIVE state now 2025-03-27 02:39:27,701 - INFO - VM name : ctest-TestBasicVMVNx-22733652-77638098 2025-03-27 02:39:27,794 - DEBUG - VM ctest-TestBasicVMVNx-22733652-77638098 ID is 4ad677c6-8b8e-4e97-836f-661bdccc9067 2025-03-27 02:39:27,819 - DEBUG - VM ctest-TestBasicVMVNx-22733652-77638098 launched on Node cn-jenkins-deploy-platform-ansible-os-2965-1 2025-03-27 02:39:27,903 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/4ad677c6-8b8e-4e97-836f-661bdccc9067 2025-03-27 02:39:28,203 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/4ad677c6-8b8e-4e97-836f-661bdccc9067 2025-03-27 02:39:28,238 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/7bf603b0-c6b8-43ed-a885-e5e35fbba241 2025-03-27 02:39:31,496 - 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 1009ms') 2025-03-27 02:39:31,496 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-22733652-77638098 failed! 2025-03-27 02:39:31,550 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-22733652:ctest-vn-04166169 is 58.196.38.1 and allocation pool is NOT set 2025-03-27 02:39:33,611 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.68 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.683/3.082/4.482/1.399 ms') 2025-03-27 02:39:33,612 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-22733652-77638098 passed 2025-03-27 02:39:33,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:39:33,767 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-22733652-77638098, IP 58.196.38.3, Port 22 2025-03-27 02:39:33,936 - DEBUG - VM ctest-TestBasicVMVNx-22733652-77638098 is ready for SSH connections 2025-03-27 02:39:33,936 - INFO - Waiting for VM ctest-TestBasicVMVNx-22733652-17819725 to be up.. 2025-03-27 02:39:34,024 - DEBUG - VM is in ACTIVE state now 2025-03-27 02:39:34,024 - INFO - VM name : ctest-TestBasicVMVNx-22733652-17819725 2025-03-27 02:39:34,112 - DEBUG - VM ctest-TestBasicVMVNx-22733652-17819725 ID is 3597691d-8586-455b-b889-921bee5f5918 2025-03-27 02:39:34,112 - DEBUG - VM ctest-TestBasicVMVNx-22733652-17819725 launched on Node cn-jenkins-deploy-platform-ansible-os-2965-1 2025-03-27 02:39:34,190 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/3597691d-8586-455b-b889-921bee5f5918 2025-03-27 02:39:34,200 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/d48d5661-a665-4d50-8f60-be5f43b2bb2c 2025-03-27 02:39:35,440 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.579 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.579/1.754/2.929/1.175 ms') 2025-03-27 02:39:35,440 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-22733652-17819725 passed 2025-03-27 02:39:35,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:39:35,591 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-22733652-17819725, IP 58.196.38.4, Port 22 2025-03-27 02:39:35,747 - DEBUG - VM ctest-TestBasicVMVNx-22733652-17819725 is ready for SSH connections 2025-03-27 02:39:35,747 - DEBUG - FILE SIZE = 1303B 2025-03-27 02:39:35,747 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-22733652-77638098 to ctest-TestBasicVMVNx-22733652-17819725 using scp 2025-03-27 02:39:35,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:39:35,757 - 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.43, gateway password: c0ntrail123 2025-03-27 02:39:35,757 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-27 02:39:37,748 - DEBUG - 1+0 records in 1+0 records out 2025-03-27 02:39:38,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:39:38,884 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123 2025-03-27 02:39:38,884 - DEBUG - ls -l testfile 2025-03-27 02:39:40,502 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 26 20:39 testfile 2025-03-27 02:39:40,502 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-22733652-17819725 2025-03-27 02:39:40,503 - INFO - Deleting VM ctest-TestBasicVMVNx-22733652-17819725 2025-03-27 02:39:40,573 - INFO - Deleting VM ctest-TestBasicVMVNx-22733652-77638098 2025-03-27 02:39:40,664 - INFO - Deleting VN ctest-vn-04166169 2025-03-27 02:39:40,706 - DEBUG - VN 485c7de5-68c7-4696-be55-6b9e95771436 still in use: Unable to complete operation on network 485c7de5-68c7-4696-be55-6b9e95771436. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7762d397-b9dc-4a52-ac90-0a8428f4d44f'] 2025-03-27 02:39:40,706 - WARNING - Deleting VN ctest-vn-04166169 failed..Will retry 2025-03-27 02:39:42,835 - DEBUG - Response for deleting network () 2025-03-27 02:39:43,101 - DEBUG - No XMPP flaps were noticed during the test 2025-03-27 02:39:43,101 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2025-03-27 02:39:43,102 - INFO - -------------------------------------------------------------------------------- 2025-03-27 02:39:43,816 - INFO - Deleted project: ctest-TestBasicVMVNx-22733652, ID : 4b07285d-5285-4850-893f-96cb0e8e2b5b