2024-11-07 02:22:13,363 - INFO - Domain Default found not creating 2024-11-07 02:22:13,515 - INFO - Project ctest-TestBasicVMVNx-43948266 not found, creating it 2024-11-07 02:22:13,996 - INFO - Created Project:ctest-TestBasicVMVNx-43948266, ID : 69074bd5-cb15-4717-ad2b-631bdf3cfbba 2024-11-07 02:22:15,460 - INFO - ================================================================================ 2024-11-07 02:22:15,460 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-07 02:22:15,460 - 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 02:22:15,716 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.0.0.35': '0'}} with 2024-11-07 02:22:15,716 - INFO - Initial checks done. Running the testcase now 2024-11-07 02:22:15,716 - INFO - 2024-11-07 02:22:16,274 - DEBUG - Response for create_network : {'network': {'id': '28a9cee6-5f77-4fe5-a023-e44fd00d3100', 'name': 'ctest-vn-55272734', 'tenant_id': '69074bd5cb154717ad2b631bdf3cfbba', 'project_id': '69074bd5cb154717ad2b631bdf3cfbba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-43948266', 'ctest-vn-55272734'], 'port_security_enabled': True, 'description': ''}} 2024-11-07 02:22:16,499 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b335413-d61d-44f6-8b95-0c36265d2e11', 'name': '', 'tenant_id': '69074bd5cb154717ad2b631bdf3cfbba', 'network_id': '28a9cee6-5f77-4fe5-a023-e44fd00d3100', 'ip_version': 4, 'cidr': '211.157.163.192/26', 'allocation_pools': [{'start': '211.157.163.194', 'end': '211.157.163.254'}], 'gateway_ip': '211.157.163.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.157.163.194', 'tags': [], 'project_id': '69074bd5cb154717ad2b631bdf3cfbba'}} 2024-11-07 02:22:16,518 - INFO - Created VN ctest-vn-55272734 2024-11-07 02:22:16,576 - DEBUG - VN ctest-vn-55272734 UUID is 28a9cee6-5f77-4fe5-a023-e44fd00d3100 2024-11-07 02:22:16,781 - DEBUG - Services list from nova: [, , ] 2024-11-07 02:22:17,789 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2207-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2207-1) 2024-11-07 02:22:18,937 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2207-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2207-1) 2024-11-07 02:22:18,937 - INFO - Waiting for VM ctest-TestBasicVMVNx-43948266-60165648 to be up.. 2024-11-07 02:22:19,048 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-07 02:22:24,138 - DEBUG - VM is in ACTIVE state now 2024-11-07 02:22:24,138 - INFO - VM name : ctest-TestBasicVMVNx-43948266-60165648 2024-11-07 02:22:24,222 - DEBUG - VM ctest-TestBasicVMVNx-43948266-60165648 ID is 4e905ba1-df67-4d53-a309-7beeea72c0f2 2024-11-07 02:22:24,242 - DEBUG - VM ctest-TestBasicVMVNx-43948266-60165648 launched on Node cn-jenkins-deploy-platform-ansible-os-2207-1. 2024-11-07 02:22:24,320 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/4e905ba1-df67-4d53-a309-7beeea72c0f2 2024-11-07 02:22:24,617 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/4e905ba1-df67-4d53-a309-7beeea72c0f2 2024-11-07 02:22:24,650 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/1740c5ea-92f2-423d-b1ee-88ddb0db243a 2024-11-07 02:22:27,902 - 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 1007ms') 2024-11-07 02:22:27,902 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43948266-60165648 failed! 2024-11-07 02:22:27,960 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-43948266:ctest-vn-55272734 is 211.157.163.193 and allocation pool is NOT set 2024-11-07 02:22:30,021 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.444 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.444/1.655/2.867/1.211 ms') 2024-11-07 02:22:30,021 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43948266-60165648 passed 2024-11-07 02:22:30,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 02:22:30,176 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43948266-60165648, IP 211.157.163.195, Port 22 2024-11-07 02:22:30,331 - DEBUG - VM ctest-TestBasicVMVNx-43948266-60165648 is ready for SSH connections 2024-11-07 02:22:30,331 - INFO - Waiting for VM ctest-TestBasicVMVNx-43948266-91054936 to be up.. 2024-11-07 02:22:30,411 - DEBUG - VM is in ACTIVE state now 2024-11-07 02:22:30,411 - INFO - VM name : ctest-TestBasicVMVNx-43948266-91054936 2024-11-07 02:22:30,486 - DEBUG - VM ctest-TestBasicVMVNx-43948266-91054936 ID is efd274ea-dc40-492f-812c-b0f77749aae5 2024-11-07 02:22:30,486 - DEBUG - VM ctest-TestBasicVMVNx-43948266-91054936 launched on Node cn-jenkins-deploy-platform-ansible-os-2207-1. 2024-11-07 02:22:30,572 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/efd274ea-dc40-492f-812c-b0f77749aae5 2024-11-07 02:22:30,582 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/f9f0c408-7e38-462c-8036-163e97d50486 2024-11-07 02:22:31,840 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.339 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.339/1.548/2.758/1.209 ms') 2024-11-07 02:22:31,840 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-43948266-91054936 passed 2024-11-07 02:22:32,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 02:22:32,000 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43948266-91054936, IP 211.157.163.196, Port 22 2024-11-07 02:22:32,160 - DEBUG - VM ctest-TestBasicVMVNx-43948266-91054936 is ready for SSH connections 2024-11-07 02:22:32,160 - DEBUG - FILE SIZE = 1303B 2024-11-07 02:22:32,160 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-43948266-60165648 to ctest-TestBasicVMVNx-43948266-91054936 using scp 2024-11-07 02:22:32,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 02:22:32,166 - 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.35, gateway password: c0ntrail123 2024-11-07 02:22:32,166 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-07 02:22:34,076 - DEBUG - 1+0 records in 1+0 records out 2024-11-07 02:22:34,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 02:22:35,152 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2024-11-07 02:22:35,153 - DEBUG - ls -l testfile 2024-11-07 02:22:36,747 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 6 19:22 testfile 2024-11-07 02:22:36,748 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-43948266-91054936 2024-11-07 02:22:36,748 - INFO - Deleting VM ctest-TestBasicVMVNx-43948266-91054936 2024-11-07 02:22:36,905 - INFO - Deleting VM ctest-TestBasicVMVNx-43948266-60165648 2024-11-07 02:22:36,964 - INFO - Deleting VN ctest-vn-55272734 2024-11-07 02:22:37,038 - DEBUG - VN 28a9cee6-5f77-4fe5-a023-e44fd00d3100 still in use: Unable to complete operation on network 28a9cee6-5f77-4fe5-a023-e44fd00d3100. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0fb7b3f5-b8ab-4bf5-9393-106d5dc2edee'] 2024-11-07 02:22:37,038 - WARNING - Deleting VN ctest-vn-55272734 failed..Will retry 2024-11-07 02:22:39,194 - DEBUG - Response for deleting network () 2024-11-07 02:22:39,454 - DEBUG - No XMPP flaps were noticed during the test
2024-11-07 02:22:39,454 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-11-07 02:22:39,454 - INFO - -------------------------------------------------------------------------------- 2024-11-07 02:22:40,177 - INFO - Deleted project: ctest-TestBasicVMVNx-43948266, ID : 69074bd5-cb15-4717-ad2b-631bdf3cfbba