2025-08-28 14:23:08,027 - INFO - Domain Default found not creating 2025-08-28 14:23:08,151 - INFO - Project ctest-TestBasicVMVNx-56302161 not found, creating it 2025-08-28 14:23:08,581 - INFO - Created Project:ctest-TestBasicVMVNx-56302161, ID : ae2f8b91-745a-413a-a481-0ed80f7d5952 2025-08-28 14:23:10,169 - INFO - ================================================================================ 2025-08-28 14:23:10,169 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-28 14:23:10,169 - 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-28 14:23:10,420 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-08-28 14:23:10,420 - INFO - Initial checks done. Running the testcase now 2025-08-28 14:23:10,420 - INFO - 2025-08-28 14:23:10,995 - DEBUG - Response for create_network : {'network': {'id': '58855d54-c791-4ac4-8acf-a64ca5fb9298', 'name': 'ctest-vn-95794541', 'tenant_id': 'ae2f8b91745a413aa4810ed80f7d5952', 'project_id': 'ae2f8b91745a413aa4810ed80f7d5952', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-56302161', 'ctest-vn-95794541'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 14:23:11,173 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3c72757-60bc-4874-89dc-2315db4e9adc', 'name': '', 'tenant_id': 'ae2f8b91745a413aa4810ed80f7d5952', 'network_id': '58855d54-c791-4ac4-8acf-a64ca5fb9298', 'ip_version': 4, 'cidr': '156.45.8.64/26', 'allocation_pools': [{'start': '156.45.8.66', 'end': '156.45.8.126'}], 'gateway_ip': '156.45.8.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.45.8.66', 'tags': [], 'project_id': 'ae2f8b91745a413aa4810ed80f7d5952'}} 2025-08-28 14:23:11,189 - INFO - Created VN ctest-vn-95794541 2025-08-28 14:23:11,240 - DEBUG - VN ctest-vn-95794541 UUID is 58855d54-c791-4ac4-8acf-a64ca5fb9298 2025-08-28 14:23:11,442 - DEBUG - Services list from nova: [, , ] 2025-08-28 14:23:12,505 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3959-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3959-1) 2025-08-28 14:23:13,669 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3959-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3959-1) 2025-08-28 14:23:13,669 - INFO - Waiting for VM ctest-TestBasicVMVNx-56302161-47901571 to be up.. 2025-08-28 14:23:13,743 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 14:23:18,818 - DEBUG - VM is in ACTIVE state now 2025-08-28 14:23:18,818 - INFO - VM name : ctest-TestBasicVMVNx-56302161-47901571 2025-08-28 14:23:18,888 - DEBUG - VM ctest-TestBasicVMVNx-56302161-47901571 ID is 9ab7e510-98d3-415c-be6d-6b3202077813 2025-08-28 14:23:18,908 - DEBUG - VM ctest-TestBasicVMVNx-56302161-47901571 launched on Node cn-jenkins-deploy-platform-ansible-os-3959-1 2025-08-28 14:23:18,977 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9ab7e510-98d3-415c-be6d-6b3202077813 2025-08-28 14:23:19,313 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9ab7e510-98d3-415c-be6d-6b3202077813 2025-08-28 14:23:19,349 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/aa9b7d65-b106-4fb1-898f-57d6fd8b4774 2025-08-28 14:23:22,604 - 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 1023ms') 2025-08-28 14:23:22,604 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56302161-47901571 failed! 2025-08-28 14:23:22,660 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-56302161:ctest-vn-95794541 is 156.45.8.65 and allocation pool is NOT set 2025-08-28 14:23:24,721 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.735 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.735/1.969/3.204/1.234 ms') 2025-08-28 14:23:24,721 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56302161-47901571 passed 2025-08-28 14:23:24,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 14:23:24,876 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56302161-47901571, IP 156.45.8.67, Port 22 2025-08-28 14:23:25,032 - DEBUG - VM ctest-TestBasicVMVNx-56302161-47901571 is ready for SSH connections 2025-08-28 14:23:25,032 - INFO - Waiting for VM ctest-TestBasicVMVNx-56302161-39053394 to be up.. 2025-08-28 14:23:25,101 - DEBUG - VM is in ACTIVE state now 2025-08-28 14:23:25,101 - INFO - VM name : ctest-TestBasicVMVNx-56302161-39053394 2025-08-28 14:23:25,171 - DEBUG - VM ctest-TestBasicVMVNx-56302161-39053394 ID is 6e46b04d-8cce-4bae-bb0b-b08e8a8289b2 2025-08-28 14:23:25,171 - DEBUG - VM ctest-TestBasicVMVNx-56302161-39053394 launched on Node cn-jenkins-deploy-platform-ansible-os-3959-1 2025-08-28 14:23:25,238 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/6e46b04d-8cce-4bae-bb0b-b08e8a8289b2 2025-08-28 14:23:25,246 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c4aa67a7-de22-40bc-8ee4-567a6d985ef6 2025-08-28 14:23:26,484 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 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.442/1.771/3.101/1.329 ms') 2025-08-28 14:23:26,484 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-56302161-39053394 passed 2025-08-28 14:23:26,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 14:23:26,640 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56302161-39053394, IP 156.45.8.68, Port 22 2025-08-28 14:23:26,803 - DEBUG - VM ctest-TestBasicVMVNx-56302161-39053394 is ready for SSH connections 2025-08-28 14:23:26,803 - DEBUG - FILE SIZE = 1303B 2025-08-28 14:23:26,803 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-56302161-47901571 to ctest-TestBasicVMVNx-56302161-39053394 using scp 2025-08-28 14:23:26,805 - 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.249, gateway password: c0ntrail123 2025-08-28 14:23:26,805 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-28 14:23:28,787 - DEBUG - 1+0 records in 1+0 records out 2025-08-28 14:23:29,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 14:23:29,823 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-28 14:23:29,823 - DEBUG - ls -l testfile 2025-08-28 14:23:31,416 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 28 08:23 testfile 2025-08-28 14:23:31,416 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-56302161-39053394 2025-08-28 14:23:31,416 - INFO - Deleting VM ctest-TestBasicVMVNx-56302161-39053394 2025-08-28 14:23:31,481 - INFO - Deleting VM ctest-TestBasicVMVNx-56302161-47901571 2025-08-28 14:23:31,549 - INFO - Deleting VN ctest-vn-95794541 2025-08-28 14:23:31,583 - DEBUG - VN 58855d54-c791-4ac4-8acf-a64ca5fb9298 still in use: Unable to complete operation on network 58855d54-c791-4ac4-8acf-a64ca5fb9298. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-78f58f5e-a691-41da-8b10-a284ec6ef6f4'] 2025-08-28 14:23:31,583 - WARNING - Deleting VN ctest-vn-95794541 failed..Will retry 2025-08-28 14:23:33,685 - DEBUG - Response for deleting network () 2025-08-28 14:23:33,940 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 14:23:33,940 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-08-28 14:23:33,941 - INFO - -------------------------------------------------------------------------------- 2025-08-28 14:23:34,657 - INFO - Deleted project: ctest-TestBasicVMVNx-56302161, ID : ae2f8b91-745a-413a-a481-0ed80f7d5952