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 2C26611D8A for ; Wed, 16 Jul 2014 07:38:06 +0000 (UTC) Received: (qmail 86693 invoked by uid 500); 16 Jul 2014 07:38:05 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 86613 invoked by uid 500); 16 Jul 2014 07:38:05 -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 86525 invoked by uid 500); 16 Jul 2014 07:38:05 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 86509 invoked by uid 99); 16 Jul 2014 07:38:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jul 2014 07:38:05 +0000 Date: Wed, 16 Jul 2014 07:38:05 +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=14063246#comment-14063246 ] ASF subversion and git services commented on CLOUDSTACK-6992: ------------------------------------------------------------- Commit dfee7b1456e9490889f93060023555d898bf5ae5 in cloudstack's branch refs/heads/master from [~sanjeevn] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=dfee7b1 ] 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 CLOUDSTACK-6992: Incorporated review comments for patch request 23009 CLOUDSTACK-6992: Added portable ip range to services class Signed-off-by: sanjeevneelarapu Signed-off-by: SrikanteswaraRao Talluri > [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)