From a53083d7ce500dd55e76cd1032baed090ac5bf1a Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Fri, 24 Jan 2025 15:01:37 +0100 Subject: [PATCH] ci: Remove amazon-ec2-utils if installed The /etc/udev/rules.d/60-cdrom_id.rules udev rule shipped by it breaks UDisks tests. See https://github.com/storaged-project/udisks/pull/1346 --- plans/udisks.fmf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plans/udisks.fmf b/plans/udisks.fmf index e039566d..a4c3d2eb 100644 --- a/plans/udisks.fmf +++ b/plans/udisks.fmf @@ -14,6 +14,9 @@ prepare: # TF prioritizes Fedora tag repo over all others, in particular our daily COPR - for f in $(grep -l -r 'testing-farm-tag-repository' /etc/yum.repos.d); do sed -i '/priority/d' "$f" ;done - sudo dnf -y update + # amazon-ec2-utils creates sda -> nvme symlinks breaking our tests + # amazon-ec2-utils also ships /etc/udev/rules.d/60-cdrom_id.rules that breaks scsi_debug cdrom capabilities + - if rpm -q amazon-ec2-utils; then rpm -e --verbose amazon-ec2-utils && udevadm trigger; fi - name: ansible how: ansible