Bug 1214450 - [Build 13.4] Error updating initrd while calling 'mkdumprd'
Summary: [Build 13.4] Error updating initrd while calling 'mkdumprd'
Status: RESOLVED INVALID
Alias: None
Product: PUBLIC SUSE Linux Enterprise Server 15 SP6
Classification: openSUSE
Component: AutoYaST (show other bugs)
Version: unspecified
Hardware: Other Other
: P4 - Low : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: AutoYaST Maintainers
URL: https://openqa.suse.de/tests/11889246...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-22 03:23 UTC by Huajian Luo
Modified: 2023-09-20 03:43 UTC (History)
4 users (show)

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


Attachments
autoyast profile (17.74 KB, text/xml)
2023-08-22 05:52 UTC, Huajian Luo
Details
yast2log (2.17 MB, application/x-bzip)
2023-08-22 05:52 UTC, Huajian Luo
Details
cannot_find_file_y2logmkinitrd (66.95 KB, image/png)
2023-09-08 06:45 UTC, Huajian Luo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Huajian Luo 2023-08-22 03:23:46 UTC
## Description:
This test is to reproduce bug bsc#887126 to check
/bin/mount -t tmpfs 'none' 'swap': mount: mount point swap does not exist

## Error log:
When runt the 15sp6 build 13.4 with autoyast profile in the attachment. it failed with ""mkdumprd >> /var/log/YaST2/y2logmkinitrd 2>&1""

Error updating initrd while calling 'mkdumprd'.\nSee /var/log/YaST2/y2logmkinitrd for details.

## Observation

openQA test in scenario sle-15-SP6-Online-x86_64-autoyast_bug-887126_autoinst@64bit fails in
[installation](https://openqa.suse.de/tests/11889246/modules/installation/steps/12)

## Test suite description
Test verifies bug bsc#887126 using given autoyast profile. Same as autoyast_bug-887126_autoinst with product defined in the profile.


## Reproducible

Fails since (at least) Build [13.4](https://openqa.suse.de/tests/11861262)


## Expected result

Last good: [10.3](https://openqa.suse.de/tests/11781492) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.suse.de/tests/latest?arch=x86_64&distri=sle&flavor=Online&machine=64bit&test=autoyast_bug-887126_autoinst&version=15-SP6)
Comment 1 Huajian Luo 2023-08-22 05:52:30 UTC
Created attachment 868928 [details]
autoyast profile
Comment 2 Huajian Luo 2023-08-22 05:52:57 UTC
Created attachment 868929 [details]
yast2log
Comment 3 Lukas Ocilka 2023-08-22 07:26:38 UTC
File YaST2/y2log says

    Error updating initrd, see /var/log/YaST2/y2logmkinitrd or call mkdumprd 
    manually

but there is no such file in that attached archive. Please, attach it.

JFTR, kdump-1.0.2+git42.ge1e25ed-150500.1.2.x86_64.rpm has been installed together with yast2-kdump-4.6.1-150600.1.1.x86_64.rpm
Comment 4 Huajian Luo 2023-08-22 09:25:04 UTC
Thank you for the findings, We'd hold this to see if it can be fixed in the next build while checking the yast2-kdump in the autoyast profile.
Comment 5 Michal Filka 2023-08-23 07:09:39 UTC
I'm putting it into needinfo until requested additional info is available. Thanks
Comment 7 Stefan Hundhammer 2023-09-07 07:21:15 UTC
This is still waiting for the requested information. See comment #3.
Comment 8 Huajian Luo 2023-09-08 03:02:30 UTC
I just checked the latest build 19.1 and it still failed with the same error.
https://openqa.suse.de/tests/12036139#step/installation/12 thank you.
Comment 9 Huajian Luo 2023-09-08 06:45:22 UTC
Created attachment 869367 [details]
cannot_find_file_y2logmkinitrd
Comment 10 Stefan Hundhammer 2023-09-08 18:17:31 UTC
If that file doesn't exist, then what do you expect us to do?
Comment 11 Stefan Hundhammer 2023-09-08 18:21:36 UTC
https://openqa.suse.de/tests/12036139#step/installation/12 is the exact same error that refers to that exact same file /var/log/YaST2/y2logmkinitrd.

That only confirms that the problem is reproducable, but it doesn't get us one step nearer to the relevant information: WHY is that command 'mkdumprd' failing?

Does it work when you do the same thing manually in the same setup?
Comment 12 Stefan Hundhammer 2023-09-14 12:04:06 UTC
So, did you try it manually?
Comment 13 Stefan Hundhammer 2023-09-18 09:27:50 UTC
No more feedback.
Comment 14 Richard Fan 2023-09-20 03:43:03 UTC
Based on the job setting in the latest openQA run result:

https://openqa.suse.de/tests/12119771#settings

"AUTOYAST:yam/autoyast/bug-887126_autoinst.xml"


I failed to find the file at `https://openqa.suse.de/tests/12119771/settings/yam/autoyast/bug-887126_autoinst.xml`

And from the uploaded autoyast file https://openqa.suse.de/tests/12119771/file/autoyast-bug-887126_autoinst.xml, I can see many settings are pointing to `sle12` rather than `sle15`.

Can you please double check the autoyast file at first and why openQA is using a "wrong" file there?

Close this bug now, and you can re-open it once you make sure the "right" autoyast file is used.