]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/parselogs: grep for exact errors list keywords
authorKhem Raj <raj.khem@gmail.com>
Mon, 12 Aug 2019 01:59:45 +0000 (18:59 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Aug 2019 18:48:53 +0000 (19:48 +0100)
commite54ecea0a7d309533973b31bdbda178d9af92632
tree05a2ecda5225c0764adbf0ae15560e207fe6d6de
parent2cdb4b3697e02947352803a9db013d61b812c4fd
oeqa/parselogs: grep for exact errors list keywords

Given grep expression looks for error strings regardless of the
semantics and this ends up it flagging things like

***********************
Log: /mnt/a/yoe/build/tmp/work/raspberrypi3_64-yoe-linux-musl/yoe-qt5-wayland-image/1.0-r0/target_logs/weston.log
-----------------------
Central error:                EGL_KHR_create_context_no_error EGL_KHR_fence_sync
***********************

here EGL_KHR_create_context_no_error is an API, therefore the check
should be tightened a bit so explicitly look for error words so such
false positives don't show up

This helps in fixing wrong matches e.g. on rpi3 dmesg have strings like
above

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/parselogs.py