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 F18AF109E2 for ; Thu, 18 Jul 2013 11:22:51 +0000 (UTC) Received: (qmail 32633 invoked by uid 500); 18 Jul 2013 11:22:51 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 32581 invoked by uid 500); 18 Jul 2013 11:22:50 -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 32358 invoked by uid 500); 18 Jul 2013 11:22:50 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 32352 invoked by uid 99); 18 Jul 2013 11:22:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jul 2013 11:22:49 +0000 Date: Thu, 18 Jul 2013 11:22:49 +0000 (UTC) From: "Sailaja Mada (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-3636) [Automation]Fix iintegration.component.test_accounts.TestServiceOfferingHierarchy.test_01_service_offering_hierarchy script MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Sailaja Mada created CLOUDSTACK-3636: ---------------------------------------- Summary: [Automation]Fix iintegration.component.test_accounts.TestServiceOfferingHierarchy.test_01_service_offering_hierarchy script Key: CLOUDSTACK-3636 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3636 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.2.0 Reporter: Sailaja Mada Priority: Minor Observation: Regression test failed while listing private service offerings added to a domain Scenario: When we look for private service offerings it should not list the service offerings of some other domain. Failure Root Cause: This API response will be none as there are no offerings for this domain . But we are looking for list of offerings. Fix: Add condition to look for empty response. ============================================== Failed integration.component.test_accounts.TestServiceOfferingHierarchy.test_01_service_offering_hierarchy (from nosetests) Failing for the past 9 builds (Since Unstable#47 ) Took 0.23 sec. add description Error Message Check List Service Offerings for a valid response 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_accounts.py", line 827, in test_01_service_offering_hierarchy "Check List Service Offerings for a valid response" 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 List Service Offerings for a valid response -- 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