oeqa: Extend parselogs to rpi4
PATCH 1/1 oeqa: Extend parselogs to rpi4
rpi had additional diagnostics which should be ignored [1]
[1] https://github.com/raspberrypi/linux/issues/3195
--- meta/lib/oeqa/runtime/cases/parselogs.py | 5 +++++ 1 file changed, 5 insertions(+)
meta/lib/oeqa/runtime/cases/parselogs.py +5 -0
@@ -183,6 +183,11 @@ ignore_errors = { 'Failed to make EGL context current', 'glamor initialization failed', ] + common_errors, + 'raspberrypi4-64' : [ + 'bcmgenet fd580000.genet: failed to get enet-eee clock', + 'bcmgenet fd580000.genet: failed to get enet-wol clock', + 'bcmgenet fd580000.genet: failed to get enet clock', + ] + common_errors, } log_locations = ["/var/log/","/var/log/dmesg", "/tmp/dmesg_output.log"]
Signature · 1 line
2.25.1
Quoted 3 lines · Khem Raj
rpi had additional diagnostics which should be ignored [1]
So does this mean OE will take similar patches for every BSP in the world?
- armin
Quoted 22 lines
Signed-off-by Khem Raj <[email protected]>--- meta/lib/oeqa/runtime/cases/parselogs.py | 5 +++++ 1 file changed, 5 insertions(+)meta/lib/oeqa/runtime/cases/parselogs.py +5
-0@@ -183,6 +183,11 @@ ignore_errors = { 'Failed to make EGL context current', 'glamor initialization failed', ] + common_errors, + 'raspberrypi4-64' : [ + 'bcmgenet fd580000.genet: failed to get enet-eee clock', + 'bcmgenet fd580000.genet: failed to get enet-wol clock', + 'bcmgenet fd580000.genet: failed to get enet clock', + ] + common_errors, } log_locations = ["/var/log/","/var/log/dmesg", "/tmp/dmesg_output.log"]
Quoted 10 lines · On Mon, Mar 16, 2020 at 12:12 PM akuster808 <[email protected]> wrote:
Quoted 3 lines · Khem Raj
rpi had additional diagnostics which should be ignored [1]
So does this mean OE will take similar patches for every BSP in the world?
suggest a better way and I will do that in BSP layer.
Quoted 24 lines
- armin
Quoted 22 lines
Signed-off-by Khem Raj <[email protected]>--- meta/lib/oeqa/runtime/cases/parselogs.py | 5 +++++ 1 file changed, 5 insertions(+)meta/lib/oeqa/runtime/cases/parselogs.py +5
-0@@ -183,6 +183,11 @@ ignore_errors = { 'Failed to make EGL context current', 'glamor initialization failed', ] + common_errors, + 'raspberrypi4-64' : [ + 'bcmgenet fd580000.genet: failed to get enet-eee clock', + 'bcmgenet fd580000.genet: failed to get enet-wol clock', + 'bcmgenet fd580000.genet: failed to get enet clock', + ] + common_errors, } log_locations = ["/var/log/","/var/log/dmesg", "/tmp/dmesg_output.log"]
Quoted 4 lines · Khem Raj
Quoted 3 lines · On Mon, Mar 16, 2020 at 12:12 PM akuster808 <[email protected]> wrote:
On 3/16/20 12:06 PM, Khem Raj wrote:
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
rpi had additional diagnostics which should be ignored [1]
So does this mean OE will take similar patches for every BSP in the world?
suggest a better way and I will do that in BSP layer.
Not sure about better way, but in my BSP layer I have:
layer.conf:
-----------DEFAULT_TEST_SUITES_remove_mx7d = "parselogs" DEFAULT_TEST_SUITES_append_mx7d = " parselogs_mx7bsp"
lib/oeqa/runtime/cases/parselogs_mx7bsp.py:
-------------------------------------------
from oeqa.runtime.cases.parselogs import *
mx7bsp_errors = [
'list of messages',
]
ignore_errors['mymachine'] = mx7bsp_errors + common_errors
class ParseLogsTestMX7BSP(ParseLogsTest):
pass
A.
Quoted 23 lines
Quoted 23 lines
- armin
Quoted 21 lines
Signed-off-by Khem Raj <[email protected]>--- meta/lib/oeqa/runtime/cases/parselogs.py | 5 +++++ 1 file changed, 5 insertions(+)meta/lib/oeqa/runtime/cases/parselogs.py +5
-0@@ -183,6 +183,11 @@ ignore_errors = { 'Failed to make EGL context current', 'glamor initialization failed', ] + common_errors, + 'raspberrypi4-64' : [ + 'bcmgenet fd580000.genet: failed to get enet-eee clock', + 'bcmgenet fd580000.genet: failed to get enet-wol clock', + 'bcmgenet fd580000.genet: failed to get enet clock', + ] + common_errors, } log_locations = ["/var/log/","/var/log/dmesg", "/tmp/dmesg_output.log"]
Quoted 8 lines · André Draszik
Quoted 6 lines · Khem Raj
Quoted 5 lines · On Mon, Mar 16, 2020 at 12:12 PM akuster808 <[email protected]> wrote:
Quoted 2 lines · Khem Raj
rpi had additional diagnostics which should be ignored [1]
Quoted 9 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
So does this mean OE will take similar patches for every BSP in the world?
suggest a better way and I will do that in BSP layer.
Not sure about better way, but in my BSP layer I have:
thanks it certainly is better than what I have, I will adapt to it
Quoted 50 lines
layer.conf:
-----------DEFAULT_TEST_SUITES_remove_mx7d= "parselogs"DEFAULT_TEST_SUITES_append_mx7d= "parselogs_mx7bsp"
lib/oeqa/runtime/cases/parselogs_mx7bsp.py:
-------------------------------------------
from oeqa.runtime.cases.parselogs import *
mx7bsp_errors= [
'list of messages',
]ignore_errors['mymachine'] =
mx7bsp_errors+common_errorsclass ParseLogsTestMX7BSP(ParseLogsTest):
passA.
Quoted 22 lines
Quoted 22 lines
- armin
Quoted 20 lines
Signed-off-by Khem Raj <[email protected]>--- meta/lib/oeqa/runtime/cases/parselogs.py | 5 +++++ 1 file changed, 5 insertions(+)meta/lib/oeqa/runtime/cases/parselogs.py +5
-0@@ -183,6 +183,11 @@ ignore_errors = { 'Failed to make EGL context current', 'glamor initialization failed', ] + common_errors, + 'raspberrypi4-64' : [ + 'bcmgenet fd580000.genet: failed to get enet-eee clock', + 'bcmgenet fd580000.genet: failed to get enet-wol clock', + 'bcmgenet fd580000.genet: failed to get enet clock', + ] + common_errors, }Quoted 1 line
Quoted 1 line
meta/lib/oeqa/runtime/cases/parselogs.py ignore_errors = { · line 193
Quoted 1 line
meta/lib/oeqa/runtime/cases/parselogs.py +0
-0log_locations = ["/var/log/","/var/log/dmesg", "/tmp/dmesg_output.log"]--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 14 lines · Khem Raj
Quoted 13 lines · André Draszik
Quoted 12 lines · Khem Raj
On Mon, Mar 16, 2020 at 12:12 PM akuster808 <[email protected]
Quoted 10 lines
wrote:
Quoted 3 lines · Khem Raj
rpi had additional diagnostics which should be ignored [1]
So does this mean OE will take similar patches for every BSP in the world?
Quoted 24 lines
Quoted 4 lines
Quoted 1 line
suggest a better way and I will do that in BSP layer.
Not sure about better way, but in my BSP layer I have:
thanks it certainly is better than what I have, I will adapt to it
Quoted 17 lines
layer.conf:
-----------DEFAULT_TEST_SUITES_remove_mx7d= "parselogs"DEFAULT_TEST_SUITES_append_mx7d= "parselogs_mx7bsp"
lib/oeqa/runtime/cases/parselogs_mx7bsp.py:
-------------------------------------------
from oeqa.runtime.cases.parselogs import *
mx7bsp_errors= [
'list of messages',
]ignore_errors['mymachine'] =
mx7bsp_errors+common_errorsclass ParseLogsTestMX7BSP(ParseLogsTest):
pass
Its definitely better. I'd also take patches to further improve things to allow easier customisation by BSPs. I did think there was some mechanism but I'm struggling to remember what was intended.
Cheers,
Richard