2025-02-13 02:35:24,455 - INFO - Domain Default found not creating 2025-02-13 02:35:24,611 - INFO - Project ctest-TestBasicVMVNx-61917125 not found, creating it 2025-02-13 02:35:25,099 - INFO - Created Project:ctest-TestBasicVMVNx-61917125, ID : 72606db8-4a9d-4b73-a8bf-cefd8b84daca 2025-02-13 02:35:26,535 - INFO - ================================================================================ 2025-02-13 02:35:26,535 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-13 02:35:26,535 - 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-02-13 02:35:26,793 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.0.0.45': '0'}} with 2025-02-13 02:35:26,794 - INFO - Initial checks done. Running the testcase now 2025-02-13 02:35:26,794 - INFO - 2025-02-13 02:35:27,343 - DEBUG - Response for create_network : {'network': {'id': 'a53723b6-2d9f-4b41-ad54-6850c63af931', 'name': 'ctest-vn-32855635', 'tenant_id': '72606db84a9d4b73a8bfcefd8b84daca', 'project_id': '72606db84a9d4b73a8bfcefd8b84daca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-61917125', 'ctest-vn-32855635'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:35:27,525 - DEBUG - Response for create_subnet : {'subnet': {'id': '05134a33-9b90-4b6a-848e-d78f8df39507', 'name': '', 'tenant_id': '72606db84a9d4b73a8bfcefd8b84daca', 'network_id': 'a53723b6-2d9f-4b41-ad54-6850c63af931', 'ip_version': 4, 'cidr': '20.176.109.128/26', 'allocation_pools': [{'start': '20.176.109.130', 'end': '20.176.109.190'}], 'gateway_ip': '20.176.109.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.176.109.130', 'tags': [], 'project_id': '72606db84a9d4b73a8bfcefd8b84daca'}} 2025-02-13 02:35:27,541 - INFO - Created VN ctest-vn-32855635 2025-02-13 02:35:27,592 - DEBUG - VN ctest-vn-32855635 UUID is a53723b6-2d9f-4b41-ad54-6850c63af931 2025-02-13 02:35:27,796 - DEBUG - Services list from nova: [, , ] 2025-02-13 02:35:28,804 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2729-1) 2025-02-13 02:35:29,940 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2729-1) 2025-02-13 02:35:29,941 - INFO - Waiting for VM ctest-TestBasicVMVNx-61917125-21334321 to be up.. 2025-02-13 02:35:30,016 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-13 02:35:35,104 - DEBUG - VM is in ACTIVE state now 2025-02-13 02:35:35,104 - INFO - VM name : ctest-TestBasicVMVNx-61917125-21334321 2025-02-13 02:35:35,183 - DEBUG - VM ctest-TestBasicVMVNx-61917125-21334321 ID is 1c30f104-51b4-4d87-b105-b50e04ce2e9a 2025-02-13 02:35:35,206 - DEBUG - VM ctest-TestBasicVMVNx-61917125-21334321 launched on Node cn-jenkins-deploy-platform-ansible-os-2729-1. 2025-02-13 02:35:35,295 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/1c30f104-51b4-4d87-b105-b50e04ce2e9a 2025-02-13 02:35:35,596 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/1c30f104-51b4-4d87-b105-b50e04ce2e9a 2025-02-13 02:35:35,628 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/6b65a80f-a650-4ff8-8765-0d78fc84d5e9 2025-02-13 02:35:38,894 - 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 1031ms') 2025-02-13 02:35:38,894 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-61917125-21334321 failed! 2025-02-13 02:35:38,952 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-61917125:ctest-vn-32855635 is 20.176.109.129 and allocation pool is NOT set 2025-02-13 02:35:41,013 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.357 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.357/2.671/4.985/2.314 ms') 2025-02-13 02:35:41,013 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-61917125-21334321 passed 2025-02-13 02:35:41,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:35:41,164 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-61917125-21334321, IP 20.176.109.131, Port 22 2025-02-13 02:35:41,330 - DEBUG - VM ctest-TestBasicVMVNx-61917125-21334321 is ready for SSH connections 2025-02-13 02:35:41,330 - INFO - Waiting for VM ctest-TestBasicVMVNx-61917125-59879552 to be up.. 2025-02-13 02:35:41,406 - DEBUG - VM is in ACTIVE state now 2025-02-13 02:35:41,407 - INFO - VM name : ctest-TestBasicVMVNx-61917125-59879552 2025-02-13 02:35:41,478 - DEBUG - VM ctest-TestBasicVMVNx-61917125-59879552 ID is 6bd4ba98-1c55-46a1-95f3-815443b4a7d8 2025-02-13 02:35:41,478 - DEBUG - VM ctest-TestBasicVMVNx-61917125-59879552 launched on Node cn-jenkins-deploy-platform-ansible-os-2729-1. 2025-02-13 02:35:41,557 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/6bd4ba98-1c55-46a1-95f3-815443b4a7d8 2025-02-13 02:35:41,566 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/e564d2f2-54f5-412d-b2cd-fd2b0c723d86 2025-02-13 02:35:42,802 - 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=4.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.85 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 = 1.847/3.398/4.950/1.551 ms') 2025-02-13 02:35:42,802 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-61917125-59879552 passed 2025-02-13 02:35:42,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:35:42,953 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-61917125-59879552, IP 20.176.109.132, Port 22 2025-02-13 02:35:43,116 - DEBUG - VM ctest-TestBasicVMVNx-61917125-59879552 is ready for SSH connections 2025-02-13 02:35:43,116 - DEBUG - FILE SIZE = 1303B 2025-02-13 02:35:43,116 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-61917125-21334321 to ctest-TestBasicVMVNx-61917125-59879552 using scp 2025-02-13 02:35:43,117 - 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.45, gateway password: c0ntrail123 2025-02-13 02:35:43,117 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-13 02:35:44,993 - DEBUG - 1+0 records in 1+0 records out 2025-02-13 02:35:45,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:35:46,059 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2025-02-13 02:35:46,059 - DEBUG - ls -l testfile 2025-02-13 02:35:47,676 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 12 19:35 testfile 2025-02-13 02:35:47,676 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-61917125-59879552 2025-02-13 02:35:47,677 - INFO - Deleting VM ctest-TestBasicVMVNx-61917125-59879552 2025-02-13 02:35:47,751 - INFO - Deleting VM ctest-TestBasicVMVNx-61917125-21334321 2025-02-13 02:35:47,822 - INFO - Deleting VN ctest-vn-32855635 2025-02-13 02:35:47,863 - DEBUG - VN a53723b6-2d9f-4b41-ad54-6850c63af931 still in use: Unable to complete operation on network a53723b6-2d9f-4b41-ad54-6850c63af931. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fd64fe8f-7f90-48b3-9cc8-e812b720e3d5'] 2025-02-13 02:35:47,863 - WARNING - Deleting VN ctest-vn-32855635 failed..Will retry 2025-02-13 02:35:49,988 - DEBUG - Response for deleting network () 2025-02-13 02:35:50,263 - DEBUG - No XMPP flaps were noticed during the test 2025-02-13 02:35:50,263 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-02-13 02:35:50,263 - INFO - -------------------------------------------------------------------------------- 2025-02-13 02:35:51,005 - INFO - Deleted project: ctest-TestBasicVMVNx-61917125, ID : 72606db8-4a9d-4b73-a8bf-cefd8b84daca