2024-08-29 15:22:02,819 - INFO - Domain Default found not creating 2024-08-29 15:22:02,989 - INFO - Project ctest-TestBasicVMVNx-13705408 not found, creating it 2024-08-29 15:22:03,473 - INFO - Created Project:ctest-TestBasicVMVNx-13705408, ID : dfec5a47-312c-42db-af0f-3d086d2d1315 2024-08-29 15:22:05,023 - INFO - ================================================================================ 2024-08-29 15:22:05,023 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-29 15:22:05,023 - 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-08-29 15:22:05,276 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.5': '0'}} with 2024-08-29 15:22:05,277 - INFO - Initial checks done. Running the testcase now 2024-08-29 15:22:05,277 - INFO - 2024-08-29 15:22:05,878 - DEBUG - Response for create_network : {'network': {'id': '3539ccc2-7766-4d52-8456-7812b4e56265', 'name': 'ctest-vn-52098211', 'tenant_id': 'dfec5a47312c42dbaf0f3d086d2d1315', 'project_id': 'dfec5a47312c42dbaf0f3d086d2d1315', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-13705408', 'ctest-vn-52098211'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 15:22:06,088 - DEBUG - Response for create_subnet : {'subnet': {'id': '17618651-875b-422d-bf35-e1380dc3d742', 'name': '', 'tenant_id': 'dfec5a47312c42dbaf0f3d086d2d1315', 'network_id': '3539ccc2-7766-4d52-8456-7812b4e56265', 'ip_version': 4, 'cidr': '26.97.215.128/26', 'allocation_pools': [{'start': '26.97.215.130', 'end': '26.97.215.190'}], 'gateway_ip': '26.97.215.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.97.215.130', 'tags': [], 'project_id': 'dfec5a47312c42dbaf0f3d086d2d1315'}} 2024-08-29 15:22:06,111 - INFO - Created VN ctest-vn-52098211 2024-08-29 15:22:06,162 - DEBUG - VN ctest-vn-52098211 UUID is 3539ccc2-7766-4d52-8456-7812b4e56265 2024-08-29 15:22:06,339 - DEBUG - Services list from nova: [, , ] 2024-08-29 15:22:07,357 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1810-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1810-1) 2024-08-29 15:22:08,530 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1810-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1810-1) 2024-08-29 15:22:08,530 - INFO - Waiting for VM ctest-TestBasicVMVNx-13705408-04335966 to be up.. 2024-08-29 15:22:08,631 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-29 15:22:13,727 - DEBUG - VM is in ACTIVE state now 2024-08-29 15:22:13,727 - INFO - VM name : ctest-TestBasicVMVNx-13705408-04335966 2024-08-29 15:22:13,819 - DEBUG - VM ctest-TestBasicVMVNx-13705408-04335966 ID is d408b8db-4170-4ee7-844e-2ef4517fab1e 2024-08-29 15:22:13,837 - DEBUG - VM ctest-TestBasicVMVNx-13705408-04335966 launched on Node cn-jenkins-deploy-platform-ansible-os-1810-1 2024-08-29 15:22:13,913 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d408b8db-4170-4ee7-844e-2ef4517fab1e 2024-08-29 15:22:14,229 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d408b8db-4170-4ee7-844e-2ef4517fab1e 2024-08-29 15:22:14,270 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9bb25581-b7cf-4c0f-8df0-1713f566ab01 2024-08-29 15:22:17,539 - 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') 2024-08-29 15:22:17,539 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13705408-04335966 failed! 2024-08-29 15:22:17,610 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-13705408:ctest-vn-52098211 is 26.97.215.129 and allocation pool is NOT set 2024-08-29 15:22:19,667 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.441 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.441/2.332/4.224/1.891 ms') 2024-08-29 15:22:19,667 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13705408-04335966 passed 2024-08-29 15:22:19,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 15:22:19,814 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13705408-04335966, IP 26.97.215.131, Port 22 2024-08-29 15:22:19,970 - DEBUG - VM ctest-TestBasicVMVNx-13705408-04335966 is ready for SSH connections 2024-08-29 15:22:19,970 - INFO - Waiting for VM ctest-TestBasicVMVNx-13705408-94698928 to be up.. 2024-08-29 15:22:20,047 - DEBUG - VM is in ACTIVE state now 2024-08-29 15:22:20,047 - INFO - VM name : ctest-TestBasicVMVNx-13705408-94698928 2024-08-29 15:22:20,154 - DEBUG - VM ctest-TestBasicVMVNx-13705408-94698928 ID is ad735375-1d8b-43bb-af69-0fe88a86740d 2024-08-29 15:22:20,154 - DEBUG - VM ctest-TestBasicVMVNx-13705408-94698928 launched on Node cn-jenkins-deploy-platform-ansible-os-1810-1 2024-08-29 15:22:20,342 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ad735375-1d8b-43bb-af69-0fe88a86740d 2024-08-29 15:22:20,352 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/42e34e96-84b3-4eb7-b311-3f551e5dddd8 2024-08-29 15:22:21,593 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.536 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.536/1.703/2.871/1.167 ms') 2024-08-29 15:22:21,594 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-13705408-94698928 passed 2024-08-29 15:22:21,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 15:22:21,743 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13705408-94698928, IP 26.97.215.132, Port 22 2024-08-29 15:22:21,898 - DEBUG - VM ctest-TestBasicVMVNx-13705408-94698928 is ready for SSH connections 2024-08-29 15:22:21,898 - DEBUG - FILE SIZE = 1303B 2024-08-29 15:22:21,898 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-13705408-04335966 to ctest-TestBasicVMVNx-13705408-94698928 using scp 2024-08-29 15:22:21,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 15:22:21,903 - 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.33, gateway password: c0ntrail123 2024-08-29 15:22:21,904 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-29 15:22:23,808 - DEBUG - 1+0 records in 1+0 records out 2024-08-29 15:22:24,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 15:22:24,874 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-08-29 15:22:24,874 - DEBUG - ls -l testfile 2024-08-29 15:22:26,452 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 29 09:22 testfile 2024-08-29 15:22:26,452 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-13705408-94698928 2024-08-29 15:22:26,452 - INFO - Deleting VM ctest-TestBasicVMVNx-13705408-94698928 2024-08-29 15:22:26,520 - INFO - Deleting VM ctest-TestBasicVMVNx-13705408-04335966 2024-08-29 15:22:26,604 - INFO - Deleting VN ctest-vn-52098211 2024-08-29 15:22:26,660 - DEBUG - VN 3539ccc2-7766-4d52-8456-7812b4e56265 still in use: Unable to complete operation on network 3539ccc2-7766-4d52-8456-7812b4e56265. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3a88b53b-8aaf-40eb-8622-a403e3c432ce'] 2024-08-29 15:22:26,661 - WARNING - Deleting VN ctest-vn-52098211 failed..Will retry 2024-08-29 15:22:28,776 - DEBUG - Response for deleting network () 2024-08-29 15:22:29,032 - DEBUG - No XMPP flaps were noticed during the test
2024-08-29 15:22:29,032 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-08-29 15:22:29,033 - INFO - -------------------------------------------------------------------------------- 2024-08-29 15:22:29,741 - INFO - Deleted project: ctest-TestBasicVMVNx-13705408, ID : dfec5a47-312c-42db-af0f-3d086d2d1315