]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks: capture CommandCrashedError when running nvme list cmd 69232/head
authorRedouane Kachach <rkachach@ibm.com>
Fri, 29 May 2026 09:09:44 +0000 (11:09 +0200)
committerRedouane Kachach <rkachach@ibm.com>
Tue, 2 Jun 2026 08:38:38 +0000 (10:38 +0200)
commit040dd2ca9f5cfad8543312927751de49aa61cbc2
tree24fa99d0502fbf2c96a9dbc4e40df01f40fb2fea
parent965ff53f375521760d11f744cd7fe39d6e270271
qa/tasks: capture CommandCrashedError when running nvme list cmd

The safe_while retry loop does not catch exceptions, so a
CommandCrashedError from `nvme list` bypasses it entirely. Catch
CommandCrashedError and continue the retry loop instead.

Fixes: https://tracker.ceph.com/issues/77001 (Tentacle backport tracker)
Fixes: https://tracker.ceph.com/issues/76984 (original tracker)
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
(cherry picked from commit 0bf55d6a8bb38942a33220ee6ab2890fb557476e)
qa/tasks/nvme_loop.py