Closed thomastthai closed 11 months ago
Hi @thomastthai the terminal freezing seems unrelated to Packer as it is most likely an issue with the terminal and Host operating causing the terminal to lock up. I recommend looking at the load on your machine or the Windows forums for open issues with terminal resizing.
That said, the error that is being reported unexpected EOF
seems to me that the post-processor causing the failure is either being killed by the build host - we've seen this with OOM errors. Or that the post-processor has a bug.
Have you tried running the build without the post-processor block to see if the build executes successfully?
To help identify what might be going on I would remove the post-processors run a build.
If that succeeds I would then add back one post-processor to see with one fails and use the debug logs PACKER_LOG=1 packer build source.pkr.hcl
to see what is happening when the post-processor fails.
Hi there :wave:, I'm going to close this issue since there hasn't been any updates to it. But if you are still running into issues please feel free to leave a comment on the issue and we will gladly reopen.
I am still testing and will report.
On Fri, Nov 17, 2023, 3:31 AM Wilken Rivera @.***> wrote:
Hi there 👋, I'm going to close this issue since there hasn't been any updates to it. But if you are still running into issues please feel free to leave a comment on the issue and we will gladly reopen.
— Reply to this email directly, view it on GitHub https://github.com/hashicorp/packer/issues/12685#issuecomment-1816210955, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6EIZOL7NNY7WYMJ2RMHTTYE5DJ7AVCNFSM6AAAAAA7B6ORGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJWGIYTAOJVGU . You are receiving this because you were mentioned.Message ID: @.***>
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.
Community Note
When filing a bug, please include the following headings if possible. Any example text in this template can be deleted.
Overview of the Issue
When building with
packer
, the terminal window would stop updating at random places with additional lines of text until the terminal window is resized to different dimensions. For example:After the "freeze" and the terminal window is resized, it updates the next lines right away and continues with the build. If the resize doesn't happen, it could result in an
unexpected EOF
error similar to:or
Another build that froze but didn't have an
unexpected EOF
error. I didn't resize the terminal window and let it sit until it timed out:Reproduction Steps
Packer version
1.9.4
Simplified Packer Template
build.pkr.hcl
sources.pkr.hcl
plugins.pkr.hcl
Operating system and Environment details
Host machine: Windows 11 AMD64 Host machine terminal: Mintty 3.6.5 (xterm-256color emulation) via Git Bash 2.27.0 Guest VM: via Vagrant 2.4.0, VirtualBox 7.0, Debian 12
Log Fragments and crash.log files
The errors will vary depending on where the "freeze" happened, but always include that
unexpected EOF
error. Below is another example of an error from one of the builds.