elemental-toolkit
elemental-toolkit copied to clipboard
Investigate installer efi "--docker-image" test
cos-toolkit version: master
CPU architecture, OS, and Version:
Describe the bug Seems like lately the installer efi --docker-iamge test is timing out for no apparent reason. It could be that the image is bigger and that mixed with the general slowness of the efi installer tests results in a timeout, or there may be another reason for it.
Still would be good to know why is it failing and if we can workaround it somehow, as to not waste almost 1 hour in a test path that keeps failing.
To Reproduce
Expected behavior
Logs
Additional context
Forcing GPT also usually fails lately.
Just for the records on #1074 I am also seeing non consistent failures in installer tests due to connection timeouts. Specially it happens quite often for EFI setups on reboot after restoring the cOS ISO to the VM. I have not noted a relation between the use of force-gpt
or use of docker-imge
, I have seen them pass and fail as other EFI tests, always on reboot during AfterEach, so the test essentially passes, it is on the cleanup restore phases that it timeouts.
All that so say I don't think the problem is on the installer code since #1074 uses the full new re-implementation from elemental.
Just verified in #1074 that increasing the timeout helps, but still fails time to time... Looks like VirtualBox is not that stable for EFI...
Now I got a failure while restoring the CD with:
VBoxManage: error: Invalid state 'GURU_MEDITATION' for changing medium
make: *** [test-installer-efi] Error 1
VBoxManage: error: Details: code VBOX_E_INVALID_VM_STATE (0x80bb0002), component ConsoleWrap, interface IConsole, callee nsISupports
VBoxManage: error: Context: "MountMedium(Bstr(pszCtl).raw(), port, device, pMedium2Mount, fForceUnmount)" at line 763 of file VBoxManageStorageController.cpp
Knowing that VBoxManage has a GURU_MEDITATION
state doesn't make me feel better 😅
Installer tests are removed, closing this