mesa/.gitlab-ci
Guilherme Gallo 7600e2cca2 ci: Handle carriage return characters in LAVA logs
This commit updates LogFollower class to handle carriage return
characters in LAVA logs. LAVA treats carriage return characters as a
line break, so each carriage return in an output console is mapped to a
console line in LAVA.

The updated LogFollower class now merges lines that end with a carriage
return character into a single line, making the Gitlab sections work
correctly. In addition, the `remove_trailing_whitespace` method has been
updated to remove trailing `\r\n` characters from log lines.

The `test_lava_log_merge_carriage_return_lines` test function has also
been updated to test for carriage returns at the end of the previous
line.

Closes: #8242

Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21614>
2023-03-06 17:17:32 +00:00
..
b2c ci/b2c: start making use of the harbor.fd.o 2023-01-05 05:51:39 +00:00
bare-metal ci: implement unified sections 2023-03-01 12:02:24 +00:00
build ci: implement unified sections 2023-03-01 12:02:24 +00:00
common ci: implement unified sections 2023-03-01 12:02:24 +00:00
container ci: uprev CTS to 1.3.5.0 2023-03-03 08:23:21 +00:00
fossils gitlab-ci: attach the Fossilize log file as artifact on failure 2020-06-26 06:45:23 +00:00
lava ci: Handle carriage return characters in LAVA logs 2023-03-06 17:17:32 +00:00
meson ci: make meson build and test uncollapsed 2023-03-04 04:02:03 +00:00
piglit ci/piglit: Exclude swapbuffers front-readback tests with PIGLIT_PLATFORM=gbm. 2023-01-24 00:13:03 +00:00
test ci: implement unified sections 2023-03-01 12:02:24 +00:00
tests ci: Handle carriage return characters in LAVA logs 2023-03-06 17:17:32 +00:00
valve radv/ci: merge all the zink jobs into a single one 2023-01-06 14:09:31 +00:00
vkd3d-proton ci: print a message when vk3d-proton returns successfully 2022-06-16 06:36:36 +00:00
windows ci/windows: Update LLVM to 15 2023-02-11 05:24:08 +00:00
all-skips.txt ci/piglit: Add some common piglit skips for Mesa CI's testing of glx. 2023-01-24 00:13:02 +00:00
bin ci: move the CI handling scripts into bin/ci 2022-12-19 16:36:19 +01:00
cross-xfail-ppc64el ci: update xfails for ppc64le and s390x 2021-03-23 14:01:49 +00:00
cross-xfail-s390x llvmpipe: Use lp_build_round_arch on IBM Z (s390x) 2021-11-23 17:49:02 +00:00
crosvm-init.sh ci/crosvm: Rename VSOCK_TEMP_DIR -> VM_TEMP_DIR. 2022-05-18 22:49:20 +00:00
crosvm-runner.sh ci/venus: specify render server path to enable server config 2023-01-11 07:34:32 +00:00
cuttlefish-runner.sh ci/android: add missing line terminator at the end of the file 2023-02-07 16:28:35 +00:00
deqp-runner.sh ci: deqp-runner: drop already unused function 2023-03-04 04:02:03 +00:00
docs docs: Move the current CI .rst doc to docs/ci/ and link to it from .gitlab-ci. 2020-07-08 20:13:11 +00:00
download-git-cache.sh ci: revert download of git cache to the wget 2023-02-20 13:48:32 +00:00
fossilize-runner.sh gitlab-ci: attach the Fossilize log file as artifact on failure 2020-06-26 06:45:23 +00:00
fossils.yml gitlab-ci: add parallel-rdp fossils 2020-06-25 08:03:09 +02:00
gbm-skips.txt ci/piglit: Exclude swapbuffers front-readback tests with PIGLIT_PLATFORM=gbm. 2023-01-24 00:13:03 +00:00
gtest-runner.sh ci: Allow specifying any shell command via HWCI_TEST_SCRIPT 2022-03-22 17:01:09 +00:00
image-tags.yml ci: uprev CTS to 1.3.5.0 2023-03-03 08:23:21 +00:00
prepare-artifacts.sh ci: include setup test environment script in the output artifacts 2023-03-06 09:47:16 +00:00
report-flakes.py ci: Add known-flake handling for the IRC flake reports 2021-06-01 20:31:00 +00:00
run-shader-db.sh ci: implement unified sections 2023-03-01 12:02:24 +00:00
run-shellcheck.sh ci: use shellcheck for .gitlab-ci/container/ directory 2022-08-26 21:20:14 +00:00
run-yamllint.sh ci: use xargs instead of find -exec 2022-09-14 15:44:24 +00:00
setup-test-env.sh ci: do not exit when an error happens inside the section 2023-03-06 11:59:42 +00:00
test-source-dep.yml ci: Reuse MESA_CI_PERFORMANCE_ENABLED in performance-rules 2023-02-28 22:19:48 +00:00
x11-skips.txt ci/piglit: Add some common piglit skips for Mesa CI's testing of glx. 2023-01-24 00:13:02 +00:00
x86_64-w64-mingw32 ci: Prepare the container for building all mesa components with mingw under linux 2022-06-23 09:27:06 +00:00