[oe-commits] [openembedded-core] 07/14: parselogs.py: ignore network interface name changing failure

git at git.openembedded.org git at git.openembedded.org
Tue Jul 31 21:56:17 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit f1735fed088ddda6517fa4ff6fbd6ef683b14878
Author: Chen Qi <Qi.Chen at windriver.com>
AuthorDate: Tue Jul 31 10:21:20 2018 +0800

    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 at windriver.com>
---
 meta/lib/oeqa/runtime/cases/parselogs.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py b/meta/lib/oeqa/runtime/cases/parselogs.py
index f0bcd16..017b550 100644
--- a/meta/lib/oeqa/runtime/cases/parselogs.py
+++ b/meta/lib/oeqa/runtime/cases/parselogs.py
@@ -51,7 +51,8 @@ common_errors = [
     "Cannot set xattr user.Librepo.DownloadInProgress",
     "Failed to read /var/lib/nfs/statd/state: Success",
     "error retry time-out =",
-    "logind: cannot setup systemd-logind helper (-61), using legacy fallback"
+    "logind: cannot setup systemd-logind helper (-61), using legacy fallback",
+    "Error changing net interface name 'eth0' to "
     ]
 
 video_related = [

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list