Project

General

Profile

Actions

action #161855

closed

[qe-core] uninstalling libsolv patch can break zypper

Added by llzhao about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2024-06-06
Due date:
% Done:

100%

Estimated time:
Difficulty:

Description

This ticket is about an incident failure of 33666:libyui (or 33666:libsolv?)
It makes Maintenance: SLE 15 SP3 SAP Incidents ppc64le+x86_64 test cases failed on # Test died: 'zypper -n in -l -t patch SUSE-SLE-Product-SLES_SAP-15-SP3-2024-33666' failed with code 4.

For example:
ppc64le: https://openqa.suse.de/tests/14487434#step/update_install/2065
x86_64: https://openqa.suse.de/tests/14487433#step/update_install/1924

See more here: https://suse.slack.com/archives/C02CLB8TZP1/p1717120916410679

Some comments from Jozef:
I would ignore the failure, I tried also different order of the update and the Storage patch passed, problem is that, test tries to uninstall first patch, but that can cause problems with update like rpm, libzypp etc. Also the update does require reboot. The update is OK just the test breaks system messing with rpm db. For same reason test does not install rpm-db it would also break. https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/qam-updinstall/update_install.pm#L82
update_install.pm
my @blocked_packages = ('rpm-ndb', 'kernel-default-base');
https://github.com/os-autoinst/os-autoinst-distri-opensuse|os-autoinst/os-autoinst-distri-opensuseos-autoinst/os-autoinst-distri-opensuse | Added by GitHub

Storage patch is passing too https://dzedro.suse.cz/tests/1080#step/update_install/613

Actions #1

Updated by dzedro about 1 month ago

  • Assignee changed from jadamek to dzedro
Actions #2

Updated by dzedro about 1 month ago

  • Subject changed from change the order of the update for test module update_install as it will be failed in some cases to [qe-core] uninstalling libsolv patch can break zypper
  • Status changed from New to In Progress

Update can have multiple patches, for different modules e.g. Basesystem, Desktop-Applications etc.
Update_install is trying to test everything, and it tried to get to state before patch with zypper and uninstalling new version of packages.
It generally worked well, but not always.
Uninstalling new libsolv/libzypp https://build.suse.de/request/show/333312 with some new features will break zypper.

Problem occurred during or after installation or removal of packages:
Failed to cache rpm database (129).

Doing snapper rollback is much cleaner and each patch is tested on same initial system.
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/19478

Actions #3

Updated by dzedro about 1 month ago

Also add Desktop-Applications module into HA metadata. https://gitlab.suse.de/qa-maintenance/metadata/-/merge_requests/1082

Actions #4

Updated by dzedro about 1 month ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF