2025-06-19 13:54:58,699 - INFO - Domain Default found not creating 2025-06-19 13:54:58,863 - INFO - Project ctest-TestBasicVMVNx-60202838 not found, creating it 2025-06-19 13:54:59,335 - INFO - Created Project:ctest-TestBasicVMVNx-60202838, ID : cf5f4d61-4429-4889-9d0f-799438e2027d 2025-06-19 13:55:01,393 - INFO - ================================================================================ 2025-06-19 13:55:01,393 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-19 13:55:01,393 - 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-06-19 13:55:01,647 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.0.0.242': '0'}} with 2025-06-19 13:55:01,647 - INFO - Initial checks done. Running the testcase now 2025-06-19 13:55:01,647 - INFO - 2025-06-19 13:55:02,171 - DEBUG - Response for create_network : {'network': {'id': '322e3b0f-a112-476e-b5ef-b6460f46fb63', 'name': 'ctest-vn-80826828', 'tenant_id': 'cf5f4d61442948899d0f799438e2027d', 'project_id': 'cf5f4d61442948899d0f799438e2027d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-60202838', 'ctest-vn-80826828'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 13:55:02,353 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea7b5309-579e-44fe-ba6d-2306927d3844', 'name': '', 'tenant_id': 'cf5f4d61442948899d0f799438e2027d', 'network_id': '322e3b0f-a112-476e-b5ef-b6460f46fb63', 'ip_version': 4, 'cidr': '20.209.236.128/26', 'allocation_pools': [{'start': '20.209.236.130', 'end': '20.209.236.190'}], 'gateway_ip': '20.209.236.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.209.236.130', 'tags': [], 'project_id': 'cf5f4d61442948899d0f799438e2027d'}} 2025-06-19 13:55:02,372 - INFO - Created VN ctest-vn-80826828 2025-06-19 13:55:02,426 - DEBUG - VN ctest-vn-80826828 UUID is 322e3b0f-a112-476e-b5ef-b6460f46fb63 2025-06-19 13:55:02,591 - DEBUG - Services list from nova: [, , ] 2025-06-19 13:55:03,639 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3495-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3495-1) 2025-06-19 13:55:04,805 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3495-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3495-1) 2025-06-19 13:55:04,805 - INFO - Waiting for VM ctest-TestBasicVMVNx-60202838-32141550 to be up.. 2025-06-19 13:55:04,901 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 13:55:09,990 - DEBUG - VM is in ACTIVE state now 2025-06-19 13:55:09,990 - INFO - VM name : ctest-TestBasicVMVNx-60202838-32141550 2025-06-19 13:55:10,075 - DEBUG - VM ctest-TestBasicVMVNx-60202838-32141550 ID is 9e43bdb9-dc3f-4bc8-b90f-f608148ab939 2025-06-19 13:55:10,096 - DEBUG - VM ctest-TestBasicVMVNx-60202838-32141550 launched on Node cn-jenkins-deploy-platform-ansible-os-3495-1. 2025-06-19 13:55:10,184 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9e43bdb9-dc3f-4bc8-b90f-f608148ab939 2025-06-19 13:55:10,491 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9e43bdb9-dc3f-4bc8-b90f-f608148ab939 2025-06-19 13:55:10,523 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/537f6885-afec-4aaa-ad27-0808f6558d25 2025-06-19 13:55:13,802 - 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 1030ms') 2025-06-19 13:55:13,802 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60202838-32141550 failed! 2025-06-19 13:55:13,858 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-60202838:ctest-vn-80826828 is 20.209.236.129 and allocation pool is NOT set 2025-06-19 13:55:15,923 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.455 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.455/1.912/3.369/1.457 ms') 2025-06-19 13:55:15,923 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60202838-32141550 passed 2025-06-19 13:55:16,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 13:55:16,078 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60202838-32141550, IP 20.209.236.131, Port 22 2025-06-19 13:55:16,233 - DEBUG - VM ctest-TestBasicVMVNx-60202838-32141550 is ready for SSH connections 2025-06-19 13:55:16,233 - INFO - Waiting for VM ctest-TestBasicVMVNx-60202838-56364601 to be up.. 2025-06-19 13:55:16,314 - DEBUG - VM is in ACTIVE state now 2025-06-19 13:55:16,315 - INFO - VM name : ctest-TestBasicVMVNx-60202838-56364601 2025-06-19 13:55:16,403 - DEBUG - VM ctest-TestBasicVMVNx-60202838-56364601 ID is 58bfbd48-bc7f-44d0-97c1-cebb5972d99f 2025-06-19 13:55:16,403 - DEBUG - VM ctest-TestBasicVMVNx-60202838-56364601 launched on Node cn-jenkins-deploy-platform-ansible-os-3495-1. 2025-06-19 13:55:16,610 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/58bfbd48-bc7f-44d0-97c1-cebb5972d99f 2025-06-19 13:55:16,621 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/ac3d4ce4-120a-48ae-a9eb-e137d5df9688 2025-06-19 13:55:17,861 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 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.420/1.580/2.740/1.160 ms') 2025-06-19 13:55:17,861 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-60202838-56364601 passed 2025-06-19 13:55:18,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 13:55:18,010 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60202838-56364601, IP 20.209.236.132, Port 22 2025-06-19 13:55:18,180 - DEBUG - VM ctest-TestBasicVMVNx-60202838-56364601 is ready for SSH connections 2025-06-19 13:55:18,180 - DEBUG - FILE SIZE = 1303B 2025-06-19 13:55:18,180 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-60202838-32141550 to ctest-TestBasicVMVNx-60202838-56364601 using scp 2025-06-19 13:55:18,181 - 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.242, gateway password: c0ntrail123 2025-06-19 13:55:18,181 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-19 13:55:20,184 - DEBUG - 1+0 records in 1+0 records out 2025-06-19 13:55:20,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 13:55:21,145 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-06-19 13:55:21,145 - DEBUG - ls -l testfile 2025-06-19 13:55:21,747 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 19 07:55 testfile 2025-06-19 13:55:21,747 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-60202838-56364601 2025-06-19 13:55:21,747 - INFO - Deleting VM ctest-TestBasicVMVNx-60202838-56364601 2025-06-19 13:55:21,818 - INFO - Deleting VM ctest-TestBasicVMVNx-60202838-32141550 2025-06-19 13:55:21,898 - INFO - Deleting VN ctest-vn-80826828 2025-06-19 13:55:21,947 - DEBUG - VN 322e3b0f-a112-476e-b5ef-b6460f46fb63 still in use: Unable to complete operation on network 322e3b0f-a112-476e-b5ef-b6460f46fb63. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d7a29dcb-d516-4ca3-9cb3-890f6078f5b1'] 2025-06-19 13:55:21,947 - WARNING - Deleting VN ctest-vn-80826828 failed..Will retry 2025-06-19 13:55:24,051 - DEBUG - Response for deleting network () 2025-06-19 13:55:24,307 - DEBUG - No XMPP flaps were noticed during the test
2025-06-19 13:55:24,307 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-06-19 13:55:24,307 - INFO - -------------------------------------------------------------------------------- 2025-06-19 13:55:24,982 - INFO - Deleted project: ctest-TestBasicVMVNx-60202838, ID : cf5f4d61-4429-4889-9d0f-799438e2027d