Merge ~alexsander-souza/maas-ci/+git/system-tests:export_bin_journal into ~maas-committers/maas-ci/+git/system-tests:master

Proposed by Alexsander de Souza
Status: Merged
Approved by: Alexsander de Souza
Approved revision: 556ec834e6e2e6530f70fa7c5264ec472046b6e3
Merge reported by: MAAS Lander
Merged at revision: not available
Proposed branch: ~alexsander-souza/maas-ci/+git/system-tests:export_bin_journal
Merge into: ~maas-committers/maas-ci/+git/system-tests:master
Diff against target: 47 lines (+11/-7)
2 files modified
systemtests/collect_sos_report/test_collect.py (+10/-6)
systemtests/conftest.py (+1/-1)
Reviewer Review Type Date Requested Status
Christian Grabowski Approve
MAAS Lander Approve
Review via email: mp+451135@code.staging.launchpad.net

Commit message

export complete system journal

exports system logs using the Journal Export Format (https://systemd.io/JOURNAL_EXPORT_FORMATS#journal-export-format)

Description of the change

This format can be converted back to the binary journal and filtered using regular journalctl options:

$ xzcat journal.xz | /lib/systemd/systemd-journal-remote -o test.journal -
$ journalctl --file=test.journal $ARGS

To post a comment you must log in.
Revision history for this message
MAAS Lander (maas-lander) wrote :

UNIT TESTS
-b export_bin_journal lp:~alexsander-souza/maas-ci/+git/system-tests into -b master lp:~maas-committers/maas-ci/+git/system-tests

STATUS: FAILED
LOG: http://maas-ci.internal:8080/job/system-tests-tester/707/console
COMMIT: dfbad6de000561aa285aca3b839affe08e87adef

review: Needs Fixing
Revision history for this message
MAAS Lander (maas-lander) wrote :

UNIT TESTS
-b export_bin_journal lp:~alexsander-souza/maas-ci/+git/system-tests into -b master lp:~maas-committers/maas-ci/+git/system-tests

STATUS: FAILED
LOG: http://maas-ci.internal:8080/job/system-tests-tester/708/console
COMMIT: b3acfa67e57894e655ad86b9adf9c37182c160e8

review: Needs Fixing
Revision history for this message
MAAS Lander (maas-lander) wrote :

UNIT TESTS
-b export_bin_journal lp:~alexsander-souza/maas-ci/+git/system-tests into -b master lp:~maas-committers/maas-ci/+git/system-tests

STATUS: FAILED
LOG: http://maas-ci.internal:8080/job/system-tests-tester/709/console
COMMIT: b5523958f840b4c1840865c5ac9727d70115080c

review: Needs Fixing
Revision history for this message
MAAS Lander (maas-lander) wrote :

UNIT TESTS
-b export_bin_journal lp:~alexsander-souza/maas-ci/+git/system-tests into -b master lp:~maas-committers/maas-ci/+git/system-tests

STATUS: SUCCESS
COMMIT: 556ec834e6e2e6530f70fa7c5264ec472046b6e3

review: Approve
Revision history for this message
Christian Grabowski (cgrabowski) wrote :

+1

review: Approve

There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches