[ https://issues.apache.org/jira/browse/CLOUDSTACK-7555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14147472#comment-14147472 ]
ASF subversion and git services commented on CLOUDSTACK-7555: ------------------------------------------------------------- Commit f3252db797a6d53a1922a60b29cd6b4914de7d51 in cloudstack's branch refs/heads/master from [~chandanp] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f3252db ] CLOUDSTACK-7555 - Fixed the test_usage script - Template now belongs to the Regular Account to test TEMPLATE.CREATE Event Signed-off-by: SrikanteswaraRao Talluri <tall...@apache.org> > [Automation] FIx the script - /component/test_usage.py - Template should > belong to the Regular Account to test TEMPLATE.CREATE Event > ------------------------------------------------------------------------------------------------------------------------------------ > > Key: CLOUDSTACK-7555 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7555 > 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: Chandan Purushothama > Priority: Critical > Fix For: 4.5.0 > > > *TestTemplateUsage.test_01_template_usage* fails with the following error > message & Stack Trace > {noformat} > Stacktrace > File "/usr/lib/python2.7/unittest/case.py", line 332, in run > testMethod() > File "/root/cloudstack/test/integration/component/test_usage.py", line 802, > in test_01_template_usage > "Check TEMPLATE.CREATE event in events table" > File "/usr/lib/python2.7/unittest/case.py", line 516, in assertEqual > assertion_func(first, second, msg=msg) > File "/usr/lib/python2.7/unittest/case.py", line 509, in _baseAssertEqual > raise self.failureException(msg) > 'Check TEMPLATE.CREATE event in events table\n > {noformat} > This is because the Template is being created as admin and it belongs to the > admin account. The template should belong to the Regular User in order to > check for the TEMPLATE.CREATE Event. -- This message was sent by Atlassian JIRA (v6.3.4#6332)