Hi!
Michal and I are working on a bug with network configuration using AutoYaST. The fix is rather intrusive so we want to add tests and check for regressions.
The basic idea for such tests is to start with a specific AY profile and a matching virtual hardware (network cards), run the installation, and check the resulting filesystem for expected configuration.
One test case: - autoyast profile - feature being tested (eg. NIC naming) - helpers for the automated test (multiple pkg repos, disable sig check, final_halt) - a standard installation repo (SP2) - new yast package(s) to test - to be put to a DUD and an add-on repo (on a CD) - virtual hardware configuration (platform: libvirt) - feature-wise (number of NICs and their MACs) - helpers (second CDROM) - assertions to check after the run - simple way: check that some files have excactly some expected content
Automating multiple runs of multiple test cases: TBD
If this sounds too abstract, here's our existing manual test plan for the bug:
http://idontknow.suse.cz/install/ (internal, hrefs work) https://gist.github.com/4194824 (external, hrefs broken online)
AFAIK we don't have a framework for such tests, so we want to build one. Well, I know of some related work:
- OpenQA - Hamsta - Jenkins CI - AutoYaST tests that I don't know of?
So that's why I'm sharing the design and want to check with you: Are we reinventing the wheel? Can we reuse the existing projects?
Hey, On 12/05/2012 10:33 AM, Martin Vidner wrote:
Hi!
Michal and I are working on a bug with network configuration using AutoYaST. The fix is rather intrusive so we want to add tests and check for regressions.
- Hamsta
Since I left Suse, from my side there was not much effort in improving Hamsta. So I guess it slowly died. Furthermore Hamsta was also more dedicated to machine hardware. So it took a script or rpm or whatever and executed it (and collected the information back) on the selected hardware resources.
Perhaps Autotest ( http://autotest.github.com/) from Google gained network support and is more recent.
So that's why I'm sharing the design and want to check with you: Are we reinventing the wheel? Can we reuse the existing projects?
Patrick
Hi Patrick,
On 05.12.2012 11:05, Patrick Kirsch wrote:
Hey, On 12/05/2012 10:33 AM, Martin Vidner wrote:
Hi!
Michal and I are working on a bug with network configuration using AutoYaST. The fix is rather intrusive so we want to add tests and check for regressions.
- Hamsta
Since I left Suse, from my side there was not much effort in improving Hamsta. So I guess it slowly died. Furthermore Hamsta was also more dedicated to machine hardware. So it took a script or rpm or whatever and executed it (and collected the information back) on the selected hardware resources.
I guess your skills as a guesser might have room for improvement. Hamsta is still alive, probably in a better shape as you guess ...
Perhaps Autotest ( http://autotest.github.com/) from Google gained network support and is more recent.
So that's why I'm sharing the design and want to check with you: Are we reinventing the wheel? Can we reuse the existing projects?
Best wishes Holgi