action #86099
closedcoordination #72889: [qe-core][qem][epic] QAM move job groups, test suites, medium types to git, and then restructure QAM testing to be more easily comparable to product QA
[qe-core][qem] Move osd test suites to git
0%
Description
The JobGroups used by qem jobs largely use the same test suites across multiple groups and products. That means that they can't be easily defined inline in the JobGroup yaml. So a similar process with the JobGroups CI for saving and updating them off the osd instance is needed.
Updated by apappas almost 4 years ago
- Status changed from New to In Progress
This is being done here:
https://gitlab.suse.de/qa-maintenance/qam-openqa-yml/-/merge_requests/53
Updated by livdywan almost 4 years ago
The MR says "archive" in the title. But I guess you'll want to process YAML to include test suites, going by the ticket description?
Updated by apappas almost 4 years ago
The archive is because qem doesn't own all the test suites it uses. We can't force other people to use our CI, so we are going to just archive those. Those that start with qam/mau will be overwritten from the CI all the time, so that any changes from the UI will be ignored.
Updated by apappas almost 4 years ago
I should also add that the main goal of this, is to have a record of them and the changes done to them.
We also can't (obviously/easily) inline the test suites to the JobGroups, because we are using the same test suite in lots of places.
Updated by apappas over 3 years ago
A bit of documentation regarding the current design.
(This is also on gitlab and confluence)
For the purpose of this project testsuites, are the database entries that are
retrievable at $openqa_instance/api/v1/test_suites
in JSON form. We divide
testsuites in two types, those that were owned by QEM and whose name starts with
qam
or mau
(QEM suites) and the rest (common suites). QEM suites are defined
at ./TestSuites/qem/ and are to be edited there, not OSD. Common testsuites
are stored at ./archive/TestSuites/common and are meant to be edited
elsewhere, on OSD or where their maintainer decides.
Testsuite CI¶
When a MR is done that edits the QEM testsuites, the CI runs
verify_testsuites.yml
. That checks whether:
- the QEM testsuites, that are required by the JobGroups, are stored in the proper directory.
- the common testsuites, that are required by the Jobgroups, are stored in the archive directory.
- that all testsuite JSONs are canonical and "pretty".
After the MR is merged in to the main repo, the post_testsuites.pl
script
sends only the QEM testsuites to OSD.
The archival of the common testsuites is not done automatically at the moment
but will be automated in the future.
Updated by tjyrinki_suse over 3 years ago
- Target version changed from Ready to QE-Core: Ready
Updated by tjyrinki_suse over 3 years ago
- Target version changed from QE-Core: Ready to Ready
Updated by szarate over 3 years ago
- Target version changed from Ready to QE-Core: Ready
Updated by apappas over 3 years ago
- Status changed from In Progress to Feedback
This has been reorganized into a new MR. Before it is merged I plan to propagandize it in the department because it will affect many teams.
Updated by szarate over 3 years ago
- Subject changed from [qe-core][qem] Move test suites to git to [qe-core][qem] Move osd test suites to git
Updated by apappas about 3 years ago
This has been alive for three weeks so I would say it is resolved.
Updated by tjyrinki_suse about 3 years ago
Useful to link this https://gitlab.suse.de/qa-maintenance/qam-openqa-yml/-/merge_requests/163 here as well with the review discussion.