Skip to content
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

Exception when loading packer-provisioner-shell during packer build #5877

Closed
mbrgm opened this issue Feb 9, 2018 · 4 comments
Closed

Exception when loading packer-provisioner-shell during packer build #5877

mbrgm opened this issue Feb 9, 2018 · 4 comments

Comments

@mbrgm
Copy link

mbrgm commented Feb 9, 2018

I have a strange problem running packer on a colleague's machine, where loading the packer-provisioner-shell plugin causes an exception without any error output. This happens right at the beginning of packer build, according to the log file. Unfortunately, I cannot reproduce the error on my own machine, so I'm hoping someone can see a possible cause from the log file or give me further debugging instructions.

  • Packer version: 1.1.2, 1.1.3, also tried with 1.1.4-dev (g8510f072a)
  • Host platform: Windows 10 x64
  • Debug log: https://gist.github.com/e54fa22d39a7eea96d23b527307982a6
  • I added the packer.json to the gist, but did not include the scripts, as the builder does not even start. Tell me if I should add them as well.
@mwhooker
Copy link
Contributor

mwhooker commented Feb 9, 2018

this is pretty odd. I think this is related to golang/go#22149

Could you please update to the latest go release and recompile? packer <= 1.1.3 was compiled with go 1.9 and after a brief glance at the issue I think this is solved in go 1.9.2

@mbrgm
Copy link
Author

mbrgm commented Feb 14, 2018

@mwhooker We checked with the 1.2.0 release and the crash did not happen, so that seemed to solve the problem. Thank you!

@mbrgm mbrgm closed this as completed Feb 14, 2018
@mwhooker
Copy link
Contributor

great! packer 1.2.0 was compiled with go 1.9.4, so looks like it probably was related to that

@ghost
Copy link

ghost commented Apr 2, 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 Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants