Bugzilla – Bug 1226331
[Build 20240613-1] openQA test fails in installation: IniParser.cc(parse):558 Can not open /usr/share/applications/YaST2/installation.desktop.
Last modified: 2024-06-18 12:25:28 UTC
Created attachment 875488 [details] y2log_on_sles15sp5_textmode Environment: Arch: s390x Desktop: textmode and gnome desktop Product: SLES15SP4 and SLES15SP5 Patterns: all patterns installation Steps: - Fresh install SLES15SP5 via autoyast - With basesystem module, server applications, python3 module registered - The system role is textmode in this case - With all patterns selected The autoyast could be found here: https://openqa.suse.de/tests/14614512/file/autoyast-support_images-sles15sp5_install_textmode_all_patterns_s390x.xml - Asfer installation and reboot, the system can not boot up. Checked the y2log, it says Can not open /usr/share/applications/YaST2/installation.desktop. I cut and copy the log here: /var/log/YaST2/y2log-1.gz:2024-06-14 06:51:25 <3> install(4032) [agent-ini] IniParser.cc(parse):558 Can not open /usr/share/applications/YaST2/installation.desktop. /var/log/YaST2/y2log-1.gz:2024-06-14 06:51:25 <3> install(4032) [Interpreter] modules/Desktop.rb:363 SCR::Dir() failed /var/log/YaST2/y2log-1.gz:2024-06-14 06:51:25 <3> install(4032) [Ruby] modules/Desktop.rb(ParseSingleDesktopFile):364 Unknown desktop file: installation /var/log/YaST2/y2log-1.gz:2024-06-14 06:51:25 <3> install(4032) [agent-ini] IniParser.cc(parse):558 Can not open /usr/share/applications/YaST2/installation.desktop. /var/log/YaST2/y2log-1.gz:2024-06-14 06:51:25 <3> install(4032) [Interpreter] modules/Desktop.rb:363 SCR::Dir() failed /var/log/YaST2/y2log-1.gz:2024-06-14 06:51:25 <3> install(4032) [Ruby] modules/Desktop.rb(ParseSingleDesktopFile):364 Unknown desktop file: installation /var/log/YaST2/y2log-1.gz:2024-06-14 06:51:26 <3> install(4032) [bash] ShellCommand.cc(shellcommand):78 warning: "command line", line 1: symbolic link used because hard link failed: Invalid cross-device link /var/log/YaST2/y2log-1.gz:2024-06-14 06:51:26 <3> install(4032) [bash] ShellCommand.cc(shellcommand):78 server does not have extension for dpms option The whole log: https://openqa.suse.de/tests/14614512#step/installation/77 And please see the attached the y2log, thanks. ## Observation openQA test in scenario sle-15-SP5-Server-DVD-Updates-s390x-supp_sles15sp5_all@s390x-kvm fails in [installation](https://openqa.suse.de/tests/14614512/modules/installation/steps/77) ## Test suite description Create support image for SLES 15SP5 with system role textmode and all patterns. ## Reproducible Fails since (at least) Build [20240603-1](https://openqa.suse.de/tests/14513080#) ## Expected result Last good: [20240531-1](https://openqa.suse.de/tests/14495572) (or more recent) ## Further details Always latest result in this scenario: [latest](https://openqa.suse.de/tests/latest?arch=s390x&distri=sle&flavor=Server-DVD-Updates&machine=s390x-kvm&test=supp_sles15sp5_all&version=15-SP5)
I have done some investigation on this, removed below patterns from profile: <pattern>wsl_base</pattern> <pattern>wsl_gui</pattern> <pattern>wsl_systemd</pattern> Then found the failed installation jobs passed: https://openqa.suse.de/tests/14662060# 15SP4 https://openqa.suse.de/tests/14662153#details 15SP5 Later I will try to clone the interactive installation test to get the latest AY profile, then compare with the current profile used in the test to see whether any patterns used wrong there. Thanks. Lemon
(In reply to Chenzi Cao from comment #0) > Checked the y2log, it says Can not open > /usr/share/applications/YaST2/installation.desktop. From my point of view, it's harmless. It can't open a desktop file during installation? Well, desktop files are useful only in desktop, but this is installation running without a real desktop, you can't start it by clicking on anything - which is exactly what a desktop file is for. Has it actually caused any issues at all? Has anything stopped working what worked before and that desktop file provided it? If not, just ignore it.
>> 02:52:03 <3> [agent-ini] IniParser.cc(parse):558 Can not open /usr/share/applications/YaST2/installation.desktop. No, that's harmless; just like the half-dozen or so similar messages 'can't open file XY' during installation: Those files are simply not present in the inst-sys, yet of course the YaST standard mechanisms that read them still exist even in the inst-sys. I am not 100% sure, but during normal operation it probably reads things like the window title from its own .desktop file (installation.desktop in this case). But since we don't have window manager decorations anyway this doesn't matter at all.