2025-11-10 16:16:57,526 - INFO - Domain Default found not creating 2025-11-10 16:16:57,911 - INFO - Project ctest-TestBasicVMVNx-28253406 not found, creating it 2025-11-10 16:16:58,441 - INFO - Created Project:ctest-TestBasicVMVNx-28253406, ID : 16dd3351-0a99-45b9-91c2-2f28c0c6e594 2025-11-10 16:17:00,398 - INFO - ================================================================================ 2025-11-10 16:17:00,398 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-10 16:17:00,398 - 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-11-10 16:17:00,685 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-11-10 16:17:00,686 - INFO - Initial checks done. Running the testcase now 2025-11-10 16:17:00,686 - INFO - 2025-11-10 16:17:01,361 - DEBUG - Response for create_network : {'network': {'id': '93c2a05e-d8c2-46fb-95aa-d92852356742', 'name': 'ctest-vn-33460893', 'tenant_id': '16dd33510a9945b991c22f28c0c6e594', 'project_id': '16dd33510a9945b991c22f28c0c6e594', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-28253406', 'ctest-vn-33460893'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 16:17:01,577 - DEBUG - Response for create_subnet : {'subnet': {'id': '65837422-fc0f-4e9c-ab1f-a447a0f0f9f4', 'name': '', 'tenant_id': '16dd33510a9945b991c22f28c0c6e594', 'network_id': '93c2a05e-d8c2-46fb-95aa-d92852356742', 'ip_version': 4, 'cidr': '17.84.151.64/26', 'allocation_pools': [{'start': '17.84.151.66', 'end': '17.84.151.126'}], 'gateway_ip': '17.84.151.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.84.151.66', 'tags': [], 'project_id': '16dd33510a9945b991c22f28c0c6e594'}} 2025-11-10 16:17:01,596 - INFO - Created VN ctest-vn-33460893 2025-11-10 16:17:01,650 - DEBUG - VN ctest-vn-33460893 UUID is 93c2a05e-d8c2-46fb-95aa-d92852356742 2025-11-10 16:17:01,843 - DEBUG - Services list from nova: [, , ] 2025-11-10 16:17:03,231 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4681-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4681-1) 2025-11-10 16:17:04,580 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4681-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4681-1) 2025-11-10 16:17:04,580 - INFO - Waiting for VM ctest-TestBasicVMVNx-28253406-44334444 to be up.. 2025-11-10 16:17:04,675 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 16:17:09,813 - DEBUG - VM is in ACTIVE state now 2025-11-10 16:17:09,813 - INFO - VM name : ctest-TestBasicVMVNx-28253406-44334444 2025-11-10 16:17:09,944 - DEBUG - VM ctest-TestBasicVMVNx-28253406-44334444 ID is ea638c9b-e094-49e3-865f-ef1f560e9aa2 2025-11-10 16:17:09,978 - DEBUG - VM ctest-TestBasicVMVNx-28253406-44334444 launched on Node cn-jenkins-deploy-platform-ansible-os-4681-1 2025-11-10 16:17:10,118 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/ea638c9b-e094-49e3-865f-ef1f560e9aa2 2025-11-10 16:17:10,451 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/ea638c9b-e094-49e3-865f-ef1f560e9aa2 2025-11-10 16:17:10,515 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/83513e8c-a65c-4d01-954f-54a111d94f74 2025-11-10 16:17:13,814 - 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 1006ms') 2025-11-10 16:17:13,815 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28253406-44334444 failed! 2025-11-10 16:17:13,891 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-28253406:ctest-vn-33460893 is 17.84.151.65 and allocation pool is NOT set 2025-11-10 16:17:15,971 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.578 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.578/1.904/3.231/1.326 ms') 2025-11-10 16:17:15,971 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28253406-44334444 passed 2025-11-10 16:17:16,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 16:17:16,135 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28253406-44334444, IP 17.84.151.67, Port 22 2025-11-10 16:17:16,313 - DEBUG - VM ctest-TestBasicVMVNx-28253406-44334444 is ready for SSH connections 2025-11-10 16:17:16,313 - INFO - Waiting for VM ctest-TestBasicVMVNx-28253406-00971876 to be up.. 2025-11-10 16:17:16,434 - DEBUG - VM is in ACTIVE state now 2025-11-10 16:17:16,434 - INFO - VM name : ctest-TestBasicVMVNx-28253406-00971876 2025-11-10 16:17:16,528 - DEBUG - VM ctest-TestBasicVMVNx-28253406-00971876 ID is d728f118-dad3-4cc8-b1e6-80a3f64d2481 2025-11-10 16:17:16,528 - DEBUG - VM ctest-TestBasicVMVNx-28253406-00971876 launched on Node cn-jenkins-deploy-platform-ansible-os-4681-1 2025-11-10 16:17:16,620 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d728f118-dad3-4cc8-b1e6-80a3f64d2481 2025-11-10 16:17:16,633 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/6b3fbd07-e89c-4fa4-b763-0f8ce5965309 2025-11-10 16:17:17,908 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.31 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 = 3.306/4.479/5.652/1.173 ms') 2025-11-10 16:17:17,908 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-28253406-00971876 passed 2025-11-10 16:17:18,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 16:17:18,095 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28253406-00971876, IP 17.84.151.68, Port 22 2025-11-10 16:17:18,285 - DEBUG - VM ctest-TestBasicVMVNx-28253406-00971876 is ready for SSH connections 2025-11-10 16:17:18,285 - DEBUG - FILE SIZE = 1303B 2025-11-10 16:17:18,285 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-28253406-44334444 to ctest-TestBasicVMVNx-28253406-00971876 using scp 2025-11-10 16:17:18,287 - 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.27, gateway password: c0ntrail123 2025-11-10 16:17:18,288 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-10 16:17:20,324 - DEBUG - 1+0 records in 1+0 records out 2025-11-10 16:17:21,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 16:17:21,572 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-10 16:17:21,573 - DEBUG - ls -l testfile 2025-11-10 16:17:23,585 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 10 09:17 testfile 2025-11-10 16:17:23,586 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-28253406-00971876 2025-11-10 16:17:23,586 - INFO - Deleting VM ctest-TestBasicVMVNx-28253406-00971876 2025-11-10 16:17:23,744 - INFO - Deleting VM ctest-TestBasicVMVNx-28253406-44334444 2025-11-10 16:17:23,876 - INFO - Deleting VN ctest-vn-33460893 2025-11-10 16:17:23,948 - DEBUG - VN 93c2a05e-d8c2-46fb-95aa-d92852356742 still in use: Unable to complete operation on network 93c2a05e-d8c2-46fb-95aa-d92852356742. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bb4fd5ac-0042-48d8-bfd2-f2e31c4571ff'] 2025-11-10 16:17:23,948 - WARNING - Deleting VN ctest-vn-33460893 failed..Will retry 2025-11-10 16:17:26,180 - DEBUG - Response for deleting network () 2025-11-10 16:17:26,507 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 16:17:26,507 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:26]
2025-11-10 16:17:26,507 - INFO - -------------------------------------------------------------------------------- 2025-11-10 16:17:27,460 - INFO - Deleted project: ctest-TestBasicVMVNx-28253406, ID : 16dd3351-0a99-45b9-91c2-2f28c0c6e594