Patchwork oeqa/runtime/dmesg: Ignore DMA timeout errors

login
register
mail settings
Submitter Richard Purdie
Date March 1, 2014, 3:22 p.m.
Message ID <1393687321.20876.6.camel@ted>
Download mbox | patch
Permalink /patch/67779/
State New
Headers show

Comments

Richard Purdie - March 1, 2014, 3:22 p.m.
We see these from qemu images on servers under load. They're not interesting
and clutter the build output so lets ignore them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/lib/oeqa/runtime/dmesg.py b/meta/lib/oeqa/runtime/dmesg.py
index a53d1f0..64247ea 100644
--- a/meta/lib/oeqa/runtime/dmesg.py
+++ b/meta/lib/oeqa/runtime/dmesg.py
@@ -7,5 +7,5 @@  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 -i error')
+        (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)