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 on Jenkins with vSphere/Ovftool CPU Pegged - IOCTL Error in strace #2926
Comments
Thanks for the report! I'm curious if this is somehow related to #2595. Can you try this build using packer built from master? Also if you can share a minimally-reproducible packer template + scripts that will help me fix this. Thanks! |
@cbednarski Absolutely, I will put a repo up on my github account and link it back here so you can clone and kick it off. Should have that done soon. In the meantime I will kick off a packer build from master. Another thing I am trying now is using disk mode 4 and vmx9 (I was on vmx10). |
Issue #2595 doesn't look to be identical, but my host would run out of memory eventually. There might be a correlation there. Side note: I had a FreeBSD image build and upload clean this morning... |
FreeBSD images are typically pretty small compared to ubuntu / cent so I'm curious if it squeaks by for that reason. There's definitely at least one bug here but if both are related to |
I'd be curious if it reproduced after removing the Stdout buffering here. |
Here is my upstream cleaned repo: https://github.com/rvalente/packer-trusty64 |
On the Jenkins build server here is the size of the flat VMDK: |
Ok, I am now running Packer version:
|
@rvalente Thanks for testing with master. That rules out the possibility that this is a side effect of a race condition. |
@cbednarski You're welcome! Anything I can do to help out. I am going to set the disk type back to 0 but leave skip_compaction set to true. If there is anything else you want me to test I am happy to do so. I am no Go expert yet by any means though... |
I just ran a FreeBSD build that has two post-processors. I ship the build to multiple vCenters, hence the multiple post-processors. Got the following error:
It successfully uploaded to one VC, but not the other. Not sure if this helps or not.
|
Ok, so this is clearly an issue with Too bad it doesn't actually throw something more useful so it can be exposed in packer. That would have saved me quite a bit of time. 😢 |
a lot has changed since this was open, and I suspect it's been fixed. Please open a new issue if you continue to encounter this |
Environment Details
Ubuntu 14.04.3
Jenkins 1.636
Packer 0.8.6
VMware Workstation 11.1.2
Ansible 1.9.4
Ovftool 4.1.0
Build Flow
vmware-iso > script provisioner > ansible provisioner > vsphere post-processor
Reproduce
PACKER_LOG=1 packer build template.json
upon upstream code change.NOTE: This also occurs when run manually on my Mac so this isn't a Jenkins specific error to the best of my knowledge. The error on the Mac side is IOCTL Err#19
I copied the ovftool command from the debug log, entered it manually, and it works/uploads just fine.
Gist
https://gist.github.com/rvalente/5801d5296d476d66e6d6
The text was updated successfully, but these errors were encountered: