2025-05-13 09:57:15,777 - INFO - Domain Default found not creating 2025-05-13 09:57:15,909 - INFO - Project ctest-TestBasicVMVNx-21943991 not found, creating it 2025-05-13 09:57:16,344 - INFO - Created Project:ctest-TestBasicVMVNx-21943991, ID : 8c2d46f5-dc58-4063-9e4b-f13363c612de 2025-05-13 09:57:17,693 - INFO - ================================================================================ 2025-05-13 09:57:17,693 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-13 09:57:17,693 - 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-05-13 09:57:17,946 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-05-13 09:57:17,946 - INFO - Initial checks done. Running the testcase now 2025-05-13 09:57:17,946 - INFO - 2025-05-13 09:57:18,460 - DEBUG - Response for create_network : {'network': {'id': '603e0b4b-714b-4bde-b56c-3bb0ed2f65c8', 'name': 'ctest-vn-04041135', 'tenant_id': '8c2d46f5dc5840639e4bf13363c612de', 'project_id': '8c2d46f5dc5840639e4bf13363c612de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-21943991', 'ctest-vn-04041135'], 'port_security_enabled': True, 'description': ''}} 2025-05-13 09:57:18,672 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8d6c288-063a-4c57-993a-04d12f745301', 'name': '', 'tenant_id': '8c2d46f5dc5840639e4bf13363c612de', 'network_id': '603e0b4b-714b-4bde-b56c-3bb0ed2f65c8', 'ip_version': 4, 'cidr': '66.193.228.192/26', 'allocation_pools': [{'start': '66.193.228.194', 'end': '66.193.228.254'}], 'gateway_ip': '66.193.228.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.193.228.194', 'tags': [], 'project_id': '8c2d46f5dc5840639e4bf13363c612de'}} 2025-05-13 09:57:18,690 - INFO - Created VN ctest-vn-04041135 2025-05-13 09:57:18,741 - DEBUG - VN ctest-vn-04041135 UUID is 603e0b4b-714b-4bde-b56c-3bb0ed2f65c8 2025-05-13 09:57:18,937 - DEBUG - Services list from nova: [, , ] 2025-05-13 09:57:19,905 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3304-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3304-1) 2025-05-13 09:57:20,954 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3304-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3304-1) 2025-05-13 09:57:20,954 - INFO - Waiting for VM ctest-TestBasicVMVNx-21943991-81164108 to be up.. 2025-05-13 09:57:21,043 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-13 09:57:26,118 - DEBUG - VM is in ACTIVE state now 2025-05-13 09:57:26,118 - INFO - VM name : ctest-TestBasicVMVNx-21943991-81164108 2025-05-13 09:57:26,201 - DEBUG - VM ctest-TestBasicVMVNx-21943991-81164108 ID is 00e1ad12-bbce-4597-85da-83ca4b12320f 2025-05-13 09:57:26,224 - DEBUG - VM ctest-TestBasicVMVNx-21943991-81164108 launched on Node cn-jenkins-deploy-platform-ansible-os-3304-1 2025-05-13 09:57:26,291 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/00e1ad12-bbce-4597-85da-83ca4b12320f 2025-05-13 09:57:26,586 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/00e1ad12-bbce-4597-85da-83ca4b12320f 2025-05-13 09:57:26,618 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/5e30d02d-eea3-44de-8d12-45390a66d7de 2025-05-13 09:57:29,896 - 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-05-13 09:57:29,897 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21943991-81164108 failed! 2025-05-13 09:57:29,961 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-21943991:ctest-vn-04041135 is 66.193.228.193 and allocation pool is NOT set 2025-05-13 09:57:32,022 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.371 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.371/2.453/4.536/2.082 ms') 2025-05-13 09:57:32,022 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21943991-81164108 passed 2025-05-13 09:57:32,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 09:57:32,173 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21943991-81164108, IP 66.193.228.195, Port 22 2025-05-13 09:57:32,328 - DEBUG - VM ctest-TestBasicVMVNx-21943991-81164108 is ready for SSH connections 2025-05-13 09:57:32,329 - INFO - Waiting for VM ctest-TestBasicVMVNx-21943991-41337162 to be up.. 2025-05-13 09:57:32,401 - DEBUG - VM is in ACTIVE state now 2025-05-13 09:57:32,401 - INFO - VM name : ctest-TestBasicVMVNx-21943991-41337162 2025-05-13 09:57:32,469 - DEBUG - VM ctest-TestBasicVMVNx-21943991-41337162 ID is d4c81199-804a-4827-a89a-4ba198710ee2 2025-05-13 09:57:32,470 - DEBUG - VM ctest-TestBasicVMVNx-21943991-41337162 launched on Node cn-jenkins-deploy-platform-ansible-os-3304-1 2025-05-13 09:57:32,541 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d4c81199-804a-4827-a89a-4ba198710ee2 2025-05-13 09:57:32,550 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/835d06ff-2ab7-48d6-86d1-a14d1b75be27 2025-05-13 09:57:33,781 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.359 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.359/1.484/2.610/1.125 ms') 2025-05-13 09:57:33,781 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-21943991-41337162 passed 2025-05-13 09:57:33,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 09:57:33,929 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21943991-41337162, IP 66.193.228.196, Port 22 2025-05-13 09:57:34,088 - DEBUG - VM ctest-TestBasicVMVNx-21943991-41337162 is ready for SSH connections 2025-05-13 09:57:34,088 - DEBUG - FILE SIZE = 1303B 2025-05-13 09:57:34,088 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-21943991-81164108 to ctest-TestBasicVMVNx-21943991-41337162 using scp 2025-05-13 09:57:34,089 - 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-05-13 09:57:34,089 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-13 09:57:35,959 - DEBUG - 1+0 records in 1+0 records out 2025-05-13 09:57:36,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 09:57:36,874 - 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-05-13 09:57:36,874 - DEBUG - ls -l testfile 2025-05-13 09:57:38,466 - DEBUG - -rw------- 1 cirros cirros 1303 May 13 03:57 testfile 2025-05-13 09:57:38,466 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-21943991-41337162 2025-05-13 09:57:38,467 - INFO - Deleting VM ctest-TestBasicVMVNx-21943991-41337162 2025-05-13 09:57:38,527 - INFO - Deleting VM ctest-TestBasicVMVNx-21943991-81164108 2025-05-13 09:57:38,594 - INFO - Deleting VN ctest-vn-04041135 2025-05-13 09:57:38,627 - DEBUG - VN 603e0b4b-714b-4bde-b56c-3bb0ed2f65c8 still in use: Unable to complete operation on network 603e0b4b-714b-4bde-b56c-3bb0ed2f65c8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fb1e1550-25d9-42d6-80f5-db818bb64090'] 2025-05-13 09:57:38,627 - WARNING - Deleting VN ctest-vn-04041135 failed..Will retry 2025-05-13 09:57:40,728 - DEBUG - Response for deleting network () 2025-05-13 09:57:40,990 - DEBUG - No XMPP flaps were noticed during the test
2025-05-13 09:57:40,990 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-05-13 09:57:40,990 - INFO - -------------------------------------------------------------------------------- 2025-05-13 09:57:41,643 - INFO - Deleted project: ctest-TestBasicVMVNx-21943991, ID : 8c2d46f5-dc58-4063-9e4b-f13363c612de