2025-11-10 20:26:18,648 - INFO - Domain Default found not creating 2025-11-10 20:26:18,908 - INFO - Project ctest-TestBasicVMVNx-57717151 not found, creating it 2025-11-10 20:26:19,667 - INFO - Created Project:ctest-TestBasicVMVNx-57717151, ID : b846f5f9-b9be-4a4d-aa40-1b9b27f7dd37 2025-11-10 20:26:21,931 - INFO - ================================================================================ 2025-11-10 20:26:21,931 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-10 20:26:21,932 - 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 20:26:22,231 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with 2025-11-10 20:26:22,232 - INFO - Initial checks done. Running the testcase now 2025-11-10 20:26:22,232 - INFO - 2025-11-10 20:26:22,971 - DEBUG - Response for create_network : {'network': {'id': '7b15cd8a-5aad-49a1-8d96-f587a85de9ff', 'name': 'ctest-vn-32176572', 'tenant_id': 'b846f5f9b9be4a4daa401b9b27f7dd37', 'project_id': 'b846f5f9b9be4a4daa401b9b27f7dd37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-57717151', 'ctest-vn-32176572'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 20:26:23,165 - DEBUG - Response for create_subnet : {'subnet': {'id': '0944d84a-e79c-4aec-8cd9-3a5d4bb70476', 'name': '', 'tenant_id': 'b846f5f9b9be4a4daa401b9b27f7dd37', 'network_id': '7b15cd8a-5aad-49a1-8d96-f587a85de9ff', 'ip_version': 4, 'cidr': '52.7.78.128/26', 'allocation_pools': [{'start': '52.7.78.130', 'end': '52.7.78.190'}], 'gateway_ip': '52.7.78.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.7.78.130', 'tags': [], 'project_id': 'b846f5f9b9be4a4daa401b9b27f7dd37'}} 2025-11-10 20:26:23,191 - INFO - Created VN ctest-vn-32176572 2025-11-10 20:26:23,248 - DEBUG - VN ctest-vn-32176572 UUID is 7b15cd8a-5aad-49a1-8d96-f587a85de9ff 2025-11-10 20:26:23,551 - DEBUG - Services list from nova: [, , ] 2025-11-10 20:26:24,978 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4688-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4688-1) 2025-11-10 20:26:26,401 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4688-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4688-1) 2025-11-10 20:26:26,401 - INFO - Waiting for VM ctest-TestBasicVMVNx-57717151-39882572 to be up.. 2025-11-10 20:26:26,507 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 20:26:31,687 - DEBUG - VM is in ACTIVE state now 2025-11-10 20:26:31,687 - INFO - VM name : ctest-TestBasicVMVNx-57717151-39882572 2025-11-10 20:26:31,827 - DEBUG - VM ctest-TestBasicVMVNx-57717151-39882572 ID is f2c06c52-fdcb-4e8f-b97d-4251c16cb5b6 2025-11-10 20:26:31,875 - DEBUG - VM ctest-TestBasicVMVNx-57717151-39882572 launched on Node cn-jenkins-deploy-platform-ansible-os-4688-1 2025-11-10 20:26:32,019 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f2c06c52-fdcb-4e8f-b97d-4251c16cb5b6 2025-11-10 20:26:32,356 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f2c06c52-fdcb-4e8f-b97d-4251c16cb5b6 2025-11-10 20:26:32,423 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/522fdf62-7a4a-462d-9bb2-97c645dcf0d5 2025-11-10 20:26:35,731 - 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 1012ms') 2025-11-10 20:26:35,731 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-57717151-39882572 failed! 2025-11-10 20:26:35,788 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-57717151:ctest-vn-32176572 is 52.7.78.129 and allocation pool is NOT set 2025-11-10 20:26:37,863 - 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=9.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.99 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.987/5.608/9.230/3.621 ms') 2025-11-10 20:26:37,863 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-57717151-39882572 passed 2025-11-10 20:26:38,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:26:38,028 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-57717151-39882572, IP 52.7.78.131, Port 22 2025-11-10 20:26:38,094 - 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-11-10 20:26:38,206 - DEBUG - VM ctest-TestBasicVMVNx-57717151-39882572 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-10 20:26:43,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:26:43,207 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-57717151-39882572, IP 52.7.78.131, Port 22 2025-11-10 20:26:43,406 - DEBUG - VM ctest-TestBasicVMVNx-57717151-39882572 is ready for SSH connections 2025-11-10 20:26:43,406 - INFO - Waiting for VM ctest-TestBasicVMVNx-57717151-59501984 to be up.. 2025-11-10 20:26:43,606 - DEBUG - VM is in ACTIVE state now 2025-11-10 20:26:43,606 - INFO - VM name : ctest-TestBasicVMVNx-57717151-59501984 2025-11-10 20:26:43,798 - DEBUG - VM ctest-TestBasicVMVNx-57717151-59501984 ID is 81add2a8-1c96-47d6-b426-9cddaca16d38 2025-11-10 20:26:43,799 - DEBUG - VM ctest-TestBasicVMVNx-57717151-59501984 launched on Node cn-jenkins-deploy-platform-ansible-os-4688-1 2025-11-10 20:26:43,902 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/81add2a8-1c96-47d6-b426-9cddaca16d38 2025-11-10 20:26:43,911 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/801a5426-c7c3-455e-a4f6-66fcedce0518 2025-11-10 20:26:45,161 - 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=9.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 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.392/4.824/9.257/4.432 ms') 2025-11-10 20:26:45,161 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-57717151-59501984 passed 2025-11-10 20:26:45,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:26:45,329 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-57717151-59501984, IP 52.7.78.132, Port 22 2025-11-10 20:26:45,520 - DEBUG - VM ctest-TestBasicVMVNx-57717151-59501984 is ready for SSH connections 2025-11-10 20:26:45,520 - DEBUG - FILE SIZE = 1303B 2025-11-10 20:26:45,521 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-57717151-39882572 to ctest-TestBasicVMVNx-57717151-59501984 using scp 2025-11-10 20:26:45,523 - 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.33, gateway password: c0ntrail123 2025-11-10 20:26:45,523 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-10 20:26:47,937 - DEBUG - 1+0 records in 1+0 records out 2025-11-10 20:26:48,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:26:49,295 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-10 20:26:49,296 - DEBUG - ls -l testfile 2025-11-10 20:26:51,334 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 10 13:26 testfile 2025-11-10 20:26:51,334 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-57717151-59501984 2025-11-10 20:26:51,335 - INFO - Deleting VM ctest-TestBasicVMVNx-57717151-59501984 2025-11-10 20:26:51,520 - INFO - Deleting VM ctest-TestBasicVMVNx-57717151-39882572 2025-11-10 20:26:51,685 - INFO - Deleting VN ctest-vn-32176572 2025-11-10 20:26:51,784 - DEBUG - VN 7b15cd8a-5aad-49a1-8d96-f587a85de9ff still in use: Unable to complete operation on network 7b15cd8a-5aad-49a1-8d96-f587a85de9ff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-959c5b40-ad3f-4039-9afa-49b48bc1e12c'] 2025-11-10 20:26:51,784 - WARNING - Deleting VN ctest-vn-32176572 failed..Will retry 2025-11-10 20:26:53,995 - DEBUG - Response for deleting network () 2025-11-10 20:26:54,297 - DEBUG - No XMPP flaps were noticed during the test 2025-11-10 20:26:54,298 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:33] 2025-11-10 20:26:54,298 - INFO - -------------------------------------------------------------------------------- 2025-11-10 20:26:55,519 - INFO - Deleted project: ctest-TestBasicVMVNx-57717151, ID : b846f5f9-b9be-4a4d-aa40-1b9b27f7dd37