You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Chandan Purushothama (JIRA)" <ji...@apache.org> on 2014/09/16 08:14:33 UTC

[jira] [Created] (CLOUDSTACK-7555) [Automation] FIx the script - /component/test_usage.py - Template should belong to the Regular Account to test TEMPLATE.CREATE Event

Chandan Purushothama created CLOUDSTACK-7555:
------------------------------------------------

             Summary: [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)