Skip to content

Commit

Permalink
config: dmesg.sh: Ignore missing handler errors in baseline tests
Browse files Browse the repository at this point in the history
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 kernelci/kernelci-project#496
Signed-off-by: Muhammad Usama Anjum <[email protected]>
  • Loading branch information
Muhammad Usama Anjum committed Dec 4, 2024
1 parent 3e3317c commit fa73f6d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/rootfs/debos/overlays/baseline/opt/kernelci/dmesg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa73f6d

Please sign in to comment.