[
https://issues.apache.org/jira/browse/CLOUDSTACK-4437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747324#comment-13747324
]
ASF subversion and git services commented on CLOUDSTACK-4437:
-------------------------------------------------------------
Commit c36cf73cfb472fe3e9b171747109cdd734c57473 in branch refs/heads/master
from [~srikanti]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=c36cf73 ]
CLOUDSTACK-4437: Fix iso usage event count to match the number of image stores
Signed-off-by: Prasanna Santhanam <[email protected]>
(cherry picked from commit 502b2ff0f90f5b0e8741335643f7710ce650633f)
> 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