Skip to content
Snippets Groups Projects

Wait for AUM logs to be flushed

Merged Walter Lozano requested to merge wip/wlozano/journal-check-fix into apertis/v2024dev1
All threads resolved!

Under some scenarios, the logs for the AUM restart take longer to appear, causing that the cursor is saved before them. Under this situation the test might think that AUM was restarted after a crash.

In order to have a reliable way of check logs wait for AUM logs to be flushed after restart it.

Also, fix the use of journalctl with cursor, to avoid missing log entries.

infrastructure/apertis-issues#146 (closed) infrastructure/apertis-issues#217 (closed)

Signed-off-by: Walter Lozano walter.lozano@collabora.com

Edited by Walter Lozano

Merge request reports

Checking pipeline status.

Approval is optional

Set by to be merged automatically when the pipeline succeeds

Ready to merge by members who can write to the target branch.

Merge details

  • 1 commit will be added to apertis/v2025dev0.
  • Source branch will be deleted.
  • Auto-merge enabled

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Walter Lozano added 2 commits

    added 2 commits

    • 7afbc6f7 - Flush logs to properly check test result
    • 773cfa96 - Fix cursor use with journalctl

    Compare with previous version

  • Andre Moreira Magalhaes approved this merge request

    approved this merge request

  • Walter Lozano resolved all threads

    resolved all threads

  • merged

  • Walter Lozano mentioned in merge request !44 (merged)

    mentioned in merge request !44 (merged)

  • Walter Lozano changed the description

    changed the description

  • Please register or sign in to reply
    Loading