2025-09-11 14:43:45,009 - INFO - Domain Default found not creating 2025-09-11 14:43:45,218 - INFO - Project ctest-TestBasicVMVNx-54362152 not found, creating it 2025-09-11 14:43:45,757 - INFO - Created Project:ctest-TestBasicVMVNx-54362152, ID : a4ee5efd-d36a-492e-a4ca-bbcf55e52618 2025-09-11 14:43:47,594 - INFO - ================================================================================ 2025-09-11 14:43:47,595 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-09-11 14:43:47,595 - 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-09-11 14:43:47,868 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.254': '0'}} with 2025-09-11 14:43:47,868 - INFO - Initial checks done. Running the testcase now 2025-09-11 14:43:47,869 - INFO - 2025-09-11 14:43:48,482 - DEBUG - Response for create_network : {'network': {'id': 'e6db45fd-4035-48e1-881c-90b797d39579', 'name': 'ctest-vn-73436076', 'tenant_id': 'a4ee5efdd36a492ea4cabbcf55e52618', 'project_id': 'a4ee5efdd36a492ea4cabbcf55e52618', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-54362152', 'ctest-vn-73436076'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 14:43:48,649 - DEBUG - Response for create_subnet : {'subnet': {'id': '556dd025-e617-4cec-9957-e26e83fb1e8f', 'name': '', 'tenant_id': 'a4ee5efdd36a492ea4cabbcf55e52618', 'network_id': 'e6db45fd-4035-48e1-881c-90b797d39579', 'ip_version': 4, 'cidr': '53.132.1.0/26', 'allocation_pools': [{'start': '53.132.1.2', 'end': '53.132.1.62'}], 'gateway_ip': '53.132.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.132.1.2', 'tags': [], 'project_id': 'a4ee5efdd36a492ea4cabbcf55e52618'}} 2025-09-11 14:43:48,670 - INFO - Created VN ctest-vn-73436076 2025-09-11 14:43:48,727 - DEBUG - VN ctest-vn-73436076 UUID is e6db45fd-4035-48e1-881c-90b797d39579 2025-09-11 14:43:48,924 - DEBUG - Services list from nova: [, , ] 2025-09-11 14:43:50,125 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4093-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4093-1) 2025-09-11 14:43:51,487 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4093-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4093-1) 2025-09-11 14:43:51,487 - INFO - Waiting for VM ctest-TestBasicVMVNx-54362152-95508157 to be up.. 2025-09-11 14:43:51,595 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 14:43:56,709 - DEBUG - VM is in ACTIVE state now 2025-09-11 14:43:56,709 - INFO - VM name : ctest-TestBasicVMVNx-54362152-95508157 2025-09-11 14:43:56,809 - DEBUG - VM ctest-TestBasicVMVNx-54362152-95508157 ID is cd0abae4-7f92-43fb-957f-18ae363505a6 2025-09-11 14:43:56,836 - DEBUG - VM ctest-TestBasicVMVNx-54362152-95508157 launched on Node cn-jenkins-deploy-platform-ansible-os-4093-1 2025-09-11 14:43:56,929 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/cd0abae4-7f92-43fb-957f-18ae363505a6 2025-09-11 14:43:57,277 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/cd0abae4-7f92-43fb-957f-18ae363505a6 2025-09-11 14:43:57,313 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/3cfacdf6-3ec1-413a-b308-2a2d226259d3 2025-09-11 14:44:00,576 - 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 1017ms') 2025-09-11 14:44:00,576 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54362152-95508157 failed! 2025-09-11 14:44:00,635 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-54362152:ctest-vn-73436076 is 53.132.1.1 and allocation pool is NOT set 2025-09-11 14:44:02,709 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.53 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 = 3.525/3.591/3.657/0.066 ms') 2025-09-11 14:44:02,710 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54362152-95508157 passed 2025-09-11 14:44:02,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:44:02,875 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54362152-95508157, IP 53.132.1.3, Port 22 2025-09-11 14:44:02,946 - 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-09-11 14:44:03,041 - DEBUG - VM ctest-TestBasicVMVNx-54362152-95508157 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-11 14:44:08,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:44:08,042 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54362152-95508157, IP 53.132.1.3, Port 22 2025-09-11 14:44:08,217 - DEBUG - VM ctest-TestBasicVMVNx-54362152-95508157 is ready for SSH connections 2025-09-11 14:44:08,217 - INFO - Waiting for VM ctest-TestBasicVMVNx-54362152-28535042 to be up.. 2025-09-11 14:44:08,311 - DEBUG - VM is in ACTIVE state now 2025-09-11 14:44:08,311 - INFO - VM name : ctest-TestBasicVMVNx-54362152-28535042 2025-09-11 14:44:08,394 - DEBUG - VM ctest-TestBasicVMVNx-54362152-28535042 ID is c49c5489-33fd-43f5-aa72-c6f91ac823a1 2025-09-11 14:44:08,395 - DEBUG - VM ctest-TestBasicVMVNx-54362152-28535042 launched on Node cn-jenkins-deploy-platform-ansible-os-4093-1 2025-09-11 14:44:08,484 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/c49c5489-33fd-43f5-aa72-c6f91ac823a1 2025-09-11 14:44:08,494 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/015ca76e-cf5a-470a-8188-1fe80a6b6a91 2025-09-11 14:44:09,737 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.607 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.607/2.395/4.183/1.788 ms') 2025-09-11 14:44:09,737 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-54362152-28535042 passed 2025-09-11 14:44:09,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:44:09,895 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54362152-28535042, IP 53.132.1.4, Port 22 2025-09-11 14:44:10,066 - DEBUG - VM ctest-TestBasicVMVNx-54362152-28535042 is ready for SSH connections 2025-09-11 14:44:10,066 - DEBUG - FILE SIZE = 1303B 2025-09-11 14:44:10,066 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-54362152-95508157 to ctest-TestBasicVMVNx-54362152-28535042 using scp 2025-09-11 14:44:10,068 - 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.137, gateway password: c0ntrail123 2025-09-11 14:44:10,068 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-09-11 14:44:12,222 - DEBUG - 1+0 records in 1+0 records out 2025-09-11 14:44:13,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:44:13,560 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-09-11 14:44:13,561 - DEBUG - ls -l testfile 2025-09-11 14:44:15,260 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 11 08:44 testfile 2025-09-11 14:44:15,260 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-54362152-28535042 2025-09-11 14:44:15,261 - INFO - Deleting VM ctest-TestBasicVMVNx-54362152-28535042 2025-09-11 14:44:15,356 - INFO - Deleting VM ctest-TestBasicVMVNx-54362152-95508157 2025-09-11 14:44:15,448 - INFO - Deleting VN ctest-vn-73436076 2025-09-11 14:44:15,501 - DEBUG - VN e6db45fd-4035-48e1-881c-90b797d39579 still in use: Unable to complete operation on network e6db45fd-4035-48e1-881c-90b797d39579. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-805d4fca-cee8-435e-b7be-9239d382453d'] 2025-09-11 14:44:15,501 - WARNING - Deleting VN ctest-vn-73436076 failed..Will retry 2025-09-11 14:44:17,642 - DEBUG - Response for deleting network () 2025-09-11 14:44:17,910 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 14:44:17,910 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2025-09-11 14:44:17,910 - INFO - -------------------------------------------------------------------------------- 2025-09-11 14:44:18,674 - INFO - Deleted project: ctest-TestBasicVMVNx-54362152, ID : a4ee5efd-d36a-492e-a4ca-bbcf55e52618