2026-01-06 05:38:58,216 - INFO - Domain Default found not creating
2026-01-06 05:38:58,413 - INFO - Project ctest-TestBasicVMVNx-93882367 not found, creating it
2026-01-06 05:38:58,903 - INFO - Created Project:ctest-TestBasicVMVNx-93882367, ID : 290e5d5d-d250-4e36-90be-1ceedfdfacbb
2026-01-06 05:39:01,039 - INFO - ================================================================================
2026-01-06 05:39:01,039 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-01-06 05:39:01,039 - 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
2026-01-06 05:39:01,294 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-01-06 05:39:01,294 - INFO - Initial checks done. Running the testcase now
2026-01-06 05:39:01,294 - INFO -
2026-01-06 05:39:01,972 - DEBUG - Response for create_network : {'network': {'id': '5c422dca-ed56-4f39-bf67-9bc8242f19cc', 'name': 'ctest-vn-63237637', 'tenant_id': '290e5d5dd2504e3690be1ceedfdfacbb', 'project_id': '290e5d5dd2504e3690be1ceedfdfacbb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-93882367', 'ctest-vn-63237637'], 'port_security_enabled': True, 'description': ''}}
2026-01-06 05:39:02,135 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4814b37-e190-4e21-bdd5-6bb4c390d6a5', 'name': '', 'tenant_id': '290e5d5dd2504e3690be1ceedfdfacbb', 'network_id': '5c422dca-ed56-4f39-bf67-9bc8242f19cc', 'ip_version': 4, 'cidr': '41.90.25.192/26', 'allocation_pools': [{'start': '41.90.25.194', 'end': '41.90.25.254'}], 'gateway_ip': '41.90.25.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.90.25.194', 'tags': [], 'project_id': '290e5d5dd2504e3690be1ceedfdfacbb'}}
2026-01-06 05:39:02,153 - INFO - Created VN ctest-vn-63237637
2026-01-06 05:39:02,204 - DEBUG - VN ctest-vn-63237637 UUID is 5c422dca-ed56-4f39-bf67-9bc8242f19cc
2026-01-06 05:39:02,383 - DEBUG - Services list from nova: [, , ]
2026-01-06 05:39:03,531 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4967-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4967-1)
2026-01-06 05:39:04,780 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4967-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4967-1)
2026-01-06 05:39:04,780 - INFO - Waiting for VM ctest-TestBasicVMVNx-93882367-12276917 to be up..
2026-01-06 05:39:04,862 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-06 05:39:09,945 - DEBUG - VM is in ACTIVE state now
2026-01-06 05:39:09,945 - INFO - VM name : ctest-TestBasicVMVNx-93882367-12276917
2026-01-06 05:39:10,022 - DEBUG - VM ctest-TestBasicVMVNx-93882367-12276917 ID is 0c8fbfb2-48e4-4521-b313-107b01d826ff
2026-01-06 05:39:10,042 - DEBUG - VM ctest-TestBasicVMVNx-93882367-12276917 launched on Node cn-jenkins-deploy-platform-ansible-os-4967-1
2026-01-06 05:39:10,116 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0c8fbfb2-48e4-4521-b313-107b01d826ff
2026-01-06 05:39:10,453 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0c8fbfb2-48e4-4521-b313-107b01d826ff
2026-01-06 05:39:10,487 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c5c0bf41-f088-46e2-82bc-07b3164aaf8a
2026-01-06 05:39:13,752 - 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 1029ms')
2026-01-06 05:39:13,752 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93882367-12276917 failed!
2026-01-06 05:39:13,808 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-93882367:ctest-vn-63237637 is 41.90.25.193 and allocation pool is NOT set
2026-01-06 05:39:15,870 - 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.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.201/2.731/4.261/1.530 ms')
2026-01-06 05:39:15,870 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93882367-12276917 passed
2026-01-06 05:39:16,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-06 05:39:16,028 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93882367-12276917, IP 41.90.25.195, Port 22
2026-01-06 05:39:16,093 - 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': ''}
2026-01-06 05:39:16,177 - DEBUG - VM ctest-TestBasicVMVNx-93882367-12276917 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-06 05:39:21,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-06 05:39:21,178 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93882367-12276917, IP 41.90.25.195, Port 22
2026-01-06 05:39:21,335 - DEBUG - VM ctest-TestBasicVMVNx-93882367-12276917 is ready for SSH connections
2026-01-06 05:39:21,336 - INFO - Waiting for VM ctest-TestBasicVMVNx-93882367-07251774 to be up..
2026-01-06 05:39:21,416 - DEBUG - VM is in ACTIVE state now
2026-01-06 05:39:21,417 - INFO - VM name : ctest-TestBasicVMVNx-93882367-07251774
2026-01-06 05:39:21,495 - DEBUG - VM ctest-TestBasicVMVNx-93882367-07251774 ID is 4bd99fdf-7c1b-4f4a-8b33-0bf03bf1f2d5
2026-01-06 05:39:21,496 - DEBUG - VM ctest-TestBasicVMVNx-93882367-07251774 launched on Node cn-jenkins-deploy-platform-ansible-os-4967-1
2026-01-06 05:39:21,575 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4bd99fdf-7c1b-4f4a-8b33-0bf03bf1f2d5
2026-01-06 05:39:21,583 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/65cd7d88-4f2b-4e20-82a5-f04a3369b9c5
2026-01-06 05:39:22,825 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.515 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.515/2.475/4.436/1.960 ms')
2026-01-06 05:39:22,825 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-93882367-07251774 passed
2026-01-06 05:39:22,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-06 05:39:22,976 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93882367-07251774, IP 41.90.25.196, Port 22
2026-01-06 05:39:23,131 - DEBUG - VM ctest-TestBasicVMVNx-93882367-07251774 is ready for SSH connections
2026-01-06 05:39:23,131 - DEBUG - FILE SIZE = 1303B
2026-01-06 05:39:23,132 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-93882367-12276917 to ctest-TestBasicVMVNx-93882367-07251774 using scp
2026-01-06 05:39:23,133 - 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.50, gateway password: c0ntrail123
2026-01-06 05:39:23,133 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-01-06 05:39:25,180 - DEBUG - 1+0 records in
1+0 records out
2026-01-06 05:39:25,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-06 05:39:25,863 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-01-06 05:39:25,864 - DEBUG - ls -l testfile
2026-01-06 05:39:27,503 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 5 22:39 [0;0mtestfile[0m
2026-01-06 05:39:27,504 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-93882367-07251774
2026-01-06 05:39:27,504 - INFO - Deleting VM ctest-TestBasicVMVNx-93882367-07251774
2026-01-06 05:39:27,576 - INFO - Deleting VM ctest-TestBasicVMVNx-93882367-12276917
2026-01-06 05:39:27,653 - INFO - Deleting VN ctest-vn-63237637
2026-01-06 05:39:27,703 - DEBUG - VN 5c422dca-ed56-4f39-bf67-9bc8242f19cc still in use: Unable to complete operation on network 5c422dca-ed56-4f39-bf67-9bc8242f19cc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-de0a3921-09f6-47cc-a980-7a172b1b4149']
2026-01-06 05:39:27,704 - WARNING - Deleting VN ctest-vn-63237637 failed..Will retry
2026-01-06 05:39:29,816 - DEBUG - Response for deleting network ()
2026-01-06 05:39:30,077 - DEBUG - No XMPP flaps were noticed during the test
2026-01-06 05:39:30,077 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2026-01-06 05:39:30,077 - INFO - --------------------------------------------------------------------------------
2026-01-06 05:39:30,823 - INFO - Deleted project: ctest-TestBasicVMVNx-93882367, ID : 290e5d5d-d250-4e36-90be-1ceedfdfacbb