Project

General

Profile

Actions

action #62384

closed

[functional][u] test fails in orphaned_packages_check - Change misleading record info

Added by SLindoMansilla over 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
SUSE QA - Milestone 30
Start date:
2020-01-20
Due date:
% Done:

0%

Estimated time:
42.00 h
Difficulty:

Description

Observation

This code causes the test module be marked as failed, when it shouldn't.

     record_info('Upgraded?',
         'Has the SUT been upgraded or installed from LIVECD? Both can possibly cause orphans',
         result => (is_offline_upgrade_or_livecd) ? 'ok' : 'fail');

Suggestions

  • Only show the message if orphans are detected.

Reproducible

  • In scenario sle-15-SP2-Online-ppc64le-extra_tests_in_textmode@ppc64le
  • Fails since Build 126.1

Tasks

  • display in the title whether the module is an upgrade or not:
record_info((is_offline_upgrade_or_live_cd)? "Upgrade/Live" "No upgrade/live")

Expected result

It never worked since it was added.
Last good from Leap 15.2: 552.2

Further details

Always latest result in this scenario: latest

Actions

Also available in: Atom PDF