Skip to content

Commit 5bfb1cf

Browse files
mayastor-borstiagolobocastro
andcommitted
Merge #1804
1804: ci: ignore udisksd coredumps r=tiagolobocastro a=tiagolobocastro Otherwise we detect this as a failure. todo: instead, we should only detect crashes on processes started by the test. Co-authored-by: Tiago Castro <[email protected]>
2 parents 4b0dfc6 + c058dd7 commit 5bfb1cf

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)