[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16394751#comment-16394751
 ] 

ASF GitHub Bot commented on CLOUDSTACK-10321:
---------------------------------------------

nvazquez commented on issue #2482: CLOUDSTACK-10321: CPU Cap for KVM
URL: https://github.com/apache/cloudstack/pull/2482#issuecomment-372182540
 
 
   @borisstoyanov failing test passes on my local environment:
   
   ````
   nicolas@nicolas-M4700:~/cloudstack$ cat 
/tmp//MarvinLogs/test_service_offerings_MOB691/results.txt 
   Test CPU Cap on KVM ... === TestName: test_01_service_offering_cpu_limit_use 
| Status : SUCCESS ===
   ok
   Test to create service offering ... === TestName: 
test_01_create_service_offering | Status : SUCCESS ===
   ok
   Test to update existing service offering ... === TestName: 
test_02_edit_service_offering | Status : SUCCESS ===
   ok
   Test to delete service offering ... === TestName: 
test_03_delete_service_offering | Status : SUCCESS ===
   ok
   Test to change service to a small capacity ... === TestName: 
test_04_change_offering_small | Status : SUCCESS ===
   ok
   
   ----------------------------------------------------------------------
   Ran 5 tests in 887.243s
   
   OK
   ````
   New test uses information on 'host_details' table to ssh into the KVM host 
running the VM. From BlueOrangutan logs we can see that ssh cannot be performed:
   ````
   2018-03-10 22:03:33,761 - CRITICAL - EXCEPTION: 
test_01_service_offering_cpu_limit_use: ['Traceback (most recent call 
last):\n', '  File "/usr/lib64/python2.7/unittest/case.py", line 369, in run\n  
  testMethod()\n', '  File 
"/usr/lib/python2.7/site-packages/marvin/lib/decoratorGenerators.py", line 30, 
in test_wrapper\n    return test(self, *args, **kwargs)\n', '  File 
"/marvin/tests/smoke/test_service_offerings.py", line 549, in 
test_01_service_offering_cpu_limit_use\n    ssh_host = 
self.get_ssh_client(host_id, host_ip_address, host_username, host_password, 
10)\n', '  File "/marvin/tests/smoke/test_service_offerings.py", line 437, in 
get_ssh_client\n    self.fail("Unable to create ssh connection: " % e)\n', 
'TypeError: not all arguments converted during string formatting\n']
   ````

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> CPU Cap for KVM
> ---------------
>
>                 Key: CLOUDSTACK-10321
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10321
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>            Reporter: Nicolas Vazquez
>            Assignee: Nicolas Vazquez
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to