]> code.ossystems Code Review - openembedded-core.git/commit
parselogs.py: ignore network interface name changing failure
authorChen Qi <Qi.Chen@windriver.com>
Tue, 31 Jul 2018 02:21:20 +0000 (10:21 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 31 Jul 2018 21:42:03 +0000 (22:42 +0100)
commitf1735fed088ddda6517fa4ff6fbd6ef683b14878
treefd385a7592b2ba98e77d72ce88d8b5af821807ad
parent119c22342d446e4f638b8d4c81480ebc7b444245
parselogs.py: ignore network interface name changing failure

The following error from systemd-udevd is not harmful. It's just
because our qemu targets are using eth0.

  Error changing net interface name 'eth0' to 'enp0s3': Device or resource busy

Note that systemd is using a different network interface naming scheme
from traditional ethX naming scheme. To make this error message go away,
we could symlink /etc/udev/rules.d/80-net-setup-link.rules to /dev/null
to recover traditional naming scheme. But I'm not sure if this will
cause regression in user experience for systemd users of OE.

So just ignore this error message so that parselogs.py test case does not
fail.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
meta/lib/oeqa/runtime/cases/parselogs.py