summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime
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:59 +0000
commitb748f409801f17d6d60e86903dbac30bb8eabdc7 (patch)
tree176a91784fd92a9e4756f8cf1055f881dbcd3368 /meta/lib/oeqa/runtime
parent4b32351f2def081580fcf5fbe723d005938743ad (diff)
downloadpoky-b748f409801f17d6d60e86903dbac30bb8eabdc7.tar.gz
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] (From OE-Core rev: 4e59b6f66eeae256d4e62f4741725cdebb53cbf7) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime')
-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 = [
38 'Online check failed for', 38 'Online check failed for',
39 'netlink init failed', 39 'netlink init failed',
40 'Fast TSC calibration', 40 'Fast TSC calibration',
41 "BAR 0-9",
42 "Failed to load module \"ati\"",
43 "controller can't do DEVSLP, turning off",
44 "stmmac_dvr_probe: warning: cannot get CSR clock",
45 "error: couldn\'t mount because of unsupported optional features",
41 ] 46 ]
42 47
48video_related = [
49 "uvesafb",
50]
51
43x86_common = [ 52x86_common = [
44 '[drm:psb_do_init] *ERROR* Debug is', 53 '[drm:psb_do_init] *ERROR* Debug is',
45 'wrong ELF class', 54 'wrong ELF class',
@@ -100,11 +109,7 @@ ignore_errors = {
100 '(EE) Failed to load module psbdrv', 109 '(EE) Failed to load module psbdrv',
101 '(EE) open /dev/fb0: No such file or directory', 110 '(EE) open /dev/fb0: No such file or directory',
102 '(EE) AIGLX: reverting to software rendering', 111 '(EE) AIGLX: reverting to software rendering',
103 "controller can't do DEVSLP, turning off",
104 ] + x86_common, 112 ] + x86_common,
105 'intel-corei7-64' : [
106 "controller can't do DEVSLP, turning off",
107 ] + common_errors,
108 'crownbay' : x86_common, 113 'crownbay' : x86_common,
109 'genericx86' : x86_common, 114 'genericx86' : x86_common,
110 'genericx86-64' : x86_common, 115 'genericx86-64' : x86_common,
@@ -127,6 +132,10 @@ class ParseLogsTest(oeRuntimeTest):
127 self.ignore_errors = ignore_errors 132 self.ignore_errors = ignore_errors
128 self.log_locations = log_locations 133 self.log_locations = log_locations
129 self.msg = "" 134 self.msg = ""
135 (is_lsb, location) = oeRuntimeTest.tc.target.run("which LSB_Test.sh")
136 if is_lsb == 0:
137 for machine in self.ignore_errors:
138 self.ignore_errors[machine] = self.ignore_errors[machine] + video_related
130 139
131 def getMachine(self): 140 def getMachine(self):
132 return oeRuntimeTest.tc.d.getVar("MACHINE", True) 141 return oeRuntimeTest.tc.d.getVar("MACHINE", True)
@@ -201,6 +210,7 @@ class ParseLogsTest(oeRuntimeTest):
201 ignore_error = ignore_error.replace("[", "\[") 210 ignore_error = ignore_error.replace("[", "\[")
202 ignore_error = ignore_error.replace("]", "\]") 211 ignore_error = ignore_error.replace("]", "\]")
203 ignore_error = ignore_error.replace("*", "\*") 212 ignore_error = ignore_error.replace("*", "\*")
213 ignore_error = ignore_error.replace("0-9", "[0-9]")
204 grepcmd += ignore_error+"|" 214 grepcmd += ignore_error+"|"
205 grepcmd = grepcmd[:-1] 215 grepcmd = grepcmd[:-1]
206 grepcmd += "\'" 216 grepcmd += "\'"