Fossilize is really verbose and it's easy to reach the buffer
limit in GitLab CI.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5627>
for fossil in $(query_fossils_yaml fossils)
do
fetch_fossil "$fossil" || exit $?
- fossilize-replay --num-threads 4 $fossil || exit $?
+ fossilize-replay --num-threads 4 $fossil 1>&2 2> fossil_replay.txt
+ if [ $? != 0 ]; then
+ echo "Replay of $fossil failed"
+ grep "pipeline crashed or hung" fossil_replay.txt
+ exit 1
+ fi
rm $fossil
done