Error when checking SMART TEST Results on SSD Cache/LOG

Description

Error: Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/middlewared/utils/_init_.py", line 201, in filter_list
return rv[0]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 137, in call_method
result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self,
File "/usr/local/lib/python3.8/site-packages/middlewared/main.py", line 1195, in _call
return await methodobj(*prepared_call.args)
File "/usr/local/lib/python3.8/site-packages/middlewared/schema.py", line 973, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/middlewared/plugins/smart.py", line 548, in results
return filter_list(
File "/usr/local/lib/python3.8/site-packages/middlewared/utils/_init_.py", line 203, in filter_list
raise MatchNotFound()
middlewared.service_exception.MatchNotFound

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Bug Clerk March 9, 2021 at 4:11 PM

Bug Clerk March 5, 2021 at 4:17 PM

Vladimir Vinogradenko February 24, 2021 at 2:36 PM

UI should properly handle this error saying no test results were found.

William Gryzbowski February 24, 2021 at 2:14 PM

I wasnt sure if there is anything we can do to improve this on middleware side or purely an UI issue. Feel free to reassign to Damian.

Alexandru Bolan February 23, 2021 at 8:27 AM

Pls find attached debug log. The issue was for all drives before 12.0U2, now it only occurs on the SSD drives.

Complete

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created February 20, 2021 at 8:44 AM
Updated July 1, 2022 at 2:48 PM
Resolved March 9, 2021 at 10:20 PM