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

Extend bootupd test to include testing adoption and updates #1788

Open
travier opened this issue Aug 28, 2024 · 3 comments
Open

Extend bootupd test to include testing adoption and updates #1788

travier opened this issue Aug 28, 2024 · 3 comments

Comments

@travier
Copy link
Member

travier commented Aug 28, 2024

Describe the enhancement

Can probably borrow some idea from upstream tests.

System details

N/A

Additional information

Would have helped with:

@jlebon
Copy link
Member

jlebon commented Aug 28, 2024

And also strengthen the current bootupd test to sanity-check the output of bootupctl status:
https://github.com/coreos/fedora-coreos-config/blob/testing-devel/tests/kola/boot/bootupd

One easy way to sanity-check it is to look for the NEVRAs of the installed grub and shim packages in the output since in the context of this test, we're guaranteed to be running the same contentset the bootloader was installed from.

@HuijingHei
Copy link
Member

sanity-check the output of bootupctl status: coreos/fedora-coreos-config#3130

@travier
Copy link
Member Author

travier commented Sep 3, 2024

Another potential test would be to:

  • Overwrite an existing file in the ESP
  • Verify that bootupctl validate now fails
  • Remove /boot/bootupd-state.json
  • Adopt / update again
  • Verify that validate is successful

@travier travier added the jira for syncing to jira label Sep 3, 2024
@jbtrystram jbtrystram assigned jbtrystram and HuijingHei and unassigned jbtrystram Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants