Connor recently ran into an issue where the chezas were hanging where his GPUs weren't, and was blocked on getting some feedback on what was happening. A devcoredump will help non-cheza-having devs debug (or hopefully with other intermittent fails). Closes: #3187 Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6036>
15 lines
309 B
Bash
Executable File
15 lines
309 B
Bash
Executable File
#!/bin/sh
|
|
|
|
while true; do
|
|
devcds=`find /sys/devices/virtual/devcoredump/ -name data`
|
|
for i in $devcds; do
|
|
echo "Found a devcoredump at $i."
|
|
if cp $i /results/first.devcore; then
|
|
echo 1 > $i
|
|
echo "Saved to the job artifacts at /first.devcore"
|
|
exit 0
|
|
fi
|
|
done
|
|
sleep 10
|
|
done
|