2025-11-05 13:50:48,799 - INFO - Domain Default found not creating 2025-11-05 13:50:48,939 - INFO - Project ctest-TestBasicVMVNx-99152541 not found, creating it 2025-11-05 13:50:49,375 - INFO - Created Project:ctest-TestBasicVMVNx-99152541, ID : 20bbaafb-3d1c-45e1-9eae-4aeaee2b0efe 2025-11-05 13:50:50,889 - INFO - ================================================================================ 2025-11-05 13:50:50,889 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-05 13:50:50,890 - 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-05 13:50:51,143 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.192': '0'}} with 2025-11-05 13:50:51,143 - INFO - Initial checks done. Running the testcase now 2025-11-05 13:50:51,144 - INFO - 2025-11-05 13:50:51,672 - DEBUG - Response for create_network : {'network': {'id': 'e69bc125-7bfe-4ad3-bf3f-46754fcdd13b', 'name': 'ctest-vn-37534806', 'tenant_id': '20bbaafb3d1c45e19eae4aeaee2b0efe', 'project_id': '20bbaafb3d1c45e19eae4aeaee2b0efe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-99152541', 'ctest-vn-37534806'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 13:50:51,872 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e800ee98-3cc8-4921-9c3f-61c401235385', 'name': '', 'tenant_id': '20bbaafb3d1c45e19eae4aeaee2b0efe', 'network_id': 'e69bc125-7bfe-4ad3-bf3f-46754fcdd13b', 'ip_version': 4, 'cidr': '197.80.203.0/26', 'allocation_pools': [{'start': '197.80.203.2', 'end': '197.80.203.62'}], 'gateway_ip': '197.80.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.80.203.2', 'tags': [], 'project_id': '20bbaafb3d1c45e19eae4aeaee2b0efe'}} 2025-11-05 13:50:51,889 - INFO - Created VN ctest-vn-37534806 2025-11-05 13:50:51,943 - DEBUG - VN ctest-vn-37534806 UUID is e69bc125-7bfe-4ad3-bf3f-46754fcdd13b 2025-11-05 13:50:52,149 - DEBUG - Services list from nova: [, , ] 2025-11-05 13:50:53,157 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4642-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4642-1) 2025-11-05 13:50:54,284 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4642-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4642-1) 2025-11-05 13:50:54,284 - INFO - Waiting for VM ctest-TestBasicVMVNx-99152541-72152123 to be up.. 2025-11-05 13:50:54,382 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 13:50:59,455 - DEBUG - VM is in ACTIVE state now 2025-11-05 13:50:59,455 - INFO - VM name : ctest-TestBasicVMVNx-99152541-72152123 2025-11-05 13:50:59,526 - DEBUG - VM ctest-TestBasicVMVNx-99152541-72152123 ID is f6f1a166-d2a3-4d5f-b719-7cef2bbd8329 2025-11-05 13:50:59,543 - DEBUG - VM ctest-TestBasicVMVNx-99152541-72152123 launched on Node cn-jenkins-deploy-platform-ansible-os-4642-1 2025-11-05 13:50:59,612 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/f6f1a166-d2a3-4d5f-b719-7cef2bbd8329 2025-11-05 13:50:59,904 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/f6f1a166-d2a3-4d5f-b719-7cef2bbd8329 2025-11-05 13:50:59,936 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/ade37152-1897-4c20-9fb6-9a04141fcc24 2025-11-05 13:51:03,206 - 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 1027ms') 2025-11-05 13:51:03,207 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99152541-72152123 failed! 2025-11-05 13:51:03,258 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-99152541:ctest-vn-37534806 is 197.80.203.1 and allocation pool is NOT set 2025-11-05 13:51:05,320 - 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.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.471 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.471/1.931/3.391/1.460 ms') 2025-11-05 13:51:05,320 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99152541-72152123 passed 2025-11-05 13:51:05,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:51:05,466 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99152541-72152123, IP 197.80.203.3, Port 22 2025-11-05 13:51:05,622 - DEBUG - VM ctest-TestBasicVMVNx-99152541-72152123 is ready for SSH connections 2025-11-05 13:51:05,623 - INFO - Waiting for VM ctest-TestBasicVMVNx-99152541-60117655 to be up.. 2025-11-05 13:51:05,701 - DEBUG - VM is in ACTIVE state now 2025-11-05 13:51:05,701 - INFO - VM name : ctest-TestBasicVMVNx-99152541-60117655 2025-11-05 13:51:05,790 - DEBUG - VM ctest-TestBasicVMVNx-99152541-60117655 ID is 15b88149-5bd8-4bd9-8ea5-53598faae687 2025-11-05 13:51:05,790 - DEBUG - VM ctest-TestBasicVMVNx-99152541-60117655 launched on Node cn-jenkins-deploy-platform-ansible-os-4642-1 2025-11-05 13:51:05,883 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/15b88149-5bd8-4bd9-8ea5-53598faae687 2025-11-05 13:51:05,893 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5c01384c-a480-4757-8d0c-509aa544938c 2025-11-05 13:51:07,164 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.553 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 = 0.553/2.656/4.759/2.103 ms') 2025-11-05 13:51:07,164 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-99152541-60117655 passed 2025-11-05 13:51:07,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:51:07,315 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99152541-60117655, IP 197.80.203.4, Port 22 2025-11-05 13:51:07,470 - DEBUG - VM ctest-TestBasicVMVNx-99152541-60117655 is ready for SSH connections 2025-11-05 13:51:07,470 - DEBUG - FILE SIZE = 1303B 2025-11-05 13:51:07,470 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-99152541-72152123 to ctest-TestBasicVMVNx-99152541-60117655 using scp 2025-11-05 13:51:07,471 - 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.19, gateway password: c0ntrail123 2025-11-05 13:51:07,471 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-05 13:51:09,461 - DEBUG - 1+0 records in 1+0 records out 2025-11-05 13:51:10,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 13:51:10,640 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-05 13:51:10,641 - DEBUG - ls -l testfile 2025-11-05 13:51:12,258 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 5 06:51 testfile 2025-11-05 13:51:12,258 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-99152541-60117655 2025-11-05 13:51:12,258 - INFO - Deleting VM ctest-TestBasicVMVNx-99152541-60117655 2025-11-05 13:51:12,333 - INFO - Deleting VM ctest-TestBasicVMVNx-99152541-72152123 2025-11-05 13:51:12,421 - INFO - Deleting VN ctest-vn-37534806 2025-11-05 13:51:12,456 - DEBUG - VN e69bc125-7bfe-4ad3-bf3f-46754fcdd13b still in use: Unable to complete operation on network e69bc125-7bfe-4ad3-bf3f-46754fcdd13b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9bb41572-8452-4d6c-ba5a-c7c27f3b08f0'] 2025-11-05 13:51:12,457 - WARNING - Deleting VN ctest-vn-37534806 failed..Will retry 2025-11-05 13:51:14,551 - DEBUG - Response for deleting network () 2025-11-05 13:51:14,805 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 13:51:14,805 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-11-05 13:51:14,805 - INFO - -------------------------------------------------------------------------------- 2025-11-05 13:51:15,482 - INFO - Deleted project: ctest-TestBasicVMVNx-99152541, ID : 20bbaafb-3d1c-45e1-9eae-4aeaee2b0efe