Add automatic testing for live environment and installation#86
Open
Add automatic testing for live environment and installation#86
Conversation
Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
1c4afa2 to
dfe4a6c
Compare
Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
dfe4a6c to
d575496
Compare
Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
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
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.
This adds automatic testing of ISO environment and system installation process through calamares using the quicktest project. The main motivation for this is to make maintaince easier, speed up the process of releasing new ISOs and improve quality of testing as it allows to test many configurations at once for each change.
It works pretty simple: Testing takes place in QEMU virtual machine, with which quicktest communicate via socket, through which predescribed actions are transmitted - keystroke sequences, which are described as simple shell script in the
testcasesdirectory. Control of the process is carried out by sequential capture of screenshots and it analysis using OCR (tesseract). The main limitation here is that you can’t pass input with a "virtual" mouse, but usually keyboard control is enough to check many things like installation process.At the end, result of installation timelapse is uploaded into the artifacts along with ISO.
Of course, this does not allow us to identify in advance all hardware-specific issues (at least now, if we had our own runners, we could test and it just by passthrough GPU and other things in VM), but at least it gives a good QA on changes in calamares.
Some future work: