2025-11-18 11:14:39,972 - INFO - Domain Default found not creating 2025-11-18 11:14:40,127 - INFO - Project ctest-TestBasicVMVNx-39721724 not found, creating it 2025-11-18 11:14:40,571 - INFO - Created Project:ctest-TestBasicVMVNx-39721724, ID : 3fa481f7-4097-4410-85ec-289e6ccbecad 2025-11-18 11:14:42,149 - INFO - ================================================================================ 2025-11-18 11:14:42,150 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-18 11:14:42,150 - 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-18 11:14:42,403 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2025-11-18 11:14:42,404 - INFO - Initial checks done. Running the testcase now 2025-11-18 11:14:42,404 - INFO - 2025-11-18 11:14:42,944 - DEBUG - Response for create_network : {'network': {'id': 'dc428cdc-7531-4dba-b9d6-2fba053651f4', 'name': 'ctest-vn-58960942', 'tenant_id': '3fa481f74097441085ec289e6ccbecad', 'project_id': '3fa481f74097441085ec289e6ccbecad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-39721724', 'ctest-vn-58960942'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 11:14:43,098 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e61ec6fb-67c9-48c6-943b-6a04a3ad6551', 'name': '', 'tenant_id': '3fa481f74097441085ec289e6ccbecad', 'network_id': 'dc428cdc-7531-4dba-b9d6-2fba053651f4', 'ip_version': 4, 'cidr': '191.46.226.64/26', 'allocation_pools': [{'start': '191.46.226.66', 'end': '191.46.226.126'}], 'gateway_ip': '191.46.226.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.46.226.66', 'tags': [], 'project_id': '3fa481f74097441085ec289e6ccbecad'}} 2025-11-18 11:14:43,113 - INFO - Created VN ctest-vn-58960942 2025-11-18 11:14:43,166 - DEBUG - VN ctest-vn-58960942 UUID is dc428cdc-7531-4dba-b9d6-2fba053651f4 2025-11-18 11:14:43,362 - DEBUG - Services list from nova: [, , ] 2025-11-18 11:14:44,384 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4754-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4754-1) 2025-11-18 11:14:45,473 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4754-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4754-1) 2025-11-18 11:14:45,474 - INFO - Waiting for VM ctest-TestBasicVMVNx-39721724-02156262 to be up.. 2025-11-18 11:14:45,541 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-18 11:14:50,618 - DEBUG - VM is in ACTIVE state now 2025-11-18 11:14:50,618 - INFO - VM name : ctest-TestBasicVMVNx-39721724-02156262 2025-11-18 11:14:50,691 - DEBUG - VM ctest-TestBasicVMVNx-39721724-02156262 ID is c53e3715-33af-4d5a-a05f-67ce971c2ce7 2025-11-18 11:14:50,709 - DEBUG - VM ctest-TestBasicVMVNx-39721724-02156262 launched on Node cn-jenkins-deploy-platform-ansible-os-4754-1 2025-11-18 11:14:50,781 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c53e3715-33af-4d5a-a05f-67ce971c2ce7 2025-11-18 11:14:51,073 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c53e3715-33af-4d5a-a05f-67ce971c2ce7 2025-11-18 11:14:51,110 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/86bb5343-a286-482d-93d6-a635ca3fab85 2025-11-18 11:14:54,364 - 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-18 11:14:54,364 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-39721724-02156262 failed! 2025-11-18 11:14:54,419 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-39721724:ctest-vn-58960942 is 191.46.226.65 and allocation pool is NOT set 2025-11-18 11:14:56,481 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.662 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.662/2.248/3.834/1.586 ms') 2025-11-18 11:14:56,481 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-39721724-02156262 passed 2025-11-18 11:14:56,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 11:14:56,635 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-39721724-02156262, IP 191.46.226.67, Port 22 2025-11-18 11:14:56,800 - DEBUG - VM ctest-TestBasicVMVNx-39721724-02156262 is ready for SSH connections 2025-11-18 11:14:56,800 - INFO - Waiting for VM ctest-TestBasicVMVNx-39721724-65633571 to be up.. 2025-11-18 11:14:56,874 - DEBUG - VM is in ACTIVE state now 2025-11-18 11:14:56,874 - INFO - VM name : ctest-TestBasicVMVNx-39721724-65633571 2025-11-18 11:14:56,945 - DEBUG - VM ctest-TestBasicVMVNx-39721724-65633571 ID is 49b91360-8e60-4a44-89f3-7ad358931663 2025-11-18 11:14:56,945 - DEBUG - VM ctest-TestBasicVMVNx-39721724-65633571 launched on Node cn-jenkins-deploy-platform-ansible-os-4754-1 2025-11-18 11:14:57,013 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/49b91360-8e60-4a44-89f3-7ad358931663 2025-11-18 11:14:57,021 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/62d80c4f-5488-475c-994a-dec3e58bad00 2025-11-18 11:14:58,257 - 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=2.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.380 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.380/1.609/2.838/1.229 ms') 2025-11-18 11:14:58,257 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-39721724-65633571 passed 2025-11-18 11:14:58,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 11:14:58,407 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-39721724-65633571, IP 191.46.226.68, Port 22 2025-11-18 11:14:58,562 - DEBUG - VM ctest-TestBasicVMVNx-39721724-65633571 is ready for SSH connections 2025-11-18 11:14:58,562 - DEBUG - FILE SIZE = 1303B 2025-11-18 11:14:58,562 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-39721724-02156262 to ctest-TestBasicVMVNx-39721724-65633571 using scp 2025-11-18 11:14:58,563 - 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-11-18 11:14:58,563 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-18 11:15:00,529 - DEBUG - 1+0 records in 1+0 records out 2025-11-18 11:15:00,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 11:15:01,146 - 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-11-18 11:15:01,146 - DEBUG - ls -l testfile 2025-11-18 11:15:02,738 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 18 04:15 testfile 2025-11-18 11:15:02,738 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-39721724-65633571 2025-11-18 11:15:02,739 - INFO - Deleting VM ctest-TestBasicVMVNx-39721724-65633571 2025-11-18 11:15:02,812 - INFO - Deleting VM ctest-TestBasicVMVNx-39721724-02156262 2025-11-18 11:15:02,888 - INFO - Deleting VN ctest-vn-58960942 2025-11-18 11:15:02,926 - DEBUG - VN dc428cdc-7531-4dba-b9d6-2fba053651f4 still in use: Unable to complete operation on network dc428cdc-7531-4dba-b9d6-2fba053651f4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5d7915b2-ad2f-4608-bd60-a107769851b8'] 2025-11-18 11:15:02,926 - WARNING - Deleting VN ctest-vn-58960942 failed..Will retry 2025-11-18 11:15:05,026 - DEBUG - Response for deleting network () 2025-11-18 11:15:05,292 - DEBUG - No XMPP flaps were noticed during the test
2025-11-18 11:15:05,292 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-11-18 11:15:05,292 - INFO - -------------------------------------------------------------------------------- 2025-11-18 11:15:05,962 - INFO - Deleted project: ctest-TestBasicVMVNx-39721724, ID : 3fa481f7-4097-4410-85ec-289e6ccbecad