Project

General

Profile

Actions

action #101938

closed

[qe-core] update_install failed to install update but test passed

Added by apappas about 3 years ago. Updated almost 3 years ago.

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

0%

Estimated time:
Difficulty:

Description

Observation

The installation tests for S:M:21231:256470 didn't install any update even though there was one present in the repo.

The problem is that the test detects no patches to install. This should always be an error, whether there are patches to install or not. So the objective of this ticket is to at least make the test fail if it doesn't find any patches to install, and at best discover why it wouldn't detect any patches.

Acceptance Criteria

  • AC1: Find the underlying cause.
  • AC2: Fail the test from passing when there is no update to be installed.

Even if AC1 is not fullfilled, AC2 is still valid on its own, as there is no good reason for the test to run without updating anything.


Related issues 1 (0 open1 closed)

Related to openQA Tests - action #105124: [qe-core] qam-incidentinstall is green even when installation is skippedRejected

Actions
Actions #1

Updated by tjyrinki_suse about 3 years ago

  • Status changed from New to Workable
  • Start date deleted (2021-11-04)
Actions #2

Updated by apappas almost 3 years ago

  • Description updated (diff)
Actions #3

Updated by apappas almost 3 years ago

  • Target version set to QE-Core: Ready
Actions #4

Updated by apappas almost 3 years ago

  • Related to action #105124: [qe-core] qam-incidentinstall is green even when installation is skipped added
Actions #5

Updated by apappas almost 3 years ago

  • Description updated (diff)

This issue has reappeared as pointed out by #105124. I think that for the time being just making the test fail on an empty list of tests to be installed is enough.

Actions #6

Updated by apappas almost 3 years ago

  • Status changed from Workable to In Progress
  • Assignee set to apappas
Actions #7

Updated by dzedro almost 3 years ago

The reason packages are not updated is that they are not installed on system and patch will be not applied if it has nothing to patch!
Status : not needed, I'm sure it will be the same on your VR when I first uninstall the updated packages. ;)

Actions

Also available in: Atom PDF