2025-11-06 02:07:24,786 - INFO - Domain Default found not creating 2025-11-06 02:07:24,917 - INFO - Project ctest-TestBasicVMVNx-28585425 not found, creating it 2025-11-06 02:07:25,335 - INFO - Created Project:ctest-TestBasicVMVNx-28585425, ID : 48bbd2b7-a3bc-4219-a14a-58a30a5cce49 2025-11-06 02:07:26,782 - INFO - ================================================================================ 2025-11-06 02:07:26,782 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-06 02:07:26,782 - 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-06 02:07:27,044 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2025-11-06 02:07:27,044 - INFO - Initial checks done. Running the testcase now 2025-11-06 02:07:27,044 - INFO - 2025-11-06 02:07:27,558 - DEBUG - Response for create_network : {'network': {'id': '6048b460-e9be-4275-a272-5d3b32256686', 'name': 'ctest-vn-57051190', 'tenant_id': '48bbd2b7a3bc4219a14a58a30a5cce49', 'project_id': '48bbd2b7a3bc4219a14a58a30a5cce49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-28585425', 'ctest-vn-57051190'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 02:07:27,764 - DEBUG - Response for create_subnet : {'subnet': {'id': '1752928d-4808-421a-b7b8-1f007f515787', 'name': '', 'tenant_id': '48bbd2b7a3bc4219a14a58a30a5cce49', 'network_id': '6048b460-e9be-4275-a272-5d3b32256686', 'ip_version': 4, 'cidr': '221.33.97.0/26', 'allocation_pools': [{'start': '221.33.97.2', 'end': '221.33.97.62'}], 'gateway_ip': '221.33.97.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.33.97.2', 'tags': [], 'project_id': '48bbd2b7a3bc4219a14a58a30a5cce49'}} 2025-11-06 02:07:27,781 - INFO - Created VN ctest-vn-57051190 2025-11-06 02:07:27,832 - DEBUG - VN ctest-vn-57051190 UUID is 6048b460-e9be-4275-a272-5d3b32256686 2025-11-06 02:07:28,029 - DEBUG - Services list from nova: [, , ] 2025-11-06 02:07:29,002 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4659-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4659-1) 2025-11-06 02:07:30,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4659-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4659-1) 2025-11-06 02:07:30,080 - INFO - Waiting for VM ctest-TestBasicVMVNx-28585425-76594914 to be up.. 2025-11-06 02:07:30,158 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 02:07:35,233 - DEBUG - VM is in ACTIVE state now 2025-11-06 02:07:35,234 - INFO - VM name : ctest-TestBasicVMVNx-28585425-76594914 2025-11-06 02:07:35,299 - DEBUG - VM ctest-TestBasicVMVNx-28585425-76594914 ID is 7d75615f-fd47-4f5e-840b-a4b395b35947 2025-11-06 02:07:35,316 - DEBUG - VM ctest-TestBasicVMVNx-28585425-76594914 launched on Node cn-jenkins-deploy-platform-ansible-os-4659-1 2025-11-06 02:07:35,384 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7d75615f-fd47-4f5e-840b-a4b395b35947 2025-11-06 02:07:35,685 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7d75615f-fd47-4f5e-840b-a4b395b35947 2025-11-06 02:07:35,715 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9a4aa4a7-0334-4feb-ae33-5c3f43248817 2025-11-06 02:07:38,973 - 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 1028ms') 2025-11-06 02:07:38,973 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28585425-76594914 failed! 2025-11-06 02:07:39,028 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-28585425:ctest-vn-57051190 is 221.33.97.1 and allocation pool is NOT set 2025-11-06 02:07:41,092 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.374 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.374/1.497/2.620/1.123 ms') 2025-11-06 02:07:41,092 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28585425-76594914 passed 2025-11-06 02:07:41,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:07:41,244 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28585425-76594914, IP 221.33.97.3, Port 22 2025-11-06 02:07:41,407 - DEBUG - VM ctest-TestBasicVMVNx-28585425-76594914 is ready for SSH connections 2025-11-06 02:07:41,407 - INFO - Waiting for VM ctest-TestBasicVMVNx-28585425-26048241 to be up.. 2025-11-06 02:07:41,471 - DEBUG - VM is in ACTIVE state now 2025-11-06 02:07:41,471 - INFO - VM name : ctest-TestBasicVMVNx-28585425-26048241 2025-11-06 02:07:41,533 - DEBUG - VM ctest-TestBasicVMVNx-28585425-26048241 ID is ce620a4b-30b5-4b4e-ab29-84ca078c462a 2025-11-06 02:07:41,533 - DEBUG - VM ctest-TestBasicVMVNx-28585425-26048241 launched on Node cn-jenkins-deploy-platform-ansible-os-4659-1 2025-11-06 02:07:41,601 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ce620a4b-30b5-4b4e-ab29-84ca078c462a 2025-11-06 02:07:41,608 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2e0e4651-1443-41b2-9cc9-15d5974aead3 2025-11-06 02:07:42,843 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.815 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.815/2.054/3.293/1.239 ms') 2025-11-06 02:07:42,843 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-28585425-26048241 passed 2025-11-06 02:07:42,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:07:42,996 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28585425-26048241, IP 221.33.97.4, Port 22 2025-11-06 02:07:43,062 - 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-11-06 02:07:43,136 - DEBUG - VM ctest-TestBasicVMVNx-28585425-26048241 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 02:07:48,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:07:48,137 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28585425-26048241, IP 221.33.97.4, Port 22 2025-11-06 02:07:48,295 - DEBUG - VM ctest-TestBasicVMVNx-28585425-26048241 is ready for SSH connections 2025-11-06 02:07:48,296 - DEBUG - FILE SIZE = 1303B 2025-11-06 02:07:48,296 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-28585425-76594914 to ctest-TestBasicVMVNx-28585425-26048241 using scp 2025-11-06 02:07:48,297 - 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.22, gateway password: c0ntrail123 2025-11-06 02:07:48,297 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-06 02:07:50,189 - DEBUG - 1+0 records in 1+0 records out 2025-11-06 02:07:50,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:07:51,278 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-06 02:07:51,278 - DEBUG - ls -l testfile 2025-11-06 02:07:52,894 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 5 19:07 testfile 2025-11-06 02:07:52,894 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-28585425-26048241 2025-11-06 02:07:52,894 - INFO - Deleting VM ctest-TestBasicVMVNx-28585425-26048241 2025-11-06 02:07:52,963 - INFO - Deleting VM ctest-TestBasicVMVNx-28585425-76594914 2025-11-06 02:07:53,034 - INFO - Deleting VN ctest-vn-57051190 2025-11-06 02:07:53,077 - DEBUG - VN 6048b460-e9be-4275-a272-5d3b32256686 still in use: Unable to complete operation on network 6048b460-e9be-4275-a272-5d3b32256686. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b0ffead1-9d57-4346-9c7d-9c1ebfe04759'] 2025-11-06 02:07:53,077 - WARNING - Deleting VN ctest-vn-57051190 failed..Will retry 2025-11-06 02:07:55,169 - DEBUG - Response for deleting network () 2025-11-06 02:07:55,425 - DEBUG - No XMPP flaps were noticed during the test 2025-11-06 02:07:55,425 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2025-11-06 02:07:55,425 - INFO - -------------------------------------------------------------------------------- 2025-11-06 02:07:56,067 - INFO - Deleted project: ctest-TestBasicVMVNx-28585425, ID : 48bbd2b7-a3bc-4219-a14a-58a30a5cce49