Repository navigation
add a test about boot option descriptions - #788
Conversation
gjcolombo
left a comment
There was a problem hiding this comment.
This is both a good test for us to have as we (or, well, I) change how NVMe device parameters work and a great description of how our firmware image actually constructs these IDs. Assuming this still passes with the latest HEAD we should merge it!
|
finally coming back to this: yep! gave this a run rebased on current |
uses efivarfs for guest info, so without efivarfs the test will fail
392b4b4 to
2ff265b
Compare
|
the so i've just rebased onto master, and it'll actually pass now 😓 |
ensuring we don't inflict Omicron#5112 on instances due to our own changes: boot option descriptions are load-bearing, so if we've changed them make sure we think through the consequences. i'm pleasantly surprised that
EfiLoadOptionjust.. worked here. yay.the procedure that gets us names we see for guest disks today is a bit subtle, but i've tried to document it fully to pair with the expectation in this test.
there are also specific conditions where failing this assertion is fine - say, if we've done #787, or changed how we're processing UEFI boot variables. just, as things are right now, we're surprisingly dependent on dancing with OVMF in exactly the same way every time a guest boots.