2024-11-10 15:35:05,896 - INFO - Domain Default found not creating 2024-11-10 15:35:06,083 - INFO - Project ctest-TestBasicVMVNx-07721470 not found, creating it 2024-11-10 15:35:06,627 - INFO - Created Project:ctest-TestBasicVMVNx-07721470, ID : 84f97baa-d4c5-4db1-b79f-7b351b8e86d0 2024-11-10 15:35:08,263 - INFO - ================================================================================ 2024-11-10 15:35:08,263 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-10 15:35:08,263 - 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-10 15:35:08,535 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.13': '0'}} with 2024-11-10 15:35:08,535 - INFO - Initial checks done. Running the testcase now 2024-11-10 15:35:08,535 - INFO - 2024-11-10 15:35:09,116 - DEBUG - Response for create_network : {'network': {'id': 'b49cf364-6bcc-415e-99e8-dbe5fe7a845a', 'name': 'ctest-vn-78490680', 'tenant_id': '84f97baad4c54db1b79f7b351b8e86d0', 'project_id': '84f97baad4c54db1b79f7b351b8e86d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-07721470', 'ctest-vn-78490680'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 15:35:09,333 - DEBUG - Response for create_subnet : {'subnet': {'id': '26fb829b-0984-4c09-85eb-220e8c4eb1c0', 'name': '', 'tenant_id': '84f97baad4c54db1b79f7b351b8e86d0', 'network_id': 'b49cf364-6bcc-415e-99e8-dbe5fe7a845a', 'ip_version': 4, 'cidr': '16.233.71.128/26', 'allocation_pools': [{'start': '16.233.71.130', 'end': '16.233.71.190'}], 'gateway_ip': '16.233.71.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.233.71.130', 'tags': [], 'project_id': '84f97baad4c54db1b79f7b351b8e86d0'}} 2024-11-10 15:35:09,355 - INFO - Created VN ctest-vn-78490680 2024-11-10 15:35:09,417 - DEBUG - VN ctest-vn-78490680 UUID is b49cf364-6bcc-415e-99e8-dbe5fe7a845a 2024-11-10 15:35:09,620 - DEBUG - Services list from nova: [, , ] 2024-11-10 15:35:10,739 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2252-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2252-1) 2024-11-10 15:35:11,977 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2252-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2252-1) 2024-11-10 15:35:11,977 - INFO - Waiting for VM ctest-TestBasicVMVNx-07721470-16756754 to be up.. 2024-11-10 15:35:12,069 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 15:35:17,158 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 15:35:22,256 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 15:35:27,369 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 15:35:32,475 - DEBUG - VM is in ACTIVE state now 2024-11-10 15:35:32,475 - INFO - VM name : ctest-TestBasicVMVNx-07721470-16756754 2024-11-10 15:35:32,586 - DEBUG - VM ctest-TestBasicVMVNx-07721470-16756754 ID is fa3be497-0e73-429d-910d-774d4de2a0ee 2024-11-10 15:35:32,607 - DEBUG - VM ctest-TestBasicVMVNx-07721470-16756754 launched on Node cn-jenkins-deploy-platform-ansible-os-2252-1 2024-11-10 15:35:32,698 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/fa3be497-0e73-429d-910d-774d4de2a0ee 2024-11-10 15:35:33,004 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/fa3be497-0e73-429d-910d-774d4de2a0ee 2024-11-10 15:35:33,043 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/e4ddc0ee-e40e-46cb-8a62-8c7ea4fe1c25 2024-11-10 15:35:36,333 - 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 1016ms') 2024-11-10 15:35:36,333 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07721470-16756754 failed! 2024-11-10 15:35:36,393 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-07721470:ctest-vn-78490680 is 16.233.71.129 and allocation pool is NOT set 2024-11-10 15:35:40,461 - 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=2 ttl=63 time=12.0 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 12.024/12.024/12.024/0.000 ms') 2024-11-10 15:35:40,461 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07721470-16756754 passed 2024-11-10 15:35:40,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:35:40,617 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07721470-16756754, IP 16.233.71.131, Port 22 2024-11-10 15:35:40,777 - DEBUG - VM ctest-TestBasicVMVNx-07721470-16756754 is ready for SSH connections 2024-11-10 15:35:40,777 - INFO - Waiting for VM ctest-TestBasicVMVNx-07721470-37691657 to be up.. 2024-11-10 15:35:40,886 - DEBUG - VM is in ACTIVE state now 2024-11-10 15:35:40,886 - INFO - VM name : ctest-TestBasicVMVNx-07721470-37691657 2024-11-10 15:35:40,971 - DEBUG - VM ctest-TestBasicVMVNx-07721470-37691657 ID is b0e7782c-ca44-40bd-aa30-8ce32c53500f 2024-11-10 15:35:40,972 - DEBUG - VM ctest-TestBasicVMVNx-07721470-37691657 launched on Node cn-jenkins-deploy-platform-ansible-os-2252-1 2024-11-10 15:35:41,067 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/b0e7782c-ca44-40bd-aa30-8ce32c53500f 2024-11-10 15:35:41,081 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/aa74c24f-1330-4229-b455-f773b2fc99b9 2024-11-10 15:35:42,328 - 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=8.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.08 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 = 2.084/5.362/8.640/3.278 ms') 2024-11-10 15:35:42,328 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-07721470-37691657 passed 2024-11-10 15:35:42,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:35:42,489 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07721470-37691657, IP 16.233.71.132, Port 22 2024-11-10 15:35:42,653 - DEBUG - VM ctest-TestBasicVMVNx-07721470-37691657 is ready for SSH connections 2024-11-10 15:35:42,653 - DEBUG - FILE SIZE = 1303B 2024-11-10 15:35:42,653 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-07721470-16756754 to ctest-TestBasicVMVNx-07721470-37691657 using scp 2024-11-10 15:35:42,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:35:42,660 - 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.44, gateway password: c0ntrail123 2024-11-10 15:35:42,661 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-10 15:35:44,287 - DEBUG - 1+0 records in 1+0 records out 2024-11-10 15:35:45,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:35:45,453 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2024-11-10 15:35:45,454 - DEBUG - ls -l testfile 2024-11-10 15:35:47,044 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 10 08:35 testfile 2024-11-10 15:35:47,044 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-07721470-37691657 2024-11-10 15:35:47,044 - INFO - Deleting VM ctest-TestBasicVMVNx-07721470-37691657 2024-11-10 15:35:47,111 - INFO - Deleting VM ctest-TestBasicVMVNx-07721470-16756754 2024-11-10 15:35:47,192 - INFO - Deleting VN ctest-vn-78490680 2024-11-10 15:35:47,243 - DEBUG - VN b49cf364-6bcc-415e-99e8-dbe5fe7a845a still in use: Unable to complete operation on network b49cf364-6bcc-415e-99e8-dbe5fe7a845a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-38c39487-cefb-4e97-95c9-fb5d7eeeae29'] 2024-11-10 15:35:47,243 - WARNING - Deleting VN ctest-vn-78490680 failed..Will retry 2024-11-10 15:35:49,373 - DEBUG - Response for deleting network () 2024-11-10 15:35:49,627 - DEBUG - No XMPP flaps were noticed during the test 2024-11-10 15:35:49,628 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:41] 2024-11-10 15:35:49,628 - INFO - -------------------------------------------------------------------------------- 2024-11-10 15:35:50,350 - INFO - Deleted project: ctest-TestBasicVMVNx-07721470, ID : 84f97baa-d4c5-4db1-b79f-7b351b8e86d0