You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Girish Shilamkar (JIRA)" <ji...@apache.org> on 2013/12/17 14:08:08 UTC

[jira] [Resolved] (CLOUDSTACK-4634) [Automation] Test cases from test_maximum_limits failed due to expected Exception not raised

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-4634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Girish Shilamkar resolved CLOUDSTACK-4634.
------------------------------------------

    Resolution: Fixed

Merged. Verified in latest KVM and Vmware runs.

> [Automation] Test cases from test_maximum_limits failed due to expected Exception not raised
> --------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4634
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4634
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation, Test
>    Affects Versions: 4.2.1
>         Environment: Automation 
> KVM
>            Reporter: Rayees Namathponnan
>            Assignee: Gaurav Aradhye
>             Fix For: 4.3.0
>
>
> Below test cases failed, due  to expected Exception not raised
> integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits.test_01_deploy_vm_domain_limit_reached 
> integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits.test_03_deploy_vm_project_limit_reached
> integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits.test_04_deployVm__account_limit_reached 
> Observed below error in log
> Error Message
> Exception not raised
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestMaxCPULimits: DEBUG: Creating service offering with 3 CPU cores
> testclient.testcase.TestMaxCPULimits: DEBUG: Setting up account and domain hierarchy
> testclient.testcase.TestMaxCPULimits: DEBUG: Creating a domain under: ROOT
> testclient.testcase.TestMaxCPULimits: DEBUG: domain crated with domain id 058cb988-a6cf-47c3-a869-fe6492bc1351
> testclient.testcase.TestMaxCPULimits: DEBUG: domain admin created for domain id 058cb988-a6cf-47c3-a869-fe6492bc1351
> testclient.testcase.TestMaxCPULimits: DEBUG: Updating the CPU resource count for domain: Domain-T412MM
> testclient.testcase.TestMaxCPULimits: DEBUG: CPU Resource count for child domain admin account is now: 4
> testclient.testcase.TestMaxCPULimits: DEBUG: Updating the CPU limit for project
> testclient.testcase.TestMaxCPULimits: DEBUG: CPU Resource count for project is now
> testclient.testcase.TestMaxCPULimits: DEBUG: 2
> testclient.testcase.TestMaxCPULimits: DEBUG: Updating the CPU limit for domain only
> testclient.testcase.TestMaxCPULimits: DEBUG: CPU Resource count for domain Domain-T412MM with id 058cb988-a6cf-47c3-a869-fe6492bc1351 is now 2
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File "/Repo_30X/ipcl/cloudstack/test/integration/component/cpu_limits/test_maximum_limits.py", line 260, in test_01_deploy_vm_domain_limit_reached
>     service_off=self.service_offering, api_client=api_client_admin)
>   File "/usr/local/lib/python2.7/unittest/case.py", line 112, in __exit__
>     "{0} not raised".format(exc_name))
> Exception not raised
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestMaxCPULimits: DEBUG: Creating service offering with 3 CPU cores
> testclient.testcase.TestMaxCPULimits: DEBUG: Setting up account and domain hierarchy
> testclient.testcase.TestMaxCPULimits: DEBUG: Creating a domain under: ROOT
> testclient.testcase.TestMaxCPULimits: DEBUG: domain crated with domain id 058cb988-a6cf-47c3-a869-fe6492bc1351
> testclient.testcase.TestMaxCPULimits: DEBUG: domain admin created for domain id 058cb988-a6cf-47c3-a869-fe6492bc1351
> testclient.testcase.TestMaxCPULimits: DEBUG: Updating the CPU resource count for domain: Domain-T412MM
> testclient.testcase.TestMaxCPULimits: DEBUG: CPU Resource count for child domain admin account is now: 4
> testclient.testcase.TestMaxCPULimits: DEBUG: Updating the CPU limit for project
> testclient.testcase.TestMaxCPULimits: DEBUG: CPU Resource count for project is now
> testclient.testcase.TestMaxCPULimits: DEBUG: 2
> testclient.testcase.TestMaxCPULimits: DEBUG: Updating the CPU limit for domain only
> testclient.testcase.TestMaxCPULimits: DEBUG: CPU Resource count for domain Domain-T412MM with id 058cb988-a6cf-47c3-a869-fe6492bc1351 is now 2
> --------------------- >> end captured logging << ---------------------



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)