-
Notifications
You must be signed in to change notification settings - Fork 5
Automated install tests #226
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
Open
ydirson
wants to merge
42
commits into
master
Choose a base branch
from
install
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gduperrey
reviewed
May 14, 2024
gduperrey
reviewed
May 14, 2024
Current status: install + firstboot work in a single test
|
13282cc
to
64d0e9c
Compare
Current status: 2 separate tests for install and firstboot work without any manual intervention
|
143c991
to
56abc4e
Compare
Current status:
Next steps:
|
1fda4a1
to
2dd8ec0
Compare
Current status:
Next steps:
|
b75d3ed
to
ebe6700
Compare
358055b
to
18e0ef8
Compare
This protects against using results from incompatible test by mistake. Signed-off-by: Yann Dirson <[email protected]>
The key used to locate a VM image in the VM cache depends on the test repo commit hash, to protect against using results from incompatible test by mistake. But the commit hash can change for many reasons that do not influence the parent tests, so this provides a way to use known-equivalent test outputs. Signed-off-by: Yann Dirson <[email protected]>
This will avoid duplication of logic for selecting parent test. Since dependencies are now generated by fixtures, they are not taken into account by pytest-order any more. Looks like some heavy surgery would be necessary to get that back. Signed-off-by: Yann Dirson <[email protected]>
Especially useful for images out of CI, which today are not signed yet. Signed-off-by: Yann Dirson <[email protected]>
Changing test parameters may require changes to hardcoded test sequences. Adding only a single test sequence here to server as example for quick testing, as further commits will make many changes to test names. Signed-off-by: Yann Dirson <[email protected]>
Signed-off-by: Yann Dirson <[email protected]>
Signed-off-by: Yann Dirson <[email protected]>
Signed-off-by: Yann Dirson <[email protected]>
Signed-off-by: Yann Dirson <[email protected]>
Signed-off-by: Yann Dirson <[email protected]>
Signed-off-by: Yann Dirson <[email protected]>
No direct upgrade to 8.3 for those versions. Signed-off-by: Yann Dirson <[email protected]>
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 Signed-off-by: Yann Dirson <[email protected]>
Signed-off-by: Yann Dirson <[email protected]>
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, it is specified it in the data.py by setting the `net-only`option to True. This option is set to False by default. Signed-off-by: Guillaume <[email protected]> Signed-off-by: Yann Dirson <[email protected]>
Signed-off-by: Yann Dirson <[email protected]>
Signed-off-by: Yann Dirson <[email protected]>
…store Signed-off-by: Yann Dirson <[email protected]>
Signed-off-by: Yann Dirson <[email protected]>
Signed-off-by: Yann Dirson <[email protected]>
Signed-off-by: Yann Dirson <[email protected]>
In some network we might not even have a PXE server, or no ssh access to it. Signed-off-by: Yann Dirson <[email protected]>
The former code relies on output from the net-tools implementation of the arp tool. At least the busybox implementation, found in Alpine Linux, has a different output. The `ip neigh` OTOH is designed as machine-readable and works both with iproute2 and busybox. Signed-off-by: Yann Dirson <[email protected]>
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Now based on top of preliminary PRs to separate generally-useful stuff:
VM.vdi_uuids
#283Requires at least python 3.8 and pytest 8.2.