Bug 1218306 - [Build 20231220] Unexpected situation found (using NVME disks)
Summary: [Build 20231220] Unexpected situation found (using NVME disks)
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Installation (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Daniel Wagner
QA Contact: Jiri Srain
URL: https://openqa.opensuse.org/tests/382...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-21 10:44 UTC by Dominique Leuenberger
Modified: 2024-02-16 07:50 UTC (History)
4 users (show)

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


Attachments
y2log, extracted from an openQA worker instance (3.33 MB, text/plain)
2023-12-21 11:07 UTC, Dominique Leuenberger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Leuenberger 2023-12-21 10:44:38 UTC
## Observation

Snapshot 1220 has received new libnvme:
-Version:        1.6+5.g68c6ffb
+Version:        1.7.1+0.g13ba383

and nvme-cli:
 5-Version:        2.6
 6+Version:        2.7

YaST / installer seems not able to interpret their outputs

Will try to reproduce locally in order to get better logs - openQA only has the yui-log.txt, which is not a lot of info

openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-nvme@uefi fails in
[disable_online_repos](https://openqa.opensuse.org/tests/3829554/modules/disable_online_repos/steps/1)

## Test suite description
Maintainer: rbrown@suse.de; Basic installation test to confirm that installing and booting to an nvme as your root disk works


## Reproducible

Fails since (at least) Build [20231220](https://openqa.opensuse.org/tests/3828924)


## Expected result

Last good: [20231219](https://openqa.opensuse.org/tests/3825818) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=uefi&test=nvme&version=Tumbleweed)
Comment 1 Dominique Leuenberger 2023-12-21 11:07:30 UTC
Created attachment 871503 [details]
y2log, extracted from an openQA worker instance
Comment 2 Dominique Leuenberger 2023-12-21 11:11:52 UTC
2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(execute):371 SystemCmd Executing:"/usr/sbin/parted --script --json /dev/nvme0n1 unit s print"
2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(execute):372 timestamp [91.455117], 2023-12-21 10:53:57 GMT, 2023-12-21 05:53:57 EST
2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(step_fork_and_exec):475 child_pid:4801
2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stderr[0] 'Error: /dev/nvme0n1: unrecognised disk label'
2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[0] '{'
2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[1] '   "disk": {'
2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[2] '      "path": "/dev/nvme0n1",'
2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[3] '      "size": "41943040s",'
2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[4] '      "model": "QEMU NVMe Ctrl",'
2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[5] '      "transport": "nvme",'
2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[6] '      "logical-sector-size": 512,'
2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[7] '      "physical-sector-size": 512,'
2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[8] '      "label": "unknown"'
2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[9] '   }'
2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[10] '}'
2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(step_wait):603 child_retcode:1
2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(execute):378 stopwatch 0.012523s for "/usr/sbin/parted --script --json /dev/nvme0n1 unit s print"
2023-12-21 05:53:57 <2> install(4030) [libstorage] CmdParted.cc(Parted):78 parted stderr> Error: /dev/nvme0n1: unrecognised disk label
2023-12-21 05:53:57 <1> install(4030) [libstorage] CmdParted.cc(parse):145 device:/dev/nvme0n1 label:unknown region:[0, 41943040, 512 B]
Comment 3 Arvin Schnell 2023-12-21 11:27:52 UTC
The problem seems to be that the nvme json output changed from "HostID"
to "Host ID".
Comment 4 Arvin Schnell 2023-12-21 12:05:04 UTC
PR: https://github.com/openSUSE/libstorage-ng/pull/971
Comment 5 Daniel Wagner 2023-12-21 12:33:46 UTC
https://github.com/linux-nvme/nvme-cli/issues/2166

I'll fix this up and double check what if anything else changed.
Comment 6 OBSbugzilla Bot 2024-01-18 15:35:02 UTC
This is an autogenerated message for OBS integration:
This bug (1218306) was mentioned in
https://build.opensuse.org/request/show/1139715 Factory / nvme-cli
Comment 7 Daniel Wagner 2024-01-25 16:25:54 UTC
Fixed in upstream and the package is updated now.