Actions
action #124398
closedsalt gitlab CI jobs fail due to exceeding log length of 500kB size:M
Start date:
2023-02-13
Due date:
2023-03-26
% Done:
0%
Estimated time:
Tags:
Description
Observation¶
https://gitlab.suse.de/openqa/salt-pillars-openqa/-/jobs/1396813 fails with a message
Job's log exceeded limit of 4194304 bytes.
Job execution will continue but no more output will be collected.
so we don't what the actual problem was.
Acceptance criteria¶
- AC1: salt gitlab CI jobs show obvious error messages in all relevant cases
Suggestions¶
- Try to pipe the verbose output into an artifact file that is uploaded, only keep terse output directly.
- Research https://stackoverflow.com/questions/39747336/artifacts-for-failed-builds-in-gitlab
- As alternative we could call with
--state-output=changes
which only shows changes but in some cases we benefit from verbose logs. Maybe salt also has some option to store in file
Actions