mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
ci: ci_run_n_monitor fix Unicode log parsing
Fixes issues as `...truncated \ xXX escape` while parsing the log. Acked-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Martin Roukala <martin.roukala@mupuf.org> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20271>
This commit is contained in:
parent
df8611e816
commit
f745e86391
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ def print_log(project, job_id) -> None:
|
|||
job = project.jobs.get(job_id)
|
||||
|
||||
# GitLab's REST API doesn't offer pagination for logs, so we have to refetch it all
|
||||
lines = job.trace().decode("unicode_escape").splitlines()
|
||||
lines = job.trace().decode("raw_unicode_escape").splitlines()
|
||||
for line in lines[printed_lines:]:
|
||||
print(line)
|
||||
printed_lines = len(lines)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue