2025-01-14 06:49:58,568 - INFO - Domain Default found not creating 2025-01-14 06:49:58,715 - INFO - Project ctest-TestBasicVMVNx-07783680 not found, creating it 2025-01-14 06:49:59,187 - INFO - Created Project:ctest-TestBasicVMVNx-07783680, ID : 5f1dae8d-6ccb-47eb-b4a2-fd9ffa70f7a8 2025-01-14 06:50:00,688 - INFO - ================================================================================ 2025-01-14 06:50:00,688 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-14 06:50:00,688 - 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-14 06:50:00,963 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.10': '0'}} with 2025-01-14 06:50:00,963 - INFO - Initial checks done. Running the testcase now 2025-01-14 06:50:00,964 - INFO - 2025-01-14 06:50:01,631 - DEBUG - Response for create_network : {'network': {'id': 'a2d598df-14bc-42a2-ba19-8f4eba581e57', 'name': 'ctest-vn-83772938', 'tenant_id': '5f1dae8d6ccb47ebb4a2fd9ffa70f7a8', 'project_id': '5f1dae8d6ccb47ebb4a2fd9ffa70f7a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-07783680', 'ctest-vn-83772938'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 06:50:01,807 - DEBUG - Response for create_subnet : {'subnet': {'id': '79e76214-264b-4bd8-8a0f-6d0ac8f9d303', 'name': '', 'tenant_id': '5f1dae8d6ccb47ebb4a2fd9ffa70f7a8', 'network_id': 'a2d598df-14bc-42a2-ba19-8f4eba581e57', 'ip_version': 4, 'cidr': '212.114.189.0/26', 'allocation_pools': [{'start': '212.114.189.2', 'end': '212.114.189.62'}], 'gateway_ip': '212.114.189.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.114.189.2', 'tags': [], 'project_id': '5f1dae8d6ccb47ebb4a2fd9ffa70f7a8'}} 2025-01-14 06:50:01,827 - INFO - Created VN ctest-vn-83772938 2025-01-14 06:50:01,881 - DEBUG - VN ctest-vn-83772938 UUID is a2d598df-14bc-42a2-ba19-8f4eba581e57 2025-01-14 06:50:02,069 - DEBUG - Services list from nova: [, , ] 2025-01-14 06:50:03,153 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2619-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2619-1) 2025-01-14 06:50:04,399 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2619-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2619-1) 2025-01-14 06:50:04,400 - INFO - Waiting for VM ctest-TestBasicVMVNx-07783680-19053898 to be up.. 2025-01-14 06:50:04,493 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-14 06:50:09,579 - DEBUG - VM is in ACTIVE state now 2025-01-14 06:50:09,579 - INFO - VM name : ctest-TestBasicVMVNx-07783680-19053898 2025-01-14 06:50:09,669 - DEBUG - VM ctest-TestBasicVMVNx-07783680-19053898 ID is f5c500f7-8f42-4220-a9c2-461c605be769 2025-01-14 06:50:09,701 - DEBUG - VM ctest-TestBasicVMVNx-07783680-19053898 launched on Node cn-jenkins-deploy-platform-ansible-os-2619-1 2025-01-14 06:50:09,791 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/f5c500f7-8f42-4220-a9c2-461c605be769 2025-01-14 06:50:10,086 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/f5c500f7-8f42-4220-a9c2-461c605be769 2025-01-14 06:50:10,124 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/75c1ab70-da14-4ff8-af5b-ffb6c6a6a7fd 2025-01-14 06:50:13,433 - 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 1022ms') 2025-01-14 06:50:13,433 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07783680-19053898 failed! 2025-01-14 06:50:13,497 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-07783680:ctest-vn-83772938 is 212.114.189.1 and allocation pool is NOT set 2025-01-14 06:50:15,567 - 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.43 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 1002ms\r\nrtt min/avg/max/mdev = 0.805/2.116/3.428/1.311 ms') 2025-01-14 06:50:15,567 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07783680-19053898 passed 2025-01-14 06:50:15,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 06:50:15,721 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07783680-19053898, IP 212.114.189.3, Port 22 2025-01-14 06:50:15,890 - DEBUG - VM ctest-TestBasicVMVNx-07783680-19053898 is ready for SSH connections 2025-01-14 06:50:15,890 - INFO - Waiting for VM ctest-TestBasicVMVNx-07783680-66135759 to be up.. 2025-01-14 06:50:15,985 - DEBUG - VM is in ACTIVE state now 2025-01-14 06:50:15,985 - INFO - VM name : ctest-TestBasicVMVNx-07783680-66135759 2025-01-14 06:50:16,064 - DEBUG - VM ctest-TestBasicVMVNx-07783680-66135759 ID is c5365607-9fbb-4cb5-9f86-2599347c016d 2025-01-14 06:50:16,064 - DEBUG - VM ctest-TestBasicVMVNx-07783680-66135759 launched on Node cn-jenkins-deploy-platform-ansible-os-2619-1 2025-01-14 06:50:16,143 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/c5365607-9fbb-4cb5-9f86-2599347c016d 2025-01-14 06:50:16,153 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/7f6eb5ad-78c7-4ec9-bf29-9e51db6b60b0 2025-01-14 06:50:17,411 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.923 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.923/2.218/3.513/1.295 ms') 2025-01-14 06:50:17,411 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-07783680-66135759 passed 2025-01-14 06:50:17,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 06:50:17,565 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07783680-66135759, IP 212.114.189.4, Port 22 2025-01-14 06:50:17,735 - DEBUG - VM ctest-TestBasicVMVNx-07783680-66135759 is ready for SSH connections 2025-01-14 06:50:17,735 - DEBUG - FILE SIZE = 1303B 2025-01-14 06:50:17,736 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-07783680-19053898 to ctest-TestBasicVMVNx-07783680-66135759 using scp 2025-01-14 06:50:17,736 - 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.32, gateway password: c0ntrail123 2025-01-14 06:50:17,736 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-14 06:50:19,658 - DEBUG - 1+0 records in 1+0 records out 2025-01-14 06:50:20,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 06:50:20,835 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2025-01-14 06:50:20,836 - DEBUG - ls -l testfile 2025-01-14 06:50:22,448 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 13 23:50 testfile 2025-01-14 06:50:22,448 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-07783680-66135759 2025-01-14 06:50:22,448 - INFO - Deleting VM ctest-TestBasicVMVNx-07783680-66135759 2025-01-14 06:50:22,518 - INFO - Deleting VM ctest-TestBasicVMVNx-07783680-19053898 2025-01-14 06:50:22,597 - INFO - Deleting VN ctest-vn-83772938 2025-01-14 06:50:22,646 - DEBUG - VN a2d598df-14bc-42a2-ba19-8f4eba581e57 still in use: Unable to complete operation on network a2d598df-14bc-42a2-ba19-8f4eba581e57. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0d307aa9-b846-4479-b5f9-1953116f50bb'] 2025-01-14 06:50:22,647 - WARNING - Deleting VN ctest-vn-83772938 failed..Will retry 2025-01-14 06:50:24,756 - DEBUG - Response for deleting network () 2025-01-14 06:50:25,016 - DEBUG - No XMPP flaps were noticed during the test
2025-01-14 06:50:25,016 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-01-14 06:50:25,016 - INFO - -------------------------------------------------------------------------------- 2025-01-14 06:50:25,717 - INFO - Deleted project: ctest-TestBasicVMVNx-07783680, ID : 5f1dae8d-6ccb-47eb-b4a2-fd9ffa70f7a8