Gaurav Aradhye created CLOUDSTACK-6687:
------------------------------------------
Summary: [Automation] test_ip_reservation.py test cases are
failing with "'TestFailureScnarios' object has no attribute
'isolated_persistent_network'"
Key: CLOUDSTACK-6687
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6687
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: All hypervisors
Reporter: Gaurav Aradhye
Assignee: Gaurav Aradhye
Fix For: 4.4.0
'TestFailureScnarios' object has no attribute 'isolated_persistent_network'
-------------------- >> begin captured stdout << ---------------------
=== TestName: test_reservation_after_router_restart | Status : EXCEPTION ===
--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
test_reservation_after_router_restart
(integration.component.test_ip_reservation.TestFailureScnarios): DEBUG:
::::::::::::STARTED : TC: test_reservation_after_router_restart :::::::::::
test_reservation_after_router_restart
(integration.component.test_ip_reservation.TestFailureScnarios): DEBUG:
Payload: {'username':
'test-account-TestUpdateIPReservation-test_reservation_after_router_restart-U4445S',
'domainid': u'4ae80f5a-d616-11e3-a7c8-1a6f7bb0d0a8', 'firstname': 'test',
'lastname': 'test', 'response': 'json', 'apiKey':
u'TKG3-LFUFTPhT_OQ9MPrEdI_UpDMgvR07w8NZCUhWlsIKeSPIrnKBNcn0UgWIPIQLhwcTYMD5jyVpJ7oMdc9GA',
'command': 'createAccount', 'accounttype': 0, 'signature':
'oH50KwLjbHRHq4rd4RAuZlte0Oo=', 'password': 'password', 'email':
'[email protected]'}
test_reservation_after_router_restart
(integration.component.test_ip_reservation.TestFailureScnarios): DEBUG:
========Sending GET Cmd : createAccount=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?username=test-account-TestUpdateIPReservation-test_reservation_after_router_restart-U4445S&domainid=4ae80f5a-d616-11e3-a7c8-1a6f7bb0d0a8&firstname=test&lastname=test&response=json&apiKey=TKG3-LFUFTPhT_OQ9MPrEdI_UpDMgvR07w8NZCUhWlsIKeSPIrnKBNcn0UgWIPIQLhwcTYMD5jyVpJ7oMdc9GA&command=createAccount&accounttype=0&signature=oH50KwLjbHRHq4rd4RAuZlte0Oo%3D&password=password&email=test-account%40test.com
HTTP/1.1" 200 1812
test_reservation_after_router_restart
(integration.component.test_ip_reservation.TestFailureScnarios): DEBUG:
Response : {primarystorageavailable : u'Unlimited', domain : u'ROOT', domainid
: u'4ae80f5a-d616-11e3-a7c8-1a6f7bb0d0a8', vpclimit : u'Unlimited', iplimit :
u'Unlimited', volumelimit : u'Unlimited', memorytotal : 0,
secondarystorageavailable : u'Unlimited', vmtotal : 0, cputotal : 0, vpctotal :
0, id : u'7836228d-2283-4bed-ae30-2511bfe37302', cpuavailable : u'Unlimited',
snapshotlimit : u'Unlimited', networklimit : u'Unlimited', iptotal : 0,
volumetotal : 0, projectlimit : u'Unlimited', state : u'enabled', networktotal
: 0, accounttype : 0, networkavailable : u'Unlimited', primarystoragetotal : 0,
templatelimit : u'Unlimited', snapshottotal : 0, templateavailable :
u'Unlimited', vmlimit : u'Unlimited', vpcavailable : u'Unlimited',
memoryavailable : u'Unlimited', secondarystoragetotal : 0, templatetotal : 0,
projecttotal : 0, user : [{username :
u'test-account-TestUpdateIPReservation-test_reservation_after_router_restart-U4445S',
account :
u'test-account-TestUpdateIPReservation-test_reservation_after_router_restart-U4445S',
domainid : u'4ae80f5a-d616-11e3-a7c8-1a6f7bb0d0a8', firstname : u'test',
created : u'2014-05-07T19:22:49-0700', lastname : u'test', domain : u'ROOT', id
: u'3287f1f5-b3ca-4264-a578-b4a5f7a09fc9', iscallerchilddomain : False, state :
u'enabled', accounttype : 0, email : u'[email protected]', isdefault :
False, accountid : u'7836228d-2283-4bed-ae30-2511bfe37302'}], groups :
[u'NORMAL', u'DomainGrp-4ae80f5a-d616-11e3-a7c8-1a6f7bb0d0a8'],
projectavailable : u'Unlimited', isdefault : False, primarystoragelimit :
u'Unlimited', secondarystoragelimit : u'Unlimited', volumeavailable :
u'Unlimited', name :
u'test-account-TestUpdateIPReservation-test_reservation_after_router_restart-U4445S',
vmavailable : u'Unlimited', ipavailable : u'Unlimited', memorylimit :
u'Unlimited', cpulimit : u'Unlimited', snapshotavailable : u'Unlimited'}
test_reservation_after_router_restart
(integration.component.test_ip_reservation.TestFailureScnarios): CRITICAL:
EXCEPTION: test_reservation_after_router_restart: ['Traceback (most recent call
last):\n', ' File "/usr/local/lib/python2.7/unittest/case.py", line 318, in
run\n testMethod()\n', ' File
"/Repo_30X/ipcl/cloudstack/test/integration/component/test_ip_reservation.py",
line 1140, in test_reservation_after_router_restart\n update_response =
Network.update(self.isolated_persistent_network, self.apiclient,
id=self.isolated_persistent_network.id, guestvmcidr=guest_vm_cidr)\n',
"AttributeError: 'TestFailureScnarios' object has no attribute
'isolated_persistent_network'\n"]
--------------------- >> end captured logging << ---------------------
--
This message was sent by Atlassian JIRA
(v6.2#6252)