Skip to content

Instantly share code, notes, and snippets.

@DarrenF-G
Created September 21, 2020 20:07
Show Gist options
  • Save DarrenF-G/959bfd8fb7dcb0192d5092d609a4dbba to your computer and use it in GitHub Desktop.
Save DarrenF-G/959bfd8fb7dcb0192d5092d609a4dbba to your computer and use it in GitHub Desktop.
2020/09/21 20:22:38 [INFO] Packer version: 1.6.2 [go1.13.15 windows amd64]
2020/09/21 20:22:38 Checking 'PACKER_CONFIG' for a config file path
2020/09/21 20:22:38 'PACKER_CONFIG' not set; checking the default config file path
2020/09/21 20:22:38 Attempting to open config file: C:\Users\ \AppData\Roaming\packer.config
2020/09/21 20:22:38 [WARN] Config file doesn't exist: C:\Users\ \AppData\Roaming\packer.config
2020/09/21 20:22:38 Setting cache directory: C:\Users\ \git\ \packer\packer_cache
cannot determine if process is in background: Process background check error: not implemented yet
2020/09/21 20:22:38 Creating plugin client for path: C:\Users\ \git\ \packer\packer.exe
2020/09/21 20:22:38 Starting plugin: C:\Users\ \git\ \packer\packer.exe []string{"C:\\Users\\ \\git\\ \\packer\\packer.exe", "plugin", "packer-builder-vsphere-iso"}
2020/09/21 20:22:38 Waiting for RPC address for: C:\Users\ \git\ \packer\packer.exe
2020/09/21 20:22:38 packer.exe plugin: [INFO] Packer version: 1.6.2 [go1.13.15 windows amd64]
2020/09/21 20:22:38 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/09/21 20:22:38 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/09/21 20:22:38 packer.exe plugin: Attempting to open config file: C:\Users\ \AppData\Roaming\packer.config
2020/09/21 20:22:38 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\ \AppData\Roaming\packer.config
2020/09/21 20:22:38 packer.exe plugin: Setting cache directory: C:\Users\ \git\ \packer\packer_cache
2020/09/21 20:22:38 packer.exe plugin: args: []string{"packer-builder-vsphere-iso"}
2020/09/21 20:22:38 packer.exe plugin: Plugin port range: [10000,25000]
2020/09/21 20:22:38 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/09/21 20:22:38 packer.exe plugin: Waiting for connection...
2020/09/21 20:22:38 Received tcp RPC address for C:\Users\ \git\ \packer\packer.exe: addr is 127.0.0.1:10000
2020/09/21 20:22:38 packer.exe plugin: Serving a plugin connection...
2020/09/21 20:22:38 Creating plugin client for path: C:\Users\ \git\ \packer\packer.exe
2020/09/21 20:22:38 Starting plugin: C:\Users\ \git\ \packer\packer.exe []string{"C:\\Users\\ \\git\\ \\packer\\packer.exe", "plugin", "packer-provisioner-powershell"}
2020/09/21 20:22:38 Waiting for RPC address for: C:\Users\ \git\ \packer\packer.exe
2020/09/21 20:22:38 packer.exe plugin: [INFO] Packer version: 1.6.2 [go1.13.15 windows amd64]
2020/09/21 20:22:38 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/09/21 20:22:38 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/09/21 20:22:38 packer.exe plugin: Attempting to open config file: C:\Users\ \AppData\Roaming\packer.config
2020/09/21 20:22:38 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\ \AppData\Roaming\packer.config
2020/09/21 20:22:38 packer.exe plugin: Setting cache directory: C:\Users\ \git\ \packer\packer_cache
2020/09/21 20:22:38 packer.exe plugin: args: []string{"packer-provisioner-powershell"}
2020/09/21 20:22:38 packer.exe plugin: Plugin port range: [10000,25000]
2020/09/21 20:22:38 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/09/21 20:22:38 Received tcp RPC address for C:\Users\ \git\ \packer\packer.exe: addr is 127.0.0.1:10000
2020/09/21 20:22:38 packer.exe plugin: Waiting for connection...
2020/09/21 20:22:38 packer.exe plugin: Serving a plugin connection...
2020/09/21 20:22:38 Creating plugin client for path: C:\Users\ \git\ \packer\packer.exe
2020/09/21 20:22:38 Starting plugin: C:\Users\ \git\ \packer\packer.exe []string{"C:\\Users\\ \\git\\ \\packer\\packer.exe", "plugin", "packer-provisioner-powershell"}
2020/09/21 20:22:38 Waiting for RPC address for: C:\Users\ \git\ \packer\packer.exe
2020/09/21 20:22:39 packer.exe plugin: [INFO] Packer version: 1.6.2 [go1.13.15 windows amd64]
2020/09/21 20:22:39 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/09/21 20:22:39 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/09/21 20:22:39 packer.exe plugin: Attempting to open config file: C:\Users\ \AppData\Roaming\packer.config
2020/09/21 20:22:39 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\ \AppData\Roaming\packer.config
2020/09/21 20:22:39 packer.exe plugin: Setting cache directory: C:\Users\ \git\ \packer\packer_cache
2020/09/21 20:22:39 packer.exe plugin: args: []string{"packer-provisioner-powershell"}
2020/09/21 20:22:39 packer.exe plugin: Plugin port range: [10000,25000]
2020/09/21 20:22:39 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/09/21 20:22:39 packer.exe plugin: Waiting for connection...
2020/09/21 20:22:39 Received tcp RPC address for C:\Users\ \git\ \packer\packer.exe: addr is 127.0.0.1:10000
2020/09/21 20:22:39 packer.exe plugin: Serving a plugin connection...
2020/09/21 20:22:39 Preparing build: vsphere-iso
2020/09/21 20:22:39 ui: vsphere-iso: output will be in this color.
2020/09/21 20:22:39 ui:
2020/09/21 20:22:39 Build debug mode: false
2020/09/21 20:22:39 Force build: true
2020/09/21 20:22:39 On error:
2020/09/21 20:22:39 Waiting on builds to complete...
2020/09/21 20:22:39 Starting build run: vsphere-iso
2020/09/21 20:22:39 Running builder: vsphere-iso
2020/09/21 20:22:39 [INFO] (telemetry) Starting builder vsphere-iso
2020/09/21 20:22:39 ui: ==> vsphere-iso: Retrieving ISO
2020/09/21 20:22:39 ui: ==> vsphere-iso: Trying ./packer-vsphere-iso-windows/isos/windows10_ent.iso
2020/09/21 20:22:39 packer.exe plugin: Acquiring lock for: ./packer-vsphere-iso-windows/isos/windows10_ent.iso?checksum=md5%3A2b51705e4af1d2b2d3fe329370a333fd (C:\Users\ \git\ \packer\packer_cache\a4d0fcaa31e6d92a243afd6210886d5330cbd506.iso.lock)
2020/09/21 20:22:39 ui: ==> vsphere-iso: Trying ./packer-vsphere-iso-windows/isos/windows10_ent.iso?checksum=md5%3A2b51705e4af1d2b2d3fe329370a333fd
2020/09/21 20:22:46 ui: ==> vsphere-iso: ./packer-vsphere-iso-windows/isos/windows10_ent.iso?checksum=md5%3A2b51705e4af1d2b2d3fe329370a333fd => C:/Users/ /git/ /packer/packer-vsphere-iso-windows/isos/windows10_ent.iso
2020/09/21 20:22:46 packer.exe plugin: Leaving retrieve loop for ISO
2020/09/21 20:22:46 ui: ==> vsphere-iso: Uploading windows10_ent.iso to packer_cache/windows10_ent.iso
2020/09/21 20:22:46 ui: ==> vsphere-iso: File already uploaded; continuing
2020/09/21 20:22:46 ui: ==> vsphere-iso: Creating VM...
2020/09/21 20:22:47 ui: ==> vsphere-iso: Customizing hardware...
2020/09/21 20:22:48 ui: ==> vsphere-iso: Mounting ISO images...
2020/09/21 20:22:48 packer.exe plugin: Check if ISO path is a Content Library path
2020/09/21 20:22:48 packer.exe plugin: ISO path not identified as a Content Library path
2020/09/21 20:22:48 packer.exe plugin: Using [NVME_esxi] packer_cache//windows10_ent.iso as the datastore path
2020/09/21 20:22:48 packer.exe plugin: Creating CD-ROM on controller '&{{{} 200 0xc000aa6f60 <nil> <nil> <nil> 0 <nil>} 0 []}' with iso '[NVME_esxi] packer_cache//windows10_ent.iso'
2020/09/21 20:22:48 packer.exe plugin: Check if ISO path is a Content Library path
2020/09/21 20:22:49 packer.exe plugin: ISO path not identified as a Content Library path
2020/09/21 20:22:49 packer.exe plugin: Using [] /vmimages/tools-isoimages/windows.iso as the datastore path
2020/09/21 20:22:49 packer.exe plugin: Creating CD-ROM on controller '&{{{} 200 0xc000ddc860 <nil> <nil> <nil> 0 <nil>} 0 [3000]}' with iso '[] /vmimages/tools-isoimages/windows.iso'
2020/09/21 20:22:49 ui: ==> vsphere-iso: Adding configuration parameters...
2020/09/21 20:22:49 ui: ==> vsphere-iso: Creating floppy disk...
2020/09/21 20:22:49 packer.exe plugin: Floppy path: C:\Users\\AppData\Local\Temp\packer845050811
2020/09/21 20:22:49 packer.exe plugin: Initializing block device backed by temporary file
2020/09/21 20:22:49 packer.exe plugin: Formatting the block device with a FAT filesystem...
2020/09/21 20:22:49 packer.exe plugin: Initializing FAT filesystem on block device
2020/09/21 20:22:49 packer.exe plugin: Reading the root directory from the filesystem
2020/09/21 20:22:49 ui: vsphere-iso: Copying files flatly from floppy_files
2020/09/21 20:22:49 ui: vsphere-iso: Copying file: ./packer-vsphere-iso-windows/win10.base/autounattend.xml
2020/09/21 20:22:49 ui: vsphere-iso: Done copying files from floppy_files
2020/09/21 20:22:49 ui: vsphere-iso: Collecting paths from floppy_dirs
2020/09/21 20:22:49 ui: vsphere-iso: Resulting paths from floppy_dirs : [./packer-vsphere-iso-windows/scripts]
2020/09/21 20:22:49 ui: vsphere-iso: Recursively copying : ./packer-vsphere-iso-windows/scripts
2020/09/21 20:22:49 ui: vsphere-iso: Done copying paths from floppy_dirs
2020/09/21 20:22:49 ui: ==> vsphere-iso: Uploading created floppy image
2020/09/21 20:22:49 ui: ==> vsphere-iso: Adding generated Floppy...
2020/09/21 20:22:49 packer.exe plugin: Found available port: 8564 on IP: 0.0.0.0
2020/09/21 20:22:49 ui: ==> vsphere-iso: Starting HTTP server on port 8564
2020/09/21 20:22:49 ui: ==> vsphere-iso: Set boot order temporary...
2020/09/21 20:22:50 ui: ==> vsphere-iso: Power on VM...
2020/09/21 20:22:50 ui: ==> vsphere-iso: Waiting for IP...
2020/09/21 20:22:50 packer.exe plugin: [INFO] Waiting for IP, up to total timeout: 30m0s, settle timeout: 5s
2020/09/21 20:31:39 packer.exe plugin: VM IP aquired: 10.0.0.98
2020/09/21 20:31:39 packer.exe plugin: VM IP is still the same: 10.0.0.98
2020/09/21 20:31:40 packer.exe plugin: VM IP is still the same: 10.0.0.98
2020/09/21 20:31:41 packer.exe plugin: VM IP is still the same: 10.0.0.98
2020/09/21 20:31:42 packer.exe plugin: VM IP is still the same: 10.0.0.98
2020/09/21 20:31:43 packer.exe plugin: VM IP is still the same: 10.0.0.98
2020/09/21 20:31:44 packer.exe plugin: VM IP is still the same: 10.0.0.98
2020/09/21 20:31:44 packer.exe plugin: VM IP seems stable enough: 10.0.0.98
2020/09/21 20:31:44 ui: ==> vsphere-iso: IP address: 10.0.0.98
2020/09/21 20:31:44 ui: ==> vsphere-iso: Using winrm communicator to connect: 10.0.0.98
2020/09/21 20:31:44 packer.exe plugin: Waiting for WinRM, up to timeout: 30m0s
2020/09/21 20:31:44 ui: ==> vsphere-iso: Waiting for WinRM to become available...
2020/09/21 20:31:44 packer.exe plugin: [INFO] Attempting WinRM connection...
2020/09/21 20:31:44 packer.exe plugin: [DEBUG] connecting to remote shell using WinRM
2020/09/21 20:31:54 packer.exe plugin: Checking that WinRM is connected with: 'powershell.exe -EncodedCommand aQBmACAAKABUAGUAcwB0AC0AUABhAHQAaAAgAHYAYQByAGkAYQBiAGwAZQA6AGcAbABvAGIAYQBsADoAUAByAG8AZwByAGUAcwBzAFAAcgBlAGYAZQByAGUAbgBjAGUAKQB7ACQAUAByAG8AZwByAGUAcwBzAFAAcgBlAGYAZQByAGUAbgBjAGUAPQAnAFMAaQBsAGUAbgB0AGwAeQBDAG8AbgB0AGkAbgB1AGUAJwB9ADsAIABlAGMAaABvACAAIgBXAGkAbgBSAE0AIABjAG8AbgBuAGUAYwB0AGUAZAAuACIA'
2020/09/21 20:31:56 packer.exe plugin: [INFO] starting remote command: powershell.exe -EncodedCommand aQBmACAAKABUAGUAcwB0AC0AUABhAHQAaAAgAHYAYQByAGkAYQBiAGwAZQA6AGcAbABvAGIAYQBsADoAUAByAG8AZwByAGUAcwBzAFAAcgBlAGYAZQByAGUAbgBjAGUAKQB7ACQAUAByAG8AZwByAGUAcwBzAFAAcgBlAGYAZQByAGUAbgBjAGUAPQAnAFMAaQBsAGUAbgB0AGwAeQBDAG8AbgB0AGkAbgB1AGUAJwB9ADsAIABlAGMAaABvACAAIgBXAGkAbgBSAE0AIABjAG8AbgBuAGUAYwB0AGUAZAAuACIA
2020/09/21 20:32:02 packer.exe plugin: [INFO] command 'powershell.exe -EncodedCommand aQBmACAAKABUAGUAcwB0AC0AUABhAHQAaAAgAHYAYQByAGkAYQBiAGwAZQA6AGcAbABvAGIAYQBsADoAUAByAG8AZwByAGUAcwBzAFAAcgBlAGYAZQByAGUAbgBjAGUAKQB7ACQAUAByAG8AZwByAGUAcwBzAFAAcgBlAGYAZQByAGUAbgBjAGUAPQAnAFMAaQBsAGUAbgB0AGwAeQBDAG8AbgB0AGkAbgB1AGUAJwB9ADsAIABlAGMAaABvACAAIgBXAGkAbgBSAE0AIABjAG8AbgBuAGUAYwB0AGUAZAAuACIA' exited with code: 0
2020/09/21 20:32:02 ui: vsphere-iso: WinRM connected.
2020/09/21 20:32:02 ui error: ==> vsphere-iso: #< CLIXML
2020/09/21 20:32:02 ui error: ==> vsphere-iso: <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>
2020/09/21 20:32:02 packer.exe plugin: Connected to machine
2020/09/21 20:32:02 ui: ==> vsphere-iso: Connected to WinRM!
2020/09/21 20:32:02 packer.exe plugin: Running the provision hook
2020/09/21 20:32:02 [INFO] (telemetry) Starting provisioner powershell
2020/09/21 20:32:02 ui: ==> vsphere-iso: Provisioning with Powershell...
2020/09/21 20:32:02 packer.exe plugin: Found command: iwr -uri http://$PACKER_HTTP_ADDR/Check_MK/check_mk_agent.msi -outfile c:/temp/check_mk/check_mk_agent.msi
2020/09/21 20:32:02 ui: ==> vsphere-iso: Provisioning with powershell script: C:\Users\ ~1.FRA\AppData\Local\Temp\powershell-provisioner542261483
2020/09/21 20:32:02 packer.exe plugin: Opening C:\Users\ ~1.FRA\AppData\Local\Temp\powershell-provisioner542261483 for reading
2020/09/21 20:32:02 packer.exe plugin: Uploading env vars to c:/Windows/Temp/packer-ps-env-vars-5f68fd7f-559a-e232-d2d3-bf21ffa99965.ps1
2020/09/21 20:32:02 packer.exe plugin: [INFO] 189 bytes written for 'uploadData'
2020/09/21 20:32:02 [INFO] 189 bytes written for 'uploadData'
2020/09/21 20:32:02 packer.exe plugin: Uploading file to 'c:/Windows/Temp/packer-ps-env-vars-5f68fd7f-559a-e232-d2d3-bf21ffa99965.ps1'
2020/09/21 20:32:24 packer.exe plugin: #< CLIXML
2020/09/21 20:32:37 packer.exe plugin: <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>#< CLIXML
2020/09/21 20:32:41 packer.exe plugin: [INFO] 107 bytes written for 'uploadData'
2020/09/21 20:32:41 [INFO] 107 bytes written for 'uploadData'
2020/09/21 20:32:41 packer.exe plugin: <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>Uploading file to 'c:/Windows/Temp/script-5f68fd7f-dcfd-932d-5c6b-f80079dbe72a.ps1'
2020/09/21 20:33:01 packer.exe plugin: #< CLIXML
2020/09/21 20:33:13 packer.exe plugin: <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>#< CLIXML
2020/09/21 20:33:20 packer.exe plugin: <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>[INFO] starting remote command: powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){set-variable -name variable:global:ProgressPreference -value 'SilentlyContinue'};. c:/Windows/Temp/packer-ps-env-vars-5f68fd7f-559a-e232-d2d3-bf21ffa99965.ps1; &'c:/Windows/Temp/script-5f68fd7f-dcfd-932d-5c6b-f80079dbe72a.ps1'; exit $LastExitCode }"
2020/09/21 20:33:27 packer.exe plugin: [INFO] command 'powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){set-variable -name variable:global:ProgressPreference -value 'SilentlyContinue'};. c:/Windows/Temp/packer-ps-env-vars-5f68fd7f-559a-e232-d2d3-bf21ffa99965.ps1; &'c:/Windows/Temp/script-5f68fd7f-dcfd-932d-5c6b-f80079dbe72a.ps1'; exit $LastExitCode }"' exited with code: 0
2020/09/21 20:33:27 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/09/21 20:33:27 ui error: ==> vsphere-iso: Invoke-WebRequest : Cannot bind parameter 'Uri'. Cannot convert value "http:///Check_MK/check_mk_agent.msi" to type
2020/09/21 20:33:27 ui error: ==> vsphere-iso: "System.Uri". Error: "Invalid URI: The hostname could not be parsed."
2020/09/21 20:33:27 ui error: ==> vsphere-iso: At C:\Windows\Temp\script-5f68fd7f-dcfd-932d-5c6b-f80079dbe72a.ps1:1 char:10
2020/09/21 20:33:27 ui error: ==> vsphere-iso: + iwr -uri http://$PACKER_HTTP_ADDR/Check_MK/check_mk_agent.msi -outfil ...
2020/09/21 20:33:27 ui error: ==> vsphere-iso: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020/09/21 20:33:27 ui error: ==> vsphere-iso: + CategoryInfo : InvalidArgument: (:) [Invoke-WebRequest], ParameterBindingException
2020/09/21 20:33:27 [INFO] 627 bytes written for 'stderr'
2020/09/21 20:33:27 [INFO] 0 bytes written for 'stdout'
2020/09/21 20:33:27 ui error: ==> vsphere-iso: + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
2020/09/21 20:33:27 ui error: ==> vsphere-iso:
2020/09/21 20:33:27 [INFO] RPC client: Communicator ended with: 0
2020/09/21 20:33:27 [INFO] RPC endpoint: Communicator ended with: 0
2020/09/21 20:33:27 packer.exe plugin: [INFO] 0 bytes written for 'stdout'
2020/09/21 20:33:27 packer.exe plugin: [INFO] 627 bytes written for 'stderr'
2020/09/21 20:33:27 packer.exe plugin: [INFO] RPC client: Communicator ended with: 0
2020/09/21 20:33:27 packer.exe plugin: c:/Windows/Temp/script-5f68fd7f-dcfd-932d-5c6b-f80079dbe72a.ps1 returned with exit code 0
2020/09/21 20:33:27 packer.exe plugin: [INFO] 511 bytes written for 'uploadData'
2020/09/21 20:33:27 [INFO] 511 bytes written for 'uploadData'
2020/09/21 20:33:27 packer.exe plugin: Uploading file to 'c:/Windows/Temp/packer-cleanup-5f68fd7f-28ed-3506-671f-995e9108b6f4.ps1'
2020/09/21 20:33:49 packer.exe plugin: #< CLIXML
2020/09/21 20:34:02 packer.exe plugin: <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>#< CLIXML
2020/09/21 20:34:09 packer.exe plugin: <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>[INFO] starting remote command: powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){set-variable -name variable:global:ProgressPreference -value 'SilentlyContinue'};. c:/Windows/Temp/packer-ps-env-vars-5f68fd7f-559a-e232-d2d3-bf21ffa99965.ps1; &'c:/Windows/Temp/packer-cleanup-5f68fd7f-28ed-3506-671f-995e9108b6f4.ps1'; exit $LastExitCode }"
2020/09/21 20:34:14 packer.exe plugin: [INFO] command 'powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){set-variable -name variable:global:ProgressPreference -value 'SilentlyContinue'};. c:/Windows/Temp/packer-ps-env-vars-5f68fd7f-559a-e232-d2d3-bf21ffa99965.ps1; &'c:/Windows/Temp/packer-cleanup-5f68fd7f-28ed-3506-671f-995e9108b6f4.ps1'; exit $LastExitCode }"' exited with code: 0
2020/09/21 20:34:14 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/09/21 20:34:14 [INFO] 0 bytes written for 'stderr'
2020/09/21 20:34:14 [INFO] 0 bytes written for 'stdout'
2020/09/21 20:34:14 [INFO] RPC client: Communicator ended with: 0
2020/09/21 20:34:14 [INFO] RPC endpoint: Communicator ended with: 0
2020/09/21 20:34:14 packer.exe plugin: [INFO] 0 bytes written for 'stderr'
2020/09/21 20:34:14 packer.exe plugin: [INFO] 0 bytes written for 'stdout'
2020/09/21 20:34:14 packer.exe plugin: [INFO] RPC client: Communicator ended with: 0
2020/09/21 20:34:14 [INFO] (telemetry) ending powershell
2020/09/21 20:34:14 [INFO] (telemetry) Starting provisioner powershell
2020/09/21 20:34:14 ui: ==> vsphere-iso: Provisioning with Powershell...
2020/09/21 20:34:14 packer.exe plugin: Found command: sleep 5
2020/09/21 20:34:14 ui: ==> vsphere-iso: Provisioning with powershell script: C:\Users\ ~1.FRA\AppData\Local\Temp\powershell-provisioner360494631
2020/09/21 20:34:14 packer.exe plugin: Opening C:\Users\ ~1.FRA\AppData\Local\Temp\powershell-provisioner360494631 for reading
2020/09/21 20:34:14 packer.exe plugin: Uploading env vars to c:/Windows/Temp/packer-ps-env-vars-5f68fd7f-8c32-0af2-b1af-82d8ff0b6351.ps1
2020/09/21 20:34:14 packer.exe plugin: [INFO] 189 bytes written for 'uploadData'
2020/09/21 20:34:14 packer.exe plugin: Uploading file to 'c:/Windows/Temp/packer-ps-env-vars-5f68fd7f-8c32-0af2-b1af-82d8ff0b6351.ps1'
2020/09/21 20:34:14 [INFO] 189 bytes written for 'uploadData'
2020/09/21 20:34:36 packer.exe plugin: #< CLIXML
2020/09/21 20:34:49 packer.exe plugin: <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>#< CLIXML
2020/09/21 20:34:54 packer.exe plugin: [INFO] 8 bytes written for 'uploadData'
2020/09/21 20:34:54 [INFO] 8 bytes written for 'uploadData'
2020/09/21 20:34:54 packer.exe plugin: <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>Uploading file to 'c:/Windows/Temp/script-5f68fd7f-2b6c-26d8-792c-0d140b5d989d.ps1'
2020/09/21 20:35:13 packer.exe plugin: #< CLIXML
2020/09/21 20:35:26 packer.exe plugin: <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>#< CLIXML
2020/09/21 20:35:33 packer.exe plugin: <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>[INFO] starting remote command: powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){set-variable -name variable:global:ProgressPreference -value 'SilentlyContinue'};. c:/Windows/Temp/packer-ps-env-vars-5f68fd7f-8c32-0af2-b1af-82d8ff0b6351.ps1; &'c:/Windows/Temp/script-5f68fd7f-2b6c-26d8-792c-0d140b5d989d.ps1'; exit $LastExitCode }"
2020/09/21 20:35:44 packer.exe plugin: [INFO] command 'powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){set-variable -name variable:global:ProgressPreference -value 'SilentlyContinue'};. c:/Windows/Temp/packer-ps-env-vars-5f68fd7f-8c32-0af2-b1af-82d8ff0b6351.ps1; &'c:/Windows/Temp/script-5f68fd7f-2b6c-26d8-792c-0d140b5d989d.ps1'; exit $LastExitCode }"' exited with code: 0
2020/09/21 20:35:44 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/09/21 20:35:44 [INFO] 0 bytes written for 'stdout'
2020/09/21 20:35:44 [INFO] 0 bytes written for 'stderr'
2020/09/21 20:35:44 [INFO] RPC client: Communicator ended with: 0
2020/09/21 20:35:44 [INFO] RPC endpoint: Communicator ended with: 0
2020/09/21 20:35:44 packer.exe plugin: [INFO] 0 bytes written for 'stderr'
2020/09/21 20:35:44 packer.exe plugin: [INFO] 0 bytes written for 'stdout'
2020/09/21 20:35:44 packer.exe plugin: [INFO] RPC client: Communicator ended with: 0
2020/09/21 20:35:44 packer.exe plugin: c:/Windows/Temp/script-5f68fd7f-2b6c-26d8-792c-0d140b5d989d.ps1 returned with exit code 0
2020/09/21 20:35:44 packer.exe plugin: [INFO] 511 bytes written for 'uploadData'
2020/09/21 20:35:44 [INFO] 511 bytes written for 'uploadData'
2020/09/21 20:35:44 packer.exe plugin: Uploading file to 'c:/Windows/Temp/packer-cleanup-5f68fd7f-02bc-18c2-eaed-e88799452d7b.ps1'
2020/09/21 20:36:06 packer.exe plugin: #< CLIXML
2020/09/21 20:36:18 packer.exe plugin: <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>#< CLIXML
2020/09/21 20:36:25 packer.exe plugin: <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>[INFO] starting remote command: powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){set-variable -name variable:global:ProgressPreference -value 'SilentlyContinue'};. c:/Windows/Temp/packer-ps-env-vars-5f68fd7f-8c32-0af2-b1af-82d8ff0b6351.ps1; &'c:/Windows/Temp/packer-cleanup-5f68fd7f-02bc-18c2-eaed-e88799452d7b.ps1'; exit $LastExitCode }"
2020/09/21 20:36:31 packer.exe plugin: [INFO] command 'powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){set-variable -name variable:global:ProgressPreference -value 'SilentlyContinue'};. c:/Windows/Temp/packer-ps-env-vars-5f68fd7f-8c32-0af2-b1af-82d8ff0b6351.ps1; &'c:/Windows/Temp/packer-cleanup-5f68fd7f-02bc-18c2-eaed-e88799452d7b.ps1'; exit $LastExitCode }"' exited with code: 0
2020/09/21 20:36:31 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 0
2020/09/21 20:36:31 [INFO] 0 bytes written for 'stdout'
2020/09/21 20:36:31 [INFO] 0 bytes written for 'stderr'
2020/09/21 20:36:31 [INFO] RPC client: Communicator ended with: 0
2020/09/21 20:36:31 [INFO] RPC endpoint: Communicator ended with: 0
2020/09/21 20:36:31 packer.exe plugin: [INFO] 0 bytes written for 'stdout'
2020/09/21 20:36:31 packer.exe plugin: [INFO] 0 bytes written for 'stderr'
2020/09/21 20:36:31 packer.exe plugin: [INFO] RPC client: Communicator ended with: 0
2020/09/21 20:36:31 [INFO] (telemetry) ending powershell
2020/09/21 20:36:31 ui: ==> vsphere-iso: Shutting down VM...
2020/09/21 20:36:31 packer.exe plugin: Waiting max 5m0s for shutdown to complete
2020/09/21 20:36:50 ui: ==> vsphere-iso: Deleting Floppy drives...
2020/09/21 20:36:50 ui: ==> vsphere-iso: Deleting Floppy image...
2020/09/21 20:36:50 ui: ==> vsphere-iso: Eject CD-ROM drives...
2020/09/21 20:36:50 ui: ==> vsphere-iso: Clear boot order...
2020/09/21 20:36:50 packer.exe plugin: Deleting floppy disk: C:\Users\ ~1.FRA\AppData\Local\Temp\packer845050811
2020/09/21 20:36:50 [INFO] (telemetry) ending vsphere-iso
2020/09/21 20:36:50 ui: Build 'vsphere-iso' finished after 14 minutes 11 seconds.
2020/09/21 20:36:50 ui:
==> Wait completed after 14 minutes 11 seconds
2020/09/21 20:36:50 ui:
==> Builds finished. The artifacts of successful builds are:
2020/09/21 20:36:50 machine readable: vsphere-iso,artifact-count []string{"1"}
2020/09/21 20:36:50 machine readable: vsphere-iso,artifact []string{"0", "builder-id", "jetbrains.vsphere"}
2020/09/21 20:36:50 machine readable: vsphere-iso,artifact []string{"0", "id", "Win10-test"}
2020/09/21 20:36:50 machine readable: vsphere-iso,artifact []string{"0", "string", "Win10-test"}
2020/09/21 20:36:50 machine readable: vsphere-iso,artifact []string{"0", "files-count", "0"}
2020/09/21 20:36:50 machine readable: vsphere-iso,artifact []string{"0", "end"}
2020/09/21 20:36:50 ui: --> vsphere-iso: Win10-test
2020/09/21 20:36:50 [INFO] (telemetry) Finalizing.
2020/09/21 20:36:51 waiting for all plugin processes to complete...
2020/09/21 20:36:51 C:\Users\ \git\ \packer\packer.exe: plugin process exited
2020/09/21 20:36:51 C:\Users\ \git\ \packer\packer.exe: plugin process exited
2020/09/21 20:36:51 C:\Users\ \git\ \packer\packer.exe: plugin process exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment