2025-11-05 08:23:06,557 - INFO - Domain Default found not creating
2025-11-05 08:23:06,694 - INFO - Project ctest-TestBasicVMVNx-40127380 not found, creating it
2025-11-05 08:23:07,128 - INFO - Created Project:ctest-TestBasicVMVNx-40127380, ID : 57966e65-8a71-4631-aaf8-4475b624c431
2025-11-05 08:23:08,628 - INFO - ================================================================================
2025-11-05 08:23:08,628 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-11-05 08:23:08,628 - 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 08:23:08,882 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.193': '0'}} with
2025-11-05 08:23:08,882 - INFO - Initial checks done. Running the testcase now
2025-11-05 08:23:08,882 - INFO -
2025-11-05 08:23:09,414 - DEBUG - Response for create_network : {'network': {'id': '54ba80f8-d171-42f0-9a04-a082e1b16ae6', 'name': 'ctest-vn-45580523', 'tenant_id': '57966e658a714631aaf84475b624c431', 'project_id': '57966e658a714631aaf84475b624c431', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-40127380', 'ctest-vn-45580523'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 08:23:09,611 - DEBUG - Response for create_subnet : {'subnet': {'id': '5cbd2327-fcab-4021-ae6c-506fe71a3073', 'name': '', 'tenant_id': '57966e658a714631aaf84475b624c431', 'network_id': '54ba80f8-d171-42f0-9a04-a082e1b16ae6', 'ip_version': 4, 'cidr': '52.100.15.192/26', 'allocation_pools': [{'start': '52.100.15.194', 'end': '52.100.15.254'}], 'gateway_ip': '52.100.15.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.100.15.194', 'tags': [], 'project_id': '57966e658a714631aaf84475b624c431'}}
2025-11-05 08:23:09,626 - INFO - Created VN ctest-vn-45580523
2025-11-05 08:23:09,677 - DEBUG - VN ctest-vn-45580523 UUID is 54ba80f8-d171-42f0-9a04-a082e1b16ae6
2025-11-05 08:23:09,875 - DEBUG - Services list from nova: [, , ]
2025-11-05 08:23:10,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4633-1)
2025-11-05 08:23:11,997 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4633-1)
2025-11-05 08:23:11,998 - INFO - Waiting for VM ctest-TestBasicVMVNx-40127380-71099831 to be up..
2025-11-05 08:23:12,080 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 08:23:17,158 - DEBUG - VM is in ACTIVE state now
2025-11-05 08:23:17,158 - INFO - VM name : ctest-TestBasicVMVNx-40127380-71099831
2025-11-05 08:23:17,224 - DEBUG - VM ctest-TestBasicVMVNx-40127380-71099831 ID is 076caaa8-d91f-44f6-ace2-bf7f7005e1ba
2025-11-05 08:23:17,249 - DEBUG - VM ctest-TestBasicVMVNx-40127380-71099831 launched on Node cn-jenkins-deploy-platform-ansible-os-4633-1
2025-11-05 08:23:17,333 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/076caaa8-d91f-44f6-ace2-bf7f7005e1ba
2025-11-05 08:23:17,642 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/076caaa8-d91f-44f6-ace2-bf7f7005e1ba
2025-11-05 08:23:17,675 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/4cdc1c65-5dd3-4410-88b5-a80598c83c77
2025-11-05 08:23:20,919 - 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 1003ms')
2025-11-05 08:23:20,919 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-40127380-71099831 failed!
2025-11-05 08:23:20,973 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-40127380:ctest-vn-45580523 is 52.100.15.193 and allocation pool is NOT set
2025-11-05 08:23:23,037 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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 = 0.414/2.556/4.698/2.142 ms')
2025-11-05 08:23:23,037 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-40127380-71099831 passed
2025-11-05 08:23:23,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:23:23,185 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40127380-71099831, IP 52.100.15.195, Port 22
2025-11-05 08:23:23,362 - DEBUG - VM ctest-TestBasicVMVNx-40127380-71099831 is ready for SSH connections
2025-11-05 08:23:23,363 - INFO - Waiting for VM ctest-TestBasicVMVNx-40127380-79825995 to be up..
2025-11-05 08:23:23,436 - DEBUG - VM is in ACTIVE state now
2025-11-05 08:23:23,436 - INFO - VM name : ctest-TestBasicVMVNx-40127380-79825995
2025-11-05 08:23:23,511 - DEBUG - VM ctest-TestBasicVMVNx-40127380-79825995 ID is 3135dbbf-cfd3-495b-9f81-af9a218708ab
2025-11-05 08:23:23,512 - DEBUG - VM ctest-TestBasicVMVNx-40127380-79825995 launched on Node cn-jenkins-deploy-platform-ansible-os-4633-1
2025-11-05 08:23:23,595 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/3135dbbf-cfd3-495b-9f81-af9a218708ab
2025-11-05 08:23:23,604 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/18ab64c5-f75f-4100-8140-392a0d31e878
2025-11-05 08:23:24,833 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.78 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.781/2.876/3.971/1.095 ms')
2025-11-05 08:23:24,833 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-40127380-79825995 passed
2025-11-05 08:23:24,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:23:24,981 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40127380-79825995, IP 52.100.15.196, Port 22
2025-11-05 08:23:25,140 - DEBUG - VM ctest-TestBasicVMVNx-40127380-79825995 is ready for SSH connections
2025-11-05 08:23:25,140 - DEBUG - FILE SIZE = 1303B
2025-11-05 08:23:25,140 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-40127380-71099831 to ctest-TestBasicVMVNx-40127380-79825995 using scp
2025-11-05 08:23:25,142 - 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.27, gateway password: c0ntrail123
2025-11-05 08:23:25,142 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-11-05 08:23:27,082 - DEBUG - 1+0 records in
1+0 records out
2025-11-05 08:23:27,919 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:23:28,268 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-11-05 08:23:28,268 - DEBUG - ls -l testfile
2025-11-05 08:23:29,845 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 5 01:23 [0;0mtestfile[0m
2025-11-05 08:23:29,845 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-40127380-79825995
2025-11-05 08:23:29,845 - INFO - Deleting VM ctest-TestBasicVMVNx-40127380-79825995
2025-11-05 08:23:29,912 - INFO - Deleting VM ctest-TestBasicVMVNx-40127380-71099831
2025-11-05 08:23:29,970 - INFO - Deleting VN ctest-vn-45580523
2025-11-05 08:23:30,010 - DEBUG - VN 54ba80f8-d171-42f0-9a04-a082e1b16ae6 still in use: Unable to complete operation on network 54ba80f8-d171-42f0-9a04-a082e1b16ae6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e1687f2a-ff34-4dc9-ade2-e7074f57a55e']
2025-11-05 08:23:30,010 - WARNING - Deleting VN ctest-vn-45580523 failed..Will retry
2025-11-05 08:23:32,098 - DEBUG - Response for deleting network ()
2025-11-05 08:23:32,354 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 08:23:32,354 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-11-05 08:23:32,354 - INFO - --------------------------------------------------------------------------------
2025-11-05 08:23:33,027 - INFO - Deleted project: ctest-TestBasicVMVNx-40127380, ID : 57966e65-8a71-4631-aaf8-4475b624c431