2025-08-07 14:27:05,750 - INFO - Domain Default found not creating 2025-08-07 14:27:05,906 - INFO - Project ctest-TestBasicVMVNx-33837562 not found, creating it 2025-08-07 14:27:06,363 - INFO - Created Project:ctest-TestBasicVMVNx-33837562, ID : 6642c8d2-8680-41b3-bdb1-ba7484ab5c34 2025-08-07 14:27:07,760 - INFO - ================================================================================ 2025-08-07 14:27:07,760 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-07 14:27:07,761 - 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-08-07 14:27:08,021 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-07 14:27:08,021 - INFO - Initial checks done. Running the testcase now 2025-08-07 14:27:08,021 - INFO - 2025-08-07 14:27:08,602 - DEBUG - Response for create_network : {'network': {'id': '01cb1fc0-7938-4fdc-9437-95bf06d75c1e', 'name': 'ctest-vn-87618986', 'tenant_id': '6642c8d2868041b3bdb1ba7484ab5c34', 'project_id': '6642c8d2868041b3bdb1ba7484ab5c34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-33837562', 'ctest-vn-87618986'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 14:27:08,755 - DEBUG - Response for create_subnet : {'subnet': {'id': '45dbbe3b-ae69-49a0-abb3-9d90e1c237cf', 'name': '', 'tenant_id': '6642c8d2868041b3bdb1ba7484ab5c34', 'network_id': '01cb1fc0-7938-4fdc-9437-95bf06d75c1e', 'ip_version': 4, 'cidr': '108.98.195.128/26', 'allocation_pools': [{'start': '108.98.195.130', 'end': '108.98.195.190'}], 'gateway_ip': '108.98.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.98.195.130', 'tags': [], 'project_id': '6642c8d2868041b3bdb1ba7484ab5c34'}} 2025-08-07 14:27:08,771 - INFO - Created VN ctest-vn-87618986 2025-08-07 14:27:08,822 - DEBUG - VN ctest-vn-87618986 UUID is 01cb1fc0-7938-4fdc-9437-95bf06d75c1e 2025-08-07 14:27:09,026 - DEBUG - Services list from nova: [, , ] 2025-08-07 14:27:10,044 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3771-1) 2025-08-07 14:27:11,143 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3771-1) 2025-08-07 14:27:11,144 - INFO - Waiting for VM ctest-TestBasicVMVNx-33837562-46689196 to be up.. 2025-08-07 14:27:11,226 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 14:27:16,312 - DEBUG - VM is in ACTIVE state now 2025-08-07 14:27:16,313 - INFO - VM name : ctest-TestBasicVMVNx-33837562-46689196 2025-08-07 14:27:16,389 - DEBUG - VM ctest-TestBasicVMVNx-33837562-46689196 ID is c45efcf4-69f6-4f08-8628-92e48943263b 2025-08-07 14:27:16,409 - DEBUG - VM ctest-TestBasicVMVNx-33837562-46689196 launched on Node cn-jenkins-deploy-platform-ansible-os-3771-1 2025-08-07 14:27:16,482 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c45efcf4-69f6-4f08-8628-92e48943263b 2025-08-07 14:27:16,792 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c45efcf4-69f6-4f08-8628-92e48943263b 2025-08-07 14:27:16,824 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b9b32289-303e-48c3-90c3-7e660b571f70 2025-08-07 14:27:20,075 - 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 1006ms') 2025-08-07 14:27:20,075 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33837562-46689196 failed! 2025-08-07 14:27:20,130 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-33837562:ctest-vn-87618986 is 108.98.195.129 and allocation pool is NOT set 2025-08-07 14:27:22,189 - 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=4.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.93 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.925/3.132/4.339/1.207 ms') 2025-08-07 14:27:22,189 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-33837562-46689196 passed 2025-08-07 14:27:22,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:27:22,346 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33837562-46689196, IP 108.98.195.131, Port 22 2025-08-07 14:27:22,502 - DEBUG - VM ctest-TestBasicVMVNx-33837562-46689196 is ready for SSH connections 2025-08-07 14:27:22,503 - INFO - Waiting for VM ctest-TestBasicVMVNx-33837562-91185452 to be up.. 2025-08-07 14:27:22,581 - DEBUG - VM is in ACTIVE state now 2025-08-07 14:27:22,581 - INFO - VM name : ctest-TestBasicVMVNx-33837562-91185452 2025-08-07 14:27:22,648 - DEBUG - VM ctest-TestBasicVMVNx-33837562-91185452 ID is 620bd8aa-756f-4d34-ab3d-6e857fa38261 2025-08-07 14:27:22,648 - DEBUG - VM ctest-TestBasicVMVNx-33837562-91185452 launched on Node cn-jenkins-deploy-platform-ansible-os-3771-1 2025-08-07 14:27:22,734 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/620bd8aa-756f-4d34-ab3d-6e857fa38261 2025-08-07 14:27:22,744 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/172300c7-b6ad-4d83-a9f0-a62617493345 2025-08-07 14:27:23,987 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.77 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 = 1.774/3.000/4.226/1.226 ms') 2025-08-07 14:27:23,987 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-33837562-91185452 passed 2025-08-07 14:27:24,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:27:24,143 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-33837562-91185452, IP 108.98.195.132, Port 22 2025-08-07 14:27:24,308 - DEBUG - VM ctest-TestBasicVMVNx-33837562-91185452 is ready for SSH connections 2025-08-07 14:27:24,309 - DEBUG - FILE SIZE = 1303B 2025-08-07 14:27:24,309 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-33837562-46689196 to ctest-TestBasicVMVNx-33837562-91185452 using scp 2025-08-07 14:27:24,310 - 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.254, gateway password: c0ntrail123 2025-08-07 14:27:24,310 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-07 14:27:26,206 - DEBUG - 1+0 records in 1+0 records out 2025-08-07 14:27:26,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 14:27:27,299 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-07 14:27:27,300 - DEBUG - ls -l testfile 2025-08-07 14:27:28,861 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 7 08:27 testfile 2025-08-07 14:27:28,861 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-33837562-91185452 2025-08-07 14:27:28,861 - INFO - Deleting VM ctest-TestBasicVMVNx-33837562-91185452 2025-08-07 14:27:28,933 - INFO - Deleting VM ctest-TestBasicVMVNx-33837562-46689196 2025-08-07 14:27:28,999 - INFO - Deleting VN ctest-vn-87618986 2025-08-07 14:27:29,035 - DEBUG - VN 01cb1fc0-7938-4fdc-9437-95bf06d75c1e still in use: Unable to complete operation on network 01cb1fc0-7938-4fdc-9437-95bf06d75c1e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-81fce593-c3ac-4ab5-9ae5-af50f4e60cd7'] 2025-08-07 14:27:29,036 - WARNING - Deleting VN ctest-vn-87618986 failed..Will retry 2025-08-07 14:27:31,147 - DEBUG - Response for deleting network () 2025-08-07 14:27:31,402 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 14:27:31,402 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-08-07 14:27:31,402 - INFO - -------------------------------------------------------------------------------- 2025-08-07 14:27:32,114 - INFO - Deleted project: ctest-TestBasicVMVNx-33837562, ID : 6642c8d2-8680-41b3-bdb1-ba7484ab5c34