Project

General

Profile

Actions

action #53726

closed

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

Added by coolgw about 5 years ago. Updated almost 5 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.

Actions #1

Updated by leli about 5 years ago

  • Category set to Enhancement to existing tests
  • Assignee set to leli
Actions #2

Updated by zoecao about 5 years ago

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

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

Actions #4

Updated by okurz almost 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

Actions #5

Updated by leli almost 5 years ago

It failed for firewalld not enabled, need to debug.

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

Actions #6

Updated by coolgw almost 5 years ago

  • Priority changed from Normal to High
Actions #7

Updated by leli almost 5 years ago

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

Actions #8

Updated by leli almost 5 years ago

Actions #9

Updated by leli almost 5 years ago

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

Actions #11

Updated by leli almost 5 years ago

Actions #12

Updated by leli almost 5 years ago

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

Also available in: Atom PDF