2025-02-17 02:26:13,943 - INFO - Domain Default found not creating 2025-02-17 02:26:14,099 - INFO - Project ctest-TestBasicVMVNx-20949703 not found, creating it 2025-02-17 02:26:14,568 - INFO - Created Project:ctest-TestBasicVMVNx-20949703, ID : 9b9e880f-9339-4afd-acb2-a3a8780bc33d 2025-02-17 02:26:16,079 - INFO - ================================================================================ 2025-02-17 02:26:16,079 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-17 02:26:16,079 - 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-02-17 02:26:16,336 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.23': '0'}} with 2025-02-17 02:26:16,336 - INFO - Initial checks done. Running the testcase now 2025-02-17 02:26:16,336 - INFO - 2025-02-17 02:26:16,923 - DEBUG - Response for create_network : {'network': {'id': 'ba3d753b-5c7b-4a91-a1d8-4aa8675412fc', 'name': 'ctest-vn-97650053', 'tenant_id': '9b9e880f93394afdacb2a3a8780bc33d', 'project_id': '9b9e880f93394afdacb2a3a8780bc33d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-20949703', 'ctest-vn-97650053'], 'port_security_enabled': True, 'description': ''}} 2025-02-17 02:26:17,090 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b7c1384-7690-41db-b66a-908080ba79fd', 'name': '', 'tenant_id': '9b9e880f93394afdacb2a3a8780bc33d', 'network_id': 'ba3d753b-5c7b-4a91-a1d8-4aa8675412fc', 'ip_version': 4, 'cidr': '221.8.222.192/26', 'allocation_pools': [{'start': '221.8.222.194', 'end': '221.8.222.254'}], 'gateway_ip': '221.8.222.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.8.222.194', 'tags': [], 'project_id': '9b9e880f93394afdacb2a3a8780bc33d'}} 2025-02-17 02:26:17,107 - INFO - Created VN ctest-vn-97650053 2025-02-17 02:26:17,157 - DEBUG - VN ctest-vn-97650053 UUID is ba3d753b-5c7b-4a91-a1d8-4aa8675412fc 2025-02-17 02:26:17,336 - DEBUG - Services list from nova: [, , ] 2025-02-17 02:26:18,370 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2739-1) 2025-02-17 02:26:19,508 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2739-1) 2025-02-17 02:26:19,508 - INFO - Waiting for VM ctest-TestBasicVMVNx-20949703-99838413 to be up.. 2025-02-17 02:26:19,617 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-17 02:26:24,814 - DEBUG - VM is in ACTIVE state now 2025-02-17 02:26:24,814 - INFO - VM name : ctest-TestBasicVMVNx-20949703-99838413 2025-02-17 02:26:24,896 - DEBUG - VM ctest-TestBasicVMVNx-20949703-99838413 ID is f48a698a-8f41-4797-a786-64da4a83348d 2025-02-17 02:26:24,918 - DEBUG - VM ctest-TestBasicVMVNx-20949703-99838413 launched on Node cn-jenkins-deploy-platform-ansible-os-2739-1 2025-02-17 02:26:24,998 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/f48a698a-8f41-4797-a786-64da4a83348d 2025-02-17 02:26:25,297 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/f48a698a-8f41-4797-a786-64da4a83348d 2025-02-17 02:26:25,339 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/2d621d30-17e8-4366-bf2d-40c1d2036db2 2025-02-17 02:26:28,607 - 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') 2025-02-17 02:26:28,607 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-20949703-99838413 failed! 2025-02-17 02:26:28,661 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-20949703:ctest-vn-97650053 is 221.8.222.193 and allocation pool is NOT set 2025-02-17 02:26:30,724 - 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=5.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.34 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 = 1.341/3.442/5.544/2.101 ms') 2025-02-17 02:26:30,724 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-20949703-99838413 passed 2025-02-17 02:26:30,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:26:30,874 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-20949703-99838413, IP 221.8.222.195, Port 22 2025-02-17 02:26:31,037 - DEBUG - VM ctest-TestBasicVMVNx-20949703-99838413 is ready for SSH connections 2025-02-17 02:26:31,037 - INFO - Waiting for VM ctest-TestBasicVMVNx-20949703-06168441 to be up.. 2025-02-17 02:26:31,121 - DEBUG - VM is in ACTIVE state now 2025-02-17 02:26:31,121 - INFO - VM name : ctest-TestBasicVMVNx-20949703-06168441 2025-02-17 02:26:31,210 - DEBUG - VM ctest-TestBasicVMVNx-20949703-06168441 ID is 11d7100c-3d6c-4753-b520-39b1c258d766 2025-02-17 02:26:31,210 - DEBUG - VM ctest-TestBasicVMVNx-20949703-06168441 launched on Node cn-jenkins-deploy-platform-ansible-os-2739-1 2025-02-17 02:26:31,298 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/11d7100c-3d6c-4753-b520-39b1c258d766 2025-02-17 02:26:31,306 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/19814faf-7d03-4370-924b-0f0bc31e9c56 2025-02-17 02:26:32,546 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.527 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.527/1.737/2.948/1.210 ms') 2025-02-17 02:26:32,546 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-20949703-06168441 passed 2025-02-17 02:26:32,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:26:32,698 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-20949703-06168441, IP 221.8.222.196, Port 22 2025-02-17 02:26:32,879 - DEBUG - VM ctest-TestBasicVMVNx-20949703-06168441 is ready for SSH connections 2025-02-17 02:26:32,879 - DEBUG - FILE SIZE = 1303B 2025-02-17 02:26:32,879 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-20949703-99838413 to ctest-TestBasicVMVNx-20949703-06168441 using scp 2025-02-17 02:26:32,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:26:32,885 - 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.49, gateway password: c0ntrail123 2025-02-17 02:26:32,885 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-17 02:26:34,808 - DEBUG - 1+0 records in 1+0 records out 2025-02-17 02:26:35,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:26:35,912 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-02-17 02:26:35,912 - DEBUG - ls -l testfile 2025-02-17 02:26:37,488 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 16 19:26 testfile 2025-02-17 02:26:37,488 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-20949703-06168441 2025-02-17 02:26:37,489 - INFO - Deleting VM ctest-TestBasicVMVNx-20949703-06168441 2025-02-17 02:26:37,562 - INFO - Deleting VM ctest-TestBasicVMVNx-20949703-99838413 2025-02-17 02:26:37,634 - INFO - Deleting VN ctest-vn-97650053 2025-02-17 02:26:37,674 - DEBUG - VN ba3d753b-5c7b-4a91-a1d8-4aa8675412fc still in use: Unable to complete operation on network ba3d753b-5c7b-4a91-a1d8-4aa8675412fc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-86cb88ff-7247-4e0c-b43d-cb2000361a7c'] 2025-02-17 02:26:37,675 - WARNING - Deleting VN ctest-vn-97650053 failed..Will retry 2025-02-17 02:26:39,779 - DEBUG - Response for deleting network () 2025-02-17 02:26:40,040 - DEBUG - No XMPP flaps were noticed during the test 2025-02-17 02:26:40,040 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-02-17 02:26:40,040 - INFO - -------------------------------------------------------------------------------- 2025-02-17 02:26:40,756 - INFO - Deleted project: ctest-TestBasicVMVNx-20949703, ID : 9b9e880f-9339-4afd-acb2-a3a8780bc33d