Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFE] clarify external/local in bkr-watchdog-extend(1) #88

Open
AloisMahdal opened this issue Feb 9, 2021 · 4 comments
Open

[RFE] clarify external/local in bkr-watchdog-extend(1) #88

AloisMahdal opened this issue Feb 9, 2021 · 4 comments
Labels
Projects

Comments

@AloisMahdal
Copy link

Is your feature request related to a problem? Please describe.
Learning about bkr watchdog-extend I wanted to know whether the command will adjust only external watchdog or both external.

But I could not tell neither from the manpage nor from --help

Describe the solution you'd like

--help and/or manpage should mention the fact that this command adjusts external watchdog only.

Describe alternatives you've considered

I asked on redhat-internal #beaker and got answer from @jbastian in few hours. ;-)

Additional context
bwe

@AloisMahdal AloisMahdal added the enhancement New feature or request label Feb 9, 2021
@StykMartin
Copy link
Contributor

We have only one watchdog in Beaker itself 👀

@AloisMahdal
Copy link
Author

I see, that's what I suspected.

I don't know where I've picked this double-watchdog idea but looking through Beaker docs I can't say it's responsible; it barely mentions watchdog and when it does, it just calls it "watchdog". Maybe beaker-results anbd the WUI -- External Watchdog Expired message, and occasional localwatchdog.

Feel free to close it looks like I'm the only one that would benefit from the clarification. On the other hand, if more people could be confused maybe it would still make sense to shimmy in a "don't confuse" note or something like that.

@AloisMahdal
Copy link
Author

.. on a second look, Architecture Guide does mention it:

Watchdog timers

Low level operating system testing is prone to rendering a machine completely unresponsive, especially when testing experimental code. Accordingly, Beaker supports two levels of watchdog timer, one running as part of the test harness (called the “Local Watchdog”) and one running on the lab controller associated with the system running the recipe (called the “External Watchdog”).

If the local watchdog times out, it will abort the current task and attempt to move on to the next one. If the external watchdog times out, it will abort the entire recipe. Tasks are able to adjust the watchdogs dynamically if they need more time, allowing the use of more aggressive default timeouts.

@StykMartin
Copy link
Contributor

Keeping this open.
Would be nice to get rid of LWD notes. It is out of the scope for Beaker itself. Test harness may have many watchdogs and it depends on implementation what you will see in Beaker.

@StykMartin StykMartin added docs and removed enhancement New feature or request labels Feb 15, 2021
@StykMartin StykMartin added this to To do in BeakerNG Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

2 participants