2025-11-04 21:54:46,305 - INFO - Domain Default found not creating
2025-11-04 21:54:46,469 - INFO - Project ctest-TestBasicVMVNx-81577053 not found, creating it
2025-11-04 21:54:46,926 - INFO - Created Project:ctest-TestBasicVMVNx-81577053, ID : 9535f167-4a1d-4c88-9935-8be04f1bb4ca
2025-11-04 21:54:48,518 - INFO - ================================================================================
2025-11-04 21:54:48,518 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-11-04 21:54:48,518 - 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-04 21:54:48,773 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with
2025-11-04 21:54:48,773 - INFO - Initial checks done. Running the testcase now
2025-11-04 21:54:48,773 - INFO -
2025-11-04 21:54:49,323 - DEBUG - Response for create_network : {'network': {'id': 'e7e52e7a-136c-4051-bf7f-0b052fcd3535', 'name': 'ctest-vn-42160964', 'tenant_id': '9535f1674a1d4c8899358be04f1bb4ca', 'project_id': '9535f1674a1d4c8899358be04f1bb4ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-81577053', 'ctest-vn-42160964'], 'port_security_enabled': True, 'description': ''}}
2025-11-04 21:54:49,501 - DEBUG - Response for create_subnet : {'subnet': {'id': '2091ea2c-d1f5-40f8-bea2-301a545de059', 'name': '', 'tenant_id': '9535f1674a1d4c8899358be04f1bb4ca', 'network_id': 'e7e52e7a-136c-4051-bf7f-0b052fcd3535', 'ip_version': 4, 'cidr': '41.116.18.128/26', 'allocation_pools': [{'start': '41.116.18.130', 'end': '41.116.18.190'}], 'gateway_ip': '41.116.18.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.116.18.130', 'tags': [], 'project_id': '9535f1674a1d4c8899358be04f1bb4ca'}}
2025-11-04 21:54:49,517 - INFO - Created VN ctest-vn-42160964
2025-11-04 21:54:49,566 - DEBUG - VN ctest-vn-42160964 UUID is e7e52e7a-136c-4051-bf7f-0b052fcd3535
2025-11-04 21:54:49,765 - DEBUG - Services list from nova: [, , ]
2025-11-04 21:54:50,780 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4624-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4624-1)
2025-11-04 21:54:51,917 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4624-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4624-1)
2025-11-04 21:54:51,918 - INFO - Waiting for VM ctest-TestBasicVMVNx-81577053-65051545 to be up..
2025-11-04 21:54:51,991 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-04 21:54:57,065 - DEBUG - VM is in ACTIVE state now
2025-11-04 21:54:57,066 - INFO - VM name : ctest-TestBasicVMVNx-81577053-65051545
2025-11-04 21:54:57,138 - DEBUG - VM ctest-TestBasicVMVNx-81577053-65051545 ID is d0b35ea5-d277-4f3c-9108-75f152d6abb1
2025-11-04 21:54:57,157 - DEBUG - VM ctest-TestBasicVMVNx-81577053-65051545 launched on Node cn-jenkins-deploy-platform-ansible-os-4624-1
2025-11-04 21:54:57,233 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d0b35ea5-d277-4f3c-9108-75f152d6abb1
2025-11-04 21:54:57,531 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d0b35ea5-d277-4f3c-9108-75f152d6abb1
2025-11-04 21:54:57,562 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/7a0154c6-1e08-41ec-b6be-f93105f22576
2025-11-04 21:55:00,789 - 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 1002ms')
2025-11-04 21:55:00,789 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-81577053-65051545 failed!
2025-11-04 21:55:00,846 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-81577053:ctest-vn-42160964 is 41.116.18.129 and allocation pool is NOT set
2025-11-04 21:55:02,906 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 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.431/1.920/3.409/1.489 ms')
2025-11-04 21:55:02,906 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-81577053-65051545 passed
2025-11-04 21:55:03,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 21:55:03,055 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-81577053-65051545, IP 41.116.18.131, Port 22
2025-11-04 21:55:03,214 - DEBUG - VM ctest-TestBasicVMVNx-81577053-65051545 is ready for SSH connections
2025-11-04 21:55:03,214 - INFO - Waiting for VM ctest-TestBasicVMVNx-81577053-58860970 to be up..
2025-11-04 21:55:03,288 - DEBUG - VM is in ACTIVE state now
2025-11-04 21:55:03,288 - INFO - VM name : ctest-TestBasicVMVNx-81577053-58860970
2025-11-04 21:55:03,357 - DEBUG - VM ctest-TestBasicVMVNx-81577053-58860970 ID is ea746634-5b17-4272-8c3c-78ec59d8cd0c
2025-11-04 21:55:03,357 - DEBUG - VM ctest-TestBasicVMVNx-81577053-58860970 launched on Node cn-jenkins-deploy-platform-ansible-os-4624-1
2025-11-04 21:55:03,427 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/ea746634-5b17-4272-8c3c-78ec59d8cd0c
2025-11-04 21:55:03,434 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/c5b0661b-be89-4355-becd-3a409ac7d5ce
2025-11-04 21:55:04,667 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.16 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 = 2.164/3.660/5.157/1.496 ms')
2025-11-04 21:55:04,667 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-81577053-58860970 passed
2025-11-04 21:55:04,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 21:55:04,814 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-81577053-58860970, IP 41.116.18.132, Port 22
2025-11-04 21:55:04,869 - 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': ''}
2025-11-04 21:55:04,948 - DEBUG - VM ctest-TestBasicVMVNx-81577053-58860970 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-04 21:55:09,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 21:55:09,948 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-81577053-58860970, IP 41.116.18.132, Port 22
2025-11-04 21:55:10,133 - DEBUG - VM ctest-TestBasicVMVNx-81577053-58860970 is ready for SSH connections
2025-11-04 21:55:10,133 - DEBUG - FILE SIZE = 1303B
2025-11-04 21:55:10,133 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-81577053-65051545 to ctest-TestBasicVMVNx-81577053-58860970 using scp
2025-11-04 21:55:10,134 - 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-04 21:55:10,134 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-11-04 21:55:12,067 - DEBUG - 1+0 records in
1+0 records out
2025-11-04 21:55:12,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 21:55:13,204 - 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-04 21:55:13,208 - DEBUG - ls -l testfile
2025-11-04 21:55:14,776 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 4 14:55 [0;0mtestfile[0m
2025-11-04 21:55:14,776 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-81577053-58860970
2025-11-04 21:55:14,776 - INFO - Deleting VM ctest-TestBasicVMVNx-81577053-58860970
2025-11-04 21:55:14,854 - INFO - Deleting VM ctest-TestBasicVMVNx-81577053-65051545
2025-11-04 21:55:14,916 - INFO - Deleting VN ctest-vn-42160964
2025-11-04 21:55:14,956 - DEBUG - VN e7e52e7a-136c-4051-bf7f-0b052fcd3535 still in use: Unable to complete operation on network e7e52e7a-136c-4051-bf7f-0b052fcd3535. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-18578f16-8626-4f08-a1ed-5459532a0d6f']
2025-11-04 21:55:14,956 - WARNING - Deleting VN ctest-vn-42160964 failed..Will retry
2025-11-04 21:55:17,042 - DEBUG - Response for deleting network ()
2025-11-04 21:55:17,302 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 21:55:17,303 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-11-04 21:55:17,303 - INFO - --------------------------------------------------------------------------------
2025-11-04 21:55:17,951 - INFO - Deleted project: ctest-TestBasicVMVNx-81577053, ID : 9535f167-4a1d-4c88-9935-8be04f1bb4ca