2024-08-21 20:38:41,245 - INFO - Domain Default found not creating 2024-08-21 20:38:41,409 - INFO - Project ctest-TestBasicVMVNx-93465869 not found, creating it 2024-08-21 20:38:41,883 - INFO - Created Project:ctest-TestBasicVMVNx-93465869, ID : 22ca380e-f774-48b3-b516-75b828942e7c 2024-08-21 20:38:43,374 - INFO - ================================================================================ 2024-08-21 20:38:43,374 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-21 20:38:43,374 - 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-21 20:38:43,626 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.10': '0'}} with 2024-08-21 20:38:43,626 - INFO - Initial checks done. Running the testcase now 2024-08-21 20:38:43,626 - INFO - 2024-08-21 20:38:44,201 - DEBUG - Response for create_network : {'network': {'id': '16a27504-9e74-4bf3-b862-e808b750e47a', 'name': 'ctest-vn-24299940', 'tenant_id': '22ca380ef77448b3b51675b828942e7c', 'project_id': '22ca380ef77448b3b51675b828942e7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-93465869', 'ctest-vn-24299940'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 20:38:44,416 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c62f7c83-b548-4d24-843c-542851641f19', 'name': '', 'tenant_id': '22ca380ef77448b3b51675b828942e7c', 'network_id': '16a27504-9e74-4bf3-b862-e808b750e47a', 'ip_version': 4, 'cidr': '58.142.218.128/26', 'allocation_pools': [{'start': '58.142.218.130', 'end': '58.142.218.190'}], 'gateway_ip': '58.142.218.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.142.218.130', 'tags': [], 'project_id': '22ca380ef77448b3b51675b828942e7c'}} 2024-08-21 20:38:44,437 - INFO - Created VN ctest-vn-24299940 2024-08-21 20:38:44,490 - DEBUG - VN ctest-vn-24299940 UUID is 16a27504-9e74-4bf3-b862-e808b750e47a 2024-08-21 20:38:44,665 - DEBUG - Services list from nova: [, , ] 2024-08-21 20:38:45,707 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1700-1) 2024-08-21 20:38:46,815 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1700-1) 2024-08-21 20:38:46,815 - INFO - Waiting for VM ctest-TestBasicVMVNx-93465869-90241022 to be up.. 2024-08-21 20:38:46,905 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-21 20:38:51,985 - DEBUG - VM is in ACTIVE state now 2024-08-21 20:38:51,986 - INFO - VM name : ctest-TestBasicVMVNx-93465869-90241022 2024-08-21 20:38:52,062 - DEBUG - VM ctest-TestBasicVMVNx-93465869-90241022 ID is abd0f558-7995-457d-89e4-fbc19c3696cf 2024-08-21 20:38:52,081 - DEBUG - VM ctest-TestBasicVMVNx-93465869-90241022 launched on Node cn-jenkins-deploy-platform-ansible-os-1700-1 2024-08-21 20:38:52,164 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/abd0f558-7995-457d-89e4-fbc19c3696cf 2024-08-21 20:38:52,462 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/abd0f558-7995-457d-89e4-fbc19c3696cf 2024-08-21 20:38:52,503 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/f7b171ea-14fd-4531-bdd8-6b28319acb8b 2024-08-21 20:38:55,758 - 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 1015ms') 2024-08-21 20:38:55,758 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93465869-90241022 failed! 2024-08-21 20:38:55,813 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-93465869:ctest-vn-24299940 is 58.142.218.129 and allocation pool is NOT set 2024-08-21 20:38:57,874 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.432 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.432/1.959/3.486/1.527 ms') 2024-08-21 20:38:57,874 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93465869-90241022 passed 2024-08-21 20:38:58,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 20:38:58,025 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93465869-90241022, IP 58.142.218.131, Port 22 2024-08-21 20:38:58,189 - DEBUG - VM ctest-TestBasicVMVNx-93465869-90241022 is ready for SSH connections 2024-08-21 20:38:58,189 - INFO - Waiting for VM ctest-TestBasicVMVNx-93465869-26685924 to be up.. 2024-08-21 20:38:58,271 - DEBUG - VM is in ACTIVE state now 2024-08-21 20:38:58,271 - INFO - VM name : ctest-TestBasicVMVNx-93465869-26685924 2024-08-21 20:38:58,348 - DEBUG - VM ctest-TestBasicVMVNx-93465869-26685924 ID is de50d126-7b99-497c-be17-6d6406aae648 2024-08-21 20:38:58,349 - DEBUG - VM ctest-TestBasicVMVNx-93465869-26685924 launched on Node cn-jenkins-deploy-platform-ansible-os-1700-1 2024-08-21 20:38:58,517 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/de50d126-7b99-497c-be17-6d6406aae648 2024-08-21 20:38:58,525 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/03a6f32f-483f-4a65-862b-31d6057b2607 2024-08-21 20:38:59,762 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.549 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.549/1.678/2.807/1.129 ms') 2024-08-21 20:38:59,762 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-93465869-26685924 passed 2024-08-21 20:38:59,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 20:38:59,913 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93465869-26685924, IP 58.142.218.132, Port 22 2024-08-21 20:39:00,069 - DEBUG - VM ctest-TestBasicVMVNx-93465869-26685924 is ready for SSH connections 2024-08-21 20:39:00,069 - DEBUG - FILE SIZE = 1303B 2024-08-21 20:39:00,069 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-93465869-90241022 to ctest-TestBasicVMVNx-93465869-26685924 using scp 2024-08-21 20:39:00,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 20:39:00,074 - 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.42, gateway password: c0ntrail123 2024-08-21 20:39:00,074 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-21 20:39:01,973 - DEBUG - 1+0 records in 1+0 records out 2024-08-21 20:39:02,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 20:39:02,941 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-08-21 20:39:02,942 - DEBUG - ls -l testfile 2024-08-21 20:39:04,578 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 21 14:39 testfile 2024-08-21 20:39:04,578 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-93465869-26685924 2024-08-21 20:39:04,578 - INFO - Deleting VM ctest-TestBasicVMVNx-93465869-26685924 2024-08-21 20:39:04,651 - INFO - Deleting VM ctest-TestBasicVMVNx-93465869-90241022 2024-08-21 20:39:04,718 - INFO - Deleting VN ctest-vn-24299940 2024-08-21 20:39:04,761 - DEBUG - VN 16a27504-9e74-4bf3-b862-e808b750e47a still in use: Unable to complete operation on network 16a27504-9e74-4bf3-b862-e808b750e47a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-70006ebd-2bca-44b8-a167-a28196e4ccac'] 2024-08-21 20:39:04,761 - WARNING - Deleting VN ctest-vn-24299940 failed..Will retry 2024-08-21 20:39:06,915 - DEBUG - Response for deleting network () 2024-08-21 20:39:07,175 - DEBUG - No XMPP flaps were noticed during the test
2024-08-21 20:39:07,175 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-08-21 20:39:07,175 - INFO - -------------------------------------------------------------------------------- 2024-08-21 20:39:07,877 - INFO - Deleted project: ctest-TestBasicVMVNx-93465869, ID : 22ca380e-f774-48b3-b516-75b828942e7c