Feature #10279

Automatically test the sanity of the systemd journal and syslog

Added by anonym 2015-09-26 07:14:37 . Updated 2016-11-10 14:34:43 .

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Test suite
Target version:
Start date:
2015-09-26
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

For instance, we could boot Tails/Jessie, grab these logs, go through them line-by-line and create a “canonical” log pattern that we expect to get (no more, no less) at each boot. Obviously we’d strip time stamps and other stuff that can varies, and we would make the order of the entries not matter, etc etc. The test would fail if we see anything unexpected, or miss anything expected. If this is too hard, we could could limit it to “only allow the expected lines with the word ‘error’ in it” and “these lines must be present”.

This could be made into a new step, and/or as a part of the Tails seems to have booted normally step.


Subtasks


Related issues

Blocked by Tails - Feature #6171: Tails based on Jessie Resolved 2013-07-19

History

#1 Updated by anonym 2015-09-26 07:14:49

#2 Updated by kytv 2015-09-26 07:35:01

  • Tracker changed from Bug to Feature

#3 Updated by intrigeri 2015-10-03 15:21:27

I think this is a great idea, but FTR I’m wary of seeing this added as a blocker for Tails/Jessie, which we already are having a hard time finalizing. Especially with no assignee, and knowing that our test suite has still not been fully ported yet. If the 2.0 milestone was added merely to encode the fact that this requires the Journal, then the right way to do it is to drop the milestone and mark this ticket as blocked by Feature #6171. But perhaps just clarify what you meant with this milestone and I’ll translate it into Redmine-speak :)

#4 Updated by anonym 2015-11-11 04:09:50

  • Target version deleted (Tails_2.0)

intrigeri wrote:
> I think this is a great idea, but FTR I’m wary of seeing this added as a blocker for Tails/Jessie, which we already are having a hard time finalizing.

Agreed.

#5 Updated by anonym 2015-11-11 04:10:12

#6 Updated by kytv 2015-11-11 06:24:26

anonym wrote:
> intrigeri wrote:
> > I think this is a great idea, but FTR I’m wary of seeing this added as a blocker for Tails/Jessie, which we already are having a hard time finalizing.
>
> Agreed.

+1

#7 Updated by intrigeri 2016-11-10 14:34:43

  • Status changed from Confirmed to Rejected

anonym and I don’t think it’s worth the effort.