From fa73f6d71db3d68ff3c6b276a973c9e1c30f1893 Mon Sep 17 00:00:00 2001 From: Muhammad Usama Anjum Date: Wed, 4 Dec 2024 13:25:28 +0500 Subject: [PATCH] config: dmesg.sh: Ignore missing handler errors in baseline tests Ignore "No irq handler for vector" errors in baseline tests [1]. These errors are harmless. But because of these errors the baseline test gets marked as failed which makes results dirty. It would have been better to ignore these errors as known errors on the dashboard. But as we don't have the functionality at this time. We have decided to ignore these during the test until we have the functionality. [1] https://kcidb.kernelci.org/d/test/test?orgId=1&var-datasource=default&var-build_architecture=x86_64&var-build_config_name=cros:%2F%2Fchromeos-6.6%2Fx86_64%2Fchromeos-amd-stoneyridge.flavour.config&var-id=maestro:67455b8c3be6da94b19fde34&from=now-100y&to=now&timezone=browser&var-origin=$__all&var-test_path=&var-issue_presence=$__all Close https://github.com/kernelci/kernelci-project/issues/496 Signed-off-by: Muhammad Usama Anjum --- config/rootfs/debos/overlays/baseline/opt/kernelci/dmesg.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/rootfs/debos/overlays/baseline/opt/kernelci/dmesg.sh b/config/rootfs/debos/overlays/baseline/opt/kernelci/dmesg.sh index 81480958ed..b353bb904c 100755 --- a/config/rootfs/debos/overlays/baseline/opt/kernelci/dmesg.sh +++ b/config/rootfs/debos/overlays/baseline/opt/kernelci/dmesg.sh @@ -12,6 +12,11 @@ fi for level in crit alert emerg; do dmesg --level=$level --notime -x -k > dmesg.$level + if grep -q "No irq handler for vector" dmesg.$level; then + echo "Ignoring:" + grep "No irq handler for vector" dmesg.$level + sed '/No irq handler for vector/d' dmesg.$level > dmesg.$level + fi if [ -s "dmesg.$level" ]; then res=fail ret=1