2024-08-21 14:48:04,681 - INFO - Domain Default found not creating 2024-08-21 14:48:04,874 - INFO - Project ctest-TestBasicVMVNx-06812829 not found, creating it 2024-08-21 14:48:05,374 - INFO - Created Project:ctest-TestBasicVMVNx-06812829, ID : 5d5f7286-081e-4c9f-8e97-26dfc5479e6f 2024-08-21 14:48:06,934 - INFO - ================================================================================ 2024-08-21 14:48:06,934 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-21 14:48:06,934 - 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 14:48:07,195 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.5': '0'}} with 2024-08-21 14:48:07,195 - INFO - Initial checks done. Running the testcase now 2024-08-21 14:48:07,195 - INFO - 2024-08-21 14:48:07,744 - DEBUG - Response for create_network : {'network': {'id': 'd4898e4c-5a52-432d-8562-5ad72eb594ef', 'name': 'ctest-vn-35531181', 'tenant_id': '5d5f7286081e4c9f8e9726dfc5479e6f', 'project_id': '5d5f7286081e4c9f8e9726dfc5479e6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-06812829', 'ctest-vn-35531181'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 14:48:07,934 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7423e38-25e1-4c5a-b773-2ca9c57f39a9', 'name': '', 'tenant_id': '5d5f7286081e4c9f8e9726dfc5479e6f', 'network_id': 'd4898e4c-5a52-432d-8562-5ad72eb594ef', 'ip_version': 4, 'cidr': '215.186.49.64/26', 'allocation_pools': [{'start': '215.186.49.66', 'end': '215.186.49.126'}], 'gateway_ip': '215.186.49.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.186.49.66', 'tags': [], 'project_id': '5d5f7286081e4c9f8e9726dfc5479e6f'}} 2024-08-21 14:48:07,953 - INFO - Created VN ctest-vn-35531181 2024-08-21 14:48:08,005 - DEBUG - VN ctest-vn-35531181 UUID is d4898e4c-5a52-432d-8562-5ad72eb594ef 2024-08-21 14:48:08,276 - DEBUG - Services list from nova: [, , ] 2024-08-21 14:48:09,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1691-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1691-1) 2024-08-21 14:48:10,481 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1691-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1691-1) 2024-08-21 14:48:10,481 - INFO - Waiting for VM ctest-TestBasicVMVNx-06812829-16904380 to be up.. 2024-08-21 14:48:10,581 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-21 14:48:15,667 - DEBUG - VM is in ACTIVE state now 2024-08-21 14:48:15,667 - INFO - VM name : ctest-TestBasicVMVNx-06812829-16904380 2024-08-21 14:48:15,749 - DEBUG - VM ctest-TestBasicVMVNx-06812829-16904380 ID is 1da37db0-7af0-4768-8c32-a0f8ac740a44 2024-08-21 14:48:15,768 - DEBUG - VM ctest-TestBasicVMVNx-06812829-16904380 launched on Node cn-jenkins-deploy-platform-ansible-os-1691-1 2024-08-21 14:48:15,851 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1da37db0-7af0-4768-8c32-a0f8ac740a44 2024-08-21 14:48:16,157 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1da37db0-7af0-4768-8c32-a0f8ac740a44 2024-08-21 14:48:16,193 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f7b8d6d8-2d14-4187-96e1-bdd366887533 2024-08-21 14:48:19,450 - 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 1024ms') 2024-08-21 14:48:19,450 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-06812829-16904380 failed! 2024-08-21 14:48:19,504 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-06812829:ctest-vn-35531181 is 215.186.49.65 and allocation pool is NOT set 2024-08-21 14:48:21,565 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 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.419/1.586/2.754/1.167 ms') 2024-08-21 14:48:21,565 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-06812829-16904380 passed 2024-08-21 14:48:21,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 14:48:21,713 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06812829-16904380, IP 215.186.49.67, Port 22 2024-08-21 14:48:21,868 - DEBUG - VM ctest-TestBasicVMVNx-06812829-16904380 is ready for SSH connections 2024-08-21 14:48:21,868 - INFO - Waiting for VM ctest-TestBasicVMVNx-06812829-12219863 to be up.. 2024-08-21 14:48:21,950 - DEBUG - VM is in ACTIVE state now 2024-08-21 14:48:21,950 - INFO - VM name : ctest-TestBasicVMVNx-06812829-12219863 2024-08-21 14:48:22,025 - DEBUG - VM ctest-TestBasicVMVNx-06812829-12219863 ID is 14c46164-a25e-4389-8540-9e8671f9ba47 2024-08-21 14:48:22,025 - DEBUG - VM ctest-TestBasicVMVNx-06812829-12219863 launched on Node cn-jenkins-deploy-platform-ansible-os-1691-1 2024-08-21 14:48:22,100 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/14c46164-a25e-4389-8540-9e8671f9ba47 2024-08-21 14:48:22,109 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a2ce3f84-0e4c-4aff-bc63-cf154afb6b4f 2024-08-21 14:48:23,348 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.492 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.492/1.555/2.618/1.063 ms') 2024-08-21 14:48:23,348 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-06812829-12219863 passed 2024-08-21 14:48:23,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 14:48:23,505 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06812829-12219863, IP 215.186.49.68, Port 22 2024-08-21 14:48:23,661 - DEBUG - VM ctest-TestBasicVMVNx-06812829-12219863 is ready for SSH connections 2024-08-21 14:48:23,661 - DEBUG - FILE SIZE = 1303B 2024-08-21 14:48:23,661 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-06812829-16904380 to ctest-TestBasicVMVNx-06812829-12219863 using scp 2024-08-21 14:48:23,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 14:48:23,667 - 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-21 14:48:23,668 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-21 14:48:25,620 - DEBUG - 1+0 records in 1+0 records out 2024-08-21 14:48:26,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 14:48:26,553 - 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-21 14:48:26,553 - DEBUG - ls -l testfile 2024-08-21 14:48:28,119 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 21 08:48 testfile 2024-08-21 14:48:28,119 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-06812829-12219863 2024-08-21 14:48:28,119 - INFO - Deleting VM ctest-TestBasicVMVNx-06812829-12219863 2024-08-21 14:48:28,186 - INFO - Deleting VM ctest-TestBasicVMVNx-06812829-16904380 2024-08-21 14:48:28,257 - INFO - Deleting VN ctest-vn-35531181 2024-08-21 14:48:28,295 - DEBUG - VN d4898e4c-5a52-432d-8562-5ad72eb594ef still in use: Unable to complete operation on network d4898e4c-5a52-432d-8562-5ad72eb594ef. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a32e14db-03f7-4ae9-bb4d-10cba21f13e9'] 2024-08-21 14:48:28,296 - WARNING - Deleting VN ctest-vn-35531181 failed..Will retry 2024-08-21 14:48:30,405 - DEBUG - Response for deleting network () 2024-08-21 14:48:30,659 - DEBUG - No XMPP flaps were noticed during the test 2024-08-21 14:48:30,659 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-08-21 14:48:30,659 - INFO - -------------------------------------------------------------------------------- 2024-08-21 14:48:31,323 - INFO - Deleted project: ctest-TestBasicVMVNx-06812829, ID : 5d5f7286-081e-4c9f-8e97-26dfc5479e6f