2024-11-08 18:06:46,365 - INFO - Domain Default found not creating 2024-11-08 18:06:46,562 - INFO - Project ctest-TestBasicVMVNx-37158163 not found, creating it 2024-11-08 18:06:47,046 - INFO - Created Project:ctest-TestBasicVMVNx-37158163, ID : 57ca6c6f-5529-4915-883b-16b868dfb371 2024-11-08 18:06:48,647 - INFO - ================================================================================ 2024-11-08 18:06:48,647 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-08 18:06:48,647 - 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-08 18:06:48,907 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.6': '0'}} with 2024-11-08 18:06:48,907 - INFO - Initial checks done. Running the testcase now 2024-11-08 18:06:48,907 - INFO - 2024-11-08 18:06:49,562 - DEBUG - Response for create_network : {'network': {'id': 'fad0c87a-4e1e-4fd5-9da7-95867cc556f1', 'name': 'ctest-vn-49064160', 'tenant_id': '57ca6c6f55294915883b16b868dfb371', 'project_id': '57ca6c6f55294915883b16b868dfb371', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-37158163', 'ctest-vn-49064160'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 18:06:49,774 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d9cfbf5-9f7e-4e2f-937d-4a722ad2a851', 'name': '', 'tenant_id': '57ca6c6f55294915883b16b868dfb371', 'network_id': 'fad0c87a-4e1e-4fd5-9da7-95867cc556f1', 'ip_version': 4, 'cidr': '196.130.115.0/26', 'allocation_pools': [{'start': '196.130.115.2', 'end': '196.130.115.62'}], 'gateway_ip': '196.130.115.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.130.115.2', 'tags': [], 'project_id': '57ca6c6f55294915883b16b868dfb371'}} 2024-11-08 18:06:49,796 - INFO - Created VN ctest-vn-49064160 2024-11-08 18:06:49,856 - DEBUG - VN ctest-vn-49064160 UUID is fad0c87a-4e1e-4fd5-9da7-95867cc556f1 2024-11-08 18:06:50,039 - DEBUG - Services list from nova: [, , ] 2024-11-08 18:06:51,111 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2238-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2238-30) 2024-11-08 18:06:52,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2238-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2238-30) 2024-11-08 18:06:52,345 - INFO - Waiting for VM ctest-TestBasicVMVNx-37158163-34981514 to be up.. 2024-11-08 18:06:52,459 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-08 18:06:57,555 - DEBUG - VM is in ACTIVE state now 2024-11-08 18:06:57,555 - INFO - VM name : ctest-TestBasicVMVNx-37158163-34981514 2024-11-08 18:06:57,648 - DEBUG - VM ctest-TestBasicVMVNx-37158163-34981514 ID is f55364d6-4da7-43f6-a06b-ff03bc8a4436 2024-11-08 18:06:57,678 - DEBUG - VM ctest-TestBasicVMVNx-37158163-34981514 launched on Node cn-jenkins-deploy-platform-ansible-os-2238-30 2024-11-08 18:06:57,771 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f55364d6-4da7-43f6-a06b-ff03bc8a4436 2024-11-08 18:06:58,076 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f55364d6-4da7-43f6-a06b-ff03bc8a4436 2024-11-08 18:06:58,135 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/fdf907e9-0049-4ab4-8f7c-2814cd57c443 2024-11-08 18:07:01,404 - 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-08 18:07:01,405 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-37158163-34981514 failed! 2024-11-08 18:07:01,476 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-37158163:ctest-vn-49064160 is 196.130.115.1 and allocation pool is NOT set 2024-11-08 18:07:03,544 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.861 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.861/2.356/3.852/1.495 ms') 2024-11-08 18:07:03,544 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-37158163-34981514 passed 2024-11-08 18:07:03,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:07:03,712 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-37158163-34981514, IP 196.130.115.3, Port 22 2024-11-08 18:07:03,879 - DEBUG - VM ctest-TestBasicVMVNx-37158163-34981514 is ready for SSH connections 2024-11-08 18:07:03,879 - INFO - Waiting for VM ctest-TestBasicVMVNx-37158163-76540240 to be up.. 2024-11-08 18:07:03,976 - DEBUG - VM is in ACTIVE state now 2024-11-08 18:07:03,976 - INFO - VM name : ctest-TestBasicVMVNx-37158163-76540240 2024-11-08 18:07:04,076 - DEBUG - VM ctest-TestBasicVMVNx-37158163-76540240 ID is eca4e479-5ced-4a7a-807d-eaf7690fe964 2024-11-08 18:07:04,076 - DEBUG - VM ctest-TestBasicVMVNx-37158163-76540240 launched on Node cn-jenkins-deploy-platform-ansible-os-2238-30 2024-11-08 18:07:04,191 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/eca4e479-5ced-4a7a-807d-eaf7690fe964 2024-11-08 18:07:04,202 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7c4107c8-f368-485c-845b-b9bb0d3ebe64 2024-11-08 18:07:05,464 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.639 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.639/1.803/2.968/1.164 ms') 2024-11-08 18:07:05,464 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-37158163-76540240 passed 2024-11-08 18:07:05,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:07:05,633 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-37158163-76540240, IP 196.130.115.4, Port 22 2024-11-08 18:07:05,803 - DEBUG - VM ctest-TestBasicVMVNx-37158163-76540240 is ready for SSH connections 2024-11-08 18:07:05,803 - DEBUG - FILE SIZE = 1303B 2024-11-08 18:07:05,803 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-37158163-34981514 to ctest-TestBasicVMVNx-37158163-76540240 using scp 2024-11-08 18:07:05,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:07:05,810 - 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.33, gateway password: c0ntrail123 2024-11-08 18:07:05,810 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-08 18:07:07,441 - DEBUG - 1+0 records in 1+0 records out 2024-11-08 18:07:08,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:07:08,597 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-11-08 18:07:08,598 - DEBUG - ls -l testfile 2024-11-08 18:07:10,198 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 8 11:07 testfile 2024-11-08 18:07:10,198 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-37158163-76540240 2024-11-08 18:07:10,198 - INFO - Deleting VM ctest-TestBasicVMVNx-37158163-76540240 2024-11-08 18:07:10,278 - INFO - Deleting VM ctest-TestBasicVMVNx-37158163-34981514 2024-11-08 18:07:10,376 - INFO - Deleting VN ctest-vn-49064160 2024-11-08 18:07:10,424 - DEBUG - VN fad0c87a-4e1e-4fd5-9da7-95867cc556f1 still in use: Unable to complete operation on network fad0c87a-4e1e-4fd5-9da7-95867cc556f1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0f82f58e-0f6d-431d-bc8a-f08570853db4'] 2024-11-08 18:07:10,424 - WARNING - Deleting VN ctest-vn-49064160 failed..Will retry 2024-11-08 18:07:12,581 - DEBUG - Response for deleting network () 2024-11-08 18:07:12,845 - DEBUG - No XMPP flaps were noticed during the test
2024-11-08 18:07:12,845 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-11-08 18:07:12,845 - INFO - -------------------------------------------------------------------------------- 2024-11-08 18:07:13,546 - INFO - Deleted project: ctest-TestBasicVMVNx-37158163, ID : 57ca6c6f-5529-4915-883b-16b868dfb371