]> code.ossystems Code Review - openembedded-core.git/commit
parselogs.py: ignore intermittent CD/DVDROM identification failure
authorBruce Ashfield <bruce.ashfield@gmail.com>
Thu, 26 Aug 2021 16:33:38 +0000 (12:33 -0400)
committerAnuj Mittal <anuj.mittal@intel.com>
Mon, 6 Sep 2021 03:24:43 +0000 (11:24 +0800)
commitfc5c448d94e63bebb97de83113697c5cefe27116
treea4b1ea8e02e99f77cd4157b3284f439c06b87b6b
parent2a785e70c87b45e2627e0730603e3f1859fc8fac
parselogs.py: ignore intermittent CD/DVDROM identification failure

We don't use the CD/DVD ROM drive in any of our tests, but it
periodically fails discovery and that leads to a QA error:

    [    6.403477] ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)

The only way to disable the optical ROM drive in qemu is to use
the '-nodefaults' option, which disables the CDROM (among other things).
We can't be sure that none of our tests, or extended users are relying
on default devices, so using that option is more of a risk than adding
the message to our ignore list.

To date, no one has sent a patch to just disable the optical drive
(either in qemu or the BIOS), but that is something we could consider
in the future.

[YOCTO #14528]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 143fc5504539c69752ca87717507c197a8920ce5)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/lib/oeqa/runtime/cases/parselogs.py