azure-arm: about to restart world
2018/04/03 12:37:07 [INFO] 0 bytes written for 'stderr'
2018/04/03 12:37:07 [INFO] RPC client: Communicator ended with: 0
2018/04/03 12:37:07 [INFO] RPC endpoint: Communicator ended with: 0
2018/04/03 12:37:07 ui: azure-arm: WARNING: The changes will take effect after you restart the computer tmppackervm.
azure-arm:
2018/04/03 12:37:07 packer-provisioner-powershell.exe: 2018/04/03 12:37:07 [INFO] 0 bytes written for 'stderr'
2018/04/03 12:37:07 packer-provisioner-powershell.exe: 2018/04/03 12:37:07 [INFO] 308 bytes written for 'stdout'
2018/04/03 12:37:07 packer-provisioner-powershell.exe: 2018/04/03 12:37:07 [INFO] RPC client: Communicator ended with: 0
2018/04/03 12:37:07 ui: azure-arm: debugg
azure-arm:
2018/04/03 12:37:07 ui: azure-arm:
2018/04/03 12:37:07 ui: azure-arm:
azure-arm:
2018/04/03 12:37:07 [INFO] (telemetry) ending powershell
2018/04/03 12:37:07 [INFO] (telemetry) Starting provisioner windows-restart
2018/04/03 12:37:07 ui: ==> azure-arm: Restarting Machine
==> azure-arm: Restarting Machine
2018/04/03 12:37:07 packer.exe: 2018/04/03 12:37:07 [INFO] starting remote command: shutdown /r /f /t 0 /c "packer restart"
2018/04/03 12:37:07 packer.exe: 2018/04/03 12:37:07 [INFO] command 'shutdown /r /f /t 0 /c "packer restart"' exited with code: 0
2018/04/03 12:37:07 packer.exe: 2018/04/03 12:37:07 [INFO] RPC endpoint: Communicator ended with: 0
==> azure-arm: Waiting for machine to restart...
2018/04/03 12:37:07 [INFO] 0 bytes written for 'stderr'
2018/04/03 12:37:07 [INFO] 0 bytes written for 'stdout'
2018/04/03 12:37:07 [INFO] RPC client: Communicator ended with: 0
2018/04/03 12:37:07 [INFO] RPC endpoint: Communicator ended with: 0
2018/04/03 12:37:07 packer.exe: 2018/04/03 12:37:07 [INFO] 0 bytes written for 'stderr'
2018/04/03 12:37:07 packer.exe: 2018/04/03 12:37:07 [INFO] 0 bytes written for 'stdout'
2018/04/03 12:37:07 packer.exe: 2018/04/03 12:37:07 [INFO] RPC client: Communicator ended with: 0
2018/04/03 12:37:07 ui: ==> azure-arm: Waiting for machine to restart...
2018/04/03 12:37:08 packer.exe: 2018/04/03 12:37:08 Check if machine is rebooting...
2018/04/03 12:37:08 [INFO] 0 bytes written for 'stderr'
2018/04/03 12:37:08 [INFO] 0 bytes written for 'stdout'
2018/04/03 12:37:08 packer.exe: 2018/04/03 12:37:08 [INFO] 0 bytes written for 'stdout'
2018/04/03 12:37:08 packer.exe: 2018/04/03 12:37:08 Waiting for machine to become available...
2018/04/03 12:37:08 packer.exe: 2018/04/03 12:37:08 Checking that communicator is connected with: 'powershell -command "& {Write-Output 'restarted.'}"'
2018/04/03 12:37:08 packer.exe: 2018/04/03 12:37:08 [INFO] 0 bytes written for 'stderr'
2018/04/03 12:37:08 packer.exe: 2018/04/03 12:37:08 Waiting for machine to reboot with timeout: 5m0s
2018/04/03 12:37:34 [INFO] 0 bytes written for 'stderr'
2018/04/03 12:37:34 [INFO] 0 bytes written for 'stdout'
2018/04/03 12:37:34 packer.exe: 2018/04/03 12:37:34 [INFO] 0 bytes written for 'stdout'
2018/04/03 12:37:34 packer.exe: 2018/04/03 12:37:34 [INFO] 0 bytes written for 'stderr'
2018/04/03 12:37:34 packer.exe: 2018/04/03 12:37:34 Communication connection err: unknown error Post https://--.--.--.--:----/wsman: dial tcp ------: connectex: 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.
2018/04/03 12:37:49 [INFO] 0 bytes written for 'stderr'
2018/04/03 12:37:49 [INFO] 0 bytes written for 'stdout'
2018/04/03 12:37:49 packer.exe: 2018/04/03 12:37:49 [INFO] 0 bytes written for 'stdout'
2018/04/03 12:37:49 packer.exe: 2018/04/03 12:37:49 [INFO] 0 bytes written for 'stderr'
2018/04/03 12:37:49 packer.exe: 2018/04/03 12:37:49 Communication connection err: http response error: 401 - invalid content type
2018/04/03 12:42:07 ui error: ==> azure-arm: Timeout waiting for machine to restart.
==> azure-arm: Timeout waiting for machine to restart.
2018/04/03 12:42:07 packer.exe: 2018/04/03 12:42:07 Communicator wait canceled, exiting loop
==> azure-arm:
2018/04/03 12:42:07 [INFO] (telemetry) ending windows-restart