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

Automated RPU test #253

Draft
wants to merge 61 commits into
base: master
Choose a base branch
from
Draft

Automated RPU test #253

wants to merge 61 commits into from

Conversation

ydirson
Copy link
Contributor

@ydirson ydirson commented Sep 5, 2024

Split out and based on #226

ydirson and others added 29 commits October 8, 2024 12:40
This is just base infra, different machines have not differences yet.

Signed-off-by: Yann Dirson <[email protected]>
Uses a helper VM to modify firstboot data in installed disk
clone+start:// will be used to implement--hosts=cache://...

clone:// itself is not yet used directly, but as the "base" protocol upon
which clone+start build, it seems logical (and basically free) to implement.

Signed-off-by: Yann Dirson <[email protected]>
Will allow it to access host_list through closure.

Signed-off-by: Yann Dirson <[email protected]>
Special care taken for making sure a created VM is destroyed if
setup_host fails further down the line.

Signed-off-by: Yann Dirson <[email protected]>
Add a new parameter to allow booting using netinstall. If an ISO only
supports netinstall you can specify it in the data.py by setting the
option `net-only` to True. This option is set to False by default.

Signed-off-by: Guillaume <[email protected]>

FIXME: net-url should not be required for every ISO
Signed-off-by: Yann Dirson <[email protected]>
FIXME: config.py seems a bad idea after all

FIXME: duplicated logic should be factored out
FIXME: should be in job instead
When using --hosts=cache://... it is much too early for such a check, so
we have to give the info manually, and the script would not allow this.

And honor it not just for "collect".
Can only succeed with a certificate refresh in between
FIXME: dependency on tests from another module don't seem to get properly
located by pytest-dependency (--ignore-unknown-dependency required)
FIXME: how useful?
FIXME: had to keep a copy of perform_upgrade() after its functionality
was moved to vm_booted_with_installer fixture, must find a proper solution
for that
Useful to get the debug output from commands.ssh()

Signed-off-by: Yann Dirson <[email protected]>
Error code would be concatenated with command output without even a space.

Signed-off-by: Yann Dirson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants