summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime
diff options
context:
space:
mode:
authorJair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.intel.com>2016-11-30 14:43:02 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-07 10:37:59 +0000
commit5956492c201157793698323e67e0b813c5d8fe51 (patch)
tree6e9d8b7e7143449de7ea12e9c9737c78eddd2045 /meta/lib/oeqa/runtime
parent23d2a7d15602f7c66ce904c18fb7f8eec9f6485c (diff)
downloadpoky-5956492c201157793698323e67e0b813c5d8fe51.tar.gz
parselogs: Whitelist GPT warnings as the device is fully functional
The warning occurs when the GPT image is not the same size than the media into which it's being flashed, causing the backup GPT table not being at the end of the disk. However, this is expected as the image is created before having the information about the destination media. The error is harmless, so it will be whitelisted. Fixes [YOCTO 10481]. (From OE-Core rev: 5cc5cdc788308a79f8f0706e6d794c602ef427ed) Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@linux.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.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/lib/oeqa/runtime/parselogs.py b/meta/lib/oeqa/runtime/parselogs.py
index 8610863362..aa5008bba9 100644
--- a/meta/lib/oeqa/runtime/parselogs.py
+++ b/meta/lib/oeqa/runtime/parselogs.py
@@ -43,6 +43,7 @@ common_errors = [
43 "controller can't do DEVSLP, turning off", 43 "controller can't do DEVSLP, turning off",
44 "stmmac_dvr_probe: warning: cannot get CSR clock", 44 "stmmac_dvr_probe: warning: cannot get CSR clock",
45 "error: couldn\'t mount because of unsupported optional features", 45 "error: couldn\'t mount because of unsupported optional features",
46 "GPT: Use GNU Parted to correct GPT errors",
46 ] 47 ]
47 48
48video_related = [ 49video_related = [
@@ -70,7 +71,7 @@ qemux86_common = [
70 'tsc: HPET/PMTIMER calibration failed', 71 'tsc: HPET/PMTIMER calibration failed',
71] + common_errors 72] + common_errors
72 73
73ignore_errors = { 74ignore_errors = {
74 'default' : common_errors, 75 'default' : common_errors,
75 'qemux86' : [ 76 'qemux86' : [
76 'Failed to access perfctr msr (MSR', 77 'Failed to access perfctr msr (MSR',
@@ -202,7 +203,7 @@ class ParseLogsTest(oeRuntimeTest):
202 hwi += "*******************************\n" 203 hwi += "*******************************\n"
203 return hwi 204 return hwi
204 205
205 #go through the log locations provided and if it's a folder create a list with all the .log files in it, if it's a file just add 206 #go through the log locations provided and if it's a folder create a list with all the .log files in it, if it's a file just add
206 #it to that list 207 #it to that list
207 def getLogList(self, log_locations): 208 def getLogList(self, log_locations):
208 logs = [] 209 logs = []