2025-11-03 17:19:04,118 - INFO - Domain Default found not creating 2025-11-03 17:19:04,265 - INFO - Project ctest-TestBasicVMVNx-01422145 not found, creating it 2025-11-03 17:19:04,700 - INFO - Created Project:ctest-TestBasicVMVNx-01422145, ID : 73bad0de-e838-488e-8bf3-92008d90cffd 2025-11-03 17:19:06,174 - INFO - ================================================================================ 2025-11-03 17:19:06,174 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-03 17:19:06,174 - 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-03 17:19:06,430 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-11-03 17:19:06,430 - INFO - Initial checks done. Running the testcase now 2025-11-03 17:19:06,430 - INFO - 2025-11-03 17:19:06,963 - DEBUG - Response for create_network : {'network': {'id': 'e84266cd-cb19-4392-88f2-c9a8825dfbc1', 'name': 'ctest-vn-61903208', 'tenant_id': '73bad0dee838488e8bf392008d90cffd', 'project_id': '73bad0dee838488e8bf392008d90cffd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-01422145', 'ctest-vn-61903208'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 17:19:07,169 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcda3d75-13f9-4e2a-a727-e5426a7f7d5a', 'name': '', 'tenant_id': '73bad0dee838488e8bf392008d90cffd', 'network_id': 'e84266cd-cb19-4392-88f2-c9a8825dfbc1', 'ip_version': 4, 'cidr': '42.130.173.0/26', 'allocation_pools': [{'start': '42.130.173.2', 'end': '42.130.173.62'}], 'gateway_ip': '42.130.173.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.130.173.2', 'tags': [], 'project_id': '73bad0dee838488e8bf392008d90cffd'}} 2025-11-03 17:19:07,184 - INFO - Created VN ctest-vn-61903208 2025-11-03 17:19:07,233 - DEBUG - VN ctest-vn-61903208 UUID is e84266cd-cb19-4392-88f2-c9a8825dfbc1 2025-11-03 17:19:07,409 - DEBUG - Services list from nova: [, , ] 2025-11-03 17:19:08,427 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4609-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4609-1) 2025-11-03 17:19:09,528 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4609-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4609-1) 2025-11-03 17:19:09,528 - INFO - Waiting for VM ctest-TestBasicVMVNx-01422145-88986054 to be up.. 2025-11-03 17:19:09,610 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 17:19:14,683 - DEBUG - VM is in ACTIVE state now 2025-11-03 17:19:14,683 - INFO - VM name : ctest-TestBasicVMVNx-01422145-88986054 2025-11-03 17:19:14,762 - DEBUG - VM ctest-TestBasicVMVNx-01422145-88986054 ID is b6b48d79-01a3-4d42-84c6-8ef607bf6fd3 2025-11-03 17:19:14,784 - DEBUG - VM ctest-TestBasicVMVNx-01422145-88986054 launched on Node cn-jenkins-deploy-platform-ansible-os-4609-1 2025-11-03 17:19:14,858 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b6b48d79-01a3-4d42-84c6-8ef607bf6fd3 2025-11-03 17:19:15,154 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b6b48d79-01a3-4d42-84c6-8ef607bf6fd3 2025-11-03 17:19:15,183 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3b46e5af-90d5-46fd-b762-e19c73434289 2025-11-03 17:19:18,434 - 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 1015ms') 2025-11-03 17:19:18,434 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-01422145-88986054 failed! 2025-11-03 17:19:18,489 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-01422145:ctest-vn-61903208 is 42.130.173.1 and allocation pool is NOT set 2025-11-03 17:19:20,545 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.949 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.949/2.124/3.299/1.175 ms') 2025-11-03 17:19:20,545 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-01422145-88986054 passed 2025-11-03 17:19:20,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:19:20,697 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-01422145-88986054, IP 42.130.173.3, Port 22 2025-11-03 17:19:20,852 - DEBUG - VM ctest-TestBasicVMVNx-01422145-88986054 is ready for SSH connections 2025-11-03 17:19:20,853 - INFO - Waiting for VM ctest-TestBasicVMVNx-01422145-32497973 to be up.. 2025-11-03 17:19:20,921 - DEBUG - VM is in ACTIVE state now 2025-11-03 17:19:20,921 - INFO - VM name : ctest-TestBasicVMVNx-01422145-32497973 2025-11-03 17:19:20,992 - DEBUG - VM ctest-TestBasicVMVNx-01422145-32497973 ID is 025914ea-939d-41fa-89e6-ad052cf0ffa1 2025-11-03 17:19:20,993 - DEBUG - VM ctest-TestBasicVMVNx-01422145-32497973 launched on Node cn-jenkins-deploy-platform-ansible-os-4609-1 2025-11-03 17:19:21,060 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/025914ea-939d-41fa-89e6-ad052cf0ffa1 2025-11-03 17:19:21,069 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/eff8b48c-d0ea-4c15-bc12-cb6ba03149e6 2025-11-03 17:19:22,310 - 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.679 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.679/2.173/3.668/1.494 ms') 2025-11-03 17:19:22,310 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-01422145-32497973 passed 2025-11-03 17:19:22,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:19:22,457 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-01422145-32497973, IP 42.130.173.4, Port 22 2025-11-03 17:19:22,523 - 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-03 17:19:22,604 - DEBUG - VM ctest-TestBasicVMVNx-01422145-32497973 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-03 17:19:27,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:19:27,605 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-01422145-32497973, IP 42.130.173.4, Port 22 2025-11-03 17:19:27,760 - DEBUG - VM ctest-TestBasicVMVNx-01422145-32497973 is ready for SSH connections 2025-11-03 17:19:27,760 - DEBUG - FILE SIZE = 1303B 2025-11-03 17:19:27,760 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-01422145-88986054 to ctest-TestBasicVMVNx-01422145-32497973 using scp 2025-11-03 17:19:27,762 - 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-03 17:19:27,762 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-03 17:19:29,749 - DEBUG - 1+0 records in 1+0 records out 2025-11-03 17:19:30,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:19:30,717 - 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-03 17:19:30,717 - DEBUG - ls -l testfile 2025-11-03 17:19:32,338 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 3 10:19 testfile 2025-11-03 17:19:32,338 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-01422145-32497973 2025-11-03 17:19:32,338 - INFO - Deleting VM ctest-TestBasicVMVNx-01422145-32497973 2025-11-03 17:19:32,426 - INFO - Deleting VM ctest-TestBasicVMVNx-01422145-88986054 2025-11-03 17:19:32,498 - INFO - Deleting VN ctest-vn-61903208 2025-11-03 17:19:32,535 - DEBUG - VN e84266cd-cb19-4392-88f2-c9a8825dfbc1 still in use: Unable to complete operation on network e84266cd-cb19-4392-88f2-c9a8825dfbc1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f2956bb2-450c-4030-b912-b371267fb3f2'] 2025-11-03 17:19:32,535 - WARNING - Deleting VN ctest-vn-61903208 failed..Will retry 2025-11-03 17:19:34,672 - DEBUG - Response for deleting network () 2025-11-03 17:19:34,931 - DEBUG - No XMPP flaps were noticed during the test 2025-11-03 17:19:34,931 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:28] 2025-11-03 17:19:34,931 - INFO - -------------------------------------------------------------------------------- 2025-11-03 17:19:35,602 - INFO - Deleted project: ctest-TestBasicVMVNx-01422145, ID : 73bad0de-e838-488e-8bf3-92008d90cffd