Python error in web gui on fresh install

Description

1. Steps to reproduce

Install TrueNAS Scale 24.04.2

Click on Storage Dashboard option on left side menu

2. Expected result

No python error

3. Actual Result

Error in screen shot and listed below

Error: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 198, in call_method
result = await self.middleware.call_with_audit(message['method'], serviceobj, methodobj, params, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1466, in call_with_audit
result = await self._call(method, serviceobj, methodobj, params, app=app,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1417, in _call
return await methodobj(*prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 187, in nf
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 47, in nf
res = await f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/smart.py", line 637, in results
await asyncio_map(functools.partial(annotate_disk_smart_tests, self.middleware, tests_filter),
File "/usr/lib/python3/dist-packages/middlewared/utils/asyncio_.py", line 19, in asyncio_map
return await asyncio.gather(*futures)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/utils/asyncio_.py", line 16, in func
return await real_func(arg)
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/smart.py", line 33, in annotate_disk_smart_tests
tests = parse_smart_selftest_results(output) or []
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/smart.py", line 52, in parse_smart_selftest_results
"lifetime": int(line[60:68].strip()),
^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''

Interesting to note that this does not occur if all drives are removed, there are 24 total

Host ID: 8781efbe5c9d01799e143e7849608b9365715a8871d040866749a63919a68650

Session ID: 113e3a64-a267-7c41-91c1-3ec045f0898c

Problem/Justification

None

Impact

None

Activity

Show:

Bug Clerk August 22, 2024 at 12:15 PM

This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Bug Clerk August 22, 2024 at 12:13 PM

Bug Clerk August 22, 2024 at 9:58 AM

Michelle Johnson August 14, 2024 at 11:28 AM

Thank you for your report, !

This issue ticket is now in the queue for review. An Engineering representative will update with further details or questions in the near future.

Bug Clerk August 13, 2024 at 9:17 PM

Thank you for submitting this TrueNAS Bug Report! So that we can quickly investigate your issue, please attach a Debug file and any other information related to this issue through our secure and private upload service below. Debug files can be generated in the UI by navigating to System -> Advanced -> Save Debug.

https://ixsystems.atlassian.net/servicedesk/customer/portal/15/group/37/create/153

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Original estimate

Time remaining

0m

Components

Priority

Katalon Platform

Created August 13, 2024 at 9:17 PM
Updated February 27, 2025 at 9:11 PM
Resolved August 22, 2024 at 12:15 PM