[jira] [Commented] (CLOUDSTACK-7441) [Automation] Fix the script "test_resource_limits.py" - Templates are registered as admin's

2014-09-02 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CLOUDSTACK-7441:
-

Commit 396f29c135e3f384218400a1f64c63a6dbb2a76d in cloudstack's branch 
refs/heads/master from [~gauravaradhye]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=396f29c ]

CLOUDSTACK-7441: Fixed tempalte register issue in test_resource_limits.py

Signed-off-by: SrikanteswaraRao Talluri 


> [Automation] Fix the script "test_resource_limits.py" - Templates are 
> registered as admin's
> ---
>
> Key: CLOUDSTACK-7441
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7441
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation, Test
>Affects Versions: 4.5.0
>Reporter: Chandan Purushothama
>Assignee: Gaurav Aradhye
>Priority: Critical
> Fix For: 4.5.0
>
>
> Two test cases are failing in the test suite: *test_05_templates_per_account* 
> & *test_05_templates_per_domain*
> *Error Message*
> Exception not raised   Logs available at 
> http://xenrt.hq.xensource.com/control/queue.cgi?action=testlogs&id=804076&phase=Parallel&test=resource_limits
> Stacktrace
>   File "/usr/lib/python2.7/unittest/case.py", line 332, in run
> testMethod()
>   File "/root/cloudstack/test/integration/component/test_resource_limits.py", 
> line 844, in test_05_templates_per_account
> domainid=self.account_1.domainid,
>   File "/usr/lib/python2.7/unittest/case.py", line 116, in __exit__
> "{0} not raised".format(exc_name))
> 'Exception not raised\n
> Logs available at 
> http://xenrt.hq.xensource.com/control/queue.cgi?action=testlogs&id=804076&phase=Parallel&test=resource_limits
>
> *Error Message*
> Exception not raised   Logs available at 
> http://xenrt.hq.xensource.com/control/queue.cgi?action=testlogs&id=804076&phase=Parallel&test=resource_limits
> Stacktrace
>   File "/usr/lib/python2.7/unittest/case.py", line 332, in run
> testMethod()
>   File "/root/cloudstack/test/integration/component/test_resource_limits.py", 
> line 1355, in test_05_templates_per_domain
> domainid=self.account.domainid,
>   File "/usr/lib/python2.7/unittest/case.py", line 116, in __exit__
> "{0} not raised".format(exc_name))
> 'Exception not raised\n
> Logs available at 
> http://xenrt.hq.xensource.com/control/queue.cgi?action=testlogs&id=804076&phase=Parallel&test=resource_limits
>
> *Bug Information in the Client result logs:*
> {code}
> ==
> FAIL: Test Templates limit per account
> --
> Traceback (most recent call last):
>   File "/root/cloudstack/test/integration/component/test_resource_limits.py", 
> line 844, in test_05_templates_per_account
> domainid=self.account_1.domainid,
> AssertionError: Exception not raised
>  >> begin captured stdout << -
> === TestName: test_05_templates_per_account | Status : FAILED ===
> .
> .
> .
> .
> test_05_templates_per_account 
> (integration.component.test_resource_limits.TestResourceLimitsAccount): 
> DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-24T14:19:11+', 
> jobresult : {domain : u'ROOT', domainid : 
> u'56ab18f0-2b4d-11e4-89bd-1e5d0e053e75', ostypename : u'CentOS 5.3 (64-bit)', 
> zoneid : u'eb811e7d-59d4-4c72-a965-80d9e30572d1', displaytext : u'Cent OS 
> Template', ostypeid : u'56b1e2f2-2b4d-11e4-89bd-1e5d0e053e75', 
> passwordenabled : False, id : u'c406715b-aa97-4361-a212-32cdfba76b00', size : 
> 21474836480, isready : True, format : u'VHD', templatetype : u'USER', details 
> : {platform : u'viridian:true;acpi:1;apic:true;pae:true;nx:true', 
> Message.ReservedCapacityFreed.Flag : u'false'}, zonename : u'XenRT-Zone-0', 
> status : u'Download Complete', isdynamicallyscalable : False, tags : [], 
> isfeatured : False, sshkeyenabled : False, account : u'admin', isextractable 
> : True, crossZones : False, sourcetemplateid : 
> u'56af8f20-2b4d-11e4-89bd-1e5d0e053e75', name : u'Cent OS Template-LS47A4', 
> created : u'2014-08-24T14:19:11+', hypervisor : u'XenServer', ispublic : 
> False}, cmd : 
> u'org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin', 
> userid : u'77df13d2-2b4d-11e4-89bd-1e5d0e053e75', jobstatus : 1, jobid : 
> u'e9295a94-4dfd-4c27-a405-fab4975f0eee', jobresultcode : 0, jobinstanceid : 
> u'c406715b-aa97-4361-a212-32cdfba76b00', jobresulttype : u'object', 
> jobinstancetype : u'Template', accountid : 
> u'77df055e

