Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E70D210629 for ; Thu, 1 Aug 2013 15:47:51 +0000 (UTC) Received: (qmail 17912 invoked by uid 500); 1 Aug 2013 15:47:51 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 17859 invoked by uid 500); 1 Aug 2013 15:47:51 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 17536 invoked by uid 500); 1 Aug 2013 15:47:51 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 17232 invoked by uid 99); 1 Aug 2013 15:47:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Aug 2013 15:47:49 +0000 Date: Thu, 1 Aug 2013 15:47:49 +0000 (UTC) From: "Prasanna Santhanam (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CLOUDSTACK-3865) [Automation] Test cases failed due miss match in template size MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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