2025-05-08 11:10:15,004 - INFO - Domain Default found not creating 2025-05-08 11:10:15,147 - INFO - Project ctest-TestBasicVMVNx-32072341 not found, creating it 2025-05-08 11:10:15,584 - INFO - Created Project:ctest-TestBasicVMVNx-32072341, ID : c9a2182d-03e3-4611-bc41-018b1f2e45b2 2025-05-08 11:10:16,968 - INFO - ================================================================================ 2025-05-08 11:10:16,968 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-08 11:10:16,968 - 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-05-08 11:10:17,228 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-05-08 11:10:17,228 - INFO - Initial checks done. Running the testcase now 2025-05-08 11:10:17,228 - INFO - 2025-05-08 11:10:17,755 - DEBUG - Response for create_network : {'network': {'id': '7701cdcb-5762-4079-91eb-6ed36ce47783', 'name': 'ctest-vn-74349413', 'tenant_id': 'c9a2182d03e34611bc41018b1f2e45b2', 'project_id': 'c9a2182d03e34611bc41018b1f2e45b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-32072341', 'ctest-vn-74349413'], 'port_security_enabled': True, 'description': ''}} 2025-05-08 11:10:17,920 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad92b094-25b5-4dcd-8b04-b082d351f49f', 'name': '', 'tenant_id': 'c9a2182d03e34611bc41018b1f2e45b2', 'network_id': '7701cdcb-5762-4079-91eb-6ed36ce47783', 'ip_version': 4, 'cidr': '141.57.98.128/26', 'allocation_pools': [{'start': '141.57.98.130', 'end': '141.57.98.190'}], 'gateway_ip': '141.57.98.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.57.98.130', 'tags': [], 'project_id': 'c9a2182d03e34611bc41018b1f2e45b2'}} 2025-05-08 11:10:17,937 - INFO - Created VN ctest-vn-74349413 2025-05-08 11:10:17,989 - DEBUG - VN ctest-vn-74349413 UUID is 7701cdcb-5762-4079-91eb-6ed36ce47783 2025-05-08 11:10:18,191 - DEBUG - Services list from nova: [, , ] 2025-05-08 11:10:19,185 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3288-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3288-1) 2025-05-08 11:10:20,243 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3288-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3288-1) 2025-05-08 11:10:20,243 - INFO - Waiting for VM ctest-TestBasicVMVNx-32072341-56110878 to be up.. 2025-05-08 11:10:20,314 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-08 11:10:25,383 - DEBUG - VM is in ACTIVE state now 2025-05-08 11:10:25,383 - INFO - VM name : ctest-TestBasicVMVNx-32072341-56110878 2025-05-08 11:10:25,448 - DEBUG - VM ctest-TestBasicVMVNx-32072341-56110878 ID is 580dd633-8592-4e05-87cb-e8d244970be7 2025-05-08 11:10:25,464 - DEBUG - VM ctest-TestBasicVMVNx-32072341-56110878 launched on Node cn-jenkins-deploy-platform-ansible-os-3288-1 2025-05-08 11:10:25,533 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/580dd633-8592-4e05-87cb-e8d244970be7 2025-05-08 11:10:25,825 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/580dd633-8592-4e05-87cb-e8d244970be7 2025-05-08 11:10:25,852 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/61b526a8-7f3b-4516-bcfc-ed089a09c5a4 2025-05-08 11:10:29,109 - 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-05-08 11:10:29,109 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-32072341-56110878 failed! 2025-05-08 11:10:29,165 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-32072341:ctest-vn-74349413 is 141.57.98.129 and allocation pool is NOT set 2025-05-08 11:10:31,229 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.286 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.286/1.483/2.681/1.197 ms') 2025-05-08 11:10:31,229 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-32072341-56110878 passed 2025-05-08 11:10:31,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-08 11:10:31,385 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-32072341-56110878, IP 141.57.98.131, Port 22 2025-05-08 11:10:31,541 - DEBUG - VM ctest-TestBasicVMVNx-32072341-56110878 is ready for SSH connections 2025-05-08 11:10:31,541 - INFO - Waiting for VM ctest-TestBasicVMVNx-32072341-33261434 to be up.. 2025-05-08 11:10:31,611 - DEBUG - VM is in ACTIVE state now 2025-05-08 11:10:31,611 - INFO - VM name : ctest-TestBasicVMVNx-32072341-33261434 2025-05-08 11:10:31,781 - DEBUG - VM ctest-TestBasicVMVNx-32072341-33261434 ID is 5fe79f10-e997-46f0-98c1-6a3f5105cea1 2025-05-08 11:10:31,781 - DEBUG - VM ctest-TestBasicVMVNx-32072341-33261434 launched on Node cn-jenkins-deploy-platform-ansible-os-3288-1 2025-05-08 11:10:31,851 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5fe79f10-e997-46f0-98c1-6a3f5105cea1 2025-05-08 11:10:31,859 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b70c84e9-345d-41a0-96a8-3006b145ed6c 2025-05-08 11:10:33,092 - 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.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.473 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.473/1.933/3.393/1.460 ms') 2025-05-08 11:10:33,093 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-32072341-33261434 passed 2025-05-08 11:10:33,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-08 11:10:33,249 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-32072341-33261434, IP 141.57.98.132, Port 22 2025-05-08 11:10:33,401 - DEBUG - VM ctest-TestBasicVMVNx-32072341-33261434 is ready for SSH connections 2025-05-08 11:10:33,401 - DEBUG - FILE SIZE = 1303B 2025-05-08 11:10:33,401 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-32072341-56110878 to ctest-TestBasicVMVNx-32072341-33261434 using scp 2025-05-08 11:10:33,402 - 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.38, gateway password: c0ntrail123 2025-05-08 11:10:33,402 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-08 11:10:35,250 - DEBUG - 1+0 records in 1+0 records out 2025-05-08 11:10:35,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-08 11:10:36,150 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-08 11:10:36,151 - DEBUG - ls -l testfile 2025-05-08 11:10:37,700 - DEBUG - -rw------- 1 cirros cirros 1303 May 8 05:10 testfile 2025-05-08 11:10:37,701 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-32072341-33261434 2025-05-08 11:10:37,701 - INFO - Deleting VM ctest-TestBasicVMVNx-32072341-33261434 2025-05-08 11:10:37,765 - INFO - Deleting VM ctest-TestBasicVMVNx-32072341-56110878 2025-05-08 11:10:37,830 - INFO - Deleting VN ctest-vn-74349413 2025-05-08 11:10:37,863 - DEBUG - VN 7701cdcb-5762-4079-91eb-6ed36ce47783 still in use: Unable to complete operation on network 7701cdcb-5762-4079-91eb-6ed36ce47783. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-da50d47d-525b-4dd0-8219-8a8724097c1e'] 2025-05-08 11:10:37,863 - WARNING - Deleting VN ctest-vn-74349413 failed..Will retry 2025-05-08 11:10:39,974 - DEBUG - Response for deleting network () 2025-05-08 11:10:40,234 - DEBUG - No XMPP flaps were noticed during the test 2025-05-08 11:10:40,234 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-05-08 11:10:40,235 - INFO - -------------------------------------------------------------------------------- 2025-05-08 11:10:40,890 - INFO - Deleted project: ctest-TestBasicVMVNx-32072341, ID : c9a2182d-03e3-4611-bc41-018b1f2e45b2