2025-10-13 12:55:25,811 - INFO - Domain Default found not creating 2025-10-13 12:55:25,955 - INFO - Project ctest-TestBasicVMVNx-19709798 not found, creating it 2025-10-13 12:55:26,373 - INFO - Created Project:ctest-TestBasicVMVNx-19709798, ID : d155288b-6b36-4667-a7c0-b4a6523705b9 2025-10-13 12:55:27,837 - INFO - ================================================================================ 2025-10-13 12:55:27,838 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-13 12:55:27,838 - 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-10-13 12:55:28,089 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.193': '0'}} with 2025-10-13 12:55:28,089 - INFO - Initial checks done. Running the testcase now 2025-10-13 12:55:28,089 - INFO - 2025-10-13 12:55:28,609 - DEBUG - Response for create_network : {'network': {'id': '1eb2ffd0-1b2c-467e-96eb-bae8c877f463', 'name': 'ctest-vn-15413198', 'tenant_id': 'd155288b6b364667a7c0b4a6523705b9', 'project_id': 'd155288b6b364667a7c0b4a6523705b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-19709798', 'ctest-vn-15413198'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 12:55:28,782 - DEBUG - Response for create_subnet : {'subnet': {'id': 'edbd25ed-d123-4dbb-89be-4353ed87301b', 'name': '', 'tenant_id': 'd155288b6b364667a7c0b4a6523705b9', 'network_id': '1eb2ffd0-1b2c-467e-96eb-bae8c877f463', 'ip_version': 4, 'cidr': '71.50.13.128/26', 'allocation_pools': [{'start': '71.50.13.130', 'end': '71.50.13.190'}], 'gateway_ip': '71.50.13.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.50.13.130', 'tags': [], 'project_id': 'd155288b6b364667a7c0b4a6523705b9'}} 2025-10-13 12:55:28,798 - INFO - Created VN ctest-vn-15413198 2025-10-13 12:55:28,849 - DEBUG - VN ctest-vn-15413198 UUID is 1eb2ffd0-1b2c-467e-96eb-bae8c877f463 2025-10-13 12:55:29,043 - DEBUG - Services list from nova: [, , ] 2025-10-13 12:55:30,033 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4305-1) 2025-10-13 12:55:31,093 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4305-1) 2025-10-13 12:55:31,094 - INFO - Waiting for VM ctest-TestBasicVMVNx-19709798-12392757 to be up.. 2025-10-13 12:55:31,159 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 12:55:36,231 - DEBUG - VM is in ACTIVE state now 2025-10-13 12:55:36,231 - INFO - VM name : ctest-TestBasicVMVNx-19709798-12392757 2025-10-13 12:55:36,304 - DEBUG - VM ctest-TestBasicVMVNx-19709798-12392757 ID is ad8fd4bc-fbae-4e5d-a228-9c9a5d54e41f 2025-10-13 12:55:36,328 - DEBUG - VM ctest-TestBasicVMVNx-19709798-12392757 launched on Node cn-jenkins-deploy-platform-ansible-os-4305-1 2025-10-13 12:55:36,398 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/ad8fd4bc-fbae-4e5d-a228-9c9a5d54e41f 2025-10-13 12:55:36,690 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/ad8fd4bc-fbae-4e5d-a228-9c9a5d54e41f 2025-10-13 12:55:36,720 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/1957e25b-d05b-4ff4-a02a-390899d19508 2025-10-13 12:55:39,950 - 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 1003ms') 2025-10-13 12:55:39,950 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-19709798-12392757 failed! 2025-10-13 12:55:40,005 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-19709798:ctest-vn-15413198 is 71.50.13.129 and allocation pool is NOT set 2025-10-13 12:55:42,064 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.522 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 = 0.522/1.625/2.729/1.103 ms') 2025-10-13 12:55:42,064 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-19709798-12392757 passed 2025-10-13 12:55:42,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:55:42,217 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19709798-12392757, IP 71.50.13.131, Port 22 2025-10-13 12:55:42,372 - DEBUG - VM ctest-TestBasicVMVNx-19709798-12392757 is ready for SSH connections 2025-10-13 12:55:42,372 - INFO - Waiting for VM ctest-TestBasicVMVNx-19709798-40082590 to be up.. 2025-10-13 12:55:42,443 - DEBUG - VM is in ACTIVE state now 2025-10-13 12:55:42,443 - INFO - VM name : ctest-TestBasicVMVNx-19709798-40082590 2025-10-13 12:55:42,510 - DEBUG - VM ctest-TestBasicVMVNx-19709798-40082590 ID is e49c16c1-3ca0-46ed-ad5c-4db28638b77e 2025-10-13 12:55:42,510 - DEBUG - VM ctest-TestBasicVMVNx-19709798-40082590 launched on Node cn-jenkins-deploy-platform-ansible-os-4305-1 2025-10-13 12:55:42,585 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/e49c16c1-3ca0-46ed-ad5c-4db28638b77e 2025-10-13 12:55:42,592 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/5a5fbb4f-989d-4d56-9790-179fdb0efbd3 2025-10-13 12:55:43,834 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.678 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.678/2.363/4.048/1.685 ms') 2025-10-13 12:55:43,834 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-19709798-40082590 passed 2025-10-13 12:55:43,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:55:43,989 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19709798-40082590, IP 71.50.13.132, Port 22 2025-10-13 12:55:44,045 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-13 12:55:44,114 - DEBUG - VM ctest-TestBasicVMVNx-19709798-40082590 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-13 12:55:49,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:55:49,115 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-19709798-40082590, IP 71.50.13.132, Port 22 2025-10-13 12:55:49,273 - DEBUG - VM ctest-TestBasicVMVNx-19709798-40082590 is ready for SSH connections 2025-10-13 12:55:49,273 - DEBUG - FILE SIZE = 1303B 2025-10-13 12:55:49,273 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-19709798-12392757 to ctest-TestBasicVMVNx-19709798-40082590 using scp 2025-10-13 12:55:49,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.137, gateway password: c0ntrail123 2025-10-13 12:55:49,274 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-13 12:55:51,168 - DEBUG - 1+0 records in 1+0 records out 2025-10-13 12:55:51,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:55:52,133 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-13 12:55:52,134 - DEBUG - ls -l testfile 2025-10-13 12:55:53,723 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 13 06:55 testfile 2025-10-13 12:55:53,723 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-19709798-40082590 2025-10-13 12:55:53,723 - INFO - Deleting VM ctest-TestBasicVMVNx-19709798-40082590 2025-10-13 12:55:53,790 - INFO - Deleting VM ctest-TestBasicVMVNx-19709798-12392757 2025-10-13 12:55:53,858 - INFO - Deleting VN ctest-vn-15413198 2025-10-13 12:55:53,892 - DEBUG - VN 1eb2ffd0-1b2c-467e-96eb-bae8c877f463 still in use: Unable to complete operation on network 1eb2ffd0-1b2c-467e-96eb-bae8c877f463. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-301c79ca-84ef-4396-8f9e-7710b53659ec'] 2025-10-13 12:55:53,892 - WARNING - Deleting VN ctest-vn-15413198 failed..Will retry 2025-10-13 12:55:55,990 - DEBUG - Response for deleting network () 2025-10-13 12:55:56,258 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 12:55:56,258 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2025-10-13 12:55:56,258 - INFO - -------------------------------------------------------------------------------- 2025-10-13 12:55:56,913 - INFO - Deleted project: ctest-TestBasicVMVNx-19709798, ID : d155288b-6b36-4667-a7c0-b4a6523705b9