ci: pipeline_message: ignore harmless build logs
Currently marge gets confused when parsing a build log and mistakes innocuous lines that have the word "error" in them as actual issues. Example: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31093#note_2705442 https://gitlab.freedesktop.org/mesa/mesa/-/pipelines/1331453 Ignore lines with the word `error` in them that are not actual issues, so that marge can provide more useful comments. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32773>
This commit is contained in:

committed by
Marge Bot

parent
2a477f7df2
commit
6dc094decd
@@ -218,6 +218,7 @@ async def search_job_log_for_errors(session, project_id, job):
|
||||
# forget to add a comma after each entry
|
||||
ignore_list = [
|
||||
"aborting",
|
||||
"building c",
|
||||
"error_msg : None",
|
||||
"error_type",
|
||||
"exit code",
|
||||
@@ -225,9 +226,12 @@ async def search_job_log_for_errors(session, project_id, job):
|
||||
"exiting now",
|
||||
"job failed",
|
||||
"no files to upload",
|
||||
"performing test",
|
||||
"ret code",
|
||||
"retry",
|
||||
"retry-all-errors",
|
||||
"strerror_",
|
||||
"success",
|
||||
"unknown-section",
|
||||
]
|
||||
job_log = await get_job_log(session, project_id, job["id"])
|
||||
|
Reference in New Issue
Block a user