2025-08-31 06:45:30,058 - INFO - Domain Default found not creating 2025-08-31 06:45:30,206 - INFO - Project ctest-TestBasicVMVNx-66576779 not found, creating it 2025-08-31 06:45:30,653 - INFO - Created Project:ctest-TestBasicVMVNx-66576779, ID : a76d905d-1672-4114-ac64-d7c1d3dae563 2025-08-31 06:45:32,181 - INFO - ================================================================================ 2025-08-31 06:45:32,181 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-31 06:45:32,181 - 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-31 06:45:32,438 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-08-31 06:45:32,438 - INFO - Initial checks done. Running the testcase now 2025-08-31 06:45:32,438 - INFO - 2025-08-31 06:45:33,001 - DEBUG - Response for create_network : {'network': {'id': '4a43a680-3a10-4b49-ae40-dc7f98ba1b80', 'name': 'ctest-vn-95635536', 'tenant_id': 'a76d905d16724114ac64d7c1d3dae563', 'project_id': 'a76d905d16724114ac64d7c1d3dae563', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-66576779', 'ctest-vn-95635536'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 06:45:33,146 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd591da4c-758a-4241-9eed-05796154392e', 'name': '', 'tenant_id': 'a76d905d16724114ac64d7c1d3dae563', 'network_id': '4a43a680-3a10-4b49-ae40-dc7f98ba1b80', 'ip_version': 4, 'cidr': '146.60.226.128/26', 'allocation_pools': [{'start': '146.60.226.130', 'end': '146.60.226.190'}], 'gateway_ip': '146.60.226.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.60.226.130', 'tags': [], 'project_id': 'a76d905d16724114ac64d7c1d3dae563'}} 2025-08-31 06:45:33,166 - INFO - Created VN ctest-vn-95635536 2025-08-31 06:45:33,221 - DEBUG - VN ctest-vn-95635536 UUID is 4a43a680-3a10-4b49-ae40-dc7f98ba1b80 2025-08-31 06:45:33,391 - DEBUG - Services list from nova: [, , ] 2025-08-31 06:45:34,418 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3988-1) 2025-08-31 06:45:35,627 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3988-1) 2025-08-31 06:45:35,627 - INFO - Waiting for VM ctest-TestBasicVMVNx-66576779-21926418 to be up.. 2025-08-31 06:45:35,718 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-31 06:45:40,790 - DEBUG - VM is in ACTIVE state now 2025-08-31 06:45:40,790 - INFO - VM name : ctest-TestBasicVMVNx-66576779-21926418 2025-08-31 06:45:40,859 - DEBUG - VM ctest-TestBasicVMVNx-66576779-21926418 ID is f845ed7f-2b7a-4a0e-be02-9b4c813f9b40 2025-08-31 06:45:40,878 - DEBUG - VM ctest-TestBasicVMVNx-66576779-21926418 launched on Node cn-jenkins-deploy-platform-ansible-os-3988-1 2025-08-31 06:45:40,951 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f845ed7f-2b7a-4a0e-be02-9b4c813f9b40 2025-08-31 06:45:41,241 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f845ed7f-2b7a-4a0e-be02-9b4c813f9b40 2025-08-31 06:45:41,272 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/5a9039cd-6e8f-452a-88d4-17c3d76c3fb7 2025-08-31 06:45:44,518 - 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 1007ms') 2025-08-31 06:45:44,518 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-66576779-21926418 failed! 2025-08-31 06:45:44,574 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-66576779:ctest-vn-95635536 is 146.60.226.129 and allocation pool is NOT set 2025-08-31 06:45:46,636 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.31 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 = 3.310/3.396/3.482/0.086 ms') 2025-08-31 06:45:46,636 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-66576779-21926418 passed 2025-08-31 06:45:46,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 06:45:46,786 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-66576779-21926418, IP 146.60.226.131, Port 22 2025-08-31 06:45:46,945 - DEBUG - VM ctest-TestBasicVMVNx-66576779-21926418 is ready for SSH connections 2025-08-31 06:45:46,945 - INFO - Waiting for VM ctest-TestBasicVMVNx-66576779-05348656 to be up.. 2025-08-31 06:45:47,032 - DEBUG - VM is in ACTIVE state now 2025-08-31 06:45:47,033 - INFO - VM name : ctest-TestBasicVMVNx-66576779-05348656 2025-08-31 06:45:47,108 - DEBUG - VM ctest-TestBasicVMVNx-66576779-05348656 ID is b0a30571-3f3e-495d-b681-24ecf5d0c7b4 2025-08-31 06:45:47,108 - DEBUG - VM ctest-TestBasicVMVNx-66576779-05348656 launched on Node cn-jenkins-deploy-platform-ansible-os-3988-1 2025-08-31 06:45:47,185 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b0a30571-3f3e-495d-b681-24ecf5d0c7b4 2025-08-31 06:45:47,193 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3357b641-3ed1-4f90-92d1-d932ef83227c 2025-08-31 06:45:48,427 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.507 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.507/1.849/3.192/1.342 ms') 2025-08-31 06:45:48,427 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-66576779-05348656 passed 2025-08-31 06:45:48,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 06:45:48,578 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-66576779-05348656, IP 146.60.226.132, Port 22 2025-08-31 06:45:48,737 - DEBUG - VM ctest-TestBasicVMVNx-66576779-05348656 is ready for SSH connections 2025-08-31 06:45:48,737 - DEBUG - FILE SIZE = 1303B 2025-08-31 06:45:48,737 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-66576779-21926418 to ctest-TestBasicVMVNx-66576779-05348656 using scp 2025-08-31 06:45:48,738 - 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.33, gateway password: c0ntrail123 2025-08-31 06:45:48,738 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-31 06:45:50,644 - DEBUG - 1+0 records in 1+0 records out 2025-08-31 06:45:51,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 06:45:51,762 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-31 06:45:51,762 - DEBUG - ls -l testfile 2025-08-31 06:45:53,388 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 31 00:45 testfile 2025-08-31 06:45:53,388 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-66576779-05348656 2025-08-31 06:45:53,388 - INFO - Deleting VM ctest-TestBasicVMVNx-66576779-05348656 2025-08-31 06:45:53,454 - INFO - Deleting VM ctest-TestBasicVMVNx-66576779-21926418 2025-08-31 06:45:53,530 - INFO - Deleting VN ctest-vn-95635536 2025-08-31 06:45:53,566 - DEBUG - VN 4a43a680-3a10-4b49-ae40-dc7f98ba1b80 still in use: Unable to complete operation on network 4a43a680-3a10-4b49-ae40-dc7f98ba1b80. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e5907f47-5729-4176-84c5-a65ca7801367'] 2025-08-31 06:45:53,566 - WARNING - Deleting VN ctest-vn-95635536 failed..Will retry 2025-08-31 06:45:55,669 - DEBUG - Response for deleting network () 2025-08-31 06:45:55,923 - DEBUG - No XMPP flaps were noticed during the test
2025-08-31 06:45:55,923 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-08-31 06:45:55,923 - INFO - -------------------------------------------------------------------------------- 2025-08-31 06:45:56,601 - INFO - Deleted project: ctest-TestBasicVMVNx-66576779, ID : a76d905d-1672-4114-ac64-d7c1d3dae563