2025-06-10 17:18:15,943 - INFO - Domain Default found not creating 2025-06-10 17:18:16,101 - INFO - Project ctest-TestBasicVMVNx-62844218 not found, creating it 2025-06-10 17:18:16,590 - INFO - Created Project:ctest-TestBasicVMVNx-62844218, ID : d3fabb8f-fe7e-4faa-89a3-f4a5f1cb5acc 2025-06-10 17:18:18,047 - INFO - ================================================================================ 2025-06-10 17:18:18,047 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-10 17:18:18,047 - 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-10 17:18:18,307 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-06-10 17:18:18,307 - INFO - Initial checks done. Running the testcase now 2025-06-10 17:18:18,307 - INFO - 2025-06-10 17:18:18,876 - DEBUG - Response for create_network : {'network': {'id': '3745efe3-dc7f-439a-ab0b-32c5b70b85a2', 'name': 'ctest-vn-51856138', 'tenant_id': 'd3fabb8ffe7e4faa89a3f4a5f1cb5acc', 'project_id': 'd3fabb8ffe7e4faa89a3f4a5f1cb5acc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-62844218', 'ctest-vn-51856138'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 17:18:19,020 - DEBUG - Response for create_subnet : {'subnet': {'id': '879a7237-32c0-4be7-b921-61e8da2c6a3c', 'name': '', 'tenant_id': 'd3fabb8ffe7e4faa89a3f4a5f1cb5acc', 'network_id': '3745efe3-dc7f-439a-ab0b-32c5b70b85a2', 'ip_version': 4, 'cidr': '169.45.81.64/26', 'allocation_pools': [{'start': '169.45.81.66', 'end': '169.45.81.126'}], 'gateway_ip': '169.45.81.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.45.81.66', 'tags': [], 'project_id': 'd3fabb8ffe7e4faa89a3f4a5f1cb5acc'}} 2025-06-10 17:18:19,039 - INFO - Created VN ctest-vn-51856138 2025-06-10 17:18:19,091 - DEBUG - VN ctest-vn-51856138 UUID is 3745efe3-dc7f-439a-ab0b-32c5b70b85a2 2025-06-10 17:18:19,256 - DEBUG - Services list from nova: [, , ] 2025-06-10 17:18:20,271 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3436-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3436-1) 2025-06-10 17:18:21,400 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3436-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3436-1) 2025-06-10 17:18:21,401 - INFO - Waiting for VM ctest-TestBasicVMVNx-62844218-20078106 to be up.. 2025-06-10 17:18:21,498 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-10 17:18:26,583 - DEBUG - VM is in ACTIVE state now 2025-06-10 17:18:26,583 - INFO - VM name : ctest-TestBasicVMVNx-62844218-20078106 2025-06-10 17:18:26,657 - DEBUG - VM ctest-TestBasicVMVNx-62844218-20078106 ID is 017fcf5f-177a-4abc-bdee-5177bb951d08 2025-06-10 17:18:26,677 - DEBUG - VM ctest-TestBasicVMVNx-62844218-20078106 launched on Node cn-jenkins-deploy-platform-ansible-os-3436-1 2025-06-10 17:18:26,751 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/017fcf5f-177a-4abc-bdee-5177bb951d08 2025-06-10 17:18:27,046 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/017fcf5f-177a-4abc-bdee-5177bb951d08 2025-06-10 17:18:27,080 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e99b1d63-fae5-43e4-b3ce-176dcda8dc25 2025-06-10 17:18:30,336 - 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 1019ms') 2025-06-10 17:18:30,336 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-62844218-20078106 failed! 2025-06-10 17:18:30,391 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-62844218:ctest-vn-51856138 is 169.45.81.65 and allocation pool is NOT set 2025-06-10 17:18:32,451 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.391 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.391/1.587/2.783/1.196 ms') 2025-06-10 17:18:32,452 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-62844218-20078106 passed 2025-06-10 17:18:32,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 17:18:32,604 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-62844218-20078106, IP 169.45.81.67, Port 22 2025-06-10 17:18:32,763 - DEBUG - VM ctest-TestBasicVMVNx-62844218-20078106 is ready for SSH connections 2025-06-10 17:18:32,763 - INFO - Waiting for VM ctest-TestBasicVMVNx-62844218-32541397 to be up.. 2025-06-10 17:18:32,844 - DEBUG - VM is in ACTIVE state now 2025-06-10 17:18:32,844 - INFO - VM name : ctest-TestBasicVMVNx-62844218-32541397 2025-06-10 17:18:32,924 - DEBUG - VM ctest-TestBasicVMVNx-62844218-32541397 ID is eb4d5edf-1e95-4395-a662-ace05bcb503e 2025-06-10 17:18:32,924 - DEBUG - VM ctest-TestBasicVMVNx-62844218-32541397 launched on Node cn-jenkins-deploy-platform-ansible-os-3436-1 2025-06-10 17:18:33,000 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/eb4d5edf-1e95-4395-a662-ace05bcb503e 2025-06-10 17:18:33,010 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cc6d9e3e-0d32-4938-af76-2e21ff708d49 2025-06-10 17:18:34,260 - 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=5.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.22 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 = 1.223/3.587/5.951/2.364 ms') 2025-06-10 17:18:34,260 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-62844218-32541397 passed 2025-06-10 17:18:34,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 17:18:34,412 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-62844218-32541397, IP 169.45.81.68, Port 22 2025-06-10 17:18:34,567 - DEBUG - VM ctest-TestBasicVMVNx-62844218-32541397 is ready for SSH connections 2025-06-10 17:18:34,567 - DEBUG - FILE SIZE = 1303B 2025-06-10 17:18:34,567 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-62844218-20078106 to ctest-TestBasicVMVNx-62844218-32541397 using scp 2025-06-10 17:18:34,568 - 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.254, gateway password: c0ntrail123 2025-06-10 17:18:34,568 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-10 17:18:36,486 - DEBUG - 1+0 records in 1+0 records out 2025-06-10 17:18:37,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 17:18:37,430 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-10 17:18:37,430 - DEBUG - ls -l testfile 2025-06-10 17:18:38,982 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 10 11:18 testfile 2025-06-10 17:18:38,982 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-62844218-32541397 2025-06-10 17:18:38,983 - INFO - Deleting VM ctest-TestBasicVMVNx-62844218-32541397 2025-06-10 17:18:39,057 - INFO - Deleting VM ctest-TestBasicVMVNx-62844218-20078106 2025-06-10 17:18:39,133 - INFO - Deleting VN ctest-vn-51856138 2025-06-10 17:18:39,167 - DEBUG - VN 3745efe3-dc7f-439a-ab0b-32c5b70b85a2 still in use: Unable to complete operation on network 3745efe3-dc7f-439a-ab0b-32c5b70b85a2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-25e5e8cf-66e4-4ada-9a86-697bb11c3faa'] 2025-06-10 17:18:39,167 - WARNING - Deleting VN ctest-vn-51856138 failed..Will retry 2025-06-10 17:18:41,279 - DEBUG - Response for deleting network () 2025-06-10 17:18:41,538 - DEBUG - No XMPP flaps were noticed during the test 2025-06-10 17:18:41,538 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-06-10 17:18:41,538 - INFO - -------------------------------------------------------------------------------- 2025-06-10 17:18:42,214 - INFO - Deleted project: ctest-TestBasicVMVNx-62844218, ID : d3fabb8f-fe7e-4faa-89a3-f4a5f1cb5acc