Bug 1224140 - [Build 20240510] validate_blockdevices: lsblk2.40 reports btrfs volume
Summary: [Build 20240510] validate_blockdevices: lsblk2.40 reports btrfs volume
Status: RESOLVED MOVED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Stanislav Brabec
QA Contact: E-mail List
URL: https://openqa.opensuse.org/tests/417...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-11 10:25 UTC by Dominique Leuenberger
Modified: 2024-05-13 08:26 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Leuenberger 2024-05-11 10:25:54 UTC
## Observation


The test uses lsblk to verify the setup
Up to 2.39, thecomman reported mount point /
With 2.40, it now reports /var

Please verify id this is a relevant regression/change and compare with what the tool is supposed to deliver (possibly changed cli parameters which would result in QA changes?)

openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-gpt@64bit fails in
[validate_blockdevices](https://openqa.opensuse.org/tests/4177337/modules/validate_blockdevices/steps/9)

## Test suite description



## Reproducible

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


## Expected result

Last good: [20240509](https://openqa.opensuse.org/tests/4172273) (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=64bit&test=gpt&version=Tumbleweed)
Comment 1 Thorsten Kukuk 2024-05-13 08:06:41 UTC
This sounds again like an incorrect openQA test.
Testing various util-linux versions gives for me:

util-linux 2.37: "/boot/grub2/i386-pc"
util-linux 2.39.3: "/var"
util-linux 2.40.1: "/var/lib/containers/storage/btrfs"


I never get "/".

The problem is: the partition is mounted more than once, but only "mountpoint" is specified. So lsblk has to choose one out of several options. According to the manual page, this is usually the last mounted instance of the filesystem.
So I'm surprised that in openQA you saw "/" until now, it's normally not the last mounted instance.
To get a reproducible output, you need to replace "mountpoint" with "mountpoints" in "--output".
Comment 2 Dominique Leuenberger 2024-05-13 08:26:27 UTC
Thanks for the feedback Thorsten.

Moved this to a test issue:
  https://progress.opensuse.org/issues/160260