-
Spike
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
image-builder-1
-
Image Builder 7, Image Builder 8
-
4
Motivation:
We want to implement boot tests in the service to test following workflow (that is similar to what a customer would do - horizontal E2E tests):
Create a blueprint for a specified target with customizations -> Build image from the Blueprint for the selected target -> (Download and) run the image -> Test if the image boots succesfully and test the customizations
These tests should also cover the integrations of other services into Image Builder.
They should live and run in our front end repository.
Problem:
Currently, we test the UI with Playwright set up using AWS Codebuild to execute the tests on. However, AWS Codebuild does not support nested virtulization (at least by default) which we need in order to run the image during the test, so we need to do a investigation into possible ways to implement these boot tests.
Goal:
- Find a suitable infrastructure solution for the boot tests
- Create a POC of a boot test, that would for now only create a BP with a single target (ideally qcow2), build an image from that BP, download it, boot it and simply check if it booted successfully
- Describe an architecture that will be used for the boot tests
- Use the outcome of this task in a discussion with other team members for possible improvements of the selected approach
Sources:
- informs
-
HMS-8983 End to end boot tests
-
- In Progress
-