Project

General

Profile

Actions

action #58151

closed

[transactional][microos] test fails in transactional_update

Added by fos about 5 years ago. Updated almost 3 years ago.

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

100%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario microos-Staging:N-Staging-DVD-x86_64-microos@uefi-staging fails in
transactional_update

Test suite description

  1. The first problem is that the "transactional-update" module test is counting as "passed", even though one of the tests failed (trup_call probably needs to die if wait_serial fails).
  2. This is the original problem of this test: In stagings the repository with the updated package is not available, thus the command will not do any update and fail to meet the test criteria. The repository probably has to be added first.
  3. Looking at the test case it seems the test starting from https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/transactional/transactional_update.pm#L101 is supposed to first install a non-failing version of the package, which is supposedly later replaced with a broken package. If this is correct the package contained in the tar archive should not contain any breaking script at all, only the package installed from the repository should do.

Reproducible

Always

Expected results

  1. The transactional-update test should fail completely if the broken package test fails.
  2. When testing with stagings the test should not break.

Further details

Always latest result in this scenario: latest

Actions

Also available in: Atom PDF