2024-11-07 15:43:27,979 - INFO - Domain Default found not creating 2024-11-07 15:43:28,220 - INFO - Project ctest-TestBasicVMVNx-99043809 not found, creating it 2024-11-07 15:43:28,723 - INFO - Created Project:ctest-TestBasicVMVNx-99043809, ID : 2ecc622d-fced-4683-977d-fca0db5d0a72 2024-11-07 15:43:30,426 - INFO - ================================================================================ 2024-11-07 15:43:30,426 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-07 15:43:30,426 - 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 15:43:30,686 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.6': '0'}} with 2024-11-07 15:43:30,686 - INFO - Initial checks done. Running the testcase now 2024-11-07 15:43:30,686 - INFO - 2024-11-07 15:43:31,345 - DEBUG - Response for create_network : {'network': {'id': '4201aa9a-c4ff-49b2-9c3d-ff44986ab305', 'name': 'ctest-vn-35752166', 'tenant_id': '2ecc622dfced4683977dfca0db5d0a72', 'project_id': '2ecc622dfced4683977dfca0db5d0a72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-99043809', 'ctest-vn-35752166'], 'port_security_enabled': True, 'description': ''}} 2024-11-07 15:43:31,540 - DEBUG - Response for create_subnet : {'subnet': {'id': '42f0c43e-110d-4d51-95c1-4a9b1c731352', 'name': '', 'tenant_id': '2ecc622dfced4683977dfca0db5d0a72', 'network_id': '4201aa9a-c4ff-49b2-9c3d-ff44986ab305', 'ip_version': 4, 'cidr': '87.197.215.128/26', 'allocation_pools': [{'start': '87.197.215.130', 'end': '87.197.215.190'}], 'gateway_ip': '87.197.215.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.197.215.130', 'tags': [], 'project_id': '2ecc622dfced4683977dfca0db5d0a72'}} 2024-11-07 15:43:31,561 - INFO - Created VN ctest-vn-35752166 2024-11-07 15:43:31,623 - DEBUG - VN ctest-vn-35752166 UUID is 4201aa9a-c4ff-49b2-9c3d-ff44986ab305 2024-11-07 15:43:31,814 - DEBUG - Services list from nova: [, , ] 2024-11-07 15:43:32,991 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2218-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2218-1) 2024-11-07 15:43:34,349 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2218-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2218-1) 2024-11-07 15:43:34,350 - INFO - Waiting for VM ctest-TestBasicVMVNx-99043809-49569416 to be up.. 2024-11-07 15:43:34,471 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-07 15:43:39,606 - DEBUG - VM is in ACTIVE state now 2024-11-07 15:43:39,606 - INFO - VM name : ctest-TestBasicVMVNx-99043809-49569416 2024-11-07 15:43:39,705 - DEBUG - VM ctest-TestBasicVMVNx-99043809-49569416 ID is a1b5ef6a-e523-48f8-8261-8c91df8672c6 2024-11-07 15:43:39,738 - DEBUG - VM ctest-TestBasicVMVNx-99043809-49569416 launched on Node cn-jenkins-deploy-platform-ansible-os-2218-1 2024-11-07 15:43:40,010 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/a1b5ef6a-e523-48f8-8261-8c91df8672c6 2024-11-07 15:43:40,359 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/a1b5ef6a-e523-48f8-8261-8c91df8672c6 2024-11-07 15:43:40,396 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/82afbdb0-1895-43b2-82be-4e358a43be14 2024-11-07 15:43:43,692 - 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 1030ms') 2024-11-07 15:43:43,692 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99043809-49569416 failed! 2024-11-07 15:43:43,755 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-99043809:ctest-vn-35752166 is 87.197.215.129 and allocation pool is NOT set 2024-11-07 15:43:45,817 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 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.099/2.714/4.330/1.615 ms') 2024-11-07 15:43:45,817 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99043809-49569416 passed 2024-11-07 15:43:45,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 15:43:45,980 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99043809-49569416, IP 87.197.215.131, Port 22 2024-11-07 15:43:46,139 - DEBUG - VM ctest-TestBasicVMVNx-99043809-49569416 is ready for SSH connections 2024-11-07 15:43:46,139 - INFO - Waiting for VM ctest-TestBasicVMVNx-99043809-52244006 to be up.. 2024-11-07 15:43:46,228 - DEBUG - VM is in ACTIVE state now 2024-11-07 15:43:46,228 - INFO - VM name : ctest-TestBasicVMVNx-99043809-52244006 2024-11-07 15:43:46,313 - DEBUG - VM ctest-TestBasicVMVNx-99043809-52244006 ID is 293d3d4d-9ca6-40ba-8965-e6e9d23fdca3 2024-11-07 15:43:46,313 - DEBUG - VM ctest-TestBasicVMVNx-99043809-52244006 launched on Node cn-jenkins-deploy-platform-ansible-os-2218-1 2024-11-07 15:43:46,402 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/293d3d4d-9ca6-40ba-8965-e6e9d23fdca3 2024-11-07 15:43:46,415 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/475e3373-3fd8-4288-873a-2c0bd17a8969 2024-11-07 15:43:47,682 - 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=5.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.932 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.932/3.204/5.476/2.272 ms') 2024-11-07 15:43:47,682 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-99043809-52244006 passed 2024-11-07 15:43:47,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 15:43:47,845 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99043809-52244006, IP 87.197.215.132, Port 22 2024-11-07 15:43:48,007 - DEBUG - VM ctest-TestBasicVMVNx-99043809-52244006 is ready for SSH connections 2024-11-07 15:43:48,007 - DEBUG - FILE SIZE = 1303B 2024-11-07 15:43:48,007 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-99043809-49569416 to ctest-TestBasicVMVNx-99043809-52244006 using scp 2024-11-07 15:43:48,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 15:43:48,015 - 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.30, gateway password: c0ntrail123 2024-11-07 15:43:48,015 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-07 15:43:50,013 - DEBUG - 1+0 records in 1+0 records out 2024-11-07 15:43:50,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 15:43:51,020 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2024-11-07 15:43:51,020 - DEBUG - ls -l testfile 2024-11-07 15:43:52,638 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 7 08:43 testfile 2024-11-07 15:43:52,639 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-99043809-52244006 2024-11-07 15:43:52,639 - INFO - Deleting VM ctest-TestBasicVMVNx-99043809-52244006 2024-11-07 15:43:52,709 - INFO - Deleting VM ctest-TestBasicVMVNx-99043809-49569416 2024-11-07 15:43:52,781 - INFO - Deleting VN ctest-vn-35752166 2024-11-07 15:43:52,829 - DEBUG - VN 4201aa9a-c4ff-49b2-9c3d-ff44986ab305 still in use: Unable to complete operation on network 4201aa9a-c4ff-49b2-9c3d-ff44986ab305. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e276f095-7fca-4742-bfb5-012af922f546'] 2024-11-07 15:43:52,829 - WARNING - Deleting VN ctest-vn-35752166 failed..Will retry 2024-11-07 15:43:54,945 - DEBUG - Response for deleting network () 2024-11-07 15:43:55,201 - DEBUG - No XMPP flaps were noticed during the test 2024-11-07 15:43:55,201 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-11-07 15:43:55,201 - INFO - -------------------------------------------------------------------------------- 2024-11-07 15:43:56,006 - INFO - Deleted project: ctest-TestBasicVMVNx-99043809, ID : 2ecc622d-fced-4683-977d-fca0db5d0a72