2024-09-10 08:25:40,361 - INFO - Domain Default found not creating 2024-09-10 08:25:40,538 - INFO - Project ctest-TestBasicVMVNx-88128698 not found, creating it 2024-09-10 08:25:41,032 - INFO - Created Project:ctest-TestBasicVMVNx-88128698, ID : dc7e28d9-8ae1-4612-82e9-bd2b9266875a 2024-09-10 08:25:42,651 - INFO - ================================================================================ 2024-09-10 08:25:42,651 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-10 08:25:42,651 - 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-10 08:25:42,912 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.5': '0'}} with 2024-09-10 08:25:42,912 - INFO - Initial checks done. Running the testcase now 2024-09-10 08:25:42,912 - INFO - 2024-09-10 08:25:43,490 - DEBUG - Response for create_network : {'network': {'id': 'b93272b2-8ac9-456b-8ae5-4e3ae5ece3c9', 'name': 'ctest-vn-78165791', 'tenant_id': 'dc7e28d98ae1461282e9bd2b9266875a', 'project_id': 'dc7e28d98ae1461282e9bd2b9266875a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-88128698', 'ctest-vn-78165791'], 'port_security_enabled': True, 'description': ''}} 2024-09-10 08:25:43,679 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b0fde7e-4251-4f9c-a9f8-9a46899e451a', 'name': '', 'tenant_id': 'dc7e28d98ae1461282e9bd2b9266875a', 'network_id': 'b93272b2-8ac9-456b-8ae5-4e3ae5ece3c9', 'ip_version': 4, 'cidr': '195.34.81.0/26', 'allocation_pools': [{'start': '195.34.81.2', 'end': '195.34.81.62'}], 'gateway_ip': '195.34.81.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.34.81.2', 'tags': [], 'project_id': 'dc7e28d98ae1461282e9bd2b9266875a'}} 2024-09-10 08:25:43,702 - INFO - Created VN ctest-vn-78165791 2024-09-10 08:25:43,753 - DEBUG - VN ctest-vn-78165791 UUID is b93272b2-8ac9-456b-8ae5-4e3ae5ece3c9 2024-09-10 08:25:43,921 - DEBUG - Services list from nova: [, , ] 2024-09-10 08:25:45,098 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1881-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1881-1) 2024-09-10 08:25:46,377 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1881-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1881-1) 2024-09-10 08:25:46,378 - INFO - Waiting for VM ctest-TestBasicVMVNx-88128698-44625536 to be up.. 2024-09-10 08:25:46,472 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-10 08:25:51,558 - DEBUG - VM is in ACTIVE state now 2024-09-10 08:25:51,558 - INFO - VM name : ctest-TestBasicVMVNx-88128698-44625536 2024-09-10 08:25:51,648 - DEBUG - VM ctest-TestBasicVMVNx-88128698-44625536 ID is a2efa3ff-b45f-492d-99c6-70d234fa9329 2024-09-10 08:25:51,671 - DEBUG - VM ctest-TestBasicVMVNx-88128698-44625536 launched on Node cn-jenkins-deploy-platform-ansible-os-1881-1 2024-09-10 08:25:51,761 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a2efa3ff-b45f-492d-99c6-70d234fa9329 2024-09-10 08:25:52,067 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a2efa3ff-b45f-492d-99c6-70d234fa9329 2024-09-10 08:25:52,104 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d2ac342f-f068-4ff5-83f4-5a4dac0239ce 2024-09-10 08:25:55,351 - 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 1002ms') 2024-09-10 08:25:55,351 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-88128698-44625536 failed! 2024-09-10 08:25:55,408 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-88128698:ctest-vn-78165791 is 195.34.81.1 and allocation pool is NOT set 2024-09-10 08:25:57,474 - 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=9.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.838 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.838/5.287/9.737/4.449 ms') 2024-09-10 08:25:57,475 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-88128698-44625536 passed 2024-09-10 08:25:57,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 08:25:57,628 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88128698-44625536, IP 195.34.81.3, Port 22 2024-09-10 08:25:57,784 - DEBUG - VM ctest-TestBasicVMVNx-88128698-44625536 is ready for SSH connections 2024-09-10 08:25:57,784 - INFO - Waiting for VM ctest-TestBasicVMVNx-88128698-40063970 to be up.. 2024-09-10 08:25:57,882 - DEBUG - VM is in ACTIVE state now 2024-09-10 08:25:57,882 - INFO - VM name : ctest-TestBasicVMVNx-88128698-40063970 2024-09-10 08:25:57,971 - DEBUG - VM ctest-TestBasicVMVNx-88128698-40063970 ID is b20c9a5b-1ae3-41ef-b2e2-01442cb4b9e1 2024-09-10 08:25:57,972 - DEBUG - VM ctest-TestBasicVMVNx-88128698-40063970 launched on Node cn-jenkins-deploy-platform-ansible-os-1881-1 2024-09-10 08:25:58,058 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b20c9a5b-1ae3-41ef-b2e2-01442cb4b9e1 2024-09-10 08:25:58,067 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b75ac985-fdba-4733-a1a9-a261804ebf65 2024-09-10 08:25:59,321 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 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.370/1.597/2.824/1.227 ms') 2024-09-10 08:25:59,321 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-88128698-40063970 passed 2024-09-10 08:25:59,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 08:25:59,473 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88128698-40063970, IP 195.34.81.4, Port 22 2024-09-10 08:25:59,628 - DEBUG - VM ctest-TestBasicVMVNx-88128698-40063970 is ready for SSH connections 2024-09-10 08:25:59,628 - DEBUG - FILE SIZE = 1303B 2024-09-10 08:25:59,628 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-88128698-44625536 to ctest-TestBasicVMVNx-88128698-40063970 using scp 2024-09-10 08:25:59,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 08:25:59,633 - 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-09-10 08:25:59,633 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-10 08:26:01,579 - DEBUG - 1+0 records in 1+0 records out 2024-09-10 08:26:02,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 08:26:02,528 - 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-09-10 08:26:02,529 - DEBUG - ls -l testfile 2024-09-10 08:26:04,126 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 10 02:26 testfile 2024-09-10 08:26:04,126 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-88128698-40063970 2024-09-10 08:26:04,126 - INFO - Deleting VM ctest-TestBasicVMVNx-88128698-40063970 2024-09-10 08:26:04,204 - INFO - Deleting VM ctest-TestBasicVMVNx-88128698-44625536 2024-09-10 08:26:04,377 - INFO - Deleting VN ctest-vn-78165791 2024-09-10 08:26:04,433 - DEBUG - VN b93272b2-8ac9-456b-8ae5-4e3ae5ece3c9 still in use: Unable to complete operation on network b93272b2-8ac9-456b-8ae5-4e3ae5ece3c9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9a0d64ad-d8fb-46a8-b831-8fe9d39a6f65'] 2024-09-10 08:26:04,433 - WARNING - Deleting VN ctest-vn-78165791 failed..Will retry 2024-09-10 08:26:06,559 - DEBUG - Response for deleting network () 2024-09-10 08:26:06,819 - DEBUG - No XMPP flaps were noticed during the test 2024-09-10 08:26:06,819 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-09-10 08:26:06,819 - INFO - -------------------------------------------------------------------------------- 2024-09-10 08:26:07,540 - INFO - Deleted project: ctest-TestBasicVMVNx-88128698, ID : dc7e28d9-8ae1-4612-82e9-bd2b9266875a