-
Notifications
You must be signed in to change notification settings - Fork 292
CP-308455 VM.sysprep CA-414158 wait for "action" key to disappear #6604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CP-308455 VM.sysprep CA-414158 wait for "action" key to disappear #6604
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is a bit unexpected, that alias is not a real module alias then.
de09270
to
6311f64
Compare
The code misses the timeout exception becaue of we are using a module alias. Signed-off-by: Christian Lindig <christian.lindig@cloud.com>
6311f64
to
b574b9a
Compare
I'm a bit confused here, why would this not work? |
We are all a bit surprised. A simple repro does work as intended. It could be related to functors or dune. The code below works as expected.
|
We need to confirm that the test was indeed running the latest code, and not some older version that lacked the exception handler, otherwise sounds like a compiler bug if we can reproduce it, but like Christian said a simple repro attempt works as expected. |
The test failure was on this code:
|
dd75195
…pi-project#6604) We have seen failures to eject the CD at the end; catch exceptions when failing to eject the ISO/CD from the VM. Signed-off-by: Christian Lindig <christian.lindig@cloud.com>
…pi-project#6604) Eject CD once sysprep is no longer running. This moves it to an earlier point to avoid we try to eject the CD when the VM is rebooting and is not cooperating. Signed-off-by: Christian Lindig <christian.lindig@cloud.com>
…ear (xapi-project#6604) Signed-off-by: Christian Lindig <christian.lindig@cloud.com>
…pi-project#6604) Make sure we eject the CD on the failure path as well. Signed-off-by: Christian Lindig <christian.lindig@cloud.com>
…pi-project#6604) Change when a CD is ejected because ideally the VM is still running at this point: * wait for sysprep no longer being reported as running * eject Make sure we still eject the CD if we hit a timeout before reaching that point. Signed-off-by: Christian Lindig <christian.lindig@cloud.com>
The code misses the timeout exception becaue of we are using a module alias.