2025-05-08 17:05:31,274 - INFO - Domain Default found not creating 2025-05-08 17:05:31,427 - INFO - Project ctest-TestBasicVMVNx-56096599 not found, creating it 2025-05-08 17:05:31,903 - INFO - Created Project:ctest-TestBasicVMVNx-56096599, ID : f70d74ec-57f4-4275-b26f-304ef01662ed 2025-05-08 17:05:33,488 - INFO - ================================================================================ 2025-05-08 17:05:33,488 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-08 17:05:33,488 - 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 17:05:33,750 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-05-08 17:05:33,750 - INFO - Initial checks done. Running the testcase now 2025-05-08 17:05:33,750 - INFO - 2025-05-08 17:05:34,348 - DEBUG - Response for create_network : {'network': {'id': '87621b9a-c366-4d0f-9ed5-d4423c4b8402', 'name': 'ctest-vn-42312220', 'tenant_id': 'f70d74ec57f44275b26f304ef01662ed', 'project_id': 'f70d74ec57f44275b26f304ef01662ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-56096599', 'ctest-vn-42312220'], 'port_security_enabled': True, 'description': ''}} 2025-05-08 17:05:34,519 - DEBUG - Response for create_subnet : {'subnet': {'id': '7775af06-61b5-445f-b683-919572e071e8', 'name': '', 'tenant_id': 'f70d74ec57f44275b26f304ef01662ed', 'network_id': '87621b9a-c366-4d0f-9ed5-d4423c4b8402', 'ip_version': 4, 'cidr': '42.255.190.128/26', 'allocation_pools': [{'start': '42.255.190.130', 'end': '42.255.190.190'}], 'gateway_ip': '42.255.190.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.255.190.130', 'tags': [], 'project_id': 'f70d74ec57f44275b26f304ef01662ed'}} 2025-05-08 17:05:34,536 - INFO - Created VN ctest-vn-42312220 2025-05-08 17:05:34,591 - DEBUG - VN ctest-vn-42312220 UUID is 87621b9a-c366-4d0f-9ed5-d4423c4b8402 2025-05-08 17:05:34,795 - DEBUG - Services list from nova: [, , ] 2025-05-08 17:05:35,923 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3290-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3290-1) 2025-05-08 17:05:37,132 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3290-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3290-1) 2025-05-08 17:05:37,132 - INFO - Waiting for VM ctest-TestBasicVMVNx-56096599-28754272 to be up.. 2025-05-08 17:05:37,211 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-08 17:05:42,300 - DEBUG - VM is in ACTIVE state now 2025-05-08 17:05:42,300 - INFO - VM name : ctest-TestBasicVMVNx-56096599-28754272 2025-05-08 17:05:42,391 - DEBUG - VM ctest-TestBasicVMVNx-56096599-28754272 ID is e975e6f0-087f-48b7-a440-4899a295582b 2025-05-08 17:05:42,415 - DEBUG - VM ctest-TestBasicVMVNx-56096599-28754272 launched on Node cn-jenkins-deploy-platform-ansible-os-3290-1 2025-05-08 17:05:42,497 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e975e6f0-087f-48b7-a440-4899a295582b 2025-05-08 17:05:42,836 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e975e6f0-087f-48b7-a440-4899a295582b 2025-05-08 17:05:42,873 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d8a54fa0-ccc9-4561-b864-5c2fbb907265 2025-05-08 17:05:46,175 - 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 1025ms') 2025-05-08 17:05:46,175 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56096599-28754272 failed! 2025-05-08 17:05:46,239 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-56096599:ctest-vn-42312220 is 42.255.190.129 and allocation pool is NOT set 2025-05-08 17:05:48,303 - 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=9.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.46 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 = 1.464/5.685/9.906/4.221 ms') 2025-05-08 17:05:48,303 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56096599-28754272 passed 2025-05-08 17:05:48,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-08 17:05:48,455 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56096599-28754272, IP 42.255.190.131, Port 22 2025-05-08 17:05:48,615 - DEBUG - VM ctest-TestBasicVMVNx-56096599-28754272 is ready for SSH connections 2025-05-08 17:05:48,615 - INFO - Waiting for VM ctest-TestBasicVMVNx-56096599-03683967 to be up.. 2025-05-08 17:05:48,696 - DEBUG - VM is in ACTIVE state now 2025-05-08 17:05:48,697 - INFO - VM name : ctest-TestBasicVMVNx-56096599-03683967 2025-05-08 17:05:48,770 - DEBUG - VM ctest-TestBasicVMVNx-56096599-03683967 ID is edef92ad-7dc4-4bee-aad4-783fa1199585 2025-05-08 17:05:48,770 - DEBUG - VM ctest-TestBasicVMVNx-56096599-03683967 launched on Node cn-jenkins-deploy-platform-ansible-os-3290-1 2025-05-08 17:05:48,863 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/edef92ad-7dc4-4bee-aad4-783fa1199585 2025-05-08 17:05:48,874 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/626ec197-8dd4-49b5-9078-6aaa294ed192 2025-05-08 17:05:50,121 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.45 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.454/2.972/3.490/0.518 ms') 2025-05-08 17:05:50,121 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-56096599-03683967 passed 2025-05-08 17:05:50,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-08 17:05:50,271 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56096599-03683967, IP 42.255.190.132, Port 22 2025-05-08 17:05:50,435 - DEBUG - VM ctest-TestBasicVMVNx-56096599-03683967 is ready for SSH connections 2025-05-08 17:05:50,435 - DEBUG - FILE SIZE = 1303B 2025-05-08 17:05:50,435 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-56096599-28754272 to ctest-TestBasicVMVNx-56096599-03683967 using scp 2025-05-08 17:05:50,435 - 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-05-08 17:05:50,436 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-08 17:05:52,381 - DEBUG - 1+0 records in 1+0 records out 2025-05-08 17:05:53,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-08 17:05:53,383 - 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-05-08 17:05:53,383 - DEBUG - ls -l testfile 2025-05-08 17:05:54,962 - DEBUG - -rw------- 1 cirros cirros 1303 May 8 11:05 testfile 2025-05-08 17:05:54,963 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-56096599-03683967 2025-05-08 17:05:54,963 - INFO - Deleting VM ctest-TestBasicVMVNx-56096599-03683967 2025-05-08 17:05:55,037 - INFO - Deleting VM ctest-TestBasicVMVNx-56096599-28754272 2025-05-08 17:05:55,110 - INFO - Deleting VN ctest-vn-42312220 2025-05-08 17:05:55,147 - DEBUG - VN 87621b9a-c366-4d0f-9ed5-d4423c4b8402 still in use: Unable to complete operation on network 87621b9a-c366-4d0f-9ed5-d4423c4b8402. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-193f4db9-fbc9-4709-be44-418753634455'] 2025-05-08 17:05:55,147 - WARNING - Deleting VN ctest-vn-42312220 failed..Will retry 2025-05-08 17:05:57,252 - DEBUG - Response for deleting network () 2025-05-08 17:05:57,513 - DEBUG - No XMPP flaps were noticed during the test 2025-05-08 17:05:57,513 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-05-08 17:05:57,513 - INFO - -------------------------------------------------------------------------------- 2025-05-08 17:05:58,222 - INFO - Deleted project: ctest-TestBasicVMVNx-56096599, ID : f70d74ec-57f4-4275-b26f-304ef01662ed