Bug 1212430 - [Build 20230615-1] Internal error while installer starts
Summary: [Build 20230615-1] Internal error while installer starts
Status: RESOLVED FIXED
Alias: None
Product: PUBLIC SUSE Linux Enterprise Server 15 SP4
Classification: openSUSE
Component: Installation (show other bugs)
Version: SLES15SP4-MaintUpd
Hardware: Other Other
: P5 - None : Major
Target Milestone: ---
Assignee: E-mail List
QA Contact:
URL: https://openqa.suse.de/tests/11365723...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-16 06:45 UTC by Sofia Syrianidou
Modified: 2023-06-20 08:52 UTC (History)
5 users (show)

See Also:
Found By: openQA
Services Priority:
Business Priority:
Blocker: Yes
Marketing QA Status: ---
IT Deployment: ---


Attachments
Screenshot (37.83 KB, image/png)
2023-06-16 06:45 UTC, Sofia Syrianidou
Details
save_y2log (339.65 KB, application/x-bzip)
2023-06-16 06:46 UTC, Sofia Syrianidou
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sofia Syrianidou 2023-06-16 06:45:54 UTC
Created attachment 867609 [details]
Screenshot

All openqa installation tests (both autoyast and interactive) fail for the latest sle15sp4 updated installer with an internal error popup (see attached screenshot) during the beginning of the installer. From y2log:

2023-06-15 21:36:29 <0> install(13847) [Ruby] binary/Yast.cc(import_namespace):108 namespace created from .../CommandLine
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/Y2RubyComponent.cc(import):83 Module 'Report' loaded
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(YRubyNamespace):214 Creating namespace for 'Report'
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'SetModified' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'GetModified' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'Summary' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'Import' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'Export' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'ClearYesNoMessages' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'ClearMessages' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'ClearErrors' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'ClearWarnings' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'ClearAll' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'NumYesNoMessages' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'NumMessages' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'NumWarnings' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'NumErrors' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'AnyQuestion' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'ErrorAnyQuestion' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'Message' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'LongMessage' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'ShowText' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'Warning' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'LongWarning' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'Error' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'LongError' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'DisplayErrors' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'DisplayWarnings' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'DisplayMessages' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'DisplayYesNoMessages' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'LogWarnings' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'LogYesNoMessages' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'LogMessages' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'LogErrors' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'GetMessages' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addVariables):324 variable: 'message_settings' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addVariables):324 variable: 'error_settings' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addVariables):324 variable: 'warning_settings' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addVariables):324 variable: 'yesno_message_settings' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addVariables):324 variable: 'modified' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(addMethod):352 method: 'last_exception' added
2023-06-15 21:36:29 <0> install(13847) [Y2Ruby] binary/YRubyNamespace.cc(constructSymbolTable):207 
    // global void Report::SetModified ()
    // global boolean Report::GetModified ()
    // global string Report::Summary ()
    // global boolean Report::Import (map)
    // global map Report::Export ()
    // global void Report::ClearYesNoMessages ()
    // global void Report::ClearMessages ()
    // global void Report::ClearErrors ()
    // global void Report::ClearWarnings ()
    // global void Report::ClearAll ()
    // global integer Report::NumYesNoMessages ()
    // global integer Report::NumMessages ()
    // global integer Report::NumWarnings ()
    // global integer Report::NumErrors ()
    // global boolean Report::AnyQuestion (string, string, string, string, symbol)
    // global boolean Report::ErrorAnyQuestion (string, string, string, string, symbol)
    // global void Report::Message (string)
    // global void Report::LongMessage (string)
    // global void Report::ShowText (string, string)
    // global void Report::Warning (string)
    // global void Report::LongWarning (string)
    // global void Report::Error (string)
    // global void Report::LongError (string)
    // global void Report::DisplayErrors (boolean, integer)
    // global void Report::DisplayWarnings (boolean, integer)
    // global void Report::DisplayMessages (boolean, integer)
    // global void Report::DisplayYesNoMessages (boolean, integer)
    // global void Report::LogWarnings (boolean)
    // global void Report::LogYesNoMessages (boolean)
    // global void Report::LogMessages (boolean)
    // global void Report::LogErrors (boolean)
    // global string Report::GetMessages (boolean, boolean, boolean, boolean)
    // global map Report::message_settings
    // global map Report::error_settings
    // global map Report::warning_settings
    // global map Report::yesno_message_settings
    // global boolean Report::modified
    // global string Report::last_exception ()
