]> git.ipfire.org Git - thirdparty/dracut.git/commit
ci: use /dev/disk/by-id
authorHarald Hoyer <harald@redhat.com>
Tue, 20 Apr 2021 14:16:14 +0000 (16:16 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Thu, 22 Apr 2021 00:55:31 +0000 (02:55 +0200)
commitb80ee080937ce364f7324c297f23e40af6d88892
tree10cc13c1f065f065bc129ba402e02abe442c1a59
parent5912f4fbc036cc36b9507c16dddef1ded1556572
ci: use /dev/disk/by-id

Due to parallel probing of the linux kernel `/dev/sd*` can't be used to
reliably address a hard disk. This can be seen by the many spurious
failures of the dracut CI, where `mdadm` failed with error 524 or tests
failed due to the success marker message written to the wrong disk.

* don't rely on `/dev/sd*` but use disk ids and `/dev/disk/by-id/ata-disk_<name>`

* specify the exact qemu machine architecture `-M q35` needed for the
  disk ids. A later patch will move this to `run-qemu`, when all tests are converted

* due to `-M q35` the interface names have changed from
  `ens2` -> `enp0s1` and `ens3` -> `enp0s2`
81 files changed:
test/TEST-01-BASIC/99-idesymlinks.rules [deleted file]
test/TEST-01-BASIC/create-root.sh
test/TEST-01-BASIC/test-init.sh
test/TEST-01-BASIC/test.sh
test/TEST-02-SYSTEMD/99-idesymlinks.rules [deleted file]
test/TEST-02-SYSTEMD/create-root.sh
test/TEST-02-SYSTEMD/test-init.sh
test/TEST-02-SYSTEMD/test.sh
test/TEST-03-USR-MOUNT/99-idesymlinks.rules [deleted file]
test/TEST-03-USR-MOUNT/create-root.sh
test/TEST-03-USR-MOUNT/fstab
test/TEST-03-USR-MOUNT/test-init.sh
test/TEST-03-USR-MOUNT/test.sh
test/TEST-04-FULL-SYSTEMD/99-idesymlinks.rules [deleted file]
test/TEST-04-FULL-SYSTEMD/create-root.sh
test/TEST-04-FULL-SYSTEMD/fstab
test/TEST-04-FULL-SYSTEMD/test-init.sh
test/TEST-04-FULL-SYSTEMD/test.sh
test/TEST-10-RAID/99-idesymlinks.rules [deleted file]
test/TEST-10-RAID/create-root.sh
test/TEST-10-RAID/test-init.sh
test/TEST-10-RAID/test.sh
test/TEST-11-LVM/99-idesymlinks.rules [deleted file]
test/TEST-11-LVM/create-root.sh
test/TEST-11-LVM/test-init.sh
test/TEST-11-LVM/test.sh
test/TEST-12-RAID-DEG/99-idesymlinks.rules [deleted file]
test/TEST-12-RAID-DEG/create-root.sh
test/TEST-12-RAID-DEG/test-init.sh
test/TEST-12-RAID-DEG/test.sh
test/TEST-13-ENC-RAID-LVM/99-idesymlinks.rules [deleted file]
test/TEST-13-ENC-RAID-LVM/create-root.sh
test/TEST-13-ENC-RAID-LVM/test-init.sh
test/TEST-13-ENC-RAID-LVM/test.sh
test/TEST-14-IMSM/99-idesymlinks.rules [deleted file]
test/TEST-14-IMSM/create-root.sh
test/TEST-14-IMSM/test-init.sh
test/TEST-14-IMSM/test.sh
test/TEST-15-BTRFSRAID/99-idesymlinks.rules [deleted file]
test/TEST-15-BTRFSRAID/create-root.sh
test/TEST-15-BTRFSRAID/test-init.sh
test/TEST-15-BTRFSRAID/test.sh
test/TEST-16-DMSQUASH/99-idesymlinks.rules [deleted file]
test/TEST-16-DMSQUASH/create.py
test/TEST-16-DMSQUASH/test-init.sh
test/TEST-16-DMSQUASH/test.sh
test/TEST-17-LVM-THIN/99-idesymlinks.rules [deleted file]
test/TEST-17-LVM-THIN/create-root.sh
test/TEST-17-LVM-THIN/test-init.sh
test/TEST-17-LVM-THIN/test.sh
test/TEST-20-NFS/99-idesymlinks.rules [deleted file]
test/TEST-20-NFS/client-init.sh
test/TEST-20-NFS/create-root.sh
test/TEST-20-NFS/server-init.sh
test/TEST-20-NFS/test.sh
test/TEST-30-ISCSI/99-idesymlinks.rules [deleted file]
test/TEST-30-ISCSI/client-init.sh
test/TEST-30-ISCSI/create-client-root.sh
test/TEST-30-ISCSI/create-server-root.sh
test/TEST-30-ISCSI/server-init.sh
test/TEST-30-ISCSI/test.sh
test/TEST-35-ISCSI-MULTI/client-init.sh
test/TEST-35-ISCSI-MULTI/create-client-root.sh
test/TEST-35-ISCSI-MULTI/create-server-root.sh
test/TEST-35-ISCSI-MULTI/test.sh
test/TEST-40-NBD/99-idesymlinks.rules [deleted file]
test/TEST-40-NBD/client-init.sh
test/TEST-40-NBD/create-client-root.sh
test/TEST-40-NBD/create-encrypted-root.sh
test/TEST-40-NBD/create-server-root.sh
test/TEST-40-NBD/server-init.sh
test/TEST-40-NBD/test.sh
test/TEST-50-MULTINIC/99-idesymlinks.rules [deleted file]
test/TEST-50-MULTINIC/client-init.sh
test/TEST-50-MULTINIC/create-root.sh
test/TEST-50-MULTINIC/server-init.sh
test/TEST-50-MULTINIC/test.sh
test/TEST-60-BONDBRIDGEVLANIFCFG/99-idesymlinks.rules [deleted file]
test/TEST-60-BONDBRIDGEVLANIFCFG/create-root.sh
test/TEST-60-BONDBRIDGEVLANIFCFG/test.sh
test/run-qemu