Skip to content

Handle logs during container startup

Hello,
this MR adds support for collecting logs during container startup phase.

Changes:

  • startup error logs are collected regardless of which LogPolicy is used.
  • new LogPolicy::OnStartupError is used as escape hatch to avoid collecting logs during test execution phase. It should represent this hierarchy: Always > OnError > OnStartupError.
  • functions handle_logs() and handle_startup_logs() now returns all errors to provide more info when something goes wrong with log handling.
Edited by Lukáš Kováč

Merge request reports