2025-06-09 16:40:53,699 - INFO - Domain Default found not creating 2025-06-09 16:40:53,868 - INFO - Project ctest-TestBasicVMVNx-31214846 not found, creating it 2025-06-09 16:40:54,351 - INFO - Created Project:ctest-TestBasicVMVNx-31214846, ID : ff383dfa-398b-49be-94fe-13d097d8a4fd 2025-06-09 16:40:55,967 - INFO - ================================================================================ 2025-06-09 16:40:55,967 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-09 16:40:55,967 - 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-06-09 16:40:56,221 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-06-09 16:40:56,221 - INFO - Initial checks done. Running the testcase now 2025-06-09 16:40:56,221 - INFO - 2025-06-09 16:40:56,833 - DEBUG - Response for create_network : {'network': {'id': '31b54919-6b78-406a-8c69-3a016a507f70', 'name': 'ctest-vn-73981747', 'tenant_id': 'ff383dfa398b49be94fe13d097d8a4fd', 'project_id': 'ff383dfa398b49be94fe13d097d8a4fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-31214846', 'ctest-vn-73981747'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 16:40:57,018 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b5210ea6-42c9-4812-9531-cdf4310f24d4', 'name': '', 'tenant_id': 'ff383dfa398b49be94fe13d097d8a4fd', 'network_id': '31b54919-6b78-406a-8c69-3a016a507f70', 'ip_version': 4, 'cidr': '54.70.142.64/26', 'allocation_pools': [{'start': '54.70.142.66', 'end': '54.70.142.126'}], 'gateway_ip': '54.70.142.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.70.142.66', 'tags': [], 'project_id': 'ff383dfa398b49be94fe13d097d8a4fd'}} 2025-06-09 16:40:57,038 - INFO - Created VN ctest-vn-73981747 2025-06-09 16:40:57,091 - DEBUG - VN ctest-vn-73981747 UUID is 31b54919-6b78-406a-8c69-3a016a507f70 2025-06-09 16:40:57,273 - DEBUG - Services list from nova: [, , ] 2025-06-09 16:40:58,430 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3426-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3426-1) 2025-06-09 16:40:59,741 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3426-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3426-1) 2025-06-09 16:40:59,741 - INFO - Waiting for VM ctest-TestBasicVMVNx-31214846-99970853 to be up.. 2025-06-09 16:40:59,965 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-09 16:41:05,067 - DEBUG - VM is in ACTIVE state now 2025-06-09 16:41:05,068 - INFO - VM name : ctest-TestBasicVMVNx-31214846-99970853 2025-06-09 16:41:05,151 - DEBUG - VM ctest-TestBasicVMVNx-31214846-99970853 ID is 2be2c957-8d68-4050-83e2-2cc88329490a 2025-06-09 16:41:05,174 - DEBUG - VM ctest-TestBasicVMVNx-31214846-99970853 launched on Node cn-jenkins-deploy-platform-ansible-os-3426-1 2025-06-09 16:41:05,272 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/2be2c957-8d68-4050-83e2-2cc88329490a 2025-06-09 16:41:05,615 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/2be2c957-8d68-4050-83e2-2cc88329490a 2025-06-09 16:41:05,651 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/81b14b4d-593d-40ac-9dca-8baf50148130 2025-06-09 16:41:08,921 - 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') 2025-06-09 16:41:08,921 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-31214846-99970853 failed! 2025-06-09 16:41:08,979 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-31214846:ctest-vn-73981747 is 54.70.142.65 and allocation pool is NOT set 2025-06-09 16:41:11,043 - 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=1.11 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.108/2.903/4.698/1.795 ms') 2025-06-09 16:41:11,043 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-31214846-99970853 passed 2025-06-09 16:41:11,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 16:41:11,207 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-31214846-99970853, IP 54.70.142.67, Port 22 2025-06-09 16:41:11,366 - DEBUG - VM ctest-TestBasicVMVNx-31214846-99970853 is ready for SSH connections 2025-06-09 16:41:11,367 - INFO - Waiting for VM ctest-TestBasicVMVNx-31214846-72851103 to be up.. 2025-06-09 16:41:11,449 - DEBUG - VM is in ACTIVE state now 2025-06-09 16:41:11,450 - INFO - VM name : ctest-TestBasicVMVNx-31214846-72851103 2025-06-09 16:41:11,539 - DEBUG - VM ctest-TestBasicVMVNx-31214846-72851103 ID is c85f6197-6745-49e8-ba18-b6504852bf63 2025-06-09 16:41:11,539 - DEBUG - VM ctest-TestBasicVMVNx-31214846-72851103 launched on Node cn-jenkins-deploy-platform-ansible-os-3426-1 2025-06-09 16:41:11,628 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c85f6197-6745-49e8-ba18-b6504852bf63 2025-06-09 16:41:11,641 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/d870a4ac-22ae-4475-a7f2-e8b328444963 2025-06-09 16:41:12,892 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.500 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.500/1.788/3.077/1.288 ms') 2025-06-09 16:41:12,892 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-31214846-72851103 passed 2025-06-09 16:41:13,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 16:41:13,047 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-31214846-72851103, IP 54.70.142.68, Port 22 2025-06-09 16:41:13,206 - DEBUG - VM ctest-TestBasicVMVNx-31214846-72851103 is ready for SSH connections 2025-06-09 16:41:13,206 - DEBUG - FILE SIZE = 1303B 2025-06-09 16:41:13,206 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-31214846-99970853 to ctest-TestBasicVMVNx-31214846-72851103 using scp 2025-06-09 16:41:13,207 - 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-06-09 16:41:13,207 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-09 16:41:15,217 - DEBUG - 1+0 records in 1+0 records out 2025-06-09 16:41:15,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 16:41:16,300 - 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-06-09 16:41:16,300 - DEBUG - ls -l testfile 2025-06-09 16:41:17,932 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 9 10:41 testfile 2025-06-09 16:41:17,932 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-31214846-72851103 2025-06-09 16:41:17,933 - INFO - Deleting VM ctest-TestBasicVMVNx-31214846-72851103 2025-06-09 16:41:18,016 - INFO - Deleting VM ctest-TestBasicVMVNx-31214846-99970853 2025-06-09 16:41:18,090 - INFO - Deleting VN ctest-vn-73981747 2025-06-09 16:41:18,131 - DEBUG - VN 31b54919-6b78-406a-8c69-3a016a507f70 still in use: Unable to complete operation on network 31b54919-6b78-406a-8c69-3a016a507f70. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7dc87d03-c783-44aa-8355-616a6f318b67'] 2025-06-09 16:41:18,131 - WARNING - Deleting VN ctest-vn-73981747 failed..Will retry 2025-06-09 16:41:20,272 - DEBUG - Response for deleting network () 2025-06-09 16:41:20,542 - DEBUG - No XMPP flaps were noticed during the test 2025-06-09 16:41:20,542 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2025-06-09 16:41:20,542 - INFO - -------------------------------------------------------------------------------- 2025-06-09 16:41:21,355 - INFO - Deleted project: ctest-TestBasicVMVNx-31214846, ID : ff383dfa-398b-49be-94fe-13d097d8a4fd