2024-08-30 14:53:58,011 - INFO - Domain Default found not creating 2024-08-30 14:53:58,207 - INFO - Project ctest-TestBasicVMVNx-92959356 not found, creating it 2024-08-30 14:53:58,700 - INFO - Created Project:ctest-TestBasicVMVNx-92959356, ID : a5cf1c84-51a1-4819-af3c-ea36b9e1f92a 2024-08-30 14:54:00,298 - INFO - ================================================================================ 2024-08-30 14:54:00,298 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-30 14:54:00,298 - 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-30 14:54:00,555 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.20': '0'}} with 2024-08-30 14:54:00,555 - INFO - Initial checks done. Running the testcase now 2024-08-30 14:54:00,555 - INFO - 2024-08-30 14:54:01,158 - DEBUG - Response for create_network : {'network': {'id': '623a7018-87ec-4c22-ba85-aa5624c2d34c', 'name': 'ctest-vn-99110693', 'tenant_id': 'a5cf1c8451a14819af3cea36b9e1f92a', 'project_id': 'a5cf1c8451a14819af3cea36b9e1f92a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-92959356', 'ctest-vn-99110693'], 'port_security_enabled': True, 'description': ''}} 2024-08-30 14:54:01,364 - DEBUG - Response for create_subnet : {'subnet': {'id': '645b0dea-22d4-4f12-8a86-a63d391d9352', 'name': '', 'tenant_id': 'a5cf1c8451a14819af3cea36b9e1f92a', 'network_id': '623a7018-87ec-4c22-ba85-aa5624c2d34c', 'ip_version': 4, 'cidr': '18.155.24.192/26', 'allocation_pools': [{'start': '18.155.24.194', 'end': '18.155.24.254'}], 'gateway_ip': '18.155.24.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.155.24.194', 'tags': [], 'project_id': 'a5cf1c8451a14819af3cea36b9e1f92a'}} 2024-08-30 14:54:01,384 - INFO - Created VN ctest-vn-99110693 2024-08-30 14:54:01,436 - DEBUG - VN ctest-vn-99110693 UUID is 623a7018-87ec-4c22-ba85-aa5624c2d34c 2024-08-30 14:54:01,610 - DEBUG - Services list from nova: [, , ] 2024-08-30 14:54:02,671 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1823-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1823-1) 2024-08-30 14:54:03,932 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1823-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1823-1) 2024-08-30 14:54:03,932 - INFO - Waiting for VM ctest-TestBasicVMVNx-92959356-10275085 to be up.. 2024-08-30 14:54:04,022 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-30 14:54:09,226 - DEBUG - VM is in ACTIVE state now 2024-08-30 14:54:09,226 - INFO - VM name : ctest-TestBasicVMVNx-92959356-10275085 2024-08-30 14:54:09,313 - DEBUG - VM ctest-TestBasicVMVNx-92959356-10275085 ID is 74b07a5e-88a1-457d-a905-00e2bea42db1 2024-08-30 14:54:09,339 - DEBUG - VM ctest-TestBasicVMVNx-92959356-10275085 launched on Node cn-jenkins-deploy-platform-ansible-os-1823-1 2024-08-30 14:54:09,439 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/74b07a5e-88a1-457d-a905-00e2bea42db1 2024-08-30 14:54:09,749 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/74b07a5e-88a1-457d-a905-00e2bea42db1 2024-08-30 14:54:09,787 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b76cafaa-e32f-4e67-a06f-d64764c433b9 2024-08-30 14:54:13,052 - 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 1031ms') 2024-08-30 14:54:13,052 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-92959356-10275085 failed! 2024-08-30 14:54:13,108 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-92959356:ctest-vn-99110693 is 18.155.24.193 and allocation pool is NOT set 2024-08-30 14:54:15,167 - 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=5.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.83 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.826/3.474/5.123/1.648 ms') 2024-08-30 14:54:15,167 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-92959356-10275085 passed 2024-08-30 14:54:15,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 14:54:15,317 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92959356-10275085, IP 18.155.24.195, Port 22 2024-08-30 14:54:15,488 - DEBUG - VM ctest-TestBasicVMVNx-92959356-10275085 is ready for SSH connections 2024-08-30 14:54:15,488 - INFO - Waiting for VM ctest-TestBasicVMVNx-92959356-52603309 to be up.. 2024-08-30 14:54:15,587 - DEBUG - VM is in ACTIVE state now 2024-08-30 14:54:15,587 - INFO - VM name : ctest-TestBasicVMVNx-92959356-52603309 2024-08-30 14:54:15,692 - DEBUG - VM ctest-TestBasicVMVNx-92959356-52603309 ID is 205bfe44-463f-4d77-82da-a9ac2c676e2a 2024-08-30 14:54:15,692 - DEBUG - VM ctest-TestBasicVMVNx-92959356-52603309 launched on Node cn-jenkins-deploy-platform-ansible-os-1823-1 2024-08-30 14:54:15,783 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/205bfe44-463f-4d77-82da-a9ac2c676e2a 2024-08-30 14:54:15,793 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/393ef3d4-9749-451a-8a50-2c62f1053688 2024-08-30 14:54:17,029 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 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.456/1.596/2.737/1.140 ms') 2024-08-30 14:54:17,029 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-92959356-52603309 passed 2024-08-30 14:54:17,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 14:54:17,180 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92959356-52603309, IP 18.155.24.196, Port 22 2024-08-30 14:54:17,347 - DEBUG - VM ctest-TestBasicVMVNx-92959356-52603309 is ready for SSH connections 2024-08-30 14:54:17,348 - DEBUG - FILE SIZE = 1303B 2024-08-30 14:54:17,348 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-92959356-10275085 to ctest-TestBasicVMVNx-92959356-52603309 using scp 2024-08-30 14:54:17,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 14:54:17,356 - 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.23, gateway password: c0ntrail123 2024-08-30 14:54:17,356 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-30 14:54:19,295 - DEBUG - 1+0 records in 1+0 records out 2024-08-30 14:54:20,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 14:54:20,443 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2024-08-30 14:54:20,444 - DEBUG - ls -l testfile 2024-08-30 14:54:22,116 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 30 08:54 testfile 2024-08-30 14:54:22,117 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-92959356-52603309 2024-08-30 14:54:22,117 - INFO - Deleting VM ctest-TestBasicVMVNx-92959356-52603309 2024-08-30 14:54:22,210 - INFO - Deleting VM ctest-TestBasicVMVNx-92959356-10275085 2024-08-30 14:54:22,291 - INFO - Deleting VN ctest-vn-99110693 2024-08-30 14:54:22,348 - DEBUG - VN 623a7018-87ec-4c22-ba85-aa5624c2d34c still in use: Unable to complete operation on network 623a7018-87ec-4c22-ba85-aa5624c2d34c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-acb56655-6c7a-4fe1-ba14-eafe78065895'] 2024-08-30 14:54:22,348 - WARNING - Deleting VN ctest-vn-99110693 failed..Will retry 2024-08-30 14:54:24,480 - DEBUG - Response for deleting network () 2024-08-30 14:54:24,739 - DEBUG - No XMPP flaps were noticed during the test 2024-08-30 14:54:24,739 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-08-30 14:54:24,739 - INFO - -------------------------------------------------------------------------------- 2024-08-30 14:54:25,478 - INFO - Deleted project: ctest-TestBasicVMVNx-92959356, ID : a5cf1c84-51a1-4819-af3c-ea36b9e1f92a