You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/07/16 09:38:04 UTC

[jira] [Commented] (CLOUDSTACK-6992) [Portable_IP] All tests failed from advanced regression suite test_portable_ip.py

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-6992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063244#comment-14063244 ] 

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 <sa...@citrix.com>
Signed-off-by: SrikanteswaraRao Talluri <ta...@apache.org>


> [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)