2024-11-07 11:56:35,854 - INFO - Domain Default found not creating 2024-11-07 11:56:36,041 - INFO - Project ctest-TestBasicVMVNx-00601219 not found, creating it 2024-11-07 11:56:36,655 - INFO - Created Project:ctest-TestBasicVMVNx-00601219, ID : bf72d287-39a2-4962-b0df-5fe6306f0711 2024-11-07 11:56:38,310 - INFO - ================================================================================ 2024-11-07 11:56:38,310 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-07 11:56:38,310 - 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-11-07 11:56:38,578 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.8': '0'}} with 2024-11-07 11:56:38,578 - INFO - Initial checks done. Running the testcase now 2024-11-07 11:56:38,578 - INFO - 2024-11-07 11:56:39,231 - DEBUG - Response for create_network : {'network': {'id': '3720d83c-9bd0-425d-9e23-fe7687d063dd', 'name': 'ctest-vn-31308859', 'tenant_id': 'bf72d28739a24962b0df5fe6306f0711', 'project_id': 'bf72d28739a24962b0df5fe6306f0711', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-00601219', 'ctest-vn-31308859'], 'port_security_enabled': True, 'description': ''}} 2024-11-07 11:56:39,444 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a313d63e-0674-4a3a-b6c3-c4f715540e2e', 'name': '', 'tenant_id': 'bf72d28739a24962b0df5fe6306f0711', 'network_id': '3720d83c-9bd0-425d-9e23-fe7687d063dd', 'ip_version': 4, 'cidr': '125.39.121.192/26', 'allocation_pools': [{'start': '125.39.121.194', 'end': '125.39.121.254'}], 'gateway_ip': '125.39.121.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.39.121.194', 'tags': [], 'project_id': 'bf72d28739a24962b0df5fe6306f0711'}} 2024-11-07 11:56:39,470 - INFO - Created VN ctest-vn-31308859 2024-11-07 11:56:39,528 - DEBUG - VN ctest-vn-31308859 UUID is 3720d83c-9bd0-425d-9e23-fe7687d063dd 2024-11-07 11:56:39,724 - DEBUG - Services list from nova: [, , ] 2024-11-07 11:56:40,888 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2217-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2217-1) 2024-11-07 11:56:42,178 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2217-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2217-1) 2024-11-07 11:56:42,178 - INFO - Waiting for VM ctest-TestBasicVMVNx-00601219-84449030 to be up.. 2024-11-07 11:56:42,287 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-07 11:56:47,384 - DEBUG - VM is in ACTIVE state now 2024-11-07 11:56:47,384 - INFO - VM name : ctest-TestBasicVMVNx-00601219-84449030 2024-11-07 11:56:47,480 - DEBUG - VM ctest-TestBasicVMVNx-00601219-84449030 ID is 30b9c3cd-605e-4490-b6d4-0495b7501dbe 2024-11-07 11:56:47,507 - DEBUG - VM ctest-TestBasicVMVNx-00601219-84449030 launched on Node cn-jenkins-deploy-platform-ansible-os-2217-1 2024-11-07 11:56:47,607 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/30b9c3cd-605e-4490-b6d4-0495b7501dbe 2024-11-07 11:56:47,929 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/30b9c3cd-605e-4490-b6d4-0495b7501dbe 2024-11-07 11:56:47,993 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/7c0806a7-1893-4ccd-bb34-b75ff2af268f 2024-11-07 11:56:51,295 - 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 1021ms') 2024-11-07 11:56:51,295 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-00601219-84449030 failed! 2024-11-07 11:56:51,368 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-00601219:ctest-vn-31308859 is 125.39.121.193 and allocation pool is NOT set 2024-11-07 11:56:53,430 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.34 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 = 1.340/2.641/3.942/1.301 ms') 2024-11-07 11:56:53,430 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-00601219-84449030 passed 2024-11-07 11:56:53,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 11:56:53,600 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-00601219-84449030, IP 125.39.121.195, Port 22 2024-11-07 11:56:53,759 - DEBUG - VM ctest-TestBasicVMVNx-00601219-84449030 is ready for SSH connections 2024-11-07 11:56:53,759 - INFO - Waiting for VM ctest-TestBasicVMVNx-00601219-40843758 to be up.. 2024-11-07 11:56:53,868 - DEBUG - VM is in ACTIVE state now 2024-11-07 11:56:53,868 - INFO - VM name : ctest-TestBasicVMVNx-00601219-40843758 2024-11-07 11:56:53,974 - DEBUG - VM ctest-TestBasicVMVNx-00601219-40843758 ID is 0b901c85-1395-45dc-a3cf-02419dae573a 2024-11-07 11:56:53,974 - DEBUG - VM ctest-TestBasicVMVNx-00601219-40843758 launched on Node cn-jenkins-deploy-platform-ansible-os-2217-1 2024-11-07 11:56:54,072 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/0b901c85-1395-45dc-a3cf-02419dae573a 2024-11-07 11:56:54,085 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/086ee9bd-1e13-4250-b1da-29dca66d1611 2024-11-07 11:56:55,352 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.734 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.734/1.996/3.258/1.262 ms') 2024-11-07 11:56:55,352 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-00601219-40843758 passed 2024-11-07 11:56:55,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 11:56:55,516 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-00601219-40843758, IP 125.39.121.196, Port 22 2024-11-07 11:56:55,676 - DEBUG - VM ctest-TestBasicVMVNx-00601219-40843758 is ready for SSH connections 2024-11-07 11:56:55,676 - DEBUG - FILE SIZE = 1303B 2024-11-07 11:56:55,676 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-00601219-84449030 to ctest-TestBasicVMVNx-00601219-40843758 using scp 2024-11-07 11:56:55,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 11:56:55,682 - 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.28, gateway password: c0ntrail123 2024-11-07 11:56:55,682 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-07 11:56:57,616 - DEBUG - 1+0 records in 1+0 records out 2024-11-07 11:56:58,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 11:56:58,757 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-11-07 11:56:58,758 - DEBUG - ls -l testfile 2024-11-07 11:57:00,364 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 7 04:56 testfile 2024-11-07 11:57:00,364 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-00601219-40843758 2024-11-07 11:57:00,364 - INFO - Deleting VM ctest-TestBasicVMVNx-00601219-40843758 2024-11-07 11:57:00,439 - INFO - Deleting VM ctest-TestBasicVMVNx-00601219-84449030 2024-11-07 11:57:00,518 - INFO - Deleting VN ctest-vn-31308859 2024-11-07 11:57:00,566 - DEBUG - VN 3720d83c-9bd0-425d-9e23-fe7687d063dd still in use: Unable to complete operation on network 3720d83c-9bd0-425d-9e23-fe7687d063dd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee9f26fa-e19d-4f11-b13e-bf9e8638072c'] 2024-11-07 11:57:00,567 - WARNING - Deleting VN ctest-vn-31308859 failed..Will retry 2024-11-07 11:57:02,693 - DEBUG - Response for deleting network () 2024-11-07 11:57:02,950 - DEBUG - No XMPP flaps were noticed during the test
2024-11-07 11:57:02,950 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-11-07 11:57:02,950 - INFO - -------------------------------------------------------------------------------- 2024-11-07 11:57:03,712 - INFO - Deleted project: ctest-TestBasicVMVNx-00601219, ID : bf72d287-39a2-4962-b0df-5fe6306f0711