2024-11-15 01:47:38,376 - INFO - Domain Default found not creating 2024-11-15 01:47:38,537 - INFO - Project ctest-TestBasicVMVNx-70578783 not found, creating it 2024-11-15 01:47:39,029 - INFO - Created Project:ctest-TestBasicVMVNx-70578783, ID : 753d5a53-4f1e-4a37-a335-76547db70dc9 2024-11-15 01:47:40,612 - INFO - ================================================================================ 2024-11-15 01:47:40,612 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-15 01:47:40,612 - 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-11-15 01:47:40,879 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.18': '0'}} with 2024-11-15 01:47:40,879 - INFO - Initial checks done. Running the testcase now 2024-11-15 01:47:40,879 - INFO - 2024-11-15 01:47:41,483 - DEBUG - Response for create_network : {'network': {'id': 'f1fb380f-bccb-4bbf-982d-37ba5c63e341', 'name': 'ctest-vn-04281169', 'tenant_id': '753d5a534f1e4a37a33576547db70dc9', 'project_id': '753d5a534f1e4a37a33576547db70dc9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-70578783', 'ctest-vn-04281169'], 'port_security_enabled': True, 'description': ''}} 2024-11-15 01:47:41,676 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7048a73-2c68-4a59-9ab7-591071f34d28', 'name': '', 'tenant_id': '753d5a534f1e4a37a33576547db70dc9', 'network_id': 'f1fb380f-bccb-4bbf-982d-37ba5c63e341', 'ip_version': 4, 'cidr': '81.128.142.128/26', 'allocation_pools': [{'start': '81.128.142.130', 'end': '81.128.142.190'}], 'gateway_ip': '81.128.142.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.128.142.130', 'tags': [], 'project_id': '753d5a534f1e4a37a33576547db70dc9'}} 2024-11-15 01:47:41,694 - INFO - Created VN ctest-vn-04281169 2024-11-15 01:47:41,749 - DEBUG - VN ctest-vn-04281169 UUID is f1fb380f-bccb-4bbf-982d-37ba5c63e341 2024-11-15 01:47:41,936 - DEBUG - Services list from nova: [, , ] 2024-11-15 01:47:43,026 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2308-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2308-1) 2024-11-15 01:47:44,288 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2308-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2308-1) 2024-11-15 01:47:44,289 - INFO - Waiting for VM ctest-TestBasicVMVNx-70578783-91028848 to be up.. 2024-11-15 01:47:44,398 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-15 01:47:49,499 - DEBUG - VM is in ACTIVE state now 2024-11-15 01:47:49,499 - INFO - VM name : ctest-TestBasicVMVNx-70578783-91028848 2024-11-15 01:47:49,594 - DEBUG - VM ctest-TestBasicVMVNx-70578783-91028848 ID is e5843de5-1778-43e4-a20d-c3af8fdb0853 2024-11-15 01:47:49,734 - DEBUG - VM ctest-TestBasicVMVNx-70578783-91028848 launched on Node cn-jenkins-deploy-platform-ansible-os-2308-1 2024-11-15 01:47:49,854 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/e5843de5-1778-43e4-a20d-c3af8fdb0853 2024-11-15 01:47:50,170 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/e5843de5-1778-43e4-a20d-c3af8fdb0853 2024-11-15 01:47:50,209 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/6a9c5fce-33a9-4738-96b3-59ea85fc99b7 2024-11-15 01:47:53,468 - 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 1007ms') 2024-11-15 01:47:53,469 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70578783-91028848 failed! 2024-11-15 01:47:53,525 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-70578783:ctest-vn-04281169 is 81.128.142.129 and allocation pool is NOT set 2024-11-15 01:47:55,583 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.500 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.500/2.040/3.581/1.540 ms') 2024-11-15 01:47:55,583 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70578783-91028848 passed 2024-11-15 01:47:55,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-15 01:47:55,741 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70578783-91028848, IP 81.128.142.131, Port 22 2024-11-15 01:47:55,909 - DEBUG - VM ctest-TestBasicVMVNx-70578783-91028848 is ready for SSH connections 2024-11-15 01:47:55,909 - INFO - Waiting for VM ctest-TestBasicVMVNx-70578783-45774001 to be up.. 2024-11-15 01:47:55,992 - DEBUG - VM is in ACTIVE state now 2024-11-15 01:47:55,992 - INFO - VM name : ctest-TestBasicVMVNx-70578783-45774001 2024-11-15 01:47:56,071 - DEBUG - VM ctest-TestBasicVMVNx-70578783-45774001 ID is d0818d40-2d43-46cf-9069-5181eb9c8c1a 2024-11-15 01:47:56,071 - DEBUG - VM ctest-TestBasicVMVNx-70578783-45774001 launched on Node cn-jenkins-deploy-platform-ansible-os-2308-1 2024-11-15 01:47:56,166 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/d0818d40-2d43-46cf-9069-5181eb9c8c1a 2024-11-15 01:47:56,176 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/dcb400e7-0a6f-4c15-b6b9-b32e953f197e 2024-11-15 01:47:57,427 - 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=4.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.512 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.512/2.511/4.510/1.999 ms') 2024-11-15 01:47:57,428 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-70578783-45774001 passed 2024-11-15 01:47:57,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-15 01:47:57,581 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70578783-45774001, IP 81.128.142.132, Port 22 2024-11-15 01:47:57,740 - DEBUG - VM ctest-TestBasicVMVNx-70578783-45774001 is ready for SSH connections 2024-11-15 01:47:57,740 - DEBUG - FILE SIZE = 1303B 2024-11-15 01:47:57,740 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-70578783-91028848 to ctest-TestBasicVMVNx-70578783-45774001 using scp 2024-11-15 01:47:57,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-15 01:47:57,746 - 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.42, gateway password: c0ntrail123 2024-11-15 01:47:57,746 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-15 01:47:59,687 - DEBUG - 1+0 records in 1+0 records out 2024-11-15 01:48:00,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-15 01:48:00,798 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-11-15 01:48:00,798 - DEBUG - ls -l testfile 2024-11-15 01:48:02,384 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 14 18:47 testfile 2024-11-15 01:48:02,384 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-70578783-45774001 2024-11-15 01:48:02,385 - INFO - Deleting VM ctest-TestBasicVMVNx-70578783-45774001 2024-11-15 01:48:02,459 - INFO - Deleting VM ctest-TestBasicVMVNx-70578783-91028848 2024-11-15 01:48:03,075 - INFO - Deleting VN ctest-vn-04281169 2024-11-15 01:48:03,115 - DEBUG - VN f1fb380f-bccb-4bbf-982d-37ba5c63e341 still in use: Unable to complete operation on network f1fb380f-bccb-4bbf-982d-37ba5c63e341. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-abeafa7e-4065-4b9a-8ec3-a10eb185db2b'] 2024-11-15 01:48:03,115 - WARNING - Deleting VN ctest-vn-04281169 failed..Will retry 2024-11-15 01:48:05,217 - DEBUG - Response for deleting network () 2024-11-15 01:48:05,471 - DEBUG - No XMPP flaps were noticed during the test 2024-11-15 01:48:05,471 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-11-15 01:48:05,471 - INFO - -------------------------------------------------------------------------------- 2024-11-15 01:48:06,230 - INFO - Deleted project: ctest-TestBasicVMVNx-70578783, ID : 753d5a53-4f1e-4a37-a335-76547db70dc9