2020/03/28 16:20:45 [INFO] Packer version: 1.5.4 [go1.13.7 linux amd64] 2020/03/28 16:20:45 Checking 'PACKER_CONFIG' for a config file path 2020/03/28 16:20:45 'PACKER_CONFIG' not set; checking the default config file path 2020/03/28 16:20:45 Attempting to open config file: /home/tony/.packerconfig 2020/03/28 16:20:45 [WARN] Config file doesn't exist: /home/tony/.packerconfig 2020/03/28 16:20:45 Setting cache directory: /home/tony/packer/packer-vsphere-iso-windows/win2016.base/packer_cache 2020/03/28 16:20:45 Creating plugin client for path: /usr/local/bin/packer 2020/03/28 16:20:45 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-vsphere-iso"} 2020/03/28 16:20:45 Waiting for RPC address for: /usr/local/bin/packer 2020/03/28 16:20:45 packer-builder-vsphere-iso plugin: [INFO] Packer version: 1.5.4 [go1.13.7 linux amd64] 2020/03/28 16:20:45 packer-builder-vsphere-iso plugin: Checking 'PACKER_CONFIG' for a config file path 2020/03/28 16:20:45 packer-builder-vsphere-iso plugin: 'PACKER_CONFIG' not set; checking the default config file path 2020/03/28 16:20:45 packer-builder-vsphere-iso plugin: Attempting to open config file: /home/tony/.packerconfig 2020/03/28 16:20:45 packer-builder-vsphere-iso plugin: [WARN] Config file doesn't exist: /home/tony/.packerconfig 2020/03/28 16:20:45 packer-builder-vsphere-iso plugin: Setting cache directory: /home/tony/packer/packer-vsphere-iso-windows/win2016.base/packer_cache 2020/03/28 16:20:45 packer-builder-vsphere-iso plugin: args: []string{"packer-builder-vsphere-iso"} 2020/03/28 16:20:45 Received unix RPC address for /usr/local/bin/packer: addr is /tmp/packer-plugin105879648 2020/03/28 16:20:45 packer-builder-vsphere-iso plugin: Plugin address: unix /tmp/packer-plugin105879648 2020/03/28 16:20:45 packer-builder-vsphere-iso plugin: Waiting for connection... 2020/03/28 16:20:45 packer-builder-vsphere-iso plugin: Serving a plugin connection... 2020/03/28 16:20:45 Creating plugin client for path: /usr/local/bin/packer 2020/03/28 16:20:45 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-windows-shell"} 2020/03/28 16:20:45 Waiting for RPC address for: /usr/local/bin/packer 2020/03/28 16:20:45 packer-provisioner-windows-shell plugin: [INFO] Packer version: 1.5.4 [go1.13.7 linux amd64] 2020/03/28 16:20:45 packer-provisioner-windows-shell plugin: Checking 'PACKER_CONFIG' for a config file path 2020/03/28 16:20:45 packer-provisioner-windows-shell plugin: 'PACKER_CONFIG' not set; checking the default config file path 2020/03/28 16:20:45 packer-provisioner-windows-shell plugin: Attempting to open config file: /home/tony/.packerconfig 2020/03/28 16:20:45 packer-provisioner-windows-shell plugin: [WARN] Config file doesn't exist: /home/tony/.packerconfig 2020/03/28 16:20:45 packer-provisioner-windows-shell plugin: Setting cache directory: /home/tony/packer/packer-vsphere-iso-windows/win2016.base/packer_cache 2020/03/28 16:20:45 packer-provisioner-windows-shell plugin: args: []string{"packer-provisioner-windows-shell"} 2020/03/28 16:20:45 Received unix RPC address for /usr/local/bin/packer: addr is /tmp/packer-plugin006716628 2020/03/28 16:20:45 packer-provisioner-windows-shell plugin: Plugin address: unix /tmp/packer-plugin006716628 2020/03/28 16:20:45 packer-provisioner-windows-shell plugin: Waiting for connection... 2020/03/28 16:20:45 packer-provisioner-windows-shell plugin: Serving a plugin connection... 2020/03/28 16:20:45 ui: Debug mode enabled. Builds will not be parallelized. 2020/03/28 16:20:45 ui: vsphere-iso: output will be in this color. 2020/03/28 16:20:45 ui: 2020/03/28 16:20:45 Build debug mode: true 2020/03/28 16:20:45 Force build: false 2020/03/28 16:20:45 On error: 2020/03/28 16:20:45 Preparing build: vsphere-iso 2020/03/28 16:20:45 Debug enabled, so waiting for build to finish: vsphere-iso 2020/03/28 16:20:45 Starting build run: vsphere-iso 2020/03/28 16:20:45 Running builder: vsphere-iso 2020/03/28 16:20:45 [INFO] (telemetry) Starting builder vsphere-iso 2020/03/28 16:20:46 ui: ask: ==> vsphere-iso: Pausing after run of step 'StepConnect'. Press enter to continue. 2020/03/28 16:20:48 ui: ==> vsphere-iso: Creating VM... 2020/03/28 16:20:50 ui: ask: ==> vsphere-iso: Pausing after run of step 'StepCreateVM'. Press enter to continue. 2020/03/28 16:20:52 ui: ==> vsphere-iso: Customizing hardware... 2020/03/28 16:20:53 ui: ask: ==> vsphere-iso: Pausing after run of step 'StepConfigureHardware'. Press enter to continue. 2020/03/28 16:20:53 ui: ==> vsphere-iso: Mounting ISO images... 2020/03/28 16:20:54 packer-builder-vsphere-iso plugin: Creating CD-ROM on controller '&{{{} 200 0xc000774b00 0 } 0 []}' with iso '[RW-VA-NIM-ISO] MS/SW_DVD9_Win_Svr_STD_Core_and_DataCtr_Core_2016_64Bit_English_-3_MLF_X21-30350.ISO' 2020/03/28 16:20:54 packer-builder-vsphere-iso plugin: Creating CD-ROM on controller '&{{{} 200 0xc000861ce0 0 } 0 [3000]}' with iso '[RW-VA-NIM-ISO] VMware/windows.iso' 2020/03/28 16:20:54 ui: ask: ==> vsphere-iso: Pausing after run of step 'StepAddCDRom'. Press enter to continue. 2020/03/28 16:20:56 ui: ask: ==> vsphere-iso: Pausing after run of step 'StepConfigParams'. Press enter to continue. 2020/03/28 16:20:57 ui: ==> vsphere-iso: Creating floppy disk... 2020/03/28 16:20:57 packer-builder-vsphere-iso plugin: Floppy path: /tmp/packer690002495 2020/03/28 16:20:57 packer-builder-vsphere-iso plugin: Initializing block device backed by temporary file 2020/03/28 16:20:57 packer-builder-vsphere-iso plugin: Formatting the block device with a FAT filesystem... 2020/03/28 16:20:57 packer-builder-vsphere-iso plugin: Initializing FAT filesystem on block device 2020/03/28 16:20:57 packer-builder-vsphere-iso plugin: Reading the root directory from the filesystem 2020/03/28 16:20:57 ui:  vsphere-iso: Copying files flatly from floppy_files 2020/03/28 16:20:57 ui:  vsphere-iso: Copying file: autounattend.xml 2020/03/28 16:20:57 ui:  vsphere-iso: Copying file: ../scripts/setup.ps1 2020/03/28 16:20:57 ui:  vsphere-iso: Copying file: ../scripts/disable-network-discovery.cmd 2020/03/28 16:20:57 ui:  vsphere-iso: Copying file: ../scripts/enable-rdp.cmd 2020/03/28 16:20:57 ui:  vsphere-iso: Copying file: ../scripts/install-vm-tools.cmd 2020/03/28 16:20:57 ui:  vsphere-iso: Done copying files from floppy_files 2020/03/28 16:20:57 ui:  vsphere-iso: Collecting paths from floppy_dirs 2020/03/28 16:20:57 ui:  vsphere-iso: Resulting paths from floppy_dirs : [] 2020/03/28 16:20:57 ui:  vsphere-iso: Done copying paths from floppy_dirs 2020/03/28 16:20:57 ui: ask: ==> vsphere-iso: Pausing after run of step 'StepCreateFloppy'. Press enter to continue. 2020/03/28 16:20:58 ui: ==> vsphere-iso: Uploading created floppy image 2020/03/28 16:20:59 ui: ==> vsphere-iso: Adding generated Floppy... 2020/03/28 16:20:59 ui: ask: ==> vsphere-iso: Pausing after run of step 'StepAddFloppy'. Press enter to continue. 2020/03/28 16:21:00 ui: ask: ==> vsphere-iso: Pausing after run of step 'StepHTTPServer'. Press enter to continue. 2020/03/28 16:21:01 ui: ==> vsphere-iso: Set boot order temporary... 2020/03/28 16:21:01 ui: ==> vsphere-iso: Power on VM... 2020/03/28 16:21:02 ui: ask: ==> vsphere-iso: Pausing after run of step 'StepRun'. Press enter to continue. 2020/03/28 16:21:03 ui: ask: ==> vsphere-iso: Pausing after run of step 'StepBootCommand'. Press enter to continue. 2020/03/28 16:21:03 packer-builder-vsphere-iso plugin: [INFO] Waiting for IP, up to total timeout: 30m0s, settle timeout: 5s 2020/03/28 16:21:03 ui: ==> vsphere-iso: Waiting for IP... 2020/03/28 16:26:02 packer-builder-vsphere-iso plugin: VM IP aquired: 10.200.2.163 2020/03/28 16:26:02 packer-builder-vsphere-iso plugin: VM IP is still the same: 10.200.2.163 2020/03/28 16:26:04 packer-builder-vsphere-iso plugin: VM IP is still the same: 10.200.2.163 2020/03/28 16:26:05 packer-builder-vsphere-iso plugin: VM IP is still the same: 10.200.2.163 2020/03/28 16:26:07 packer-builder-vsphere-iso plugin: VM IP is still the same: 10.200.2.163 2020/03/28 16:26:08 packer-builder-vsphere-iso plugin: VM IP is still the same: 10.200.2.163 2020/03/28 16:26:08 packer-builder-vsphere-iso plugin: VM IP seems stable enough: 10.200.2.163 2020/03/28 16:26:08 ui: ==> vsphere-iso: IP address: 10.200.2.163 2020/03/28 16:26:08 ui: ask: ==> vsphere-iso: Pausing after run of step 'StepWaitForIp'. Press enter to continue. 2020/03/28 16:28:42 ui: ==> vsphere-iso: Using winrm communicator to connect: 10.200.2.163 2020/03/28 16:28:42 packer-builder-vsphere-iso plugin: Waiting for WinRM, up to timeout: 30m0s 2020/03/28 16:28:42 ui: ==> vsphere-iso: Waiting for WinRM to become available... 2020/03/28 16:28:42 packer-builder-vsphere-iso plugin: [INFO] Attempting WinRM connection... 2020/03/28 16:28:42 packer-builder-vsphere-iso plugin: [DEBUG] connecting to remote shell using WinRM 2020/03/28 16:29:12 packer-builder-vsphere-iso plugin: [ERROR] connection error: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:29:12 packer-builder-vsphere-iso plugin: [ERROR] WinRM connection err: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:29:17 packer-builder-vsphere-iso plugin: [INFO] Attempting WinRM connection... 2020/03/28 16:29:17 packer-builder-vsphere-iso plugin: [DEBUG] connecting to remote shell using WinRM 2020/03/28 16:29:47 packer-builder-vsphere-iso plugin: [ERROR] connection error: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:29:47 packer-builder-vsphere-iso plugin: [ERROR] WinRM connection err: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:29:52 packer-builder-vsphere-iso plugin: [INFO] Attempting WinRM connection... 2020/03/28 16:29:52 packer-builder-vsphere-iso plugin: [DEBUG] connecting to remote shell using WinRM 2020/03/28 16:30:22 packer-builder-vsphere-iso plugin: [ERROR] connection error: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:30:22 packer-builder-vsphere-iso plugin: [ERROR] WinRM connection err: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:30:27 packer-builder-vsphere-iso plugin: [INFO] Attempting WinRM connection... 2020/03/28 16:30:27 packer-builder-vsphere-iso plugin: [DEBUG] connecting to remote shell using WinRM 2020/03/28 16:30:57 packer-builder-vsphere-iso plugin: [ERROR] connection error: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:30:57 packer-builder-vsphere-iso plugin: [ERROR] WinRM connection err: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:31:02 packer-builder-vsphere-iso plugin: [INFO] Attempting WinRM connection... 2020/03/28 16:31:02 packer-builder-vsphere-iso plugin: [DEBUG] connecting to remote shell using WinRM 2020/03/28 16:31:32 packer-builder-vsphere-iso plugin: [ERROR] connection error: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:31:32 packer-builder-vsphere-iso plugin: [ERROR] WinRM connection err: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:31:37 packer-builder-vsphere-iso plugin: [INFO] Attempting WinRM connection... 2020/03/28 16:31:37 packer-builder-vsphere-iso plugin: [DEBUG] connecting to remote shell using WinRM 2020/03/28 16:32:07 packer-builder-vsphere-iso plugin: [ERROR] connection error: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:32:07 packer-builder-vsphere-iso plugin: [ERROR] WinRM connection err: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:32:12 packer-builder-vsphere-iso plugin: [INFO] Attempting WinRM connection... 2020/03/28 16:32:12 packer-builder-vsphere-iso plugin: [DEBUG] connecting to remote shell using WinRM 2020/03/28 16:32:42 packer-builder-vsphere-iso plugin: [ERROR] connection error: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:32:42 packer-builder-vsphere-iso plugin: [ERROR] WinRM connection err: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:32:47 packer-builder-vsphere-iso plugin: [INFO] Attempting WinRM connection... 2020/03/28 16:32:47 packer-builder-vsphere-iso plugin: [DEBUG] connecting to remote shell using WinRM 2020/03/28 16:33:17 packer-builder-vsphere-iso plugin: [ERROR] connection error: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:33:17 packer-builder-vsphere-iso plugin: [ERROR] WinRM connection err: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:33:22 packer-builder-vsphere-iso plugin: [INFO] Attempting WinRM connection... 2020/03/28 16:33:22 packer-builder-vsphere-iso plugin: [DEBUG] connecting to remote shell using WinRM 2020/03/28 16:33:52 packer-builder-vsphere-iso plugin: [ERROR] connection error: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:33:52 packer-builder-vsphere-iso plugin: [ERROR] WinRM connection err: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:33:57 packer-builder-vsphere-iso plugin: [INFO] Attempting WinRM connection... 2020/03/28 16:33:57 packer-builder-vsphere-iso plugin: [DEBUG] connecting to remote shell using WinRM 2020/03/28 16:34:27 packer-builder-vsphere-iso plugin: [ERROR] connection error: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:34:27 packer-builder-vsphere-iso plugin: [ERROR] WinRM connection err: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:34:32 packer-builder-vsphere-iso plugin: [INFO] Attempting WinRM connection... 2020/03/28 16:34:32 packer-builder-vsphere-iso plugin: [DEBUG] connecting to remote shell using WinRM 2020/03/28 16:34:58 ui error: Cancelling build after receiving interrupt 2020/03/28 16:34:58 packer-builder-vsphere-iso plugin: Received interrupt signal (count: 1). Ignoring. 2020/03/28 16:34:58 packer-provisioner-windows-shell plugin: Received interrupt signal (count: 1). Ignoring. 2020/03/28 16:34:58 Cancelling builder after context cancellation context canceled 2020/03/28 16:34:58 packer-builder-vsphere-iso plugin: Interrupt detected, quitting waiting for WinRM. 2020/03/28 16:34:58 ui: ask: ==> vsphere-iso: Pausing before cleanup of step 'StepWaitForIp'. Press enter to continue. 2020/03/28 16:34:59 ui: ask: ==> vsphere-iso: Pausing before cleanup of step 'StepBootCommand'. Press enter to continue. 2020/03/28 16:35:00 ui: ask: ==> vsphere-iso: Pausing before cleanup of step 'StepRun'. Press enter to continue. 2020/03/28 16:35:00 ui: ==> vsphere-iso: Clear boot order... 2020/03/28 16:35:01 ui: ==> vsphere-iso: Power off VM... 2020/03/28 16:35:01 ui: ask: ==> vsphere-iso: Pausing before cleanup of step 'StepHTTPServer'. Press enter to continue. 2020/03/28 16:35:01 ui: ask: ==> vsphere-iso: Pausing before cleanup of step 'StepAddFloppy'. Press enter to continue. 2020/03/28 16:35:01 ui: ==> vsphere-iso: Deleting Floppy image ... 2020/03/28 16:35:02 packer-builder-vsphere-iso plugin: [ERROR] connection error: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:35:02 packer-builder-vsphere-iso plugin: [ERROR] WinRM connection err: unknown error Post http://10.200.2.163:5985/wsman: dial tcp 10.200.2.163:5985: i/o timeout 2020/03/28 16:35:02 packer-builder-vsphere-iso plugin: [INFO] WinRM wait cancelled. Exiting loop. 2020/03/28 16:35:02 ui: ask: ==> vsphere-iso: Pausing before cleanup of step 'StepCreateFloppy'. Press enter to continue. 2020/03/28 16:35:02 packer-builder-vsphere-iso plugin: Deleting floppy disk: /tmp/packer690002495 2020/03/28 16:35:02 ui: ask: ==> vsphere-iso: Pausing before cleanup of step 'StepConfigParams'. Press enter to continue.