2024-09-11 06:58:11,666 - INFO - Domain Default found not creating 2024-09-11 06:58:11,845 - INFO - Project ctest-TestBasicVMVNx-56332436 not found, creating it 2024-09-11 06:58:12,330 - INFO - Created Project:ctest-TestBasicVMVNx-56332436, ID : d80f6133-5d45-4bc8-8650-3ebf360cd768 2024-09-11 06:58:13,827 - INFO - ================================================================================ 2024-09-11 06:58:13,827 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-11 06:58:13,827 - 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 06:58:14,087 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.11': '0'}} with 2024-09-11 06:58:14,087 - INFO - Initial checks done. Running the testcase now 2024-09-11 06:58:14,087 - INFO - 2024-09-11 06:58:14,650 - DEBUG - Response for create_network : {'network': {'id': '46cec1f2-b27b-4fda-8e0e-5f305b42f861', 'name': 'ctest-vn-67404498', 'tenant_id': 'd80f61335d454bc886503ebf360cd768', 'project_id': 'd80f61335d454bc886503ebf360cd768', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-56332436', 'ctest-vn-67404498'], 'port_security_enabled': True, 'description': ''}} 2024-09-11 06:58:14,816 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ce23f91-4fe8-4058-a2c3-dba9077ac5fb', 'name': '', 'tenant_id': 'd80f61335d454bc886503ebf360cd768', 'network_id': '46cec1f2-b27b-4fda-8e0e-5f305b42f861', 'ip_version': 4, 'cidr': '182.21.222.128/26', 'allocation_pools': [{'start': '182.21.222.130', 'end': '182.21.222.190'}], 'gateway_ip': '182.21.222.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.21.222.130', 'tags': [], 'project_id': 'd80f61335d454bc886503ebf360cd768'}} 2024-09-11 06:58:14,836 - INFO - Created VN ctest-vn-67404498 2024-09-11 06:58:14,890 - DEBUG - VN ctest-vn-67404498 UUID is 46cec1f2-b27b-4fda-8e0e-5f305b42f861 2024-09-11 06:58:15,056 - DEBUG - Services list from nova: [, , ] 2024-09-11 06:58:16,088 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1891-1) 2024-09-11 06:58:17,289 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1891-1) 2024-09-11 06:58:17,289 - INFO - Waiting for VM ctest-TestBasicVMVNx-56332436-83744918 to be up.. 2024-09-11 06:58:17,372 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-11 06:58:22,458 - DEBUG - VM is in ACTIVE state now 2024-09-11 06:58:22,458 - INFO - VM name : ctest-TestBasicVMVNx-56332436-83744918 2024-09-11 06:58:22,544 - DEBUG - VM ctest-TestBasicVMVNx-56332436-83744918 ID is 2d140f26-9b8c-44f2-b493-5fd8fa3e81bc 2024-09-11 06:58:22,565 - DEBUG - VM ctest-TestBasicVMVNx-56332436-83744918 launched on Node cn-jenkins-deploy-platform-ansible-os-1891-1 2024-09-11 06:58:22,644 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/2d140f26-9b8c-44f2-b493-5fd8fa3e81bc 2024-09-11 06:58:22,955 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/2d140f26-9b8c-44f2-b493-5fd8fa3e81bc 2024-09-11 06:58:22,991 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/eaa479f5-abee-4e8f-b1e6-91444fe5273b 2024-09-11 06:58:26,268 - 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 1030ms') 2024-09-11 06:58:26,268 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56332436-83744918 failed! 2024-09-11 06:58:26,322 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-56332436:ctest-vn-67404498 is 182.21.222.129 and allocation pool is NOT set 2024-09-11 06:58:28,388 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.475 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.475/2.062/3.649/1.587 ms') 2024-09-11 06:58:28,388 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56332436-83744918 passed 2024-09-11 06:58:28,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 06:58:28,538 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56332436-83744918, IP 182.21.222.131, Port 22 2024-09-11 06:58:28,693 - DEBUG - VM ctest-TestBasicVMVNx-56332436-83744918 is ready for SSH connections 2024-09-11 06:58:28,693 - INFO - Waiting for VM ctest-TestBasicVMVNx-56332436-89002716 to be up.. 2024-09-11 06:58:28,771 - DEBUG - VM is in ACTIVE state now 2024-09-11 06:58:28,771 - INFO - VM name : ctest-TestBasicVMVNx-56332436-89002716 2024-09-11 06:58:28,856 - DEBUG - VM ctest-TestBasicVMVNx-56332436-89002716 ID is 192405a0-e52a-4eee-b844-3bfb5340ee3a 2024-09-11 06:58:28,856 - DEBUG - VM ctest-TestBasicVMVNx-56332436-89002716 launched on Node cn-jenkins-deploy-platform-ansible-os-1891-1 2024-09-11 06:58:28,942 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/192405a0-e52a-4eee-b844-3bfb5340ee3a 2024-09-11 06:58:28,952 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/cb0a43a2-bcea-4f89-ae75-c688f1aeb145 2024-09-11 06:58:30,199 - 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=3.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 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.442/2.038/3.635/1.596 ms') 2024-09-11 06:58:30,199 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-56332436-89002716 passed 2024-09-11 06:58:30,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 06:58:30,350 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56332436-89002716, IP 182.21.222.132, Port 22 2024-09-11 06:58:30,505 - DEBUG - VM ctest-TestBasicVMVNx-56332436-89002716 is ready for SSH connections 2024-09-11 06:58:30,505 - DEBUG - FILE SIZE = 1303B 2024-09-11 06:58:30,505 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-56332436-83744918 to ctest-TestBasicVMVNx-56332436-89002716 using scp 2024-09-11 06:58:30,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 06:58:30,512 - 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-11 06:58:30,512 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-11 06:58:32,426 - DEBUG - 1+0 records in 1+0 records out 2024-09-11 06:58:33,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 06:58:33,384 - 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-11 06:58:33,385 - DEBUG - ls -l testfile 2024-09-11 06:58:35,028 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 11 00:58 testfile 2024-09-11 06:58:35,028 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-56332436-89002716 2024-09-11 06:58:35,029 - INFO - Deleting VM ctest-TestBasicVMVNx-56332436-89002716 2024-09-11 06:58:35,134 - INFO - Deleting VM ctest-TestBasicVMVNx-56332436-83744918 2024-09-11 06:58:35,220 - INFO - Deleting VN ctest-vn-67404498 2024-09-11 06:58:35,266 - DEBUG - VN 46cec1f2-b27b-4fda-8e0e-5f305b42f861 still in use: Unable to complete operation on network 46cec1f2-b27b-4fda-8e0e-5f305b42f861. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d70beb3c-e05d-4840-b66f-1722ef80852e'] 2024-09-11 06:58:35,266 - WARNING - Deleting VN ctest-vn-67404498 failed..Will retry 2024-09-11 06:58:37,383 - DEBUG - Response for deleting network () 2024-09-11 06:58:37,640 - DEBUG - No XMPP flaps were noticed during the test 2024-09-11 06:58:37,640 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-09-11 06:58:37,640 - INFO - -------------------------------------------------------------------------------- 2024-09-11 06:58:38,337 - INFO - Deleted project: ctest-TestBasicVMVNx-56332436, ID : d80f6133-5d45-4bc8-8650-3ebf360cd768