-
Notifications
You must be signed in to change notification settings - Fork 169
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
tests/ignition: Modify qemufailure to include bootfs test #3647
Conversation
Skipping CI for Draft Pull Request. |
The current state of things:
|
Currently getting an error:
|
9b09876
to
e919872
Compare
@jlebon Can you please revise the latest changes? |
Currently timing out:
I've seen this behaviour here before when modifying |
/retest |
d10eb85
to
370113e
Compare
Updated the PR, this should verify that there is only one boot filesystem attached to the device. In order to make sure that the initramfs failure was related to the coreos-unique-boot.service I am checking the consolefile - curious to know if there is a better way to do it? |
bd33b17
to
a5f703c
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.
Some comments, but this is looking really good now. Nice work!
9b89a62
to
236f749
Compare
7b43858
to
84602fa
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.
resolved
/retest-required |
1 similar comment
/retest-required |
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.
This is looking close! coreos.ignition.failure
is failing on RHCOS; possibly the error message is different there?
84602fa
to
c044a86
Compare
@jlebon - Thank you for all the comments and your time reviewing this issue! |
c044a86
to
a0f2359
Compare
See: coreos#2953 tests/ignition: Use ignition config to create a second bootfs Co-authored-by: JB Trystram <[email protected]> mantle/kola: Create functions to grep for patterns
a0f2359
to
aa7c403
Compare
/retest |
When we were getting that working we ran into the issue where the test was passing, because it returned an error too early. |
I think during our meeting @jlebon referred to this comment |
Just for reference... changing the search string indeed fails the test as expected:
|
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.
LGTM. Nice work!
err = nil | ||
resultingError := inst.WaitAll(ctx) | ||
if resultingError == nil { | ||
resultingError = fmt.Errorf("ignition unexpectedly succeeded") |
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 guess this error should probably be more generic now, since it's testing more than just Ignition failures. E.g. maybe just
initramfs unexpectedly succeeded
And the function name could be more specific, e.g. verifyInitramfsFailure()
.
But not worth a respin.
/retest |
Awesome! Thanks @jlebon and @jbtrystram for all the help! |
/test all |
See: #2953