summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Stanacar <stefanx.stanacar@intel.com>2013-07-08 16:40:00 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-16 10:04:15 +0100
commit46d3bb502f01f1d0bde967f029a988447c7e6e28 (patch)
tree497a76b370d3871d00a1fd93de12bd91f5ebbd72
parent8a971ae697d97d9d4ee4f32747e54e22b082c289 (diff)
downloadpoky-46d3bb502f01f1d0bde967f029a988447c7e6e28.tar.gz
lib/oeqa/runtime/dmesg.py: whitelist dmesg message for systemd net interface name
Messages such as: "systemd-udevd[79]: error changing net interface name eth0 to enp0s3: Device or resource busy" are harmless as systemd can't rename interfaces in qemu (the interface is already active). Alternatively, passing net.ifnames=0 to the kernel will stop systemd renaming the interfaces. (From OE-Core rev: c072fed6531f2ce3c687f8342a97f593ebf37653) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/runtime/dmesg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/dmesg.py b/meta/lib/oeqa/runtime/dmesg.py
index b0e2175bec..48370fbb0c 100644
--- a/meta/lib/oeqa/runtime/dmesg.py
+++ b/meta/lib/oeqa/runtime/dmesg.py
@@ -9,5 +9,5 @@ class DmesgTest(oeRuntimeTest):
9 9
10 @skipUnlessPassed('test_ssh') 10 @skipUnlessPassed('test_ssh')
11 def test_dmesg(self): 11 def test_dmesg(self):
12 (status, output) = self.target.run('dmesg | grep -v mmci-pl18x | grep -i error') 12 (status, output) = self.target.run('dmesg | grep -v mmci-pl18x | grep -v "error changing net interface name" | grep -i error')
13 self.assertEqual(status, 1, msg = "Error messages in dmesg log: %s" % output) 13 self.assertEqual(status, 1, msg = "Error messages in dmesg log: %s" % output)