action #53726
closed[SLE][Migration][SLE12SP5] RMT automation integration work
100%
Description
This task include how to add RMT automation into our regression group.
Updated by leli over 5 years ago
- Category set to Enhancement to existing tests
- Assignee set to leli
Updated by zoecao over 5 years ago
- setup RMT server
- sync from SCC
- enable some products or repos
- mirror the repos
Updated by leli over 5 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 50
On investigation, the existing RMT code has already covered the RMT test steps. So we just need to run RMT test on regression test group.
lib/repo_tools.pm:
sub rmt_mirror_repo {
my $repo_list = get_var('RMT_REPO') || 'sle-module-legacy/15/x86_64';
assert_script_run 'rmt-cli sync', 1800;
for my $repo (split(/,/, $repo_list)) {
assert_script_run "rmt-cli products enable $repo", 600;
}
assert_script_run 'rmt-cli mirror', 1800;
assert_script_run 'rmt-cli repo list';
}
Updated by okurz over 5 years ago
This is an autogenerated message for openQA integration by the openqa_review script:
This bug is still referenced in a failing openQA test: offline_sles12sp5_pscc_sdk_we_all_full
https://openqa.suse.de/tests/3125388
Updated by leli over 5 years ago
It failed for firewalld not enabled, need to debug.
Updated by leli over 5 years ago
It failed for firewalld not enabled, so we can judge the status of firewalld and enable it before RMT test.
Updated by leli over 5 years ago
Done. Verify log: http://10.161.8.44/tests/253#step/rmt/15 So will file PR.
Updated by leli over 5 years ago
Updated by leli over 5 years ago
PR merged. Wait https://openqa.suse.de/tests/3213318.
Updated by leli over 5 years ago
- Status changed from In Progress to Resolved
- % Done changed from 50 to 100
Verified on o.s.d. https://openqa.suse.de/tests/3213318#step/rmt/15