-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Packer Crash on macOS - Intermittent crashes with packer build - Panic: runtime error: index out of range [0] with length 0 #12430
Comments
This change updates gopsutil to the latest available version. Fixes: #12430
Hi @bassem-shoukry thanks for reporting this issue. I suspect it is an upstream gopsutil issue. I opened a PR to upgrade gopsutil with a fix but would like to test with your repro config, and if you’re open to it have you test as well. You can send your config/logs to us via email |
This change updates gopsutil to the latest available version. Fixes: #12430
Hi @bassem-shoukry I went ahead an merged in the change, which may resolve your issue. When possible can you please download the latest nightly release to test if the problem has been resolved. |
Thank you @nywilken for your help! The updated version is working now. |
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. |
Community Note
Overview of the Issue
Intermittent crashes with packer build. See subject/title. Packer requested I report this crash:
Reproduction Steps
packer build .
Packer version
1.8.7
Simplified Packer Template
Need private way to provide this. Also the crash.log.
Operating system and Environment details
macOS 11.7.6 (20G1231)
Log Fragments and crash.log files
see above.
Set the env var PACKER_LOG=1 for maximum log detail.
tail of crash log:
The text was updated successfully, but these errors were encountered: