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

Rayees Namathponnan commented on CLOUDSTACK-4634:
-------------------------------------------------

Same error even after fixing 


rror Message

Exception not raised
-------------------- >> begin captured logging << --------------------
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
Creating service offering with 3 CPU cores
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
Setting up account and domain hierarchy
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
Creating a domain under: ROOT
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
domain crated with domain id 0a46cd52-59e2-4050-b306-8dd12a53da87
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
domain admin created for domain id 0a46cd52-59e2-4050-b306-8dd12a53da87
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
Updating the CPU resource count for domain: Domain-BJ73FO
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
CPU Resource count for child domain admin account is now: 4
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
Updating the CPU limit for project
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
CPU Resource count for project is now
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
2
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
Updating the CPU limit for domain only
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
CPU Resource count for domain Domain-BJ73FO with id 
0a46cd52-59e2-4050-b306-8dd12a53da87 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 << --------------------
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
Creating service offering with 3 CPU cores
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
Setting up account and domain hierarchy
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
Creating a domain under: ROOT
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
domain crated with domain id 0a46cd52-59e2-4050-b306-8dd12a53da87
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
domain admin created for domain id 0a46cd52-59e2-4050-b306-8dd12a53da87
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
Updating the CPU resource count for domain: Domain-BJ73FO
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
CPU Resource count for child domain admin account is now: 4
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
Updating the CPU limit for project
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
CPU Resource count for project is now
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
2
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
Updating the CPU limit for domain only
test_01_deploy_vm_domain_limit_reached 
(integration.component.cpu_limits.test_maximum_limits.TestMaxCPULimits): DEBUG: 
CPU Resource count for domain Domain-BJ73FO with id 
0a46cd52-59e2-4050-b306-8dd12a53da87 is now 2
--------------------- >> end captured logging << ---------------------
                
> [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.2.1
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to