2024-11-07 16:47:09,958 - INFO - Domain Default found not creating 2024-11-07 16:47:10,143 - INFO - Project ctest-TestBasicVMVNx-11163436 not found, creating it 2024-11-07 16:47:10,629 - INFO - Created Project:ctest-TestBasicVMVNx-11163436, ID : 81d47614-a385-4619-ab0b-c8521814d71f 2024-11-07 16:47:12,191 - INFO - ================================================================================ 2024-11-07 16:47:12,191 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-07 16:47:12,191 - 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-11-07 16:47:12,451 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.7': '0'}} with 2024-11-07 16:47:12,451 - INFO - Initial checks done. Running the testcase now 2024-11-07 16:47:12,451 - INFO - 2024-11-07 16:47:13,084 - DEBUG - Response for create_network : {'network': {'id': '1e9d0525-9267-48a5-b168-b4f207673aa4', 'name': 'ctest-vn-19229256', 'tenant_id': '81d47614a3854619ab0bc8521814d71f', 'project_id': '81d47614a3854619ab0bc8521814d71f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-11163436', 'ctest-vn-19229256'], 'port_security_enabled': True, 'description': ''}} 2024-11-07 16:47:13,300 - DEBUG - Response for create_subnet : {'subnet': {'id': '509ea80d-c37f-4478-a0c6-61c7a2118430', 'name': '', 'tenant_id': '81d47614a3854619ab0bc8521814d71f', 'network_id': '1e9d0525-9267-48a5-b168-b4f207673aa4', 'ip_version': 4, 'cidr': '74.70.121.64/26', 'allocation_pools': [{'start': '74.70.121.66', 'end': '74.70.121.126'}], 'gateway_ip': '74.70.121.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.70.121.66', 'tags': [], 'project_id': '81d47614a3854619ab0bc8521814d71f'}} 2024-11-07 16:47:13,327 - INFO - Created VN ctest-vn-19229256 2024-11-07 16:47:13,389 - DEBUG - VN ctest-vn-19229256 UUID is 1e9d0525-9267-48a5-b168-b4f207673aa4 2024-11-07 16:47:13,578 - DEBUG - Services list from nova: [, , ] 2024-11-07 16:47:14,709 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2219-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2219-1) 2024-11-07 16:47:15,980 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2219-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2219-1) 2024-11-07 16:47:15,982 - INFO - Waiting for VM ctest-TestBasicVMVNx-11163436-58420530 to be up.. 2024-11-07 16:47:16,086 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-07 16:47:21,231 - DEBUG - VM is in ACTIVE state now 2024-11-07 16:47:21,231 - INFO - VM name : ctest-TestBasicVMVNx-11163436-58420530 2024-11-07 16:47:21,336 - DEBUG - VM ctest-TestBasicVMVNx-11163436-58420530 ID is d8ca867d-2b32-4f65-a713-e96260a58a44 2024-11-07 16:47:21,380 - DEBUG - VM ctest-TestBasicVMVNx-11163436-58420530 launched on Node cn-jenkins-deploy-platform-ansible-os-2219-1 2024-11-07 16:47:21,491 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d8ca867d-2b32-4f65-a713-e96260a58a44 2024-11-07 16:47:21,795 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d8ca867d-2b32-4f65-a713-e96260a58a44 2024-11-07 16:47:21,837 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/6bd360e4-0909-430d-be1f-0ce002bccd15 2024-11-07 16:47:25,115 - 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 1013ms') 2024-11-07 16:47:25,115 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-11163436-58420530 failed! 2024-11-07 16:47:25,189 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-11163436:ctest-vn-19229256 is 74.70.121.65 and allocation pool is NOT set 2024-11-07 16:47:27,248 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.827 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.827/3.272/5.717/2.445 ms') 2024-11-07 16:47:27,248 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-11163436-58420530 passed 2024-11-07 16:47:27,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:47:27,409 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-11163436-58420530, IP 74.70.121.67, Port 22 2024-11-07 16:47:27,569 - DEBUG - VM ctest-TestBasicVMVNx-11163436-58420530 is ready for SSH connections 2024-11-07 16:47:27,569 - INFO - Waiting for VM ctest-TestBasicVMVNx-11163436-40546629 to be up.. 2024-11-07 16:47:27,673 - DEBUG - VM is in ACTIVE state now 2024-11-07 16:47:27,674 - INFO - VM name : ctest-TestBasicVMVNx-11163436-40546629 2024-11-07 16:47:27,856 - DEBUG - VM ctest-TestBasicVMVNx-11163436-40546629 ID is 78f50627-2d77-4fa9-9cc5-2804f1b92c12 2024-11-07 16:47:27,856 - DEBUG - VM ctest-TestBasicVMVNx-11163436-40546629 launched on Node cn-jenkins-deploy-platform-ansible-os-2219-1 2024-11-07 16:47:27,951 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/78f50627-2d77-4fa9-9cc5-2804f1b92c12 2024-11-07 16:47:27,961 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/19264749-38ea-4de1-b8cf-83900929647b 2024-11-07 16:47:29,214 - 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=3.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.405 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.405/1.983/3.562/1.578 ms') 2024-11-07 16:47:29,214 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-11163436-40546629 passed 2024-11-07 16:47:29,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:47:29,373 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-11163436-40546629, IP 74.70.121.68, Port 22 2024-11-07 16:47:29,529 - DEBUG - VM ctest-TestBasicVMVNx-11163436-40546629 is ready for SSH connections 2024-11-07 16:47:29,529 - DEBUG - FILE SIZE = 1303B 2024-11-07 16:47:29,529 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-11163436-58420530 to ctest-TestBasicVMVNx-11163436-40546629 using scp 2024-11-07 16:47:29,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:47:29,535 - 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.41, gateway password: c0ntrail123 2024-11-07 16:47:29,535 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-07 16:47:31,460 - DEBUG - 1+0 records in 1+0 records out 2024-11-07 16:47:32,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:47:32,613 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-11-07 16:47:32,614 - DEBUG - ls -l testfile 2024-11-07 16:47:34,229 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 7 09:47 testfile 2024-11-07 16:47:34,229 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-11163436-40546629 2024-11-07 16:47:34,229 - INFO - Deleting VM ctest-TestBasicVMVNx-11163436-40546629 2024-11-07 16:47:34,306 - INFO - Deleting VM ctest-TestBasicVMVNx-11163436-58420530 2024-11-07 16:47:34,376 - INFO - Deleting VN ctest-vn-19229256 2024-11-07 16:47:34,422 - DEBUG - VN 1e9d0525-9267-48a5-b168-b4f207673aa4 still in use: Unable to complete operation on network 1e9d0525-9267-48a5-b168-b4f207673aa4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-adf6d7cd-ae3c-4c58-9153-44377ce17b07'] 2024-11-07 16:47:34,422 - WARNING - Deleting VN ctest-vn-19229256 failed..Will retry 2024-11-07 16:47:36,596 - DEBUG - Response for deleting network () 2024-11-07 16:47:36,856 - DEBUG - No XMPP flaps were noticed during the test
2024-11-07 16:47:36,857 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-11-07 16:47:36,857 - INFO - -------------------------------------------------------------------------------- 2024-11-07 16:47:37,581 - INFO - Deleted project: ctest-TestBasicVMVNx-11163436, ID : 81d47614-a385-4619-ab0b-c8521814d71f