[OE-core] [PATCH] oeqa: Extend parselogs to rpi4

André Draszik git at andred.net
Mon Mar 16 20:36:50 UTC 2020


On Mon, 2020-03-16 at 12:17 -0700, Khem Raj wrote:
> On Mon, Mar 16, 2020 at 12:12 PM akuster808 <akuster808 at gmail.com> wrote:
> > 
> > 
> > On 3/16/20 12:06 PM, Khem Raj wrote:
> > > rpi had additional diagnostics which should be ignored [1]
> > > 
> > > [1] https://github.com/raspberrypi/linux/issues/3195
> > 
> > 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.

> 
> > - armin
> > > Signed-off-by: Khem Raj <raj.khem at gmail.com>
> > > ---
> > >  meta/lib/oeqa/runtime/cases/parselogs.py | 5 +++++
> > >  1 file changed, 5 insertions(+)
> > > 
> > > diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py b/meta/lib/oeqa/runtime/cases/parselogs.py
> > > index cc4f5f8c78..48712d4dac 100644
> > > --- a/meta/lib/oeqa/runtime/cases/parselogs.py
> > > +++ b/meta/lib/oeqa/runtime/cases/parselogs.py
> > > @@ -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"]



More information about the Openembedded-core mailing list