It might be help.
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>
extends: .test-vk
script:
- ./install/fossilize-runner.sh
+ artifacts:
+ when: on_failure
+ name: "mesa_${CI_JOB_NAME}"
+ paths:
+ - results/
llvmpipe-gles2:
variables:
export LD_LIBRARY_PATH=`pwd`/install/lib/
export VK_ICD_FILENAMES=`pwd`/install/share/vulkan/icd.d/"$VK_DRIVER"_icd.x86_64.json
-"$INSTALL/fossils/fossils.sh" "$INSTALL/fossils.yml"
+# To store Fossilize logs on failure.
+RESULTS=`pwd`/results
+mkdir -p results
+
+"$INSTALL/fossils/fossils.sh" "$INSTALL/fossils.yml" "$RESULTS"
FOSSILS_SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
FOSSILS_YAML="$(readlink -f "$1")"
+FOSSILS_RESULTS="$2"
clone_fossils_db()
{
for fossil in $(query_fossils_yaml fossils)
do
fetch_fossil "$fossil" || exit $?
- fossilize-replay --num-threads 4 $fossil 1>&2 2> fossil_replay.txt
+ fossilize-replay --num-threads 4 $fossil 1>&2 2> $FOSSILS_RESULTS/fossil_replay.txt
if [ $? != 0 ]; then
echo "Replay of $fossil failed"
- grep "pipeline crashed or hung" fossil_replay.txt
+ grep "pipeline crashed or hung" $FOSSILS_RESULTS/fossil_replay.txt
exit 1
fi
rm $fossil