diff --git a/case-lib/hijack.sh b/case-lib/hijack.sh index a489f982..8175f119 100644 --- a/case-lib/hijack.sh +++ b/case-lib/hijack.sh @@ -110,6 +110,18 @@ function func_exit_handler() dloge "Empty logfile" exit_status=1 fi + + # We still have some false positives in stable-v2.2 for now, see + # https://github.com/thesofproject/sof-test/pull/1075 + # https://github.com/thesofproject/sof/pull/9036 + # etc. + if is_firmware_file_zephyr; then + + check_error_in_fw_logfile "$logfile" || + exit_status=1 + + fi + else dloge "Log file not found: $logfile" exit_status=1 diff --git a/case-lib/lib.sh b/case-lib/lib.sh index 2db58f79..e384eb16 100644 --- a/case-lib/lib.sh +++ b/case-lib/lib.sh @@ -529,7 +529,10 @@ check_error_in_fw_logfile() if (set -x grep -B 2 -A 1 -i --word-regexp -e 'ERR' -e 'ERROR' -e '' "$1" ); then - return 1 + # See internal Intel bug #448 + dlogw 'An HTML display bug hides the bracketed Zephyr <loglevels> in this tab,' + dlogw 'switch to the tab with the complete logs to see the log levels.' + return 1 fi }