2024-10-23 20:33:13,065 - INFO - Domain Default found not creating 2024-10-23 20:33:13,230 - INFO - Project ctest-TestBasicVMVNx-82271903 not found, creating it 2024-10-23 20:33:13,701 - INFO - Created Project:ctest-TestBasicVMVNx-82271903, ID : 403982c3-d1c1-46f2-945f-e9b0c1af840a 2024-10-23 20:33:15,193 - INFO - ================================================================================ 2024-10-23 20:33:15,193 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-23 20:33:15,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 2024-10-23 20:33:15,452 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.5': '0'}} with 2024-10-23 20:33:15,453 - INFO - Initial checks done. Running the testcase now 2024-10-23 20:33:15,453 - INFO - 2024-10-23 20:33:16,017 - DEBUG - Response for create_network : {'network': {'id': '8b1245e3-19b5-4f52-ae69-697b2af6ddd4', 'name': 'ctest-vn-83529510', 'tenant_id': '403982c3d1c146f2945fe9b0c1af840a', 'project_id': '403982c3d1c146f2945fe9b0c1af840a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-82271903', 'ctest-vn-83529510'], 'port_security_enabled': True, 'description': ''}} 2024-10-23 20:33:16,223 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f8aba53-b9e8-420c-b1e4-1a8e45955ece', 'name': '', 'tenant_id': '403982c3d1c146f2945fe9b0c1af840a', 'network_id': '8b1245e3-19b5-4f52-ae69-697b2af6ddd4', 'ip_version': 4, 'cidr': '72.218.8.192/26', 'allocation_pools': [{'start': '72.218.8.194', 'end': '72.218.8.254'}], 'gateway_ip': '72.218.8.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.218.8.194', 'tags': [], 'project_id': '403982c3d1c146f2945fe9b0c1af840a'}} 2024-10-23 20:33:16,244 - INFO - Created VN ctest-vn-83529510 2024-10-23 20:33:16,302 - DEBUG - VN ctest-vn-83529510 UUID is 8b1245e3-19b5-4f52-ae69-697b2af6ddd4 2024-10-23 20:33:16,465 - DEBUG - Services list from nova: [, , ] 2024-10-23 20:33:17,593 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2133-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2133-1) 2024-10-23 20:33:18,761 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2133-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2133-1) 2024-10-23 20:33:18,761 - INFO - Waiting for VM ctest-TestBasicVMVNx-82271903-58910502 to be up.. 2024-10-23 20:33:18,845 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-23 20:33:23,929 - DEBUG - VM is in ACTIVE state now 2024-10-23 20:33:23,929 - INFO - VM name : ctest-TestBasicVMVNx-82271903-58910502 2024-10-23 20:33:24,020 - DEBUG - VM ctest-TestBasicVMVNx-82271903-58910502 ID is 6d9492ae-083c-4d6b-80cb-e1d2b5d14f80 2024-10-23 20:33:24,041 - DEBUG - VM ctest-TestBasicVMVNx-82271903-58910502 launched on Node cn-jenkins-deploy-platform-ansible-os-2133-1 2024-10-23 20:33:24,116 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/6d9492ae-083c-4d6b-80cb-e1d2b5d14f80 2024-10-23 20:33:24,414 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/6d9492ae-083c-4d6b-80cb-e1d2b5d14f80 2024-10-23 20:33:24,451 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/6251d57a-015a-4a8b-9d3f-5f00e9f0fb1f 2024-10-23 20:33:27,726 - 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-10-23 20:33:27,726 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-82271903-58910502 failed! 2024-10-23 20:33:27,786 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-82271903:ctest-vn-83529510 is 72.218.8.193 and allocation pool is NOT set 2024-10-23 20:33:29,851 - 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=12.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.78 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 = 2.780/7.453/12.126/4.673 ms') 2024-10-23 20:33:29,851 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-82271903-58910502 passed 2024-10-23 20:33:30,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 20:33:30,010 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-82271903-58910502, IP 72.218.8.195, Port 22 2024-10-23 20:33:30,170 - DEBUG - VM ctest-TestBasicVMVNx-82271903-58910502 is ready for SSH connections 2024-10-23 20:33:30,170 - INFO - Waiting for VM ctest-TestBasicVMVNx-82271903-86952799 to be up.. 2024-10-23 20:33:30,259 - DEBUG - VM is in ACTIVE state now 2024-10-23 20:33:30,259 - INFO - VM name : ctest-TestBasicVMVNx-82271903-86952799 2024-10-23 20:33:30,346 - DEBUG - VM ctest-TestBasicVMVNx-82271903-86952799 ID is d0630488-a036-4f58-998c-6ad6d2359a4e 2024-10-23 20:33:30,346 - DEBUG - VM ctest-TestBasicVMVNx-82271903-86952799 launched on Node cn-jenkins-deploy-platform-ansible-os-2133-1 2024-10-23 20:33:30,431 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/d0630488-a036-4f58-998c-6ad6d2359a4e 2024-10-23 20:33:30,444 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/ac603d8f-627d-41ed-9d84-19dbce41208e 2024-10-23 20:33:31,702 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.393 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.393/1.707/3.022/1.314 ms') 2024-10-23 20:33:31,702 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-82271903-86952799 passed 2024-10-23 20:33:31,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 20:33:31,862 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-82271903-86952799, IP 72.218.8.196, Port 22 2024-10-23 20:33:32,029 - DEBUG - VM ctest-TestBasicVMVNx-82271903-86952799 is ready for SSH connections 2024-10-23 20:33:32,029 - DEBUG - FILE SIZE = 1303B 2024-10-23 20:33:32,029 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-82271903-58910502 to ctest-TestBasicVMVNx-82271903-86952799 using scp 2024-10-23 20:33:32,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 20:33:32,036 - 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.35, gateway password: c0ntrail123 2024-10-23 20:33:32,036 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-23 20:33:33,909 - DEBUG - 1+0 records in 1+0 records out 2024-10-23 20:33:34,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 20:33:35,004 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2024-10-23 20:33:35,004 - DEBUG - ls -l testfile 2024-10-23 20:33:36,580 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 23 14:33 testfile 2024-10-23 20:33:36,580 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-82271903-86952799 2024-10-23 20:33:36,580 - INFO - Deleting VM ctest-TestBasicVMVNx-82271903-86952799 2024-10-23 20:33:36,654 - INFO - Deleting VM ctest-TestBasicVMVNx-82271903-58910502 2024-10-23 20:33:36,720 - INFO - Deleting VN ctest-vn-83529510 2024-10-23 20:33:36,758 - DEBUG - VN 8b1245e3-19b5-4f52-ae69-697b2af6ddd4 still in use: Unable to complete operation on network 8b1245e3-19b5-4f52-ae69-697b2af6ddd4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-10d9177c-d38d-4e28-be2d-b1e4d1412975'] 2024-10-23 20:33:36,758 - WARNING - Deleting VN ctest-vn-83529510 failed..Will retry 2024-10-23 20:33:38,943 - DEBUG - Response for deleting network () 2024-10-23 20:33:39,210 - DEBUG - No XMPP flaps were noticed during the test
2024-10-23 20:33:39,210 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-10-23 20:33:39,210 - INFO - -------------------------------------------------------------------------------- 2024-10-23 20:33:39,963 - INFO - Deleted project: ctest-TestBasicVMVNx-82271903, ID : 403982c3-d1c1-46f2-945f-e9b0c1af840a