2025-02-03 09:10:57,862 - INFO - Domain Default found not creating 2025-02-03 09:10:58,020 - INFO - Project ctest-TestBasicVMVNx-97699421 not found, creating it 2025-02-03 09:10:58,506 - INFO - Created Project:ctest-TestBasicVMVNx-97699421, ID : 2ceb1a1d-4356-4338-ac71-5bdf9ad0dc7d 2025-02-03 09:10:59,935 - INFO - ================================================================================ 2025-02-03 09:10:59,935 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-03 09:10:59,935 - 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-02-03 09:11:00,189 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.7': '0'}} with 2025-02-03 09:11:00,189 - INFO - Initial checks done. Running the testcase now 2025-02-03 09:11:00,189 - INFO - 2025-02-03 09:11:00,752 - DEBUG - Response for create_network : {'network': {'id': 'f6252d2c-0030-4eff-b072-69e7162d2c58', 'name': 'ctest-vn-37151929', 'tenant_id': '2ceb1a1d43564338ac715bdf9ad0dc7d', 'project_id': '2ceb1a1d43564338ac715bdf9ad0dc7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-97699421', 'ctest-vn-37151929'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 09:11:00,933 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a96233cb-0288-486c-ae90-ee734f645cec', 'name': '', 'tenant_id': '2ceb1a1d43564338ac715bdf9ad0dc7d', 'network_id': 'f6252d2c-0030-4eff-b072-69e7162d2c58', 'ip_version': 4, 'cidr': '12.20.185.192/26', 'allocation_pools': [{'start': '12.20.185.194', 'end': '12.20.185.254'}], 'gateway_ip': '12.20.185.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.20.185.194', 'tags': [], 'project_id': '2ceb1a1d43564338ac715bdf9ad0dc7d'}} 2025-02-03 09:11:00,952 - INFO - Created VN ctest-vn-37151929 2025-02-03 09:11:01,006 - DEBUG - VN ctest-vn-37151929 UUID is f6252d2c-0030-4eff-b072-69e7162d2c58 2025-02-03 09:11:01,176 - DEBUG - Services list from nova: [, , ] 2025-02-03 09:11:02,192 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2676-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2676-1) 2025-02-03 09:11:03,626 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2676-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2676-1) 2025-02-03 09:11:03,626 - INFO - Waiting for VM ctest-TestBasicVMVNx-97699421-55770916 to be up.. 2025-02-03 09:11:03,734 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-03 09:11:08,819 - DEBUG - VM is in ACTIVE state now 2025-02-03 09:11:08,820 - INFO - VM name : ctest-TestBasicVMVNx-97699421-55770916 2025-02-03 09:11:08,895 - DEBUG - VM ctest-TestBasicVMVNx-97699421-55770916 ID is 7453d626-f980-4fd7-bf5d-6d7d3b7973b9 2025-02-03 09:11:08,913 - DEBUG - VM ctest-TestBasicVMVNx-97699421-55770916 launched on Node cn-jenkins-deploy-platform-ansible-os-2676-1 2025-02-03 09:11:08,988 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/7453d626-f980-4fd7-bf5d-6d7d3b7973b9 2025-02-03 09:11:09,282 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/7453d626-f980-4fd7-bf5d-6d7d3b7973b9 2025-02-03 09:11:09,314 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/6b428d13-28f6-411a-9ff7-d8d997954cba 2025-02-03 09:11:12,587 - 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 1023ms') 2025-02-03 09:11:12,587 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-97699421-55770916 failed! 2025-02-03 09:11:12,642 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-97699421:ctest-vn-37151929 is 12.20.185.193 and allocation pool is NOT set 2025-02-03 09:11:14,704 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.811 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.811/2.069/3.327/1.258 ms') 2025-02-03 09:11:14,704 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-97699421-55770916 passed 2025-02-03 09:11:14,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 09:11:14,854 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97699421-55770916, IP 12.20.185.195, Port 22 2025-02-03 09:11:15,020 - DEBUG - VM ctest-TestBasicVMVNx-97699421-55770916 is ready for SSH connections 2025-02-03 09:11:15,020 - INFO - Waiting for VM ctest-TestBasicVMVNx-97699421-19472479 to be up.. 2025-02-03 09:11:15,110 - DEBUG - VM is in ACTIVE state now 2025-02-03 09:11:15,110 - INFO - VM name : ctest-TestBasicVMVNx-97699421-19472479 2025-02-03 09:11:15,188 - DEBUG - VM ctest-TestBasicVMVNx-97699421-19472479 ID is 4a70b5ce-4de7-44bc-ba60-559070511808 2025-02-03 09:11:15,189 - DEBUG - VM ctest-TestBasicVMVNx-97699421-19472479 launched on Node cn-jenkins-deploy-platform-ansible-os-2676-1 2025-02-03 09:11:15,266 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/4a70b5ce-4de7-44bc-ba60-559070511808 2025-02-03 09:11:15,275 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/1da09d5e-baa6-469f-9aab-1812dc3a2767 2025-02-03 09:11:16,517 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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.416/1.658/2.900/1.242 ms') 2025-02-03 09:11:16,517 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-97699421-19472479 passed 2025-02-03 09:11:16,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 09:11:16,670 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-97699421-19472479, IP 12.20.185.196, Port 22 2025-02-03 09:11:16,830 - DEBUG - VM ctest-TestBasicVMVNx-97699421-19472479 is ready for SSH connections 2025-02-03 09:11:16,830 - DEBUG - FILE SIZE = 1303B 2025-02-03 09:11:16,830 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-97699421-55770916 to ctest-TestBasicVMVNx-97699421-19472479 using scp 2025-02-03 09:11:16,831 - 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.24, gateway password: c0ntrail123 2025-02-03 09:11:16,831 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-03 09:11:18,728 - DEBUG - 1+0 records in 1+0 records out 2025-02-03 09:11:19,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 09:11:19,658 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-02-03 09:11:19,658 - DEBUG - ls -l testfile 2025-02-03 09:11:21,239 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 3 02:11 testfile 2025-02-03 09:11:21,239 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-97699421-19472479 2025-02-03 09:11:21,239 - INFO - Deleting VM ctest-TestBasicVMVNx-97699421-19472479 2025-02-03 09:11:21,309 - INFO - Deleting VM ctest-TestBasicVMVNx-97699421-55770916 2025-02-03 09:11:21,374 - INFO - Deleting VN ctest-vn-37151929 2025-02-03 09:11:21,412 - DEBUG - VN f6252d2c-0030-4eff-b072-69e7162d2c58 still in use: Unable to complete operation on network f6252d2c-0030-4eff-b072-69e7162d2c58. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-411b9e6f-6bf0-434c-9b8a-53770785a526'] 2025-02-03 09:11:21,412 - WARNING - Deleting VN ctest-vn-37151929 failed..Will retry 2025-02-03 09:11:23,525 - DEBUG - Response for deleting network () 2025-02-03 09:11:23,780 - DEBUG - No XMPP flaps were noticed during the test
2025-02-03 09:11:23,780 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-02-03 09:11:23,781 - INFO - -------------------------------------------------------------------------------- 2025-02-03 09:11:24,442 - INFO - Deleted project: ctest-TestBasicVMVNx-97699421, ID : 2ceb1a1d-4356-4338-ac71-5bdf9ad0dc7d