Rayees Namathponnan created CLOUDSTACK-6180:
-----------------------------------------------
Summary: [Automation] Test cases test_multiple_ips_per_nic.py
failed with error 'NoneType' object is not subscriptable
Key: CLOUDSTACK-6180
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6180
Project: CloudStack
Issue Type: Test
Security Level: Public (Anyone can view this level - this is the default.)
Components: Automation
Affects Versions: 4.4.0
Reporter: Rayees Namathponnan
Priority: Critical
Fix For: 4.4.0
vmware 100
Suite test_multiple_ips_per_nic.py failing with below error
'NoneType' object is not subscriptable
-------------------- >> begin captured logging << --------------------
CSLog: DEBUG: sending GET request: listDomains {}
CSLog: DEBUG: Computed Signature by Marvin: 0uVpg0H3J9ZEN1wfPmu0um1Oukc=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?apiKey=2Z0OWU92ZWFL4bu0xh6dgRjjsKGHxm9LtCBm1mRWpLIcf1Vo2Lk-PIhVsIQmAmttNFQYw1VHhPiOVuGdjVjl1w&command=listDomains&signature=0uVpg0H3J9ZEN1wfPmu0um1Oukc%3D&response=json
HTTP/1.1" 200 1625
CSLog: DEBUG: Request:
http://10.223.49.197:8080/client/api?apiKey=2Z0OWU92ZWFL4bu0xh6dgRjjsKGHxm9LtCBm1mRWpLIcf1Vo2Lk-PIhVsIQmAmttNFQYw1VHhPiOVuGdjVjl1w&command=listDomains&signature=0uVpg0H3J9ZEN1wfPmu0um1Oukc%3D&response=json
Response: { "listdomainsresponse" : { "count":8 ,"domain" : [
{"id":"ab0e9068-9e56-11e3-b086-52b2d980df8a","name":"ROOT","level":0,"haschild":true,"path":"ROOT"},
{"id":"48d87acb-1425-45df-8950-f913dbfa0c43","name":"TestDomain-3V51N3","level":1,"parentdomainid":"ab0e9068-9e56-11e3-b086-52b2d980df8a","parentdomainname":"ROOT","haschild":false,"path":"ROOT/TestDomain-3V51N3"},
{"id":"151c764a-f02e-4e73-ab07-ed9ca19b0909","name":"TestDomain","level":1,"parentdomainid":"ab0e9068-9e56-11e3-b086-52b2d980df8a","parentdomainname":"ROOT","haschild":false,"path":"ROOT/TestDomain"},
{"id":"9f92644e-1bfd-4859-8575-3e5314a7080c","name":"Domain-RVNF28","level":1,"parentdomainid":"ab0e9068-9e56-11e3-b086-52b2d980df8a","parentdomainname":"ROOT","haschild":false,"path":"ROOT/Domain-RVNF28"},
{"id":"8eb3891e-41aa-4505-bdd3-8882c3ed6770","name":"TestDomain-EG17WA","level":1,"parentdomainid":"ab0e9068-9e56-11e3-b086-52b2d980df8a","parentdomainname":"ROOT","haschild":false,"path":"ROOT/TestDomain-EG17WA"},
{"id":"62e707ba-c6a2-411f-ad50-1538731007d9","name":"TestDomain-HKZIU9","level":1,"parentdomainid":"ab0e9068-9e56-11e3-b086-52b2d980df8a","parentdomainname":"ROOT","haschild":false,"path":"ROOT/TestDomain-HKZIU9"},
{"id":"9b9a4789-8ec7-445f-b344-297780fd1f21","name":"Domain-CLQS3S","level":1,"parentdomainid":"ab0e9068-9e56-11e3-b086-52b2d980df8a","parentdomainname":"ROOT","haschild":false,"path":"ROOT/Domain-CLQS3S"},
{"id":"2efa962b-86c3-4b75-8ee2-a223b0f1f91e","name":"Domain-HHQ3M1","level":1,"parentdomainid":"ab0e9068-9e56-11e3-b086-52b2d980df8a","parentdomainname":"ROOT","haschild":false,"path":"ROOT/Domain-HHQ3M1"}
] } }
CSLog: DEBUG: sending GET request: listZones {}
CSLog: DEBUG: Computed Signature by Marvin: SQhsZ+ovGzTQ4YVIzX6R80u1o2k=
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?apiKey=2Z0OWU92ZWFL4bu0xh6dgRjjsKGHxm9LtCBm1mRWpLIcf1Vo2Lk-PIhVsIQmAmttNFQYw1VHhPiOVuGdjVjl1w&command=listZones&signature=SQhsZ%2BovGzTQ4YVIzX6R80u1o2k%3D&response=json
HTTP/1.1" 200 796
CSLog: DEBUG: Request:
http://10.223.49.197:8080/client/api?apiKey=2Z0OWU92ZWFL4bu0xh6dgRjjsKGHxm9LtCBm1mRWpLIcf1Vo2Lk-PIhVsIQmAmttNFQYw1VHhPiOVuGdjVjl1w&command=listZones&signature=SQhsZ%2BovGzTQ4YVIzX6R80u1o2k%3D&response=json
Response: { "listzonesresponse" : { "count":2 ,"zone" : [
{"id":"fae83327-443f-44b3-92d8-dbd5714b9c05","name":"Adv-VMware-Zone1","dns1":"8.8.8.8","internaldns1":"10.223.240.232","guestcidraddress":"10.1.1.0/24","domain":"test.domain.org","networktype":"Advanced","securitygroupsenabled":false,"allocationstate":"Enabled","zonetoken":"cb1d1004-bbc7-3f17-8d4d-8f30bdb28eba","dhcpprovider":"VirtualRouter","localstorageenabled":false,"tags":[]},
{"id":"38512cf8-029d-45e7-aa64-c84b9f616ac5","name":"Adv-VMware-Zone2","dns1":"8.8.8.8","internaldns1":"10.223.240.234","guestcidraddress":"10.1.1.0/24","networktype":"Advanced","securitygroupsenabled":false,"allocationstate":"Enabled","zonetoken":"44fc439f-ca4e-3a92-98bb-f252bca571a8","dhcpprovider":"VirtualRouter","localstorageenabled":false,"tags":[]}
] } }
CSLog: CRITICAL: EXCEPTION: None: Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 208, in run
self.setUp()
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 291, in
setUp
self.setupContext(ancestor)
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 314, in
setupContext
try_run(context, names)
File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in
try_run
return func()
File
"/data/Repo2/qa/cloudstack/test/integration/component/test_multiple_ips_per_nic.py",
line 125, in setUpClass
cls.services["ostype"]
TypeError: 'NoneType' object is not subscriptable
--------------------- >> end captured logging << ---------------------
Stacktrace
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 208, in run
self.setUp()
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 291, in
setUp
self.setupContext(ancestor)
File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 314, in
setupContext
try_run(context, names)
File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in
try_run
return func()
File
"/data/Repo2/qa/cloudstack/test/integration/component/test_multiple_ips_per_nic.py",
line 125, in setUpClass
cls.services["ostype"]
'NoneType' object is not subscriptable
-------------------- >> begin captured logging << --------------------
CSLog: DEBUG: sending GET request: listDomains {}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)