Skip to content

Commit e7c041a

Browse files
psssthrix
authored andcommitted
Disable the virt-customize speed-up due to DNS issues (#3687)
The `virt-customize` for adding additional deps to the tested VM image started to fail recently. Drop it for now until we find out what is causing it to bring the test back to stable state. Seems `system-upgrade` does not work anymore, use the advised `dnf5 offline reboot` to perform the upgrade from Fedora 42. See teemtee/upgrade#15 Add `beakerlib` framework for /tests/libraries/apache test This is required if beakerlib is not bundled into the image. Was dropped when workarounding tests for 1.47 release, see: #3687 Co-authored-by: Miroslav Vadkerti <mvadkert@redhat.com>
1 parent f100a8e commit e7c041a

3 files changed

Lines changed: 13 additions & 7 deletions

File tree

plans/provision/virtual.fmf

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@ prepare+:
2424
sudo systemctl start libvirtd
2525
sudo systemctl status libvirtd
2626

27-
- name: prepare-image
28-
summary: Fetch the image, refresh dnf cache, install beakerlib
29-
script: |
30-
tmt run --remove plan --default provision --how virtual finish
31-
for image in /var/tmp/tmt/testcloud/images/*qcow2; do
32-
virt-customize --add $image --run-command 'dnf --refresh install -y beakerlib'
33-
done
27+
28+
# TODO hotfix disable the image preparation because of weird dns issues
29+
# - name: prepare-image
30+
# summary: Fetch the image, refresh dnf cache, install beakerlib
31+
# script: |
32+
# tmt run --remove plan --default provision --how virtual finish
33+
# for image in /var/tmp/tmt/testcloud/images/*qcow2; do
34+
# virt-customize --add $image --run-command 'dnf --refresh install -y beakerlib'
35+
# done
3436

3537
context+:
3638
provision_how: virtual

tests/execute/upgrade/data/plan.fmf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ provision:
66
execute:
77
how: upgrade
88
url: https://github.com/teemtee/upgrade
9+
# TODO: revert once merged, workaround for 1.47 release
10+
# https://github.com/teemtee/upgrade/pull/15
11+
ref: dnf5
912

1013
/no-path:
1114
summary: Basic upgrade test with no upgrade path

tests/libraries/apache/data/main.fmf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88

99
/test:
1010
test: ./test.sh
11+
framework: beakerlib
1112
require:
1213
- library(httpd/http)

0 commit comments

Comments
 (0)