2025-01-08 20:55:54,095 - INFO - Domain Default found not creating 2025-01-08 20:55:54,256 - INFO - Project ctest-TestBasicVMVNx-02244506 not found, creating it 2025-01-08 20:55:54,718 - INFO - Created Project:ctest-TestBasicVMVNx-02244506, ID : 210927ad-beb2-4cc6-acd8-fa0ed4ac3f2b 2025-01-08 20:55:56,192 - INFO - ================================================================================ 2025-01-08 20:55:56,193 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-08 20:55:56,193 - 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 2025-01-08 20:55:56,448 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.5': '0'}} with 2025-01-08 20:55:56,448 - INFO - Initial checks done. Running the testcase now 2025-01-08 20:55:56,448 - INFO - 2025-01-08 20:55:57,030 - DEBUG - Response for create_network : {'network': {'id': '8fc9c81b-c961-4e16-8223-66db3f2dbb0c', 'name': 'ctest-vn-22265252', 'tenant_id': '210927adbeb24cc6acd8fa0ed4ac3f2b', 'project_id': '210927adbeb24cc6acd8fa0ed4ac3f2b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-02244506', 'ctest-vn-22265252'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 20:55:57,231 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f682fe4-457e-4e89-be13-ca368631697c', 'name': '', 'tenant_id': '210927adbeb24cc6acd8fa0ed4ac3f2b', 'network_id': '8fc9c81b-c961-4e16-8223-66db3f2dbb0c', 'ip_version': 4, 'cidr': '54.228.232.64/26', 'allocation_pools': [{'start': '54.228.232.66', 'end': '54.228.232.126'}], 'gateway_ip': '54.228.232.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.228.232.66', 'tags': [], 'project_id': '210927adbeb24cc6acd8fa0ed4ac3f2b'}} 2025-01-08 20:55:57,249 - INFO - Created VN ctest-vn-22265252 2025-01-08 20:55:57,301 - DEBUG - VN ctest-vn-22265252 UUID is 8fc9c81b-c961-4e16-8223-66db3f2dbb0c 2025-01-08 20:55:57,473 - DEBUG - Services list from nova: [, , ] 2025-01-08 20:55:58,509 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2568-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2568-1) 2025-01-08 20:55:59,665 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2568-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2568-1) 2025-01-08 20:55:59,667 - INFO - Waiting for VM ctest-TestBasicVMVNx-02244506-73702306 to be up.. 2025-01-08 20:55:59,750 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-08 20:56:04,842 - DEBUG - VM is in ACTIVE state now 2025-01-08 20:56:04,842 - INFO - VM name : ctest-TestBasicVMVNx-02244506-73702306 2025-01-08 20:56:05,022 - DEBUG - VM ctest-TestBasicVMVNx-02244506-73702306 ID is 9dd2173d-6ece-4b62-bdff-0f21936f15f9 2025-01-08 20:56:05,043 - DEBUG - VM ctest-TestBasicVMVNx-02244506-73702306 launched on Node cn-jenkins-deploy-platform-ansible-os-2568-1 2025-01-08 20:56:05,130 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/9dd2173d-6ece-4b62-bdff-0f21936f15f9 2025-01-08 20:56:05,433 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/9dd2173d-6ece-4b62-bdff-0f21936f15f9 2025-01-08 20:56:05,467 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/943ed5de-2b77-449c-a0a8-4e9589ee75fa 2025-01-08 20:56:08,748 - 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') 2025-01-08 20:56:08,748 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-02244506-73702306 failed! 2025-01-08 20:56:08,809 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-02244506:ctest-vn-22265252 is 54.228.232.65 and allocation pool is NOT set 2025-01-08 20:56:10,873 - 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.412 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.412/2.047/3.682/1.635 ms') 2025-01-08 20:56:10,873 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-02244506-73702306 passed 2025-01-08 20:56:11,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 20:56:11,029 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-02244506-73702306, IP 54.228.232.67, Port 22 2025-01-08 20:56:11,185 - DEBUG - VM ctest-TestBasicVMVNx-02244506-73702306 is ready for SSH connections 2025-01-08 20:56:11,185 - INFO - Waiting for VM ctest-TestBasicVMVNx-02244506-65142661 to be up.. 2025-01-08 20:56:11,272 - DEBUG - VM is in ACTIVE state now 2025-01-08 20:56:11,272 - INFO - VM name : ctest-TestBasicVMVNx-02244506-65142661 2025-01-08 20:56:11,359 - DEBUG - VM ctest-TestBasicVMVNx-02244506-65142661 ID is 70f18852-8705-4bbc-bfee-59b82691c993 2025-01-08 20:56:11,359 - DEBUG - VM ctest-TestBasicVMVNx-02244506-65142661 launched on Node cn-jenkins-deploy-platform-ansible-os-2568-1 2025-01-08 20:56:11,441 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/70f18852-8705-4bbc-bfee-59b82691c993 2025-01-08 20:56:11,451 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/00ffc502-b6ab-4f11-b23a-c812c6914f59 2025-01-08 20:56:12,701 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.511 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.511/1.861/3.211/1.350 ms') 2025-01-08 20:56:12,701 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-02244506-65142661 passed 2025-01-08 20:56:12,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 20:56:12,857 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-02244506-65142661, IP 54.228.232.68, Port 22 2025-01-08 20:56:13,013 - DEBUG - VM ctest-TestBasicVMVNx-02244506-65142661 is ready for SSH connections 2025-01-08 20:56:13,013 - DEBUG - FILE SIZE = 1303B 2025-01-08 20:56:13,013 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-02244506-73702306 to ctest-TestBasicVMVNx-02244506-65142661 using scp 2025-01-08 20:56:13,014 - 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.49, gateway password: c0ntrail123 2025-01-08 20:56:13,014 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-08 20:56:14,965 - DEBUG - 1+0 records in 1+0 records out 2025-01-08 20:56:15,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 20:56:15,910 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-01-08 20:56:15,910 - DEBUG - ls -l testfile 2025-01-08 20:56:17,537 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 8 13:56 testfile 2025-01-08 20:56:17,537 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-02244506-65142661 2025-01-08 20:56:17,537 - INFO - Deleting VM ctest-TestBasicVMVNx-02244506-65142661 2025-01-08 20:56:17,632 - INFO - Deleting VM ctest-TestBasicVMVNx-02244506-73702306 2025-01-08 20:56:17,715 - INFO - Deleting VN ctest-vn-22265252 2025-01-08 20:56:17,760 - DEBUG - VN 8fc9c81b-c961-4e16-8223-66db3f2dbb0c still in use: Unable to complete operation on network 8fc9c81b-c961-4e16-8223-66db3f2dbb0c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-03940d0a-d035-4387-956f-8db5b8c9fb89'] 2025-01-08 20:56:17,760 - WARNING - Deleting VN ctest-vn-22265252 failed..Will retry 2025-01-08 20:56:19,861 - DEBUG - Response for deleting network () 2025-01-08 20:56:20,119 - DEBUG - No XMPP flaps were noticed during the test
2025-01-08 20:56:20,120 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-08 20:56:20,120 - INFO - -------------------------------------------------------------------------------- 2025-01-08 20:56:20,838 - INFO - Deleted project: ctest-TestBasicVMVNx-02244506, ID : 210927ad-beb2-4cc6-acd8-fa0ed4ac3f2b