from oeqa.runtime.cases.parselogs import *

rpi_errors = [
    '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',
]

ignore_errors['raspberrypi4'] = rpi_errors + common_errors
ignore_errors['raspberrypi4-64'] = rpi_errors + common_errors
ignore_errors['raspberrypi3'] = rpi_errors + common_errors
ignore_errors['raspberrypi3-64'] = rpi_errors + common_errors

class ParseLogsTestRpi(ParseLogsTest):
    pass

from oeqa.runtime.cases.parselogs import *

rpi_errors = [
    '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',
    'bcmgenet fd580000.ethernet: failed to get enet-eee clock',
    'bcmgenet fd580000.ethernet: failed to get enet-wol clock',
    'bcmgenet fd580000.ethernet: failed to get enet clock',
]

ignore_errors['raspberrypi4'] = rpi_errors + common_errors
ignore_errors['raspberrypi4-64'] = rpi_errors + common_errors
ignore_errors['raspberrypi3'] = rpi_errors + common_errors
ignore_errors['raspberrypi3-64'] = rpi_errors + common_errors

class ParseLogsTestRpi(ParseLogsTest):
    pass

Add 5.4 specific error messages to ignore list
oeqa: Add 5.4 specific error messages to ignore list

with 5.4 fd580000.genet has been replaced with fd580000.ethernet in the
error text

Fixes
https://github.com/raspberrypi/linux/issues/3884

Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>
