-
Notifications
You must be signed in to change notification settings - Fork 125
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
Extend tmt-reboot to allow reboot from outside of the test process #2311
Conversation
I have tested RPMs built from this PR on my test doing a reboot from the outside session and it seems to work well. Great job! |
@kkaarreell that's good news, thanks! Adding this PR to 1.28 then, hoping for more testing. |
b2559b5
to
88e9676
Compare
yep, planning to test also, stay tuned |
88e9676
to
cc085f6
Compare
cc085f6
to
4aa02cf
Compare
4aa02cf
to
b9e9c25
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few typos.
b9e9c25
to
985fdde
Compare
985fdde
to
d552e8c
Compare
Filed #2377 for |
d552e8c
to
c1010bd
Compare
c1010bd
to
a2a2c9d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, nice work! Added just a couple of minor comments.
a2a2c9d
to
df6ce85
Compare
Patch introduced a "test pidfile" in which the execute plugin would store test process pid. This file is then used by `tmt-reboot` to discover which process to signal when reboot is requested. This allows `tmt-reboot` to be called from outside of the test process tree while keeping tmt in the loop and correctly notified.
33bae55
to
a6ad1ec
Compare
Patch introduced a "test pidfile" in which the execute plugin would
store test process pid. This file is then used by
tmt-reboot
todiscover which process to signal when reboot is requested.
This allows
tmt-reboot
to be called from outside of the test processtree while keeping tmt in the loop and correctly notified.
Fixes #2067