cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srikanteswararao Talluri (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-4437) Fix iso usage event count to match the number of image stores
Date Thu, 22 Aug 2013 05:44:52 GMT
Srikanteswararao Talluri created CLOUDSTACK-4437:
----------------------------------------------------

             Summary: Fix iso usage event count to match the number of image stores
                 Key: CLOUDSTACK-4437
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4437
             Project: CloudStack
          Issue Type: Test
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Test
    Affects Versions: 4.2.1
            Reporter: Srikanteswararao Talluri
             Fix For: 4.2.1


Check ISO.CREATE event in events table
-------------------- >> begin captured logging << --------------------
testclient.testcase.TestISOUsage: DEBUG: Deleting ISO with ID: e99eaac5-8ab3-454b-978b-09f0255dc399
testclient.testcase.TestISOUsage: DEBUG: select project_account_id from projects where uuid
= '361e1eba-cdc9-4568-8738-ef209afc66f0';
testclient.testcase.TestISOUsage: DEBUG: select type from usage_event where account_id = '369';
testclient.testcase.TestISOUsage: DEBUG: Query result: [(u'ISO.CREATE',), (u'ISO.CREATE',),
(u'ISO.DELETE',), (u'ISO.DELETE',)]
--------------------- >> end captured logging << ---------------------
Stacktrace

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
    testMethod()
  File "/root/cloudstack/test/integration/component/test_project_usage.py", line 977, in test_01_ISO_usage
    "Check ISO.CREATE event in events table"
  File "/usr/local/lib/python2.7/unittest/case.py", line 494, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/local/lib/python2.7/unittest/case.py", line 487, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: Check ISO.CREATE event in events table
-------------------- >> begin captured logging << --------------------
testclient.testcase.TestISOUsage: DEBUG: Deleting ISO with ID: e99eaac5-8ab3-454b-978b-09f0255dc399
testclient.testcase.TestISOUsage: DEBUG: select project_account_id from projects where uuid
= '361e1eba-cdc9-4568-8738-ef209afc66f0';
testclient.testcase.TestISOUsage: DEBUG: select type from usage_event where account_id = '369';
testclient.testcase.TestISOUsage: DEBUG: Query result: [(u'ISO.CREATE',), (u'ISO.CREATE',),
(u'ISO.DELETE',), (u'ISO.DELETE',)]
--------------------- >> 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

Mime
View raw message