2025-08-04 02:26:58,645 - INFO - Domain Default found not creating 2025-08-04 02:26:58,801 - INFO - Project ctest-TestBasicVMVNx-35309362 not found, creating it 2025-08-04 02:26:59,269 - INFO - Created Project:ctest-TestBasicVMVNx-35309362, ID : c1448a57-2a16-456f-bc04-acf2916fb552 2025-08-04 02:27:00,800 - INFO - ================================================================================ 2025-08-04 02:27:00,800 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-04 02:27:00,800 - 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-04 02:27:01,064 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-08-04 02:27:01,064 - INFO - Initial checks done. Running the testcase now 2025-08-04 02:27:01,064 - INFO - 2025-08-04 02:27:01,675 - DEBUG - Response for create_network : {'network': {'id': '7e950bd5-bc75-4e4d-ad49-d3d8bcef5d3d', 'name': 'ctest-vn-15853408', 'tenant_id': 'c1448a572a16456fbc04acf2916fb552', 'project_id': 'c1448a572a16456fbc04acf2916fb552', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-35309362', 'ctest-vn-15853408'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:27:01,890 - DEBUG - Response for create_subnet : {'subnet': {'id': '542e71ac-93a7-4e9d-b8d5-705a36f7701f', 'name': '', 'tenant_id': 'c1448a572a16456fbc04acf2916fb552', 'network_id': '7e950bd5-bc75-4e4d-ad49-d3d8bcef5d3d', 'ip_version': 4, 'cidr': '160.54.129.192/26', 'allocation_pools': [{'start': '160.54.129.194', 'end': '160.54.129.254'}], 'gateway_ip': '160.54.129.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.54.129.194', 'tags': [], 'project_id': 'c1448a572a16456fbc04acf2916fb552'}} 2025-08-04 02:27:01,912 - INFO - Created VN ctest-vn-15853408 2025-08-04 02:27:01,967 - DEBUG - VN ctest-vn-15853408 UUID is 7e950bd5-bc75-4e4d-ad49-d3d8bcef5d3d 2025-08-04 02:27:02,151 - DEBUG - Services list from nova: [, , ] 2025-08-04 02:27:03,251 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3747-1) 2025-08-04 02:27:04,447 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3747-1) 2025-08-04 02:27:04,447 - INFO - Waiting for VM ctest-TestBasicVMVNx-35309362-94704710 to be up.. 2025-08-04 02:27:04,548 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 02:27:09,653 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:27:09,653 - INFO - VM name : ctest-TestBasicVMVNx-35309362-94704710 2025-08-04 02:27:09,730 - DEBUG - VM ctest-TestBasicVMVNx-35309362-94704710 ID is a6da5bd2-0e59-4d46-830a-f8fcf010d250 2025-08-04 02:27:09,749 - DEBUG - VM ctest-TestBasicVMVNx-35309362-94704710 launched on Node cn-jenkins-deploy-platform-ansible-os-3747-1 2025-08-04 02:27:09,828 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a6da5bd2-0e59-4d46-830a-f8fcf010d250 2025-08-04 02:27:10,141 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a6da5bd2-0e59-4d46-830a-f8fcf010d250 2025-08-04 02:27:10,179 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5b3a9ccc-cb10-455e-b27d-2a122b74e40c 2025-08-04 02:27:13,446 - 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-08-04 02:27:13,446 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-35309362-94704710 failed! 2025-08-04 02:27:13,504 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-35309362:ctest-vn-15853408 is 160.54.129.193 and allocation pool is NOT set 2025-08-04 02:27:15,569 - 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=4.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.23 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 = 1.233/3.062/4.892/1.829 ms') 2025-08-04 02:27:15,569 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-35309362-94704710 passed 2025-08-04 02:27:15,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:27:15,723 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-35309362-94704710, IP 160.54.129.195, Port 22 2025-08-04 02:27:15,878 - DEBUG - VM ctest-TestBasicVMVNx-35309362-94704710 is ready for SSH connections 2025-08-04 02:27:15,878 - INFO - Waiting for VM ctest-TestBasicVMVNx-35309362-29392911 to be up.. 2025-08-04 02:27:15,960 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:27:15,960 - INFO - VM name : ctest-TestBasicVMVNx-35309362-29392911 2025-08-04 02:27:16,045 - DEBUG - VM ctest-TestBasicVMVNx-35309362-29392911 ID is 956191ea-a573-452e-9a6d-195f505cc364 2025-08-04 02:27:16,045 - DEBUG - VM ctest-TestBasicVMVNx-35309362-29392911 launched on Node cn-jenkins-deploy-platform-ansible-os-3747-1 2025-08-04 02:27:16,120 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/956191ea-a573-452e-9a6d-195f505cc364 2025-08-04 02:27:16,129 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/523821b2-251b-4b19-83ae-daefbb6fb30e 2025-08-04 02:27:17,388 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.731 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.731/1.936/3.142/1.205 ms') 2025-08-04 02:27:17,388 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-35309362-29392911 passed 2025-08-04 02:27:17,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:27:17,543 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-35309362-29392911, IP 160.54.129.196, Port 22 2025-08-04 02:27:17,709 - DEBUG - VM ctest-TestBasicVMVNx-35309362-29392911 is ready for SSH connections 2025-08-04 02:27:17,709 - DEBUG - FILE SIZE = 1303B 2025-08-04 02:27:17,709 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-35309362-94704710 to ctest-TestBasicVMVNx-35309362-29392911 using scp 2025-08-04 02:27:17,711 - 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.50, gateway password: c0ntrail123 2025-08-04 02:27:17,711 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-04 02:27:19,666 - DEBUG - 1+0 records in 1+0 records out 2025-08-04 02:27:20,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:27:20,822 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-04 02:27:20,823 - DEBUG - ls -l testfile 2025-08-04 02:27:22,394 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 3 20:27 testfile 2025-08-04 02:27:22,394 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-35309362-29392911 2025-08-04 02:27:22,395 - INFO - Deleting VM ctest-TestBasicVMVNx-35309362-29392911 2025-08-04 02:27:22,472 - INFO - Deleting VM ctest-TestBasicVMVNx-35309362-94704710 2025-08-04 02:27:22,557 - INFO - Deleting VN ctest-vn-15853408 2025-08-04 02:27:22,598 - DEBUG - VN 7e950bd5-bc75-4e4d-ad49-d3d8bcef5d3d still in use: Unable to complete operation on network 7e950bd5-bc75-4e4d-ad49-d3d8bcef5d3d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7574bf18-8e89-4d4e-a32b-09f2ae162243'] 2025-08-04 02:27:22,598 - WARNING - Deleting VN ctest-vn-15853408 failed..Will retry 2025-08-04 02:27:24,715 - DEBUG - Response for deleting network () 2025-08-04 02:27:24,979 - DEBUG - No XMPP flaps were noticed during the test 2025-08-04 02:27:24,979 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-08-04 02:27:24,979 - INFO - -------------------------------------------------------------------------------- 2025-08-04 02:27:25,678 - INFO - Deleted project: ctest-TestBasicVMVNx-35309362, ID : c1448a57-2a16-456f-bc04-acf2916fb552