action #90404
closed
openQA Project (public) - coordination #102906: [saga][epic] Increased stability of tests with less "known failures", known incompletes handled automatically within openQA
openQA Project (public) - coordination #88229: [epic] Prevent unintended test coverage decrease
action #88127: [tools][qem] Test coverage DB for maintenance updates
[teregen] Update TeReGen for deployment on qam2
Added by jbaier_cz almost 4 years ago.
Updated over 3 years ago.
- Subject changed from Update TeReGen for deployment on qam2 to [teregen] Update TeReGen for deployment on qam2
- Status changed from New to In Progress
- Target version changed from future to Ready
- Start date changed from 2021-03-22 to 2021-04-09
New template generator features requires PSQL to be present. A convenient one is already deployed inside a container environment on qam2. As old qam server should no longer be used, it is probably a good time to finally migrate template generator to new machine. So far, following items needs to be reviewed, evaluated and dealt with:
- Connection to SVN service (test template storage)
- Cron configuration (time based runs)
- Companion scripts (wrappers and mail reminders from qam-script folder)
- Assignee set to jbaier_cz
Initial evaluation¶
SVN repository is already accessible on both machine via NFS mount
A few cron entries with scripts from the repository exist:
qam_add_templates_to_svn.sh /srv/svn/checkouts/testreports 2>> /srv/svn/logs/generator.errors >> /srv/svn/logs/generator.out
check_for_unsent_reports.sh
update_git_repo.sh
The first one is relevant to this issue and needs to be changed.
From all scripts inside the repository, only qam_add_templates_to_svn.sh interacts directly with the template generator (invoking it), the rest is just interacting with the SVN repository. The script was simplified once (during the last template generator major update) and could be simplified more. It is also possible to integrate it inside the template generator wrapper itself.
The functionality includes:
- making sure only one instance is running via PID file
- retrieving RRs via
osc --apiurl https://api.suse.de review list
- checking log file existence
- generating log file via invoking
/usr/bin/qam_template
(template generator wrapper)
- adding the newly generated directory into svn via
svn add
- Due date set to 2021-04-27
Setting due date based on mean cycle time of SUSE QE Tools
- Status changed from In Progress to Feedback
- Due date changed from 2021-04-27 to 2021-05-03
I found a few regressions (mainly in svn access parts). All should be fixed and the new version is reenabled. Let's wait and see if any issue resurfaces.
- Status changed from Feedback to Resolved
- Due date deleted (
2021-05-03)
Also available in: Atom
PDF