2024-10-26 15:08:52,278 - INFO - Domain Default found not creating 2024-10-26 15:08:52,456 - INFO - Project ctest-TestBasicVMVNx-94485227 not found, creating it 2024-10-26 15:08:52,975 - INFO - Created Project:ctest-TestBasicVMVNx-94485227, ID : 8043614e-38b0-4758-aea5-b8ed99197262 2024-10-26 15:08:54,521 - INFO - ================================================================================ 2024-10-26 15:08:54,521 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-26 15:08:54,521 - 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-10-26 15:08:54,784 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.14': '0'}} with 2024-10-26 15:08:54,784 - INFO - Initial checks done. Running the testcase now 2024-10-26 15:08:54,784 - INFO - 2024-10-26 15:08:55,421 - DEBUG - Response for create_network : {'network': {'id': 'b813de04-934d-4c18-960d-e6ca91ac3899', 'name': 'ctest-vn-93989918', 'tenant_id': '8043614e38b04758aea5b8ed99197262', 'project_id': '8043614e38b04758aea5b8ed99197262', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-94485227', 'ctest-vn-93989918'], 'port_security_enabled': True, 'description': ''}} 2024-10-26 15:08:55,582 - DEBUG - Response for create_subnet : {'subnet': {'id': '7340f823-44e6-4b9e-8836-caecaa7235bc', 'name': '', 'tenant_id': '8043614e38b04758aea5b8ed99197262', 'network_id': 'b813de04-934d-4c18-960d-e6ca91ac3899', 'ip_version': 4, 'cidr': '60.210.31.192/26', 'allocation_pools': [{'start': '60.210.31.194', 'end': '60.210.31.254'}], 'gateway_ip': '60.210.31.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.210.31.194', 'tags': [], 'project_id': '8043614e38b04758aea5b8ed99197262'}} 2024-10-26 15:08:55,603 - INFO - Created VN ctest-vn-93989918 2024-10-26 15:08:55,658 - DEBUG - VN ctest-vn-93989918 UUID is b813de04-934d-4c18-960d-e6ca91ac3899 2024-10-26 15:08:55,845 - DEBUG - Services list from nova: [, , ] 2024-10-26 15:08:56,919 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2151-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2151-1) 2024-10-26 15:08:58,150 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2151-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2151-1) 2024-10-26 15:08:58,151 - INFO - Waiting for VM ctest-TestBasicVMVNx-94485227-50258732 to be up.. 2024-10-26 15:08:58,252 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-26 15:09:03,340 - DEBUG - VM is in ACTIVE state now 2024-10-26 15:09:03,340 - INFO - VM name : ctest-TestBasicVMVNx-94485227-50258732 2024-10-26 15:09:03,429 - DEBUG - VM ctest-TestBasicVMVNx-94485227-50258732 ID is ca15bb82-e33d-4c19-8836-b6578b92a040 2024-10-26 15:09:03,450 - DEBUG - VM ctest-TestBasicVMVNx-94485227-50258732 launched on Node cn-jenkins-deploy-platform-ansible-os-2151-1 2024-10-26 15:09:03,534 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/ca15bb82-e33d-4c19-8836-b6578b92a040 2024-10-26 15:09:03,842 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/ca15bb82-e33d-4c19-8836-b6578b92a040 2024-10-26 15:09:03,885 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/f8ec5de3-324e-43d0-8ce6-12b9b44d104b 2024-10-26 15:09:07,178 - 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 1027ms') 2024-10-26 15:09:07,178 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94485227-50258732 failed! 2024-10-26 15:09:07,238 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-94485227:ctest-vn-93989918 is 60.210.31.193 and allocation pool is NOT set 2024-10-26 15:09:09,308 - 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=4.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.805 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.805/2.473/4.142/1.668 ms') 2024-10-26 15:09:09,309 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94485227-50258732 passed 2024-10-26 15:09:09,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 15:09:09,470 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94485227-50258732, IP 60.210.31.195, Port 22 2024-10-26 15:09:09,634 - DEBUG - VM ctest-TestBasicVMVNx-94485227-50258732 is ready for SSH connections 2024-10-26 15:09:09,635 - INFO - Waiting for VM ctest-TestBasicVMVNx-94485227-52544641 to be up.. 2024-10-26 15:09:09,753 - DEBUG - VM is in ACTIVE state now 2024-10-26 15:09:09,753 - INFO - VM name : ctest-TestBasicVMVNx-94485227-52544641 2024-10-26 15:09:09,849 - DEBUG - VM ctest-TestBasicVMVNx-94485227-52544641 ID is 60dfcd65-95c0-46ea-8f4d-0ab5b42c023e 2024-10-26 15:09:09,849 - DEBUG - VM ctest-TestBasicVMVNx-94485227-52544641 launched on Node cn-jenkins-deploy-platform-ansible-os-2151-1 2024-10-26 15:09:09,940 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/60dfcd65-95c0-46ea-8f4d-0ab5b42c023e 2024-10-26 15:09:09,952 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/f2b735ad-1cfd-4693-8fdb-cb15b0b4c34f 2024-10-26 15:09:11,219 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.398 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.398/1.655/2.913/1.257 ms') 2024-10-26 15:09:11,219 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-94485227-52544641 passed 2024-10-26 15:09:11,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 15:09:11,378 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94485227-52544641, IP 60.210.31.196, Port 22 2024-10-26 15:09:11,538 - DEBUG - VM ctest-TestBasicVMVNx-94485227-52544641 is ready for SSH connections 2024-10-26 15:09:11,538 - DEBUG - FILE SIZE = 1303B 2024-10-26 15:09:11,538 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-94485227-50258732 to ctest-TestBasicVMVNx-94485227-52544641 using scp 2024-10-26 15:09:11,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 15:09:11,545 - 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.31, gateway password: c0ntrail123 2024-10-26 15:09:11,545 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-26 15:09:13,491 - DEBUG - 1+0 records in 1+0 records out 2024-10-26 15:09:14,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 15:09:14,614 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-10-26 15:09:14,614 - DEBUG - ls -l testfile 2024-10-26 15:09:16,200 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 26 09:09 testfile 2024-10-26 15:09:16,201 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-94485227-52544641 2024-10-26 15:09:16,201 - INFO - Deleting VM ctest-TestBasicVMVNx-94485227-52544641 2024-10-26 15:09:16,284 - INFO - Deleting VM ctest-TestBasicVMVNx-94485227-50258732 2024-10-26 15:09:16,369 - INFO - Deleting VN ctest-vn-93989918 2024-10-26 15:09:16,422 - DEBUG - VN b813de04-934d-4c18-960d-e6ca91ac3899 still in use: Unable to complete operation on network b813de04-934d-4c18-960d-e6ca91ac3899. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-82a2153e-183a-4547-9a45-971bd91fdb99'] 2024-10-26 15:09:16,422 - WARNING - Deleting VN ctest-vn-93989918 failed..Will retry 2024-10-26 15:09:18,574 - DEBUG - Response for deleting network () 2024-10-26 15:09:18,828 - DEBUG - No XMPP flaps were noticed during the test
2024-10-26 15:09:18,828 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-10-26 15:09:18,828 - INFO - -------------------------------------------------------------------------------- 2024-10-26 15:09:19,599 - INFO - Deleted project: ctest-TestBasicVMVNx-94485227, ID : 8043614e-38b0-4758-aea5-b8ed99197262