2026-05-06 14:14:34,612 - INFO - Domain Default found not creating
2026-05-06 14:14:34,849 - INFO - Project ctest-TestBasicVMVNx-28368653 not found, creating it
2026-05-06 14:14:35,363 - INFO - Created Project:ctest-TestBasicVMVNx-28368653, ID : 3c20b0d4-3094-4b3b-a10b-ed800a7e2ec4
2026-05-06 14:14:37,023 - INFO - ================================================================================
2026-05-06 14:14:37,023 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-05-06 14:14:37,023 - 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-05-06 14:14:37,303 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-05-06 14:14:37,304 - INFO - Initial checks done. Running the testcase now
2026-05-06 14:14:37,304 - INFO -
2026-05-06 14:14:37,913 - DEBUG - Response for create_network : {'network': {'id': '7779e8c2-070c-4f5d-8a04-9e5edf4df07c', 'name': 'ctest-vn-25041059', 'tenant_id': '3c20b0d430944b3ba10bed800a7e2ec4', 'project_id': '3c20b0d430944b3ba10bed800a7e2ec4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-28368653', 'ctest-vn-25041059'], 'port_security_enabled': True, 'description': ''}}
2026-05-06 14:14:38,129 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e428c5fe-335a-4871-9df6-11a14caf779e', 'name': '', 'tenant_id': '3c20b0d430944b3ba10bed800a7e2ec4', 'network_id': '7779e8c2-070c-4f5d-8a04-9e5edf4df07c', 'ip_version': 4, 'cidr': '75.73.73.0/26', 'allocation_pools': [{'start': '75.73.73.2', 'end': '75.73.73.62'}], 'gateway_ip': '75.73.73.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.73.73.2', 'tags': [], 'project_id': '3c20b0d430944b3ba10bed800a7e2ec4'}}
2026-05-06 14:14:38,151 - INFO - Created VN ctest-vn-25041059
2026-05-06 14:14:38,209 - DEBUG - VN ctest-vn-25041059 UUID is 7779e8c2-070c-4f5d-8a04-9e5edf4df07c
2026-05-06 14:14:38,404 - DEBUG - Services list from nova: [, , ]
2026-05-06 14:14:39,566 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5749-1)
2026-05-06 14:14:40,887 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5749-1)
2026-05-06 14:14:40,887 - INFO - Waiting for VM ctest-TestBasicVMVNx-28368653-49016263 to be up..
2026-05-06 14:14:41,001 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-06 14:14:46,110 - DEBUG - VM is in ACTIVE state now
2026-05-06 14:14:46,110 - INFO - VM name : ctest-TestBasicVMVNx-28368653-49016263
2026-05-06 14:14:46,215 - DEBUG - VM ctest-TestBasicVMVNx-28368653-49016263 ID is 5502a774-2418-490a-8d43-35a7d4c4d4ff
2026-05-06 14:14:46,245 - DEBUG - VM ctest-TestBasicVMVNx-28368653-49016263 launched on Node cn-jenkins-deploy-platform-ansible-os-5749-1
2026-05-06 14:14:46,349 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5502a774-2418-490a-8d43-35a7d4c4d4ff
2026-05-06 14:14:46,658 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5502a774-2418-490a-8d43-35a7d4c4d4ff
2026-05-06 14:14:46,706 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3322516c-f482-4580-aee3-a0f021732399
2026-05-06 14:14:49,980 - 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 1026ms')
2026-05-06 14:14:49,980 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28368653-49016263 failed!
2026-05-06 14:14:50,037 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-28368653:ctest-vn-25041059 is 75.73.73.1 and allocation pool is NOT set
2026-05-06 14:14:52,099 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.88 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.875/2.938/4.001/1.063 ms')
2026-05-06 14:14:52,099 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28368653-49016263 passed
2026-05-06 14:14:52,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-06 14:14:52,253 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28368653-49016263, IP 75.73.73.3, Port 22
2026-05-06 14:14:52,420 - DEBUG - VM ctest-TestBasicVMVNx-28368653-49016263 is ready for SSH connections
2026-05-06 14:14:52,420 - INFO - Waiting for VM ctest-TestBasicVMVNx-28368653-84110838 to be up..
2026-05-06 14:14:52,533 - DEBUG - VM is in ACTIVE state now
2026-05-06 14:14:52,533 - INFO - VM name : ctest-TestBasicVMVNx-28368653-84110838
2026-05-06 14:14:52,630 - DEBUG - VM ctest-TestBasicVMVNx-28368653-84110838 ID is 25da7b3d-bc65-4f3f-be7d-34fb038c86ac
2026-05-06 14:14:52,630 - DEBUG - VM ctest-TestBasicVMVNx-28368653-84110838 launched on Node cn-jenkins-deploy-platform-ansible-os-5749-1
2026-05-06 14:14:52,725 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/25da7b3d-bc65-4f3f-be7d-34fb038c86ac
2026-05-06 14:14:52,737 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/89d3ed6a-9f00-4da2-9d13-bf020288c959
2026-05-06 14:14:53,990 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.31 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 = 1.311/3.081/4.852/1.770 ms')
2026-05-06 14:14:53,991 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-28368653-84110838 passed
2026-05-06 14:14:54,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-06 14:14:54,149 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28368653-84110838, IP 75.73.73.4, Port 22
2026-05-06 14:14:54,216 - 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': ''}
2026-05-06 14:14:54,329 - DEBUG - VM ctest-TestBasicVMVNx-28368653-84110838 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-06 14:14:59,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-06 14:14:59,330 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28368653-84110838, IP 75.73.73.4, Port 22
2026-05-06 14:14:59,495 - DEBUG - VM ctest-TestBasicVMVNx-28368653-84110838 is ready for SSH connections
2026-05-06 14:14:59,496 - DEBUG - FILE SIZE = 1303B
2026-05-06 14:14:59,496 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-28368653-49016263 to ctest-TestBasicVMVNx-28368653-84110838 using scp
2026-05-06 14:14:59,498 - 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-05-06 14:14:59,498 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2026-05-06 14:15:01,684 - DEBUG - 1+0 records in
1+0 records out
2026-05-06 14:15:02,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-06 14:15:02,406 - 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-05-06 14:15:02,407 - DEBUG - ls -l testfile
2026-05-06 14:15:04,068 - DEBUG - -rw------- 1 cirros cirros 1303 May 6 08:15 [0;0mtestfile[0m
2026-05-06 14:15:04,068 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-28368653-84110838
2026-05-06 14:15:04,068 - INFO - Deleting VM ctest-TestBasicVMVNx-28368653-84110838
2026-05-06 14:15:04,149 - INFO - Deleting VM ctest-TestBasicVMVNx-28368653-49016263
2026-05-06 14:15:04,233 - INFO - Deleting VN ctest-vn-25041059
2026-05-06 14:15:04,279 - DEBUG - VN 7779e8c2-070c-4f5d-8a04-9e5edf4df07c still in use: Unable to complete operation on network 7779e8c2-070c-4f5d-8a04-9e5edf4df07c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7d4b70f7-e12f-4a36-a557-6d52962c186c']
2026-05-06 14:15:04,279 - WARNING - Deleting VN ctest-vn-25041059 failed..Will retry
2026-05-06 14:15:06,405 - DEBUG - Response for deleting network ()
2026-05-06 14:15:06,668 - DEBUG - No XMPP flaps were noticed during the test
2026-05-06 14:15:06,668 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2026-05-06 14:15:06,668 - INFO - --------------------------------------------------------------------------------
2026-05-06 14:15:07,424 - INFO - Deleted project: ctest-TestBasicVMVNx-28368653, ID : 3c20b0d4-3094-4b3b-a10b-ed800a7e2ec4