2024-09-13 14:42:16,595 - INFO - Domain Default found not creating 2024-09-13 14:42:16,810 - INFO - Project ctest-TestBasicVMVNx-40172860 not found, creating it 2024-09-13 14:42:17,407 - INFO - Created Project:ctest-TestBasicVMVNx-40172860, ID : ca87b28a-7fab-4429-82c9-b8209ea471b8 2024-09-13 14:42:18,964 - INFO - ================================================================================ 2024-09-13 14:42:18,965 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-13 14:42:18,965 - 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 2024-09-13 14:42:19,217 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.20': '0'}} with 2024-09-13 14:42:19,218 - INFO - Initial checks done. Running the testcase now 2024-09-13 14:42:19,218 - INFO - 2024-09-13 14:42:19,791 - DEBUG - Response for create_network : {'network': {'id': 'f196d9b8-808b-4bc7-9b5d-f27639e2391f', 'name': 'ctest-vn-76490062', 'tenant_id': 'ca87b28a7fab442982c9b8209ea471b8', 'project_id': 'ca87b28a7fab442982c9b8209ea471b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-40172860', 'ctest-vn-76490062'], 'port_security_enabled': True, 'description': ''}} 2024-09-13 14:42:20,030 - DEBUG - Response for create_subnet : {'subnet': {'id': '74386d80-f45c-4d0d-98df-6bc5e7c204be', 'name': '', 'tenant_id': 'ca87b28a7fab442982c9b8209ea471b8', 'network_id': 'f196d9b8-808b-4bc7-9b5d-f27639e2391f', 'ip_version': 4, 'cidr': '4.221.133.192/26', 'allocation_pools': [{'start': '4.221.133.194', 'end': '4.221.133.254'}], 'gateway_ip': '4.221.133.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.221.133.194', 'tags': [], 'project_id': 'ca87b28a7fab442982c9b8209ea471b8'}} 2024-09-13 14:42:20,053 - INFO - Created VN ctest-vn-76490062 2024-09-13 14:42:20,112 - DEBUG - VN ctest-vn-76490062 UUID is f196d9b8-808b-4bc7-9b5d-f27639e2391f 2024-09-13 14:42:20,289 - DEBUG - Services list from nova: [, , ] 2024-09-13 14:42:21,479 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1922-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1922-1) 2024-09-13 14:42:22,659 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1922-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1922-1) 2024-09-13 14:42:22,660 - INFO - Waiting for VM ctest-TestBasicVMVNx-40172860-15549493 to be up.. 2024-09-13 14:42:22,846 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-13 14:42:27,933 - DEBUG - VM is in ACTIVE state now 2024-09-13 14:42:27,933 - INFO - VM name : ctest-TestBasicVMVNx-40172860-15549493 2024-09-13 14:42:28,019 - DEBUG - VM ctest-TestBasicVMVNx-40172860-15549493 ID is 26c16215-a016-4080-983f-a1926b3adeca 2024-09-13 14:42:28,053 - DEBUG - VM ctest-TestBasicVMVNx-40172860-15549493 launched on Node cn-jenkins-deploy-platform-ansible-os-1922-1 2024-09-13 14:42:28,144 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/26c16215-a016-4080-983f-a1926b3adeca 2024-09-13 14:42:28,441 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/26c16215-a016-4080-983f-a1926b3adeca 2024-09-13 14:42:28,478 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/781601f8-dd10-4b57-acee-cb27dd53550d 2024-09-13 14:42:31,766 - 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 1021ms') 2024-09-13 14:42:31,766 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-40172860-15549493 failed! 2024-09-13 14:42:31,824 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-40172860:ctest-vn-76490062 is 4.221.133.193 and allocation pool is NOT set 2024-09-13 14:42:35,888 - 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=2 ttl=63 time=10.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 10.142/10.142/10.142/0.000 ms') 2024-09-13 14:42:35,888 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-40172860-15549493 passed 2024-09-13 14:42:36,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:42:36,052 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40172860-15549493, IP 4.221.133.195, Port 22 2024-09-13 14:42:36,211 - DEBUG - VM ctest-TestBasicVMVNx-40172860-15549493 is ready for SSH connections 2024-09-13 14:42:36,211 - INFO - Waiting for VM ctest-TestBasicVMVNx-40172860-95536859 to be up.. 2024-09-13 14:42:36,292 - DEBUG - VM is in ACTIVE state now 2024-09-13 14:42:36,292 - INFO - VM name : ctest-TestBasicVMVNx-40172860-95536859 2024-09-13 14:42:36,369 - DEBUG - VM ctest-TestBasicVMVNx-40172860-95536859 ID is 374f333b-7d4d-4516-8cc2-83cea0d55f09 2024-09-13 14:42:36,369 - DEBUG - VM ctest-TestBasicVMVNx-40172860-95536859 launched on Node cn-jenkins-deploy-platform-ansible-os-1922-1 2024-09-13 14:42:36,449 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/374f333b-7d4d-4516-8cc2-83cea0d55f09 2024-09-13 14:42:36,460 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/31eadf8e-ed1c-4d87-b90c-308bf93ba0f8 2024-09-13 14:42:37,704 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.895 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.895/2.709/4.524/1.814 ms') 2024-09-13 14:42:37,704 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-40172860-95536859 passed 2024-09-13 14:42:37,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:42:37,860 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40172860-95536859, IP 4.221.133.196, Port 22 2024-09-13 14:42:38,014 - DEBUG - VM ctest-TestBasicVMVNx-40172860-95536859 is ready for SSH connections 2024-09-13 14:42:38,015 - DEBUG - FILE SIZE = 1303B 2024-09-13 14:42:38,015 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-40172860-15549493 to ctest-TestBasicVMVNx-40172860-95536859 using scp 2024-09-13 14:42:38,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:42:38,020 - 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.40, gateway password: c0ntrail123 2024-09-13 14:42:38,020 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-13 14:42:39,631 - DEBUG - 1+0 records in 1+0 records out 2024-09-13 14:42:40,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:42:40,525 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2024-09-13 14:42:40,526 - DEBUG - ls -l testfile 2024-09-13 14:42:42,109 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 13 08:42 testfile 2024-09-13 14:42:42,109 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-40172860-95536859 2024-09-13 14:42:42,109 - INFO - Deleting VM ctest-TestBasicVMVNx-40172860-95536859 2024-09-13 14:42:42,181 - INFO - Deleting VM ctest-TestBasicVMVNx-40172860-15549493 2024-09-13 14:42:42,247 - INFO - Deleting VN ctest-vn-76490062 2024-09-13 14:42:42,289 - DEBUG - VN f196d9b8-808b-4bc7-9b5d-f27639e2391f still in use: Unable to complete operation on network f196d9b8-808b-4bc7-9b5d-f27639e2391f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3d0e149c-0b16-4f0f-9aed-b03e08b3840b'] 2024-09-13 14:42:42,290 - WARNING - Deleting VN ctest-vn-76490062 failed..Will retry 2024-09-13 14:42:44,401 - DEBUG - Response for deleting network () 2024-09-13 14:42:44,658 - DEBUG - No XMPP flaps were noticed during the test 2024-09-13 14:42:44,658 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:26] 2024-09-13 14:42:44,658 - INFO - -------------------------------------------------------------------------------- 2024-09-13 14:42:45,356 - INFO - Deleted project: ctest-TestBasicVMVNx-40172860, ID : ca87b28a-7fab-4429-82c9-b8209ea471b8