2025-06-04 22:15:12,710 - INFO - Domain Default found not creating 2025-06-04 22:15:12,862 - INFO - Project ctest-TestBasicVMVNx-22537671 not found, creating it 2025-06-04 22:15:13,337 - INFO - Created Project:ctest-TestBasicVMVNx-22537671, ID : cc016bf6-66b3-452f-8f1b-08bd14d5e948 2025-06-04 22:15:14,813 - INFO - ================================================================================ 2025-06-04 22:15:14,813 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-04 22:15:14,813 - 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-04 22:15:15,081 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.0.0.57': '0'}} with 2025-06-04 22:15:15,081 - INFO - Initial checks done. Running the testcase now 2025-06-04 22:15:15,081 - INFO - 2025-06-04 22:15:15,682 - DEBUG - Response for create_network : {'network': {'id': '0e1bd5b3-5c29-4013-b7b0-2c54200ef347', 'name': 'ctest-vn-33092991', 'tenant_id': 'cc016bf666b3452f8f1b08bd14d5e948', 'project_id': 'cc016bf666b3452f8f1b08bd14d5e948', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-22537671', 'ctest-vn-33092991'], 'port_security_enabled': True, 'description': ''}} 2025-06-04 22:15:15,859 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cce20e6f-b8dd-4563-92b6-40d6f3fa933a', 'name': '', 'tenant_id': 'cc016bf666b3452f8f1b08bd14d5e948', 'network_id': '0e1bd5b3-5c29-4013-b7b0-2c54200ef347', 'ip_version': 4, 'cidr': '25.181.204.64/26', 'allocation_pools': [{'start': '25.181.204.66', 'end': '25.181.204.126'}], 'gateway_ip': '25.181.204.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.181.204.66', 'tags': [], 'project_id': 'cc016bf666b3452f8f1b08bd14d5e948'}} 2025-06-04 22:15:15,884 - INFO - Created VN ctest-vn-33092991 2025-06-04 22:15:15,936 - DEBUG - VN ctest-vn-33092991 UUID is 0e1bd5b3-5c29-4013-b7b0-2c54200ef347 2025-06-04 22:15:16,112 - DEBUG - Services list from nova: [, , ] 2025-06-04 22:15:17,204 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3400-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3400-1) 2025-06-04 22:15:18,481 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3400-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3400-1) 2025-06-04 22:15:18,481 - INFO - Waiting for VM ctest-TestBasicVMVNx-22537671-99923598 to be up.. 2025-06-04 22:15:18,565 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-04 22:15:23,676 - DEBUG - VM is in ACTIVE state now 2025-06-04 22:15:23,676 - INFO - VM name : ctest-TestBasicVMVNx-22537671-99923598 2025-06-04 22:15:23,774 - DEBUG - VM ctest-TestBasicVMVNx-22537671-99923598 ID is 9d5ae21d-323b-4780-8c84-48d4feec419f 2025-06-04 22:15:23,794 - DEBUG - VM ctest-TestBasicVMVNx-22537671-99923598 launched on Node cn-jenkins-deploy-platform-ansible-os-3400-1. 2025-06-04 22:15:23,876 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/9d5ae21d-323b-4780-8c84-48d4feec419f 2025-06-04 22:15:24,181 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/9d5ae21d-323b-4780-8c84-48d4feec419f 2025-06-04 22:15:24,215 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/ae9cd234-6f90-4410-89e2-4c5dd89a3b57 2025-06-04 22:15:27,467 - 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 1010ms') 2025-06-04 22:15:27,467 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-22537671-99923598 failed! 2025-06-04 22:15:27,528 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-22537671:ctest-vn-33092991 is 25.181.204.65 and allocation pool is NOT set 2025-06-04 22:15:29,591 - 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=8.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.24 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 = 1.237/4.672/8.107/3.435 ms') 2025-06-04 22:15:29,591 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-22537671-99923598 passed 2025-06-04 22:15:29,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-04 22:15:29,748 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-22537671-99923598, IP 25.181.204.67, Port 22 2025-06-04 22:15:29,904 - DEBUG - VM ctest-TestBasicVMVNx-22537671-99923598 is ready for SSH connections 2025-06-04 22:15:29,904 - INFO - Waiting for VM ctest-TestBasicVMVNx-22537671-76746810 to be up.. 2025-06-04 22:15:29,997 - DEBUG - VM is in ACTIVE state now 2025-06-04 22:15:29,997 - INFO - VM name : ctest-TestBasicVMVNx-22537671-76746810 2025-06-04 22:15:30,094 - DEBUG - VM ctest-TestBasicVMVNx-22537671-76746810 ID is 81f48606-f4f6-479e-a5a5-c7eed373810b 2025-06-04 22:15:30,094 - DEBUG - VM ctest-TestBasicVMVNx-22537671-76746810 launched on Node cn-jenkins-deploy-platform-ansible-os-3400-1. 2025-06-04 22:15:30,181 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/81f48606-f4f6-479e-a5a5-c7eed373810b 2025-06-04 22:15:30,190 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/4dba8f52-8376-4a28-b393-e4e463c9b49b 2025-06-04 22:15:31,432 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.458 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.458/1.913/3.369/1.455 ms') 2025-06-04 22:15:31,432 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-22537671-76746810 passed 2025-06-04 22:15:31,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-04 22:15:31,580 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-22537671-76746810, IP 25.181.204.68, Port 22 2025-06-04 22:15:31,744 - DEBUG - VM ctest-TestBasicVMVNx-22537671-76746810 is ready for SSH connections 2025-06-04 22:15:31,744 - DEBUG - FILE SIZE = 1303B 2025-06-04 22:15:31,744 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-22537671-99923598 to ctest-TestBasicVMVNx-22537671-76746810 using scp 2025-06-04 22:15:31,745 - 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.57, gateway password: c0ntrail123 2025-06-04 22:15:31,745 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-04 22:15:33,789 - DEBUG - 1+0 records in 1+0 records out 2025-06-04 22:15:34,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-04 22:15:34,995 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-06-04 22:15:34,995 - DEBUG - ls -l testfile 2025-06-04 22:15:35,652 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 4 16:15 testfile 2025-06-04 22:15:35,652 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-22537671-76746810 2025-06-04 22:15:35,653 - INFO - Deleting VM ctest-TestBasicVMVNx-22537671-76746810 2025-06-04 22:15:35,851 - INFO - Deleting VM ctest-TestBasicVMVNx-22537671-99923598 2025-06-04 22:15:35,935 - INFO - Deleting VN ctest-vn-33092991 2025-06-04 22:15:35,982 - DEBUG - VN 0e1bd5b3-5c29-4013-b7b0-2c54200ef347 still in use: Unable to complete operation on network 0e1bd5b3-5c29-4013-b7b0-2c54200ef347. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dcefa306-3084-4b16-831d-b7ec8d07f558'] 2025-06-04 22:15:35,982 - WARNING - Deleting VN ctest-vn-33092991 failed..Will retry 2025-06-04 22:15:38,093 - DEBUG - Response for deleting network () 2025-06-04 22:15:38,351 - DEBUG - No XMPP flaps were noticed during the test 2025-06-04 22:15:38,351 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-06-04 22:15:38,351 - INFO - -------------------------------------------------------------------------------- 2025-06-04 22:15:39,072 - INFO - Deleted project: ctest-TestBasicVMVNx-22537671, ID : cc016bf6-66b3-452f-8f1b-08bd14d5e948