Project

General

Profile

action #53726

[SLE][Migration][SLE12SP5] RMT automation integration work

Added by coolgw about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Enhancement to existing tests
Target version:
-
Start date:
2019-07-03
Due date:
% Done:

100%

Estimated time:
20.00 h
Difficulty:

Description

This task include how to add RMT automation into our regression group.

History

#1 Updated by leli about 3 years ago

  • Category set to Enhancement to existing tests
  • Assignee set to leli

#2 Updated by zoecao about 3 years ago

  • setup RMT server
  • sync from SCC
  • enable some products or repos
  • mirror the repos

#3 Updated by leli about 3 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';
}

#4 Updated by okurz about 3 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

#5 Updated by leli about 3 years ago

It failed for firewalld not enabled, need to debug.

https://openqa.suse.de/tests/3158143#step/rmt/14

#6 Updated by coolgw about 3 years ago

  • Priority changed from Normal to High

#7 Updated by leli about 3 years ago

It failed for firewalld not enabled, so we can judge the status of firewalld and enable it before RMT test.

#8 Updated by leli about 3 years ago

#9 Updated by leli about 3 years ago

Done. Verify log: http://10.161.8.44/tests/253#step/rmt/15 So will file PR.

#12 Updated by leli about 3 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100

Also available in: Atom PDF