Bug 1595167 - Unspecified behaviour of localwatchdog when /var/log/messages doesn't exist
Summary: Unspecified behaviour of localwatchdog when /var/log/messages doesn't exist
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Restraint
Classification: Retired
Component: general
Version: 0.1.33
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 0.1.36
Assignee: Matt Tyson 🤬
QA Contact: Dan Callaghan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-26 09:35 UTC by Jakub Heger
Modified: 2018-09-17 05:53 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-17 05:53:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Beaker Project Gerrit 6208 0 None None None 2018-07-18 23:38:41 UTC

Comment 1 Matt Tyson 🤬 2018-07-18 23:38:41 UTC
I've fixed the plugin so that it will use either /var/log/messages, or journalctl depending on what the system has.

Comment 2 Jakub Heger 2018-07-24 11:02:36 UTC
Hi Matt,

do you have ETA on when this patch could get into new release of restraint?

Comment 3 Roman Joost 2018-07-24 23:52:07 UTC
Dear Jakub,

we're looking at a new Restraint release in about 2 weeks from now (give or take).

Comment 4 Dan Callaghan 2018-07-25 00:08:42 UTC
Matt's on PTO right now so I will finish this off.

Comment 5 Jakub Heger 2018-08-13 08:32:09 UTC
Hi Roman,

any update on the release?

Comment 6 Roman Joost 2018-08-14 04:24:10 UTC
Dear Jakub,

I'm sorry but we haven't made any progress on this so far. We needed to do additional work on our release pipeline for restraint, which is taking us longer as expected. Once that's done, this fix will be part of the release.

Comment 8 Dan Callaghan 2018-08-23 07:10:09 UTC
I wrote a small task which just intentionally exceeds its watchdog time limit, to trigger the local watchdog:

https://gerrit.beaker-project.org/c/beaker-meta-tasks/+/6270

Ran it in a recipe using Fedora 28:

https://beaker-devel.app.eng.bos.redhat.com/recipes/25405#task163511

Verified that the harness correctly handles local watchdog expiry: it doesn't get stuck in an infinite loop, it kills the task and collects some process info and journalctl output and then reboots. The recipe continues after that.

Comment 9 Dan Callaghan 2018-09-17 05:53:12 UTC
Restraint 0.1.36 was released on 24 August.


Note You need to log in before you can comment on or make changes to this bug.