Skip to content

Commit 854db61

Browse files
committed
Updated mellanox_firmware and global timeouts to 2160 seconds
Calculation was made by 4 minutes per devices
1 parent 7a6e8d3 commit 854db61

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

sos-nvdebug.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
batch = yes
99
log-size = 10
1010
journal_size = 50
11-
plugin_timeout = 2000
11+
plugin_timeout = 2160
1212
cmd_timeout = 300
1313
low_priority = True
1414

sos-nvidia.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ batch = yes
99
log-size = 10
1010
# 50 MB per journalctl capture, 7 days of journal text rarely exceeds this
1111
journal_size = 50
12-
plugin_timeout = 2000
12+
plugin_timeout = 2160
1313
cmd_timeout = 300
1414
low_priority = True
1515

sos/report/plugins/mellanox_firmware.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class MellanoxFirmware(Plugin, IndependentPlugin):
2323
using either MFT (flint) or MSTFlint utilities.
2424
"""
2525

26-
plugin_timeout = 1650
26+
plugin_timeout = 2160
2727
plugin_name = "mellanox_firmware"
2828
short_desc = "Nvidia (Mellanox) firmware tools output"
2929

@@ -81,13 +81,13 @@ def check_enabled(self):
8181
def timeout(self):
8282
base_timeout = super().timeout
8383
device_count = len([d for d in self.device_contexts if d.primary])
84-
expected_timeout = device_count * 180
84+
expected_timeout = device_count * 240
8585

8686
if base_timeout < expected_timeout:
8787
self._log_warn(
8888
f"Plugin timeout {base_timeout}s may be too low for "
8989
f"{device_count} device(s). Expected ~{expected_timeout}s "
90-
f"(~3 minutes per device)."
90+
f"(~4 minutes per device)."
9191
)
9292

9393
return base_timeout

0 commit comments

Comments
 (0)