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 E909211108 for ; Tue, 9 Sep 2014 19:23:29 +0000 (UTC) Received: (qmail 92506 invoked by uid 500); 9 Sep 2014 19:23:29 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 92476 invoked by uid 500); 9 Sep 2014 19:23:29 -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 92466 invoked by uid 500); 9 Sep 2014 19:23:29 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 92463 invoked by uid 99); 9 Sep 2014 19:23:29 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Sep 2014 19:23:29 +0000 Date: Tue, 9 Sep 2014 19:23:29 +0000 (UTC) From: "Chandan Purushothama (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CLOUDSTACK-7015) [Automation] type object 'TestDeleteAffinityGroups' has no attribute '_TestDeleteAffinityGroups__cleanup' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-7015?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chandan Purushothama closed CLOUDSTACK-7015. -------------------------------------------- Closing the bug as it is no longer seen in automation run. > [Automation] type object 'TestDeleteAffinityGroups' has no attribute '_Te= stDeleteAffinityGroups__cleanup' > -------------------------------------------------------------------------= -------------------------------- > > Key: CLOUDSTACK-7015 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-701= 5 > Project: CloudStack > Issue Type: Test > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Automation, Test > Affects Versions: 4.4.0 > Reporter: Chandan Purushothama > Assignee: Ashutosk Kelkar > Priority: Critical > Fix For: 4.4.0 > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Bug in test script: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > @classmethod > def tearDownClass(cls): > try: > cls.api_client =3D super(TestDeleteAffinityGroups, cls).getCl= sTestClient().getApiClient() > #Clean up, terminate the created templates > cleanup_resources(cls.api_client, cls.__cleanup) ----> BUG: I= t should be cls._cleanup > except Exception as e: > raise Exception("Warning: Exception during cleanup : %s" % e) > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Error Message > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Warning: Exception during cleanup : type object 'TestDeleteAffinityGroups= ' has no attribute '_TestDeleteAffinityGroups__cleanup' > -------------------- >> begin captured logging << -------------------- > test_09_delete_aff_grp_root_admin (integration.component.test_affinity_gr= oups.TestDeleteAffinityGroups): CRITICAL: EXCEPTION: test_09_delete_aff_grp= _root_admin: ['Traceback (most recent call last):\n', ' File "/usr/local/l= ib/python2.7/dist-packages/nose/suite.py", line 227, in run\n self.tearD= own()\n', ' File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", l= ine 350, in tearDown\n self.teardownContext(ancestor)\n', ' File "/usr/= local/lib/python2.7/dist-packages/nose/suite.py", line 366, in teardownCont= ext\n try_run(context, names)\n', ' File "/usr/local/lib/python2.7/dist= -packages/nose/util.py", line 470, in try_run\n return func()\n', ' Fil= e "/home/jenkins/workspace/xenrt-reg-adv-xs/cloudstack.git/test/integration= /component/test_affinity_groups.py", line 599, in tearDownClass\n raise = Exception("Warning: Exception during cleanup : %s" % e)\n', "Exception: War= ning: Exception during cleanup : type object 'TestDeleteAffinityGroups' has= no attribute '_TestDeleteAffinityGroups__cleanup'\n"] > --------------------- >> end captured logging << --------------------- > Stacktrace > File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 227, = in run > self.tearDown() > File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 350, = in tearDown > self.teardownContext(ancestor) > File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 366, = in teardownContext > try_run(context, names) > File "/usr/local/lib/python2.7/dist-packages/nose/util.py", line 470, i= n try_run > return func() > File "/home/jenkins/workspace/xenrt-reg-adv-xs/cloudstack.git/test/inte= gration/component/test_affinity_groups.py", line 599, in tearDownClass > raise Exception("Warning: Exception during cleanup : %s" % e) > 'Warning: Exception during cleanup : type object \'TestDeleteAffinityGrou= ps\' has no attribute \'_TestDeleteAffinityGroups__cleanup\'\n-------------= ------- >> begin captured logging << --------------------\ntest_09_delete_a= ff_grp_root_admin (integration.component.test_affinity_groups.TestDeleteAff= inityGroups): CRITICAL: EXCEPTION: test_09_delete_aff_grp_root_admin: [\'Tr= aceback (most recent call last):\\n\', \' File "/usr/local/lib/python2.7/d= ist-packages/nose/suite.py", line 227, in run\\n self.tearDown()\\n\', \= ' File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 350, i= n tearDown\\n self.teardownContext(ancestor)\\n\', \' File "/usr/local/= lib/python2.7/dist-packages/nose/suite.py", line 366, in teardownContext\\n= try_run(context, names)\\n\', \' File "/usr/local/lib/python2.7/dist-p= ackages/nose/util.py", line 470, in try_run\\n return func()\\n\', \' F= ile "/home/jenkins/workspace/xenrt-reg-adv-xs/cloudstack.git/test/integrati= on/component/test_affinity_groups.py", line 599, in tearDownClass\\n rai= se Exception("Warning: Exception during cleanup : %s" % e)\\n\', "Exception= : Warning: Exception during cleanup : type object \'TestDeleteAffinityGroup= s\' has no attribute \'_TestDeleteAffinityGroups__cleanup\'\\n"]\n---------= ------------ >> end captured logging << ---------------------' -- This message was sent by Atlassian JIRA (v6.3.4#6332)