2024-09-12 02:28:56,319 - INFO - Domain Default found not creating 2024-09-12 02:28:56,519 - INFO - Project ctest-TestBasicVMVNx-99616760 not found, creating it 2024-09-12 02:28:57,005 - INFO - Created Project:ctest-TestBasicVMVNx-99616760, ID : bef513f6-4519-43b4-8cfe-4ce8737a32aa 2024-09-12 02:28:58,667 - INFO - ================================================================================ 2024-09-12 02:28:58,668 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-12 02:28:58,668 - 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-12 02:28:58,928 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.8': '0'}} with 2024-09-12 02:28:58,928 - INFO - Initial checks done. Running the testcase now 2024-09-12 02:28:58,928 - INFO - 2024-09-12 02:28:59,571 - DEBUG - Response for create_network : {'network': {'id': '40130d1f-e8e0-406e-bb9a-16cdad164a59', 'name': 'ctest-vn-22409523', 'tenant_id': 'bef513f6451943b48cfe4ce8737a32aa', 'project_id': 'bef513f6451943b48cfe4ce8737a32aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-99616760', 'ctest-vn-22409523'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 02:28:59,828 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd4e9185-249a-46ae-ba13-e9dbf3d3af72', 'name': '', 'tenant_id': 'bef513f6451943b48cfe4ce8737a32aa', 'network_id': '40130d1f-e8e0-406e-bb9a-16cdad164a59', 'ip_version': 4, 'cidr': '177.9.64.64/26', 'allocation_pools': [{'start': '177.9.64.66', 'end': '177.9.64.126'}], 'gateway_ip': '177.9.64.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.9.64.66', 'tags': [], 'project_id': 'bef513f6451943b48cfe4ce8737a32aa'}} 2024-09-12 02:28:59,850 - INFO - Created VN ctest-vn-22409523 2024-09-12 02:28:59,909 - DEBUG - VN ctest-vn-22409523 UUID is 40130d1f-e8e0-406e-bb9a-16cdad164a59 2024-09-12 02:29:00,098 - DEBUG - Services list from nova: [, , ] 2024-09-12 02:29:01,366 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1904-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1904-1) 2024-09-12 02:29:02,841 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1904-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1904-1) 2024-09-12 02:29:02,842 - INFO - Waiting for VM ctest-TestBasicVMVNx-99616760-28029755 to be up.. 2024-09-12 02:29:03,044 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-12 02:29:08,137 - DEBUG - VM is in ACTIVE state now 2024-09-12 02:29:08,137 - INFO - VM name : ctest-TestBasicVMVNx-99616760-28029755 2024-09-12 02:29:08,221 - DEBUG - VM ctest-TestBasicVMVNx-99616760-28029755 ID is 3b406491-29a9-44fc-aa23-4205a9e60513 2024-09-12 02:29:08,241 - DEBUG - VM ctest-TestBasicVMVNx-99616760-28029755 launched on Node cn-jenkins-deploy-platform-ansible-os-1904-1 2024-09-12 02:29:08,335 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/3b406491-29a9-44fc-aa23-4205a9e60513 2024-09-12 02:29:08,684 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/3b406491-29a9-44fc-aa23-4205a9e60513 2024-09-12 02:29:08,722 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/e4a315f0-3fd8-4904-a8ef-cd0a24c70e56 2024-09-12 02:29:12,009 - 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 1022ms') 2024-09-12 02:29:12,010 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99616760-28029755 failed! 2024-09-12 02:29:12,074 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-99616760:ctest-vn-22409523 is 177.9.64.65 and allocation pool is NOT set 2024-09-12 02:29:14,142 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.912 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.912/3.280/5.649/2.368 ms') 2024-09-12 02:29:14,143 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99616760-28029755 passed 2024-09-12 02:29:14,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 02:29:14,302 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99616760-28029755, IP 177.9.64.67, Port 22 2024-09-12 02:29:14,457 - DEBUG - VM ctest-TestBasicVMVNx-99616760-28029755 is ready for SSH connections 2024-09-12 02:29:14,457 - INFO - Waiting for VM ctest-TestBasicVMVNx-99616760-76711052 to be up.. 2024-09-12 02:29:14,547 - DEBUG - VM is in ACTIVE state now 2024-09-12 02:29:14,548 - INFO - VM name : ctest-TestBasicVMVNx-99616760-76711052 2024-09-12 02:29:14,632 - DEBUG - VM ctest-TestBasicVMVNx-99616760-76711052 ID is 014647ff-9168-47f3-9728-e43c4f69b36d 2024-09-12 02:29:14,633 - DEBUG - VM ctest-TestBasicVMVNx-99616760-76711052 launched on Node cn-jenkins-deploy-platform-ansible-os-1904-1 2024-09-12 02:29:14,720 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/014647ff-9168-47f3-9728-e43c4f69b36d 2024-09-12 02:29:14,731 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/b8a22580-3d49-45db-bfbc-f4dc084e8965 2024-09-12 02:29:15,993 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.515 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.515/2.397/4.280/1.882 ms') 2024-09-12 02:29:15,994 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-99616760-76711052 passed 2024-09-12 02:29:16,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 02:29:16,157 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99616760-76711052, IP 177.9.64.68, Port 22 2024-09-12 02:29:16,313 - DEBUG - VM ctest-TestBasicVMVNx-99616760-76711052 is ready for SSH connections 2024-09-12 02:29:16,313 - DEBUG - FILE SIZE = 1303B 2024-09-12 02:29:16,313 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-99616760-28029755 to ctest-TestBasicVMVNx-99616760-76711052 using scp 2024-09-12 02:29:16,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 02:29:16,319 - 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.32, gateway password: c0ntrail123 2024-09-12 02:29:16,319 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-12 02:29:18,323 - DEBUG - 1+0 records in 1+0 records out 2024-09-12 02:29:18,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 02:29:19,314 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-09-12 02:29:19,314 - DEBUG - ls -l testfile 2024-09-12 02:29:20,922 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 11 20:29 testfile 2024-09-12 02:29:20,922 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-99616760-76711052 2024-09-12 02:29:20,922 - INFO - Deleting VM ctest-TestBasicVMVNx-99616760-76711052 2024-09-12 02:29:20,995 - INFO - Deleting VM ctest-TestBasicVMVNx-99616760-28029755 2024-09-12 02:29:21,371 - INFO - Deleting VN ctest-vn-22409523 2024-09-12 02:29:21,420 - DEBUG - VN 40130d1f-e8e0-406e-bb9a-16cdad164a59 still in use: Unable to complete operation on network 40130d1f-e8e0-406e-bb9a-16cdad164a59. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-60167708-a9ab-4e0a-a281-ef5cf7601b26'] 2024-09-12 02:29:21,421 - WARNING - Deleting VN ctest-vn-22409523 failed..Will retry 2024-09-12 02:29:23,576 - DEBUG - Response for deleting network () 2024-09-12 02:29:23,848 - DEBUG - No XMPP flaps were noticed during the test
2024-09-12 02:29:23,848 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-09-12 02:29:23,849 - INFO - -------------------------------------------------------------------------------- 2024-09-12 02:29:24,630 - INFO - Deleted project: ctest-TestBasicVMVNx-99616760, ID : bef513f6-4519-43b4-8cfe-4ce8737a32aa