2024-08-29 17:12:19,305 - INFO - Domain Default found not creating 2024-08-29 17:12:19,488 - INFO - Project ctest-TestBasicVMVNx-46467297 not found, creating it 2024-08-29 17:12:19,972 - INFO - Created Project:ctest-TestBasicVMVNx-46467297, ID : e7b188b8-bc5e-45c3-8b46-58303229ab1e 2024-08-29 17:12:21,777 - INFO - ================================================================================ 2024-08-29 17:12:21,777 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-29 17:12:21,777 - 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-08-29 17:12:22,108 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.39': '0'}} with 2024-08-29 17:12:22,108 - INFO - Initial checks done. Running the testcase now 2024-08-29 17:12:22,108 - INFO - 2024-08-29 17:12:22,768 - DEBUG - Response for create_network : {'network': {'id': '4b1948be-d721-4dc0-8acd-e09e9fa6698f', 'name': 'ctest-vn-15302795', 'tenant_id': 'e7b188b8bc5e45c38b4658303229ab1e', 'project_id': 'e7b188b8bc5e45c38b4658303229ab1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-46467297', 'ctest-vn-15302795'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 17:12:22,939 - DEBUG - Response for create_subnet : {'subnet': {'id': '84ff63a3-62e1-486f-9614-0607e31d2cf9', 'name': '', 'tenant_id': 'e7b188b8bc5e45c38b4658303229ab1e', 'network_id': '4b1948be-d721-4dc0-8acd-e09e9fa6698f', 'ip_version': 4, 'cidr': '51.73.193.128/26', 'allocation_pools': [{'start': '51.73.193.130', 'end': '51.73.193.190'}], 'gateway_ip': '51.73.193.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.73.193.130', 'tags': [], 'project_id': 'e7b188b8bc5e45c38b4658303229ab1e'}} 2024-08-29 17:12:22,967 - INFO - Created VN ctest-vn-15302795 2024-08-29 17:12:23,019 - DEBUG - VN ctest-vn-15302795 UUID is 4b1948be-d721-4dc0-8acd-e09e9fa6698f 2024-08-29 17:12:23,188 - DEBUG - Services list from nova: [, , ] 2024-08-29 17:12:24,373 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1812-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1812-1) 2024-08-29 17:12:25,551 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1812-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1812-1) 2024-08-29 17:12:25,551 - INFO - Waiting for VM ctest-TestBasicVMVNx-46467297-81501702 to be up.. 2024-08-29 17:12:25,652 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-29 17:12:30,759 - DEBUG - VM is in ACTIVE state now 2024-08-29 17:12:30,759 - INFO - VM name : ctest-TestBasicVMVNx-46467297-81501702 2024-08-29 17:12:30,839 - DEBUG - VM ctest-TestBasicVMVNx-46467297-81501702 ID is 16cc8a7f-d6c9-44a8-951c-9388e48616e5 2024-08-29 17:12:30,863 - DEBUG - VM ctest-TestBasicVMVNx-46467297-81501702 launched on Node cn-jenkins-deploy-platform-ansible-os-1812-1 2024-08-29 17:12:30,945 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/16cc8a7f-d6c9-44a8-951c-9388e48616e5 2024-08-29 17:12:31,302 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/16cc8a7f-d6c9-44a8-951c-9388e48616e5 2024-08-29 17:12:31,351 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/29e06bfc-386e-4c1b-8c9d-cfdf9c9114c6 2024-08-29 17:12:34,601 - 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 1003ms') 2024-08-29 17:12:34,601 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46467297-81501702 failed! 2024-08-29 17:12:34,655 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-46467297:ctest-vn-15302795 is 51.73.193.129 and allocation pool is NOT set 2024-08-29 17:12:36,721 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.821 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.821/2.125/3.429/1.304 ms') 2024-08-29 17:12:36,721 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46467297-81501702 passed 2024-08-29 17:12:36,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 17:12:36,871 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46467297-81501702, IP 51.73.193.131, Port 22 2024-08-29 17:12:37,068 - DEBUG - VM ctest-TestBasicVMVNx-46467297-81501702 is ready for SSH connections 2024-08-29 17:12:37,068 - INFO - Waiting for VM ctest-TestBasicVMVNx-46467297-27104111 to be up.. 2024-08-29 17:12:37,191 - DEBUG - VM is in ACTIVE state now 2024-08-29 17:12:37,191 - INFO - VM name : ctest-TestBasicVMVNx-46467297-27104111 2024-08-29 17:12:37,397 - DEBUG - VM ctest-TestBasicVMVNx-46467297-27104111 ID is 2699b296-8262-48aa-a73c-346ff9e214bf 2024-08-29 17:12:37,397 - DEBUG - VM ctest-TestBasicVMVNx-46467297-27104111 launched on Node cn-jenkins-deploy-platform-ansible-os-1812-1 2024-08-29 17:12:37,492 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/2699b296-8262-48aa-a73c-346ff9e214bf 2024-08-29 17:12:37,501 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/a6eacb55-3080-48df-a4e4-6722b2ee1082 2024-08-29 17:12:38,767 - 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=5.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.598 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.598/3.238/5.878/2.640 ms') 2024-08-29 17:12:38,767 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-46467297-27104111 passed 2024-08-29 17:12:38,919 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 17:12:38,919 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46467297-27104111, IP 51.73.193.132, Port 22 2024-08-29 17:12:39,085 - DEBUG - VM ctest-TestBasicVMVNx-46467297-27104111 is ready for SSH connections 2024-08-29 17:12:39,085 - DEBUG - FILE SIZE = 1303B 2024-08-29 17:12:39,086 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-46467297-81501702 to ctest-TestBasicVMVNx-46467297-27104111 using scp 2024-08-29 17:12:39,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 17:12:39,093 - 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.29, gateway password: c0ntrail123 2024-08-29 17:12:39,093 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-29 17:12:41,104 - DEBUG - 1+0 records in 1+0 records out 2024-08-29 17:12:41,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 17:12:42,282 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-08-29 17:12:42,282 - DEBUG - ls -l testfile 2024-08-29 17:12:43,932 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 29 11:12 testfile 2024-08-29 17:12:43,932 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-46467297-27104111 2024-08-29 17:12:43,933 - INFO - Deleting VM ctest-TestBasicVMVNx-46467297-27104111 2024-08-29 17:12:44,024 - INFO - Deleting VM ctest-TestBasicVMVNx-46467297-81501702 2024-08-29 17:12:44,088 - INFO - Deleting VN ctest-vn-15302795 2024-08-29 17:12:44,143 - DEBUG - VN 4b1948be-d721-4dc0-8acd-e09e9fa6698f still in use: Unable to complete operation on network 4b1948be-d721-4dc0-8acd-e09e9fa6698f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-28599d88-a264-4270-86d6-9565713630b6'] 2024-08-29 17:12:44,143 - WARNING - Deleting VN ctest-vn-15302795 failed..Will retry 2024-08-29 17:12:46,261 - DEBUG - Response for deleting network () 2024-08-29 17:12:46,534 - DEBUG - No XMPP flaps were noticed during the test 2024-08-29 17:12:46,534 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-08-29 17:12:46,534 - INFO - -------------------------------------------------------------------------------- 2024-08-29 17:12:47,286 - INFO - Deleted project: ctest-TestBasicVMVNx-46467297, ID : e7b188b8-bc5e-45c3-8b46-58303229ab1e