2026-12-02 17:11:11,981 - INFO - Domain Default found not creating
2026-12-02 17:11:12,218 - INFO - Project ctest-TestBasicVMVNx-34691287 not found, creating it
2026-12-02 17:11:12,832 - INFO - Created Project:ctest-TestBasicVMVNx-34691287, ID : c6f74267-43d0-42f0-b42b-a3ef8122ff35
2026-12-02 17:11:15,394 - INFO - ================================================================================
2026-12-02 17:11:15,394 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-12-02 17:11:15,394 - 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-12-02 17:11:15,667 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with
2026-12-02 17:11:15,667 - INFO - Initial checks done. Running the testcase now
2026-12-02 17:11:15,667 - INFO -
2026-12-02 17:11:16,362 - DEBUG - Response for create_network : {'network': {'id': 'c1e458e0-dc41-433a-8677-7306fa432779', 'name': 'ctest-vn-35274995', 'tenant_id': 'c6f7426743d042f0b42ba3ef8122ff35', 'project_id': 'c6f7426743d042f0b42ba3ef8122ff35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-34691287', 'ctest-vn-35274995'], 'port_security_enabled': True, 'description': ''}}
2026-12-02 17:11:16,591 - DEBUG - Response for create_subnet : {'subnet': {'id': '399c2434-983c-4887-b93b-33a8b475d1b9', 'name': '', 'tenant_id': 'c6f7426743d042f0b42ba3ef8122ff35', 'network_id': 'c1e458e0-dc41-433a-8677-7306fa432779', 'ip_version': 4, 'cidr': '222.30.24.64/26', 'allocation_pools': [{'start': '222.30.24.66', 'end': '222.30.24.126'}], 'gateway_ip': '222.30.24.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.30.24.66', 'tags': [], 'project_id': 'c6f7426743d042f0b42ba3ef8122ff35'}}
2026-12-02 17:11:16,615 - INFO - Created VN ctest-vn-35274995
2026-12-02 17:11:16,672 - DEBUG - VN ctest-vn-35274995 UUID is c1e458e0-dc41-433a-8677-7306fa432779
2026-12-02 17:11:16,866 - DEBUG - Services list from nova: [, , ]
2026-12-02 17:11:17,394 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6528-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6528-1)
2026-12-02 17:11:17,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6528-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6528-1)
2026-12-02 17:11:17,889 - INFO - Waiting for VM ctest-TestBasicVMVNx-34691287-82139141 to be up..
2026-12-02 17:11:17,942 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-12-02 17:11:23,052 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-12-02 17:11:28,182 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-12-02 17:11:33,282 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-12-02 17:11:38,399 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-12-02 17:11:43,496 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-12-02 17:11:48,597 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-12-02 17:11:53,728 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-12-02 17:11:58,844 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-12-02 17:12:03,960 - DEBUG - VM is in ACTIVE state now
2026-12-02 17:12:03,960 - INFO - VM name : ctest-TestBasicVMVNx-34691287-82139141
2026-12-02 17:12:04,072 - DEBUG - VM ctest-TestBasicVMVNx-34691287-82139141 ID is ead4c52e-3294-4bcc-bf6a-4bed07117cc8
2026-12-02 17:12:04,098 - DEBUG - VM ctest-TestBasicVMVNx-34691287-82139141 launched on Node cn-jenkins-deploy-platform-ansible-os-6528-1
2026-12-02 17:12:04,206 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/ead4c52e-3294-4bcc-bf6a-4bed07117cc8
2026-12-02 17:12:04,609 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/ead4c52e-3294-4bcc-bf6a-4bed07117cc8
2026-12-02 17:12:04,650 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/3df5eb51-3f12-480e-a807-001325e12b59
2026-12-02 17:12:08,048 - 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 1028ms')
2026-12-02 17:12:08,048 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34691287-82139141 failed!
2026-12-02 17:12:08,108 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-34691287:ctest-vn-35274995 is 222.30.24.65 and allocation pool is NOT set
2026-12-02 17:12:10,183 - 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=16.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.73 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.731/10.178/16.626/6.447 ms')
2026-12-02 17:12:10,183 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34691287-82139141 passed
2026-12-02 17:12:10,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-12-02 17:12:10,332 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34691287-82139141, IP 222.30.24.67, Port 22
2026-12-02 17:12:10,398 - 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-12-02 17:12:10,518 - DEBUG - VM ctest-TestBasicVMVNx-34691287-82139141 is NOT ready for SSH connections, VM status: ACTIVE
2026-12-02 17:12:15,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-12-02 17:12:15,519 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34691287-82139141, IP 222.30.24.67, Port 22
2026-12-02 17:12:15,695 - DEBUG - VM ctest-TestBasicVMVNx-34691287-82139141 is ready for SSH connections
2026-12-02 17:12:15,695 - INFO - Waiting for VM ctest-TestBasicVMVNx-34691287-30319113 to be up..
2026-12-02 17:12:15,792 - DEBUG - VM is in ACTIVE state now
2026-12-02 17:12:15,792 - INFO - VM name : ctest-TestBasicVMVNx-34691287-30319113
2026-12-02 17:12:15,905 - DEBUG - VM ctest-TestBasicVMVNx-34691287-30319113 ID is de93c7c3-1848-413b-9a9c-cc1352a3b380
2026-12-02 17:12:15,905 - DEBUG - VM ctest-TestBasicVMVNx-34691287-30319113 launched on Node cn-jenkins-deploy-platform-ansible-os-6528-1
2026-12-02 17:12:16,013 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/de93c7c3-1848-413b-9a9c-cc1352a3b380
2026-12-02 17:12:16,024 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/11f38ea8-ad70-46b1-85d4-f98dbf0cab25
2026-12-02 17:12:17,287 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.709 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.709/3.226/5.744/2.517 ms')
2026-12-02 17:12:17,287 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-34691287-30319113 passed
2026-12-02 17:12:17,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-12-02 17:12:17,444 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34691287-30319113, IP 222.30.24.68, Port 22
2026-12-02 17:12:17,614 - DEBUG - VM ctest-TestBasicVMVNx-34691287-30319113 is ready for SSH connections
2026-12-02 17:12:17,614 - DEBUG - FILE SIZE = 1303B
2026-12-02 17:12:17,614 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-34691287-82139141 to ctest-TestBasicVMVNx-34691287-30319113 using scp
2026-12-02 17:12:17,617 - 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.161, gateway password: c0ntrail123
2026-12-02 17:12:17,617 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-12-02 17:12:19,808 - DEBUG - 1+0 records in
1+0 records out
2026-12-02 17:12:20,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-12-02 17:12:20,549 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123
2026-12-02 17:12:20,549 - DEBUG - ls -l testfile
2026-12-02 17:12:22,375 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 2 10:12 [0;0mtestfile[0m
2026-12-02 17:12:22,375 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-34691287-30319113
2026-12-02 17:12:22,376 - INFO - Deleting VM ctest-TestBasicVMVNx-34691287-30319113
2026-12-02 17:12:22,478 - INFO - Deleting VM ctest-TestBasicVMVNx-34691287-82139141
2026-12-02 17:12:22,584 - INFO - Deleting VN ctest-vn-35274995
2026-12-02 17:12:22,630 - DEBUG - VN c1e458e0-dc41-433a-8677-7306fa432779 still in use: Unable to complete operation on network c1e458e0-dc41-433a-8677-7306fa432779. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e6d015b2-a9da-46f2-a269-70ed0c49086d']
2026-12-02 17:12:22,630 - WARNING - Deleting VN ctest-vn-35274995 failed..Will retry
2026-12-02 17:12:24,683 - DEBUG - VN c1e458e0-dc41-433a-8677-7306fa432779 still in use: Unable to complete operation on network c1e458e0-dc41-433a-8677-7306fa432779. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2aa8afff-41c4-4091-bf84-260e608e86b4']
2026-12-02 17:12:24,683 - WARNING - Deleting VN ctest-vn-35274995 failed..Will retry
2026-12-02 17:12:26,821 - DEBUG - Response for deleting network ()
2026-12-02 17:12:27,114 - DEBUG - No XMPP flaps were noticed during the test
2026-12-02 17:12:27,114 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:01:12]
2026-12-02 17:12:27,114 - INFO - --------------------------------------------------------------------------------
2026-12-02 17:12:28,116 - INFO - Deleted project: ctest-TestBasicVMVNx-34691287, ID : c6f74267-43d0-42f0-b42b-a3ef8122ff35