2025-04-08 16:59:12,194 - INFO - Domain Default found not creating 2025-04-08 16:59:12,337 - INFO - Project ctest-TestBasicVMVNx-95322646 not found, creating it 2025-04-08 16:59:12,798 - INFO - Created Project:ctest-TestBasicVMVNx-95322646, ID : 5af5b11c-0ec8-47ff-8e51-06570214d2a2 2025-04-08 16:59:14,244 - INFO - ================================================================================ 2025-04-08 16:59:14,244 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-08 16:59:14,244 - 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-04-08 16:59:14,502 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.8': '0'}} with 2025-04-08 16:59:14,502 - INFO - Initial checks done. Running the testcase now 2025-04-08 16:59:14,502 - INFO - 2025-04-08 16:59:15,066 - DEBUG - Response for create_network : {'network': {'id': '5da4ef45-d148-4e1c-b527-04b3bae23229', 'name': 'ctest-vn-32981625', 'tenant_id': '5af5b11c0ec847ff8e5106570214d2a2', 'project_id': '5af5b11c0ec847ff8e5106570214d2a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-95322646', 'ctest-vn-32981625'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 16:59:15,257 - DEBUG - Response for create_subnet : {'subnet': {'id': '2eb62ea3-0c8f-43f6-af4f-e098c6df48fd', 'name': '', 'tenant_id': '5af5b11c0ec847ff8e5106570214d2a2', 'network_id': '5da4ef45-d148-4e1c-b527-04b3bae23229', 'ip_version': 4, 'cidr': '176.94.172.128/26', 'allocation_pools': [{'start': '176.94.172.130', 'end': '176.94.172.190'}], 'gateway_ip': '176.94.172.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.94.172.130', 'tags': [], 'project_id': '5af5b11c0ec847ff8e5106570214d2a2'}} 2025-04-08 16:59:15,280 - INFO - Created VN ctest-vn-32981625 2025-04-08 16:59:15,336 - DEBUG - VN ctest-vn-32981625 UUID is 5da4ef45-d148-4e1c-b527-04b3bae23229 2025-04-08 16:59:15,522 - DEBUG - Services list from nova: [, , ] 2025-04-08 16:59:16,522 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3057-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3057-1) 2025-04-08 16:59:17,633 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3057-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3057-1) 2025-04-08 16:59:17,633 - INFO - Waiting for VM ctest-TestBasicVMVNx-95322646-23066284 to be up.. 2025-04-08 16:59:17,715 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-08 16:59:22,800 - DEBUG - VM is in ACTIVE state now 2025-04-08 16:59:22,800 - INFO - VM name : ctest-TestBasicVMVNx-95322646-23066284 2025-04-08 16:59:22,876 - DEBUG - VM ctest-TestBasicVMVNx-95322646-23066284 ID is af8af9f2-a99b-4cb6-bd54-92951d320eb4 2025-04-08 16:59:22,895 - DEBUG - VM ctest-TestBasicVMVNx-95322646-23066284 launched on Node cn-jenkins-deploy-platform-ansible-os-3057-1 2025-04-08 16:59:22,966 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/af8af9f2-a99b-4cb6-bd54-92951d320eb4 2025-04-08 16:59:23,259 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/af8af9f2-a99b-4cb6-bd54-92951d320eb4 2025-04-08 16:59:23,292 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/260cfcdf-c28a-42b7-b5d3-4756d253f936 2025-04-08 16:59:26,536 - 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-04-08 16:59:26,536 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95322646-23066284 failed! 2025-04-08 16:59:26,592 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-95322646:ctest-vn-32981625 is 176.94.172.129 and allocation pool is NOT set 2025-04-08 16:59:28,652 - 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=4.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.886 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.886/2.638/4.391/1.752 ms') 2025-04-08 16:59:28,653 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95322646-23066284 passed 2025-04-08 16:59:28,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 16:59:28,808 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95322646-23066284, IP 176.94.172.131, Port 22 2025-04-08 16:59:28,963 - DEBUG - VM ctest-TestBasicVMVNx-95322646-23066284 is ready for SSH connections 2025-04-08 16:59:28,963 - INFO - Waiting for VM ctest-TestBasicVMVNx-95322646-12545944 to be up.. 2025-04-08 16:59:29,041 - DEBUG - VM is in ACTIVE state now 2025-04-08 16:59:29,041 - INFO - VM name : ctest-TestBasicVMVNx-95322646-12545944 2025-04-08 16:59:29,115 - DEBUG - VM ctest-TestBasicVMVNx-95322646-12545944 ID is d227e981-92bc-4984-ac0f-785ebbb4ef2d 2025-04-08 16:59:29,115 - DEBUG - VM ctest-TestBasicVMVNx-95322646-12545944 launched on Node cn-jenkins-deploy-platform-ansible-os-3057-1 2025-04-08 16:59:29,189 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/d227e981-92bc-4984-ac0f-785ebbb4ef2d 2025-04-08 16:59:29,198 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/ba13c381-e342-4c75-a962-985aa22d8580 2025-04-08 16:59:30,433 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.457 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.457/1.671/2.886/1.214 ms') 2025-04-08 16:59:30,433 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-95322646-12545944 passed 2025-04-08 16:59:30,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 16:59:30,588 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95322646-12545944, IP 176.94.172.132, Port 22 2025-04-08 16:59:30,739 - DEBUG - VM ctest-TestBasicVMVNx-95322646-12545944 is ready for SSH connections 2025-04-08 16:59:30,739 - DEBUG - FILE SIZE = 1303B 2025-04-08 16:59:30,739 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-95322646-23066284 to ctest-TestBasicVMVNx-95322646-12545944 using scp 2025-04-08 16:59:30,740 - 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.32, gateway password: c0ntrail123 2025-04-08 16:59:30,740 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-08 16:59:32,647 - DEBUG - 1+0 records in 1+0 records out 2025-04-08 16:59:33,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 16:59:33,552 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2025-04-08 16:59:33,552 - DEBUG - ls -l testfile 2025-04-08 16:59:35,127 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 8 10:59 testfile 2025-04-08 16:59:35,127 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-95322646-12545944 2025-04-08 16:59:35,127 - INFO - Deleting VM ctest-TestBasicVMVNx-95322646-12545944 2025-04-08 16:59:35,191 - INFO - Deleting VM ctest-TestBasicVMVNx-95322646-23066284 2025-04-08 16:59:35,258 - INFO - Deleting VN ctest-vn-32981625 2025-04-08 16:59:35,297 - DEBUG - VN 5da4ef45-d148-4e1c-b527-04b3bae23229 still in use: Unable to complete operation on network 5da4ef45-d148-4e1c-b527-04b3bae23229. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1a9c63e2-a723-4d97-bf7e-aa2a4cf61023'] 2025-04-08 16:59:35,297 - WARNING - Deleting VN ctest-vn-32981625 failed..Will retry 2025-04-08 16:59:37,407 - DEBUG - Response for deleting network () 2025-04-08 16:59:37,661 - DEBUG - No XMPP flaps were noticed during the test
2025-04-08 16:59:37,662 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-04-08 16:59:37,662 - INFO - -------------------------------------------------------------------------------- 2025-04-08 16:59:38,539 - INFO - Deleted project: ctest-TestBasicVMVNx-95322646, ID : 5af5b11c-0ec8-47ff-8e51-06570214d2a2