2023-06-15 21:36:29 <0> install(13847) [Ruby] binary/Yast.cc(import_namespace):108 namespace created from .../Report
2023-06-15 21:36:29 <3> install(13847) [Ruby] yast/wfm.rb(handle_exception):309 Internal error. Please report a bug report with logs.<br>Run save_y2logs to get complete logs.<br><br>Caller:  /mounts/mp_0001/usr/lib64/ruby/vendor_ruby/2.5.0/yast/yast.rb:186:in `import_pure&#39;<br><br>Details: component cannot import namespace &#39;Pkg&#39;
2023-06-15 21:36:29 <0> install(13847) [Ruby] binary/Yast.cc(ycp_module_call_ycp_function):351 Dynamic Proxy: [UI::OpenDialog] with [6] params
2023-06-15 21:36:29 <0> install(13847) [Ruby] binary/Yast.cc(ycp_module_call_ycp_function):360 Namespace created from UI
2023-06-15 21:36:29 <0> install(13847) [ui] YUINamespace.cc(createFunctionCall):1045 overloaded OpenDialog, 2@12
2023-06-15 21:36:29 <0> install(13847) [Ruby] binary/Yast.cc(ycp_module_call_ycp_function):395 Call OpenDialog
2023-06-15 21:36:29 <0> install(13847) [Ruby] binary/Yast.cc(ycp_module_call_ycp_function):401 Append parameter `opt ()
2023-06-15 21:36:29 <0> install(13847) [Ruby] binary/Yast.cc(ycp_module_call_ycp_function):401 Append parameter `HBox (`HSpacing (1), `VBox (`VSpacing (0.2), `VBox (`VSpacing (0.4), `Left (`Heading ("Error")), `VSpacing (0.2), `HBox (`VSpacing (10), `VBox (`HSpacing (60), `RichText ("Internal error. Please report a bug report with logs.<br>Run save_y2logs to get complete logs.<br><br>Caller:  /mounts/mp_0001/usr/lib64/ruby/vendor_ruby/2.5.0/yast/yast.rb:186:in `import_pure&#39;<br><br>Details: component cannot import namespace &#39;Pkg&#39;"))), `VSpacing (0.2), `Empty ()), `VSpacing (1), `ButtonBox (`opt (`relaxSanityCheck), `PushButton (`id (`ok), `opt (`key_F10, `okButton), "&OK")),


Openqa failures :
https://openqa.suse.de/tests/overview?result=failed&arch=&flavor=&machine=&test=&modules=&module_re=&distri=sle&version=15-SP4&groupid=421&build=20230615-1#
Comment 1 Sofia Syrianidou 2023-06-16 06:46:26 UTC
Created attachment 867610 [details]
save_y2log
Comment 2 Lukas Ocilka 2023-06-16 07:02:08 UTC
This looks similar to https://bugzilla.suse.com/show_bug.cgi?id=1212136

