2025-11-24 17:33:09,891 - INFO - Domain Default found not creating 2025-11-24 17:33:10,242 - INFO - Project ctest-TestBasicVMVNx-45275088 not found, creating it 2025-11-24 17:33:10,890 - INFO - Created Project:ctest-TestBasicVMVNx-45275088, ID : 8af6707f-70d7-4d5a-bb49-621a1f82e35e 2025-11-24 17:33:13,304 - INFO - ================================================================================ 2025-11-24 17:33:13,304 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-24 17:33:13,305 - 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-24 17:33:13,631 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.252': '0'}} with 2025-11-24 17:33:13,631 - INFO - Initial checks done. Running the testcase now 2025-11-24 17:33:13,631 - INFO - 2025-11-24 17:33:14,382 - DEBUG - Response for create_network : {'network': {'id': '3ace5b35-7f4e-4438-9929-44ba992e0f8f', 'name': 'ctest-vn-77277655', 'tenant_id': '8af6707f70d74d5abb49621a1f82e35e', 'project_id': '8af6707f70d74d5abb49621a1f82e35e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-45275088', 'ctest-vn-77277655'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 17:33:14,604 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dcd9724d-4588-46dc-84d6-0c05697ae3ee', 'name': '', 'tenant_id': '8af6707f70d74d5abb49621a1f82e35e', 'network_id': '3ace5b35-7f4e-4438-9929-44ba992e0f8f', 'ip_version': 4, 'cidr': '207.215.172.0/26', 'allocation_pools': [{'start': '207.215.172.2', 'end': '207.215.172.62'}], 'gateway_ip': '207.215.172.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.215.172.2', 'tags': [], 'project_id': '8af6707f70d74d5abb49621a1f82e35e'}} 2025-11-24 17:33:14,629 - INFO - Created VN ctest-vn-77277655 2025-11-24 17:33:14,684 - DEBUG - VN ctest-vn-77277655 UUID is 3ace5b35-7f4e-4438-9929-44ba992e0f8f 2025-11-24 17:33:14,923 - DEBUG - Services list from nova: [, , ] 2025-11-24 17:33:16,267 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4810-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4810-1) 2025-11-24 17:33:17,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4810-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4810-1) 2025-11-24 17:33:17,696 - INFO - Waiting for VM ctest-TestBasicVMVNx-45275088-71459895 to be up.. 2025-11-24 17:33:17,806 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 17:33:22,915 - DEBUG - VM is in ACTIVE state now 2025-11-24 17:33:22,915 - INFO - VM name : ctest-TestBasicVMVNx-45275088-71459895 2025-11-24 17:33:23,018 - DEBUG - VM ctest-TestBasicVMVNx-45275088-71459895 ID is 66a007dc-00d0-4302-8826-156e79098aeb 2025-11-24 17:33:23,045 - DEBUG - VM ctest-TestBasicVMVNx-45275088-71459895 launched on Node cn-jenkins-deploy-platform-ansible-os-4810-1 2025-11-24 17:33:23,133 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/66a007dc-00d0-4302-8826-156e79098aeb 2025-11-24 17:33:23,433 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/66a007dc-00d0-4302-8826-156e79098aeb 2025-11-24 17:33:23,495 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1bae3cf5-12ad-43bc-b59c-0517ada6b8a8 2025-11-24 17:33:26,773 - 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 1016ms') 2025-11-24 17:33:26,773 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-45275088-71459895 failed! 2025-11-24 17:33:26,836 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-45275088:ctest-vn-77277655 is 207.215.172.1 and allocation pool is NOT set 2025-11-24 17:33:28,907 - 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=5.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.641 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.641/2.863/5.086/2.222 ms') 2025-11-24 17:33:28,907 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-45275088-71459895 passed 2025-11-24 17:33:29,079 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:33:29,080 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-45275088-71459895, IP 207.215.172.3, Port 22 2025-11-24 17:33:29,149 - 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-24 17:33:29,301 - DEBUG - VM ctest-TestBasicVMVNx-45275088-71459895 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 17:33:34,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:33:34,302 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-45275088-71459895, IP 207.215.172.3, Port 22 2025-11-24 17:33:34,490 - DEBUG - VM ctest-TestBasicVMVNx-45275088-71459895 is ready for SSH connections 2025-11-24 17:33:34,490 - INFO - Waiting for VM ctest-TestBasicVMVNx-45275088-99348927 to be up.. 2025-11-24 17:33:34,676 - DEBUG - VM is in ACTIVE state now 2025-11-24 17:33:34,676 - INFO - VM name : ctest-TestBasicVMVNx-45275088-99348927 2025-11-24 17:33:34,824 - DEBUG - VM ctest-TestBasicVMVNx-45275088-99348927 ID is 19a794f8-6499-458a-8830-0edce2890bcc 2025-11-24 17:33:34,824 - DEBUG - VM ctest-TestBasicVMVNx-45275088-99348927 launched on Node cn-jenkins-deploy-platform-ansible-os-4810-1 2025-11-24 17:33:34,954 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/19a794f8-6499-458a-8830-0edce2890bcc 2025-11-24 17:33:34,969 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8c23cbf8-c9c3-427c-a3ab-b9d7c5b8eabf 2025-11-24 17:33:36,246 - 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=4.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.659 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.659/2.485/4.311/1.826 ms') 2025-11-24 17:33:36,247 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-45275088-99348927 passed 2025-11-24 17:33:36,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:33:36,428 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-45275088-99348927, IP 207.215.172.4, Port 22 2025-11-24 17:33:36,624 - DEBUG - VM ctest-TestBasicVMVNx-45275088-99348927 is ready for SSH connections 2025-11-24 17:33:36,624 - DEBUG - FILE SIZE = 1303B 2025-11-24 17:33:36,625 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-45275088-71459895 to ctest-TestBasicVMVNx-45275088-99348927 using scp 2025-11-24 17:33:36,629 - 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-24 17:33:36,630 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-24 17:33:38,869 - DEBUG - 1+0 records in 1+0 records out 2025-11-24 17:33:39,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:33:39,734 - 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-24 17:33:39,735 - DEBUG - ls -l testfile 2025-11-24 17:33:41,810 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 24 10:33 testfile 2025-11-24 17:33:41,811 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-45275088-99348927 2025-11-24 17:33:41,811 - INFO - Deleting VM ctest-TestBasicVMVNx-45275088-99348927 2025-11-24 17:33:42,017 - INFO - Deleting VM ctest-TestBasicVMVNx-45275088-71459895 2025-11-24 17:33:42,139 - INFO - Deleting VN ctest-vn-77277655 2025-11-24 17:33:42,213 - DEBUG - VN 3ace5b35-7f4e-4438-9929-44ba992e0f8f still in use: Unable to complete operation on network 3ace5b35-7f4e-4438-9929-44ba992e0f8f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-114a28ab-f693-4925-bfff-8d0b3018dcb8'] 2025-11-24 17:33:42,213 - WARNING - Deleting VN ctest-vn-77277655 failed..Will retry 2025-11-24 17:33:44,388 - DEBUG - Response for deleting network () 2025-11-24 17:33:44,678 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 17:33:44,678 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31]
2025-11-24 17:33:44,678 - INFO - -------------------------------------------------------------------------------- 2025-11-24 17:33:45,469 - INFO - Deleted project: ctest-TestBasicVMVNx-45275088, ID : 8af6707f-70d7-4d5a-bb49-621a1f82e35e