2024-08-29 11:24:30,259 - INFO - Domain Default found not creating 2024-08-29 11:24:30,441 - INFO - Project ctest-TestBasicVMVNx-86501827 not found, creating it 2024-08-29 11:24:30,923 - INFO - Created Project:ctest-TestBasicVMVNx-86501827, ID : 924ee119-283b-4d57-816b-3366f33f14c6 2024-08-29 11:24:32,475 - INFO - ================================================================================ 2024-08-29 11:24:32,475 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-29 11:24:32,475 - 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-29 11:24:32,734 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.8': '0'}} with 2024-08-29 11:24:32,735 - INFO - Initial checks done. Running the testcase now 2024-08-29 11:24:32,735 - INFO - 2024-08-29 11:24:33,323 - DEBUG - Response for create_network : {'network': {'id': 'fd8aa15f-3431-4a0d-a23c-2e0be6d2fed3', 'name': 'ctest-vn-15584862', 'tenant_id': '924ee119283b4d57816b3366f33f14c6', 'project_id': '924ee119283b4d57816b3366f33f14c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-86501827', 'ctest-vn-15584862'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 11:24:33,527 - DEBUG - Response for create_subnet : {'subnet': {'id': '43289f7a-a233-4115-bf8d-3b8ecd7d1afe', 'name': '', 'tenant_id': '924ee119283b4d57816b3366f33f14c6', 'network_id': 'fd8aa15f-3431-4a0d-a23c-2e0be6d2fed3', 'ip_version': 4, 'cidr': '160.228.222.0/26', 'allocation_pools': [{'start': '160.228.222.2', 'end': '160.228.222.62'}], 'gateway_ip': '160.228.222.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.228.222.2', 'tags': [], 'project_id': '924ee119283b4d57816b3366f33f14c6'}} 2024-08-29 11:24:33,549 - INFO - Created VN ctest-vn-15584862 2024-08-29 11:24:33,604 - DEBUG - VN ctest-vn-15584862 UUID is fd8aa15f-3431-4a0d-a23c-2e0be6d2fed3 2024-08-29 11:24:33,785 - DEBUG - Services list from nova: [, , ] 2024-08-29 11:24:34,861 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1806-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1806-1) 2024-08-29 11:24:36,053 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1806-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1806-1) 2024-08-29 11:24:36,054 - INFO - Waiting for VM ctest-TestBasicVMVNx-86501827-17012996 to be up.. 2024-08-29 11:24:36,150 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-29 11:24:41,247 - DEBUG - VM is in ACTIVE state now 2024-08-29 11:24:41,247 - INFO - VM name : ctest-TestBasicVMVNx-86501827-17012996 2024-08-29 11:24:41,344 - DEBUG - VM ctest-TestBasicVMVNx-86501827-17012996 ID is 97ce1935-956b-4c01-8cb5-78a4ec525742 2024-08-29 11:24:41,365 - DEBUG - VM ctest-TestBasicVMVNx-86501827-17012996 launched on Node cn-jenkins-deploy-platform-ansible-os-1806-1 2024-08-29 11:24:41,459 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/97ce1935-956b-4c01-8cb5-78a4ec525742 2024-08-29 11:24:41,764 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/97ce1935-956b-4c01-8cb5-78a4ec525742 2024-08-29 11:24:41,816 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e9ef3520-a5f9-489b-a5e4-f9e83c96d563 2024-08-29 11:24:45,099 - 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-08-29 11:24:45,099 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-86501827-17012996 failed! 2024-08-29 11:24:45,160 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-86501827:ctest-vn-15584862 is 160.228.222.1 and allocation pool is NOT set 2024-08-29 11:24:47,219 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.743 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 = 0.743/2.213/3.684/1.470 ms') 2024-08-29 11:24:47,219 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-86501827-17012996 passed 2024-08-29 11:24:47,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 11:24:47,376 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86501827-17012996, IP 160.228.222.3, Port 22 2024-08-29 11:24:47,539 - DEBUG - VM ctest-TestBasicVMVNx-86501827-17012996 is ready for SSH connections 2024-08-29 11:24:47,539 - INFO - Waiting for VM ctest-TestBasicVMVNx-86501827-49613363 to be up.. 2024-08-29 11:24:47,634 - DEBUG - VM is in ACTIVE state now 2024-08-29 11:24:47,634 - INFO - VM name : ctest-TestBasicVMVNx-86501827-49613363 2024-08-29 11:24:47,717 - DEBUG - VM ctest-TestBasicVMVNx-86501827-49613363 ID is de913ca7-9c45-4505-abe9-db35c7dcfd21 2024-08-29 11:24:47,717 - DEBUG - VM ctest-TestBasicVMVNx-86501827-49613363 launched on Node cn-jenkins-deploy-platform-ansible-os-1806-1 2024-08-29 11:24:47,805 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/de913ca7-9c45-4505-abe9-db35c7dcfd21 2024-08-29 11:24:47,815 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/194a8ff3-ce6e-4f99-bed2-a9469796ad97 2024-08-29 11:24:49,066 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.510 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 = 0.510/1.944/3.378/1.434 ms') 2024-08-29 11:24:49,066 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-86501827-49613363 passed 2024-08-29 11:24:49,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 11:24:49,216 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-86501827-49613363, IP 160.228.222.4, Port 22 2024-08-29 11:24:49,375 - DEBUG - VM ctest-TestBasicVMVNx-86501827-49613363 is ready for SSH connections 2024-08-29 11:24:49,375 - DEBUG - FILE SIZE = 1303B 2024-08-29 11:24:49,375 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-86501827-17012996 to ctest-TestBasicVMVNx-86501827-49613363 using scp 2024-08-29 11:24:49,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 11:24:49,382 - 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.38, gateway password: c0ntrail123 2024-08-29 11:24:49,382 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-29 11:24:51,315 - DEBUG - 1+0 records in 1+0 records out 2024-08-29 11:24:52,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 11:24:52,459 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2024-08-29 11:24:52,459 - DEBUG - ls -l testfile 2024-08-29 11:24:54,047 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 29 05:24 testfile 2024-08-29 11:24:54,047 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-86501827-49613363 2024-08-29 11:24:54,047 - INFO - Deleting VM ctest-TestBasicVMVNx-86501827-49613363 2024-08-29 11:24:54,133 - INFO - Deleting VM ctest-TestBasicVMVNx-86501827-17012996 2024-08-29 11:24:54,309 - INFO - Deleting VN ctest-vn-15584862 2024-08-29 11:24:54,356 - DEBUG - VN fd8aa15f-3431-4a0d-a23c-2e0be6d2fed3 still in use: Unable to complete operation on network fd8aa15f-3431-4a0d-a23c-2e0be6d2fed3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fec0696b-54f2-48fb-ab9f-59e549312996'] 2024-08-29 11:24:54,357 - WARNING - Deleting VN ctest-vn-15584862 failed..Will retry 2024-08-29 11:24:56,484 - DEBUG - Response for deleting network () 2024-08-29 11:24:56,746 - DEBUG - No XMPP flaps were noticed during the test 2024-08-29 11:24:56,746 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-08-29 11:24:56,746 - INFO - -------------------------------------------------------------------------------- 2024-08-29 11:24:57,454 - INFO - Deleted project: ctest-TestBasicVMVNx-86501827, ID : 924ee119-283b-4d57-816b-3366f33f14c6