2025-11-24 14:38:40,606 - INFO - Domain Default found not creating 2025-11-24 14:38:40,810 - INFO - Project ctest-TestBasicVMVNx-14203036 not found, creating it 2025-11-24 14:38:41,317 - INFO - Created Project:ctest-TestBasicVMVNx-14203036, ID : 92d4f1e3-e344-4ed4-b125-ce4bacbb566f 2025-11-24 14:38:43,227 - INFO - ================================================================================ 2025-11-24 14:38:43,227 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-24 14:38:43,227 - 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-11-24 14:38:43,500 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2025-11-24 14:38:43,500 - INFO - Initial checks done. Running the testcase now 2025-11-24 14:38:43,500 - INFO - 2025-11-24 14:38:44,165 - DEBUG - Response for create_network : {'network': {'id': 'a276ff0d-5599-44c9-85a9-931566dc1183', 'name': 'ctest-vn-78042450', 'tenant_id': '92d4f1e3e3444ed4b125ce4bacbb566f', 'project_id': '92d4f1e3e3444ed4b125ce4bacbb566f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-14203036', 'ctest-vn-78042450'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 14:38:44,397 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f958a12-5b59-40e4-a722-b66bb499e161', 'name': '', 'tenant_id': '92d4f1e3e3444ed4b125ce4bacbb566f', 'network_id': 'a276ff0d-5599-44c9-85a9-931566dc1183', 'ip_version': 4, 'cidr': '14.158.10.192/26', 'allocation_pools': [{'start': '14.158.10.194', 'end': '14.158.10.254'}], 'gateway_ip': '14.158.10.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.158.10.194', 'tags': [], 'project_id': '92d4f1e3e3444ed4b125ce4bacbb566f'}} 2025-11-24 14:38:44,420 - INFO - Created VN ctest-vn-78042450 2025-11-24 14:38:44,474 - DEBUG - VN ctest-vn-78042450 UUID is a276ff0d-5599-44c9-85a9-931566dc1183 2025-11-24 14:38:44,666 - DEBUG - Services list from nova: [, , ] 2025-11-24 14:38:45,861 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4807-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4807-1) 2025-11-24 14:38:47,222 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4807-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4807-1) 2025-11-24 14:38:47,222 - INFO - Waiting for VM ctest-TestBasicVMVNx-14203036-43850819 to be up.. 2025-11-24 14:38:47,327 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 14:38:52,418 - DEBUG - VM is in ACTIVE state now 2025-11-24 14:38:52,419 - INFO - VM name : ctest-TestBasicVMVNx-14203036-43850819 2025-11-24 14:38:52,509 - DEBUG - VM ctest-TestBasicVMVNx-14203036-43850819 ID is 39cefc86-f15a-4a22-810c-81968a2be855 2025-11-24 14:38:52,537 - DEBUG - VM ctest-TestBasicVMVNx-14203036-43850819 launched on Node cn-jenkins-deploy-platform-ansible-os-4807-1 2025-11-24 14:38:52,655 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/39cefc86-f15a-4a22-810c-81968a2be855 2025-11-24 14:38:53,015 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/39cefc86-f15a-4a22-810c-81968a2be855 2025-11-24 14:38:53,054 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dd9054df-f3d9-4775-a456-62847eb12fb0 2025-11-24 14:38:56,334 - 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 1032ms') 2025-11-24 14:38:56,334 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14203036-43850819 failed! 2025-11-24 14:38:56,394 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-14203036:ctest-vn-78042450 is 14.158.10.193 and allocation pool is NOT set 2025-11-24 14:38:58,460 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.16 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.162/2.496/3.831/1.334 ms') 2025-11-24 14:38:58,460 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14203036-43850819 passed 2025-11-24 14:38:58,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:38:58,619 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14203036-43850819, IP 14.158.10.195, Port 22 2025-11-24 14:38:58,685 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-24 14:38:58,783 - DEBUG - VM ctest-TestBasicVMVNx-14203036-43850819 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 14:39:03,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:39:03,784 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14203036-43850819, IP 14.158.10.195, Port 22 2025-11-24 14:39:03,942 - DEBUG - VM ctest-TestBasicVMVNx-14203036-43850819 is ready for SSH connections 2025-11-24 14:39:03,942 - INFO - Waiting for VM ctest-TestBasicVMVNx-14203036-40981298 to be up.. 2025-11-24 14:39:04,029 - DEBUG - VM is in ACTIVE state now 2025-11-24 14:39:04,029 - INFO - VM name : ctest-TestBasicVMVNx-14203036-40981298 2025-11-24 14:39:04,116 - DEBUG - VM ctest-TestBasicVMVNx-14203036-40981298 ID is 8bbd19b8-7328-459c-89ce-3241893819b2 2025-11-24 14:39:04,116 - DEBUG - VM ctest-TestBasicVMVNx-14203036-40981298 launched on Node cn-jenkins-deploy-platform-ansible-os-4807-1 2025-11-24 14:39:04,201 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8bbd19b8-7328-459c-89ce-3241893819b2 2025-11-24 14:39:04,212 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c821dc9b-5989-4a89-8625-bd237b1729c6 2025-11-24 14:39:05,459 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/1.890/3.361/1.471 ms') 2025-11-24 14:39:05,459 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-14203036-40981298 passed 2025-11-24 14:39:05,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:39:05,615 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14203036-40981298, IP 14.158.10.196, Port 22 2025-11-24 14:39:05,780 - DEBUG - VM ctest-TestBasicVMVNx-14203036-40981298 is ready for SSH connections 2025-11-24 14:39:05,780 - DEBUG - FILE SIZE = 1303B 2025-11-24 14:39:05,780 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-14203036-43850819 to ctest-TestBasicVMVNx-14203036-40981298 using scp 2025-11-24 14:39:05,782 - 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.38, gateway password: c0ntrail123 2025-11-24 14:39:05,782 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-24 14:39:07,878 - DEBUG - 1+0 records in 1+0 records out 2025-11-24 14:39:08,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:39:08,589 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-24 14:39:08,589 - DEBUG - ls -l testfile 2025-11-24 14:39:10,294 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 24 07:39 testfile 2025-11-24 14:39:10,294 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-14203036-40981298 2025-11-24 14:39:10,294 - INFO - Deleting VM ctest-TestBasicVMVNx-14203036-40981298 2025-11-24 14:39:10,374 - INFO - Deleting VM ctest-TestBasicVMVNx-14203036-43850819 2025-11-24 14:39:10,467 - INFO - Deleting VN ctest-vn-78042450 2025-11-24 14:39:10,513 - DEBUG - VN a276ff0d-5599-44c9-85a9-931566dc1183 still in use: Unable to complete operation on network a276ff0d-5599-44c9-85a9-931566dc1183. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f5b499c1-85b8-446b-942b-e98284bc7bb0'] 2025-11-24 14:39:10,513 - WARNING - Deleting VN ctest-vn-78042450 failed..Will retry 2025-11-24 14:39:12,625 - DEBUG - Response for deleting network () 2025-11-24 14:39:12,886 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 14:39:12,886 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-11-24 14:39:12,886 - INFO - -------------------------------------------------------------------------------- 2025-11-24 14:39:13,651 - INFO - Deleted project: ctest-TestBasicVMVNx-14203036, ID : 92d4f1e3-e344-4ed4-b125-ce4bacbb566f