Public bug reported:

Installer version:
ubuntu-24.04-live-server-s390x.iso

Kernel:
6.8.0-31-generic

Description/Reproduction:
Execution of "Automated disk tests" leads to an error with DASD devices.

- Start checkbox-cli
- select "Automated disk tests" with a DASD

In line 62 of `disk_read_performance_test.sh` the test exits if
disk_type is not set. This happens if the tested device is a DASD.

The command to detect the type does not have any result for "ID_BUS"

`udevadm info --name /dev/dasdb1 --query property | grep "ID_BUS"`

The result of `udevadm info --name /dev/dasdb1 --query property` is the
following:

```text
DEVPATH=/devices/css0/0.0.1b4a/0.0.d284/block/dasdb/dasdb1
DEVNAME=/dev/dasdb1
DEVTYPE=partition
DISKSEQ=11
PARTN=1
MAJOR=94
MINOR=5
SUBSYSTEM=block
USEC_INITIALIZED=8704409
ID_PATH=ccw-0.0.d284
ID_PATH_TAG=ccw-0_0_d284
DM_MULTIPATH_DEVICE_PATH=0
ID_FS_UUID=b72678fb-680e-4cf1-8d58-fc3386424cd4
ID_FS_UUID_ENC=b72678fb-680e-4cf1-8d58-fc3386424cd4
ID_FS_VERSION=1.0
ID_FS_BLOCKSIZE=4096
ID_FS_LASTBLOCK=10818048
ID_FS_SIZE=44310724608
ID_FS_TYPE=ext4
ID_FS_USAGE=filesystem
DEVLINKS=/dev/disk/by-path/ccw-0.0.d284-part1 
/dev/disk/by-uuid/b72678fb-680e-4cf1-8d58-fc3386424cd4 
/dev/disk/by-diskseq/11-part1
TAGS=:systemd:
CURRENT_TAGS=:systemd:
```

AS you can see this das not contain `ID_BUS`. A possible solution could
be to not exit with 1 because the MIN_BUF_READ is properly set for the
default case.

*     ) MIN_BUF_READ=$DEFAULT_BUF_READ;;


Possible fix is also attached to this BZ.

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Skipper Bug Screeners (skipper-screen-team)
         Status: New


** Tags: architecture-s39064 bugnameltc-213845 severity-high 
targetmilestone-inin---

** Tags added: architecture-s39064 bugnameltc-213845 severity-high
targetmilestone-inin---

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175844

Title:
  [UBUNTU 24.04] - hw-cert - dasd disk type not supported in
  disk_read_performance_test.sh

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2175844/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to