Skip to content

Commit

Permalink
ci: ignore udisksd coredumps
Browse files Browse the repository at this point in the history
Otherwise we detect this as a failure.
todo: instead, we should only detect crashes on processes started by the test.

Signed-off-by: Tiago Castro <[email protected]>
  • Loading branch information
tiagolobocastro committed Jan 17, 2025
1 parent 4b0dfc6 commit c058dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check-coredumps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fi
# Iterate over new coredumps and print a summary and stack for each
echo "Looking for new coredumps ..."
echo
coredump_pids=$(coredumpctl list --quiet --no-legend --since="$since" | grep -v "sshd$" | awk '{ print $5 }')
coredump_pids=$(coredumpctl list --json=short --since="$since" | jq '.[] | select(.exe | endswith("sshd") or endswith("udisksd") | not) | .pid')
coredump_count=0
for pid in $coredump_pids; do
coredump_count=$((coredump_count + 1))
Expand Down

0 comments on commit c058dd7

Please sign in to comment.