Open buchs opened 1 year ago
Hi @buchs thanks for reporting this issue, and I'm sorry to hear you are running into this crash. Could provide a template that we can use to reproduce the issue please.
Is there anything specific about the environment that we should know about?
I do wonder if communication to the provisioner is being terminated prematurely. Any details about the environment and the configuration would be helpful to better understand how to reproduce. Thanks for the report and time.
Wilken
Hi Wilken,
I'll be happy to send along the template, if there is a non-public way for me to share it.
I was building from a AWS T3.micro instance running Ubuntu 22.04. My initial attempts were building 8 images in parallel - 2 AWS regions, 2 processor arch and 2 versions of Ubuntu 20.04 and 22.04.
When I split up the build into 2 sets of 4 images and added a 10-15 second delay between them it is now not crashing in a consistent manner. Each set of 4 images takes about 30 minutes to build.
Kevin
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.5
Simplified Packer Template
Need private way to provide this. Also the crash.log.
Operating system and Environment details
Ubuntu 22.04, x86_64
Log Fragments and crash.log files
see above.
Set the env var
PACKER_LOG=1
for maximum log detail.tail of crash log: