Project

General

Profile

Actions

action #160260

closed

[qe-core] test fails in validate_blockdevices

Added by dimstar 7 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Start date:
2024-05-13
Due date:
% Done:

100%

Estimated time:
Difficulty:
Sprint:
QE-Core: May Sprint 24 (May 07 - Jun 04)

Description

Observation

Migrated from https://bugzilla.opensuse.org/show_bug.cgi?id=1224140; this is identified as being a test issue (even though it 'reliably' was giving different results before.

according to man lsblk, most important for mountpoint is:

The relationship between block devices and filesystems is not always one-to-one. The filesystem may use more block devices,
       or the same filesystem may be accessible by more paths. This is the reason why lsblk provides MOUNTPOINT and MOUNTPOINTS
       (pl.) columns. The column MOUNTPOINT displays only one mount point (usually the last mounted instance of the filesystem), and
       the column MOUNTPOINTS displays by multi-line cell all mount points associated with the device.

'mountpoint' 'usually lists the last mounted path' - making '/' rather surprising to ever have worked

openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-gpt@64bit fails in
validate_blockdevices

Test suite description

Reproducible

Fails since (at least) Build 20240510

Expected result

Last good: 20240509 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by dimstar 7 months ago

The test code tries to identify if it should use 'mountpoint' or 'mountpoints' already (is_lsblk_able_to_display_mountpoints)

This uses 'lsblk --help | grep MOUNTPOINTS' to check on that. For util-linux 2.40, the help output has been reworked and the test does no longer recognizes this as valid

Actions #2

Updated by szarate 7 months ago

  • Tags set to bugbusters, qe-core-may-sprint
  • Priority changed from Normal to High
Actions #3

Updated by szarate 7 months ago

  • Sprint set to QE-Core: May Sprint 24 (May 07 - Jun 04)
  • Subject changed from test fails in validate_blockdevices to [qe-core] test fails in validate_blockdevices
  • Target version set to QE-Core: Ready
Actions #4

Updated by favogt 7 months ago

  • Status changed from New to Resolved
  • Assignee set to favogt
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF