2024-09-03 17:55:53,064 - INFO - Domain Default found not creating 2024-09-03 17:55:53,246 - INFO - Project ctest-TestBasicVMVNx-64484181 not found, creating it 2024-09-03 17:55:53,746 - INFO - Created Project:ctest-TestBasicVMVNx-64484181, ID : 6b538562-73cc-4934-afcd-f72802ab4775 2024-09-03 17:55:55,437 - INFO - ================================================================================ 2024-09-03 17:55:55,437 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-03 17:55:55,437 - 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-03 17:55:55,697 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.5': '0'}} with 2024-09-03 17:55:55,697 - INFO - Initial checks done. Running the testcase now 2024-09-03 17:55:55,697 - INFO - 2024-09-03 17:55:56,336 - DEBUG - Response for create_network : {'network': {'id': '89ab8b65-00d9-4585-852d-f9d8934901dd', 'name': 'ctest-vn-41802112', 'tenant_id': '6b53856273cc4934afcdf72802ab4775', 'project_id': '6b53856273cc4934afcdf72802ab4775', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-64484181', 'ctest-vn-41802112'], 'port_security_enabled': True, 'description': ''}} 2024-09-03 17:55:56,526 - DEBUG - Response for create_subnet : {'subnet': {'id': '02b883b2-b2a8-4bb2-8750-954daa1c9171', 'name': '', 'tenant_id': '6b53856273cc4934afcdf72802ab4775', 'network_id': '89ab8b65-00d9-4585-852d-f9d8934901dd', 'ip_version': 4, 'cidr': '80.175.83.128/26', 'allocation_pools': [{'start': '80.175.83.130', 'end': '80.175.83.190'}], 'gateway_ip': '80.175.83.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.175.83.130', 'tags': [], 'project_id': '6b53856273cc4934afcdf72802ab4775'}} 2024-09-03 17:55:56,548 - INFO - Created VN ctest-vn-41802112 2024-09-03 17:55:56,602 - DEBUG - VN ctest-vn-41802112 UUID is 89ab8b65-00d9-4585-852d-f9d8934901dd 2024-09-03 17:55:56,782 - DEBUG - Services list from nova: [, , ] 2024-09-03 17:55:57,945 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1840-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1840-1) 2024-09-03 17:55:59,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1840-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1840-1) 2024-09-03 17:55:59,308 - INFO - Waiting for VM ctest-TestBasicVMVNx-64484181-32181356 to be up.. 2024-09-03 17:55:59,411 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-03 17:56:04,525 - DEBUG - VM is in ACTIVE state now 2024-09-03 17:56:04,526 - INFO - VM name : ctest-TestBasicVMVNx-64484181-32181356 2024-09-03 17:56:04,628 - DEBUG - VM ctest-TestBasicVMVNx-64484181-32181356 ID is b3b90eaa-ecdc-4915-99de-4f82af0731d4 2024-09-03 17:56:04,658 - DEBUG - VM ctest-TestBasicVMVNx-64484181-32181356 launched on Node cn-jenkins-deploy-platform-ansible-os-1840-1 2024-09-03 17:56:04,758 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/b3b90eaa-ecdc-4915-99de-4f82af0731d4 2024-09-03 17:56:05,106 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/b3b90eaa-ecdc-4915-99de-4f82af0731d4 2024-09-03 17:56:05,147 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/06c83670-a54f-40f4-8769-6494a9eeec63 2024-09-03 17:56:08,406 - 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 1018ms') 2024-09-03 17:56:08,406 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64484181-32181356 failed! 2024-09-03 17:56:08,458 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-64484181:ctest-vn-41802112 is 80.175.83.129 and allocation pool is NOT set 2024-09-03 17:56:10,518 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.77 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 = 2.772/3.039/3.306/0.267 ms') 2024-09-03 17:56:10,518 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64484181-32181356 passed 2024-09-03 17:56:10,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 17:56:10,674 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64484181-32181356, IP 80.175.83.131, Port 22 2024-09-03 17:56:10,830 - DEBUG - VM ctest-TestBasicVMVNx-64484181-32181356 is ready for SSH connections 2024-09-03 17:56:10,830 - INFO - Waiting for VM ctest-TestBasicVMVNx-64484181-94833548 to be up.. 2024-09-03 17:56:10,923 - DEBUG - VM is in ACTIVE state now 2024-09-03 17:56:10,924 - INFO - VM name : ctest-TestBasicVMVNx-64484181-94833548 2024-09-03 17:56:11,013 - DEBUG - VM ctest-TestBasicVMVNx-64484181-94833548 ID is 8f10cd14-58a5-4c78-8a31-ce87ec47b120 2024-09-03 17:56:11,013 - DEBUG - VM ctest-TestBasicVMVNx-64484181-94833548 launched on Node cn-jenkins-deploy-platform-ansible-os-1840-1 2024-09-03 17:56:11,104 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/8f10cd14-58a5-4c78-8a31-ce87ec47b120 2024-09-03 17:56:11,113 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/d180a835-9080-451b-90e8-c8860ce9e00d 2024-09-03 17:56:12,357 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.03 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 = 1.033/3.132/5.231/2.099 ms') 2024-09-03 17:56:12,357 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-64484181-94833548 passed 2024-09-03 17:56:12,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 17:56:12,506 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64484181-94833548, IP 80.175.83.132, Port 22 2024-09-03 17:56:12,680 - DEBUG - VM ctest-TestBasicVMVNx-64484181-94833548 is ready for SSH connections 2024-09-03 17:56:12,680 - DEBUG - FILE SIZE = 1303B 2024-09-03 17:56:12,680 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-64484181-32181356 to ctest-TestBasicVMVNx-64484181-94833548 using scp 2024-09-03 17:56:12,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 17:56:12,689 - 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.36, gateway password: c0ntrail123 2024-09-03 17:56:12,689 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-03 17:56:14,750 - DEBUG - 1+0 records in 1+0 records out 2024-09-03 17:56:15,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-03 17:56:15,964 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2024-09-03 17:56:15,964 - DEBUG - ls -l testfile 2024-09-03 17:56:17,612 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 3 11:56 testfile 2024-09-03 17:56:17,612 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-64484181-94833548 2024-09-03 17:56:17,612 - INFO - Deleting VM ctest-TestBasicVMVNx-64484181-94833548 2024-09-03 17:56:17,688 - INFO - Deleting VM ctest-TestBasicVMVNx-64484181-32181356 2024-09-03 17:56:17,759 - INFO - Deleting VN ctest-vn-41802112 2024-09-03 17:56:17,806 - DEBUG - VN 89ab8b65-00d9-4585-852d-f9d8934901dd still in use: Unable to complete operation on network 89ab8b65-00d9-4585-852d-f9d8934901dd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e562bbb1-28c9-4a7c-b530-466edbe331fc'] 2024-09-03 17:56:17,806 - WARNING - Deleting VN ctest-vn-41802112 failed..Will retry 2024-09-03 17:56:19,967 - DEBUG - Response for deleting network () 2024-09-03 17:56:20,225 - DEBUG - No XMPP flaps were noticed during the test 2024-09-03 17:56:20,226 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-09-03 17:56:20,226 - INFO - -------------------------------------------------------------------------------- 2024-09-03 17:56:21,000 - INFO - Deleted project: ctest-TestBasicVMVNx-64484181, ID : 6b538562-73cc-4934-afcd-f72802ab4775