[jira] [Commented] (CLOUDSTACK-7441) [Automation] Fix the script "test_resource_limits.py" - Templates are registered as admin's

2014-09-15 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CLOUDSTACK-7441:
-

Commit f5ff78947e81b6929ba1223abd84906793d38ece in cloudstack's branch 
refs/heads/master from [~gauravaradhye]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f5ff789 ]

CLOUDSTACK-7441: Fixed template registration issue in test_resource_limits.py

Signed-off-by: SrikanteswaraRao Talluri 


> [Automation] Fix the script "test_resource_limits.py" - Templates are 
> registered as admin's
> ---
>
> Key: CLOUDSTACK-7441
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7441
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation, Test
>Affects Versions: 4.5.0
>Reporter: Chandan Purushothama
>Assignee: Gaurav Aradhye
>Priority: Critical
> Fix For: 4.5.0
>
>
> Two test cases are failing in the test suite: *test_05_templates_per_account* 
> & *test_05_templates_per_domain*
> *Error Message*
> Exception not raised   Logs available at 
> http://xenrt.hq.xensource.com/control/queue.cgi?action=testlogs&id=804076&phase=Parallel&test=resource_limits
> Stacktrace
>   File "/usr/lib/python2.7/unittest/case.py", line 332, in run
> testMethod()
>   File "/root/cloudstack/test/integration/component/test_resource_limits.py", 
> line 844, in test_05_templates_per_account
> domainid=self.account_1.domainid,
>   File "/usr/lib/python2.7/unittest/case.py", line 116, in __exit__
> "{0} not raised".format(exc_name))
> 'Exception not raised\n
> Logs available at 
> http://xenrt.hq.xensource.com/control/queue.cgi?action=testlogs&id=804076&phase=Parallel&test=resource_limits
>
> *Error Message*
> Exception not raised   Logs available at 
> http://xenrt.hq.xensource.com/control/queue.cgi?action=testlogs&id=804076&phase=Parallel&test=resource_limits
> Stacktrace
>   File "/usr/lib/python2.7/unittest/case.py", line 332, in run
> testMethod()
>   File "/root/cloudstack/test/integration/component/test_resource_limits.py", 
> line 1355, in test_05_templates_per_domain
> domainid=self.account.domainid,
>   File "/usr/lib/python2.7/unittest/case.py", line 116, in __exit__
> "{0} not raised".format(exc_name))
> 'Exception not raised\n
> Logs available at 
> http://xenrt.hq.xensource.com/control/queue.cgi?action=testlogs&id=804076&phase=Parallel&test=resource_limits
>
> *Bug Information in the Client result logs:*
> {code}
> ==
> FAIL: Test Templates limit per account
> --
> Traceback (most recent call last):
>   File "/root/cloudstack/test/integration/component/test_resource_limits.py", 
> line 844, in test_05_templates_per_account
> domainid=self.account_1.domainid,
> AssertionError: Exception not raised
>  >> begin captured stdout << -
> === TestName: test_05_templates_per_account | Status : FAILED ===
> .
> .
> .
> .
> test_05_templates_per_account 
> (integration.component.test_resource_limits.TestResourceLimitsAccount): 
> DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-24T14:19:11+', 
> jobresult : {domain : u'ROOT', domainid : 
> u'56ab18f0-2b4d-11e4-89bd-1e5d0e053e75', ostypename : u'CentOS 5.3 (64-bit)', 
> zoneid : u'eb811e7d-59d4-4c72-a965-80d9e30572d1', displaytext : u'Cent OS 
> Template', ostypeid : u'56b1e2f2-2b4d-11e4-89bd-1e5d0e053e75', 
> passwordenabled : False, id : u'c406715b-aa97-4361-a212-32cdfba76b00', size : 
> 21474836480, isready : True, format : u'VHD', templatetype : u'USER', details 
> : {platform : u'viridian:true;acpi:1;apic:true;pae:true;nx:true', 
> Message.ReservedCapacityFreed.Flag : u'false'}, zonename : u'XenRT-Zone-0', 
> status : u'Download Complete', isdynamicallyscalable : False, tags : [], 
> isfeatured : False, sshkeyenabled : False, account : u'admin', isextractable 
> : True, crossZones : False, sourcetemplateid : 
> u'56af8f20-2b4d-11e4-89bd-1e5d0e053e75', name : u'Cent OS Template-LS47A4', 
> created : u'2014-08-24T14:19:11+', hypervisor : u'XenServer', ispublic : 
> False}, cmd : 
> u'org.apache.cloudstack.api.command.admin.template.CreateTemplateCmdByAdmin', 
> userid : u'77df13d2-2b4d-11e4-89bd-1e5d0e053e75', jobstatus : 1, jobid : 
> u'e9295a94-4dfd-4c27-a405-fab4975f0eee', jobresultcode : 0, jobinstanceid : 
> u'c406715b-aa97-4361-a212-32cdfba76b00', jobresulttype : u'object', 
> jobinstancetype : u'Template', accountid : 
> u'77df