virtualbox-iso: output will be in this color. ==> virtualbox-iso: Retrieving Guest additions ==> virtualbox-iso: Trying C:\Program Files\Oracle\VirtualBox/VBoxGuestAdditions.iso ==> virtualbox-iso: Trying file://C:/Program%20Files/Oracle/VirtualBox/VBoxGuestAdditions.iso ==> virtualbox-iso: file://C:/Program%20Files/Oracle/VirtualBox/VBoxGuestAdditions.iso => C:/Program Files/Oracle/VirtualBox/VBoxGuestAdditions.iso ==> virtualbox-iso: Retrieving ISO ==> virtualbox-iso: Trying http://care.dlservice.microsoft.com/dl/download/1/6/F/16FA20E6-4662-482A-920B-1A45CF5AAE3C/14393.0.160715-1616.RS1_RELEASE_SERVER_EVAL_X64FRE_EN-US.ISO ==> virtualbox-iso: Trying http://care.dlservice.microsoft.com/dl/download/1/6/F/16FA20E6-4662-482A-920B-1A45CF5AAE3C/14393.0.160715-1616.RS1_RELEASE_SERVER_EVAL_X64FRE_EN-US.ISO?checksum=md5%3A18a4f00a675b0338f3c7c93c4f131beb ==> virtualbox-iso: http://care.dlservice.microsoft.com/dl/download/1/6/F/16FA20E6-4662-482A-920B-1A45CF5AAE3C/14393.0.160715-1616.RS1_RELEASE_SERVER_EVAL_X64FRE_EN-US.ISO?checksum=md5%3A18a4f00a675b0338f3c7c93c4f131beb => C:\Users\T01TAZA\Documents\Packer_templates\packer-templates-master\packer_cache\afb7a52c0968fdd33dd5683ce69c1b648d103720.iso ==> virtualbox-iso: Deleting previous output directory... ==> virtualbox-iso: Creating floppy disk... virtualbox-iso: Copying files flatly from floppy_files virtualbox-iso: Copying file: floppy/00-run-all-scripts.cmd virtualbox-iso: Copying file: floppy/01-install-wget.cmd virtualbox-iso: Copying file: floppy/down.ps1 virtualbox-iso: Copying file: floppy/zscaler.cer virtualbox-iso: Copying file: floppy/_download.cmd virtualbox-iso: Copying file: floppy/_packer_config.cmd virtualbox-iso: Copying file: floppy/disablewinupdate.bat virtualbox-iso: Copying file: floppy/eval-win2016-standard/Autounattend.xml virtualbox-iso: Copying file: floppy/fixnetwork.ps1 virtualbox-iso: Copying file: floppy/install-winrm.cmd virtualbox-iso: Copying file: floppy/passwordchange.bat virtualbox-iso: Copying file: floppy/powerconfig.bat virtualbox-iso: Copying file: floppy/zz-start-transports.cmd virtualbox-iso: Done copying files from floppy_files virtualbox-iso: Collecting paths from floppy_dirs virtualbox-iso: Resulting paths from floppy_dirs : [] virtualbox-iso: Done copying paths from floppy_dirs ==> virtualbox-iso: Creating ephemeral key pair for SSH communicator... ==> virtualbox-iso: Created ephemeral SSH key pair for communicator ==> virtualbox-iso: Creating virtual machine... ==> virtualbox-iso: Creating hard drive... ==> virtualbox-iso: Mounting ISOs... virtualbox-iso: Mounting guest additions ISO... virtualbox-iso: Mounting boot ISO... ==> virtualbox-iso: Deleting any current floppy disk... ==> virtualbox-iso: Attaching floppy disk... ==> virtualbox-iso: Creating forwarded port mapping for communicator (SSH, WinRM, etc) (host port 3407) ==> virtualbox-iso: Executing custom VBoxManage commands... virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1613390289 --memory 2048 virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1613390289 --vram 48 virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1613390289 --cpus 2 ==> virtualbox-iso: Starting the virtual machine... virtualbox-iso: The VM will be run headless, without a GUI. If you want to virtualbox-iso: view the screen of the VM, connect via VRDP without a password to virtualbox-iso: rdp://127.0.0.1:5978 ==> virtualbox-iso: Waiting 10s for boot... ==> virtualbox-iso: Typing the boot command... ==> virtualbox-iso: Using winrm communicator to connect: 127.0.0.1 ==> virtualbox-iso: Waiting for WinRM to become available... virtualbox-iso: WinRM connected. ==> virtualbox-iso: #< CLIXML ==> virtualbox-iso: System.Management.Automation.PSCustomObjectSystem.Object1Preparing modules for first use.0-1-1Completed-1 1Preparing modules for first use.0-1-1Completed-1 ==> virtualbox-iso: Connected to WinRM! ==> virtualbox-iso: Uploading VirtualBox version info (6.1.18) ==> virtualbox-iso: Provisioning with chef-solo virtualbox-iso: Installing Chef... virtualbox-iso: virtualbox-iso: ModuleType Version Name ExportedCommands virtualbox-iso: ---------- ------- ---- ---------------- virtualbox-iso: Script 0.0 Omnitruck {Get-ProjectMetadata, Install-Project, install} virtualbox-iso: There was an error: ==> virtualbox-iso: Failed to download from https://omnitruck.chef.io/stable/chef/metadata?v=&p=windows&pv=2016&m=x86_64. ==> virtualbox-iso: At line:71 char:5 ==> virtualbox-iso: + throw "Failed to download from $uri." ==> virtualbox-iso: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ==> virtualbox-iso: + CategoryInfo : OperationStopped: (Failed to downl...=2016&m=x86_64.:String) [], RuntimeException virtualbox-iso: Exception calling "DownloadString" with "1" argument(s): "Unable to connect to the remote server" ==> virtualbox-iso: + FullyQualifiedErrorId : Failed to download from https://omnitruck.chef.io/stable/chef/metadata?v=&p=windows&pv=2 ==> virtualbox-iso: 016&m=x86_64. ==> virtualbox-iso: virtualbox-iso: Unable to connect to the remote server virtualbox-iso: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 151.101.114.110:443 ==> virtualbox-iso: Provisioning step had errors: Running the cleanup provisioner, if present... ==> virtualbox-iso: Cleaning up floppy disk... ==> virtualbox-iso: Deregistering and deleting VM... ==> virtualbox-iso: Error deleting VM: retry count exhausted. Last err: VBoxManage error: VBoxManage.exe: error: Cannot unregister the machine 'packer-virtualbox-iso-1613390289' while it is locked ==> virtualbox-iso: VBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MachineWrap, interface IMachine, callee IUnknown ==> virtualbox-iso: VBoxManage.exe: error: Context: "Unregister(CleanupMode_DetachAllReturnHardDisksOnly, ComSafeArrayAsOutParam(aMedia))" at line 154 of file VBoxManageMisc.cpp ==> virtualbox-iso: Deleting output directory... Build 'virtualbox-iso' errored after 24 minutes 32 seconds: Error installing Chef: Install script exited with non-zero exit status 1 ==> Wait completed after 24 minutes 32 seconds ==> Some builds didn't complete successfully and had errors: --> virtualbox-iso: Error installing Chef: Install script exited with non-zero exit status 1 ==> Builds finished but no artifacts were created.