2025-11-05 22:36:27,582 - INFO - Domain Default found not creating
2025-11-05 22:36:27,745 - INFO - Project ctest-TestBasicVMVNx-79209402 not found, creating it
2025-11-05 22:36:28,220 - INFO - Created Project:ctest-TestBasicVMVNx-79209402, ID : bfc33026-8ab3-4567-a150-d5d0337a93fe
2025-11-05 22:36:29,810 - INFO - ================================================================================
2025-11-05 22:36:29,810 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-11-05 22:36:29,810 - 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-05 22:36:30,072 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with
2025-11-05 22:36:30,072 - INFO - Initial checks done. Running the testcase now
2025-11-05 22:36:30,072 - INFO -
2025-11-05 22:36:30,684 - DEBUG - Response for create_network : {'network': {'id': '7512c943-193b-4c6b-aeb6-85c8caa14960', 'name': 'ctest-vn-85285989', 'tenant_id': 'bfc330268ab34567a150d5d0337a93fe', 'project_id': 'bfc330268ab34567a150d5d0337a93fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-79209402', 'ctest-vn-85285989'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 22:36:30,876 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbc55efc-26fd-4e25-9826-7f1f0e45a797', 'name': '', 'tenant_id': 'bfc330268ab34567a150d5d0337a93fe', 'network_id': '7512c943-193b-4c6b-aeb6-85c8caa14960', 'ip_version': 4, 'cidr': '141.236.186.128/26', 'allocation_pools': [{'start': '141.236.186.130', 'end': '141.236.186.190'}], 'gateway_ip': '141.236.186.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.236.186.130', 'tags': [], 'project_id': 'bfc330268ab34567a150d5d0337a93fe'}}
2025-11-05 22:36:30,893 - INFO - Created VN ctest-vn-85285989
2025-11-05 22:36:30,947 - DEBUG - VN ctest-vn-85285989 UUID is 7512c943-193b-4c6b-aeb6-85c8caa14960
2025-11-05 22:36:31,152 - DEBUG - Services list from nova: [, , ]
2025-11-05 22:36:32,218 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4658-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4658-1)
2025-11-05 22:36:33,361 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4658-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4658-1)
2025-11-05 22:36:33,362 - INFO - Waiting for VM ctest-TestBasicVMVNx-79209402-18022967 to be up..
2025-11-05 22:36:33,450 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 22:36:38,538 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 22:36:43,611 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 22:36:48,693 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 22:36:53,776 - DEBUG - VM is in ACTIVE state now
2025-11-05 22:36:53,776 - INFO - VM name : ctest-TestBasicVMVNx-79209402-18022967
2025-11-05 22:36:53,853 - DEBUG - VM ctest-TestBasicVMVNx-79209402-18022967 ID is cdb583dc-d930-48ab-b37b-a8138516ed39
2025-11-05 22:36:53,872 - DEBUG - VM ctest-TestBasicVMVNx-79209402-18022967 launched on Node cn-jenkins-deploy-platform-ansible-os-4658-1
2025-11-05 22:36:53,942 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cdb583dc-d930-48ab-b37b-a8138516ed39
2025-11-05 22:36:54,239 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cdb583dc-d930-48ab-b37b-a8138516ed39
2025-11-05 22:36:54,271 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/03d207cd-cfaa-44b2-a321-3a96abc9fc24
2025-11-05 22:36:57,527 - 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 1019ms')
2025-11-05 22:36:57,528 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79209402-18022967 failed!
2025-11-05 22:36:57,583 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-79209402:ctest-vn-85285989 is 141.236.186.129 and allocation pool is NOT set
2025-11-05 22:36:59,641 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.99 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.991/3.121/4.251/1.130 ms')
2025-11-05 22:36:59,641 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79209402-18022967 passed
2025-11-05 22:36:59,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 22:36:59,796 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79209402-18022967, IP 141.236.186.131, Port 22
2025-11-05 22:36:59,861 - 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-05 22:36:59,940 - DEBUG - VM ctest-TestBasicVMVNx-79209402-18022967 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-05 22:37:04,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 22:37:04,941 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79209402-18022967, IP 141.236.186.131, Port 22
2025-11-05 22:37:05,113 - DEBUG - VM ctest-TestBasicVMVNx-79209402-18022967 is ready for SSH connections
2025-11-05 22:37:05,113 - INFO - Waiting for VM ctest-TestBasicVMVNx-79209402-80592500 to be up..
2025-11-05 22:37:05,191 - DEBUG - VM is in ACTIVE state now
2025-11-05 22:37:05,192 - INFO - VM name : ctest-TestBasicVMVNx-79209402-80592500
2025-11-05 22:37:05,274 - DEBUG - VM ctest-TestBasicVMVNx-79209402-80592500 ID is 86b05edd-139a-4ea5-8f11-b76381e7e670
2025-11-05 22:37:05,274 - DEBUG - VM ctest-TestBasicVMVNx-79209402-80592500 launched on Node cn-jenkins-deploy-platform-ansible-os-4658-1
2025-11-05 22:37:05,350 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/86b05edd-139a-4ea5-8f11-b76381e7e670
2025-11-05 22:37:05,358 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5dc042e2-1f39-481f-8e22-9c3333231911
2025-11-05 22:37:06,592 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/2.154/3.875/1.720 ms')
2025-11-05 22:37:06,592 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-79209402-80592500 passed
2025-11-05 22:37:06,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 22:37:06,740 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79209402-80592500, IP 141.236.186.132, Port 22
2025-11-05 22:37:06,907 - DEBUG - VM ctest-TestBasicVMVNx-79209402-80592500 is ready for SSH connections
2025-11-05 22:37:06,908 - DEBUG - FILE SIZE = 1303B
2025-11-05 22:37:06,908 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-79209402-18022967 to ctest-TestBasicVMVNx-79209402-80592500 using scp
2025-11-05 22:37:06,909 - 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-05 22:37:06,909 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-11-05 22:37:08,503 - DEBUG - 1+0 records in
1+0 records out
2025-11-05 22:37:09,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 22:37:09,648 - 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-05 22:37:09,649 - DEBUG - ls -l testfile
2025-11-05 22:37:11,235 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 5 15:37 [0;0mtestfile[0m
2025-11-05 22:37:11,235 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-79209402-80592500
2025-11-05 22:37:11,236 - INFO - Deleting VM ctest-TestBasicVMVNx-79209402-80592500
2025-11-05 22:37:11,315 - INFO - Deleting VM ctest-TestBasicVMVNx-79209402-18022967
2025-11-05 22:37:11,390 - INFO - Deleting VN ctest-vn-85285989
2025-11-05 22:37:11,426 - DEBUG - VN 7512c943-193b-4c6b-aeb6-85c8caa14960 still in use: Unable to complete operation on network 7512c943-193b-4c6b-aeb6-85c8caa14960. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-43d4ac3d-dc9f-45ef-bbd2-eb889987f6e7']
2025-11-05 22:37:11,426 - WARNING - Deleting VN ctest-vn-85285989 failed..Will retry
2025-11-05 22:37:13,529 - DEBUG - Response for deleting network ()
2025-11-05 22:37:13,789 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 22:37:13,789 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:44]
2025-11-05 22:37:13,789 - INFO - --------------------------------------------------------------------------------
2025-11-05 22:37:14,477 - INFO - Deleted project: ctest-TestBasicVMVNx-79209402, ID : bfc33026-8ab3-4567-a150-d5d0337a93fe