Skip to content

vsphere-clone: unexpected EOF/Segmentation Violation #419

@transiient

Description

@transiient

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Overview of the Issue

When using vsphere-clone to clone a vSphere template to a VM, an "unexpected EOF" error is occurring and then a "signal SIGSEGV: segmentation violation" error is shown, with a backtrace below it.

Reproduction Steps

Use my config along with a variables file with "vc_username", "vc_password", and "ws_password" set as sensitive strings.

cd to the directory of these files, then run packer validate .. It'll show successful. Then run packer build -debug -force . and go thru the prompts. It's failing for me after I hit enter on Pausing before cleanup of step 'StepConnect'. Same occurs if run under sudo. Same issue occurs without the debug and force flags.

Packer version

Packer v1.9.1

Simplified Packer Template

Gist

Operating system and Environment details

Ubuntu Server 20.04.6 LTS, x64, VMware virtual machine

Log Fragments and crash.log files

packer.log: https://gist.github.com/transiient/e93e943fb2c2075b6fba06956ddd1a22
crash.log: https://gist.github.com/transiient/a4965e125cf6c4a5cb7796d99cbb9c55

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions