2025-10-24 19:45:28,168 - INFO - Domain Default found not creating
2025-10-24 19:45:28,319 - INFO - Project ctest-TestBasicVMVNx-05281988 not found, creating it
2025-10-24 19:45:28,781 - INFO - Created Project:ctest-TestBasicVMVNx-05281988, ID : e966760a-4ce5-440d-83fa-df667cdb8425
2025-10-24 19:45:30,284 - INFO - ================================================================================
2025-10-24 19:45:30,284 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-10-24 19:45:30,284 - 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-10-24 19:45:30,537 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2025-10-24 19:45:30,537 - INFO - Initial checks done. Running the testcase now
2025-10-24 19:45:30,537 - INFO -
2025-10-24 19:45:31,061 - DEBUG - Response for create_network : {'network': {'id': 'b76c172e-eee0-497d-ab79-66a8bf386c2b', 'name': 'ctest-vn-11035038', 'tenant_id': 'e966760a4ce5440d83fadf667cdb8425', 'project_id': 'e966760a4ce5440d83fadf667cdb8425', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-05281988', 'ctest-vn-11035038'], 'port_security_enabled': True, 'description': ''}}
2025-10-24 19:45:31,208 - DEBUG - Response for create_subnet : {'subnet': {'id': '69ba9724-fdce-47a9-bd5f-16d1e318bd3d', 'name': '', 'tenant_id': 'e966760a4ce5440d83fadf667cdb8425', 'network_id': 'b76c172e-eee0-497d-ab79-66a8bf386c2b', 'ip_version': 4, 'cidr': '217.114.181.0/26', 'allocation_pools': [{'start': '217.114.181.2', 'end': '217.114.181.62'}], 'gateway_ip': '217.114.181.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.114.181.2', 'tags': [], 'project_id': 'e966760a4ce5440d83fadf667cdb8425'}}
2025-10-24 19:45:31,227 - INFO - Created VN ctest-vn-11035038
2025-10-24 19:45:31,280 - DEBUG - VN ctest-vn-11035038 UUID is b76c172e-eee0-497d-ab79-66a8bf386c2b
2025-10-24 19:45:31,480 - DEBUG - Services list from nova: [, , ]
2025-10-24 19:45:32,478 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4480-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4480-1)
2025-10-24 19:45:33,537 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4480-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4480-1)
2025-10-24 19:45:33,537 - INFO - Waiting for VM ctest-TestBasicVMVNx-05281988-51481902 to be up..
2025-10-24 19:45:33,615 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-24 19:45:38,683 - DEBUG - VM is in ACTIVE state now
2025-10-24 19:45:38,684 - INFO - VM name : ctest-TestBasicVMVNx-05281988-51481902
2025-10-24 19:45:38,755 - DEBUG - VM ctest-TestBasicVMVNx-05281988-51481902 ID is aeb7ccb0-ca62-40a1-af09-55296fe62898
2025-10-24 19:45:38,773 - DEBUG - VM ctest-TestBasicVMVNx-05281988-51481902 launched on Node cn-jenkins-deploy-platform-ansible-os-4480-1
2025-10-24 19:45:38,841 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/aeb7ccb0-ca62-40a1-af09-55296fe62898
2025-10-24 19:45:39,137 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/aeb7ccb0-ca62-40a1-af09-55296fe62898
2025-10-24 19:45:39,164 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a1d29979-5e43-4ce1-b649-8c3e1cb67bd8
2025-10-24 19:45:42,404 - 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 1010ms')
2025-10-24 19:45:42,404 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05281988-51481902 failed!
2025-10-24 19:45:42,456 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-05281988:ctest-vn-11035038 is 217.114.181.1 and allocation pool is NOT set
2025-10-24 19:45:44,513 - 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=3.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.58 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.582/2.749/3.917/1.167 ms')
2025-10-24 19:45:44,514 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05281988-51481902 passed
2025-10-24 19:45:44,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 19:45:44,664 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05281988-51481902, IP 217.114.181.3, Port 22
2025-10-24 19:45:44,719 - 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-10-24 19:45:44,786 - DEBUG - VM ctest-TestBasicVMVNx-05281988-51481902 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-24 19:45:49,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 19:45:49,787 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05281988-51481902, IP 217.114.181.3, Port 22
2025-10-24 19:45:49,944 - DEBUG - VM ctest-TestBasicVMVNx-05281988-51481902 is ready for SSH connections
2025-10-24 19:45:49,944 - INFO - Waiting for VM ctest-TestBasicVMVNx-05281988-15797222 to be up..
2025-10-24 19:45:50,013 - DEBUG - VM is in ACTIVE state now
2025-10-24 19:45:50,013 - INFO - VM name : ctest-TestBasicVMVNx-05281988-15797222
2025-10-24 19:45:50,081 - DEBUG - VM ctest-TestBasicVMVNx-05281988-15797222 ID is f26af8d0-e604-4958-8222-cff2210b657e
2025-10-24 19:45:50,081 - DEBUG - VM ctest-TestBasicVMVNx-05281988-15797222 launched on Node cn-jenkins-deploy-platform-ansible-os-4480-1
2025-10-24 19:45:50,151 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/f26af8d0-e604-4958-8222-cff2210b657e
2025-10-24 19:45:50,160 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/49ba4afe-d182-40a0-bb7d-eb4426de5280
2025-10-24 19:45:51,401 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.458 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.458/1.644/2.830/1.186 ms')
2025-10-24 19:45:51,401 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-05281988-15797222 passed
2025-10-24 19:45:51,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 19:45:51,552 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05281988-15797222, IP 217.114.181.4, Port 22
2025-10-24 19:45:51,720 - DEBUG - VM ctest-TestBasicVMVNx-05281988-15797222 is ready for SSH connections
2025-10-24 19:45:51,720 - DEBUG - FILE SIZE = 1303B
2025-10-24 19:45:51,720 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-05281988-51481902 to ctest-TestBasicVMVNx-05281988-15797222 using scp
2025-10-24 19:45:51,721 - 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.242, gateway password: c0ntrail123
2025-10-24 19:45:51,721 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-10-24 19:45:53,645 - DEBUG - 1+0 records in
1+0 records out
2025-10-24 19:45:54,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 19:45:54,605 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-10-24 19:45:54,605 - DEBUG - ls -l testfile
2025-10-24 19:45:56,192 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 24 13:45 [0;0mtestfile[0m
2025-10-24 19:45:56,192 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-05281988-15797222
2025-10-24 19:45:56,192 - INFO - Deleting VM ctest-TestBasicVMVNx-05281988-15797222
2025-10-24 19:45:56,262 - INFO - Deleting VM ctest-TestBasicVMVNx-05281988-51481902
2025-10-24 19:45:56,323 - INFO - Deleting VN ctest-vn-11035038
2025-10-24 19:45:56,363 - DEBUG - VN b76c172e-eee0-497d-ab79-66a8bf386c2b still in use: Unable to complete operation on network b76c172e-eee0-497d-ab79-66a8bf386c2b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-af4a0b75-0bfc-48d0-b083-456c1b261faa']
2025-10-24 19:45:56,364 - WARNING - Deleting VN ctest-vn-11035038 failed..Will retry
2025-10-24 19:45:58,469 - DEBUG - Response for deleting network ()
2025-10-24 19:45:58,733 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 19:45:58,733 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:28]
2025-10-24 19:45:58,734 - INFO - --------------------------------------------------------------------------------
2025-10-24 19:45:59,407 - INFO - Deleted project: ctest-TestBasicVMVNx-05281988, ID : e966760a-4ce5-440d-83fa-df667cdb8425