Test kickstart install with a kickstart that lists a non-existent package #336

Open
opened 2024-09-05 23:03:25 +00:00 by adamwill · 5 comments
Owner

This is a request from the anaconda devs. Ref https://bugzilla.redhat.com/show_bug.cgi?id=2238045 . There's an interactive flow in anaconda when a kickstart-driven install lists a package that doesn't exist, which had a bug. The anaconda team would like us to test that in openQA (it does seem like a natural fit). So the test would run an install with a kickstart that intentionally listed a missing package, and check that the expected UI flow appeared and could be successfully clicked through to complete the install.

This is a request from the anaconda devs. Ref https://bugzilla.redhat.com/show_bug.cgi?id=2238045 . There's an interactive flow in anaconda when a kickstart-driven install lists a package that doesn't exist, which had a bug. The anaconda team would like us to test that in openQA (it does seem like a natural fit). So the test would run an install with a kickstart that intentionally listed a missing package, and check that the expected UI flow appeared and could be successfully clicked through to complete the install.
Author
Owner

@jkonecny sorry, just wanted to check on this - we didn't get to this yet, and I know you have more testing in your CI now; is this something you've covered with upstream tests or would it still be useful in openQA? thanks!

@jkonecny sorry, just wanted to check on this - we didn't get to this yet, and I know you have more testing in your CI now; is this something you've covered with upstream tests or would it still be useful in openQA? thanks!
Author
Owner

Metadata Update from @adamwill:

  • Custom field story_points adjusted to 2
**Metadata Update from @adamwill**: - Custom field story_points adjusted to 2

Right now I don't think we have anything that could do this with our current upstream CI toolinng - we have some kickstart tests, but those only check a %packages section flag that makes Anaconda ignore those missing packages. We simply don't have anything to click thorough those warnings & finish the installation.
I think OpenQA could certainly do this & is the only short term solution if we wanted to have this flow covered.
But longer term I wonder if perhaps the Web UI tests could handle this ?
Quite a few things would have to be implemented first though - proper support for kickstart install and RPM based installation in the Web UI and possibly also some added support for combining kickstarts & Web UI based tests in the tooling.

Also CC @kkoukiou to keep you the picture. :)

Right now I don't think we have anything that could do this with our current upstream CI toolinng - we have some kickstart tests, but those only check a %packages section flag that makes Anaconda ignore those missing packages. We simply don't have anything to click thorough those warnings & finish the installation. I think OpenQA could certainly do this & is the only short term solution if we wanted to have this flow covered. But longer term I wonder if perhaps the Web UI tests could handle this ? Quite a few things would have to be implemented first though - proper support for kickstart install and RPM based installation in the Web UI and possibly also some added support for combining kickstarts & Web UI based tests in the tooling. Also CC @kkoukiou to keep you the picture. :)
adamwill added this to the Sprint 7 project 2026-04-07 23:31:11 +00:00
Author
Owner

So, I started work on this, and immediately found that this flow is actually broken again - trying to install F44 with a kickstart that specifies a non-existent package causes a crash.

That makes it a bit hard to develop the test because I can't get the needle for the expected flow, and confirm that it works.

So, I started work on this, and immediately found that [this flow is actually broken again](https://bugzilla.redhat.com/show_bug.cgi?id=2459944) - trying to install F44 with a kickstart that specifies a non-existent package causes a crash. That makes it a bit hard to develop the test because I can't get the needle for the expected flow, and confirm that it works.
adamwill modified the project from Sprint 7 to Sprint 8 2026-04-21 15:13:39 +00:00
Author
Owner

This is still blocked because the proposed fix for the anaconda bug is getting kicked around quite a lot upstream.

This is still blocked because the [proposed fix for the anaconda bug](https://github.com/rhinstaller/anaconda/pull/7025) is getting kicked around quite a lot upstream.
adamwill removed this from the Sprint 8 project 2026-05-05 15:22:38 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
quality/os-autoinst-distri-fedora#336
No description provided.