- Requires leapp-framework 6.6+ - Initial implementation of upgrades on systems with configured Software RAID - Handle multipath device identification in upgrade environment - Fix upgrade incorrectly resuming during SELinux relabeling - Fix upgrades on systems with multiple LUKS devices - Fix upgrades for systems with /boot/efi on a Software RAID - Fix mount failures for FSTAB entries with the `nofail` option specified - Fix AVC errors triggered by registration to insight-client during the upgrade - Install the correct kernel for the source system kernel page size on ARM systems - Inhibit the upgrade when network devices configured with ifcfg files could depend on NM - Introduce rhui.obsolete_gpg_keys configuration option for the removal of obsoleted RPM GPG keys of RHUI Cloud providers - LiveMode: Fix upgrade getting stuck when the `.leapp_upgrade_failed` file exists - LiveMode: Fix system version determination in the upgrade environment on CentOS Stream - Fix target system initramfs containing outdated configuration files in some circumstances - Ensure SELinux is set to permissive mode during the upgrade even when enforcing=1 is set on the kernel cmdline - Fix source and target distribution names in /etc/migration-results - Fix upgrades with the RealTime kernel on CentOS Stream - Detect misconfigured kernel & systemd API mountpoints in FSTAB - Detect misconfigured /var/run on the source system - Unify behaviour of upgrades on systems with enabled CRB repositories and explicitly required CRB repositories by user during the upgrade - Drop the inconsistent report about the use of CRB (unsupported by Red Hat) repositories - Fix upgrade crashing when dnf repofiles contain URL encoded characters - Resolves: RHEL-3289, RHEL-17842, RHEL-36249, RHEL-56040, RHEL-56176, RHEL-60060, RHEL-76846, RHEL-104384, RHEL-145136, RHEL-148631, RHEL-162192, RHEL-185508
53 lines
1.8 KiB
Diff
53 lines
1.8 KiB
Diff
From 8b5840dd94efca6a30ec1b1ba5ac75bb015e4dac Mon Sep 17 00:00:00 2001
|
|
From: Petr Stodulka <pstodulk@redhat.com>
|
|
Date: Mon, 4 May 2026 14:41:41 +0200
|
|
Subject: [PATCH 064/108] testutils: logger_mocked: accepts kwargs
|
|
|
|
For logger calls specifying kw like: exc_info, stack_info, ...
|
|
methods in logger_mocked were broken. Allow to specify **kwargs so
|
|
the mocking is allowed. If any kw is specified, it's ignored in the
|
|
mocked call at this moment as we do not have use for it in tests.
|
|
|
|
Assisted-by: Claude Sonnet 4.5 <noreply@anthropic.com>
|
|
Signed-off-by: Petr Stodulka <pstodulk@redhat.com>
|
|
---
|
|
repos/system_upgrade/common/libraries/testutils.py | 10 +++++-----
|
|
1 file changed, 5 insertions(+), 5 deletions(-)
|
|
|
|
diff --git a/repos/system_upgrade/common/libraries/testutils.py b/repos/system_upgrade/common/libraries/testutils.py
|
|
index 0a56d698..c9d6337a 100644
|
|
--- a/repos/system_upgrade/common/libraries/testutils.py
|
|
+++ b/repos/system_upgrade/common/libraries/testutils.py
|
|
@@ -45,23 +45,23 @@ class logger_mocked:
|
|
self.warnmsg = []
|
|
self.errmsg = []
|
|
|
|
- def debug(self, *args):
|
|
+ def debug(self, *args, **kwargs):
|
|
self.dbgmsg.extend(args)
|
|
|
|
- def info(self, *args):
|
|
+ def info(self, *args, **kwargs):
|
|
self.infomsg.extend(args)
|
|
|
|
@deprecated(since='2020-09-23', message=(
|
|
'The logging.warn method has been deprecated since Python 3.3.'
|
|
'Use the warning method instead.'
|
|
))
|
|
- def warn(self, *args):
|
|
+ def warn(self, *args, **kwargs):
|
|
self.warnmsg.extend(args)
|
|
|
|
- def warning(self, *args):
|
|
+ def warning(self, *args, **kwargs):
|
|
self.warnmsg.extend(args)
|
|
|
|
- def error(self, *args):
|
|
+ def error(self, *args, **kwargs):
|
|
self.errmsg.extend(args)
|
|
|
|
def __call__(self):
|
|
--
|
|
2.54.0
|
|
|