Ladislav, could you PLS check if they have the correct dependencies?
Comment 3 Timo Jyrinki 2023-06-16 07:07:33 UTC
Interestingly other than x86_64 seem working, but x86_64 is fully broken, see eg overview at : https://openqa.suse.de/tests/overview?distri=sle&version=15-SP4&build=20230615-1&groupid=429
Comment 4 Sofia Syrianidou 2023-06-16 07:11:28 UTC
(In reply to Timo Jyrinki from comment #3)
> Interestingly other than x86_64 seem working, but x86_64 is fully broken,
> see eg overview at :
> https://openqa.suse.de/tests/overview?distri=sle&version=15-
> SP4&build=20230615-1&groupid=429

In the yast maintennace job group , there are also s390x and aarch64 jobs failing with the same error popup
Comment 5 Stefan Hundhammer 2023-06-19 13:14:03 UTC
Unlike in bug #1212136, this time the self-update repo does provide a newer libzypp:

2023-06-15 21:35:54 <1> install(4180) [zypp]
  PackageProvider.cc(providePackage):513
  provided Package ...

> (8)   autoyast2-4.4.45-150400.3.19.1.noarch
> (13)  autoyast2-installation-4.4.45-150400.3.19.1.noarch
> (18)  libsolv-tools-0.7.24-150400.3.8.1.x86_64
> (21)  libstdc++6-12.3.0+git1204-150000.1.10.1.x86_64
> (25)  libyui-ncurses-pkg16-4.3.7-150400.3.3.1.x86_64
> (27)  libyui-ncurses-rest-api16-4.3.7-150400.3.3.1.x86_64
> (28)  libyui-ncurses16-4.3.7-150400.3.3.1.x86_64
> (31)  libyui-qt-graph16-4.3.7-150400.3.3.1.x86_64
> (33)  libyui-qt-pkg16-4.3.7-150400.3.3.1.x86_64
> (35)  libyui-qt-rest-api16-4.3.7-150400.3.3.1.x86_64
> (36)  libyui-qt16-4.3.7-150400.3.3.1.x86_64
> (38)  libyui-rest-api16-4.3.7-150400.3.3.1.x86_64
> (39)  libyui16-4.3.7-150400.3.3.1.x86_64
> (41)  libzypp-17.31.13-150400.3.32.1.x86_64
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> (52)  release-notes-sles-15.4.20230522-150400.3.21.1.noarch
> (55)  skelcd-control-leanos-15.4.7-150400.3.5.1.x86_64
> (57)  yast2-4.4.52-150400.3.8.1.x86_64
> (58)  yast2-add-on-4.4.8-150400.3.3.1.noarch
> (61)  yast2-bootloader-4.4.19-150400.3.6.1.x86_64
> (63)  yast2-country-4.4.13-150400.3.3.1.x86_64
> (68)  yast2-installation-4.4.58-150400.3.15.1.noarch
> (76)  yast2-network-4.4.57-150400.3.21.1.noarch
> (81)  yast2-packager-4.4.33-150400.3.7.2.x86_64
> (85)  yast2-pkg-bindings-4.4.6-150400.3.6.1.x86_64
> (87)  yast2-schema-default-4.4.15-150400.3.9.1.x86_64
> (89)  yast2-schema-micro-4.4.15-150400.3.9.1.x86_64
> (92)  yast2-security-4.4.18-150400.3.13.1.noarch
> (99)  yast2-storage-ng-4.4.43-150400.3.12.1.x86_64
> (101) yast2-transfer-4.4.2-150400.3.3.2.x86_64
> (109) yast2-users-4.4.14-150400.3.12.1.x86_64
Comment 6 Stefan Hundhammer 2023-06-19 13:16:24 UTC
But:

2023-06-15 21:36:29 <0> install(13847) [liby2]
  Y2PluginComponent.cc(loadPlugin):210
  loadPlugin
  (/usr/lib64/YaST2/plugin/libpy2Pkg.so.2),
  namespace (Pkg)

2023-06-15 21:36:29 <3> install(13847) [liby2]
  Y2PluginComponent.cc(loadPlugin):234
  error loading plugin
  /usr/lib64/YaST2/plugin/libpy2Pkg.so.2:

  libzck.so.1: cannot open shared object file:
  No such file or directory
Comment 7 Stefan Hundhammer 2023-06-19 13:18:00 UTC
On my Leap 15.4:

% rpm -qf /usr/lib64/libzck.so.1

libzck1-1.1.16-150400.3.2.1.x86_64
Comment 8 Stefan Hundhammer 2023-06-19 13:18:51 UTC
% rpm -qi libzck1
Name        : libzck1
Version     : 1.1.16
Release     : 150400.3.2.1
Architecture: x86_64
Install Date: Do 20 Okt 2022 17:43:44 CEST
Group       : System/Libraries
Size        : 81950
License     : BSD-2-Clause AND MIT
Signature   : RSA/SHA256, Mi 12 Okt 2022 18:52:17 CEST, Key ID 70af9e8139db7c82
Source RPM  : zchunk-1.1.16-150400.3.2.1.src.rpm
Build Date  : Mi 12 Okt 2022 18:51:44 CEST
Build Host  : sheep25
Relocations : (not relocatable)
Packager    : https://www.suse.com/
Vendor      : SUSE LLC <https://www.suse.com/>
URL         : https://github.com/zchunk/zchunk
Summary     : Zchunk library
Description :
zchunk is a compressed file format that splits the file into independent
chunks.  This allows you to only download the differences when downloading a
new version of the file, and also makes zchunk files efficient over rsync.
zchunk files are protected with strong checksums to verify that the file you
downloaded is in fact the file you wanted.

This package contains the zchunk library, libzck.
Distribution: SUSE Linux Enterprise 15
Comment 9 Stefan Hundhammer 2023-06-19 13:32:58 UTC
% ldd /usr/lib64/YaST2/plugin/libpy2Pkg.so.2.0.0 | grep libzck

  libzck.so.1 => /usr/lib64/libzck.so.1 (0x00007f8d068e2000)


% ldd /usr/lib64/libzypp.so.1722.9.13 | grep libzck

  libzck.so.1 => /usr/lib64/libzck.so.1 (0x00007f7355ef1000)


% rpm -q --requires yast2-pkg-bindings | grep libzck

(nothing)


% rpm -q --requires libzypp | grep libzck
           
libzck.so.1()(64bit)


So libzck is a direct requirement of libzypp, but none (or only an indirect one) of yast2-pkg-bindings.
Comment 10 Stefan Hundhammer 2023-06-19 13:58:25 UTC
When I try to uninstall libzck1 from my up-to-date Leap 15.4, one of the offered solutions is to downgrade libzypp from version 17.31.13 to 17.31.0.
Comment 11 Stefan Hundhammer 2023-06-19 14:04:29 UTC
This is the most recent reference to zck / libzck in the libzypp.changes file for SLE-15-SP4; it may or may not be related:


https://build.suse.de/package/view_file/SUSE:SLE-15-SP4:Update/libzypp/libzypp.changes?expand=1

-------------------------------------------------------------------
Fri Sep  2 16:38:42 CEST 2022 - ma@suse.de
  ...
  ...

- Enable zck support for SLE15-SP4 and newer. On Leap it is
  enabled since 15.1 (bsc#1189282)
  
  ...
  ...
-------------------------------------------------------------------
Comment 12 Stefan Hundhammer 2023-06-19 14:08:05 UTC
Michael, please check.

I assume that yast2-pkg-bindings got this dependency as an indirect one by linking against libzypp. Maybe it's another case of a maintenance update repo not containing one of the dependent libs, which is what we assumed to be the cause of bug #1212136.

See also comment #5, the list of packages received during installer self-update.
Comment 13 Jozef Pupava 2023-06-20 08:19:19 UTC
Installer update was released https://build.suse.de/request/show/301410, issue is fixed.
Comment 14 Stefan Hundhammer 2023-06-20 08:45:35 UTC
(In reply to Jozef Pupava from comment #13)
> Installer update was released https://build.suse.de/request/show/301410,
> issue is fixed.

That would be good news; but that change does not look like it should fix this problem. It might just be coincidence.
Comment 15 Stefan Hundhammer 2023-06-20 08:52:17 UTC
-------------------------------------------------------------------
Wed May 31 08:42:23 UTC 2023 - Ladislav Slezák <lslezak@suse.com>

- Rebuild the RPM database during upgrade (--rebuilddb) (bsc#1209565)
- 4.4.45

-------------------------------------------------------------------
Tue May 23 07:55:38 UTC 2023 - Ladislav Slezák <lslezak@suse.com>

- Properly install the selected products, do not lose them after
  resetting the package manager internally (bsc#1202234)
- 4.4.44

-------------------------------------------------------------------


autoyast2.spec:

+# Pkg.TargetInitializeOptions with "rebuild_db" option
Requires:       yast2-pkg-bindings >= 4.4.6


Maybe just requiring in a later yast2-pkg-bindings does indeed fix the problem; it might in turn require a later libzypp that requires that missing libzck1.


Please reopen if the problem reappears.