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

Builds finished but no artifacts were created error #1

Open
gabrielbdornas opened this issue Dec 6, 2021 · 1 comment
Open

Builds finished but no artifacts were created error #1

gabrielbdornas opened this issue Dec 6, 2021 · 1 comment

Comments

@gabrielbdornas
Copy link

gabrielbdornas commented Dec 6, 2021

Hello @devopsjourney1,

I'm trying to follow along with your tutorial here and I have two problems. I think the first generates the second.

The first one was "deprecated configuration key iso_ckecksum_type" during the packer build windows_10.json command. So, I've opened the file and removed all iso_ckecksum_type. After that I've run packer build windows_10.json the building didn't complete as shown below:

Build 'virtualbox-iso' errored after 2 hours 29 minutes: Timeout waiting for SSH.

==> Wait completed after 2 hours 29 minutes

==> Some builds didn't complete successfully and had errors:
--> vmware-iso: Failed creating VMware driver: Unable to initialize any driver for this platform. The errors
from each driver are shown below. Please fix at least one driver
to continue:
* exec: "vmware": executable file not found in $PATH
* exec: "vmware": executable file not found in $PATH
* exec: "vmplayer": executable file not found in $PATH
* exec: "vmplayer": executable file not found in $PATH

--> virtualbox-iso: Timeout waiting for SSH.

==> Builds finished but no artifacts were created.

I tried another time but now, as suggested here I run packer fix windows_10.json > windows_10_new.json before packer build windows_10.json (removing the old file and renaming the new one), but still not working.

Obs.: I'm using ubuntu 20.04 and packer 1.7.8

@unknown00759
Copy link

Hello @devopsjourney1,

I'm trying to follow along with your tutorial here and I have two problems. I think the first generates the second.

The first one was "deprecated configuration key iso_ckecksum_type" during the packer build windows_10.json command. So, I've opened the file and removed all iso_ckecksum_type. After that I've run packer build windows_10.json the building didn't complete as shown below:

Build 'virtualbox-iso' errored after 2 hours 29 minutes: Timeout waiting for SSH.

==> Wait completed after 2 hours 29 minutes

==> Some builds didn't complete successfully and had errors:
--> vmware-iso: Failed creating VMware driver: Unable to initialize any driver for this platform. The errors
from each driver are shown below. Please fix at least one driver
to continue:
* exec: "vmware": executable file not found in $PATH
* exec: "vmware": executable file not found in $PATH
* exec: "vmplayer": executable file not found in $PATH
* exec: "vmplayer": executable file not found in $PATH

--> virtualbox-iso: Timeout waiting for SSH.

==> Builds finished but no artifacts were created.

I tried another time but now, as suggested here I run packer fix windows_10.json > windows_10_new.json before packer build windows_10.json (removing the old file and renaming the new one), but still not working.

Obs.: I'm using ubuntu 20.04 and packer 1.7.8

After a I run the following commands:

"packer fix myfile.json > myfile-fixed.json"

"packer validate myfile-fixed.json"

issue resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants