Skip to content

Commit

Permalink
Add verbosity, extend timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
psss committed Dec 12, 2023
1 parent 1462b84 commit 0cb2f22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions plans/provision/virtual.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ prepare+:
- name: prepare-image
summary: Fetch the image, refresh dnf cache, install beakerlib
script: |
tmt run --remove plan --default provision --how virtual finish
tmt run -vvvddd --remove plan --default provision --how virtual finish
for image in /var/tmp/tmt/testcloud/images/*qcow2; do
virt-customize -a $image --run-command 'dnf --refresh install -y beakerlib'
virt-customize -v -a $image --run-command 'dnf --refresh install -y beakerlib'
done

environment:
Expand Down
8 changes: 4 additions & 4 deletions tmt/steps/provision/testcloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ def import_testcloud() -> None:
"""

# VM defaults
DEFAULT_BOOT_TIMEOUT = 120 # seconds
DEFAULT_CONNECT_TIMEOUT = 60 # seconds
NON_KVM_ADDITIONAL_WAIT = 20 # seconds
NON_KVM_TIMEOUT_COEF = 10 # times
DEFAULT_BOOT_TIMEOUT = 240 # seconds
DEFAULT_CONNECT_TIMEOUT = 120 # seconds
NON_KVM_ADDITIONAL_WAIT = 40 # seconds
NON_KVM_TIMEOUT_COEF = 20 # times

# SSH key type, set None for ssh-keygen default one
SSH_KEYGEN_TYPE = "ecdsa"
Expand Down

0 comments on commit 0cb2f22

Please sign in to comment.