2025-08-29 14:31:50,031 - INFO - Domain Default found not creating 2025-08-29 14:31:50,171 - INFO - Project ctest-TestBasicVMVNx-18956914 not found, creating it 2025-08-29 14:31:50,588 - INFO - Created Project:ctest-TestBasicVMVNx-18956914, ID : c61fb421-a6a9-4ac2-9a3d-7b7505325853 2025-08-29 14:31:52,046 - INFO - ================================================================================ 2025-08-29 14:31:52,046 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-29 14:31:52,046 - 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-08-29 14:31:52,298 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-29 14:31:52,298 - INFO - Initial checks done. Running the testcase now 2025-08-29 14:31:52,298 - INFO - 2025-08-29 14:31:52,813 - DEBUG - Response for create_network : {'network': {'id': '624a825c-3ec9-4d66-8578-37fc8d7bafbb', 'name': 'ctest-vn-13385961', 'tenant_id': 'c61fb421a6a94ac29a3d7b7505325853', 'project_id': 'c61fb421a6a94ac29a3d7b7505325853', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-18956914', 'ctest-vn-13385961'], 'port_security_enabled': True, 'description': ''}} 2025-08-29 14:31:52,983 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd846bb6-e12e-4de1-ae68-829f236d4964', 'name': '', 'tenant_id': 'c61fb421a6a94ac29a3d7b7505325853', 'network_id': '624a825c-3ec9-4d66-8578-37fc8d7bafbb', 'ip_version': 4, 'cidr': '49.58.204.128/26', 'allocation_pools': [{'start': '49.58.204.130', 'end': '49.58.204.190'}], 'gateway_ip': '49.58.204.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.58.204.130', 'tags': [], 'project_id': 'c61fb421a6a94ac29a3d7b7505325853'}} 2025-08-29 14:31:52,999 - INFO - Created VN ctest-vn-13385961 2025-08-29 14:31:53,049 - DEBUG - VN ctest-vn-13385961 UUID is 624a825c-3ec9-4d66-8578-37fc8d7bafbb 2025-08-29 14:31:53,238 - DEBUG - Services list from nova: [, , ] 2025-08-29 14:31:54,231 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3973-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3973-1) 2025-08-29 14:31:55,311 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3973-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3973-1) 2025-08-29 14:31:55,312 - INFO - Waiting for VM ctest-TestBasicVMVNx-18956914-90974049 to be up.. 2025-08-29 14:31:55,385 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-29 14:32:00,460 - DEBUG - VM is in ACTIVE state now 2025-08-29 14:32:00,460 - INFO - VM name : ctest-TestBasicVMVNx-18956914-90974049 2025-08-29 14:32:00,549 - DEBUG - VM ctest-TestBasicVMVNx-18956914-90974049 ID is 33ac80dd-9209-4b34-a80b-c40ed7718616 2025-08-29 14:32:00,566 - DEBUG - VM ctest-TestBasicVMVNx-18956914-90974049 launched on Node cn-jenkins-deploy-platform-ansible-os-3973-1 2025-08-29 14:32:00,631 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/33ac80dd-9209-4b34-a80b-c40ed7718616 2025-08-29 14:32:00,936 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/33ac80dd-9209-4b34-a80b-c40ed7718616 2025-08-29 14:32:00,968 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ad35e44e-2b68-4ae3-803e-75738ac8dac6 2025-08-29 14:32:04,215 - 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 1007ms') 2025-08-29 14:32:04,215 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-18956914-90974049 failed! 2025-08-29 14:32:04,269 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-18956914:ctest-vn-13385961 is 49.58.204.129 and allocation pool is NOT set 2025-08-29 14:32:06,325 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.391 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.391/1.606/2.822/1.215 ms') 2025-08-29 14:32:06,326 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-18956914-90974049 passed 2025-08-29 14:32:06,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 14:32:06,477 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-18956914-90974049, IP 49.58.204.131, Port 22 2025-08-29 14:32:06,637 - DEBUG - VM ctest-TestBasicVMVNx-18956914-90974049 is ready for SSH connections 2025-08-29 14:32:06,637 - INFO - Waiting for VM ctest-TestBasicVMVNx-18956914-94612703 to be up.. 2025-08-29 14:32:06,710 - DEBUG - VM is in ACTIVE state now 2025-08-29 14:32:06,710 - INFO - VM name : ctest-TestBasicVMVNx-18956914-94612703 2025-08-29 14:32:06,777 - DEBUG - VM ctest-TestBasicVMVNx-18956914-94612703 ID is 397b4b39-ff4f-45e0-9ebf-eb2f915fb5f5 2025-08-29 14:32:06,777 - DEBUG - VM ctest-TestBasicVMVNx-18956914-94612703 launched on Node cn-jenkins-deploy-platform-ansible-os-3973-1 2025-08-29 14:32:06,853 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/397b4b39-ff4f-45e0-9ebf-eb2f915fb5f5 2025-08-29 14:32:06,861 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/da1739e8-d787-4422-a948-6d010ecbeca4 2025-08-29 14:32:08,095 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.387 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.387/1.597/2.807/1.210 ms') 2025-08-29 14:32:08,095 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-18956914-94612703 passed 2025-08-29 14:32:08,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 14:32:08,245 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-18956914-94612703, IP 49.58.204.132, Port 22 2025-08-29 14:32:08,401 - DEBUG - VM ctest-TestBasicVMVNx-18956914-94612703 is ready for SSH connections 2025-08-29 14:32:08,401 - DEBUG - FILE SIZE = 1303B 2025-08-29 14:32:08,401 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-18956914-90974049 to ctest-TestBasicVMVNx-18956914-94612703 using scp 2025-08-29 14:32:08,402 - 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.254, gateway password: c0ntrail123 2025-08-29 14:32:08,402 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-29 14:32:10,376 - DEBUG - 1+0 records in 1+0 records out 2025-08-29 14:32:11,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 14:32:11,334 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-29 14:32:11,335 - DEBUG - ls -l testfile 2025-08-29 14:32:12,880 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 29 08:32 testfile 2025-08-29 14:32:12,880 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-18956914-94612703 2025-08-29 14:32:12,881 - INFO - Deleting VM ctest-TestBasicVMVNx-18956914-94612703 2025-08-29 14:32:12,939 - INFO - Deleting VM ctest-TestBasicVMVNx-18956914-90974049 2025-08-29 14:32:12,998 - INFO - Deleting VN ctest-vn-13385961 2025-08-29 14:32:13,029 - DEBUG - VN 624a825c-3ec9-4d66-8578-37fc8d7bafbb still in use: Unable to complete operation on network 624a825c-3ec9-4d66-8578-37fc8d7bafbb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-29b5cf18-12c1-45ce-a890-edca5aa4fea5'] 2025-08-29 14:32:13,029 - WARNING - Deleting VN ctest-vn-13385961 failed..Will retry 2025-08-29 14:32:15,134 - DEBUG - Response for deleting network () 2025-08-29 14:32:15,386 - DEBUG - No XMPP flaps were noticed during the test 2025-08-29 14:32:15,386 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-08-29 14:32:15,386 - INFO - -------------------------------------------------------------------------------- 2025-08-29 14:32:16,044 - INFO - Deleted project: ctest-TestBasicVMVNx-18956914, ID : c61fb421-a6a9-4ac2-9a3d-7b7505325853