2024-09-10 21:02:46,024 - INFO - Domain Default found not creating 2024-09-10 21:02:46,215 - INFO - Project ctest-TestBasicVMVNx-35011425 not found, creating it 2024-09-10 21:02:46,719 - INFO - Created Project:ctest-TestBasicVMVNx-35011425, ID : a80c582f-6dc7-48ea-962d-2cbd8cf9ed2a 2024-09-10 21:02:48,205 - INFO - ================================================================================ 2024-09-10 21:02:48,206 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-10 21:02:48,206 - 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 2024-09-10 21:02:48,499 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.6': '0'}} with 2024-09-10 21:02:48,499 - INFO - Initial checks done. Running the testcase now 2024-09-10 21:02:48,499 - INFO - 2024-09-10 21:02:49,080 - DEBUG - Response for create_network : {'network': {'id': '133a8e15-3b17-4420-9c0c-07ac6bc7afe4', 'name': 'ctest-vn-19008777', 'tenant_id': 'a80c582f6dc748ea962d2cbd8cf9ed2a', 'project_id': 'a80c582f6dc748ea962d2cbd8cf9ed2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-35011425', 'ctest-vn-19008777'], 'port_security_enabled': True, 'description': ''}} 2024-09-10 21:02:49,300 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb05b93e-1747-480a-9139-5727e229a900', 'name': '', 'tenant_id': 'a80c582f6dc748ea962d2cbd8cf9ed2a', 'network_id': '133a8e15-3b17-4420-9c0c-07ac6bc7afe4', 'ip_version': 4, 'cidr': '79.186.179.128/26', 'allocation_pools': [{'start': '79.186.179.130', 'end': '79.186.179.190'}], 'gateway_ip': '79.186.179.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.186.179.130', 'tags': [], 'project_id': 'a80c582f6dc748ea962d2cbd8cf9ed2a'}} 2024-09-10 21:02:49,322 - INFO - Created VN ctest-vn-19008777 2024-09-10 21:02:49,372 - DEBUG - VN ctest-vn-19008777 UUID is 133a8e15-3b17-4420-9c0c-07ac6bc7afe4 2024-09-10 21:02:49,543 - DEBUG - Services list from nova: [, , ] 2024-09-10 21:02:50,571 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1887-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1887-1) 2024-09-10 21:02:51,728 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1887-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1887-1) 2024-09-10 21:02:51,729 - INFO - Waiting for VM ctest-TestBasicVMVNx-35011425-74049496 to be up.. 2024-09-10 21:02:51,832 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-10 21:02:56,931 - DEBUG - VM is in ACTIVE state now 2024-09-10 21:02:56,931 - INFO - VM name : ctest-TestBasicVMVNx-35011425-74049496 2024-09-10 21:02:57,015 - DEBUG - VM ctest-TestBasicVMVNx-35011425-74049496 ID is bdeb2517-1e5c-4e52-b800-19e3c99bd706 2024-09-10 21:02:57,036 - DEBUG - VM ctest-TestBasicVMVNx-35011425-74049496 launched on Node cn-jenkins-deploy-platform-ansible-os-1887-1 2024-09-10 21:02:57,119 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/bdeb2517-1e5c-4e52-b800-19e3c99bd706 2024-09-10 21:02:57,419 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/bdeb2517-1e5c-4e52-b800-19e3c99bd706 2024-09-10 21:02:57,454 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/1a7590aa-dc2b-4005-86df-c49bed47dd03 2024-09-10 21:03:00,712 - 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 1016ms') 2024-09-10 21:03:00,712 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-35011425-74049496 failed! 2024-09-10 21:03:00,764 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-35011425:ctest-vn-19008777 is 79.186.179.129 and allocation pool is NOT set 2024-09-10 21:03:02,826 - 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=2.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.328 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.328/1.570/2.813/1.242 ms') 2024-09-10 21:03:02,826 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-35011425-74049496 passed 2024-09-10 21:03:02,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 21:03:02,981 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-35011425-74049496, IP 79.186.179.131, Port 22 2024-09-10 21:03:03,139 - DEBUG - VM ctest-TestBasicVMVNx-35011425-74049496 is ready for SSH connections 2024-09-10 21:03:03,139 - INFO - Waiting for VM ctest-TestBasicVMVNx-35011425-12627373 to be up.. 2024-09-10 21:03:03,216 - DEBUG - VM is in ACTIVE state now 2024-09-10 21:03:03,216 - INFO - VM name : ctest-TestBasicVMVNx-35011425-12627373 2024-09-10 21:03:03,290 - DEBUG - VM ctest-TestBasicVMVNx-35011425-12627373 ID is 6e84f811-f875-4ba3-b8a8-73090abe77a7 2024-09-10 21:03:03,290 - DEBUG - VM ctest-TestBasicVMVNx-35011425-12627373 launched on Node cn-jenkins-deploy-platform-ansible-os-1887-1 2024-09-10 21:03:03,364 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/6e84f811-f875-4ba3-b8a8-73090abe77a7 2024-09-10 21:03:03,372 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/e66a1c15-c874-4e57-8b68-bd0be199780b 2024-09-10 21:03:04,615 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.538 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.538/2.190/3.842/1.652 ms') 2024-09-10 21:03:04,615 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-35011425-12627373 passed 2024-09-10 21:03:04,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 21:03:04,768 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-35011425-12627373, IP 79.186.179.132, Port 22 2024-09-10 21:03:04,924 - DEBUG - VM ctest-TestBasicVMVNx-35011425-12627373 is ready for SSH connections 2024-09-10 21:03:04,924 - DEBUG - FILE SIZE = 1303B 2024-09-10 21:03:04,924 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-35011425-74049496 to ctest-TestBasicVMVNx-35011425-12627373 using scp 2024-09-10 21:03:04,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 21:03:04,931 - 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 2024-09-10 21:03:04,932 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-10 21:03:06,828 - DEBUG - 1+0 records in 1+0 records out 2024-09-10 21:03:07,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 21:03:07,964 - 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 2024-09-10 21:03:07,965 - DEBUG - ls -l testfile 2024-09-10 21:03:09,524 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 10 15:03 testfile 2024-09-10 21:03:09,524 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-35011425-12627373 2024-09-10 21:03:09,524 - INFO - Deleting VM ctest-TestBasicVMVNx-35011425-12627373 2024-09-10 21:03:09,602 - INFO - Deleting VM ctest-TestBasicVMVNx-35011425-74049496 2024-09-10 21:03:09,672 - INFO - Deleting VN ctest-vn-19008777 2024-09-10 21:03:09,716 - DEBUG - VN 133a8e15-3b17-4420-9c0c-07ac6bc7afe4 still in use: Unable to complete operation on network 133a8e15-3b17-4420-9c0c-07ac6bc7afe4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-60b58e49-7adc-4378-90af-bc0ca6cced18'] 2024-09-10 21:03:09,716 - WARNING - Deleting VN ctest-vn-19008777 failed..Will retry 2024-09-10 21:03:11,834 - DEBUG - Response for deleting network () 2024-09-10 21:03:12,101 - DEBUG - No XMPP flaps were noticed during the test 2024-09-10 21:03:12,101 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-09-10 21:03:12,101 - INFO - -------------------------------------------------------------------------------- 2024-09-10 21:03:12,767 - INFO - Deleted project: ctest-TestBasicVMVNx-35011425, ID : a80c582f-6dc7-48ea-962d-2cbd8cf9ed2a