lib/oeqa/runtime/ whitelist dmesg message for systemd net interface name

Submitted by Stanacar, StefanX on July 9, 2013, 4:48 p.m.


Message ID
State Accepted
Commit c072fed6531f2ce3c687f8342a97f593ebf37653
Headers show

Commit Message

Stanacar, StefanX July 9, 2013, 4:48 p.m.
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.

Signed-off-by: Stefan Stanacar <>
 meta/lib/oeqa/runtime/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/lib/oeqa/runtime/ b/meta/lib/oeqa/runtime/
index b0e2175..48370fb 100644
--- a/meta/lib/oeqa/runtime/
+++ b/meta/lib/oeqa/runtime/
@@ -9,5 +9,5 @@  class DmesgTest(oeRuntimeTest):
     def test_dmesg(self):
-        (status, output) ='dmesg | grep -v mmci-pl18x | grep -i error')
+        (status, output) ='dmesg | grep -v mmci-pl18x | grep -v "error changing net interface name" | grep -i error')
         self.assertEqual(status, 1, msg = "Error messages in dmesg log: %s" % output)