summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristina Agurida <cristina-danielax.agurida@intel.com>2016-02-04 14:13:46 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-28 11:32:34 +0000
commit4e59b6f66eeae256d4e62f4741725cdebb53cbf7 (patch)
tree45bc57a5890832c1ee9435180ca5f108fe2295bf
parentb39e84edb02d03102b9a571c21e5328c159c4378 (diff)
downloadopenembedded-core-4e59b6f66eeae256d4e62f4741725cdebb53cbf7.tar.gz
openembedded-core-4e59b6f66eeae256d4e62f4741725cdebb53cbf7.tar.bz2
openembedded-core-4e59b6f66eeae256d4e62f4741725cdebb53cbf7.zip
oeqa/parselogs: Updated whitelist
Moved an error to common, and whitelisted the BAR errors and ati module. Also the uvesafb related errors will be ignored in LSB images which do not have graphic interface. Fix for [YOCTO #8387] Fix for [YOCTO #8590] Fix for [YOCTO #6820] Fix for [YOCTO #7897] Signed-off-by: Lucian Musat <george.l.musat at intel.com> Signed-off-by: Cristina Agurida <cristina-danielax.agurida@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/lib/oeqa/runtime/parselogs.py18
1 files changed, 14 insertions, 4 deletions
diff --git a/meta/lib/oeqa/runtime/parselogs.py b/meta/lib/oeqa/runtime/parselogs.py
index 1baf660b27..431c436d62 100644
--- a/meta/lib/oeqa/runtime/parselogs.py
+++ b/meta/lib/oeqa/runtime/parselogs.py
@@ -38,8 +38,17 @@ common_errors = [
'Online check failed for',
'netlink init failed',
'Fast TSC calibration',
+ "BAR 0-9",
+ "Failed to load module \"ati\"",
+ "controller can't do DEVSLP, turning off",
+ "stmmac_dvr_probe: warning: cannot get CSR clock",
+ "error: couldn\'t mount because of unsupported optional features",
]
+video_related = [
+ "uvesafb",
+]
+
x86_common = [
'[drm:psb_do_init] *ERROR* Debug is',
'wrong ELF class',
@@ -100,11 +109,7 @@ ignore_errors = {
'(EE) Failed to load module psbdrv',
'(EE) open /dev/fb0: No such file or directory',
'(EE) AIGLX: reverting to software rendering',
- "controller can't do DEVSLP, turning off",
] + x86_common,
- 'intel-corei7-64' : [
- "controller can't do DEVSLP, turning off",
- ] + common_errors,
'crownbay' : x86_common,
'genericx86' : x86_common,
'genericx86-64' : x86_common,
@@ -127,6 +132,10 @@ class ParseLogsTest(oeRuntimeTest):
self.ignore_errors = ignore_errors
self.log_locations = log_locations
self.msg = ""
+ (is_lsb, location) = oeRuntimeTest.tc.target.run("which LSB_Test.sh")
+ if is_lsb == 0:
+ for machine in self.ignore_errors:
+ self.ignore_errors[machine] = self.ignore_errors[machine] + video_related
def getMachine(self):
return oeRuntimeTest.tc.d.getVar("MACHINE", True)
@@ -201,6 +210,7 @@ class ParseLogsTest(oeRuntimeTest):
ignore_error = ignore_error.replace("[", "\[")
ignore_error = ignore_error.replace("]", "\]")
ignore_error = ignore_error.replace("*", "\*")
+ ignore_error = ignore_error.replace("0-9", "[0-9]")
grepcmd += ignore_error+"|"
grepcmd = grepcmd[:-1]
grepcmd += "\'"