2025-10-27 14:00:39,376 - INFO - Domain Default found not creating 2025-10-27 14:00:39,579 - INFO - Project ctest-TestBasicVMVNx-08682199 not found, creating it 2025-10-27 14:00:40,095 - INFO - Created Project:ctest-TestBasicVMVNx-08682199, ID : a13c94f3-5cf5-485d-ab7b-1bd794397323 2025-10-27 14:00:41,783 - INFO - ================================================================================ 2025-10-27 14:00:41,783 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-27 14:00:41,783 - 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-10-27 14:00:42,048 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-27 14:00:42,048 - INFO - Initial checks done. Running the testcase now 2025-10-27 14:00:42,048 - INFO - 2025-10-27 14:00:42,627 - DEBUG - Response for create_network : {'network': {'id': '3e481ad7-abfe-4bba-a15a-04d56d642fa7', 'name': 'ctest-vn-69717043', 'tenant_id': 'a13c94f35cf5485dab7b1bd794397323', 'project_id': 'a13c94f35cf5485dab7b1bd794397323', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-08682199', 'ctest-vn-69717043'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 14:00:42,792 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b3f69cd-2e1f-43ed-b516-e8872f5cca40', 'name': '', 'tenant_id': 'a13c94f35cf5485dab7b1bd794397323', 'network_id': '3e481ad7-abfe-4bba-a15a-04d56d642fa7', 'ip_version': 4, 'cidr': '36.38.51.128/26', 'allocation_pools': [{'start': '36.38.51.130', 'end': '36.38.51.190'}], 'gateway_ip': '36.38.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.38.51.130', 'tags': [], 'project_id': 'a13c94f35cf5485dab7b1bd794397323'}} 2025-10-27 14:00:42,814 - INFO - Created VN ctest-vn-69717043 2025-10-27 14:00:42,869 - DEBUG - VN ctest-vn-69717043 UUID is 3e481ad7-abfe-4bba-a15a-04d56d642fa7 2025-10-27 14:00:43,066 - DEBUG - Services list from nova: [, , ] 2025-10-27 14:00:44,179 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4503-1) 2025-10-27 14:00:45,449 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4503-1) 2025-10-27 14:00:45,449 - INFO - Waiting for VM ctest-TestBasicVMVNx-08682199-69992789 to be up.. 2025-10-27 14:00:45,529 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 14:00:50,621 - DEBUG - VM is in ACTIVE state now 2025-10-27 14:00:50,621 - INFO - VM name : ctest-TestBasicVMVNx-08682199-69992789 2025-10-27 14:00:50,708 - DEBUG - VM ctest-TestBasicVMVNx-08682199-69992789 ID is b0f7b0e3-34d2-4fd7-87d6-5007b47c7ec5 2025-10-27 14:00:50,730 - DEBUG - VM ctest-TestBasicVMVNx-08682199-69992789 launched on Node cn-jenkins-deploy-platform-ansible-os-4503-1 2025-10-27 14:00:50,814 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b0f7b0e3-34d2-4fd7-87d6-5007b47c7ec5 2025-10-27 14:00:51,115 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b0f7b0e3-34d2-4fd7-87d6-5007b47c7ec5 2025-10-27 14:00:51,150 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/2b4ad422-16be-4b42-81dd-2cbc4829e5b2 2025-10-27 14:00:54,413 - 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 1014ms') 2025-10-27 14:00:54,413 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-08682199-69992789 failed! 2025-10-27 14:00:54,469 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-08682199:ctest-vn-69717043 is 36.38.51.129 and allocation pool is NOT set 2025-10-27 14:00:56,533 - 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=7.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.609 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.609/3.871/7.133/3.262 ms') 2025-10-27 14:00:56,533 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-08682199-69992789 passed 2025-10-27 14:00:56,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 14:00:56,689 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08682199-69992789, IP 36.38.51.131, Port 22 2025-10-27 14:00:56,844 - DEBUG - VM ctest-TestBasicVMVNx-08682199-69992789 is ready for SSH connections 2025-10-27 14:00:56,844 - INFO - Waiting for VM ctest-TestBasicVMVNx-08682199-73900839 to be up.. 2025-10-27 14:00:56,931 - DEBUG - VM is in ACTIVE state now 2025-10-27 14:00:56,931 - INFO - VM name : ctest-TestBasicVMVNx-08682199-73900839 2025-10-27 14:00:57,019 - DEBUG - VM ctest-TestBasicVMVNx-08682199-73900839 ID is 0b1ab333-efdd-441b-8d39-8f5e01826518 2025-10-27 14:00:57,019 - DEBUG - VM ctest-TestBasicVMVNx-08682199-73900839 launched on Node cn-jenkins-deploy-platform-ansible-os-4503-1 2025-10-27 14:00:57,099 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/0b1ab333-efdd-441b-8d39-8f5e01826518 2025-10-27 14:00:57,108 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c2f45b3e-77a3-4d7c-93e8-194439cebba2 2025-10-27 14:00:58,347 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.09 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.089/2.222/3.355/1.133 ms') 2025-10-27 14:00:58,347 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-08682199-73900839 passed 2025-10-27 14:00:58,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 14:00:58,501 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08682199-73900839, IP 36.38.51.132, Port 22 2025-10-27 14:00:58,675 - DEBUG - VM ctest-TestBasicVMVNx-08682199-73900839 is ready for SSH connections 2025-10-27 14:00:58,675 - DEBUG - FILE SIZE = 1303B 2025-10-27 14:00:58,675 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-08682199-69992789 to ctest-TestBasicVMVNx-08682199-73900839 using scp 2025-10-27 14:00:58,677 - 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.242, gateway password: c0ntrail123 2025-10-27 14:00:58,677 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-27 14:01:00,288 - DEBUG - 1+0 records in 1+0 records out 2025-10-27 14:01:00,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 14:01:01,287 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 14:01:01,287 - DEBUG - ls -l testfile 2025-10-27 14:01:02,919 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 27 08:01 testfile 2025-10-27 14:01:02,919 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-08682199-73900839 2025-10-27 14:01:02,919 - INFO - Deleting VM ctest-TestBasicVMVNx-08682199-73900839 2025-10-27 14:01:03,010 - INFO - Deleting VM ctest-TestBasicVMVNx-08682199-69992789 2025-10-27 14:01:03,101 - INFO - Deleting VN ctest-vn-69717043 2025-10-27 14:01:03,146 - DEBUG - VN 3e481ad7-abfe-4bba-a15a-04d56d642fa7 still in use: Unable to complete operation on network 3e481ad7-abfe-4bba-a15a-04d56d642fa7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-28b914fa-c5e8-4b2e-a0c5-4f2c349e3ff8'] 2025-10-27 14:01:03,146 - WARNING - Deleting VN ctest-vn-69717043 failed..Will retry 2025-10-27 14:01:05,260 - DEBUG - Response for deleting network () 2025-10-27 14:01:05,515 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 14:01:05,516 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-10-27 14:01:05,516 - INFO - -------------------------------------------------------------------------------- 2025-10-27 14:01:06,217 - INFO - Deleted project: ctest-TestBasicVMVNx-08682199, ID : a13c94f3-5cf5-485d-ab7b-1bd794397323