Files
poky/meta/lib/oeqa/runtime/dmesg.py
Richard Purdie 2163893b77 oeqa/runtime/dmesg: Ignore DMA timeout errors
We see these from qemu images on servers under load. They're not interesting
and clutter the build output so lets ignore them.

(From OE-Core rev: 053eba4885ab4016f7efc7899ec9e02df3384d11)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-02 17:25:28 +00:00

12 lines
431 B
Python

import unittest
from oeqa.oetest import oeRuntimeTest
from oeqa.utils.decorators import *
class DmesgTest(oeRuntimeTest):
@skipUnlessPassed('test_ssh')
def test_dmesg(self):
(status, output) = self.target.run('dmesg | grep -v mmci-pl18x | grep -v "error changing net interface name" | grep -iv "dma timeout" | grep -i error')
self.assertEqual(status, 1, msg = "Error messages in dmesg log: %s" % output)