cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanna Santhanam (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-3865) [Automation] Test cases failed due miss match in template size
Date Thu, 01 Aug 2013 15:47:49 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-3865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Prasanna Santhanam resolved CLOUDSTACK-3865.
--------------------------------------------

    Resolution: Cannot Reproduce

I ran this on a xenserver environment but couldn't reproduce the failure: are you seeing this
for a specific hypervisor? 

 nosetests --with-marvin --marvin-config=setup/dev/advanced.cfg test/integration/component/test_blocker_bugs.py
--load -a speed=slow
TS_BUG_009-Test the size of template created from root disk ... ok
TS_BUG_010-Test check size of snapshot and template ... ok
TS_BUG_011-Test Reusing deleted template name ... ok

----------------------------------------------------------------------
Ran 3 tests in 222.312s

OK

I have added some logs to show the exact mismatch in template size. if it is a minor mismatch
in KB we can adjust the assert. If it is large, please reopen the defect with testcase failure
logs.

                
> [Automation] Test cases failed due miss match in template size 
> ---------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3865
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3865
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation
>    Affects Versions: 4.2.0
>         Environment: Automation
>            Reporter: Rayees Namathponnan
>            Assignee: Prasanna Santhanam
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> Test cases failed to miss match in template size
> integration.component.test_blocker_bugs.TestTemplates.test_02_check_size_snapshotTemplate
and integration.component.test_blocker_bugs.TestTemplates.test_02_check_size_snapshotTemplate
> Observed below error 
> Check if size of snapshot and template matches
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestTemplates: DEBUG: Created snapshot with ID: 91340fe1-8697-42ec-a548-542365c9831f
> testclient.testcase.TestTemplates: DEBUG: Created template from snapshot with ID: fd7402db-038c-4b0f-ad09-461a0c17096f
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_blocker_bugs.py", line
884, in test_02_check_size_snapshotTemplate
>     "Check if size of snapshot and template matches"
>   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)
> Check if size of snapshot and template matches
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestTemplates: DEBUG: Created snapshot with ID: 91340fe1-8697-42ec-a548-542365c9831f
> testclient.testcase.TestTemplates: DEBUG: Created template from snapshot with ID: fd7402db-038c-4b0f-ad09-461a0c17096f
> --------------------- >> 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