VMWare logic
-
After Jenkins built the setups, it starts a virtual machine, installs our programs there, and performs some integration tests. Just recently our server has been migrated from VMWare Server to vSphere. In order to start with a "clean" machine, a snapshot is restored - that can be done only when the machine is powered off. But I get an error when trying to power off the virtual machine:
Quote:
The attempted operation cannot be performed in the current state.
Well, true, the virtual machine is already powered off, and consequently it cannot be powered off... Logic, isn't it?
-
After Jenkins built the setups, it starts a virtual machine, installs our programs there, and performs some integration tests. Just recently our server has been migrated from VMWare Server to vSphere. In order to start with a "clean" machine, a snapshot is restored - that can be done only when the machine is powered off. But I get an error when trying to power off the virtual machine:
Quote:
The attempted operation cannot be performed in the current state.
Well, true, the virtual machine is already powered off, and consequently it cannot be powered off... Logic, isn't it?
Yes, it is. :laugh: But it would be more logical if we wouldn't be able to power off the machine, which is already powered off. :)
-
After Jenkins built the setups, it starts a virtual machine, installs our programs there, and performs some integration tests. Just recently our server has been migrated from VMWare Server to vSphere. In order to start with a "clean" machine, a snapshot is restored - that can be done only when the machine is powered off. But I get an error when trying to power off the virtual machine:
Quote:
The attempted operation cannot be performed in the current state.
Well, true, the virtual machine is already powered off, and consequently it cannot be powered off... Logic, isn't it?
AFAIK, VBox simply returns 0 (Success) if you try to power off a machine that is already powered off through the VBox Management API, which makes sense to me.
<voice type="Ebeneezer Scrooge"> Bah. dumb bugs </voice>