2025-05-21 13:54:20,627 - INFO - Domain Default found not creating 2025-05-21 13:54:20,839 - INFO - Project ctest-TestBasicVMVNx-67845128 not found, creating it 2025-05-21 13:54:21,443 - INFO - Created Project:ctest-TestBasicVMVNx-67845128, ID : 0ffe0403-9da0-40ba-bbfc-216e6871beba 2025-05-21 13:54:23,019 - INFO - ================================================================================ 2025-05-21 13:54:23,019 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-21 13:54:23,020 - 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-05-21 13:54:23,280 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-05-21 13:54:23,280 - INFO - Initial checks done. Running the testcase now 2025-05-21 13:54:23,280 - INFO - 2025-05-21 13:54:23,872 - DEBUG - Response for create_network : {'network': {'id': 'ddb93b25-4ffa-4b53-9e48-f5e420b98437', 'name': 'ctest-vn-95019917', 'tenant_id': '0ffe04039da040babbfc216e6871beba', 'project_id': '0ffe04039da040babbfc216e6871beba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-67845128', 'ctest-vn-95019917'], 'port_security_enabled': True, 'description': ''}} 2025-05-21 13:54:24,036 - DEBUG - Response for create_subnet : {'subnet': {'id': '33cd8764-d733-4923-b771-c545acd77ccd', 'name': '', 'tenant_id': '0ffe04039da040babbfc216e6871beba', 'network_id': 'ddb93b25-4ffa-4b53-9e48-f5e420b98437', 'ip_version': 4, 'cidr': '35.218.60.128/26', 'allocation_pools': [{'start': '35.218.60.130', 'end': '35.218.60.190'}], 'gateway_ip': '35.218.60.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.218.60.130', 'tags': [], 'project_id': '0ffe04039da040babbfc216e6871beba'}} 2025-05-21 13:54:24,058 - INFO - Created VN ctest-vn-95019917 2025-05-21 13:54:24,116 - DEBUG - VN ctest-vn-95019917 UUID is ddb93b25-4ffa-4b53-9e48-f5e420b98437 2025-05-21 13:54:24,328 - DEBUG - Services list from nova: [, , ] 2025-05-21 13:54:25,498 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3327-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3327-1) 2025-05-21 13:54:26,716 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3327-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3327-1) 2025-05-21 13:54:26,716 - INFO - Waiting for VM ctest-TestBasicVMVNx-67845128-47769753 to be up.. 2025-05-21 13:54:26,813 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-21 13:54:31,923 - DEBUG - VM is in ACTIVE state now 2025-05-21 13:54:31,923 - INFO - VM name : ctest-TestBasicVMVNx-67845128-47769753 2025-05-21 13:54:32,008 - DEBUG - VM ctest-TestBasicVMVNx-67845128-47769753 ID is 9fd4aa15-0834-467f-b568-13c6a5757d92 2025-05-21 13:54:32,031 - DEBUG - VM ctest-TestBasicVMVNx-67845128-47769753 launched on Node cn-jenkins-deploy-platform-ansible-os-3327-1 2025-05-21 13:54:32,116 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9fd4aa15-0834-467f-b568-13c6a5757d92 2025-05-21 13:54:32,424 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9fd4aa15-0834-467f-b568-13c6a5757d92 2025-05-21 13:54:32,462 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/60c46ba8-8ee9-47e1-8b77-8389857847ed 2025-05-21 13:54:35,742 - 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 1022ms') 2025-05-21 13:54:35,742 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67845128-47769753 failed! 2025-05-21 13:54:35,804 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-67845128:ctest-vn-95019917 is 35.218.60.129 and allocation pool is NOT set 2025-05-21 13:54:37,867 - 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.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.30 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 = 2.301/2.869/3.437/0.568 ms') 2025-05-21 13:54:37,867 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67845128-47769753 passed 2025-05-21 13:54:38,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-21 13:54:38,023 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67845128-47769753, IP 35.218.60.131, Port 22 2025-05-21 13:54:38,083 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-05-21 13:54:38,194 - DEBUG - VM ctest-TestBasicVMVNx-67845128-47769753 is NOT ready for SSH connections, VM status: ACTIVE 2025-05-21 13:54:43,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-21 13:54:43,195 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67845128-47769753, IP 35.218.60.131, Port 22 2025-05-21 13:54:43,366 - DEBUG - VM ctest-TestBasicVMVNx-67845128-47769753 is ready for SSH connections 2025-05-21 13:54:43,366 - INFO - Waiting for VM ctest-TestBasicVMVNx-67845128-07926548 to be up.. 2025-05-21 13:54:43,491 - DEBUG - VM is in ACTIVE state now 2025-05-21 13:54:43,491 - INFO - VM name : ctest-TestBasicVMVNx-67845128-07926548 2025-05-21 13:54:43,605 - DEBUG - VM ctest-TestBasicVMVNx-67845128-07926548 ID is 634d46d5-efcf-40d0-b02f-e83a48d32b5f 2025-05-21 13:54:43,605 - DEBUG - VM ctest-TestBasicVMVNx-67845128-07926548 launched on Node cn-jenkins-deploy-platform-ansible-os-3327-1 2025-05-21 13:54:43,690 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/634d46d5-efcf-40d0-b02f-e83a48d32b5f 2025-05-21 13:54:43,700 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7f206907-4867-483c-924d-2e9f02ead76b 2025-05-21 13:54:44,954 - 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.67 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/2.065/3.673/1.608 ms') 2025-05-21 13:54:44,954 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-67845128-07926548 passed 2025-05-21 13:54:45,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-21 13:54:45,108 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67845128-07926548, IP 35.218.60.132, Port 22 2025-05-21 13:54:45,273 - DEBUG - VM ctest-TestBasicVMVNx-67845128-07926548 is ready for SSH connections 2025-05-21 13:54:45,273 - DEBUG - FILE SIZE = 1303B 2025-05-21 13:54:45,273 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-67845128-47769753 to ctest-TestBasicVMVNx-67845128-07926548 using scp 2025-05-21 13:54:45,274 - 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.254, gateway password: c0ntrail123 2025-05-21 13:54:45,274 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-21 13:54:47,255 - DEBUG - 1+0 records in 1+0 records out 2025-05-21 13:54:47,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-21 13:54:48,218 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-21 13:54:48,218 - DEBUG - ls -l testfile 2025-05-21 13:54:49,866 - DEBUG - -rw------- 1 cirros cirros 1303 May 21 07:54 testfile 2025-05-21 13:54:49,866 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-67845128-07926548 2025-05-21 13:54:49,866 - INFO - Deleting VM ctest-TestBasicVMVNx-67845128-07926548 2025-05-21 13:54:50,088 - INFO - Deleting VM ctest-TestBasicVMVNx-67845128-47769753 2025-05-21 13:54:50,173 - INFO - Deleting VN ctest-vn-95019917 2025-05-21 13:54:50,218 - DEBUG - VN ddb93b25-4ffa-4b53-9e48-f5e420b98437 still in use: Unable to complete operation on network ddb93b25-4ffa-4b53-9e48-f5e420b98437. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-56cc8ea7-62cf-4377-b44e-b1af7a48b10f'] 2025-05-21 13:54:50,218 - WARNING - Deleting VN ctest-vn-95019917 failed..Will retry 2025-05-21 13:54:52,382 - DEBUG - Response for deleting network () 2025-05-21 13:54:52,652 - DEBUG - No XMPP flaps were noticed during the test 2025-05-21 13:54:52,652 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2025-05-21 13:54:52,653 - INFO - -------------------------------------------------------------------------------- 2025-05-21 13:54:53,398 - INFO - Deleted project: ctest-TestBasicVMVNx-67845128, ID : 0ffe0403-9da0-40ba-bbfc-216e6871beba