2025-09-22 02:06:51,541 - INFO - Domain Default found not creating 2025-09-22 02:06:51,694 - INFO - Project ctest-TestBasicVMVNx-12337728 not found, creating it 2025-09-22 02:06:52,157 - INFO - Created Project:ctest-TestBasicVMVNx-12337728, ID : 1813f85c-2e4e-48b1-aec7-9c95a068c7fc 2025-09-22 02:06:53,943 - INFO - ================================================================================ 2025-09-22 02:06:53,943 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-09-22 02:06:53,943 - 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-09-22 02:06:54,202 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-09-22 02:06:54,202 - INFO - Initial checks done. Running the testcase now 2025-09-22 02:06:54,202 - INFO - 2025-09-22 02:06:54,822 - DEBUG - Response for create_network : {'network': {'id': '399cd37f-a04f-44fe-be28-22d7f30fa382', 'name': 'ctest-vn-77520486', 'tenant_id': '1813f85c2e4e48b1aec79c95a068c7fc', 'project_id': '1813f85c2e4e48b1aec79c95a068c7fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-12337728', 'ctest-vn-77520486'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 02:06:54,986 - DEBUG - Response for create_subnet : {'subnet': {'id': '00f60465-55ae-43e8-b774-c3b40a729672', 'name': '', 'tenant_id': '1813f85c2e4e48b1aec79c95a068c7fc', 'network_id': '399cd37f-a04f-44fe-be28-22d7f30fa382', 'ip_version': 4, 'cidr': '143.116.75.128/26', 'allocation_pools': [{'start': '143.116.75.130', 'end': '143.116.75.190'}], 'gateway_ip': '143.116.75.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.116.75.130', 'tags': [], 'project_id': '1813f85c2e4e48b1aec79c95a068c7fc'}} 2025-09-22 02:06:55,006 - INFO - Created VN ctest-vn-77520486 2025-09-22 02:06:55,056 - DEBUG - VN ctest-vn-77520486 UUID is 399cd37f-a04f-44fe-be28-22d7f30fa382 2025-09-22 02:06:55,263 - DEBUG - Services list from nova: [, , ] 2025-09-22 02:06:56,364 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4160-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4160-1) 2025-09-22 02:06:57,551 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4160-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4160-1) 2025-09-22 02:06:57,551 - INFO - Waiting for VM ctest-TestBasicVMVNx-12337728-62460822 to be up.. 2025-09-22 02:06:57,648 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 02:07:02,726 - DEBUG - VM is in ACTIVE state now 2025-09-22 02:07:02,726 - INFO - VM name : ctest-TestBasicVMVNx-12337728-62460822 2025-09-22 02:07:02,803 - DEBUG - VM ctest-TestBasicVMVNx-12337728-62460822 ID is 7035c25c-5267-406d-a61f-abbecfa1cd7f 2025-09-22 02:07:02,823 - DEBUG - VM ctest-TestBasicVMVNx-12337728-62460822 launched on Node cn-jenkins-deploy-platform-ansible-os-4160-1 2025-09-22 02:07:02,898 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/7035c25c-5267-406d-a61f-abbecfa1cd7f 2025-09-22 02:07:03,238 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/7035c25c-5267-406d-a61f-abbecfa1cd7f 2025-09-22 02:07:03,273 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/defe020b-08da-4c2b-b9b8-a753a7a6fa44 2025-09-22 02:07:06,526 - 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 1018ms') 2025-09-22 02:07:06,526 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-12337728-62460822 failed! 2025-09-22 02:07:06,580 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-12337728:ctest-vn-77520486 is 143.116.75.129 and allocation pool is NOT set 2025-09-22 02:07:08,654 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.96 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 = 1.961/3.893/5.826/1.932 ms') 2025-09-22 02:07:08,654 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-12337728-62460822 passed 2025-09-22 02:07:08,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:07:08,809 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-12337728-62460822, IP 143.116.75.131, Port 22 2025-09-22 02:07:08,968 - DEBUG - VM ctest-TestBasicVMVNx-12337728-62460822 is ready for SSH connections 2025-09-22 02:07:08,968 - INFO - Waiting for VM ctest-TestBasicVMVNx-12337728-78179656 to be up.. 2025-09-22 02:07:09,056 - DEBUG - VM is in ACTIVE state now 2025-09-22 02:07:09,056 - INFO - VM name : ctest-TestBasicVMVNx-12337728-78179656 2025-09-22 02:07:09,150 - DEBUG - VM ctest-TestBasicVMVNx-12337728-78179656 ID is 204eac52-6d64-4b50-9420-d98eac229314 2025-09-22 02:07:09,150 - DEBUG - VM ctest-TestBasicVMVNx-12337728-78179656 launched on Node cn-jenkins-deploy-platform-ansible-os-4160-1 2025-09-22 02:07:09,242 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/204eac52-6d64-4b50-9420-d98eac229314 2025-09-22 02:07:09,251 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/0d354333-c984-404f-afd9-c96f625e60cf 2025-09-22 02:07:10,489 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.84 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 = 1.843/3.698/5.553/1.855 ms') 2025-09-22 02:07:10,489 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-12337728-78179656 passed 2025-09-22 02:07:10,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:07:10,645 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-12337728-78179656, IP 143.116.75.132, Port 22 2025-09-22 02:07:10,810 - DEBUG - VM ctest-TestBasicVMVNx-12337728-78179656 is ready for SSH connections 2025-09-22 02:07:10,810 - DEBUG - FILE SIZE = 1303B 2025-09-22 02:07:10,811 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-12337728-62460822 to ctest-TestBasicVMVNx-12337728-78179656 using scp 2025-09-22 02:07:10,812 - 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.19, gateway password: c0ntrail123 2025-09-22 02:07:10,812 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-09-22 02:07:12,894 - DEBUG - 1+0 records in 1+0 records out 2025-09-22 02:07:13,594 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:07:13,951 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-09-22 02:07:13,952 - DEBUG - ls -l testfile 2025-09-22 02:07:15,558 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 21 20:07 testfile 2025-09-22 02:07:15,558 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-12337728-78179656 2025-09-22 02:07:15,558 - INFO - Deleting VM ctest-TestBasicVMVNx-12337728-78179656 2025-09-22 02:07:15,629 - INFO - Deleting VM ctest-TestBasicVMVNx-12337728-62460822 2025-09-22 02:07:15,695 - INFO - Deleting VN ctest-vn-77520486 2025-09-22 02:07:15,734 - DEBUG - VN 399cd37f-a04f-44fe-be28-22d7f30fa382 still in use: Unable to complete operation on network 399cd37f-a04f-44fe-be28-22d7f30fa382. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-af40f90a-405c-4de2-969f-6b3891b22621'] 2025-09-22 02:07:15,734 - WARNING - Deleting VN ctest-vn-77520486 failed..Will retry 2025-09-22 02:07:17,832 - DEBUG - Response for deleting network () 2025-09-22 02:07:18,090 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 02:07:18,090 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-09-22 02:07:18,090 - INFO - -------------------------------------------------------------------------------- 2025-09-22 02:07:18,806 - INFO - Deleted project: ctest-TestBasicVMVNx-12337728, ID : 1813f85c-2e4e-48b1-aec7-9c95a068c7fc