2025-10-09 20:33:32,873 - INFO - Domain Default found not creating
2025-10-09 20:33:33,070 - INFO - Project ctest-TestBasicVMVNx-36946321 not found, creating it
2025-10-09 20:33:33,555 - INFO - Created Project:ctest-TestBasicVMVNx-36946321, ID : 004f7c9e-3fef-46b3-b6d1-578f709ad151
2025-10-09 20:33:35,465 - INFO - ================================================================================
2025-10-09 20:33:35,465 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-10-09 20:33:35,465 - 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-10-09 20:33:35,791 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2025-10-09 20:33:35,791 - INFO - Initial checks done. Running the testcase now
2025-10-09 20:33:35,791 - INFO -
2025-10-09 20:33:36,474 - DEBUG - Response for create_network : {'network': {'id': 'd395db5a-a640-48ff-b775-301c04291da6', 'name': 'ctest-vn-78833756', 'tenant_id': '004f7c9e3fef46b3b6d1578f709ad151', 'project_id': '004f7c9e3fef46b3b6d1578f709ad151', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-36946321', 'ctest-vn-78833756'], 'port_security_enabled': True, 'description': ''}}
2025-10-09 20:33:36,709 - DEBUG - Response for create_subnet : {'subnet': {'id': '455aa978-8b7d-4fce-8636-b5131079bf6e', 'name': '', 'tenant_id': '004f7c9e3fef46b3b6d1578f709ad151', 'network_id': 'd395db5a-a640-48ff-b775-301c04291da6', 'ip_version': 4, 'cidr': '151.240.47.0/26', 'allocation_pools': [{'start': '151.240.47.2', 'end': '151.240.47.62'}], 'gateway_ip': '151.240.47.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.240.47.2', 'tags': [], 'project_id': '004f7c9e3fef46b3b6d1578f709ad151'}}
2025-10-09 20:33:36,732 - INFO - Created VN ctest-vn-78833756
2025-10-09 20:33:36,791 - DEBUG - VN ctest-vn-78833756 UUID is d395db5a-a640-48ff-b775-301c04291da6
2025-10-09 20:33:37,161 - DEBUG - Services list from nova: [, , ]
2025-10-09 20:33:38,873 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4277-1)
2025-10-09 20:33:40,400 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4277-1)
2025-10-09 20:33:40,401 - INFO - Waiting for VM ctest-TestBasicVMVNx-36946321-00526496 to be up..
2025-10-09 20:33:40,519 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-09 20:33:45,739 - DEBUG - VM is in ACTIVE state now
2025-10-09 20:33:45,740 - INFO - VM name : ctest-TestBasicVMVNx-36946321-00526496
2025-10-09 20:33:45,890 - DEBUG - VM ctest-TestBasicVMVNx-36946321-00526496 ID is c5afc8a9-c7d6-4a5c-a328-6be28a726df5
2025-10-09 20:33:45,923 - DEBUG - VM ctest-TestBasicVMVNx-36946321-00526496 launched on Node cn-jenkins-deploy-platform-ansible-os-4277-1
2025-10-09 20:33:46,020 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c5afc8a9-c7d6-4a5c-a328-6be28a726df5
2025-10-09 20:33:46,333 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c5afc8a9-c7d6-4a5c-a328-6be28a726df5
2025-10-09 20:33:46,392 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/dc8a07b2-ae47-4d47-92d7-6d1e7c59f08d
2025-10-09 20:33:49,706 - 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 1013ms')
2025-10-09 20:33:49,706 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-36946321-00526496 failed!
2025-10-09 20:33:49,766 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-36946321:ctest-vn-78833756 is 151.240.47.1 and allocation pool is NOT set
2025-10-09 20:33:51,855 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.04 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.040/3.894/4.749/0.854 ms')
2025-10-09 20:33:51,856 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-36946321-00526496 passed
2025-10-09 20:33:52,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 20:33:52,031 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-36946321-00526496, IP 151.240.47.3, Port 22
2025-10-09 20:33:52,102 - 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-10-09 20:33:52,213 - DEBUG - VM ctest-TestBasicVMVNx-36946321-00526496 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-09 20:33:57,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 20:33:57,215 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-36946321-00526496, IP 151.240.47.3, Port 22
2025-10-09 20:33:57,416 - DEBUG - VM ctest-TestBasicVMVNx-36946321-00526496 is ready for SSH connections
2025-10-09 20:33:57,416 - INFO - Waiting for VM ctest-TestBasicVMVNx-36946321-62886194 to be up..
2025-10-09 20:33:57,583 - DEBUG - VM is in ACTIVE state now
2025-10-09 20:33:57,583 - INFO - VM name : ctest-TestBasicVMVNx-36946321-62886194
2025-10-09 20:33:57,783 - DEBUG - VM ctest-TestBasicVMVNx-36946321-62886194 ID is f72dfab7-5179-463b-ab2f-36f7f5279aff
2025-10-09 20:33:57,783 - DEBUG - VM ctest-TestBasicVMVNx-36946321-62886194 launched on Node cn-jenkins-deploy-platform-ansible-os-4277-1
2025-10-09 20:33:57,963 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/f72dfab7-5179-463b-ab2f-36f7f5279aff
2025-10-09 20:33:57,982 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/1b918658-50cf-48f9-ba66-852f6015a320
2025-10-09 20:33:59,312 - 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=8.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.991 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.991/4.882/8.773/3.891 ms')
2025-10-09 20:33:59,312 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-36946321-62886194 passed
2025-10-09 20:33:59,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 20:33:59,494 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-36946321-62886194, IP 151.240.47.4, Port 22
2025-10-09 20:33:59,701 - DEBUG - VM ctest-TestBasicVMVNx-36946321-62886194 is ready for SSH connections
2025-10-09 20:33:59,701 - DEBUG - FILE SIZE = 1303B
2025-10-09 20:33:59,701 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-36946321-00526496 to ctest-TestBasicVMVNx-36946321-62886194 using scp
2025-10-09 20:33:59,707 - 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.242, gateway password: c0ntrail123
2025-10-09 20:33:59,707 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-10-09 20:34:01,855 - DEBUG - 1+0 records in
1+0 records out
2025-10-09 20:34:02,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-09 20:34:02,856 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-10-09 20:34:02,857 - DEBUG - ls -l testfile
2025-10-09 20:34:04,795 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 9 14:34 [0;0mtestfile[0m
2025-10-09 20:34:04,795 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-36946321-62886194
2025-10-09 20:34:04,795 - INFO - Deleting VM ctest-TestBasicVMVNx-36946321-62886194
2025-10-09 20:34:04,904 - INFO - Deleting VM ctest-TestBasicVMVNx-36946321-00526496
2025-10-09 20:34:05,077 - INFO - Deleting VN ctest-vn-78833756
2025-10-09 20:34:05,173 - DEBUG - VN d395db5a-a640-48ff-b775-301c04291da6 still in use: Unable to complete operation on network d395db5a-a640-48ff-b775-301c04291da6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-331bdff9-83b7-4237-9f3d-64c1dee8260d']
2025-10-09 20:34:05,174 - WARNING - Deleting VN ctest-vn-78833756 failed..Will retry
2025-10-09 20:34:07,371 - DEBUG - Response for deleting network ()
2025-10-09 20:34:07,681 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 20:34:07,681 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32]
2025-10-09 20:34:07,681 - INFO - --------------------------------------------------------------------------------
2025-10-09 20:34:08,536 - INFO - Deleted project: ctest-TestBasicVMVNx-36946321, ID : 004f7c9e-3fef-46b3-b6d1-578f709ad151