2025-11-05 16:30:09,850 - INFO - Domain Default found not creating 2025-11-05 16:30:09,978 - INFO - Project ctest-TestBasicVMVNx-68458534 not found, creating it 2025-11-05 16:30:10,402 - INFO - Created Project:ctest-TestBasicVMVNx-68458534, ID : 21ce8b6c-0ce1-4187-b4c7-df7efbd5defc 2025-11-05 16:30:11,854 - INFO - ================================================================================ 2025-11-05 16:30:11,855 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-05 16:30:11,855 - 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-05 16:30:12,106 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.241': '0'}} with 2025-11-05 16:30:12,106 - INFO - Initial checks done. Running the testcase now 2025-11-05 16:30:12,106 - INFO - 2025-11-05 16:30:12,613 - DEBUG - Response for create_network : {'network': {'id': '0dd77527-dcec-4c53-ab7d-544f27cf8c86', 'name': 'ctest-vn-18806282', 'tenant_id': '21ce8b6c0ce14187b4c7df7efbd5defc', 'project_id': '21ce8b6c0ce14187b4c7df7efbd5defc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-68458534', 'ctest-vn-18806282'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:30:12,795 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d2f0126-f563-4abb-a06c-7b3d94e50352', 'name': '', 'tenant_id': '21ce8b6c0ce14187b4c7df7efbd5defc', 'network_id': '0dd77527-dcec-4c53-ab7d-544f27cf8c86', 'ip_version': 4, 'cidr': '170.95.24.128/26', 'allocation_pools': [{'start': '170.95.24.130', 'end': '170.95.24.190'}], 'gateway_ip': '170.95.24.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.95.24.130', 'tags': [], 'project_id': '21ce8b6c0ce14187b4c7df7efbd5defc'}} 2025-11-05 16:30:12,815 - INFO - Created VN ctest-vn-18806282 2025-11-05 16:30:12,866 - DEBUG - VN ctest-vn-18806282 UUID is 0dd77527-dcec-4c53-ab7d-544f27cf8c86 2025-11-05 16:30:13,059 - DEBUG - Services list from nova: [, , ] 2025-11-05 16:30:14,054 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4650-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4650-1) 2025-11-05 16:30:15,128 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4650-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4650-1) 2025-11-05 16:30:15,128 - INFO - Waiting for VM ctest-TestBasicVMVNx-68458534-80314758 to be up.. 2025-11-05 16:30:15,200 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 16:30:20,267 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:30:20,267 - INFO - VM name : ctest-TestBasicVMVNx-68458534-80314758 2025-11-05 16:30:20,334 - DEBUG - VM ctest-TestBasicVMVNx-68458534-80314758 ID is 1f903fc1-5fc9-4ffa-bc02-f15bfadbc411 2025-11-05 16:30:20,351 - DEBUG - VM ctest-TestBasicVMVNx-68458534-80314758 launched on Node cn-jenkins-deploy-platform-ansible-os-4650-1 2025-11-05 16:30:20,416 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/1f903fc1-5fc9-4ffa-bc02-f15bfadbc411 2025-11-05 16:30:20,706 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/1f903fc1-5fc9-4ffa-bc02-f15bfadbc411 2025-11-05 16:30:20,735 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/5d71b128-70a2-4c31-9a05-f90272931efe 2025-11-05 16:30:24,004 - 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-11-05 16:30:24,004 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-68458534-80314758 failed! 2025-11-05 16:30:24,058 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-68458534:ctest-vn-18806282 is 170.95.24.129 and allocation pool is NOT set 2025-11-05 16:30:26,112 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.397 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.397/1.601/2.806/1.204 ms') 2025-11-05 16:30:26,112 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-68458534-80314758 passed 2025-11-05 16:30:26,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:30:26,262 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-68458534-80314758, IP 170.95.24.131, Port 22 2025-11-05 16:30:26,418 - DEBUG - VM ctest-TestBasicVMVNx-68458534-80314758 is ready for SSH connections 2025-11-05 16:30:26,418 - INFO - Waiting for VM ctest-TestBasicVMVNx-68458534-66791457 to be up.. 2025-11-05 16:30:26,484 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:30:26,484 - INFO - VM name : ctest-TestBasicVMVNx-68458534-66791457 2025-11-05 16:30:26,559 - DEBUG - VM ctest-TestBasicVMVNx-68458534-66791457 ID is c3addedd-1eac-4aa5-bdba-e5d9b80a7660 2025-11-05 16:30:26,559 - DEBUG - VM ctest-TestBasicVMVNx-68458534-66791457 launched on Node cn-jenkins-deploy-platform-ansible-os-4650-1 2025-11-05 16:30:26,622 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c3addedd-1eac-4aa5-bdba-e5d9b80a7660 2025-11-05 16:30:26,628 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/7d25cca2-9fd2-473b-a550-24cc67b39725 2025-11-05 16:30:27,859 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.358 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.358/1.483/2.609/1.125 ms') 2025-11-05 16:30:27,859 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-68458534-66791457 passed 2025-11-05 16:30:28,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:30:28,006 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-68458534-66791457, IP 170.95.24.132, Port 22 2025-11-05 16:30:28,158 - DEBUG - VM ctest-TestBasicVMVNx-68458534-66791457 is ready for SSH connections 2025-11-05 16:30:28,158 - DEBUG - FILE SIZE = 1303B 2025-11-05 16:30:28,158 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-68458534-80314758 to ctest-TestBasicVMVNx-68458534-66791457 using scp 2025-11-05 16:30:28,160 - 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.242, gateway password: c0ntrail123 2025-11-05 16:30:28,160 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-05 16:30:30,034 - DEBUG - 1+0 records in 1+0 records out 2025-11-05 16:30:30,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:30:31,008 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-05 16:30:31,008 - DEBUG - ls -l testfile 2025-11-05 16:30:32,621 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 5 09:30 testfile 2025-11-05 16:30:32,621 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-68458534-66791457 2025-11-05 16:30:32,622 - INFO - Deleting VM ctest-TestBasicVMVNx-68458534-66791457 2025-11-05 16:30:32,687 - INFO - Deleting VM ctest-TestBasicVMVNx-68458534-80314758 2025-11-05 16:30:32,767 - INFO - Deleting VN ctest-vn-18806282 2025-11-05 16:30:32,797 - DEBUG - VN 0dd77527-dcec-4c53-ab7d-544f27cf8c86 still in use: Unable to complete operation on network 0dd77527-dcec-4c53-ab7d-544f27cf8c86. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5622deab-0e9e-4ef6-9423-27c6f81c2b45'] 2025-11-05 16:30:32,797 - WARNING - Deleting VN ctest-vn-18806282 failed..Will retry 2025-11-05 16:30:34,893 - DEBUG - Response for deleting network () 2025-11-05 16:30:35,151 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 16:30:35,151 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-11-05 16:30:35,151 - INFO - -------------------------------------------------------------------------------- 2025-11-05 16:30:35,805 - INFO - Deleted project: ctest-TestBasicVMVNx-68458534, ID : 21ce8b6c-0ce1-4187-b4c7-df7efbd5defc