Skip to content

Commit c058dd7

Browse files
ci: ignore udisksd coredumps
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]>
1 parent 4b0dfc6 commit c058dd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check-coredumps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ fi
5353
# Iterate over new coredumps and print a summary and stack for each
5454
echo "Looking for new coredumps ..."
5555
echo
56-
coredump_pids=$(coredumpctl list --quiet --no-legend --since="$since" | grep -v "sshd$" | awk '{ print $5 }')
56+
coredump_pids=$(coredumpctl list --json=short --since="$since" | jq '.[] | select(.exe | endswith("sshd") or endswith("udisksd") | not) | .pid')
5757
coredump_count=0
5858
for pid in $coredump_pids; do
5959
coredump_count=$((coredump_count + 1))

0 commit comments

Comments
 (0)