Project

General

Profile

Actions

action #41072

closed

[qam] test fails in mdadm - version_utils is missing in the code

Added by mloviska over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2018-09-14
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-12-SP4-Server-DVD-aarch64-extra_tests_in_textmode@aarch64 fails in
mdadm

# Test died: Undefined subroutine &mdadm::is_sle called at /var/lib/openqa/cache/tests/sle/tests/console/mdadm.pm line 21.

Reproducible

Fails since (at least) Build 0365

Expected result

Last good: 0352 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by okurz over 5 years ago

  • Subject changed from [sle][functional[u] test fails in mdadm - version_utils is missing in the code to [qam] test fails in mdadm - version_utils is missing in the code
  • Status changed from New to Resolved
  • Assignee set to jbaier_cz

@mloviska here I think it would have been better to ask the test module maintainer first for help. It's Jan Baier – and he already fixed it :)

commit d07f37fc1
Author: Jan Baier <jbaier@suse.cz>
Date:   Sat Sep 15 11:25:32 2018 +0200

    Fix missing import

diff --git a/tests/console/mdadm.pm b/tests/console/mdadm.pm
index a98be4f02..9e464bcb8 100644
--- a/tests/console/mdadm.pm
+++ b/tests/console/mdadm.pm
@@ -12,6 +12,7 @@

 use base 'consoletest';
 use testapi;
+use version_utils 'is_sle';
 use strict;

 sub run {
Actions

Also available in: Atom PDF