Skip to content

Commit e436ce2

Browse files
committed
DAOS-623 test: add allowed error for FI
Skip-func-hw-test: true Skip-unit-test: true Skip-unit-test-memcheck: true Signed-off-by: Mohamad Chaarawi <mohamad.chaarawi@hpe.com>
1 parent 838c46f commit e436ce2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

utils/node_local_test.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5022,12 +5022,32 @@ def sizeof_fmt(num, suffix='B'):
50225022
if ignore_busy:
50235023
lto.skip_suffixes.append(" DER_BUSY(-1012): 'Device or resource busy'")
50245024

5025+
orig_show_line = nlt_lt.show_line
5026+
if skip_fi:
5027+
def _show_line_filter(line, sev, msg, custom=None):
5028+
log_msg = line.get_msg()
5029+
5030+
if 'Sluggish EC boundary report from rank' in log_msg:
5031+
return False
5032+
5033+
if 'The progress callback was not called for too long' in log_msg:
5034+
return False
5035+
5036+
if 'RPC failed; rc: DER_TIMEDOUT(-1011)' in log_msg:
5037+
return False
5038+
5039+
return orig_show_line(line, sev, msg, custom=custom)
5040+
5041+
nlt_lt.show_line = _show_line_filter
5042+
50255043
try:
50265044
lto.check_log_file(abort_on_warning=True,
50275045
show_memleaks=show_memleaks,
50285046
leak_wf=leak_wf)
50295047
except nlt_lt.LogCheckError:
50305048
pass
5049+
finally:
5050+
nlt_lt.show_line = orig_show_line
50315051

50325052
if skip_fi:
50335053
if not lto.fi_triggered:

0 commit comments

Comments
 (0)