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