2025-08-29 09:43:44,579 - INFO - Domain Default found not creating
2025-08-29 09:43:44,728 - INFO - Project ctest-TestBasicVMVNx-59767012 not found, creating it
2025-08-29 09:43:45,161 - INFO - Created Project:ctest-TestBasicVMVNx-59767012, ID : 05d51b5c-0ec2-49ac-9ac4-10b7bc9de6b9
2025-08-29 09:43:46,717 - INFO - ================================================================================
2025-08-29 09:43:46,717 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-08-29 09:43:46,717 - 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-08-29 09:43:46,970 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-29 09:43:46,970 - INFO - Initial checks done. Running the testcase now
2025-08-29 09:43:46,970 - INFO -
2025-08-29 09:43:47,504 - DEBUG - Response for create_network : {'network': {'id': 'd0d8294a-9aed-4c50-b03f-2e11fc676c00', 'name': 'ctest-vn-36127271', 'tenant_id': '05d51b5c0ec249ac9ac410b7bc9de6b9', 'project_id': '05d51b5c0ec249ac9ac410b7bc9de6b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-59767012', 'ctest-vn-36127271'], 'port_security_enabled': True, 'description': ''}}
2025-08-29 09:43:47,700 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c49d5c0e-650d-4c52-a066-5e44a93675d3', 'name': '', 'tenant_id': '05d51b5c0ec249ac9ac410b7bc9de6b9', 'network_id': 'd0d8294a-9aed-4c50-b03f-2e11fc676c00', 'ip_version': 4, 'cidr': '135.225.82.128/26', 'allocation_pools': [{'start': '135.225.82.130', 'end': '135.225.82.190'}], 'gateway_ip': '135.225.82.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.225.82.130', 'tags': [], 'project_id': '05d51b5c0ec249ac9ac410b7bc9de6b9'}}
2025-08-29 09:43:47,717 - INFO - Created VN ctest-vn-36127271
2025-08-29 09:43:47,769 - DEBUG - VN ctest-vn-36127271 UUID is d0d8294a-9aed-4c50-b03f-2e11fc676c00
2025-08-29 09:43:47,936 - DEBUG - Services list from nova: [, , ]
2025-08-29 09:43:48,908 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3970-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3970-1)
2025-08-29 09:43:50,043 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3970-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3970-1)
2025-08-29 09:43:50,043 - INFO - Waiting for VM ctest-TestBasicVMVNx-59767012-57514514 to be up..
2025-08-29 09:43:50,145 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-29 09:43:55,218 - DEBUG - VM is in ACTIVE state now
2025-08-29 09:43:55,218 - INFO - VM name : ctest-TestBasicVMVNx-59767012-57514514
2025-08-29 09:43:55,295 - DEBUG - VM ctest-TestBasicVMVNx-59767012-57514514 ID is 0eb6a53e-80d7-4dba-a197-f4793434278b
2025-08-29 09:43:55,314 - DEBUG - VM ctest-TestBasicVMVNx-59767012-57514514 launched on Node cn-jenkins-deploy-platform-ansible-os-3970-1
2025-08-29 09:43:55,391 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0eb6a53e-80d7-4dba-a197-f4793434278b
2025-08-29 09:43:55,714 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0eb6a53e-80d7-4dba-a197-f4793434278b
2025-08-29 09:43:55,749 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/81549ec9-cec6-4522-9f73-5e50d3b8301c
2025-08-29 09:43:59,008 - 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 1031ms')
2025-08-29 09:43:59,008 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59767012-57514514 failed!
2025-08-29 09:43:59,065 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-59767012:ctest-vn-36127271 is 135.225.82.129 and allocation pool is NOT set
2025-08-29 09:44:01,130 - 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=5.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.45 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 = 1.451/3.348/5.245/1.897 ms')
2025-08-29 09:44:01,130 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59767012-57514514 passed
2025-08-29 09:44:01,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 09:44:01,281 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59767012-57514514, IP 135.225.82.131, Port 22
2025-08-29 09:44:01,347 - 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-08-29 09:44:01,427 - DEBUG - VM ctest-TestBasicVMVNx-59767012-57514514 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-29 09:44:06,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 09:44:06,428 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59767012-57514514, IP 135.225.82.131, Port 22
2025-08-29 09:44:06,588 - DEBUG - VM ctest-TestBasicVMVNx-59767012-57514514 is ready for SSH connections
2025-08-29 09:44:06,588 - INFO - Waiting for VM ctest-TestBasicVMVNx-59767012-72942501 to be up..
2025-08-29 09:44:06,662 - DEBUG - VM is in ACTIVE state now
2025-08-29 09:44:06,662 - INFO - VM name : ctest-TestBasicVMVNx-59767012-72942501
2025-08-29 09:44:06,741 - DEBUG - VM ctest-TestBasicVMVNx-59767012-72942501 ID is ec709b61-542a-4387-a48b-a67b0fc0b91f
2025-08-29 09:44:06,741 - DEBUG - VM ctest-TestBasicVMVNx-59767012-72942501 launched on Node cn-jenkins-deploy-platform-ansible-os-3970-1
2025-08-29 09:44:06,821 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ec709b61-542a-4387-a48b-a67b0fc0b91f
2025-08-29 09:44:06,829 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6ce762a6-cd04-46dc-a22e-bf597560b8ff
2025-08-29 09:44:08,058 - 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=2.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.504 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.504/1.589/2.674/1.085 ms')
2025-08-29 09:44:08,058 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-59767012-72942501 passed
2025-08-29 09:44:08,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 09:44:08,205 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59767012-72942501, IP 135.225.82.132, Port 22
2025-08-29 09:44:08,360 - DEBUG - VM ctest-TestBasicVMVNx-59767012-72942501 is ready for SSH connections
2025-08-29 09:44:08,361 - DEBUG - FILE SIZE = 1303B
2025-08-29 09:44:08,361 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-59767012-57514514 to ctest-TestBasicVMVNx-59767012-72942501 using scp
2025-08-29 09:44:08,362 - 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.254, gateway password: c0ntrail123
2025-08-29 09:44:08,362 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-08-29 09:44:10,265 - DEBUG - 1+0 records in
1+0 records out
2025-08-29 09:44:10,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-29 09:44:11,211 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-29 09:44:11,212 - DEBUG - ls -l testfile
2025-08-29 09:44:12,847 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 29 03:44 [0;0mtestfile[0m
2025-08-29 09:44:12,847 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-59767012-72942501
2025-08-29 09:44:12,847 - INFO - Deleting VM ctest-TestBasicVMVNx-59767012-72942501
2025-08-29 09:44:12,909 - INFO - Deleting VM ctest-TestBasicVMVNx-59767012-57514514
2025-08-29 09:44:12,972 - INFO - Deleting VN ctest-vn-36127271
2025-08-29 09:44:13,006 - DEBUG - VN d0d8294a-9aed-4c50-b03f-2e11fc676c00 still in use: Unable to complete operation on network d0d8294a-9aed-4c50-b03f-2e11fc676c00. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cb338f8f-86ad-4a59-bb82-e49d14f6000e']
2025-08-29 09:44:13,007 - WARNING - Deleting VN ctest-vn-36127271 failed..Will retry
2025-08-29 09:44:15,098 - DEBUG - Response for deleting network ()
2025-08-29 09:44:15,354 - DEBUG - No XMPP flaps were noticed during the test
2025-08-29 09:44:15,354 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-08-29 09:44:15,354 - INFO - --------------------------------------------------------------------------------
2025-08-29 09:44:16,013 - INFO - Deleted project: ctest-TestBasicVMVNx-59767012, ID : 05d51b5c-0ec2-49ac-9ac4-10b7bc9de6b9