-
Notifications
You must be signed in to change notification settings - Fork 164
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
mantle/kola: machine check enhancements #2968
mantle/kola: machine check enhancements #2968
Conversation
dustymabe
commented
Jul 8, 2022
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.
Nice!
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.
Nice series! One minor comment, but cool as is to not waste CI.
@@ -1340,6 +1349,7 @@ func runTest(h *harness.H, t *register.Test, pltfrm string, flight platform.Flig | |||
h.SetSubtests(t.Subtests) | |||
|
|||
rconf := &platform.RuntimeConfig{ | |||
AllowFailedUnits: testSkipBaseChecks(t), |
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.
Would be nice to update the docs in external-tests.md
.
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.
I'll just update the PR and merge (no need for another CI run since I'm just updating documentation).
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.
done
Right now the output is on multiple lines if there are multiple failed units. Let's make it print on a single line.
In this way we'll always run the unit checks (a change) but we'll continue to only fail if we are not allowing failed units.
…failures This will mean that if someone adds the "skip-base-checks" tag to their test systemd unit failures won't cause a failure.
…ailrues are detected It's frustrating when systemd unit failures are detected but you can't just get a shell on the machine to investigate. This patch plumbs through the SSHOnTestFailure information into the RuntimeConfig for the machine object so we can use that information within CheckMachine to dropt into a shell if desired by the user.
0a7f0ce
to
314b5cd
Compare