Skip to content

Commit e42dcef

Browse files
committed
windows: Add hack for network blips during install_other_drivers
Signed-off-by: Tu Dinh <ngoc-tu.dinh@vates.tech>
1 parent 78eda20 commit e42dcef

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

lib/windows/other_tools.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import logging
2+
import time
23
from pathlib import PureWindowsPath
34

45
from lib.common import strtobool, wait_for
@@ -50,3 +51,9 @@ def install_other_drivers(vm: VM, other_tools_iso_name: str, param: Dict[str, An
5051
vm.eject_cd()
5152
vm.start()
5253
wait_for_vm_running_and_ssh_up_without_tools(vm)
54+
# HACK: For some reason, the XenServer 9.4.2 package causes a network blip after bootup. This could exhibit as
55+
# random disconnections, SSH command failure, etc. The reason is not yet clear, but retry confirmation of the
56+
# network link as a workaround.
57+
# TODO: XCPNG-3038
58+
time.sleep(30)
59+
wait_for_vm_running_and_ssh_up_without_tools(vm)

0 commit comments

Comments
 (0)