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 4A37711220 for ; Mon, 4 Aug 2014 05:35:12 +0000 (UTC) Received: (qmail 43307 invoked by uid 500); 4 Aug 2014 05:35:12 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 43272 invoked by uid 500); 4 Aug 2014 05:35:12 -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 43255 invoked by uid 500); 4 Aug 2014 05:35:12 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 43249 invoked by uid 99); 4 Aug 2014 05:35:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2014 05:35:12 +0000 Date: Mon, 4 Aug 2014 05:35:11 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-6992) [Portable_IP] All tests failed from advanced regression suite test_portable_ip.py 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-6992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084321#comment-14084321 ] ASF subversion and git services commented on CLOUDSTACK-6992: ------------------------------------------------------------- Commit 2231fc8920f258ee4062a4269ea440caa5056c29 in cloudstack's branch refs/heads/master from [~gpshilamkar] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=2231fc8 ] Revert "CLOUDSTACK-6992 Test data was passed to test methods.Made code changes to get test data and pass it to test methods. Also reading portable ip config values was not proper in getPortableIpRangeServices method. So corrected it" This reverts commit dfee7b1456e9490889f93060023555d898bf5ae5. > [Portable_IP] All tests failed from advanced regression suite test_portable_ip.py > --------------------------------------------------------------------------------- > > Key: CLOUDSTACK-6992 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6992 > Project: CloudStack > Issue Type: Test > Security Level: Public(Anyone can view this level - this is the default.) > Components: Automation > Affects Versions: 4.4.0 > Environment: Latest build from 4.4 > Reporter: Sanjeev N > Assignee: Sanjeev N > Priority: Critical > Labels: automation > Fix For: 4.4.0 > > > [Portable_IP] All tests failed from advanced regression suite test_portable_ip.py > In this test_portable_ip.py file every test method has the following line: > portable_ip_range_services = getPortableIpRangeServices(self.config) > However self.config is not defined. So we are seeing following error from the test run: > 'NoneType' object has no attribute 'startip' > -------------------- >> begin captured stdout << --------------------- > === TestName: test_associate_ip_address | Status : EXCEPTION === > test_associate_ip_address (integration.component.test_portable_ip.TestAssociatePublicIp): DEBUG: ::::::::::::STARTED : TC: test_associate_ip_address ::::::::::: > test_associate_ip_address (integration.component.test_portable_ip.TestAssociatePublicIp): CRITICAL: EXCEPTION: test_associate_ip_address: ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/unittest/case.py", line 323, in run\n self.setUp()\n', ' File "/home/jenkins/workspace/xenrt-reg-adv-xs/cloudstack.git/test/integration/component/test_portable_ip.py", line 639, in setUp\n portable_ip_range_services = getPortableIpRangeServices(self.config)\n', ' File "/local/jenkins/workspace/xenrt-reg-adv-xs/work.57/env/local/lib/python2.7/site-packages/marvin/lib/common.py", line 1198, in getPortableIpRangeServices\n if config.portableIpRange.startip:\n', "AttributeError: 'NoneType' object has no attribute 'startip'\n"] -- This message was sent by Atlassian JIRA (v6.2#6252)