2025-08-12 16:37:32,927 - INFO - Domain Default found not creating 2025-08-12 16:37:33,044 - INFO - Project ctest-TestBasicVMVNx-52039988 not found, creating it 2025-08-12 16:37:33,494 - INFO - Created Project:ctest-TestBasicVMVNx-52039988, ID : 8e891868-9388-4245-b9a9-f4386170e939 2025-08-12 16:37:34,785 - INFO - ================================================================================ 2025-08-12 16:37:34,786 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-12 16:37:34,786 - 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-12 16:37:35,039 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-12 16:37:35,039 - INFO - Initial checks done. Running the testcase now 2025-08-12 16:37:35,039 - INFO - 2025-08-12 16:37:35,545 - DEBUG - Response for create_network : {'network': {'id': '7c9e77f8-e04b-47b4-8341-46619a0fa6df', 'name': 'ctest-vn-89255662', 'tenant_id': '8e89186893884245b9a9f4386170e939', 'project_id': '8e89186893884245b9a9f4386170e939', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-52039988', 'ctest-vn-89255662'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 16:37:35,684 - DEBUG - Response for create_subnet : {'subnet': {'id': '7759c053-8155-4406-9a96-976bb19d6aea', 'name': '', 'tenant_id': '8e89186893884245b9a9f4386170e939', 'network_id': '7c9e77f8-e04b-47b4-8341-46619a0fa6df', 'ip_version': 4, 'cidr': '179.81.112.128/26', 'allocation_pools': [{'start': '179.81.112.130', 'end': '179.81.112.190'}], 'gateway_ip': '179.81.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.81.112.130', 'tags': [], 'project_id': '8e89186893884245b9a9f4386170e939'}} 2025-08-12 16:37:35,701 - INFO - Created VN ctest-vn-89255662 2025-08-12 16:37:35,754 - DEBUG - VN ctest-vn-89255662 UUID is 7c9e77f8-e04b-47b4-8341-46619a0fa6df 2025-08-12 16:37:35,942 - DEBUG - Services list from nova: [, , ] 2025-08-12 16:37:36,891 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3834-1) 2025-08-12 16:37:37,938 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3834-1) 2025-08-12 16:37:37,939 - INFO - Waiting for VM ctest-TestBasicVMVNx-52039988-58665760 to be up.. 2025-08-12 16:37:38,006 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 16:37:43,070 - DEBUG - VM is in ACTIVE state now 2025-08-12 16:37:43,070 - INFO - VM name : ctest-TestBasicVMVNx-52039988-58665760 2025-08-12 16:37:43,127 - DEBUG - VM ctest-TestBasicVMVNx-52039988-58665760 ID is 3d406aa7-db20-4eb6-ae01-3104a334e24c 2025-08-12 16:37:43,143 - DEBUG - VM ctest-TestBasicVMVNx-52039988-58665760 launched on Node cn-jenkins-deploy-platform-ansible-os-3834-1 2025-08-12 16:37:43,199 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3d406aa7-db20-4eb6-ae01-3104a334e24c 2025-08-12 16:37:43,487 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3d406aa7-db20-4eb6-ae01-3104a334e24c 2025-08-12 16:37:43,515 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/78afb086-1b1b-4296-a649-d08320bfae01 2025-08-12 16:37:46,774 - 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 1032ms') 2025-08-12 16:37:46,775 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52039988-58665760 failed! 2025-08-12 16:37:46,834 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-52039988:ctest-vn-89255662 is 179.81.112.129 and allocation pool is NOT set 2025-08-12 16:37:48,894 - 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.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.404 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.404/1.432/2.460/1.028 ms') 2025-08-12 16:37:48,894 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52039988-58665760 passed 2025-08-12 16:37:49,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:37:49,038 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52039988-58665760, IP 179.81.112.131, Port 22 2025-08-12 16:37:49,197 - DEBUG - VM ctest-TestBasicVMVNx-52039988-58665760 is ready for SSH connections 2025-08-12 16:37:49,197 - INFO - Waiting for VM ctest-TestBasicVMVNx-52039988-78723841 to be up.. 2025-08-12 16:37:49,258 - DEBUG - VM is in ACTIVE state now 2025-08-12 16:37:49,258 - INFO - VM name : ctest-TestBasicVMVNx-52039988-78723841 2025-08-12 16:37:49,314 - DEBUG - VM ctest-TestBasicVMVNx-52039988-78723841 ID is 2bbaaaa9-0663-4c4b-80db-6531fc3d09a7 2025-08-12 16:37:49,315 - DEBUG - VM ctest-TestBasicVMVNx-52039988-78723841 launched on Node cn-jenkins-deploy-platform-ansible-os-3834-1 2025-08-12 16:37:49,370 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2bbaaaa9-0663-4c4b-80db-6531fc3d09a7 2025-08-12 16:37:49,377 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2f1bc3ce-064d-4c5c-8e06-2a9b6a24cc17 2025-08-12 16:37:50,600 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.331 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.331/1.723/3.115/1.392 ms') 2025-08-12 16:37:50,600 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-52039988-78723841 passed 2025-08-12 16:37:50,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:37:50,750 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52039988-78723841, IP 179.81.112.132, Port 22 2025-08-12 16:37:50,905 - DEBUG - VM ctest-TestBasicVMVNx-52039988-78723841 is ready for SSH connections 2025-08-12 16:37:50,905 - DEBUG - FILE SIZE = 1303B 2025-08-12 16:37:50,905 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-52039988-58665760 to ctest-TestBasicVMVNx-52039988-78723841 using scp 2025-08-12 16:37:50,906 - 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-12 16:37:50,906 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-12 16:37:52,733 - DEBUG - 1+0 records in 1+0 records out 2025-08-12 16:37:53,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:37:53,614 - 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-12 16:37:53,614 - DEBUG - ls -l testfile 2025-08-12 16:37:55,165 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 12 10:37 testfile 2025-08-12 16:37:55,165 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-52039988-78723841 2025-08-12 16:37:55,165 - INFO - Deleting VM ctest-TestBasicVMVNx-52039988-78723841 2025-08-12 16:37:55,221 - INFO - Deleting VM ctest-TestBasicVMVNx-52039988-58665760 2025-08-12 16:37:55,277 - INFO - Deleting VN ctest-vn-89255662 2025-08-12 16:37:55,307 - DEBUG - VN 7c9e77f8-e04b-47b4-8341-46619a0fa6df still in use: Unable to complete operation on network 7c9e77f8-e04b-47b4-8341-46619a0fa6df. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5cde13de-28bc-42d7-a24d-2fd1f4c99a15'] 2025-08-12 16:37:55,307 - WARNING - Deleting VN ctest-vn-89255662 failed..Will retry 2025-08-12 16:37:57,392 - DEBUG - Response for deleting network () 2025-08-12 16:37:57,647 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 16:37:57,647 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-08-12 16:37:57,647 - INFO - -------------------------------------------------------------------------------- 2025-08-12 16:37:58,280 - INFO - Deleted project: ctest-TestBasicVMVNx-52039988, ID : 8e891868-9388-4245-b9a9-f4386170e939