Skip to content

Commit

Permalink
ci: Remove amazon-ec2-utils when running tests in AWS
Browse files Browse the repository at this point in the history
This package creates symlinks for NVMe drives that breaks our
tests.
  • Loading branch information
vojtechtrefny committed Sep 24, 2024
1 parent 46a9aaa commit d0fce58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plans/blivet-gui.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ 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
- if rpm -q amazon-ec2-utils; then rpm -e --verbose amazon-ec2-utils && udevadm trigger /dev/nvme* ;fi

- name: ansible
how: ansible
Expand Down
2 changes: 2 additions & 0 deletions plans/tests.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ 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
- if rpm -q amazon-ec2-utils; then rpm -e --verbose amazon-ec2-utils && udevadm trigger /dev/nvme* ;fi

- name: ansible
how: ansible
Expand Down

0 comments on commit d0fce58

Please sign in to comment.