Bug 1226331 - [Build 20240613-1] openQA test fails in installation: IniParser.cc(parse):558 Can not open /usr/share/applications/YaST2/installation.desktop.
Summary: [Build 20240613-1] openQA test fails in installation: IniParser.cc(parse):558...
Status: RESOLVED INVALID
Alias: None
Product: PUBLIC SUSE Linux Enterprise Server 15 SP5
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact:
URL: https://openqa.suse.de/tests/14614512...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-14 10:10 UTC by Chenzi Cao
Modified: 2024-06-18 12:25 UTC (History)
2 users (show)

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


Attachments
y2log_on_sles15sp5_textmode (2.96 MB, application/x-bzip)
2024-06-14 10:10 UTC, Chenzi Cao
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chenzi Cao 2024-06-14 10:10: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)
Comment 1 Lemon Li 2024-06-18 08:41:33 UTC
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
Comment 2 Lukas Ocilka 2024-06-18 08:58:12 UTC
(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.
Comment 3 Stefan Hundhammer 2024-06-18 12:25:28 UTC
>> 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.