Skip to content

Fix regression in virtualbox-vm builder where build would fail if the vm had no snapshots#9435

Merged
sylviamoss merged 2 commits intomasterfrom
fix_8904
Jun 17, 2020
Merged

Fix regression in virtualbox-vm builder where build would fail if the vm had no snapshots#9435
sylviamoss merged 2 commits intomasterfrom
fix_8904

Conversation

@SwampDragons
Copy link
Copy Markdown
Contributor

This reverts a change that would prevent the builder from running if it didn't have any snapshots.

It also fixes the bug in 8904 where a setting target_snapshot on a build that ran against a VM with no current snapshots caused a crash.

Closes #8904

@SwampDragons SwampDragons requested a review from a team as a code owner June 16, 2020 20:18
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 16, 2020

Codecov Report

Merging #9435 into master will increase coverage by 0.01%.
The diff coverage is 0.00%.

Impacted Files Coverage Δ
builder/virtualbox/common/driver_4_2.go 0.00% <0.00%> (ø)
packer/communicator.go 75.53% <0.00%> (ø)
packer/rpc/mux_broker.go 65.09% <0.00%> (+3.77%) ⬆️
packer/rpc/server.go 95.45% <0.00%> (+4.54%) ⬆️
builder/azure/dtl/tempname.go 75.00% <0.00%> (+6.25%) ⬆️

Copy link
Copy Markdown
Contributor

@nywilken nywilken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 👍

Copy link
Copy Markdown
Contributor

@sylviamoss sylviamoss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@sylviamoss sylviamoss merged commit 88c94cc into master Jun 17, 2020
@sylviamoss sylviamoss deleted the fix_8904 branch June 17, 2020 09:04
@SwampDragons SwampDragons changed the title Fix 8904 Fix regression in virtualbox-vm builder where build would fail if the vm had no snapshots Jun 24, 2020
@SwampDragons SwampDragons added this to the 1.6.1 milestone Jun 24, 2020
@ghost
Copy link
Copy Markdown

ghost commented Jul 18, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Jul 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

virtualbox-vm builder crashes when no "attach_snapshot" is specified or is null

3 participants