-
Bug
-
Resolution: Done
-
Medium
-
Honolulu Release
it seems that when we try to get the list of certified service and when this list is empty, we got an uncaught exception in pythonsdk (
it occured in basic_onboard
usually healthdist is done before, then the list is never empty
but in this case healthdist was in Error then retry and PASS
the error occurs in the onapsdk (it shall be probably proeteced at this level) but it is not caught on onaptests
File "/src/onaptests/src/onaptests/steps/onboard/vsp.py", line 98, in execute
vsp.onboard()
File "/usr/lib/python3.8/site-packages/onapsdk/sdc/vsp.py", line 60, in onboard
self.create()
File "/usr/lib/python3.8/site-packages/onapsdk/sdc/vsp.py", line 84, in create
vendor=self.vendor)
File "/usr/lib/python3.8/site-packages/onapsdk/sdc/vsp.py", line 125, in vendor
if self.created() and not self._vendor:
File "/usr/lib/python3.8/site-packages/onapsdk/sdc/_init_.py", line 249, in created
return self.exists()
File "/usr/lib/python3.8/site-packages/onapsdk/sdc/_init_.py", line 161, in exists
objects = self.get_all()
File "/usr/lib/python3.8/site-packages/onapsdk/sdc/_init_.py", line 140, in get_all
objects.append(cls.import_from_sdc(obj_info))
File "/usr/lib/python3.8/site-packages/onapsdk/sdc/vsp.py", line 298, in import_from_sdc
vsp.load_status()
File "/usr/lib/python3.8/site-packages/onapsdk/sdc/vsp.py", line 246, in load_status
and item_details['results'][-1]['status'] == const.CERTIFIED):
{{ IndexError: list index out of range}}