Changes between Initial Version and Version 1 of Ticket #15206, comment 1
- Timestamp:
- Mar 7, 2016 8:16:08 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #15206, comment 1
initial v1 1 1 My apologies for the bad spacing in the original post. Here's the same text, with the steps spaced correctly so it is a bit easier to read: 2 ---- 3 VirtualBox 5.x errors when deleting a snapshot, while VM is running or paused2 3 !VirtualBox 5.x errors when deleting a snapshot, while VM is running or paused 4 4 5 5 Steps to Reproduce the problems (Tested on Windows 10 Production, fully patched, Version 1511 Build 10586.122): 6 6 7 Prep: [[BR]]8 1) Download a pre-made VM. For my example, I downloaded the "IE6 on XP" "VirtualBox" VM from: https://dev.windows.com/en-us/microsoft-edge/tools/vms/windows/ ... and extracted it.[[BR]] 9 2) Uninstall VirtualBox, then install the version ofVirtualBox that you want to test7 Prep: 8 1. Download a pre-made VM. For my example, I downloaded the "IE6 on XP" "!VirtualBox" VM from: https://dev.windows.com/en-us/microsoft-edge/tools/vms/windows/ ... and extracted it. 9 2. Uninstall !VirtualBox, then install the version of !VirtualBox that you want to test 10 10 11 Problem 1: Deletion of snapshot, while VM is running, fails: [[BR]]12 1) Remove any instances of the VM you are testing[[BR]] 13 2) Double-click the ".ova" file and Import the Virtual Appliance, or add your VM Machine to the VirtualBox Manager[[BR]] 14 3) Start the VM. If using 5.x, then start the VM using "Normal Start"[[BR]] 15 4) Let the VM run for a minute or so[[BR]] 16 5) While the VM is "Running", take a snapshot called "Snapshot 1". While the snapshot is being saved, if on 5.x, you'll see it say "Taking Online Snapshot"[[BR]] 17 6) While the VM is "Running", take another snapshot called "Snapshot 2".[[BR]] 18 7)While the VM is "Running", try to delete "Snapshot 1".11 Problem 1: Deletion of snapshot, while VM is running, fails: 12 1. Remove any instances of the VM you are testing 13 2. Double-click the ".ova" file and Import the Virtual Appliance, or add your VM Machine to the !VirtualBox Manager 14 3. Start the VM. If using 5.x, then start the VM using "Normal Start" 15 4. Let the VM run for a minute or so 16 5. While the VM is "Running", take a snapshot called "Snapshot 1". While the snapshot is being saved, if on 5.x, you'll see it say "Taking Online Snapshot" 17 6. While the VM is "Running", take another snapshot called "Snapshot 2". 18 7. While the VM is "Running", try to delete "Snapshot 1". 19 19 20 20 Problem 2: Deletion of snapshot, while VM is paused, fails:[[BR]] 21 1) Redo steps 1-6 above[[BR]] 22 2) Pause the VM[[BR]] 23 3)While the VM is "Paused", try to delete "Snapshot 1".21 1. Redo steps 1-6 above 22 2. Pause the VM 23 3. While the VM is "Paused", try to delete "Snapshot 1". 24 24 25 25 Expected Results:[[BR]] … … 28 28 Current Results: 29 29 30 4.3.37 r105748: The UI says "Merging differencing image" for several seconds, then successfully deletes "Snapshot 1" without error30 4.3.37 !r105748: The UI says "Merging differencing image" for several seconds, then successfully deletes "Snapshot 1" without error 31 31 32 5.0.16 r105871: Failed to delete the snapshot Snapshot 1 of the virtual machine IE6 - WinXP. Result Code: E_FAIL (0x80004005)32 5.0.16 !r105871: Failed to delete the snapshot Snapshot 1 of the virtual machine IE6 - WinXP. Result Code: E_FAIL (0x80004005) 33 33 34 34 Note 1: From what I could tell, there is nothing useful in the .log file. So please follow the steps above to easily reproduce the problems.[[BR]] 35 Note 2: Deleting the snapshot while the VM is Powered Off, *does* seem to work correctly using VirtualBox 5.x.[[BR]]36 Note 3: BOINC uses the VirtualBox COM API, in order to perform operations. I briefly inspected the code, and it seems to me that BOINC may not be getting an "error return value" when this snapshot deletion error occurs. So, this may be an additional bug, I'm not sure.35 Note 2: Deleting the snapshot while the VM is Powered Off, *does* seem to work correctly using !VirtualBox 5.x.[[BR]] 36 Note 3: BOINC uses the !VirtualBox COM API, in order to perform operations. I briefly inspected the code, and it seems to me that BOINC may not be getting an "error return value" when this snapshot deletion error occurs. So, this may be an additional bug, I'm not sure. 37 37 38 38 Thanks, Jacob Klein