2025-11-17 20:41:40,481 - INFO - Domain Default found not creating
2025-11-17 20:41:40,650 - INFO - Project ctest-TestBasicVMVNx-92595773 not found, creating it
2025-11-17 20:41:41,103 - INFO - Created Project:ctest-TestBasicVMVNx-92595773, ID : 52bdf4ce-b6fa-4d11-a93f-7cf6015dd37d
2025-11-17 20:41:42,807 - INFO - ================================================================================
2025-11-17 20:41:42,807 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-11-17 20:41:42,807 - 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-17 20:41:43,065 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-11-17 20:41:43,065 - INFO - Initial checks done. Running the testcase now
2025-11-17 20:41:43,065 - INFO -
2025-11-17 20:41:43,644 - DEBUG - Response for create_network : {'network': {'id': '4feddf4d-8aac-46e4-a9d2-dc10be0fce5a', 'name': 'ctest-vn-39092987', 'tenant_id': '52bdf4ceb6fa4d11a93f7cf6015dd37d', 'project_id': '52bdf4ceb6fa4d11a93f7cf6015dd37d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-92595773', 'ctest-vn-39092987'], 'port_security_enabled': True, 'description': ''}}
2025-11-17 20:41:43,844 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bfe33406-dfe1-4603-8141-4da169d5348f', 'name': '', 'tenant_id': '52bdf4ceb6fa4d11a93f7cf6015dd37d', 'network_id': '4feddf4d-8aac-46e4-a9d2-dc10be0fce5a', 'ip_version': 4, 'cidr': '57.20.156.128/26', 'allocation_pools': [{'start': '57.20.156.130', 'end': '57.20.156.190'}], 'gateway_ip': '57.20.156.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.20.156.130', 'tags': [], 'project_id': '52bdf4ceb6fa4d11a93f7cf6015dd37d'}}
2025-11-17 20:41:43,862 - INFO - Created VN ctest-vn-39092987
2025-11-17 20:41:43,911 - DEBUG - VN ctest-vn-39092987 UUID is 4feddf4d-8aac-46e4-a9d2-dc10be0fce5a
2025-11-17 20:41:44,079 - DEBUG - Services list from nova: [, , ]
2025-11-17 20:41:45,195 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4746-1)
2025-11-17 20:41:46,391 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4746-1)
2025-11-17 20:41:46,391 - INFO - Waiting for VM ctest-TestBasicVMVNx-92595773-08716538 to be up..
2025-11-17 20:41:46,467 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-17 20:41:51,562 - DEBUG - VM is in ACTIVE state now
2025-11-17 20:41:51,563 - INFO - VM name : ctest-TestBasicVMVNx-92595773-08716538
2025-11-17 20:41:51,648 - DEBUG - VM ctest-TestBasicVMVNx-92595773-08716538 ID is 2dfbee99-9930-475d-9285-7acce7e630bc
2025-11-17 20:41:51,676 - DEBUG - VM ctest-TestBasicVMVNx-92595773-08716538 launched on Node cn-jenkins-deploy-platform-ansible-os-4746-1
2025-11-17 20:41:51,793 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2dfbee99-9930-475d-9285-7acce7e630bc
2025-11-17 20:41:52,150 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2dfbee99-9930-475d-9285-7acce7e630bc
2025-11-17 20:41:52,185 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/540937fc-7828-433a-832b-1ee9604040d5
2025-11-17 20:41:55,445 - 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 1022ms')
2025-11-17 20:41:55,445 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-92595773-08716538 failed!
2025-11-17 20:41:55,499 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-92595773:ctest-vn-39092987 is 57.20.156.129 and allocation pool is NOT set
2025-11-17 20:41:57,566 - 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.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.500 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.500/2.206/3.912/1.706 ms')
2025-11-17 20:41:57,566 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-92595773-08716538 passed
2025-11-17 20:41:57,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 20:41:57,724 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92595773-08716538, IP 57.20.156.131, Port 22
2025-11-17 20:41:57,883 - DEBUG - VM ctest-TestBasicVMVNx-92595773-08716538 is ready for SSH connections
2025-11-17 20:41:57,883 - INFO - Waiting for VM ctest-TestBasicVMVNx-92595773-58041675 to be up..
2025-11-17 20:41:57,958 - DEBUG - VM is in ACTIVE state now
2025-11-17 20:41:57,958 - INFO - VM name : ctest-TestBasicVMVNx-92595773-58041675
2025-11-17 20:41:58,030 - DEBUG - VM ctest-TestBasicVMVNx-92595773-58041675 ID is a5ac0d5f-72f1-4b1d-a04c-caa926136546
2025-11-17 20:41:58,030 - DEBUG - VM ctest-TestBasicVMVNx-92595773-58041675 launched on Node cn-jenkins-deploy-platform-ansible-os-4746-1
2025-11-17 20:41:58,102 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a5ac0d5f-72f1-4b1d-a04c-caa926136546
2025-11-17 20:41:58,110 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/881e04fe-3abf-4983-8a53-4a6c036c67b3
2025-11-17 20:41:59,348 - 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=5.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.21 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 = 2.209/3.660/5.112/1.451 ms')
2025-11-17 20:41:59,348 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-92595773-58041675 passed
2025-11-17 20:41:59,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 20:41:59,499 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92595773-58041675, IP 57.20.156.132, Port 22
2025-11-17 20:41:59,570 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-11-17 20:41:59,643 - DEBUG - VM ctest-TestBasicVMVNx-92595773-58041675 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-17 20:42:04,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 20:42:04,644 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92595773-58041675, IP 57.20.156.132, Port 22
2025-11-17 20:42:04,799 - DEBUG - VM ctest-TestBasicVMVNx-92595773-58041675 is ready for SSH connections
2025-11-17 20:42:04,800 - DEBUG - FILE SIZE = 1303B
2025-11-17 20:42:04,800 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-92595773-08716538 to ctest-TestBasicVMVNx-92595773-58041675 using scp
2025-11-17 20:42:04,801 - 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
2025-11-17 20:42:04,801 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-11-17 20:42:06,804 - DEBUG - 1+0 records in
1+0 records out
2025-11-17 20:42:07,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 20:42:07,473 - 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
2025-11-17 20:42:07,474 - DEBUG - ls -l testfile
2025-11-17 20:42:09,084 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 17 13:42 [0;0mtestfile[0m
2025-11-17 20:42:09,085 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-92595773-58041675
2025-11-17 20:42:09,085 - INFO - Deleting VM ctest-TestBasicVMVNx-92595773-58041675
2025-11-17 20:42:09,159 - INFO - Deleting VM ctest-TestBasicVMVNx-92595773-08716538
2025-11-17 20:42:09,233 - INFO - Deleting VN ctest-vn-39092987
2025-11-17 20:42:09,274 - DEBUG - VN 4feddf4d-8aac-46e4-a9d2-dc10be0fce5a still in use: Unable to complete operation on network 4feddf4d-8aac-46e4-a9d2-dc10be0fce5a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e605fe52-3f89-49ac-891b-1155d94fcced']
2025-11-17 20:42:09,274 - WARNING - Deleting VN ctest-vn-39092987 failed..Will retry
2025-11-17 20:42:11,379 - DEBUG - Response for deleting network ()
2025-11-17 20:42:11,643 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 20:42:11,643 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-11-17 20:42:11,643 - INFO - --------------------------------------------------------------------------------
2025-11-17 20:42:12,377 - INFO - Deleted project: ctest-TestBasicVMVNx-92595773, ID : 52bdf4ce-b6fa-4d11-a93f-7cf6015dd37d