2025-05-15 02:13:44,706 - INFO - Domain Default found not creating 2025-05-15 02:13:44,851 - INFO - Project ctest-TestBasicVMVNx-64426273 not found, creating it 2025-05-15 02:13:45,328 - INFO - Created Project:ctest-TestBasicVMVNx-64426273, ID : 4e99fd65-8d6e-413c-88a5-f2d9bbd91661 2025-05-15 02:13:46,756 - INFO - ================================================================================ 2025-05-15 02:13:46,756 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-15 02:13:46,757 - 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-05-15 02:13:47,014 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-05-15 02:13:47,014 - INFO - Initial checks done. Running the testcase now 2025-05-15 02:13:47,014 - INFO - 2025-05-15 02:13:47,555 - DEBUG - Response for create_network : {'network': {'id': '9327a2ba-119e-4039-981c-c001613a7e1a', 'name': 'ctest-vn-85299389', 'tenant_id': '4e99fd658d6e413c88a5f2d9bbd91661', 'project_id': '4e99fd658d6e413c88a5f2d9bbd91661', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-64426273', 'ctest-vn-85299389'], 'port_security_enabled': True, 'description': ''}} 2025-05-15 02:13:47,716 - DEBUG - Response for create_subnet : {'subnet': {'id': '86374171-2a29-47a0-a7e6-7779e6331487', 'name': '', 'tenant_id': '4e99fd658d6e413c88a5f2d9bbd91661', 'network_id': '9327a2ba-119e-4039-981c-c001613a7e1a', 'ip_version': 4, 'cidr': '177.91.106.128/26', 'allocation_pools': [{'start': '177.91.106.130', 'end': '177.91.106.190'}], 'gateway_ip': '177.91.106.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.91.106.130', 'tags': [], 'project_id': '4e99fd658d6e413c88a5f2d9bbd91661'}} 2025-05-15 02:13:47,735 - INFO - Created VN ctest-vn-85299389 2025-05-15 02:13:47,787 - DEBUG - VN ctest-vn-85299389 UUID is 9327a2ba-119e-4039-981c-c001613a7e1a 2025-05-15 02:13:47,985 - DEBUG - Services list from nova: [, , ] 2025-05-15 02:13:48,981 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3315-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3315-1) 2025-05-15 02:13:50,141 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3315-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3315-1) 2025-05-15 02:13:50,141 - INFO - Waiting for VM ctest-TestBasicVMVNx-64426273-46002577 to be up.. 2025-05-15 02:13:50,230 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-15 02:13:55,320 - DEBUG - VM is in ACTIVE state now 2025-05-15 02:13:55,320 - INFO - VM name : ctest-TestBasicVMVNx-64426273-46002577 2025-05-15 02:13:55,400 - DEBUG - VM ctest-TestBasicVMVNx-64426273-46002577 ID is eb028f39-90d7-462f-8f7b-d751fe9de05f 2025-05-15 02:13:55,419 - DEBUG - VM ctest-TestBasicVMVNx-64426273-46002577 launched on Node cn-jenkins-deploy-platform-ansible-os-3315-1 2025-05-15 02:13:55,503 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/eb028f39-90d7-462f-8f7b-d751fe9de05f 2025-05-15 02:13:55,800 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/eb028f39-90d7-462f-8f7b-d751fe9de05f 2025-05-15 02:13:55,830 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/3be7e6a9-e59e-47d8-b801-a1de70a41400 2025-05-15 02:13:59,086 - 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 1008ms') 2025-05-15 02:13:59,086 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64426273-46002577 failed! 2025-05-15 02:13:59,139 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-64426273:ctest-vn-85299389 is 177.91.106.129 and allocation pool is NOT set 2025-05-15 02:14:01,201 - 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=2.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.437 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.437/1.715/2.993/1.278 ms') 2025-05-15 02:14:01,201 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64426273-46002577 passed 2025-05-15 02:14:01,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 02:14:01,352 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64426273-46002577, IP 177.91.106.131, Port 22 2025-05-15 02:14:01,518 - DEBUG - VM ctest-TestBasicVMVNx-64426273-46002577 is ready for SSH connections 2025-05-15 02:14:01,518 - INFO - Waiting for VM ctest-TestBasicVMVNx-64426273-07044915 to be up.. 2025-05-15 02:14:01,592 - DEBUG - VM is in ACTIVE state now 2025-05-15 02:14:01,592 - INFO - VM name : ctest-TestBasicVMVNx-64426273-07044915 2025-05-15 02:14:01,675 - DEBUG - VM ctest-TestBasicVMVNx-64426273-07044915 ID is 3264ed43-7fc1-4ddc-9518-b7f4acb8a063 2025-05-15 02:14:01,675 - DEBUG - VM ctest-TestBasicVMVNx-64426273-07044915 launched on Node cn-jenkins-deploy-platform-ansible-os-3315-1 2025-05-15 02:14:01,757 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/3264ed43-7fc1-4ddc-9518-b7f4acb8a063 2025-05-15 02:14:01,767 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/8ae7b62a-64de-4cb5-8c7d-d24bf0ad86c5 2025-05-15 02:14:03,007 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.430/2.016/3.602/1.586 ms') 2025-05-15 02:14:03,007 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-64426273-07044915 passed 2025-05-15 02:14:03,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 02:14:03,156 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64426273-07044915, IP 177.91.106.132, Port 22 2025-05-15 02:14:03,311 - DEBUG - VM ctest-TestBasicVMVNx-64426273-07044915 is ready for SSH connections 2025-05-15 02:14:03,311 - DEBUG - FILE SIZE = 1303B 2025-05-15 02:14:03,311 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-64426273-46002577 to ctest-TestBasicVMVNx-64426273-07044915 using scp 2025-05-15 02:14:03,312 - 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.141, gateway password: c0ntrail123 2025-05-15 02:14:03,312 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-15 02:14:05,196 - DEBUG - 1+0 records in 1+0 records out 2025-05-15 02:14:05,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 02:14:06,121 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-05-15 02:14:06,121 - DEBUG - ls -l testfile 2025-05-15 02:14:07,697 - DEBUG - -rw------- 1 cirros cirros 1303 May 14 20:14 testfile 2025-05-15 02:14:07,697 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-64426273-07044915 2025-05-15 02:14:07,698 - INFO - Deleting VM ctest-TestBasicVMVNx-64426273-07044915 2025-05-15 02:14:07,889 - INFO - Deleting VM ctest-TestBasicVMVNx-64426273-46002577 2025-05-15 02:14:07,960 - INFO - Deleting VN ctest-vn-85299389 2025-05-15 02:14:08,001 - DEBUG - VN 9327a2ba-119e-4039-981c-c001613a7e1a still in use: Unable to complete operation on network 9327a2ba-119e-4039-981c-c001613a7e1a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-13533285-a40a-4435-aacf-a58f88a2ed5e'] 2025-05-15 02:14:08,001 - WARNING - Deleting VN ctest-vn-85299389 failed..Will retry 2025-05-15 02:14:10,127 - DEBUG - Response for deleting network () 2025-05-15 02:14:10,389 - DEBUG - No XMPP flaps were noticed during the test 2025-05-15 02:14:10,389 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-05-15 02:14:10,389 - INFO - -------------------------------------------------------------------------------- 2025-05-15 02:14:11,113 - INFO - Deleted project: ctest-TestBasicVMVNx-64426273, ID : 4e99fd65-8d6e-413c-88a5-f2d9bbd91661