2025-11-27 08:31:28,101 - INFO - Domain Default found not creating 2025-11-27 08:31:28,278 - INFO - Project ctest-TestBasicVMVNx-06534160 not found, creating it 2025-11-27 08:31:28,761 - INFO - Created Project:ctest-TestBasicVMVNx-06534160, ID : f197e1d2-28a1-41e2-9f2d-d1e5fc2d76eb 2025-11-27 08:31:30,566 - INFO - ================================================================================ 2025-11-27 08:31:30,567 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-27 08:31:30,567 - 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-27 08:31:30,819 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-27 08:31:30,819 - INFO - Initial checks done. Running the testcase now 2025-11-27 08:31:30,819 - INFO - 2025-11-27 08:31:31,423 - DEBUG - Response for create_network : {'network': {'id': 'f11129e3-5e06-4c2c-83c9-daa1cc33ff87', 'name': 'ctest-vn-19064123', 'tenant_id': 'f197e1d228a141e29f2dd1e5fc2d76eb', 'project_id': 'f197e1d228a141e29f2dd1e5fc2d76eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-06534160', 'ctest-vn-19064123'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 08:31:31,608 - DEBUG - Response for create_subnet : {'subnet': {'id': '2723a78b-ecdf-49df-81d1-38df63244bfe', 'name': '', 'tenant_id': 'f197e1d228a141e29f2dd1e5fc2d76eb', 'network_id': 'f11129e3-5e06-4c2c-83c9-daa1cc33ff87', 'ip_version': 4, 'cidr': '144.219.125.0/26', 'allocation_pools': [{'start': '144.219.125.2', 'end': '144.219.125.62'}], 'gateway_ip': '144.219.125.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.219.125.2', 'tags': [], 'project_id': 'f197e1d228a141e29f2dd1e5fc2d76eb'}} 2025-11-27 08:31:31,629 - INFO - Created VN ctest-vn-19064123 2025-11-27 08:31:31,682 - DEBUG - VN ctest-vn-19064123 UUID is f11129e3-5e06-4c2c-83c9-daa1cc33ff87 2025-11-27 08:31:31,858 - DEBUG - Services list from nova: [, , ] 2025-11-27 08:31:33,271 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4823-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4823-1) 2025-11-27 08:31:34,541 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4823-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4823-1) 2025-11-27 08:31:34,541 - INFO - Waiting for VM ctest-TestBasicVMVNx-06534160-32601643 to be up.. 2025-11-27 08:31:34,624 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-27 08:31:39,707 - DEBUG - VM is in ACTIVE state now 2025-11-27 08:31:39,708 - INFO - VM name : ctest-TestBasicVMVNx-06534160-32601643 2025-11-27 08:31:39,786 - DEBUG - VM ctest-TestBasicVMVNx-06534160-32601643 ID is f1ab9716-73ef-4129-9494-60cf26a9e2b4 2025-11-27 08:31:39,808 - DEBUG - VM ctest-TestBasicVMVNx-06534160-32601643 launched on Node cn-jenkins-deploy-platform-ansible-os-4823-1 2025-11-27 08:31:39,893 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f1ab9716-73ef-4129-9494-60cf26a9e2b4 2025-11-27 08:31:40,234 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f1ab9716-73ef-4129-9494-60cf26a9e2b4 2025-11-27 08:31:40,277 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f90596e1-6f0e-4fde-a839-d8d07d28baa8 2025-11-27 08:31:43,527 - 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-11-27 08:31:43,527 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-06534160-32601643 failed! 2025-11-27 08:31:43,582 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-06534160:ctest-vn-19064123 is 144.219.125.1 and allocation pool is NOT set 2025-11-27 08:31:45,650 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.898 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 = 0.898/2.542/4.187/1.644 ms') 2025-11-27 08:31:45,650 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-06534160-32601643 passed 2025-11-27 08:31:45,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:31:45,802 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06534160-32601643, IP 144.219.125.3, Port 22 2025-11-27 08:31:45,972 - DEBUG - VM ctest-TestBasicVMVNx-06534160-32601643 is ready for SSH connections 2025-11-27 08:31:45,972 - INFO - Waiting for VM ctest-TestBasicVMVNx-06534160-80383070 to be up.. 2025-11-27 08:31:46,050 - DEBUG - VM is in ACTIVE state now 2025-11-27 08:31:46,050 - INFO - VM name : ctest-TestBasicVMVNx-06534160-80383070 2025-11-27 08:31:46,123 - DEBUG - VM ctest-TestBasicVMVNx-06534160-80383070 ID is e8f26de4-7538-4503-b7e5-301d3b6a2068 2025-11-27 08:31:46,123 - DEBUG - VM ctest-TestBasicVMVNx-06534160-80383070 launched on Node cn-jenkins-deploy-platform-ansible-os-4823-1 2025-11-27 08:31:46,203 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e8f26de4-7538-4503-b7e5-301d3b6a2068 2025-11-27 08:31:46,213 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f120adc7-ae03-4077-9ae3-e07b127c21ef 2025-11-27 08:31:47,450 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/1.387/2.331/0.943 ms') 2025-11-27 08:31:47,451 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-06534160-80383070 passed 2025-11-27 08:31:47,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:31:47,602 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06534160-80383070, IP 144.219.125.4, Port 22 2025-11-27 08:31:47,657 - 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-27 08:31:47,737 - DEBUG - VM ctest-TestBasicVMVNx-06534160-80383070 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-27 08:31:52,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:31:52,737 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06534160-80383070, IP 144.219.125.4, Port 22 2025-11-27 08:31:52,894 - DEBUG - VM ctest-TestBasicVMVNx-06534160-80383070 is ready for SSH connections 2025-11-27 08:31:52,894 - DEBUG - FILE SIZE = 1303B 2025-11-27 08:31:52,894 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-06534160-32601643 to ctest-TestBasicVMVNx-06534160-80383070 using scp 2025-11-27 08:31:52,896 - 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-11-27 08:31:52,896 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-27 08:31:54,916 - DEBUG - 1+0 records in 1+0 records out 2025-11-27 08:31:55,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:31:55,590 - 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-11-27 08:31:55,590 - DEBUG - ls -l testfile 2025-11-27 08:31:57,233 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 27 01:31 testfile 2025-11-27 08:31:57,233 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-06534160-80383070 2025-11-27 08:31:57,234 - INFO - Deleting VM ctest-TestBasicVMVNx-06534160-80383070 2025-11-27 08:31:57,313 - INFO - Deleting VM ctest-TestBasicVMVNx-06534160-32601643 2025-11-27 08:31:57,383 - INFO - Deleting VN ctest-vn-19064123 2025-11-27 08:31:57,420 - DEBUG - VN f11129e3-5e06-4c2c-83c9-daa1cc33ff87 still in use: Unable to complete operation on network f11129e3-5e06-4c2c-83c9-daa1cc33ff87. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6370bf0b-4bbe-4b29-ba64-92b5a71157d5'] 2025-11-27 08:31:57,420 - WARNING - Deleting VN ctest-vn-19064123 failed..Will retry 2025-11-27 08:31:59,523 - DEBUG - Response for deleting network () 2025-11-27 08:31:59,784 - DEBUG - No XMPP flaps were noticed during the test 2025-11-27 08:31:59,784 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2025-11-27 08:31:59,784 - INFO - -------------------------------------------------------------------------------- 2025-11-27 08:32:00,514 - INFO - Deleted project: ctest-TestBasicVMVNx-06534160, ID : f197e1d2-28a1-41e2-9f2d-d1e5fc2d76eb