Sanjeev N created CLOUDSTACK-6992:
-------------------------------------
Summary: [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
Priority: Critical
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)