Project

General

Profile

Actions

action #71596

open

[sle][qe-core] Extract virt_utils::lpar_cmd to avoid cyclic dependencies

Added by szarate over 3 years ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Bugs in existing tests
Target version:
-
Start date:
2020-09-21
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

In this pr a virt_utils was imported, to be able to call lpar_cmd however this introduced a circular dependency, leading to CI failures about redefined subroutine

For now the solution has been the same as before, do a static call

        virt_utils::lpar_cmd("$test_cmd");

However, to avoid this problem happening in the future, I suggest to:

  • Extract lpar_cmd to it's own package, or extract it to the utils package, right under utils::type_line_svirt (and adding a small documentation for the new routine :))
Actions #1

Updated by leli almost 3 years ago

Hi szarate, I can't see this is related with migration, can you remove the tag of [migration]?

Actions #2

Updated by szarate over 2 years ago

  • Subject changed from [sle][migration] Extract virt_utils::lpar_cmd to avoid cyclic dependencies to [sle][qe-core] Extract virt_utils::lpar_cmd to avoid cyclic dependencies

leli wrote:

Hi szarate, I can't see this is related with migration, can you remove the tag of [migration]?

Correct my friend, when I created it, I saw it as a byproduct of work from the migration team, but since it lost relevance, well here we are :). I'll move it to qe-core

Actions #3

Updated by livdywan over 1 year ago

This ticket was set to Normal priority but was not updated within the SLO period. Please consider picking up this ticket or just set the ticket to the next lower priority.

Actions #4

Updated by slo-gin about 1 month ago

This ticket was set to Normal priority but was not updated within the SLO period. Please consider picking up this ticket or just set the ticket to the next lower priority.

Actions

Also available in: Atom PDF