diff options
author | Samuel Pitoiset <[email protected]> | 2020-06-24 14:07:39 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-06-26 06:45:23 +0000 |
commit | 4954df417c7bedd399a75dc4d80431ea9bba417d (patch) | |
tree | 6afd1867698c92165baef1638cdea2916c29ca09 /.gitlab-ci/fossils/fossils.sh | |
parent | b24b415013e9ef00c02ce64db376c976faee9dbe (diff) |
gitlab-ci: append Fossilize stdout/stderr to a file to reduce spam
Fossilize is really verbose and it's easy to reach the buffer
limit in GitLab CI.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5627>
Diffstat (limited to '.gitlab-ci/fossils/fossils.sh')
-rwxr-xr-x | .gitlab-ci/fossils/fossils.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.gitlab-ci/fossils/fossils.sh b/.gitlab-ci/fossils/fossils.sh index d951a7e6431..60394f7b2dc 100755 --- a/.gitlab-ci/fossils/fossils.sh +++ b/.gitlab-ci/fossils/fossils.sh @@ -64,7 +64,12 @@ create_clean_git 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 |