[
https://issues.apache.org/jira/browse/CLOUDSTACK-4437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Srikanteswararao Talluri updated CLOUDSTACK-4437:
-------------------------------------------------
Assignee: Srikanteswararao Talluri
> 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
> Assignee: 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