2024-09-11 07:02:25,417 - INFO - Domain Default found not creating 2024-09-11 07:02:25,611 - INFO - Project ctest-TestBasicVMVNx-35156017 not found, creating it 2024-09-11 07:02:26,164 - INFO - Created Project:ctest-TestBasicVMVNx-35156017, ID : 6dda6c0f-7c6a-49d0-aa2c-b9ba99859b93 2024-09-11 07:02:28,208 - INFO - ================================================================================ 2024-09-11 07:02:28,208 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-11 07:02:28,208 - 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-09-11 07:02:28,488 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.21': '0'}} with 2024-09-11 07:02:28,488 - INFO - Initial checks done. Running the testcase now 2024-09-11 07:02:28,489 - INFO - 2024-09-11 07:02:29,124 - DEBUG - Response for create_network : {'network': {'id': '62abcb8e-5c32-4036-a418-646fb24f1649', 'name': 'ctest-vn-36094683', 'tenant_id': '6dda6c0f7c6a49d0aa2cb9ba99859b93', 'project_id': '6dda6c0f7c6a49d0aa2cb9ba99859b93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-35156017', 'ctest-vn-36094683'], 'port_security_enabled': True, 'description': ''}} 2024-09-11 07:02:29,341 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c163ccf1-681d-44fa-a441-2e317b63742d', 'name': '', 'tenant_id': '6dda6c0f7c6a49d0aa2cb9ba99859b93', 'network_id': '62abcb8e-5c32-4036-a418-646fb24f1649', 'ip_version': 4, 'cidr': '128.83.19.64/26', 'allocation_pools': [{'start': '128.83.19.66', 'end': '128.83.19.126'}], 'gateway_ip': '128.83.19.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.83.19.66', 'tags': [], 'project_id': '6dda6c0f7c6a49d0aa2cb9ba99859b93'}} 2024-09-11 07:02:29,363 - INFO - Created VN ctest-vn-36094683 2024-09-11 07:02:29,416 - DEBUG - VN ctest-vn-36094683 UUID is 62abcb8e-5c32-4036-a418-646fb24f1649 2024-09-11 07:02:29,597 - DEBUG - Services list from nova: [, , ] 2024-09-11 07:02:30,753 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1890-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1890-1) 2024-09-11 07:02:32,077 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1890-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1890-1) 2024-09-11 07:02:32,078 - INFO - Waiting for VM ctest-TestBasicVMVNx-35156017-30244535 to be up.. 2024-09-11 07:02:32,367 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-11 07:02:37,462 - DEBUG - VM is in ACTIVE state now 2024-09-11 07:02:37,462 - INFO - VM name : ctest-TestBasicVMVNx-35156017-30244535 2024-09-11 07:02:37,557 - DEBUG - VM ctest-TestBasicVMVNx-35156017-30244535 ID is 374004f4-feb9-4b1d-9b99-1318598b2101 2024-09-11 07:02:37,584 - DEBUG - VM ctest-TestBasicVMVNx-35156017-30244535 launched on Node cn-jenkins-deploy-platform-ansible-os-1890-1 2024-09-11 07:02:37,678 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/374004f4-feb9-4b1d-9b99-1318598b2101 2024-09-11 07:02:38,022 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/374004f4-feb9-4b1d-9b99-1318598b2101 2024-09-11 07:02:38,065 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/979a4c69-d7de-44a2-bf02-3316f741dae6 2024-09-11 07:02:41,317 - 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 1014ms') 2024-09-11 07:02:41,317 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-35156017-30244535 failed! 2024-09-11 07:02:41,372 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-35156017:ctest-vn-36094683 is 128.83.19.65 and allocation pool is NOT set 2024-09-11 07:02:43,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=4.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.05 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 = 1.052/2.860/4.668/1.808 ms') 2024-09-11 07:02:43,430 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-35156017-30244535 passed 2024-09-11 07:02:43,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 07:02:43,584 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-35156017-30244535, IP 128.83.19.67, Port 22 2024-09-11 07:02:43,758 - DEBUG - VM ctest-TestBasicVMVNx-35156017-30244535 is ready for SSH connections 2024-09-11 07:02:43,758 - INFO - Waiting for VM ctest-TestBasicVMVNx-35156017-35228261 to be up.. 2024-09-11 07:02:43,854 - DEBUG - VM is in ACTIVE state now 2024-09-11 07:02:43,855 - INFO - VM name : ctest-TestBasicVMVNx-35156017-35228261 2024-09-11 07:02:43,951 - DEBUG - VM ctest-TestBasicVMVNx-35156017-35228261 ID is 84fb331c-0515-4452-9cc8-5e75eafed2c4 2024-09-11 07:02:43,951 - DEBUG - VM ctest-TestBasicVMVNx-35156017-35228261 launched on Node cn-jenkins-deploy-platform-ansible-os-1890-1 2024-09-11 07:02:44,038 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/84fb331c-0515-4452-9cc8-5e75eafed2c4 2024-09-11 07:02:44,049 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/8c8721a9-94b7-4997-bdc9-8b45ccaf34a5 2024-09-11 07:02:45,288 - 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=14.0 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.763 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.763/7.396/14.029/6.633 ms') 2024-09-11 07:02:45,288 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-35156017-35228261 passed 2024-09-11 07:02:45,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 07:02:45,440 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-35156017-35228261, IP 128.83.19.68, Port 22 2024-09-11 07:02:45,599 - DEBUG - VM ctest-TestBasicVMVNx-35156017-35228261 is ready for SSH connections 2024-09-11 07:02:45,600 - DEBUG - FILE SIZE = 1303B 2024-09-11 07:02:45,600 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-35156017-30244535 to ctest-TestBasicVMVNx-35156017-35228261 using scp 2024-09-11 07:02:45,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 07:02:45,605 - 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.12, gateway password: c0ntrail123 2024-09-11 07:02:45,605 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-11 07:02:47,622 - DEBUG - 1+0 records in 1+0 records out 2024-09-11 07:02:48,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 07:02:48,865 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2024-09-11 07:02:48,865 - DEBUG - ls -l testfile 2024-09-11 07:02:50,540 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 11 01:02 testfile 2024-09-11 07:02:50,540 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-35156017-35228261 2024-09-11 07:02:50,540 - INFO - Deleting VM ctest-TestBasicVMVNx-35156017-35228261 2024-09-11 07:02:50,623 - INFO - Deleting VM ctest-TestBasicVMVNx-35156017-30244535 2024-09-11 07:02:50,691 - INFO - Deleting VN ctest-vn-36094683 2024-09-11 07:02:50,740 - DEBUG - VN 62abcb8e-5c32-4036-a418-646fb24f1649 still in use: Unable to complete operation on network 62abcb8e-5c32-4036-a418-646fb24f1649. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-29ddd10f-aa37-46fd-8cf7-703bd94d1878'] 2024-09-11 07:02:50,740 - WARNING - Deleting VN ctest-vn-36094683 failed..Will retry 2024-09-11 07:02:52,914 - DEBUG - Response for deleting network () 2024-09-11 07:02:53,176 - DEBUG - No XMPP flaps were noticed during the test
2024-09-11 07:02:53,176 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-09-11 07:02:53,176 - INFO - -------------------------------------------------------------------------------- 2024-09-11 07:02:54,020 - INFO - Deleted project: ctest-TestBasicVMVNx-35156017, ID : 6dda6c0f-7c6a-49d0-aa2c-b9ba99859b93