mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
cicd: Consider oom-killer a crash when processing logs.
This commit is contained in:
@@ -79,7 +79,7 @@ DPT_CFG=ben
|
||||
SCENARIO=tip-auto
|
||||
RPT_TMPDIR=${MY_TMPDIR}/lf_reports
|
||||
LF_SER_DEV=$(basename $LF_SERIAL)
|
||||
DUT_SER_DEV=$(basename $DUT_SERIAL)
|
||||
DUT_SER_DEV=$(basename $AP_SERIAL)
|
||||
LF_SER_LOG=$MY_TMPDIR/lanforge_console_log_$LF_SER_DEV.txt
|
||||
DUT_SER_LOG=$MY_TMPDIR/dut_console_log_$DUT_SER_DEV.txt
|
||||
REGLOG=$MY_TMPDIR/basic_regression_log_$$.txt
|
||||
|
||||
@@ -231,6 +231,7 @@ sub processLogs {
|
||||
($ln =~ /BUG:/) ||
|
||||
($ln =~ /Hardware became unavailable during restart/) ||
|
||||
($ln =~ /restarting hardware/) ||
|
||||
($ln =~ /oom-killer/) ||
|
||||
($ln =~ /crashed/)) {
|
||||
if ($ln =~ /WARNING:/) {
|
||||
$warnings++;
|
||||
@@ -242,6 +243,7 @@ sub processLogs {
|
||||
$restarting++;
|
||||
}
|
||||
elsif (($ln =~ /crashed/) || # software/firmware crashed
|
||||
($ln =~ /oom-killer/) || # System OOM, processes were force-killed by kernel
|
||||
($ln =~ /became unavailable/)) { # hardware crashed
|
||||
$crashed++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user