Skip to content

Instantly share code, notes, and snippets.

@mbergal
Created May 29, 2019 03:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbergal/242b29c628095e36eb1b3c8a4bd0badd to your computer and use it in GitHub Desktop.
Save mbergal/242b29c628095e36eb1b3c8a4bd0badd to your computer and use it in GitHub Desktop.
INFO global: Vagrant version: 2.2.4
INFO global: Ruby version: 2.4.4
INFO global: RubyGems version: 2.6.14.1
INFO global: VAGRANT_EXECUTABLE="C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\bin\\vagrant"
INFO global: VAGRANT_EXPERIMENTAL="typed_triggers"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\\HashiCorp\\Vagrant\\embedded"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_LOG="debug"
WARN global: resolv replacement has not been enabled!
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/box/plugin.rb
INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/cap/plugin.rb
INFO manager: Registered plugin: cap command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/cloud/plugin.rb
INFO manager: Registered plugin: vagrant-cloud
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/destroy/plugin.rb
INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/global-status/plugin.rb
INFO manager: Registered plugin: global-status command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/halt/plugin.rb
INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/help/plugin.rb
INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/init/plugin.rb
INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/list-commands/plugin.rb
INFO manager: Registered plugin: list-commands command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/login/plugin.rb
INFO manager: Registered plugin: vagrant-login
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/package/plugin.rb
INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/plugin/plugin.rb
INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/port/plugin.rb
INFO manager: Registered plugin: port command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/powershell/plugin.rb
INFO manager: Registered plugin: powershell command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/provider/plugin.rb
INFO manager: Registered plugin: provider command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/provision/plugin.rb
INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/push/plugin.rb
INFO manager: Registered plugin: push command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/rdp/plugin.rb
INFO manager: Registered plugin: rdp command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/reload/plugin.rb
INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/resume/plugin.rb
INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/snapshot/plugin.rb
INFO manager: Registered plugin: snapshot command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/ssh/plugin.rb
INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/ssh_config/plugin.rb
INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/status/plugin.rb
INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/suspend/plugin.rb
INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/up/plugin.rb
INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/upload/plugin.rb
INFO manager: Registered plugin: upload command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/validate/plugin.rb
INFO manager: Registered plugin: validate command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/version/plugin.rb
INFO manager: Registered plugin: version command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/winrm/plugin.rb
INFO manager: Registered plugin: winrm command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/commands/winrm_config/plugin.rb
INFO manager: Registered plugin: winrm-config command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/communicators/ssh/plugin.rb
INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/communicators/winrm/plugin.rb
INFO manager: Registered plugin: winrm communicator
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/communicators/winssh/plugin.rb
INFO manager: Registered plugin: windows ssh communicator
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/alt/plugin.rb
INFO manager: Registered plugin: ALT Platform guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/amazon/plugin.rb
INFO manager: Registered plugin: Amazon Linux guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/arch/plugin.rb
INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/atomic/plugin.rb
INFO manager: Registered plugin: Atomic Host guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/bsd/plugin.rb
INFO manager: Registered plugin: BSD-based guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/coreos/plugin.rb
INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/darwin/plugin.rb
INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/debian/plugin.rb
INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/dragonflybsd/plugin.rb
INFO manager: Registered plugin: DragonFly BSD guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/elementary/plugin.rb
INFO manager: Registered plugin: Elementary guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/esxi/plugin.rb
INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/fedora/plugin.rb
INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/freebsd/plugin.rb
INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/funtoo/plugin.rb
INFO manager: Registered plugin: Funtoo guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/gentoo/plugin.rb
INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/haiku/plugin.rb
INFO manager: Registered plugin: Haiku guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/kali/plugin.rb
INFO manager: Registered plugin: Kali guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/linux/plugin.rb
INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/mint/plugin.rb
INFO manager: Registered plugin: Mint guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/netbsd/plugin.rb
INFO manager: Registered plugin: NetBSD guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/nixos/plugin.rb
INFO manager: Registered plugin: NixOS guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/omnios/plugin.rb
INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/openbsd/plugin.rb
INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/photon/plugin.rb
INFO manager: Registered plugin: VMware Photon guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/pld/plugin.rb
INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/redhat/plugin.rb
INFO manager: Registered plugin: Red Hat Enterprise Linux guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/slackware/plugin.rb
INFO manager: Registered plugin: Slackware guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/smartos/plugin.rb
INFO manager: Registered plugin: SmartOS guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/solaris/plugin.rb
INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/solaris11/plugin.rb
INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/suse/plugin.rb
INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/tinycore/plugin.rb
INFO manager: Registered plugin: TinyCore Linux guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/trisquel/plugin.rb
INFO manager: Registered plugin: Trisquel guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/ubuntu/plugin.rb
INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/windows/plugin.rb
INFO manager: Registered plugin: Windows guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/alt/plugin.rb
INFO manager: Registered plugin: ALT Platform host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/arch/plugin.rb
INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/bsd/plugin.rb
INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/darwin/plugin.rb
INFO manager: Registered plugin: Mac OS X host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/freebsd/plugin.rb
INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/gentoo/plugin.rb
INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/linux/plugin.rb
INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/null/plugin.rb
INFO manager: Registered plugin: null host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/redhat/plugin.rb
INFO manager: Registered plugin: Red Hat Enterprise Linux host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/slackware/plugin.rb
INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/suse/plugin.rb
INFO manager: Registered plugin: SUSE host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/void/plugin.rb
INFO manager: Registered plugin: Void host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/windows/plugin.rb
INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/kernel_v1/plugin.rb
INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/kernel_v2/plugin.rb
INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/docker/plugin.rb
INFO manager: Registered plugin: docker-provider
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/hyperv/plugin.rb
INFO manager: Registered plugin: Hyper-V provider
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/virtualbox/plugin.rb
INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/provisioners/ansible/plugin.rb
INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/provisioners/cfengine/plugin.rb
INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/provisioners/chef/plugin.rb
INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/provisioners/docker/plugin.rb
INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/provisioners/file/plugin.rb
INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/provisioners/puppet/plugin.rb
INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/provisioners/salt/plugin.rb
INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/provisioners/shell/plugin.rb
INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/pushes/atlas/plugin.rb
INFO manager: Registered plugin: atlas
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/pushes/ftp/plugin.rb
INFO manager: Registered plugin: ftp
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/pushes/heroku/plugin.rb
INFO manager: Registered plugin: heroku
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/pushes/local-exec/plugin.rb
INFO manager: Registered plugin: local-exec
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/pushes/noop/plugin.rb
INFO manager: Registered plugin: noop
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/synced_folders/nfs/plugin.rb
INFO manager: Registered plugin: NFS synced folders
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/synced_folders/rsync/plugin.rb
INFO manager: Registered plugin: RSync synced folders
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/synced_folders/smb/plugin.rb
INFO manager: Registered plugin: SMB synced folders
INFO vagrant: `vagrant` invoked: ["up", "--debug"]
DEBUG vagrant: Creating Vagrant environment
INFO environment: Environment initialized (#<Vagrant::Environment:0x0000000004235e70>)
INFO environment: - cwd: E:/Users/mbergal/Projects/VagrantBug
INFO environment: Home path: C:/Users/mbergal/.vagrant.d
DEBUG environment: Effective local data path: E:/Users/mbergal/Projects/VagrantBug/.vagrant
INFO environment: Local data path: E:/Users/mbergal/Projects/VagrantBug/.vagrant
DEBUG environment: Creating: E:/Users/mbergal/Projects/VagrantBug/.vagrant
DEBUG manager: Enabling localized plugins
INFO manager: Plugins:
DEBUG bundler: Current generated plugin dependency list: []
DEBUG bundler: Generating new builtin set instance.
DEBUG bundler: Generating new plugin set instance. Skip gems - []
DEBUG bundler: Activating solution set: []
INFO manager: Loading plugins...
DEBUG manager: Enabling globalized plugins
INFO manager: Plugins:
INFO manager: - vagrant-reload = [installed: 0.0.1 constraint: > 0]
DEBUG bundler: Current generated plugin dependency list: [<Gem::Dependency type=:runtime name="vagrant-reload" requirements="= 0.0.1">]
DEBUG bundler: Generating new builtin set instance.
DEBUG bundler: Generating new plugin set instance. Skip gems - []
DEBUG bundler: Activating solution set: ["vagrant-reload-0.0.1"]
DEBUG bundler: Activating gem vagrant-reload-0.0.1
INFO manager: Loading plugins...
INFO manager: Loading plugin `vagrant-reload` with default require: `vagrant-reload`
INFO manager: Registered plugin: Reload
DEBUG manager: Successfully loaded plugin `vagrant-reload`.
INFO loader: Set :root = ["#<Pathname:E:/Users/mbergal/Projects/VagrantBug/Vagrantfile>"]
DEBUG loader: Populating proc cache for #<Pathname:E:/Users/mbergal/Projects/VagrantBug/Vagrantfile>
DEBUG loader: Load procs for pathname: E:/Users/mbergal/Projects/VagrantBug/Vagrantfile
INFO loader: Loading configuration in order: [:home, :root]
DEBUG loader: Loading from: root (evaluating)
EYEDIAGNOSIS\mbergal
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
INFO environment: Running hook: environment_plugins_loaded
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: environment_plugins_loaded #<Vagrant::Action::Builder:0x00000000051fee38>
INFO environment: Running hook: environment_load
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: environment_load #<Vagrant::Action::Builder:0x0000000004f7eeb0>
DEBUG vagrant: Experimental flag is enabled
INFO interface: warn: You have requested to enabled the experimental flag with the following features:
Features: typed_triggers
Please use with caution, as some of the features may not be fully
functional yet.
INFO interface: warn: ==> vagrant: You have requested to enabled the experimental flag with the following features:
==> vagrant:
==> vagrant: Features: typed_triggers
==> vagrant:
==> vagrant: Please use with caution, as some of the features may not be fully
==> vagrant: functional yet.
==> vagrant: You have requested to enabled the experimental flag with the following features:
==> vagrant:
==> vagrant: Features: typed_triggers
==> vagrant:
==> vagrant: Please use with caution, as some of the features may not be fully
==> vagrant: functional yet.
DEBUG checkpoint_client: starting plugin check
INFO cli: CLI: [] "up" []
DEBUG checkpoint_client: plugin check complete
DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command []
DEBUG checkpoint_client: no information received from checkpoint
DEBUG command: 'Up' each target VM...
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command: -- names: ["win-worker"]
DEBUG command: -- options: {:provider=>nil}
DEBUG command: Finding machine that match name: win-worker
INFO loader: Set "43197000_machine_win-worker" = ["[\"2\", #<Proc:0x00000000054246e0@E:/Users/mbergal/Projects/VagrantBug/Vagrantfile:22>]"]
DEBUG loader: Populating proc cache for ["2", #<Proc:0x00000000054246e0@E:/Users/mbergal/Projects/VagrantBug/Vagrantfile:22>]
INFO loader: Loading configuration in order: [:home, :root, "43197000_machine_win-worker"]
DEBUG loader: Loading from: root (cache)
DEBUG loader: Loading from: 43197000_machine_win-worker (evaluating)
DEBUG provisioner: Provisioner defined:
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
WARN vagrantfile: Failed to locate StefanScherer/windows_2019 with version
WARN vagrantfile: Performing lookup with inital values StefanScherer/windows_2019 with version
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "-Command", "Write-Output $PSVersionTable.PSVersion.Major"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: 5
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 29
DEBUG subprocess: Exit status: 0
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "-Command", "(new-object System.Security.Principal.WindowsPrincipal([System.Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole([System.Security.Principal.WindowsBuiltInRole]::Administrator)"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: True
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
DEBUG base: Windows, checking for VBoxManage on PATH first
INFO base: VBoxManage path: VBoxManage
DEBUG environment: Initial usable provider list: [[4, :hyperv]]
DEBUG environment: Priority sorted usable provider list: [:hyperv]
DEBUG environment: Preferred provider list: []
DEBUG environment: Using provider `hyperv` detected in configuration and usable.
INFO environment: Getting machine: win-worker (hyperv)
INFO environment: Uncached load of machine.
INFO loader: Set "43197000_machine_win-worker" = ["[\"2\", #<Proc:0x00000000054246e0@E:/Users/mbergal/Projects/VagrantBug/Vagrantfile:22>]"]
INFO loader: Loading configuration in order: [:home, :root, "43197000_machine_win-worker"]
DEBUG loader: Loading from: root (cache)
DEBUG loader: Loading from: 43197000_machine_win-worker (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
INFO box_collection: Box found: StefanScherer/windows_2019 (hyperv)
INFO environment: Running hook: authenticate_box_url
INFO host: Autodetecting host type for [#<Vagrant::Environment: E:/Users/mbergal/Projects/VagrantBug>]
DEBUG host: Trying: alt
DEBUG host: Trying: arch
DEBUG host: Trying: darwin
DEBUG host: Trying: freebsd
DEBUG host: Trying: gentoo
DEBUG host: Trying: redhat
DEBUG host: Trying: slackware
DEBUG host: Trying: suse
DEBUG host: Trying: void
DEBUG host: Trying: bsd
DEBUG host: Trying: linux
DEBUG host: Trying: null
DEBUG host: Trying: windows
INFO host: Detected: windows!
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: authenticate_box_url #<Vagrant::Action::Builder:0x00000000053d0d60>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000050b85b0>
INFO warden: Calling IN action: #<VagrantPlugins::CloudCommand::AddAuthentication:0x00000000050b8588>
DEBUG client: No authentication token in environment or C:/Users/mbergal/.vagrant.d/data/vagrant_login_token
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000050b8498>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000050b8498>
INFO warden: Calling OUT action: #<VagrantPlugins::CloudCommand::AddAuthentication:0x00000000050b8588>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000050b85b0>
INFO loader: Set :"41626220_StefanScherer/windows_2019_hyperv" = ["#<Pathname:C:/Users/mbergal/.vagrant.d/boxes/StefanScherer-VAGRANTSLASH-windows_2019/2019.04.11/hyperv/Vagrantfile>"]
DEBUG loader: Populating proc cache for #<Pathname:C:/Users/mbergal/.vagrant.d/boxes/StefanScherer-VAGRANTSLASH-windows_2019/2019.04.11/hyperv/Vagrantfile>
DEBUG loader: Load procs for pathname: C:/Users/mbergal/.vagrant.d/boxes/StefanScherer-VAGRANTSLASH-windows_2019/2019.04.11/hyperv/Vagrantfile
INFO root: Version requirements from Vagrantfile: [">= 1.6.2"]
INFO root: - Version requirements satisfied!
INFO loader: Loading configuration in order: [:"41626220_StefanScherer/windows_2019_hyperv", :home, :root, "43197000_machine_win-worker"]
DEBUG loader: Loading from: 41626220_StefanScherer/windows_2019_hyperv (evaluating)
DEBUG loader: Loading from: root (cache)
DEBUG loader: Loading from: 43197000_machine_win-worker (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
INFO machine: Initializing machine: win-worker
INFO machine: - Provider: VagrantPlugins::HyperV::Provider
INFO machine: - Box: #<Vagrant::Box:0x0000000004fe1448>
INFO machine: - Data dir: E:/Users/mbergal/Projects/VagrantBug/.vagrant/machines/win-worker/hyperv
DEBUG machine: Eager loading WinRM communicator to avoid GH-3390
INFO winrm: Initializing WinRMCommunicator
INFO machine: New machine ID: nil
INFO interface: Machine: metadata ["provider", :hyperv, {:target=>:"win-worker"}]
INFO command: With machine: win-worker (#<VagrantPlugins::HyperV::Provider:0x000000000477e878 @machine=#<Vagrant::Machine: win-worker (VagrantPlugins::HyperV::Provider)>, @driver=#<VagrantPlugins::HyperV::Driver:0x0000000003c42338 @vm_id=nil>, @logger=#<Log4r::Logger:0x000000000477e738 @fullname="vagrant::hyperv::provider", @outputters=[], @additive=true, @name="provider", @path="vagrant::hyperv", @parent=#<VagrantLogger:0x0000000003e05288 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x0000000003d8f920 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0000000003d8f8a8>, @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x00000000046ca788 @formatter=#<Log4r::BasicFormatter:0x0000000003d65918 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x0000000003e05148 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @cap_logger=#<Log4r::Logger:0x00000000046dc758 @fullname="vagrant::capability_host::vagrantplugins::hyperv::provider", @outputters=[], @additive=true, @name="provider", @path="vagrant::capability_host::vagrantplugins::hyperv", @parent=#<VagrantLogger:0x0000000003e05288 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x0000000003d8f920 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0000000003d8f8a8>, @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x00000000046ca788 @formatter=#<Log4r::BasicFormatter:0x0000000003d65918 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x0000000003e05148 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @cap_host_chain=[[:hyperv, #<#<Class:0x00000000046dd1f8>:0x000000000461da60>]], @cap_args=[#<Vagrant::Machine: win-worker (VagrantPlugins::HyperV::Provider)>], @cap_caps={:docker=>#<Vagrant::Registry:0x00000000046dcf50 @items={:public_address=>#<Proc:0x00000000047fd998@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/docker/plugin.rb:60>, :proxy_machine=>#<Proc:0x00000000047fd808@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/docker/plugin.rb:65>}, @results_cache={}>, :hyperv=>#<Vagrant::Registry:0x00000000046dcdc0 @items={:public_address=>#<Proc:0x0000000003785e58@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/hyperv/plugin.rb:25>, :snapshot_list=>#<Proc:0x0000000003785b60@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/hyperv/plugin.rb:30>}, @results_cache={}>, :virtualbox=>#<Vagrant::Registry:0x00000000046dcbb8 @items={:forwarded_ports=>#<Proc:0x00000000047cd888@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/virtualbox/plugin.rb:27>, :nic_mac_addresses=>#<Proc:0x00000000047cd6f8@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/virtualbox/plugin.rb:32>, :public_address=>#<Proc:0x00000000047cd6d0@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/virtualbox/plugin.rb:37>, :snapshot_list=>#<Proc:0x00000000047cd658@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/virtualbox/plugin.rb:42>}, @results_cache={}>}>)
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command: -- names: ["win-worker"]
DEBUG command: -- options: {:provider=>nil}
DEBUG command: Finding machine that match name: win-worker
INFO loader: Set "43197000_machine_win-worker" = ["[\"2\", #<Proc:0x00000000054246e0@E:/Users/mbergal/Projects/VagrantBug/Vagrantfile:22>]"]
INFO loader: Loading configuration in order: [:home, :root, "43197000_machine_win-worker"]
ERROR loader: Unknown config sources: [:"41626220_StefanScherer/windows_2019_hyperv"]
DEBUG loader: Loading from: root (cache)
DEBUG loader: Loading from: 43197000_machine_win-worker (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
WARN vagrantfile: Failed to locate StefanScherer/windows_2019 with version
WARN vagrantfile: Performing lookup with inital values StefanScherer/windows_2019 with version
DEBUG base: Windows, checking for VBoxManage on PATH first
INFO base: VBoxManage path: VBoxManage
DEBUG environment: Initial usable provider list: [[4, :hyperv]]
DEBUG environment: Priority sorted usable provider list: [:hyperv]
DEBUG environment: Preferred provider list: []
DEBUG environment: Using provider `hyperv` detected in configuration and usable.
INFO environment: Getting machine: win-worker (hyperv)
INFO environment: Returning cached machine: win-worker (hyperv)
INFO command: With machine: win-worker (#<VagrantPlugins::HyperV::Provider:0x000000000477e878 @machine=#<Vagrant::Machine: win-worker (VagrantPlugins::HyperV::Provider)>, @driver=#<VagrantPlugins::HyperV::Driver:0x0000000003c42338 @vm_id=nil>, @logger=#<Log4r::Logger:0x000000000477e738 @fullname="vagrant::hyperv::provider", @outputters=[], @additive=true, @name="provider", @path="vagrant::hyperv", @parent=#<VagrantLogger:0x0000000003e05288 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x0000000003d8f920 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0000000003d8f8a8>, @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x00000000046ca788 @formatter=#<Log4r::BasicFormatter:0x0000000003d65918 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x0000000003e05148 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @cap_logger=#<Log4r::Logger:0x00000000046dc758 @fullname="vagrant::capability_host::vagrantplugins::hyperv::provider", @outputters=[], @additive=true, @name="provider", @path="vagrant::capability_host::vagrantplugins::hyperv", @parent=#<VagrantLogger:0x0000000003e05288 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x0000000003d8f920 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0000000003d8f8a8>, @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x00000000046ca788 @formatter=#<Log4r::BasicFormatter:0x0000000003d65918 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x0000000003e05148 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @cap_host_chain=[[:hyperv, #<#<Class:0x00000000046dd1f8>:0x000000000461da60>]], @cap_args=[#<Vagrant::Machine: win-worker (VagrantPlugins::HyperV::Provider)>], @cap_caps={:docker=>#<Vagrant::Registry:0x00000000046dcf50 @items={:public_address=>#<Proc:0x00000000047fd998@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/docker/plugin.rb:60>, :proxy_machine=>#<Proc:0x00000000047fd808@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/docker/plugin.rb:65>}, @results_cache={}>, :hyperv=>#<Vagrant::Registry:0x00000000046dcdc0 @items={:public_address=>#<Proc:0x0000000003785e58@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/hyperv/plugin.rb:25>, :snapshot_list=>#<Proc:0x0000000003785b60@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/hyperv/plugin.rb:30>}, @results_cache={}>, :virtualbox=>#<Vagrant::Registry:0x00000000046dcbb8 @items={:forwarded_ports=>#<Proc:0x00000000047cd888@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/virtualbox/plugin.rb:27>, :nic_mac_addresses=>#<Proc:0x00000000047cd6f8@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/virtualbox/plugin.rb:32>, :public_address=>#<Proc:0x00000000047cd6d0@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/virtualbox/plugin.rb:37>, :snapshot_list=>#<Proc:0x00000000047cd658@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/virtualbox/plugin.rb:42>}, @results_cache={}>}>)
INFO interface: info: Bringing machine 'win-worker' up with 'hyperv' provider...
Bringing machine 'win-worker' up with 'hyperv' provider...
INFO batch_action: Enabling parallelization by default.
INFO batch_action: Disabling parallelization because provider doesn't support it: hyperv
INFO batch_action: Batch action will parallelize: false
INFO batch_action: Starting action: #<Vagrant::Machine:0x0000000004f15e60> up {:destroy_on_error=>true, :install_provider=>false, :parallel=>true, :provision_ignore_sentinel=>false, :provision_types=>nil}
INFO machine: Calling action: up on provider Hyper-V (new)
DEBUG environment: Attempting to acquire process-lock: machine-action-2410e06a92197ada6d927ed8acab81f3
DEBUG environment: Attempting to acquire process-lock: dotlock
INFO environment: Acquired process lock: dotlock
INFO environment: Released process lock: dotlock
INFO environment: Acquired process lock: machine-action-2410e06a92197ada6d927ed8acab81f3
INFO interface: Machine: action ["up", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x00000000050f55f0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000042e7530>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::CheckEnabled:0x00000000042e7508>
INFO interface: output: Verifying Hyper-V is enabled...
INFO interface: output: ==> win-worker: Verifying Hyper-V is enabled...
==> win-worker: Verifying Hyper-V is enabled...
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\check_hyperv.ps1')", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"result": true
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000042e74b8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000042e7418>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::CheckAccess:0x00000000042e73c8>
INFO interface: output: Verifying Hyper-V is accessible...
INFO interface: output: ==> win-worker: Verifying Hyper-V is accessible...
==> win-worker: Verifying Hyper-V is accessible...
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\check_hyperv_access.ps1')", "-Path", "'E:\\Users\\mbergal\\Projects\\VagrantBug\\.vagrant\\machines\\win-worker\\hyperv'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: WARNING: The names of some imported commands from the module 'VagrantVM' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module
command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
===Begin-Output===
{
"root_dir": "E:\\Users",
"result": true
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000042e7378>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000042e7300>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::HandleBox:0x00000000042e72b0>
INFO handle_box: Machine already has box. HandleBox will not run.
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004776ee8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004776b50>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000004776b28>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004776b00>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004776a10>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x00000000047769e8>
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x000000000471cee8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000541cdf0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::IsState:0x000000000541cdc8>
DEBUG is_state: Checking if machine state is 'not_created'
DEBUG is_state: -- Machine state: not_created
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005332b60>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005332b60>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::IsState:0x000000000541cdc8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000541cdf0>
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: machine_action_up #<Vagrant::Action::Warden:0x0000000005264f80>
INFO warden: Calling IN action: #<Proc:0x0000000004507590@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:120 (lambda)>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000050adfc0>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::Import:0x00000000050adf98>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\has_vmcx_support.ps1')", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"result": true
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO import: Found box configuration path: C:/Users/mbergal/.vagrant.d/boxes/StefanScherer-VAGRANTSLASH-windows_2019/2019.04.11/hyperv/Virtual Machines/box.xml
INFO import: Found box image path: C:/Users/mbergal/.vagrant.d/boxes/StefanScherer-VAGRANTSLASH-windows_2019/2019.04.11/hyperv/Virtual Hard Disks/WindowsServer2019.vhdx
INFO interface: output: Importing a Hyper-V instance
INFO interface: output: ==> win-worker: Importing a Hyper-V instance
==> win-worker: Importing a Hyper-V instance
INFO interface: detail: Creating and registering the VM...
INFO interface: detail: win-worker: Creating and registering the VM...
win-worker: Creating and registering the VM...
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\import_vm.ps1')", "-VMConfigFile", "'C:\\Users\\mbergal\\.vagrant.d\\boxes\\StefanScherer-VAGRANTSLASH-windows_2019\\2019.04.11\\hyperv\\Virtual Machines\\box.xml'", "-DestinationPath", "'E:\\Users\\mbergal\\Projects\\VagrantBug\\.vagrant\\machines\\win-worker\\hyperv\\Virtual Hard Disks\\WindowsServer2019.vhdx'", "-DataPath", "'E:\\Users\\mbergal\\Projects\\VagrantBug\\.vagrant\\machines\\win-worker\\hyperv'", "-LinkedClone", "-SourcePath", "'C:\\Users\\mbergal\\.vagrant.d\\boxes\\StefanScherer-VAGRANTSLASH-windows_2019\\2019.04.11\\hyperv\\Virtual Hard Disks\\WindowsServer2019.vhdx'", "-VMName", "'win-worker'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: WARNING: The names of some imported commands from the module 'VagrantVM' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module
command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
DEBUG subprocess: stdout: ===Begin-Output===
{
"id": "52f49ea6-ba54-4a96-b55b-d4db826c5dd5"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31997
DEBUG subprocess: Exit status: 0
INFO interface: detail: Successfully imported VM
INFO interface: detail: win-worker: Successfully imported VM
win-worker: Successfully imported VM
INFO machine: New machine ID: "52f49ea6-ba54-4a96-b55b-d4db826c5dd5"
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005024ce8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005024c70>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x0000000005024c48>
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x0000000004f24208>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004326230>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::IsState:0x0000000004325ee8>
DEBUG is_state: Checking if machine state is 'running'
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00000000054de2c0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000518a448>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x000000000518a420>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000518a3d0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000518a2b8>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x000000000518a290>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Off",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000050c0710>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000050c0710>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x000000000518a290>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000518a2b8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000518a3d0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x000000000518a420>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000518a448>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
DEBUG is_state: -- Machine state: off
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000003cb77a0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000003cb77a0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::IsState:0x0000000004325ee8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004326230>
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: machine_action_up #<Vagrant::Action::Warden:0x00000000050e36c0>
INFO warden: Calling IN action: #<Proc:0x00000000043456d0@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:120 (lambda)>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004fe8518>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x0000000004fe84f0>
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x00000000054e4828>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005192418>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::IsState:0x00000000051923f0>
DEBUG is_state: Checking if machine state is 'paused'
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x000000000504bb40>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000477c820>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x000000000477d090>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000477d658>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000477e2b0>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x000000000477e4b8>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Off",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004689620>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004689620>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x000000000477e4b8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000477e2b0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000477d658>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x000000000477d090>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000477c820>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
DEBUG is_state: -- Machine state: off
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000050c1390>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000050c1390>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::IsState:0x00000000051923f0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005192418>
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: machine_action_up #<Vagrant::Action::Warden:0x0000000005452c70>
INFO warden: Calling IN action: #<Proc:0x0000000004f26198@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:120 (lambda)>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000052cb8e8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x00000000052cbde8>
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x000000000472eff8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000053ba0d8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::IsState:0x00000000053ba038>
DEBUG is_state: Checking if machine state is 'saved'
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x000000000509bca8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000002ffba98>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000002ffb840>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000002ffac10>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000002ffa9e0>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000002ffa990>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Off",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000424ef38>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000424ef38>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000002ffa990>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000002ffa9e0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000002ffac10>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000002ffb840>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000002ffba98>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
DEBUG is_state: -- Machine state: off
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005264440>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005264440>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::IsState:0x00000000053ba038>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000053ba0d8>
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: machine_action_up #<Vagrant::Action::Warden:0x0000000004f90598>
INFO warden: Calling IN action: #<Proc:0x0000000004f5ff88@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:120 (lambda)>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000047de430>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Provision:0x00000000047de5c0>
INFO provision: Checking provisioner sentinel file...
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000046c8c08>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000046c8960>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::Configure:0x00000000046c8898>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_switches.ps1')", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
[
{
"Name": "Default Switch",
"SwitchType": 1,
"NetAdapterInterfaceDescription": null,
"Id": "c08cb7b8-9b3c-408e-8e30-5e16a3aeb444"
},
{
"Name": "nat",
"SwitchType": 1,
"NetAdapterInterfaceDescription": null,
"Id": "32ace79f-3f25-49da-9481-54b9383105ad"
}
]
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
DEBUG configure: Looking for switch with name or ID: Default Switch
DEBUG configure: Found switch - Name: Default Switch ID: c08cb7b8-9b3c-408e-8e30-5e16a3aeb444
INFO interface: detail: Configuring the VM...
INFO interface: detail: win-worker: Configuring the VM...
win-worker: Configuring the VM...
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\configure_vm.ps1')", "-VMID", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-SwitchID", "'c08cb7b8-9b3c-408e-8e30-5e16a3aeb444'", "-Memory", "'4096'", "-Processors", "'2'", "-AutoStartAction", "'Nothing'", "-AutoStopAction", "'ShutDown'", "-EnableCheckpoints", "-VirtualizationExtensions", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: WARNING: The names of some imported commands from the module 'VagrantVM' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module
command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
Name State CPUUsage(%) MemoryAssigned(M) Uptime Status Version
---- ----- ----------- ----------------- ------ ------ -------
win-worker Off 0 0 00:00:00 Operating normally 9.0
win-worker Off 0 0 00:00:00 Operating normally 9.0
win-worker Off 0 0 00:00:00 Operating normally 9.0
win-worker Off 0 0 00:00:00 Operating normally 9.0
win-worker Off 0 0 00:00:00 Operating normally 9.0
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000448e5c8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000448e000>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::SetName:0x000000000448dbc8>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\set_name.ps1')", "-VMID", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-VMName", "'win-worker'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000416aea0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000416acc0>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::NetSetVLan:0x000000000416ac98>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000416abf8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000416a978>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::NetSetMac:0x000000000416a720>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000416a6d0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000416a540>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::StartInstance:0x000000000416a3b0>
INFO interface: output: Starting the machine...
INFO interface: output: ==> win-worker: Starting the machine...
==> win-worker: Starting the machine...
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\start_vm.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"status": "Operating normally",
"name": "win-worker",
"state": "Running"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000416a338>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000416a0b8>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::WaitForIPAddress:0x000000000416a018>
INFO interface: output: Waiting for the machine to report its IP address...
INFO interface: output: ==> win-worker: Waiting for the machine to report its IP address...
==> win-worker: Waiting for the machine to report its IP address...
INFO interface: detail: Timeout: 120 seconds
INFO interface: detail: win-worker: Timeout: 120 seconds
win-worker: Timeout: 120 seconds
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Error===
{
"error": "Failed to determine IP address"
}
===End-Error===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 1
WARN wait_for_ip_addr: Failed to read guest IP.
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Error===
{
"error": "Failed to determine IP address"
}
===End-Error===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 1
WARN wait_for_ip_addr: Failed to read guest IP.
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Error===
{
"error": "Failed to determine IP address"
}
===End-Error===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 1
WARN wait_for_ip_addr: Failed to read guest IP.
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Error===
{
"error": "Failed to determine IP address"
}
===End-Error===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 1
WARN wait_for_ip_addr: Failed to read guest IP.
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Error===
{
"error": "Failed to determine IP address"
}
===End-Error===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 1
WARN wait_for_ip_addr: Failed to read guest IP.
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Error===
{
"error": "Failed to determine IP address"
}
===End-Error===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 1
WARN wait_for_ip_addr: Failed to read guest IP.
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Error===
{
"error": "Failed to determine IP address"
}
===End-Error===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 1
WARN wait_for_ip_addr: Failed to read guest IP.
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Error===
{
"error": "Failed to determine IP address"
}
===End-Error===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 1
WARN wait_for_ip_addr: Failed to read guest IP.
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Error===
{
"error": "Failed to determine IP address"
}
===End-Error===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 1
WARN wait_for_ip_addr: Failed to read guest IP.
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Error===
{
"error": "Failed to determine IP address"
}
===End-Error===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 1
WARN wait_for_ip_addr: Failed to read guest IP.
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Error===
{
"error": "Failed to determine IP address"
}
===End-Error===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 1
WARN wait_for_ip_addr: Failed to read guest IP.
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Error===
{
"error": "Failed to determine IP address"
}
===End-Error===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 1
WARN wait_for_ip_addr: Failed to read guest IP.
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"ip": "172.17.151.36"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO interface: detail: IP: 172.17.151.36
INFO interface: detail: win-worker: IP: 172.17.151.36
win-worker: IP: 172.17.151.36
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000002570dd0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000002570c68>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::WaitForCommunicator:0x0000000002570c40>
INFO interface: output: Waiting for machine to boot. This may take a few minutes...
DEBUG provider: Searching for cap: winrm_info
INFO interface: output: ==> win-worker: Waiting for machine to boot. This may take a few minutes...
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
DEBUG provider: Checking in: hyperv
==> win-worker: Waiting for machine to boot. This may take a few minutes... INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00000000047de048>
INFO runner: Preparing hooks for middleware sequence...
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000531a060>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x000000000531a038>
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x0000000004385d70>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000531a010>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005319f98>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004ff0ad8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000004ff12a8>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000005319f70>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004ff12d0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004ff1c58>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000004ff2018>
INFO subprocess: Command not in installer, restoring original environment...
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000526fb38>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000526fb38>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000005319f70>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005319f98>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000531a010>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x000000000531a038>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000531a060>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004f6ec90>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004f6ec90>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000004ff2018>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004ff1c58>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004ff12d0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000004ff12a8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004ff0ad8>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00000000050fdbd8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000047d6cd0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000047d71d0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000047cf7c8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000047ce9b8>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000047ce850>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"ip": "172.17.151.36"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
DEBUG provider: IP: 172.17.151.36
DEBUG provider: Searching for cap: winrm_info
DEBUG provider: Checking in: hyperv
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x0000000005313b98>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000046491b0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000004649020>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004648fd0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004648c88>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000004648af8>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000469ad80>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000469ad80>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000047ce850>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000047ce9b8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000047cf7c8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000047d71d0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000047d6cd0>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000003dcb240>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000003dcb240>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000004648af8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004648c88>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004648fd0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000004649020>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000046491b0>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00000000054a0a10>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000050fc3a0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000050fc328>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000050fc2d8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000050fc238>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000050fc210>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: stdout: ===Begin-Output===
{
"ip": "172.17.151.36"
}
===End-Output===
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
DEBUG provider: IP: 172.17.151.36
DEBUG winrmshell: initializing WinRMShell
INFO interface: detail: WinRM address: 172.17.151.36:5985
INFO interface: detail: win-worker: WinRM address: 172.17.151.36:5985
win-worker: WinRM address: 172.17.151.36:5985
INFO interface: detail: WinRM username: vagrant
INFO interface: detail: win-worker: WinRM username: vagrant
win-worker: WinRM username: vagrant
INFO interface: detail: WinRM execution_time_limit: PT2H
INFO interface: detail: win-worker: WinRM execution_time_limit: PT2H
win-worker: WinRM execution_time_limit: PT2H
INFO interface: detail: WinRM transport: negotiate
INFO interface: detail: win-worker: WinRM transport: negotiate
win-worker: WinRM transport: negotiate
INFO winrm: Checking whether WinRM is ready...
DEBUG provider: Searching for cap: winrm_info
DEBUG provider: Checking in: hyperv
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x000000000445fc78>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005341ed0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000005341e08>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005341d40>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005341c78>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000005341c28>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005079c98>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005079c98>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000050fc210>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000050fc238>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000050fc2d8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000050fc328>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000050fc3a0>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000052bbc40>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000052bbc40>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000005341c28>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005341c78>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005341d40>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000005341e08>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005341ed0>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x0000000005109f28>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000038e2698>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000038e21c0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000038e1ba8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000038e18d8>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000038e1810>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"ip": "172.17.151.36"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
DEBUG provider: IP: 172.17.151.36
DEBUG winrmshell: initializing WinRMShell
INFO winrmshell: Attempting to connect to WinRM...
INFO winrmshell: - Host: 172.17.151.36
INFO winrmshell: - Port: 5985
INFO winrmshell: - Username: vagrant
INFO winrmshell: - Transport: negotiate
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000046ff000>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000046ff000>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000038e1810>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000038e18d8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000038e1ba8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000038e21c0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000038e2698>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x0000000005332b60>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000045f6190>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000045f6118>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000045f60f0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000045f5f38>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000045f5f10>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000003c07af8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000003c07af8>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000045f5f10>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000045f5f38>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000045f60f0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000045f6118>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000045f6190>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x0000000004e28cf0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000527ca40>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x000000000527cf18>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000527d5d0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000527dfd0>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x000000000527e200>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000051815a0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000051815a0>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x000000000527e200>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000527dfd0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000527d5d0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x000000000527cf18>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000527ca40>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x0000000005220178>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004ea7348>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000004ea72f8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004ea72d0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004ea6f38>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000004ea6ec0>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000476e310>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000476e310>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000004ea6ec0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004ea6f38>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004ea72d0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000004ea72f8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004ea7348>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00000000052b98f0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004f25450>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000004f25388>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004f25338>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004f24d48>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000004f24ca8>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000047dfe70>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000047dfe70>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000004f24ca8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004f24d48>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004f25338>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000004f25388>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004f25450>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x0000000004f64150>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000003bf2298>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000003bf19d8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000003bf17d0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000003bf06f0>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000003bf0510>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000693c7d0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000693c7d0>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000003bf0510>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000003bf06f0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000003bf17d0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000003bf19d8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000003bf2298>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x0000000006710790>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006565260>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000006565238>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006565210>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006565198>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000006565148>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006535100>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006535100>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000006565148>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006565198>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006565210>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000006565238>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006565260>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x0000000006449480>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004e23570>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000004e23548>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004e23520>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004e23458>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000004e23430>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000627afc8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000627afc8>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000004e23430>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004e23458>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004e23520>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000004e23548>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004e23570>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00000000052d1040>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004f03148>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000004f030f8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004f030a8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004f02f90>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000004f02f68>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000047bec70>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000047bec70>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000004f02f68>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004f02f90>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004f030a8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000004f030f8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004f03148>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x0000000004376410>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006895958>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000006895bb0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006895c50>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006896178>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000068963d0>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006821058>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006821058>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000068963d0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006896178>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006895c50>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000006895bb0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006895958>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x000000000674a710>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000065b5d28>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000065b5d00>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000065b5cd8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000065b5c10>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000065b5be8>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006587220>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006587220>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000065b5be8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000065b5c10>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000065b5cd8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000065b5d00>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000065b5d28>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00000000051efc08>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000047ac9d0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000047ac930>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000047ad5d8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000047adf10>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000047ae348>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000046153b0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000046153b0>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000047ae348>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000047adf10>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000047ad5d8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000047ac930>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000047ac9d0>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x000000000673be90>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000065955c8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000006595578>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006595550>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000065954b0>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000006595488>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000656efe0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000656efe0>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000006595488>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000065954b0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006595550>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000006595578>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000065955c8>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00000000053d1940>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004f910b0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000004f90e30>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004f90db8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004f90c78>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000004f90c50>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000042e5370>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000042e5370>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000004f90c50>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004f90c78>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004f90db8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000004f90e30>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004f910b0>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00000000065c4968>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006463a10>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000064639e8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000064639c0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000064638f8>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000064638a8>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000642a490>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000642a490>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000064638a8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000064638f8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000064639c0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000064639e8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006463a10>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00000000046b9370>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000068d6db8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000068d6f48>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000068d70d8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000068d7420>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000068d75d8>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000683bd18>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000683bd18>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000068d75d8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000068d7420>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000068d70d8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000068d6f48>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000068d6db8>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00000000054de4f0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005079388>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000005079360>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005079338>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005079298>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000050791f8>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004fa4f20>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004fa4f20>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000050791f8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005079298>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005079338>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000005079360>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005079388>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x000000000643a200>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006393090>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000006393068>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006393040>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006392fc8>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000006392fa0>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000054b2fa8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000054b2fa8>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000006392fa0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006392fc8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006393040>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000006393068>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006393090>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00000000047b4a90>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000068ed2e8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000068ed298>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000068ed270>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000068ed1f8>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000068ed1a8>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000688dca8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000688dca8>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000068ed1a8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000068ed1f8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000068ed270>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000068ed298>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000068ed2e8>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x0000000006808350>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006660570>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000006660548>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006660520>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000066604a8>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000006660480>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000065c6c18>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000065c6c18>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000006660480>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000066604a8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006660520>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000006660548>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006660570>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x000000000507b0c0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000041825f0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000041821e0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004181d80>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004181a10>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000004181970>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000069450d8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000069450d8>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000004181970>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004181a10>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004181d80>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000041821e0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000041825f0>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 07D7EDA8-39BE-4F2B-86F3-AD1E9B1DD162
DEBUG winrmshell: [WinRM] Command created for hostname with id: E40EEC59-B28F-4241-A8B7-A8A7C9652841
DEBUG winrmshell: [WinRM] creating command_id: E40EEC59-B28F-4241-A8B7-A8A7C9652841 on shell_id 07D7EDA8-39BE-4F2B-86F3-AD1E9B1DD162
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: E40EEC59-B28F-4241-A8B7-A8A7C9652841 on shell_id 07D7EDA8-39BE-4F2B-86F3-AD1E9B1DD162
DEBUG winrmshell: Output: #<WinRM::Output:0x0000000006442900 @data=[{:stdout=>"vagrant"}, {:stdout=>"\r\n"}], @exitcode=0>
INFO winrm: WinRM is ready!
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x0000000005092108>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004189080>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000004188ec8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004188d60>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004188950>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000004188838>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
INFO interface: output: Machine booted and ready!
INFO interface: output: ==> win-worker: Machine booted and ready!
==> win-worker: Machine booted and ready!
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000002570948>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000002570218>
INFO warden: Calling IN action: #<VagrantPlugins::SyncedFolderNFS::ActionCleanup:0x00000000025701c8>
WARN nfs: nfs_valid_ids not set, cleanup cannot occur
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000543e810>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000543e6f8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::SyncedFolderCleanup:0x000000000543e6d0>
DEBUG host: Searching for cap: smb_installed
DEBUG host: Checking in: windows
DEBUG host: Found cap: smb_installed in windows
DEBUG host: Searching for cap: smb_installed
DEBUG host: Checking in: windows
DEBUG host: Found cap: smb_installed in windows
INFO host: Execute capability: smb_installed [#<Vagrant::Environment: E:/Users/mbergal/Projects/VagrantBug>] (windows)
INFO synced_folder_cleanup: Invoking synced folder cleanup for: smb
DEBUG host: Searching for cap: smb_cleanup
DEBUG host: Checking in: windows
DEBUG host: Found cap: smb_cleanup in windows
DEBUG host: Searching for cap: smb_cleanup
DEBUG host: Checking in: windows
DEBUG host: Found cap: smb_cleanup in windows
INFO host: Execute capability: smb_cleanup [#<Vagrant::Environment: E:/Users/mbergal/Projects/VagrantBug>, #<Vagrant::Machine: win-worker (VagrantPlugins::HyperV::Provider)>, {}] (windows)
DEBUG smb: generating machine ID name=win-worker cwd=E:/Users/mbergal/Projects/VagrantBug
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "-Command", "Get-SmbShare|Format-List|Out-String -Width 4096"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout:
Name : ADMIN$
ScopeName : *
Path : C:\WINDOWS
Description : Remote Admin
Name : C
ScopeName : *
Path : C:\
Description :
Name : C$
ScopeName : *
Path : C:\
Description : Default share
Name : E
ScopeName : *
Path : E:\
Description :
Name : E$
ScopeName : *
Path : E:\
Description : Default share
Name : IPC$
ScopeName : *
Path :
Description : Remote IPC
Name : print$
ScopeName : *
Path : C:\WINDOWS\system32\spool\drivers
Description : Printer Drivers
Name : vgt-31e00b47dcf3fee5da64964e6d69dd2a-6ad5fdbcbf2eaa93bd62f92333a2e6e5
ScopeName : *
Path : E:\Users\mbergal\Projects\LocalK8s\nodes
Description : vgt-31e00b47dcf3fee5da64964e6d69dd2a-6ad5fdbcbf2eaa93bd62f92333a2e6e5
Name : vgt-3be02be15efc8a4b2975fd73fa134737-6ad5fdbcbf2eaa93bd62f92333a2e6e5
ScopeName : *
Path : E:\Users\mbergal\Projects\DevOps\Vagrant\LocalK8s\nodes
Description : vgt-3be02be15efc8a4b2975fd73fa134737-6ad5fdbcbf2eaa93bd62f92333a2e6e5
Name : vgt-8ee9d3f403b9c045a161297e212ef488-6ad5fdbcbf2eaa93bd62f92333a2e6e5
ScopeName : *
Path : E:\Users\mbergal\Projects\DevOps\Vagrant\LocalK8s
Description : vgt-8ee9d3f403b9c045a161297e212ef488-6ad5fdbcbf2eaa93bd62f92333a2e6e5
Name : vgt-a447ed3c391f5dc0726f0faa4f3a214b-6ad5fdbcbf2eaa93bd62f92333a2e6e5
ScopeName : *
Path : E:\Users\mbergal\Projects\DevOps\Vagrant\LocalK8s\nodes
Description : vgt-a447ed3c391f5dc0726f0faa4f3a214b-6ad5fdbcbf2eaa93bd62f92333a2e6e5
Name : vgt-a98b175f346c3391f328ce66074a2848-6ad5fdbcbf2eaa93bd62f92333a2e6e5
ScopeName : *
Path : E:\Users\mbergal\Projects\DevOps\Vagrant\LocalK8s
Description : vgt-a98b175f346c3391f328ce66074a2848-6ad5fdbcbf2eaa93bd62f92333a2e6e5
Name : vgt-c4cb7b451eb989d325fd8461e9289c1b-6ad5fdbcbf2eaa93bd62f92333a2e6e5
ScopeName : *
Path : E:\Users\mbergal\Projects\LocalK8s\nodes
Description : vgt-c4cb7b451eb989d325fd8461e9289c1b-6ad5fdbcbf2eaa93bd62f92333a2e6e5
Name : vgt-c71a689b9902120497096b5049babe9c-6ad5fdbcbf2eaa93bd62f92333a2e6e5
ScopeName : *
Path : E:\Users\mbergal\Projects\LocalK8s\nodes
Description : vgt-c71a689b9902120497096b5049babe9c-6ad5fdbcbf2eaa93bd62f92333a2e6e5
Name : vgt-cc03df045b45aac3ce4f92e8a5e50042-6ad5fdbcbf2eaa93bd62f92333a2e6e5
ScopeName : *
Path : E:\Users\mbergal\Projects\DevOps\Vagrant\LocalK8s
Description : vgt-cc03df045b45aac3ce4f92e8a5e50042-6ad5fdbcbf2eaa93bd62f92333a2e6e5
Name : vgt-d2565c47bca6d03fc95feb7451560ca7-6ad5fdbcbf2eaa93bd62f92333a2e6e5
ScopeName : *
Path : E:\Users\mbergal\Projects\DevOps\Vagrant\LocalK8s\nodes
Description : vgt-d2565c47bca6d03fc95feb7451560ca7-6ad5fdbcbf2eaa93bd62f92333a2e6e5
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
DEBUG smb: local share listing: {"ADMIN$"=>{"Path"=>"C:\\WINDOWS", "Description"=>"Remote Admin"}, "C"=>{"Path"=>"C:\\", "Description"=>""}, "C$"=>{"Path"=>"C:\\", "Description"=>"Default share"}, "E"=>{"Path"=>"E:\\", "Description"=>""}, "E$"=>{"Path"=>"E:\\", "Description"=>"Default share"}, "IPC$"=>{"Path"=>"", "Description"=>"Remote IPC"}, "print$"=>{"Path"=>"C:\\WINDOWS\\system32\\spool\\drivers", "Description"=>"Printer Drivers"}, "vgt-31e00b47dcf3fee5da64964e6d69dd2a-6ad5fdbcbf2eaa93bd62f92333a2e6e5"=>{"Path"=>"E:\\Users\\mbergal\\Projects\\LocalK8s\\nodes", "Description"=>"vgt-31e00b47dcf3fee5da64964e6d69dd2a-6ad5fdbcbf2eaa93bd62f92333a2e6e5"}, "vgt-3be02be15efc8a4b2975fd73fa134737-6ad5fdbcbf2eaa93bd62f92333a2e6e5"=>{"Path"=>"E:\\Users\\mbergal\\Projects\\DevOps\\Vagrant\\LocalK8s\\nodes", "Description"=>"vgt-3be02be15efc8a4b2975fd73fa134737-6ad5fdbcbf2eaa93bd62f92333a2e6e5"}, "vgt-8ee9d3f403b9c045a161297e212ef488-6ad5fdbcbf2eaa93bd62f92333a2e6e5"=>{"Path"=>"E:\\Users\\mbergal\\Projects\\DevOps\\Vagrant\\LocalK8s", "Description"=>"vgt-8ee9d3f403b9c045a161297e212ef488-6ad5fdbcbf2eaa93bd62f92333a2e6e5"}, "vgt-a447ed3c391f5dc0726f0faa4f3a214b-6ad5fdbcbf2eaa93bd62f92333a2e6e5"=>{"Path"=>"E:\\Users\\mbergal\\Projects\\DevOps\\Vagrant\\LocalK8s\\nodes", "Description"=>"vgt-a447ed3c391f5dc0726f0faa4f3a214b-6ad5fdbcbf2eaa93bd62f92333a2e6e5"}, "vgt-a98b175f346c3391f328ce66074a2848-6ad5fdbcbf2eaa93bd62f92333a2e6e5"=>{"Path"=>"E:\\Users\\mbergal\\Projects\\DevOps\\Vagrant\\LocalK8s", "Description"=>"vgt-a98b175f346c3391f328ce66074a2848-6ad5fdbcbf2eaa93bd62f92333a2e6e5"}, "vgt-c4cb7b451eb989d325fd8461e9289c1b-6ad5fdbcbf2eaa93bd62f92333a2e6e5"=>{"Path"=>"E:\\Users\\mbergal\\Projects\\LocalK8s\\nodes", "Description"=>"vgt-c4cb7b451eb989d325fd8461e9289c1b-6ad5fdbcbf2eaa93bd62f92333a2e6e5"}, "vgt-c71a689b9902120497096b5049babe9c-6ad5fdbcbf2eaa93bd62f92333a2e6e5"=>{"Path"=>"E:\\Users\\mbergal\\Projects\\LocalK8s\\nodes", "Description"=>"vgt-c71a689b9902120497096b5049babe9c-6ad5fdbcbf2eaa93bd62f92333a2e6e5"}, "vgt-cc03df045b45aac3ce4f92e8a5e50042-6ad5fdbcbf2eaa93bd62f92333a2e6e5"=>{"Path"=>"E:\\Users\\mbergal\\Projects\\DevOps\\Vagrant\\LocalK8s", "Description"=>"vgt-cc03df045b45aac3ce4f92e8a5e50042-6ad5fdbcbf2eaa93bd62f92333a2e6e5"}, "vgt-d2565c47bca6d03fc95feb7451560ca7-6ad5fdbcbf2eaa93bd62f92333a2e6e5"=>{"Path"=>"E:\\Users\\mbergal\\Projects\\DevOps\\Vagrant\\LocalK8s\\nodes", "Description"=>"vgt-d2565c47bca6d03fc95feb7451560ca7-6ad5fdbcbf2eaa93bd62f92333a2e6e5"}}
INFO smb: skipping smb share removal, not owned name=ADMIN$
DEBUG smb: smb share ID not present name=ADMIN$ id=5b4a3bcbaad33db064777add241f6cbd description=Remote Admin
INFO smb: skipping smb share removal, not owned name=C
DEBUG smb: smb share ID not present name=C id=5b4a3bcbaad33db064777add241f6cbd description=
INFO smb: skipping smb share removal, not owned name=C$
DEBUG smb: smb share ID not present name=C$ id=5b4a3bcbaad33db064777add241f6cbd description=Default share
INFO smb: skipping smb share removal, not owned name=E
DEBUG smb: smb share ID not present name=E id=5b4a3bcbaad33db064777add241f6cbd description=
INFO smb: skipping smb share removal, not owned name=E$
DEBUG smb: smb share ID not present name=E$ id=5b4a3bcbaad33db064777add241f6cbd description=Default share
INFO smb: skipping smb share removal, not owned name=IPC$
DEBUG smb: smb share ID not present name=IPC$ id=5b4a3bcbaad33db064777add241f6cbd description=Remote IPC
INFO smb: skipping smb share removal, not owned name=print$
DEBUG smb: smb share ID not present name=print$ id=5b4a3bcbaad33db064777add241f6cbd description=Printer Drivers
INFO smb: skipping smb share removal, not owned name=vgt-31e00b47dcf3fee5da64964e6d69dd2a-6ad5fdbcbf2eaa93bd62f92333a2e6e5
DEBUG smb: smb share ID not present name=vgt-31e00b47dcf3fee5da64964e6d69dd2a-6ad5fdbcbf2eaa93bd62f92333a2e6e5 id=5b4a3bcbaad33db064777add241f6cbd description=vgt-31e00b47dcf3fee5da64964e6d69dd2a-6ad5fdbcbf2eaa93bd62f92333a2e6e5
INFO smb: skipping smb share removal, not owned name=vgt-3be02be15efc8a4b2975fd73fa134737-6ad5fdbcbf2eaa93bd62f92333a2e6e5
DEBUG smb: smb share ID not present name=vgt-3be02be15efc8a4b2975fd73fa134737-6ad5fdbcbf2eaa93bd62f92333a2e6e5 id=5b4a3bcbaad33db064777add241f6cbd description=vgt-3be02be15efc8a4b2975fd73fa134737-6ad5fdbcbf2eaa93bd62f92333a2e6e5
INFO smb: skipping smb share removal, not owned name=vgt-8ee9d3f403b9c045a161297e212ef488-6ad5fdbcbf2eaa93bd62f92333a2e6e5
DEBUG smb: smb share ID not present name=vgt-8ee9d3f403b9c045a161297e212ef488-6ad5fdbcbf2eaa93bd62f92333a2e6e5 id=5b4a3bcbaad33db064777add241f6cbd description=vgt-8ee9d3f403b9c045a161297e212ef488-6ad5fdbcbf2eaa93bd62f92333a2e6e5
INFO smb: skipping smb share removal, not owned name=vgt-a447ed3c391f5dc0726f0faa4f3a214b-6ad5fdbcbf2eaa93bd62f92333a2e6e5
DEBUG smb: smb share ID not present name=vgt-a447ed3c391f5dc0726f0faa4f3a214b-6ad5fdbcbf2eaa93bd62f92333a2e6e5 id=5b4a3bcbaad33db064777add241f6cbd description=vgt-a447ed3c391f5dc0726f0faa4f3a214b-6ad5fdbcbf2eaa93bd62f92333a2e6e5
INFO smb: skipping smb share removal, not owned name=vgt-a98b175f346c3391f328ce66074a2848-6ad5fdbcbf2eaa93bd62f92333a2e6e5
DEBUG smb: smb share ID not present name=vgt-a98b175f346c3391f328ce66074a2848-6ad5fdbcbf2eaa93bd62f92333a2e6e5 id=5b4a3bcbaad33db064777add241f6cbd description=vgt-a98b175f346c3391f328ce66074a2848-6ad5fdbcbf2eaa93bd62f92333a2e6e5
INFO smb: skipping smb share removal, not owned name=vgt-c4cb7b451eb989d325fd8461e9289c1b-6ad5fdbcbf2eaa93bd62f92333a2e6e5
DEBUG smb: smb share ID not present name=vgt-c4cb7b451eb989d325fd8461e9289c1b-6ad5fdbcbf2eaa93bd62f92333a2e6e5 id=5b4a3bcbaad33db064777add241f6cbd description=vgt-c4cb7b451eb989d325fd8461e9289c1b-6ad5fdbcbf2eaa93bd62f92333a2e6e5
INFO smb: skipping smb share removal, not owned name=vgt-c71a689b9902120497096b5049babe9c-6ad5fdbcbf2eaa93bd62f92333a2e6e5
DEBUG smb: smb share ID not present name=vgt-c71a689b9902120497096b5049babe9c-6ad5fdbcbf2eaa93bd62f92333a2e6e5 id=5b4a3bcbaad33db064777add241f6cbd description=vgt-c71a689b9902120497096b5049babe9c-6ad5fdbcbf2eaa93bd62f92333a2e6e5
INFO smb: skipping smb share removal, not owned name=vgt-cc03df045b45aac3ce4f92e8a5e50042-6ad5fdbcbf2eaa93bd62f92333a2e6e5
DEBUG smb: smb share ID not present name=vgt-cc03df045b45aac3ce4f92e8a5e50042-6ad5fdbcbf2eaa93bd62f92333a2e6e5 id=5b4a3bcbaad33db064777add241f6cbd description=vgt-cc03df045b45aac3ce4f92e8a5e50042-6ad5fdbcbf2eaa93bd62f92333a2e6e5
INFO smb: skipping smb share removal, not owned name=vgt-d2565c47bca6d03fc95feb7451560ca7-6ad5fdbcbf2eaa93bd62f92333a2e6e5
DEBUG smb: smb share ID not present name=vgt-d2565c47bca6d03fc95feb7451560ca7-6ad5fdbcbf2eaa93bd62f92333a2e6e5 id=5b4a3bcbaad33db064777add241f6cbd description=vgt-d2565c47bca6d03fc95feb7451560ca7-6ad5fdbcbf2eaa93bd62f92333a2e6e5
DEBUG smb: shares to be removed: []
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005378a98>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005378958>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::SyncedFolders:0x0000000005378930>
INFO synced_folders: SyncedFolders loading from cache: false
DEBUG host: Searching for cap: smb_installed
DEBUG host: Checking in: windows
DEBUG host: Found cap: smb_installed in windows
DEBUG host: Searching for cap: smb_installed
DEBUG host: Checking in: windows
DEBUG host: Found cap: smb_installed in windows
INFO host: Execute capability: smb_installed [#<Vagrant::Environment: E:/Users/mbergal/Projects/VagrantBug>] (windows)
INFO synced_folders: Synced Folder Implementation: smb
INFO synced_folders: - /vagrant: . => /vagrant
INFO synced_folders: Invoking synced folder prepare for: smb
INFO interface: output: Preparing SMB shared folders...
INFO interface: output: ==> win-worker: Preparing SMB shared folders...
==> win-worker: Preparing SMB shared folders...
DEBUG host: Searching for cap: smb_start
DEBUG host: Checking in: windows
DEBUG host: Searching for cap: smb_prepare
DEBUG host: Checking in: windows
DEBUG host: Found cap: smb_prepare in windows
INFO host: Execute capability: smb_prepare [#<Vagrant::Environment: E:/Users/mbergal/Projects/VagrantBug>, #<Vagrant::Machine: win-worker (VagrantPlugins::HyperV::Provider)>, {"/vagrant"=>{:type=>:smb, :smb_password=>"*****", :smb_username=>"EYEDIAGNOSIS\\mbergal", :guestpath=>"/vagrant", :hostpath=>"E:/Users/mbergal/Projects/VagrantBug", :disabled=>false, :mount_options=>["vers=3"], :__vagrantfile=>true}}, {}] (windows)
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "-Command", "Get-SmbShare|Format-List|Out-String -Width 4096"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout:
Name : ADMIN$
ScopeName : *
Path : C:\WINDOWS
Description : Remote Admin
Name : C
ScopeName : *
Path : C:\
Description :
Name : C$
ScopeName : *
Path : C:\
Description : Default share
Name : E
ScopeName : *
Path : E:\
Description :
Name : E$
ScopeName : *
Path : E:\
Description : Default share
Name : IPC$
ScopeName : *
Path :
Description : Remote IPC
Name : print$
ScopeName : *
Path : C:\WINDOWS\system32\spool\drivers
Description : Printer Drivers
Name : vgt-31e00b47dcf3fee5da64964e6d69dd2a-6ad5fdbcbf2eaa93bd62f92333a2e6e5
ScopeName : *
Path : E:\Users\mbergal\Projects\LocalK8s\nodes
Description : vgt-31e00b47dcf3fee5da64964e6d69dd2a-6ad5fdbcbf2eaa93bd62f92333a2e6e5
Name : vgt-3be02be15efc8a4b2975fd73fa134737-6ad5fdbcbf2eaa93bd62f92333a2e6e5
ScopeName : *
Path : E:\Users\mbergal\Projects\DevOps\Vagrant\LocalK8s\nodes
Description : vgt-3be02be15efc8a4b2975fd73fa134737-6ad5fdbcbf2eaa93bd62f92333a2e6e5
Name : vgt-8ee9d3f403b9c045a161297e212ef488-6ad5fdbcbf2eaa93bd62f92333a2e6e5
ScopeName : *
Path : E:\Users\mbergal\Projects\DevOps\Vagrant\LocalK8s
Description : vgt-8ee9d3f403b9c045a161297e212ef488-6ad5fdbcbf2eaa93bd62f92333a2e6e5
Name : vgt-a447ed3c391f5dc0726f0faa4f3a214b-6ad5fdbcbf2eaa93bd62f92333a2e6e5
ScopeName : *
Path : E:\Users\mbergal\Projects\DevOps\Vagrant\LocalK8s\nodes
Description : vgt-a447ed3c391f5dc0726f0faa4f3a214b-6ad5fdbcbf2eaa93bd62f92333a2e6e5
Name : vgt-a98b175f346c3391f328ce66074a2848-6ad5fdbcbf2eaa93bd62f92333a2e6e5
ScopeName : *
Path : E:\Users\mbergal\Projects\DevOps\Vagrant\LocalK8s
Description : vgt-a98b175f346c3391f328ce66074a2848-6ad5fdbcbf2eaa93bd62f92333a2e6e5
Name : vgt-c4cb7b451eb989d325fd8461e9289c1b-6ad5fdbcbf2eaa93bd62f92333a2e6e5
ScopeName : *
Path : E:\Users\mbergal\Projects\LocalK8s\nodes
Description : vgt-c4cb7b451eb989d325fd8461e9289c1b-6ad5fdbcbf2eaa93bd62f92333a2e6e5
Name : vgt-c71a689b9902120497096b5049babe9c-6ad5fdbcbf2eaa93bd62f92333a2e6e5
ScopeName : *
Path : E:\Users\mbergal\Projects\LocalK8s\nodes
Description : vgt-c71a689b9902120497096b5049babe9c-6ad5fdbcbf2eaa93bd62f92333a2e6e5
Name : vgt-cc03df045b45aac3ce4f92e8a5e50042-6ad5fdbcbf2eaa93bd62f92333a2e6e5
ScopeName : *
Path : E:\Users\mbergal\Projects\DevOps\Vagrant\LocalK8s
Description : vgt-cc03df045b45aac3ce4f92e8a5e50042-6ad5fdbcbf2eaa93bd62f92333a2e6e5
Name : vgt-d2565c47bca6d03fc95feb7451560ca7-6ad5fdbcbf2eaa93bd62f92333a2e6e5
ScopeName : *
Path : E:\Users\mbergal\Projects\DevOps\Vagrant\LocalK8s\nodes
Description : vgt-d2565c47bca6d03fc95feb7451560ca7-6ad5fdbcbf2eaa93bd62f92333a2e6e5
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
DEBUG smb: local share listing: {"ADMIN$"=>{"Path"=>"C:\\WINDOWS", "Description"=>"Remote Admin"}, "C"=>{"Path"=>"C:\\", "Description"=>""}, "C$"=>{"Path"=>"C:\\", "Description"=>"Default share"}, "E"=>{"Path"=>"E:\\", "Description"=>""}, "E$"=>{"Path"=>"E:\\", "Description"=>"Default share"}, "IPC$"=>{"Path"=>"", "Description"=>"Remote IPC"}, "print$"=>{"Path"=>"C:\\WINDOWS\\system32\\spool\\drivers", "Description"=>"Printer Drivers"}, "vgt-31e00b47dcf3fee5da64964e6d69dd2a-6ad5fdbcbf2eaa93bd62f92333a2e6e5"=>{"Path"=>"E:\\Users\\mbergal\\Projects\\LocalK8s\\nodes", "Description"=>"vgt-31e00b47dcf3fee5da64964e6d69dd2a-6ad5fdbcbf2eaa93bd62f92333a2e6e5"}, "vgt-3be02be15efc8a4b2975fd73fa134737-6ad5fdbcbf2eaa93bd62f92333a2e6e5"=>{"Path"=>"E:\\Users\\mbergal\\Projects\\DevOps\\Vagrant\\LocalK8s\\nodes", "Description"=>"vgt-3be02be15efc8a4b2975fd73fa134737-6ad5fdbcbf2eaa93bd62f92333a2e6e5"}, "vgt-8ee9d3f403b9c045a161297e212ef488-6ad5fdbcbf2eaa93bd62f92333a2e6e5"=>{"Path"=>"E:\\Users\\mbergal\\Projects\\DevOps\\Vagrant\\LocalK8s", "Description"=>"vgt-8ee9d3f403b9c045a161297e212ef488-6ad5fdbcbf2eaa93bd62f92333a2e6e5"}, "vgt-a447ed3c391f5dc0726f0faa4f3a214b-6ad5fdbcbf2eaa93bd62f92333a2e6e5"=>{"Path"=>"E:\\Users\\mbergal\\Projects\\DevOps\\Vagrant\\LocalK8s\\nodes", "Description"=>"vgt-a447ed3c391f5dc0726f0faa4f3a214b-6ad5fdbcbf2eaa93bd62f92333a2e6e5"}, "vgt-a98b175f346c3391f328ce66074a2848-6ad5fdbcbf2eaa93bd62f92333a2e6e5"=>{"Path"=>"E:\\Users\\mbergal\\Projects\\DevOps\\Vagrant\\LocalK8s", "Description"=>"vgt-a98b175f346c3391f328ce66074a2848-6ad5fdbcbf2eaa93bd62f92333a2e6e5"}, "vgt-c4cb7b451eb989d325fd8461e9289c1b-6ad5fdbcbf2eaa93bd62f92333a2e6e5"=>{"Path"=>"E:\\Users\\mbergal\\Projects\\LocalK8s\\nodes", "Description"=>"vgt-c4cb7b451eb989d325fd8461e9289c1b-6ad5fdbcbf2eaa93bd62f92333a2e6e5"}, "vgt-c71a689b9902120497096b5049babe9c-6ad5fdbcbf2eaa93bd62f92333a2e6e5"=>{"Path"=>"E:\\Users\\mbergal\\Projects\\LocalK8s\\nodes", "Description"=>"vgt-c71a689b9902120497096b5049babe9c-6ad5fdbcbf2eaa93bd62f92333a2e6e5"}, "vgt-cc03df045b45aac3ce4f92e8a5e50042-6ad5fdbcbf2eaa93bd62f92333a2e6e5"=>{"Path"=>"E:\\Users\\mbergal\\Projects\\DevOps\\Vagrant\\LocalK8s", "Description"=>"vgt-cc03df045b45aac3ce4f92e8a5e50042-6ad5fdbcbf2eaa93bd62f92333a2e6e5"}, "vgt-d2565c47bca6d03fc95feb7451560ca7-6ad5fdbcbf2eaa93bd62f92333a2e6e5"=>{"Path"=>"E:\\Users\\mbergal\\Projects\\DevOps\\Vagrant\\LocalK8s\\nodes", "Description"=>"vgt-d2565c47bca6d03fc95feb7451560ca7-6ad5fdbcbf2eaa93bd62f92333a2e6e5"}}
DEBUG smb: generating machine ID name=win-worker cwd=E:/Users/mbergal/Projects/VagrantBug
INFO smb: creating new share name=vgt-5b4a3bcbaad33db064777add241f6cbd-6ad5fdbcbf2eaa93bd62f92333a2e6e5 id=vgt-5b4a3bcbaad33db064777add241f6cbd-6ad5fdbcbf2eaa93bd62f92333a2e6e5
INFO interface: warn:
Vagrant requires administrator access to create SMB shares and
may request access to complete setup of configured shares.
Vagrant requires administrator access to create SMB shares and
may request access to complete setup of configured shares.
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "-Command", "$p = Start-Process -FilePath powershell -ArgumentList @('-NoLogo', '-NoProfile', '-NonInteractive', '-ExecutionPolicy', 'Bypass', '-EncodedCommand', 'JABwACAAPQAgAFMAdABhAHIAdAAtAFAAcgBvAGMAZQBzAHMAIAAtAEYAaQBsAGUAUABhAHQAaAAgAHAAbwB3AGUAcgBzAGgAZQBsAGwAIAAtAEEAcgBnAHUAbQBlAG4AdABMAGkAcwB0ACAAQAAoACcALQBOAG8ATABvAGcAbwAnACwAIAAnAC0ATgBvAFAAcgBvAGYAaQBsAGUAJwAsACAAJwAtAE4AbwBuAEkAbgB0AGUAcgBhAGMAdABpAHYAZQAnACwAIAAnAC0ARQB4AGUAYwB1AHQAaQBvAG4AUABvAGwAaQBjAHkAJwAsACAAJwBCAHkAcABhAHMAcwAnACwAIAAnAC0ARQBuAGMAbwBkAGUAZABDAG8AbQBtAGEAbgBkACcALAAgACcASgBnAEEAZwBBAEMASQBBAFEAdwBBADYAQQBDADgAQQBTAEEAQgBoAEEASABNAEEAYQBBAEIAcABBAEUATQBBAGIAdwBCAHkAQQBIAEEAQQBMAHcAQgBXAEEARwBFAEEAWgB3AEIAeQBBAEcARQBBAGIAZwBCADAAQQBDADgAQQBaAFEAQgB0AEEARwBJAEEAWgBRAEIAawBBAEcAUQBBAFoAUQBCAGsAQQBDADgAQQBaAHcAQgBsAEEARwAwAEEAYwB3AEEAdgBBAEQASQBBAEwAZwBBAHkAQQBDADQAQQBOAEEAQQB2AEEARwBjAEEAWgBRAEIAdABBAEgATQBBAEwAdwBCADIAQQBHAEUAQQBaAHcAQgB5AEEARwBFAEEAYgBnAEIAMABBAEMAMABBAE0AZwBBAHUAQQBEAEkAQQBMAGcAQQAwAEEAQwA4AEEAYwBBAEIAcwBBAEgAVQBBAFoAdwBCAHAAQQBHADQAQQBjAHcAQQB2AEEARwBnAEEAYgB3AEIAegBBAEgAUQBBAGMAdwBBAHYAQQBIAGMAQQBhAFEAQgB1AEEARwBRAEEAYgB3AEIAMwBBAEgATQBBAEwAdwBCAHoAQQBHAE0AQQBjAGcAQgBwAEEASABBAEEAZABBAEIAegBBAEMAOABBAGMAdwBCAGwAQQBIAFEAQQBYAHcAQgB6AEEARwBnAEEAWQBRAEIAeQBBAEcAVQBBAEwAZwBCAHcAQQBIAE0AQQBNAFEAQQBpAEEAQwBBAEEASQBnAEIARgBBAEQAbwBBAFgAQQBCAFYAQQBIAE0AQQBaAFEAQgB5AEEASABNAEEAWABBAEIAdABBAEcASQBBAFoAUQBCAHkAQQBHAGMAQQBZAFEAQgBzAEEARgB3AEEAVQBBAEIAeQBBAEcAOABBAGEAZwBCAGwAQQBHAE0AQQBkAEEAQgB6AEEARgB3AEEAVgBnAEIAaABBAEcAYwBBAGMAZwBCAGgAQQBHADQAQQBkAEEAQgBDAEEASABVAEEAWgB3AEEAaQBBAEMAQQBBAEkAZwBCADIAQQBHAGMAQQBkAEEAQQB0AEEARABVAEEAWQBnAEEAMABBAEcARQBBAE0AdwBCAGkAQQBHAE0AQQBZAGcAQgBoAEEARwBFAEEAWgBBAEEAegBBAEQATQBBAFoAQQBCAGkAQQBEAEEAQQBOAGcAQQAwAEEARABjAEEATgB3AEEAMwBBAEcARQBBAFoAQQBCAGsAQQBEAEkAQQBOAEEAQQB4AEEARwBZAEEATgBnAEIAagBBAEcASQBBAFoAQQBBAHQAQQBEAFkAQQBZAFEAQgBrAEEARABVAEEAWgBnAEIAawBBAEcASQBBAFkAdwBCAGkAQQBHAFkAQQBNAGcAQgBsAEEARwBFAEEAWQBRAEEANQBBAEQATQBBAFkAZwBCAGsAQQBEAFkAQQBNAGcAQgBtAEEARABrAEEATQBnAEEAegBBAEQATQBBAE0AdwBCAGgAQQBEAEkAQQBaAFEAQQAyAEEARwBVAEEATgBRAEEAaQBBAEMAQQBBAEkAZwBCADIAQQBHAGMAQQBkAEEAQQB0AEEARABVAEEAWQBnAEEAMABBAEcARQBBAE0AdwBCAGkAQQBHAE0AQQBZAGcAQgBoAEEARwBFAEEAWgBBAEEAegBBAEQATQBBAFoAQQBCAGkAQQBEAEEAQQBOAGcAQQAwAEEARABjAEEATgB3AEEAMwBBAEcARQBBAFoAQQBCAGsAQQBEAEkAQQBOAEEAQQB4AEEARwBZAEEATgBnAEIAagBBAEcASQBBAFoAQQBBAHQAQQBEAFkAQQBZAFEAQgBrAEEARABVAEEAWgBnAEIAawBBAEcASQBBAFkAdwBCAGkAQQBHAFkAQQBNAGcAQgBsAEEARwBFAEEAWQBRAEEANQBBAEQATQBBAFkAZwBCAGsAQQBEAFkAQQBNAGcAQgBtAEEARABrAEEATQBnAEEAegBBAEQATQBBAE0AdwBCAGgAQQBEAEkAQQBaAFEAQQAyAEEARwBVAEEATgBRAEEAaQBBAEMAQQBBAE8AdwBBAGcAQQBHAFUAQQBlAEEAQgBwAEEASABRAEEASQBBAEEAawBBAEUAdwBBAFEAUQBCAFQAQQBGAFEAQQBSAFEAQgBZAEEARQBrAEEAVgBBAEIARABBAEUAOABBAFIAQQBCAEYAQQBEAHMAQQAnACkAIAAtAFAAYQBzAHMAVABoAHIAdQAgAC0AVwBpAG4AZABvAHcAUwB0AHkAbABlACAASABpAGQAZABlAG4AIAAtAFcAYQBpAHQAIAAtAFIAZQBkAGkAcgBlAGMAdABTAHQAYQBuAGQAYQByAGQATwB1AHQAcAB1AHQAIAAnAEMAOgAvAFUAcwBlAHIAcwAvAG0AYgBlAHIAZwBhAGwALwBBAHAAcABEAGEAdABhAC8ATABvAGMAYQBsAC8AVABlAG0AcAAvAHYAYQBnAHIAYQBuAHQAMgAwADEAOQAwADUAMgA4AC0ANgA1ADcAMgAtADEAZwBvAGUANgBsAHUALwBzAHQAZABvAHUAdAAuAHQAeAB0ACcAIAAtAFIAZQBkAGkAcgBlAGMAdABTAHQAYQBuAGQAYQByAGQARQByAHIAbwByACAAJwBDADoALwBVAHMAZQByAHMALwBtAGIAZQByAGcAYQBsAC8AQQBwAHAARABhAHQAYQAvAEwAbwBjAGEAbAAvAFQAZQBtAHAALwB2AGEAZwByAGEAbgB0ADIAMAAxADkAMAA1ADIAOAAtADYANQA3ADIALQAxAGcAbwBlADYAbAB1AC8AcwB0AGQAZQByAHIALgB0AHgAdAAnADsAIABpAGYAKAAkAHAAKQB7ACAAZQB4AGkAdAAgACQAcAAuAEUAeABpAHQAQwBvAGQAZQA7ACAAfQBlAGwAcwBlAHsAIABlAHgAaQB0ACAAMQAgAH0A') -PassThru -WindowStyle Hidden -Wait -Verb RunAs; if($p){ exit $p.ExitCode; }else{ exit 1 }"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31998
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000052c13e8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000052c1348>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::SetHostname:0x00000000052c12f8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000052c1280>
INFO warden: Calling IN action: #<Proc:0x00000000052c1208@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:120 (lambda)>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000052c3eb8>
INFO warden: Calling IN action: #<Proc:0x00000000052c3d00@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:120 (lambda)>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004fe8450>
INFO warden: Calling IN action: #<Proc:0x0000000004fe83b0@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:120 (lambda)>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005024b80>
INFO warden: Calling IN action: #<Proc:0x0000000005024ae0@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:120 (lambda)>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000047768f8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004776790>
INFO warden: Calling IN action: #<VagrantPlugins::CommandUp::StoreBoxMetadata:0x0000000004776768>
DEBUG storeboxmetadata: Writing box metadata file to E:/Users/mbergal/Projects/VagrantBug/.vagrant/machines/win-worker/hyperv/box_meta
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004690ec0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004690ec0>
INFO warden: Calling OUT action: #<VagrantPlugins::CommandUp::StoreBoxMetadata:0x0000000004776768>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004776790>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000047768f8>
INFO warden: Calling OUT action: #<Proc:0x0000000005024ae0@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:120 (lambda)>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005024b80>
INFO warden: Calling OUT action: #<Proc:0x0000000004fe83b0@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:120 (lambda)>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004fe8450>
INFO warden: Calling OUT action: #<Proc:0x00000000052c3d00@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:120 (lambda)>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000052c3eb8>
INFO warden: Calling OUT action: #<Proc:0x00000000052c1208@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:120 (lambda)>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000052c1280>
INFO interface: info: Setting hostname...
INFO interface: info: ==> win-worker: Setting hostname...
==> win-worker: Setting hostname...
INFO winrm: Checking whether WinRM is ready...
DEBUG provider: Searching for cap: winrm_info
DEBUG provider: Checking in: hyperv
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00000000063c0950>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005381b70>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000005381e40>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000053823b8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005383a38>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x000000000537bef0>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005267d20>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005267d20>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x000000000537bef0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005383a38>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000053823b8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000005381e40>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005381b70>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"ip": "172.17.151.36"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
DEBUG provider: IP: 172.17.151.36
DEBUG winrmshell: initializing WinRMShell
INFO winrmshell: Attempting to connect to WinRM...
INFO winrmshell: - Host: 172.17.151.36
INFO winrmshell: - Port: 5985
INFO winrmshell: - Username: vagrant
INFO winrmshell: - Transport: negotiate
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] remote shell created with shell_id: E5DE7387-7428-4E15-B540-18894D68B825
DEBUG winrmshell: [WinRM] Command created for hostname with id: B815F7CB-E0E4-4724-A504-4DBBF26051A3
DEBUG winrmshell: [WinRM] creating command_id: B815F7CB-E0E4-4724-A504-4DBBF26051A3 on shell_id E5DE7387-7428-4E15-B540-18894D68B825
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: B815F7CB-E0E4-4724-A504-4DBBF26051A3 on shell_id E5DE7387-7428-4E15-B540-18894D68B825
DEBUG winrmshell: Output: #<WinRM::Output:0x0000000006379848 @data=[{:stdout=>"vagrant"}, {:stdout=>"\r\n"}], @exitcode=0>
INFO winrm: WinRM is ready!
DEBUG guest: Searching for cap: change_host_name
DEBUG guest: Checking in: windows
DEBUG guest: Found cap: change_host_name in windows
INFO guest: Execute capability: change_host_name [#<Vagrant::Machine: win-worker (VagrantPlugins::HyperV::Provider)>, "win-worker"] (windows)
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] Endpoint doesn't support config request for MaxEnvelopsizekb
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x000000000543d398 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Version N=\"protocolversion\">2.3</Version><Version N=\"PSVersion\">2.0</Version><Version N=\"SerializationVersion\">1.1.0.1</Version></MS></Obj>", @destination=1, @type=65538, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000054378a8 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Obj N=\"ApplicationPrivateData\" RefId=\"1\"><TN RefId=\"0\"><T>System.Management.Automation.PSPrimitiveDictionary</T><T>System.Collections.Hashtable</T><T>System.Object</T></TN><DCT><En><S N=\"Key\">BreakAll</S><B N=\"Value\">false</B></En><En><S N=\"Key\">DebugStop</S><B N=\"Value\">false</B></En><En><S N=\"Key\">UnhandledBreakpointMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">PSVersionTable</S><Obj N=\"Value\" RefId=\"2\"><TNRef RefId=\"0\" /><DCT><En><S N=\"Key\">PSVersion</S><Version N=\"Value\">5.1.17763.316</Version></En><En><S N=\"Key\">PSEdition</S><S N=\"Value\">Desktop</S></En><En><S N=\"Key\">PSCompatibleVersions</S><Obj N=\"Value\" RefId=\"3\"><TN RefId=\"1\"><T>System.Version[]</T><T>System.Array</T><T>System.Object</T></TN><LST><Version>1.0</Version><Version>2.0</Version><Version>3.0</Version><Version>4.0</Version><Version>5.0</Version><Version>5.1.17763.316</Version></LST></Obj></En><En><S N=\"Key\">CLRVersion</S><Version N=\"Value\">4.0.30319.42000</Version></En><En><S N=\"Key\">BuildVersion</S><Version N=\"Value\">10.0.17763.316</Version></En><En><S N=\"Key\">WSManStackVersion</S><Version N=\"Value\">3.0</Version></En><En><S N=\"Key\">PSRemotingProtocolVersion</S><Version N=\"Value\">2.3</Version></En><En><S N=\"Key\">SerializationVersion</S><Version N=\"Value\">1.1.0.1</Version></En></DCT></Obj></En><En><S N=\"Key\">DebugMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">DebugBreakpointCount</S><I32 N=\"Value\">0</I32></En></DCT></Obj></MS></Obj>", @destination=1, @type=135177, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000050e9c50 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><I32 N=\"RunspaceState\">2</I32></MS></Obj>", @destination=1, @type=135173, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 590AA3EA-F4A2-4F61-A967-ED4606A826EE
DEBUG winrmshell: [WinRM] Command created for if ([System.Net.Dns]::GetHostName() -eq 'win-worker') { exit 0 } exit 1
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: 5F72467F-CBEA-4C02-8488-1B7723CF5761
DEBUG winrmshell: [WinRM] creating command_id: 5F72467F-CBEA-4C02-8488-1B7723CF5761 on shell_id 590AA3EA-F4A2-4F61-A967-ED4606A826EE
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 5F72467F-CBEA-4C02-8488-1B7723CF5761 on shell_id 590AA3EA-F4A2-4F61-A967-ED4606A826EE
DEBUG winrmshell: Output: #<WinRM::Output:0x000000000477f980 @data=[], @exitcode=1>
DEBUG winrm: powershell executing:
$computer = Get-WmiObject -Class Win32_ComputerSystem
$retval = $computer.rename("win-worker").returnvalue
exit $retval
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] Endpoint doesn't support config request for MaxEnvelopsizekb
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000050a7120 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Version N=\"protocolversion\">2.3</Version><Version N=\"PSVersion\">2.0</Version><Version N=\"SerializationVersion\">1.1.0.1</Version></MS></Obj>", @destination=1, @type=65538, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000050997c8 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Obj N=\"ApplicationPrivateData\" RefId=\"1\"><TN RefId=\"0\"><T>System.Management.Automation.PSPrimitiveDictionary</T><T>System.Collections.Hashtable</T><T>System.Object</T></TN><DCT><En><S N=\"Key\">BreakAll</S><B N=\"Value\">false</B></En><En><S N=\"Key\">DebugStop</S><B N=\"Value\">false</B></En><En><S N=\"Key\">UnhandledBreakpointMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">PSVersionTable</S><Obj N=\"Value\" RefId=\"2\"><TNRef RefId=\"0\" /><DCT><En><S N=\"Key\">PSVersion</S><Version N=\"Value\">5.1.17763.316</Version></En><En><S N=\"Key\">PSEdition</S><S N=\"Value\">Desktop</S></En><En><S N=\"Key\">PSCompatibleVersions</S><Obj N=\"Value\" RefId=\"3\"><TN RefId=\"1\"><T>System.Version[]</T><T>System.Array</T><T>System.Object</T></TN><LST><Version>1.0</Version><Version>2.0</Version><Version>3.0</Version><Version>4.0</Version><Version>5.0</Version><Version>5.1.17763.316</Version></LST></Obj></En><En><S N=\"Key\">CLRVersion</S><Version N=\"Value\">4.0.30319.42000</Version></En><En><S N=\"Key\">BuildVersion</S><Version N=\"Value\">10.0.17763.316</Version></En><En><S N=\"Key\">WSManStackVersion</S><Version N=\"Value\">3.0</Version></En><En><S N=\"Key\">PSRemotingProtocolVersion</S><Version N=\"Value\">2.3</Version></En><En><S N=\"Key\">SerializationVersion</S><Version N=\"Value\">1.1.0.1</Version></En></DCT></Obj></En><En><S N=\"Key\">DebugMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">DebugBreakpointCount</S><I32 N=\"Value\">0</I32></En></DCT></Obj></MS></Obj>", @destination=1, @type=135177, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000047749b8 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><I32 N=\"RunspaceState\">2</I32></MS></Obj>", @destination=1, @type=135173, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] remote shell created with shell_id: D00DDA3F-D197-4A6F-A8C1-6D4CF70D2DBB
DEBUG winrmshell: [WinRM] Command created for $computer = Get-WmiObject -Class Win32_ComputerSystem
$retval = $computer.rename("win-worker").returnvalue
exit $retval
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: 467AFEA1-9BB3-4F30-8A5B-FFCCCD18EC2D
DEBUG winrmshell: [WinRM] creating command_id: 467AFEA1-9BB3-4F30-8A5B-FFCCCD18EC2D on shell_id D00DDA3F-D197-4A6F-A8C1-6D4CF70D2DBB
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 467AFEA1-9BB3-4F30-8A5B-FFCCCD18EC2D on shell_id D00DDA3F-D197-4A6F-A8C1-6D4CF70D2DBB
DEBUG winrmshell: Output: #<WinRM::Output:0x0000000006926728 @data=[], @exitcode=0>
INFO winrm: Checking whether WinRM is ready...
DEBUG provider: Searching for cap: winrm_info
DEBUG provider: Checking in: hyperv
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00000000065027a0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000063d9860>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000063d9810>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000063d97e8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000063d9748>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000063d9720>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004e688a0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004e688a0>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000063d9720>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000063d9748>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000063d97e8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000063d9810>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000063d9860>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"ip": "172.17.151.36"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
DEBUG provider: IP: 172.17.151.36
DEBUG winrmshell: initializing WinRMShell
INFO winrmshell: Attempting to connect to WinRM...
INFO winrmshell: - Host: 172.17.151.36
INFO winrmshell: - Port: 5985
INFO winrmshell: - Username: vagrant
INFO winrmshell: - Transport: negotiate
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 62A1834D-5435-442A-B45A-40D697D816B2
DEBUG winrmshell: [WinRM] Command created for hostname with id: F5CFE4B8-FD3B-4889-A2D3-74BCCF35EB92
DEBUG winrmshell: [WinRM] creating command_id: F5CFE4B8-FD3B-4889-A2D3-74BCCF35EB92 on shell_id 62A1834D-5435-442A-B45A-40D697D816B2
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: F5CFE4B8-FD3B-4889-A2D3-74BCCF35EB92 on shell_id 62A1834D-5435-442A-B45A-40D697D816B2
DEBUG winrmshell: Output: #<WinRM::Output:0x00000000068cea78 @data=[{:stdout=>"vagrant"}, {:stdout=>"\r\n"}], @exitcode=0>
INFO winrm: WinRM is ready!
DEBUG guest: Searching for cap: reboot
DEBUG guest: Checking in: windows
DEBUG guest: Found cap: reboot in windows
INFO guest: Execute capability: reboot [#<Vagrant::Machine: win-worker (VagrantPlugins::HyperV::Provider)>] (windows)
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] Endpoint doesn't support config request for MaxEnvelopsizekb
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000068329e8 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Version N=\"protocolversion\">2.3</Version><Version N=\"PSVersion\">2.0</Version><Version N=\"SerializationVersion\">1.1.0.1</Version></MS></Obj>", @destination=1, @type=65538, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000068297a8 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Obj N=\"ApplicationPrivateData\" RefId=\"1\"><TN RefId=\"0\"><T>System.Management.Automation.PSPrimitiveDictionary</T><T>System.Collections.Hashtable</T><T>System.Object</T></TN><DCT><En><S N=\"Key\">BreakAll</S><B N=\"Value\">false</B></En><En><S N=\"Key\">DebugStop</S><B N=\"Value\">false</B></En><En><S N=\"Key\">UnhandledBreakpointMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">PSVersionTable</S><Obj N=\"Value\" RefId=\"2\"><TNRef RefId=\"0\" /><DCT><En><S N=\"Key\">PSVersion</S><Version N=\"Value\">5.1.17763.316</Version></En><En><S N=\"Key\">PSEdition</S><S N=\"Value\">Desktop</S></En><En><S N=\"Key\">PSCompatibleVersions</S><Obj N=\"Value\" RefId=\"3\"><TN RefId=\"1\"><T>System.Version[]</T><T>System.Array</T><T>System.Object</T></TN><LST><Version>1.0</Version><Version>2.0</Version><Version>3.0</Version><Version>4.0</Version><Version>5.0</Version><Version>5.1.17763.316</Version></LST></Obj></En><En><S N=\"Key\">CLRVersion</S><Version N=\"Value\">4.0.30319.42000</Version></En><En><S N=\"Key\">BuildVersion</S><Version N=\"Value\">10.0.17763.316</Version></En><En><S N=\"Key\">WSManStackVersion</S><Version N=\"Value\">3.0</Version></En><En><S N=\"Key\">PSRemotingProtocolVersion</S><Version N=\"Value\">2.3</Version></En><En><S N=\"Key\">SerializationVersion</S><Version N=\"Value\">1.1.0.1</Version></En></DCT></Obj></En><En><S N=\"Key\">DebugMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">DebugBreakpointCount</S><I32 N=\"Value\">0</I32></En></DCT></Obj></MS></Obj>", @destination=1, @type=135177, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x0000000006721158 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><I32 N=\"RunspaceState\">2</I32></MS></Obj>", @destination=1, @type=135173, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 6811C733-C3E7-40A2-82E0-AE761E5399C2
DEBUG winrmshell: [WinRM] Command created for # Function to check whether machine is currently shutting down
function ShuttingDown {
[string]$sourceCode = @"
using System;
using System.Runtime.InteropServices;
namespace Vagrant {
public static class RemoteManager {
private const int SM_SHUTTINGDOWN = 0x2000;
[DllImport("User32.dll", CharSet = CharSet.Unicode)]
private static extern int GetSystemMetrics(int Index);
public static bool Shutdown() {
return (0 != GetSystemMetrics(SM_SHUTTINGDOWN));
}
}
}
"@
$type = Add-Type -TypeDefinition $sourceCode -PassThru
return $type::Shutdown()
}
if (ShuttingDown) {
exit 1
} else {
# See if a reboot is scheduled in the future by trying to schedule a reboot
. shutdown.exe -f -r -t 60
if ($LASTEXITCODE -eq 1190) {
# reboot is already pending
exit 2
}
if ($LASTEXITCODE -eq 1115) {
# A system shutdown is in progress
exit 2
}
# Remove the pending reboot we just created above
if ($LASTEXITCODE -eq 0) {
. shutdown.exe -a
}
}
# no reboot in progress or scheduled
exit 0
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: BA9B1044-E235-4848-911A-C56F69B19AD3
DEBUG winrmshell: [WinRM] creating command_id: BA9B1044-E235-4848-911A-C56F69B19AD3 on shell_id 6811C733-C3E7-40A2-82E0-AE761E5399C2
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: BA9B1044-E235-4848-911A-C56F69B19AD3 on shell_id 6811C733-C3E7-40A2-82E0-AE761E5399C2
DEBUG winrmshell: Output: #<WinRM::Output:0x00000000065c5570 @data=[], @exitcode=0>
DEBUG reboot: Issuing reboot command for guest
DEBUG winrm: powershell executing:
shutdown /r /t 5 /f /d p:4:1 /c "Vagrant Reboot Computer"
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] Endpoint doesn't support config request for MaxEnvelopsizekb
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000066840b0 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Version N=\"protocolversion\">2.3</Version><Version N=\"PSVersion\">2.0</Version><Version N=\"SerializationVersion\">1.1.0.1</Version></MS></Obj>", @destination=1, @type=65538, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x000000000667ed18 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Obj N=\"ApplicationPrivateData\" RefId=\"1\"><TN RefId=\"0\"><T>System.Management.Automation.PSPrimitiveDictionary</T><T>System.Collections.Hashtable</T><T>System.Object</T></TN><DCT><En><S N=\"Key\">BreakAll</S><B N=\"Value\">false</B></En><En><S N=\"Key\">DebugStop</S><B N=\"Value\">false</B></En><En><S N=\"Key\">UnhandledBreakpointMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">PSVersionTable</S><Obj N=\"Value\" RefId=\"2\"><TNRef RefId=\"0\" /><DCT><En><S N=\"Key\">PSVersion</S><Version N=\"Value\">5.1.17763.316</Version></En><En><S N=\"Key\">PSEdition</S><S N=\"Value\">Desktop</S></En><En><S N=\"Key\">PSCompatibleVersions</S><Obj N=\"Value\" RefId=\"3\"><TN RefId=\"1\"><T>System.Version[]</T><T>System.Array</T><T>System.Object</T></TN><LST><Version>1.0</Version><Version>2.0</Version><Version>3.0</Version><Version>4.0</Version><Version>5.0</Version><Version>5.1.17763.316</Version></LST></Obj></En><En><S N=\"Key\">CLRVersion</S><Version N=\"Value\">4.0.30319.42000</Version></En><En><S N=\"Key\">BuildVersion</S><Version N=\"Value\">10.0.17763.316</Version></En><En><S N=\"Key\">WSManStackVersion</S><Version N=\"Value\">3.0</Version></En><En><S N=\"Key\">PSRemotingProtocolVersion</S><Version N=\"Value\">2.3</Version></En><En><S N=\"Key\">SerializationVersion</S><Version N=\"Value\">1.1.0.1</Version></En></DCT></Obj></En><En><S N=\"Key\">DebugMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">DebugBreakpointCount</S><I32 N=\"Value\">0</I32></En></DCT></Obj></MS></Obj>", @destination=1, @type=135177, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x000000000658edb8 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><I32 N=\"RunspaceState\">2</I32></MS></Obj>", @destination=1, @type=135173, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] remote shell created with shell_id: CC5B4C12-81AD-4E16-B7B2-8B51768D395C
DEBUG winrmshell: [WinRM] Command created for shutdown /r /t 5 /f /d p:4:1 /c "Vagrant Reboot Computer"
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: 2064166B-0D3F-45F9-AEF6-6BFE8F52CEF5
DEBUG winrmshell: [WinRM] creating command_id: 2064166B-0D3F-45F9-AEF6-6BFE8F52CEF5 on shell_id CC5B4C12-81AD-4E16-B7B2-8B51768D395C
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 2064166B-0D3F-45F9-AEF6-6BFE8F52CEF5 on shell_id CC5B4C12-81AD-4E16-B7B2-8B51768D395C
DEBUG winrmshell: Output: #<WinRM::Output:0x0000000006479b30 @data=[], @exitcode=0>
INFO interface: info: Waiting for machine to reboot...
INFO interface: info: ==> win-worker: Waiting for machine to reboot...
==> win-worker: Waiting for machine to reboot...
DEBUG reboot: Waiting for machine to finish rebooting
INFO winrm: Checking whether WinRM is ready...
DEBUG provider: Searching for cap: winrm_info
DEBUG provider: Checking in: hyperv
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00000000047ae050>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000068df440>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000068df418>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000068df3f0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000068df350>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000068df300>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006843e00>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006843e00>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000068df300>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000068df350>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000068df3f0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000068df418>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000068df440>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"ip": "172.17.151.36"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
DEBUG provider: IP: 172.17.151.36
DEBUG winrmshell: initializing WinRMShell
INFO winrmshell: Attempting to connect to WinRM...
INFO winrmshell: - Host: 172.17.151.36
INFO winrmshell: - Port: 5985
INFO winrmshell: - Username: vagrant
INFO winrmshell: - Transport: negotiate
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 04CAB7C6-19BB-45C9-A3E5-4A9A330302FA
DEBUG winrmshell: [WinRM] Command created for hostname with id: 173EB458-A146-4C44-ABD8-444DB1AF3931
DEBUG winrmshell: [WinRM] creating command_id: 173EB458-A146-4C44-ABD8-444DB1AF3931 on shell_id 04CAB7C6-19BB-45C9-A3E5-4A9A330302FA
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 173EB458-A146-4C44-ABD8-444DB1AF3931 on shell_id 04CAB7C6-19BB-45C9-A3E5-4A9A330302FA
DEBUG winrmshell: Output: #<WinRM::Output:0x00000000067593c8 @data=[{:stdout=>"vagrant"}, {:stdout=>"\r\n"}], @exitcode=0>
INFO winrm: WinRM is ready!
DEBUG winrm: powershell executing:
# Function to check whether machine is currently shutting down
function ShuttingDown {
[string]$sourceCode = @"
using System;
using System.Runtime.InteropServices;
namespace Vagrant {
public static class RemoteManager {
private const int SM_SHUTTINGDOWN = 0x2000;
[DllImport("User32.dll", CharSet = CharSet.Unicode)]
private static extern int GetSystemMetrics(int Index);
public static bool Shutdown() {
return (0 != GetSystemMetrics(SM_SHUTTINGDOWN));
}
}
}
"@
$type = Add-Type -TypeDefinition $sourceCode -PassThru
return $type::Shutdown()
}
if (ShuttingDown) {
exit 1
} else {
# See if a reboot is scheduled in the future by trying to schedule a reboot
. shutdown.exe -f -r -t 60
if ($LASTEXITCODE -eq 1190) {
# reboot is already pending
exit 2
}
if ($LASTEXITCODE -eq 1115) {
# A system shutdown is in progress
exit 2
}
# Remove the pending reboot we just created above
if ($LASTEXITCODE -eq 0) {
. shutdown.exe -a
}
}
# no reboot in progress or scheduled
exit 0
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] Endpoint doesn't support config request for MaxEnvelopsizekb
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x0000000006703400 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Version N=\"protocolversion\">2.3</Version><Version N=\"PSVersion\">2.0</Version><Version N=\"SerializationVersion\">1.1.0.1</Version></MS></Obj>", @destination=1, @type=65538, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x0000000006701ba0 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Obj N=\"ApplicationPrivateData\" RefId=\"1\"><TN RefId=\"0\"><T>System.Management.Automation.PSPrimitiveDictionary</T><T>System.Collections.Hashtable</T><T>System.Object</T></TN><DCT><En><S N=\"Key\">BreakAll</S><B N=\"Value\">false</B></En><En><S N=\"Key\">DebugStop</S><B N=\"Value\">false</B></En><En><S N=\"Key\">UnhandledBreakpointMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">PSVersionTable</S><Obj N=\"Value\" RefId=\"2\"><TNRef RefId=\"0\" /><DCT><En><S N=\"Key\">PSVersion</S><Version N=\"Value\">5.1.17763.316</Version></En><En><S N=\"Key\">PSEdition</S><S N=\"Value\">Desktop</S></En><En><S N=\"Key\">PSCompatibleVersions</S><Obj N=\"Value\" RefId=\"3\"><TN RefId=\"1\"><T>System.Version[]</T><T>System.Array</T><T>System.Object</T></TN><LST><Version>1.0</Version><Version>2.0</Version><Version>3.0</Version><Version>4.0</Version><Version>5.0</Version><Version>5.1.17763.316</Version></LST></Obj></En><En><S N=\"Key\">CLRVersion</S><Version N=\"Value\">4.0.30319.42000</Version></En><En><S N=\"Key\">BuildVersion</S><Version N=\"Value\">10.0.17763.316</Version></En><En><S N=\"Key\">WSManStackVersion</S><Version N=\"Value\">3.0</Version></En><En><S N=\"Key\">PSRemotingProtocolVersion</S><Version N=\"Value\">2.3</Version></En><En><S N=\"Key\">SerializationVersion</S><Version N=\"Value\">1.1.0.1</Version></En></DCT></Obj></En><En><S N=\"Key\">DebugMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">DebugBreakpointCount</S><I32 N=\"Value\">0</I32></En></DCT></Obj></MS></Obj>", @destination=1, @type=135177, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000065be6d0 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><I32 N=\"RunspaceState\">2</I32></MS></Obj>", @destination=1, @type=135173, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 123D8EAB-45B5-4514-9FA9-32D95BA77FEB
DEBUG winrmshell: [WinRM] Command created for # Function to check whether machine is currently shutting down
function ShuttingDown {
[string]$sourceCode = @"
using System;
using System.Runtime.InteropServices;
namespace Vagrant {
public static class RemoteManager {
private const int SM_SHUTTINGDOWN = 0x2000;
[DllImport("User32.dll", CharSet = CharSet.Unicode)]
private static extern int GetSystemMetrics(int Index);
public static bool Shutdown() {
return (0 != GetSystemMetrics(SM_SHUTTINGDOWN));
}
}
}
"@
$type = Add-Type -TypeDefinition $sourceCode -PassThru
return $type::Shutdown()
}
if (ShuttingDown) {
exit 1
} else {
# See if a reboot is scheduled in the future by trying to schedule a reboot
. shutdown.exe -f -r -t 60
if ($LASTEXITCODE -eq 1190) {
# reboot is already pending
exit 2
}
if ($LASTEXITCODE -eq 1115) {
# A system shutdown is in progress
exit 2
}
# Remove the pending reboot we just created above
if ($LASTEXITCODE -eq 0) {
. shutdown.exe -a
}
}
# no reboot in progress or scheduled
exit 0
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: 85C29302-9BF5-4D0D-938F-C304C7626C0C
DEBUG winrmshell: [WinRM] creating command_id: 85C29302-9BF5-4D0D-938F-C304C7626C0C on shell_id 123D8EAB-45B5-4514-9FA9-32D95BA77FEB
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 85C29302-9BF5-4D0D-938F-C304C7626C0C on shell_id 123D8EAB-45B5-4514-9FA9-32D95BA77FEB
DEBUG winrmshell: Output: #<WinRM::Output:0x00000000064a1e78 @data=[{:stderr=>"shutdown.exe : A system shutdown has already been scheduled.(1190)\n + CategoryInfo : NotSpecified: (A system shutdo...cheduled.(1190):String) [], RemoteException\n + FullyQualifiedErrorId : NativeCommandError\n"}], @exitcode=2>
INFO winrm: Checking whether WinRM is ready...
DEBUG provider: Searching for cap: winrm_info
DEBUG provider: Checking in: hyperv
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x0000000006392500>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000050810b0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000005081060>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005080fe8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005080e58>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000005080e08>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004f7f748>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004f7f748>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000005080e08>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005080e58>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005080fe8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000005081060>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000050810b0>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"ip": "172.17.151.36"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31998
DEBUG subprocess: Exit status: 0
DEBUG provider: IP: 172.17.151.36
DEBUG winrmshell: initializing WinRMShell
INFO winrmshell: Attempting to connect to WinRM...
INFO winrmshell: - Host: 172.17.151.36
INFO winrmshell: - Port: 5985
INFO winrmshell: - Username: vagrant
INFO winrmshell: - Transport: negotiate
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 9F4B4537-0B6B-4BF2-995F-022F6F0CBFFB
DEBUG winrmshell: [WinRM] Command created for hostname with id: 013CA4AF-6D8E-4A07-94EC-36366E10C69D
DEBUG winrmshell: [WinRM] creating command_id: 013CA4AF-6D8E-4A07-94EC-36366E10C69D on shell_id 9F4B4537-0B6B-4BF2-995F-022F6F0CBFFB
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 013CA4AF-6D8E-4A07-94EC-36366E10C69D on shell_id 9F4B4537-0B6B-4BF2-995F-022F6F0CBFFB
DEBUG winrmshell: Output: #<WinRM::Output:0x00000000063c9fa0 @data=[{:stdout=>"win-worker"}, {:stdout=>"\r\n"}], @exitcode=0>
INFO winrm: WinRM is ready!
DEBUG winrm: powershell executing:
# Function to check whether machine is currently shutting down
function ShuttingDown {
[string]$sourceCode = @"
using System;
using System.Runtime.InteropServices;
namespace Vagrant {
public static class RemoteManager {
private const int SM_SHUTTINGDOWN = 0x2000;
[DllImport("User32.dll", CharSet = CharSet.Unicode)]
private static extern int GetSystemMetrics(int Index);
public static bool Shutdown() {
return (0 != GetSystemMetrics(SM_SHUTTINGDOWN));
}
}
}
"@
$type = Add-Type -TypeDefinition $sourceCode -PassThru
return $type::Shutdown()
}
if (ShuttingDown) {
exit 1
} else {
# See if a reboot is scheduled in the future by trying to schedule a reboot
. shutdown.exe -f -r -t 60
if ($LASTEXITCODE -eq 1190) {
# reboot is already pending
exit 2
}
if ($LASTEXITCODE -eq 1115) {
# A system shutdown is in progress
exit 2
}
# Remove the pending reboot we just created above
if ($LASTEXITCODE -eq 0) {
. shutdown.exe -a
}
}
# no reboot in progress or scheduled
exit 0
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] Endpoint doesn't support config request for MaxEnvelopsizekb
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x0000000004e5b0d8 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Version N=\"protocolversion\">2.3</Version><Version N=\"PSVersion\">2.0</Version><Version N=\"SerializationVersion\">1.1.0.1</Version></MS></Obj>", @destination=1, @type=65538, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x0000000004e59d78 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Obj N=\"ApplicationPrivateData\" RefId=\"1\"><TN RefId=\"0\"><T>System.Management.Automation.PSPrimitiveDictionary</T><T>System.Collections.Hashtable</T><T>System.Object</T></TN><DCT><En><S N=\"Key\">BreakAll</S><B N=\"Value\">false</B></En><En><S N=\"Key\">DebugStop</S><B N=\"Value\">false</B></En><En><S N=\"Key\">UnhandledBreakpointMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">PSVersionTable</S><Obj N=\"Value\" RefId=\"2\"><TNRef RefId=\"0\" /><DCT><En><S N=\"Key\">PSVersion</S><Version N=\"Value\">5.1.17763.316</Version></En><En><S N=\"Key\">PSEdition</S><S N=\"Value\">Desktop</S></En><En><S N=\"Key\">PSCompatibleVersions</S><Obj N=\"Value\" RefId=\"3\"><TN RefId=\"1\"><T>System.Version[]</T><T>System.Array</T><T>System.Object</T></TN><LST><Version>1.0</Version><Version>2.0</Version><Version>3.0</Version><Version>4.0</Version><Version>5.0</Version><Version>5.1.17763.316</Version></LST></Obj></En><En><S N=\"Key\">CLRVersion</S><Version N=\"Value\">4.0.30319.42000</Version></En><En><S N=\"Key\">BuildVersion</S><Version N=\"Value\">10.0.17763.316</Version></En><En><S N=\"Key\">WSManStackVersion</S><Version N=\"Value\">3.0</Version></En><En><S N=\"Key\">PSRemotingProtocolVersion</S><Version N=\"Value\">2.3</Version></En><En><S N=\"Key\">SerializationVersion</S><Version N=\"Value\">1.1.0.1</Version></En></DCT></Obj></En><En><S N=\"Key\">DebugMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">DebugBreakpointCount</S><I32 N=\"Value\">0</I32></En></DCT></Obj></MS></Obj>", @destination=1, @type=135177, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x000000000541ff78 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><I32 N=\"RunspaceState\">2</I32></MS></Obj>", @destination=1, @type=135173, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 6ED56277-D29B-4834-BCE7-77D8F0F5FF3D
DEBUG winrmshell: [WinRM] Command created for # Function to check whether machine is currently shutting down
function ShuttingDown {
[string]$sourceCode = @"
using System;
using System.Runtime.InteropServices;
namespace Vagrant {
public static class RemoteManager {
private const int SM_SHUTTINGDOWN = 0x2000;
[DllImport("User32.dll", CharSet = CharSet.Unicode)]
private static extern int GetSystemMetrics(int Index);
public static bool Shutdown() {
return (0 != GetSystemMetrics(SM_SHUTTINGDOWN));
}
}
}
"@
$type = Add-Type -TypeDefinition $sourceCode -PassThru
return $type::Shutdown()
}
if (ShuttingDown) {
exit 1
} else {
# See if a reboot is scheduled in the future by trying to schedule a reboot
. shutdown.exe -f -r -t 60
if ($LASTEXITCODE -eq 1190) {
# reboot is already pending
exit 2
}
if ($LASTEXITCODE -eq 1115) {
# A system shutdown is in progress
exit 2
}
# Remove the pending reboot we just created above
if ($LASTEXITCODE -eq 0) {
. shutdown.exe -a
}
}
# no reboot in progress or scheduled
exit 0
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: 365537E3-6E2F-4827-91B7-1171A757D828
DEBUG winrmshell: [WinRM] creating command_id: 365537E3-6E2F-4827-91B7-1171A757D828 on shell_id 6ED56277-D29B-4834-BCE7-77D8F0F5FF3D
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 365537E3-6E2F-4827-91B7-1171A757D828 on shell_id 6ED56277-D29B-4834-BCE7-77D8F0F5FF3D
DEBUG winrmshell: Output: #<WinRM::Output:0x0000000005039d50 @data=[], @exitcode=0>
DEBUG winrm: powershell executing:
net use
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] Endpoint doesn't support config request for MaxEnvelopsizekb
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x000000000509b3e8 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Version N=\"protocolversion\">2.3</Version><Version N=\"PSVersion\">2.0</Version><Version N=\"SerializationVersion\">1.1.0.1</Version></MS></Obj>", @destination=1, @type=65538, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000050919d8 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Obj N=\"ApplicationPrivateData\" RefId=\"1\"><TN RefId=\"0\"><T>System.Management.Automation.PSPrimitiveDictionary</T><T>System.Collections.Hashtable</T><T>System.Object</T></TN><DCT><En><S N=\"Key\">BreakAll</S><B N=\"Value\">false</B></En><En><S N=\"Key\">DebugStop</S><B N=\"Value\">false</B></En><En><S N=\"Key\">UnhandledBreakpointMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">PSVersionTable</S><Obj N=\"Value\" RefId=\"2\"><TNRef RefId=\"0\" /><DCT><En><S N=\"Key\">PSVersion</S><Version N=\"Value\">5.1.17763.316</Version></En><En><S N=\"Key\">PSEdition</S><S N=\"Value\">Desktop</S></En><En><S N=\"Key\">PSCompatibleVersions</S><Obj N=\"Value\" RefId=\"3\"><TN RefId=\"1\"><T>System.Version[]</T><T>System.Array</T><T>System.Object</T></TN><LST><Version>1.0</Version><Version>2.0</Version><Version>3.0</Version><Version>4.0</Version><Version>5.0</Version><Version>5.1.17763.316</Version></LST></Obj></En><En><S N=\"Key\">CLRVersion</S><Version N=\"Value\">4.0.30319.42000</Version></En><En><S N=\"Key\">BuildVersion</S><Version N=\"Value\">10.0.17763.316</Version></En><En><S N=\"Key\">WSManStackVersion</S><Version N=\"Value\">3.0</Version></En><En><S N=\"Key\">PSRemotingProtocolVersion</S><Version N=\"Value\">2.3</Version></En><En><S N=\"Key\">SerializationVersion</S><Version N=\"Value\">1.1.0.1</Version></En></DCT></Obj></En><En><S N=\"Key\">DebugMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">DebugBreakpointCount</S><I32 N=\"Value\">0</I32></En></DCT></Obj></MS></Obj>", @destination=1, @type=135177, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000046d4c88 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><I32 N=\"RunspaceState\">2</I32></MS></Obj>", @destination=1, @type=135173, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 5E919574-E566-445B-8A79-3B2FD8D62110
DEBUG winrmshell: [WinRM] Command created for net use
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: FC4AB016-8B32-4B03-9134-52E4A1655841
DEBUG winrmshell: [WinRM] creating command_id: FC4AB016-8B32-4B03-9134-52E4A1655841 on shell_id 5E919574-E566-445B-8A79-3B2FD8D62110
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: FC4AB016-8B32-4B03-9134-52E4A1655841 on shell_id 5E919574-E566-445B-8A79-3B2FD8D62110
DEBUG winrmshell: Output: #<WinRM::Output:0x000000000690c4e0 @data=[{:stdout=>"New connections will be remembered.\r\n"}, {:stdout=>"\r\n"}, {:stdout=>"There are no entries in the list.\r\n"}, {:stdout=>"\r\n"}], @exitcode=0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::SetHostname:0x00000000052c12f8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000052c1348>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000052c13e8>
INFO synced_folders: Invoking synced folder enable: smb
INFO interface: output: Mounting SMB shared folders...
INFO interface: output: ==> win-worker: Mounting SMB shared folders...
==> win-worker: Mounting SMB shared folders...
INFO winrm: Checking whether WinRM is ready...
DEBUG provider: Searching for cap: winrm_info
DEBUG provider: Checking in: hyperv
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00000000064f3368>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000063a83c8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000063a83a0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000063a8378>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000063a8300>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000063a82d8>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004e5b920>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004e5b920>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000063a82d8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000063a8300>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000063a8378>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000063a83a0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000063a83c8>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"ip": "172.17.151.36"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
DEBUG provider: IP: 172.17.151.36
DEBUG winrmshell: initializing WinRMShell
INFO winrmshell: Attempting to connect to WinRM...
INFO winrmshell: - Host: 172.17.151.36
INFO winrmshell: - Port: 5985
INFO winrmshell: - Username: vagrant
INFO winrmshell: - Transport: negotiate
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] remote shell created with shell_id: B4AC74A7-294E-4289-A2B9-B120BD4EFC85
DEBUG winrmshell: [WinRM] Command created for hostname with id: B965AE4C-6FC3-47AC-B875-BEC1FEB34CBA
DEBUG winrmshell: [WinRM] creating command_id: B965AE4C-6FC3-47AC-B875-BEC1FEB34CBA on shell_id B4AC74A7-294E-4289-A2B9-B120BD4EFC85
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: B965AE4C-6FC3-47AC-B875-BEC1FEB34CBA on shell_id B4AC74A7-294E-4289-A2B9-B120BD4EFC85
DEBUG winrmshell: Output: #<WinRM::Output:0x000000000663acf8 @data=[{:stdout=>"win-worker"}, {:stdout=>"\r\n"}], @exitcode=0>
INFO winrm: WinRM is ready!
DEBUG guest: Searching for cap: mount_smb_shared_folder
DEBUG guest: Checking in: windows
DEBUG guest: Found cap: mount_smb_shared_folder in windows
INFO winrm: Checking whether WinRM is ready...
DEBUG provider: Searching for cap: winrm_info
DEBUG provider: Checking in: hyperv
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x000000000543c560>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000047f77c8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000047f7700>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000047f7660>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000047f6e18>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000047f6b48>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000042098e8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000042098e8>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000047f6b48>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000047f6e18>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000047f7660>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000047f7700>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000047f77c8>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"ip": "172.17.151.36"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
DEBUG provider: IP: 172.17.151.36
DEBUG winrmshell: initializing WinRMShell
INFO winrmshell: Attempting to connect to WinRM...
INFO winrmshell: - Host: 172.17.151.36
INFO winrmshell: - Port: 5985
INFO winrmshell: - Username: vagrant
INFO winrmshell: - Transport: negotiate
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 9A391EC4-6B77-4A60-8BEE-5B40B615C2DB
DEBUG winrmshell: [WinRM] Command created for hostname with id: A8701A32-F097-4F87-856E-86E58AE81E0E
DEBUG winrmshell: [WinRM] creating command_id: A8701A32-F097-4F87-856E-86E58AE81E0E on shell_id 9A391EC4-6B77-4A60-8BEE-5B40B615C2DB
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: A8701A32-F097-4F87-856E-86E58AE81E0E on shell_id 9A391EC4-6B77-4A60-8BEE-5B40B615C2DB
DEBUG winrmshell: Output: #<WinRM::Output:0x000000000668f8e8 @data=[{:stdout=>"win-worker"}, {:stdout=>"\r\n"}], @exitcode=0>
INFO winrm: WinRM is ready!
DEBUG guest: Searching for cap: smb_install
DEBUG guest: Checking in: windows
DEBUG host: Searching for cap: configured_ip_addresses
DEBUG host: Checking in: windows
DEBUG host: Found cap: configured_ip_addresses in windows
INFO host: Execute capability: configured_ip_addresses [#<Vagrant::Environment: E:/Users/mbergal/Projects/VagrantBug>] (windows)
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "&('C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/hosts/windows/scripts/host_info.ps1')"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: {
"ip_addresses": [
"172.17.151.33",
"172.21.176.1",
"192.168.78.164",
"fe80::5ddd:c01f:60f4:ec9%9",
"fe80::a8b3:fc81:66f:8012%24",
"fe80::fccb:7c78:f755:b19e%13"
]
}
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
DEBUG smb: Potential host IPs: ["172.17.151.33", "172.21.176.1", "192.168.78.164", "fe80::5ddd:c01f:60f4:ec9%9", "fe80::a8b3:fc81:66f:8012%24", "fe80::fccb:7c78:f755:b19e%13"]
INFO winrm: Checking whether WinRM is ready...
DEBUG provider: Searching for cap: winrm_info
DEBUG provider: Checking in: hyperv
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x0000000005198b88>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000003e5d2d0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000003e5cec0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000003e5ce98>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000003e5c600>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000003e5c5b0>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006937b90>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006937b90>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000003e5c5b0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000003e5c600>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000003e5ce98>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000003e5cec0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000003e5d2d0>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"ip": "172.17.151.36"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
DEBUG provider: IP: 172.17.151.36
DEBUG winrmshell: initializing WinRMShell
INFO winrmshell: Attempting to connect to WinRM...
INFO winrmshell: - Host: 172.17.151.36
INFO winrmshell: - Port: 5985
INFO winrmshell: - Username: vagrant
INFO winrmshell: - Transport: negotiate
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 65EF08AC-994B-4487-BF4D-5D7A1526197B
DEBUG winrmshell: [WinRM] Command created for hostname with id: 083C77D9-58BE-4495-8FBD-35AC1CDCA659
DEBUG winrmshell: [WinRM] creating command_id: 083C77D9-58BE-4495-8FBD-35AC1CDCA659 on shell_id 65EF08AC-994B-4487-BF4D-5D7A1526197B
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 083C77D9-58BE-4495-8FBD-35AC1CDCA659 on shell_id 65EF08AC-994B-4487-BF4D-5D7A1526197B
DEBUG winrmshell: Output: #<WinRM::Output:0x0000000004ebc5e0 @data=[{:stdout=>"win-worker"}, {:stdout=>"\r\n"}], @exitcode=0>
INFO winrm: WinRM is ready!
DEBUG guest: Searching for cap: choose_addressable_ip_addr
DEBUG guest: Checking in: windows
DEBUG guest: Found cap: choose_addressable_ip_addr in windows
INFO guest: Execute capability: choose_addressable_ip_addr [#<Vagrant::Machine: win-worker (VagrantPlugins::HyperV::Provider)>, ["172.17.151.33", "172.21.176.1", "192.168.78.164", "fe80::5ddd:c01f:60f4:ec9%9", "fe80::a8b3:fc81:66f:8012%24", "fe80::fccb:7c78:f755:b19e%13"]] (windows)
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] Endpoint doesn't support config request for MaxEnvelopsizekb
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x000000000691eb68 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Version N=\"protocolversion\">2.3</Version><Version N=\"PSVersion\">2.0</Version><Version N=\"SerializationVersion\">1.1.0.1</Version></MS></Obj>", @destination=1, @type=65538, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x000000000691d880 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Obj N=\"ApplicationPrivateData\" RefId=\"1\"><TN RefId=\"0\"><T>System.Management.Automation.PSPrimitiveDictionary</T><T>System.Collections.Hashtable</T><T>System.Object</T></TN><DCT><En><S N=\"Key\">BreakAll</S><B N=\"Value\">false</B></En><En><S N=\"Key\">DebugStop</S><B N=\"Value\">false</B></En><En><S N=\"Key\">UnhandledBreakpointMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">PSVersionTable</S><Obj N=\"Value\" RefId=\"2\"><TNRef RefId=\"0\" /><DCT><En><S N=\"Key\">PSVersion</S><Version N=\"Value\">5.1.17763.316</Version></En><En><S N=\"Key\">PSEdition</S><S N=\"Value\">Desktop</S></En><En><S N=\"Key\">PSCompatibleVersions</S><Obj N=\"Value\" RefId=\"3\"><TN RefId=\"1\"><T>System.Version[]</T><T>System.Array</T><T>System.Object</T></TN><LST><Version>1.0</Version><Version>2.0</Version><Version>3.0</Version><Version>4.0</Version><Version>5.0</Version><Version>5.1.17763.316</Version></LST></Obj></En><En><S N=\"Key\">CLRVersion</S><Version N=\"Value\">4.0.30319.42000</Version></En><En><S N=\"Key\">BuildVersion</S><Version N=\"Value\">10.0.17763.316</Version></En><En><S N=\"Key\">WSManStackVersion</S><Version N=\"Value\">3.0</Version></En><En><S N=\"Key\">PSRemotingProtocolVersion</S><Version N=\"Value\">2.3</Version></En><En><S N=\"Key\">SerializationVersion</S><Version N=\"Value\">1.1.0.1</Version></En></DCT></Obj></En><En><S N=\"Key\">DebugMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">DebugBreakpointCount</S><I32 N=\"Value\">0</I32></En></DCT></Obj></MS></Obj>", @destination=1, @type=135177, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000067ffbd8 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><I32 N=\"RunspaceState\">2</I32></MS></Obj>", @destination=1, @type=135173, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 839100C3-A07C-4BB8-9BBB-63A373700879
DEBUG winrmshell: [WinRM] Command created for ping -n 1 -w 1 172.17.151.33
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: F02CEC0F-1190-4A04-B87D-1952E4776125
DEBUG winrmshell: [WinRM] creating command_id: F02CEC0F-1190-4A04-B87D-1952E4776125 on shell_id 839100C3-A07C-4BB8-9BBB-63A373700879
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: F02CEC0F-1190-4A04-B87D-1952E4776125 on shell_id 839100C3-A07C-4BB8-9BBB-63A373700879
DEBUG winrmshell: Output: #<WinRM::Output:0x0000000006271b80 @data=[{:stdout=>"\r\n"}, {:stdout=>"Pinging 172.17.151.33 with 32 bytes of data:\r\n"}, {:stdout=>"Reply from 172.17.151.33: bytes=32 time<1ms TTL=128\r\n"}, {:stdout=>"\r\n"}, {:stdout=>"Ping statistics for 172.17.151.33:\r\n"}, {:stdout=>" Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),\r\n"}, {:stdout=>"Approximate round trip times in milli-seconds:\r\n"}, {:stdout=>" Minimum = 0ms, Maximum = 0ms, Average = 0ms\r\n"}], @exitcode=0>
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00000000054272f0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000047a7458>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000047a73e0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000047a7340>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000047a6f58>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000047a6710>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004425ed8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004425ed8>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000047a6710>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000047a6f58>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000047a7340>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000047a73e0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000047a7458>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"ip": "172.17.151.36"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
DEBUG provider: IP: 172.17.151.36
INFO interface: detail: E:/Users/mbergal/Projects/VagrantBug => /vagrant
INFO interface: detail: win-worker: E:/Users/mbergal/Projects/VagrantBug => /vagrant
win-worker: E:/Users/mbergal/Projects/VagrantBug => /vagrant
INFO winrm: Checking whether WinRM is ready...
DEBUG provider: Searching for cap: winrm_info
DEBUG provider: Checking in: hyperv
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x000000000646a360>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000637bfa8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x000000000637bf80>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000637bf08>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000637be40>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x000000000637bdf0>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005415c30>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005415c30>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x000000000637bdf0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000637be40>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000637bf08>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x000000000637bf80>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000637bfa8>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"ip": "172.17.151.36"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
DEBUG provider: IP: 172.17.151.36
DEBUG winrmshell: initializing WinRMShell
INFO winrmshell: Attempting to connect to WinRM...
INFO winrmshell: - Host: 172.17.151.36
INFO winrmshell: - Port: 5985
INFO winrmshell: - Username: vagrant
INFO winrmshell: - Transport: negotiate
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 57C3115B-B5C6-40A6-907E-587F277AA201
DEBUG winrmshell: [WinRM] Command created for hostname with id: BB020A5A-CB82-4995-921D-459EAF15981B
DEBUG winrmshell: [WinRM] creating command_id: BB020A5A-CB82-4995-921D-459EAF15981B on shell_id 57C3115B-B5C6-40A6-907E-587F277AA201
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: BB020A5A-CB82-4995-921D-459EAF15981B on shell_id 57C3115B-B5C6-40A6-907E-587F277AA201
DEBUG winrmshell: Output: #<WinRM::Output:0x00000000064616c0 @data=[{:stdout=>"win-worker"}, {:stdout=>"\r\n"}], @exitcode=0>
INFO winrm: WinRM is ready!
DEBUG guest: Searching for cap: mount_smb_shared_folder
DEBUG guest: Checking in: windows
DEBUG guest: Found cap: mount_smb_shared_folder in windows
INFO guest: Execute capability: mount_smb_shared_folder [#<Vagrant::Machine: win-worker (VagrantPlugins::HyperV::Provider)>, "vgt-5b4a3bcbaad33db064777add241f6cbd-6ad5fdbcbf2eaa93bd62f92333a2e6e5", "/vagrant", {:type=>:smb, :smb_password=>"*****", :smb_username=>"EYEDIAGNOSIS\\mbergal", :guestpath=>"/vagrant", :hostpath=>"E:/Users/mbergal/Projects/VagrantBug", :disabled=>false, :mount_options=>["vers=3"], :__vagrantfile=>true, :smb_id=>"vgt-5b4a3bcbaad33db064777add241f6cbd-6ad5fdbcbf2eaa93bd62f92333a2e6e5", :smb_host=>"172.17.151.33", :owner=>"vagrant", :group=>"vagrant"}] (windows)
DEBUG winrm: elevated executing:
cmdkey /add:172.17.151.33 /user:EYEDIAGNOSIS\mbergal /pass:"*****"
DEBUG winrmshell: creating hash for file c:/windows/temp/winrm-elevated-shell-cd86df1c-30fc-4ee1-b4b1-019b34c9c4b2.ps1
DEBUG winrmshell: Running check_files.ps1
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] Endpoint doesn't support config request for MaxEnvelopsizekb
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x0000000004e10718 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Version N=\"protocolversion\">2.3</Version><Version N=\"PSVersion\">2.0</Version><Version N=\"SerializationVersion\">1.1.0.1</Version></MS></Obj>", @destination=1, @type=65538, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x0000000004e1b050 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Obj N=\"ApplicationPrivateData\" RefId=\"1\"><TN RefId=\"0\"><T>System.Management.Automation.PSPrimitiveDictionary</T><T>System.Collections.Hashtable</T><T>System.Object</T></TN><DCT><En><S N=\"Key\">BreakAll</S><B N=\"Value\">false</B></En><En><S N=\"Key\">DebugStop</S><B N=\"Value\">false</B></En><En><S N=\"Key\">UnhandledBreakpointMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">PSVersionTable</S><Obj N=\"Value\" RefId=\"2\"><TNRef RefId=\"0\" /><DCT><En><S N=\"Key\">PSVersion</S><Version N=\"Value\">5.1.17763.316</Version></En><En><S N=\"Key\">PSEdition</S><S N=\"Value\">Desktop</S></En><En><S N=\"Key\">PSCompatibleVersions</S><Obj N=\"Value\" RefId=\"3\"><TN RefId=\"1\"><T>System.Version[]</T><T>System.Array</T><T>System.Object</T></TN><LST><Version>1.0</Version><Version>2.0</Version><Version>3.0</Version><Version>4.0</Version><Version>5.0</Version><Version>5.1.17763.316</Version></LST></Obj></En><En><S N=\"Key\">CLRVersion</S><Version N=\"Value\">4.0.30319.42000</Version></En><En><S N=\"Key\">BuildVersion</S><Version N=\"Value\">10.0.17763.316</Version></En><En><S N=\"Key\">WSManStackVersion</S><Version N=\"Value\">3.0</Version></En><En><S N=\"Key\">PSRemotingProtocolVersion</S><Version N=\"Value\">2.3</Version></En><En><S N=\"Key\">SerializationVersion</S><Version N=\"Value\">1.1.0.1</Version></En></DCT></Obj></En><En><S N=\"Key\">DebugMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">DebugBreakpointCount</S><I32 N=\"Value\">0</I32></En></DCT></Obj></MS></Obj>", @destination=1, @type=135177, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x0000000005264ee0 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><I32 N=\"RunspaceState\">2</I32></MS></Obj>", @destination=1, @type=135173, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 63231D43-86B7-4F0D-A88B-086E51F8AC45
DEBUG winrmshell: [WinRM] Command created for $hash_file = @{
"859716bd629dc3b11b98b9ee3a3e87059cd07264" = @{
"target" = "c:/windows/temp/winrm-elevated-shell-cd86df1c-30fc-4ee1-b4b1-019b34c9c4b2.ps1";
"src_basename" = "winrm-elevated-shell20190528-6572-1azk3d1ps1";
"dst" = "c:/windows/temp/winrm-elevated-shell-cd86df1c-30fc-4ee1-b4b1-019b34c9c4b2.ps1"
}
}
Function Cleanup($disposable) {
if (($disposable -ne $null) -and ($disposable.GetType().GetMethod("Dispose") -ne $null)) {
$disposable.Dispose()
}
}
Function Check-Files($h) {
return $h.GetEnumerator() | ForEach-Object {
$dst = Unresolve-Path $_.Value.target
$dst_changed = $false
if(Test-Path $dst -PathType Container) {
$dst_changed = $true
$dst = Join-Path $dst $_.Value.src_basename
}
New-Object psobject -Property @{
chk_exists = ($exists = Test-Path $dst -PathType Leaf)
src_sha1 = ($sMd5 = $_.Key)
dst_sha1 = ($dMd5 = if ($exists) { Get-SHA1Sum $dst } else { $null })
chk_dirty = ($dirty = if ($sMd5 -ne $dMd5) { $true } else { $false })
verifies = if ($dirty -eq $false) { $true } else { $false }
target_is_folder = $dst_changed
}
} | Select-Object -Property chk_exists,src_sha1,dst_sha1,chk_dirty,verifies,target_is_folder
}
Function Get-SHA1Sum($src) {
Try {
$c = [System.Security.Cryptography.SHA1]::Create()
$bytes = $c.ComputeHash(($in = (Get-Item $src).OpenRead()))
return ([System.BitConverter]::ToString($bytes)).Replace("-", "").ToLower()
}
Finally {
Cleanup $c
Cleanup $in
}
}
Function Unresolve-Path($path) {
if ($path -eq $null) {
return $null
}
else {
return $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($path)
}
}
Check-Files $hash_file | ConvertTo-Csv -NoTypeInformation
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: 8705B35F-D823-43AE-B915-67DF76C269EA
DEBUG winrmshell: [WinRM] creating command_id: 8705B35F-D823-43AE-B915-67DF76C269EA on shell_id 63231D43-86B7-4F0D-A88B-086E51F8AC45
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 8705B35F-D823-43AE-B915-67DF76C269EA on shell_id 63231D43-86B7-4F0D-A88B-086E51F8AC45
DEBUG winrmshell: Parsing CSV Response
DEBUG winrmshell: "chk_exists","src_sha1","dst_sha1","chk_dirty","verifies","target_is_folder"
"False","859716bd629dc3b11b98b9ee3a3e87059cd07264",,"True","False","False"
DEBUG winrmshell: Uploading C:/Users/mbergal/AppData/Local/Temp/winrm-elevated-shell20190528-6572-1azk3d1ps1 to c:/windows/temp/winrm-elevated-shell-cd86df1c-30fc-4ee1-b4b1-019b34c9c4b2.ps1
DEBUG winrmshell: [WinRM] Command created for $to = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("c:/windows/temp/winrm-elevated-shell-cd86df1c-30fc-4ee1-b4b1-019b34c9c4b2.ps1")
$parent = Split-Path $to
if(!(Test-path $parent)) { mkdir $parent | Out-Null }
$fileStream = New-Object -TypeName System.IO.FileStream -ArgumentList @(
$to,
[system.io.filemode]::Create,
[System.io.FileAccess]::Write,
[System.IO.FileShare]::ReadWrite
)
# Powershell caches ScrpitBlocks in a dictionary
# keyed on the script block text. Thats just great
# unless the script is super large and called a gillion
# times like we might do. In such a case it will saturate the
# Large Object Heap and lead to Out Of Memory exceptions
# for large files or folders. So we call the internal method
# ClearScriptBlockCache to clear it.
$bindingFlags= [Reflection.BindingFlags] "NonPublic,Static"
$method = [scriptblock].GetMethod("ClearScriptBlockCache", $bindingFlags)
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: F68B9D6B-13BE-4CA7-9400-41331EF46611
DEBUG winrmshell: [WinRM] creating command_id: F68B9D6B-13BE-4CA7-9400-41331EF46611 on shell_id 63231D43-86B7-4F0D-A88B-086E51F8AC45
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: F68B9D6B-13BE-4CA7-9400-41331EF46611 on shell_id 63231D43-86B7-4F0D-A88B-086E51F8AC45
DEBUG winrmshell: [WinRM] Command created for if($method) { $method.Invoke($Null, $Null) }
$bytes=[Convert]::FromBase64String('Y21ka2V5IC9hZGQ6MTcyLjE3LjE1MS4zMyAvdXNlcjpFWUVESUFHTk9TSVNcbWJlcmdhbCAvcGFzczoiS2lsY2hvbWFuLklzbGF5LjIzIg0NCiRIb3N0LlNldFNob3VsZEV4aXQoJExBU1RFWElUQ09ERSk=')
$fileStream.Write($bytes, 0, $bytes.length)
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: E199DDD2-DF94-4C7A-8D83-889DF6B4FE02
DEBUG winrmshell: [WinRM] creating command_id: E199DDD2-DF94-4C7A-8D83-889DF6B4FE02 on shell_id 63231D43-86B7-4F0D-A88B-086E51F8AC45
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: E199DDD2-DF94-4C7A-8D83-889DF6B4FE02 on shell_id 63231D43-86B7-4F0D-A88B-086E51F8AC45
DEBUG winrmshell: [WinRM] Command created for $fileStream.Dispose()
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: E4280024-B293-49C3-9F3C-674D7FEFA10C
DEBUG winrmshell: [WinRM] creating command_id: E4280024-B293-49C3-9F3C-674D7FEFA10C on shell_id 63231D43-86B7-4F0D-A88B-086E51F8AC45
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: E4280024-B293-49C3-9F3C-674D7FEFA10C on shell_id 63231D43-86B7-4F0D-A88B-086E51F8AC45
DEBUG winrmshell: Finished uploading C:/Users/mbergal/AppData/Local/Temp/winrm-elevated-shell20190528-6572-1azk3d1ps1 to c:/windows/temp/winrm-elevated-shell-cd86df1c-30fc-4ee1-b4b1-019b34c9c4b2.ps1 (0.152 KB over 1 chunks) in (0m0.15s)
DEBUG winrmshell: No remote files to extract, skipping
DEBUG winrmshell: Uploaded 1 items dirty_check: (0m0.42s) stream_files: (0m0.15s) extract: (0m0.00s)
DEBUG winrmshell: [WinRM] Command created for $username = 'vagrant'
$password = 'vagrant'
$script_file = 'c:/windows/temp/winrm-elevated-shell-cd86df1c-30fc-4ee1-b4b1-019b34c9c4b2.ps1'
$interactive = 'false'
$pass_to_use = $password
$logon_type = 1
$logon_type_xml = "<LogonType>Password</LogonType>"
if($pass_to_use.length -eq 0) {
$pass_to_use = $null
$logon_type = 5
$logon_type_xml = ""
}
if($interactive -eq 'true') {
$logon_type = 3
$logon_type_xml = "<LogonType>InteractiveTokenOrPassword</LogonType>"
}
$task_name = "WinRM_Elevated_Shell"
$out_file = [System.IO.Path]::GetTempFileName()
$err_file = [System.IO.Path]::GetTempFileName()
$task_xml = @'
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<Principals>
<Principal id="Author">
<UserId>{username}</UserId>
{logon_type}
<RunLevel>HighestAvailable</RunLevel>
</Principal>
</Principals>
<Settings>
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
<DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
<StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
<AllowHardTerminate>true</AllowHardTerminate>
<StartWhenAvailable>false</StartWhenAvailable>
<RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
<IdleSettings>
<StopOnIdleEnd>false</StopOnIdleEnd>
<RestartOnIdle>false</RestartOnIdle>
</IdleSettings>
<AllowStartOnDemand>true</AllowStartOnDemand>
<Enabled>true</Enabled>
<Hidden>false</Hidden>
<RunOnlyIfIdle>false</RunOnlyIfIdle>
<WakeToRun>false</WakeToRun>
<ExecutionTimeLimit>PT24H</ExecutionTimeLimit>
<Priority>4</Priority>
</Settings>
<Actions Context="Author">
<Exec>
<Command>cmd</Command>
<Arguments>{arguments}</Arguments>
</Exec>
</Actions>
</Task>
'@
$arguments = "/c powershell.exe -executionpolicy bypass -NoProfile -File $script_file &gt; $out_file 2&gt;$err_file"
$task_xml = $task_xml.Replace("{arguments}", $arguments)
$task_xml = $task_xml.Replace("{username}", $username)
$task_xml = $task_xml.Replace("{logon_type}", $logon_type_xml)
$schedule = New-Object -ComObject "Schedule.Service"
$schedule.Connect()
$task = $schedule.NewTask($null)
$task.XmlText = $task_xml
$folder = $schedule.GetFolder("\")
$folder.RegisterTaskDefinition($task_name, $task, 6, $username, $pass_to_use, $logon_type, $null) | Out-Null
$registered_task = $folder.GetTask("\$task_name")
$registered_task.Run($null) | Out-Null
$timeout = 10
$sec = 0
while ( (!($registered_task.state -eq 4)) -and ($sec -lt $timeout) ) {
Start-Sleep -s 1
$sec++
}
function SlurpOutput($file, $cur_line, $out_type) {
if (Test-Path $file) {
get-content $file | select -skip $cur_line | ForEach {
$cur_line += 1
if ($out_type -eq 'err') {
$host.ui.WriteErrorLine("$_")
} else {
$host.ui.WriteLine("$_")
}
}
}
return $cur_line
}
$err_cur_line = 0
$out_cur_line = 0
do {
Start-Sleep -m 100
$out_cur_line = SlurpOutput $out_file $out_cur_line 'out'
$err_cur_line = SlurpOutput $err_file $err_cur_line 'err'
} while (!($registered_task.state -eq 3))
# We'll make a best effort to clean these files
# But a reboot could possibly end the task while the process
# still runs and locks the file. If we can't delete we don't want to fail
try { Remove-Item $out_file -ErrorAction Stop } catch {}
try { Remove-Item $err_file -ErrorAction Stop } catch {}
try { Remove-Item $script_file -ErrorAction Stop } catch {}
$exit_code = $registered_task.LastTaskResult
[System.Runtime.Interopservices.Marshal]::ReleaseComObject($schedule) | Out-Null
exit $exit_code
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: 501AF68F-699A-4BC9-AB24-7AB0FCF961BD
DEBUG winrmshell: [WinRM] creating command_id: 501AF68F-699A-4BC9-AB24-7AB0FCF961BD on shell_id 63231D43-86B7-4F0D-A88B-086E51F8AC45
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 501AF68F-699A-4BC9-AB24-7AB0FCF961BD on shell_id 63231D43-86B7-4F0D-A88B-086E51F8AC45
DEBUG winrmshell: Output: #<WinRM::Output:0x00000000063b2698 @data=[{:stdout=>"\r\n"}, {:stdout=>"CMDKEY: Credential added successfully.\r\n"}], @exitcode=0>
DEBUG winrm: powershell executing:
function Test-ReparsePoint([string]$path) {
$file = Get-Item $path -Force -ea 0
return [bool]($file.Attributes -band [IO.FileAttributes]::ReparsePoint)
}
$MountPoint = [System.IO.Path]::GetFullPath("/vagrant")
$ShareName = "vgt-5b4a3bcbaad33db064777add241f6cbd-6ad5fdbcbf2eaa93bd62f92333a2e6e5"
$VmProviderUncPath = "\\172.17.151.33\vgt-5b4a3bcbaad33db064777add241f6cbd-6ad5fdbcbf2eaa93bd62f92333a2e6e5"
# https://github.com/BIAINC/vagrant-windows/issues/4
# Not sure why this works, but it does.
& net use $ShareName 2>&1 | Out-Null
Write-Debug "Attempting to mount $ShareName to $MountPoint"
if( (Test-Path "$MountPoint") -and (Test-ReparsePoint "$MountPoint") )
{
Write-Debug "Junction already exists, so I will delete it"
# Powershell refuses to delete junctions, oh well use cmd
cmd.exe /c rd "$MountPoint"
if ( $LASTEXITCODE -ne 0 )
{
Write-Error "Failed to delete symbolic link at $MountPoint"
exit 1
}
}
elseif(Test-Path $MountPoint)
{
Write-Error "Mount point already exists and is not a symbolic link"
exit 1
}
$BaseDirectory = [System.IO.Path]::GetDirectoryName($MountPoint)
if (-not (Test-Path $BaseDirectory))
{
Write-Debug "Creating parent directory for mount point $BaseDirectory"
New-Item $BaseDirectory -Type Directory -Force | Out-Null
}
cmd.exe /c mklink /D "$MountPoint" "$VmProviderUncPath" | out-null
if ( $LASTEXITCODE -ne 0 )
{
exit 1
}
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] Endpoint doesn't support config request for MaxEnvelopsizekb
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000051ef028 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Version N=\"protocolversion\">2.3</Version><Version N=\"PSVersion\">2.0</Version><Version N=\"SerializationVersion\">1.1.0.1</Version></MS></Obj>", @destination=1, @type=65538, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000051a2458 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Obj N=\"ApplicationPrivateData\" RefId=\"1\"><TN RefId=\"0\"><T>System.Management.Automation.PSPrimitiveDictionary</T><T>System.Collections.Hashtable</T><T>System.Object</T></TN><DCT><En><S N=\"Key\">BreakAll</S><B N=\"Value\">false</B></En><En><S N=\"Key\">DebugStop</S><B N=\"Value\">false</B></En><En><S N=\"Key\">UnhandledBreakpointMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">PSVersionTable</S><Obj N=\"Value\" RefId=\"2\"><TNRef RefId=\"0\" /><DCT><En><S N=\"Key\">PSVersion</S><Version N=\"Value\">5.1.17763.316</Version></En><En><S N=\"Key\">PSEdition</S><S N=\"Value\">Desktop</S></En><En><S N=\"Key\">PSCompatibleVersions</S><Obj N=\"Value\" RefId=\"3\"><TN RefId=\"1\"><T>System.Version[]</T><T>System.Array</T><T>System.Object</T></TN><LST><Version>1.0</Version><Version>2.0</Version><Version>3.0</Version><Version>4.0</Version><Version>5.0</Version><Version>5.1.17763.316</Version></LST></Obj></En><En><S N=\"Key\">CLRVersion</S><Version N=\"Value\">4.0.30319.42000</Version></En><En><S N=\"Key\">BuildVersion</S><Version N=\"Value\">10.0.17763.316</Version></En><En><S N=\"Key\">WSManStackVersion</S><Version N=\"Value\">3.0</Version></En><En><S N=\"Key\">PSRemotingProtocolVersion</S><Version N=\"Value\">2.3</Version></En><En><S N=\"Key\">SerializationVersion</S><Version N=\"Value\">1.1.0.1</Version></En></DCT></Obj></En><En><S N=\"Key\">DebugMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">DebugBreakpointCount</S><I32 N=\"Value\">0</I32></En></DCT></Obj></MS></Obj>", @destination=1, @type=135177, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x0000000004775d68 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><I32 N=\"RunspaceState\">2</I32></MS></Obj>", @destination=1, @type=135173, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] remote shell created with shell_id: F1561AA7-8650-483D-9935-88D70CA74C7F
DEBUG winrmshell: [WinRM] Command created for function Test-ReparsePoint([string]$path) {
$file = Get-Item $path -Force -ea 0
return [bool]($file.Attributes -band [IO.FileAttributes]::ReparsePoint)
}
$MountPoint = [System.IO.Path]::GetFullPath("/vagrant")
$ShareName = "vgt-5b4a3bcbaad33db064777add241f6cbd-6ad5fdbcbf2eaa93bd62f92333a2e6e5"
$VmProviderUncPath = "\\172.17.151.33\vgt-5b4a3bcbaad33db064777add241f6cbd-6ad5fdbcbf2eaa93bd62f92333a2e6e5"
# https://github.com/BIAINC/vagrant-windows/issues/4
# Not sure why this works, but it does.
& net use $ShareName 2>&1 | Out-Null
Write-Debug "Attempting to mount $ShareName to $MountPoint"
if( (Test-Path "$MountPoint") -and (Test-ReparsePoint "$MountPoint") )
{
Write-Debug "Junction already exists, so I will delete it"
# Powershell refuses to delete junctions, oh well use cmd
cmd.exe /c rd "$MountPoint"
if ( $LASTEXITCODE -ne 0 )
{
Write-Error "Failed to delete symbolic link at $MountPoint"
exit 1
}
}
elseif(Test-Path $MountPoint)
{
Write-Error "Mount point already exists and is not a symbolic link"
exit 1
}
$BaseDirectory = [System.IO.Path]::GetDirectoryName($MountPoint)
if (-not (Test-Path $BaseDirectory))
{
Write-Debug "Creating parent directory for mount point $BaseDirectory"
New-Item $BaseDirectory -Type Directory -Force | Out-Null
}
cmd.exe /c mklink /D "$MountPoint" "$VmProviderUncPath" | out-null
if ( $LASTEXITCODE -ne 0 )
{
exit 1
}
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: BB2D7B75-B9BF-44F7-8FCB-65F1F367975F
DEBUG winrmshell: [WinRM] creating command_id: BB2D7B75-B9BF-44F7-8FCB-65F1F367975F on shell_id F1561AA7-8650-483D-9935-88D70CA74C7F
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: BB2D7B75-B9BF-44F7-8FCB-65F1F367975F on shell_id F1561AA7-8650-483D-9935-88D70CA74C7F
DEBUG winrmshell: Output: #<WinRM::Output:0x0000000006907800 @data=[], @exitcode=0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::SyncedFolders:0x0000000005378930>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000005378958>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000005378a98>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::SyncedFolderCleanup:0x000000000543e6d0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000543e6f8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000543e810>
INFO warden: Calling OUT action: #<VagrantPlugins::SyncedFolderNFS::ActionCleanup:0x00000000025701c8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000002570218>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000002570948>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::WaitForCommunicator:0x0000000002570c40>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000002570c68>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000002570dd0>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::WaitForIPAddress:0x000000000416a018>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000416a0b8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000416a338>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::StartInstance:0x000000000416a3b0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000416a540>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000416a6d0>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::NetSetMac:0x000000000416a720>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000416a978>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000416abf8>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::NetSetVLan:0x000000000416ac98>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000416acc0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000416aea0>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::SetName:0x000000000448dbc8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000448e000>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000448e5c8>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::Configure:0x00000000046c8898>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000046c8960>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000046c8c08>
INFO provision: Writing provisioning sentinel so we don't provision again
INFO interface: info: Running provisioner: shell...
INFO interface: info: ==> win-worker: Running provisioner: shell...
==> win-worker: Running provisioner: shell...
INFO environment: Running hook: provisioner_run
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: provisioner_run #<Method: Vagrant::Action::Builtin::Provision#run_provisioner>
INFO warden: Calling IN action: #<Proc:0x00000000063887d0@C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:120 (lambda)>
INFO winrm: Checking whether WinRM is ready...
DEBUG provider: Searching for cap: winrm_info
DEBUG provider: Checking in: hyperv
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00000000054346d0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000476de38>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x000000000476dde8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000476dbb8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000476dac8>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x000000000476da00>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004325330>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004325330>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x000000000476da00>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000476dac8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000476dbb8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x000000000476dde8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000476de38>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"ip": "172.17.151.36"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
DEBUG provider: IP: 172.17.151.36
DEBUG winrmshell: initializing WinRMShell
INFO winrmshell: Attempting to connect to WinRM...
INFO winrmshell: - Host: 172.17.151.36
INFO winrmshell: - Port: 5985
INFO winrmshell: - Username: vagrant
INFO winrmshell: - Transport: negotiate
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 5F57D283-CF73-42B3-B7E3-3AD03550F1FD
DEBUG winrmshell: [WinRM] Command created for hostname with id: 224B37DA-B3D3-4B87-B207-126F2E65C2B9
DEBUG winrmshell: [WinRM] creating command_id: 224B37DA-B3D3-4B87-B207-126F2E65C2B9 on shell_id 5F57D283-CF73-42B3-B7E3-3AD03550F1FD
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 224B37DA-B3D3-4B87-B207-126F2E65C2B9 on shell_id 5F57D283-CF73-42B3-B7E3-3AD03550F1FD
DEBUG winrmshell: Output: #<WinRM::Output:0x00000000067fda68 @data=[{:stdout=>"win-worker"}, {:stdout=>"\r\n"}], @exitcode=0>
INFO winrm: WinRM is ready!
DEBUG guest: Searching for cap: wait_for_reboot
DEBUG guest: Checking in: windows
DEBUG guest: Found cap: wait_for_reboot in windows
INFO winrm: Checking whether WinRM is ready...
DEBUG provider: Searching for cap: winrm_info
DEBUG provider: Checking in: hyperv
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x0000000004e71518>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000518b758>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x000000000518b708>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000518b6b8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000518b398>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x000000000518b000>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000503a3b8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000503a3b8>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x000000000518b000>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000518b398>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x000000000518b6b8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x000000000518b708>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x000000000518b758>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"ip": "172.17.151.36"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
DEBUG provider: IP: 172.17.151.36
DEBUG winrmshell: initializing WinRMShell
INFO winrmshell: Attempting to connect to WinRM...
INFO winrmshell: - Host: 172.17.151.36
INFO winrmshell: - Port: 5985
INFO winrmshell: - Username: vagrant
INFO winrmshell: - Transport: negotiate
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 618AE05A-FEC2-4DF1-8462-EE9023E67AC7
DEBUG winrmshell: [WinRM] Command created for hostname with id: 7460AACF-9B3C-41CE-A095-0FC44A32B7DD
DEBUG winrmshell: [WinRM] creating command_id: 7460AACF-9B3C-41CE-A095-0FC44A32B7DD on shell_id 618AE05A-FEC2-4DF1-8462-EE9023E67AC7
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 7460AACF-9B3C-41CE-A095-0FC44A32B7DD on shell_id 618AE05A-FEC2-4DF1-8462-EE9023E67AC7
DEBUG winrmshell: Output: #<WinRM::Output:0x00000000064fb1a8 @data=[{:stdout=>"win-worker"}, {:stdout=>"\r\n"}], @exitcode=0>
INFO winrm: WinRM is ready!
DEBUG guest: Searching for cap: wait_for_reboot
DEBUG guest: Checking in: windows
DEBUG guest: Found cap: wait_for_reboot in windows
INFO guest: Execute capability: wait_for_reboot [#<Vagrant::Machine: win-worker (VagrantPlugins::HyperV::Provider)>] (windows)
INFO winrm: Checking whether WinRM is ready...
DEBUG provider: Searching for cap: winrm_info
DEBUG provider: Checking in: hyperv
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x000000000483c828>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006832fd8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000006832f88>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006832f38>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006832df8>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000006832dd0>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000067b3d00>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000067b3d00>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000006832dd0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006832df8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006832f38>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000006832f88>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006832fd8>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"ip": "172.17.151.36"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
DEBUG provider: IP: 172.17.151.36
DEBUG winrmshell: initializing WinRMShell
INFO winrmshell: Attempting to connect to WinRM...
INFO winrmshell: - Host: 172.17.151.36
INFO winrmshell: - Port: 5985
INFO winrmshell: - Username: vagrant
INFO winrmshell: - Transport: negotiate
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 3855A92E-D573-48FE-A421-C04841509096
DEBUG winrmshell: [WinRM] Command created for hostname with id: 9AA3EE11-656E-49D7-9CA2-097F13CD3208
DEBUG winrmshell: [WinRM] creating command_id: 9AA3EE11-656E-49D7-9CA2-097F13CD3208 on shell_id 3855A92E-D573-48FE-A421-C04841509096
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 9AA3EE11-656E-49D7-9CA2-097F13CD3208 on shell_id 3855A92E-D573-48FE-A421-C04841509096
DEBUG winrmshell: Output: #<WinRM::Output:0x0000000006423d98 @data=[{:stdout=>"win-worker"}, {:stdout=>"\r\n"}], @exitcode=0>
INFO winrm: WinRM is ready!
DEBUG winrm: powershell executing:
# Function to check whether machine is currently shutting down
function ShuttingDown {
[string]$sourceCode = @"
using System;
using System.Runtime.InteropServices;
namespace Vagrant {
public static class RemoteManager {
private const int SM_SHUTTINGDOWN = 0x2000;
[DllImport("User32.dll", CharSet = CharSet.Unicode)]
private static extern int GetSystemMetrics(int Index);
public static bool Shutdown() {
return (0 != GetSystemMetrics(SM_SHUTTINGDOWN));
}
}
}
"@
$type = Add-Type -TypeDefinition $sourceCode -PassThru
return $type::Shutdown()
}
if (ShuttingDown) {
exit 1
} else {
# See if a reboot is scheduled in the future by trying to schedule a reboot
. shutdown.exe -f -r -t 60
if ($LASTEXITCODE -eq 1190) {
# reboot is already pending
exit 2
}
if ($LASTEXITCODE -eq 1115) {
# A system shutdown is in progress
exit 2
}
# Remove the pending reboot we just created above
if ($LASTEXITCODE -eq 0) {
. shutdown.exe -a
}
}
# no reboot in progress or scheduled
exit 0
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] Endpoint doesn't support config request for MaxEnvelopsizekb
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000050fd340 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Version N=\"protocolversion\">2.3</Version><Version N=\"PSVersion\">2.0</Version><Version N=\"SerializationVersion\">1.1.0.1</Version></MS></Obj>", @destination=1, @type=65538, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000050f5690 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Obj N=\"ApplicationPrivateData\" RefId=\"1\"><TN RefId=\"0\"><T>System.Management.Automation.PSPrimitiveDictionary</T><T>System.Collections.Hashtable</T><T>System.Object</T></TN><DCT><En><S N=\"Key\">BreakAll</S><B N=\"Value\">false</B></En><En><S N=\"Key\">DebugStop</S><B N=\"Value\">false</B></En><En><S N=\"Key\">UnhandledBreakpointMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">PSVersionTable</S><Obj N=\"Value\" RefId=\"2\"><TNRef RefId=\"0\" /><DCT><En><S N=\"Key\">PSVersion</S><Version N=\"Value\">5.1.17763.316</Version></En><En><S N=\"Key\">PSEdition</S><S N=\"Value\">Desktop</S></En><En><S N=\"Key\">PSCompatibleVersions</S><Obj N=\"Value\" RefId=\"3\"><TN RefId=\"1\"><T>System.Version[]</T><T>System.Array</T><T>System.Object</T></TN><LST><Version>1.0</Version><Version>2.0</Version><Version>3.0</Version><Version>4.0</Version><Version>5.0</Version><Version>5.1.17763.316</Version></LST></Obj></En><En><S N=\"Key\">CLRVersion</S><Version N=\"Value\">4.0.30319.42000</Version></En><En><S N=\"Key\">BuildVersion</S><Version N=\"Value\">10.0.17763.316</Version></En><En><S N=\"Key\">WSManStackVersion</S><Version N=\"Value\">3.0</Version></En><En><S N=\"Key\">PSRemotingProtocolVersion</S><Version N=\"Value\">2.3</Version></En><En><S N=\"Key\">SerializationVersion</S><Version N=\"Value\">1.1.0.1</Version></En></DCT></Obj></En><En><S N=\"Key\">DebugMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">DebugBreakpointCount</S><I32 N=\"Value\">0</I32></En></DCT></Obj></MS></Obj>", @destination=1, @type=135177, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x000000000420bad0 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><I32 N=\"RunspaceState\">2</I32></MS></Obj>", @destination=1, @type=135173, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] remote shell created with shell_id: A0D5EEEC-1B5D-40FD-BD19-263D3BB0F81B
DEBUG winrmshell: [WinRM] Command created for # Function to check whether machine is currently shutting down
function ShuttingDown {
[string]$sourceCode = @"
using System;
using System.Runtime.InteropServices;
namespace Vagrant {
public static class RemoteManager {
private const int SM_SHUTTINGDOWN = 0x2000;
[DllImport("User32.dll", CharSet = CharSet.Unicode)]
private static extern int GetSystemMetrics(int Index);
public static bool Shutdown() {
return (0 != GetSystemMetrics(SM_SHUTTINGDOWN));
}
}
}
"@
$type = Add-Type -TypeDefinition $sourceCode -PassThru
return $type::Shutdown()
}
if (ShuttingDown) {
exit 1
} else {
# See if a reboot is scheduled in the future by trying to schedule a reboot
. shutdown.exe -f -r -t 60
if ($LASTEXITCODE -eq 1190) {
# reboot is already pending
exit 2
}
if ($LASTEXITCODE -eq 1115) {
# A system shutdown is in progress
exit 2
}
# Remove the pending reboot we just created above
if ($LASTEXITCODE -eq 0) {
. shutdown.exe -a
}
}
# no reboot in progress or scheduled
exit 0
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: D5D4AF65-5476-44B4-8C54-596C86A61120
DEBUG winrmshell: [WinRM] creating command_id: D5D4AF65-5476-44B4-8C54-596C86A61120 on shell_id A0D5EEEC-1B5D-40FD-BD19-263D3BB0F81B
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: D5D4AF65-5476-44B4-8C54-596C86A61120 on shell_id A0D5EEEC-1B5D-40FD-BD19-263D3BB0F81B
DEBUG winrmshell: Output: #<WinRM::Output:0x0000000006866f40 @data=[], @exitcode=0>
DEBUG winrm: powershell executing:
net use
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] Endpoint doesn't support config request for MaxEnvelopsizekb
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000065cfc00 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Version N=\"protocolversion\">2.3</Version><Version N=\"PSVersion\">2.0</Version><Version N=\"SerializationVersion\">1.1.0.1</Version></MS></Obj>", @destination=1, @type=65538, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000065ce788 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Obj N=\"ApplicationPrivateData\" RefId=\"1\"><TN RefId=\"0\"><T>System.Management.Automation.PSPrimitiveDictionary</T><T>System.Collections.Hashtable</T><T>System.Object</T></TN><DCT><En><S N=\"Key\">BreakAll</S><B N=\"Value\">false</B></En><En><S N=\"Key\">DebugStop</S><B N=\"Value\">false</B></En><En><S N=\"Key\">UnhandledBreakpointMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">PSVersionTable</S><Obj N=\"Value\" RefId=\"2\"><TNRef RefId=\"0\" /><DCT><En><S N=\"Key\">PSVersion</S><Version N=\"Value\">5.1.17763.316</Version></En><En><S N=\"Key\">PSEdition</S><S N=\"Value\">Desktop</S></En><En><S N=\"Key\">PSCompatibleVersions</S><Obj N=\"Value\" RefId=\"3\"><TN RefId=\"1\"><T>System.Version[]</T><T>System.Array</T><T>System.Object</T></TN><LST><Version>1.0</Version><Version>2.0</Version><Version>3.0</Version><Version>4.0</Version><Version>5.0</Version><Version>5.1.17763.316</Version></LST></Obj></En><En><S N=\"Key\">CLRVersion</S><Version N=\"Value\">4.0.30319.42000</Version></En><En><S N=\"Key\">BuildVersion</S><Version N=\"Value\">10.0.17763.316</Version></En><En><S N=\"Key\">WSManStackVersion</S><Version N=\"Value\">3.0</Version></En><En><S N=\"Key\">PSRemotingProtocolVersion</S><Version N=\"Value\">2.3</Version></En><En><S N=\"Key\">SerializationVersion</S><Version N=\"Value\">1.1.0.1</Version></En></DCT></Obj></En><En><S N=\"Key\">DebugMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">DebugBreakpointCount</S><I32 N=\"Value\">0</I32></En></DCT></Obj></MS></Obj>", @destination=1, @type=135177, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x0000000006490998 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><I32 N=\"RunspaceState\">2</I32></MS></Obj>", @destination=1, @type=135173, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 60AF162A-D568-4F50-8838-04D563F9EE43
DEBUG winrmshell: [WinRM] Command created for net use
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: 05945E78-D48B-4F23-A2D4-CAF0716555A2
DEBUG winrmshell: [WinRM] creating command_id: 05945E78-D48B-4F23-A2D4-CAF0716555A2 on shell_id 60AF162A-D568-4F50-8838-04D563F9EE43
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 05945E78-D48B-4F23-A2D4-CAF0716555A2 on shell_id 60AF162A-D568-4F50-8838-04D563F9EE43
DEBUG winrmshell: Output: #<WinRM::Output:0x00000000063b2c88 @data=[{:stdout=>"New connections will be remembered.\r\n"}, {:stdout=>"\r\n"}, {:stdout=>"There are no entries in the list.\r\n"}, {:stdout=>"\r\n"}], @exitcode=0>
INFO winrm: Uploading: C:/Users/mbergal/AppData/Local/Temp/vagrant-shell20190528-6572-xnpw12.ps1 to /tmp/vagrant-shell.ps1
DEBUG winrmshell: creating hash for file /tmp/vagrant-shell.ps1
DEBUG winrmshell: Running check_files.ps1
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] Endpoint doesn't support config request for MaxEnvelopsizekb
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x0000000004f6e1c8 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Version N=\"protocolversion\">2.3</Version><Version N=\"PSVersion\">2.0</Version><Version N=\"SerializationVersion\">1.1.0.1</Version></MS></Obj>", @destination=1, @type=65538, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x0000000004f66888 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Obj N=\"ApplicationPrivateData\" RefId=\"1\"><TN RefId=\"0\"><T>System.Management.Automation.PSPrimitiveDictionary</T><T>System.Collections.Hashtable</T><T>System.Object</T></TN><DCT><En><S N=\"Key\">BreakAll</S><B N=\"Value\">false</B></En><En><S N=\"Key\">DebugStop</S><B N=\"Value\">false</B></En><En><S N=\"Key\">UnhandledBreakpointMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">PSVersionTable</S><Obj N=\"Value\" RefId=\"2\"><TNRef RefId=\"0\" /><DCT><En><S N=\"Key\">PSVersion</S><Version N=\"Value\">5.1.17763.316</Version></En><En><S N=\"Key\">PSEdition</S><S N=\"Value\">Desktop</S></En><En><S N=\"Key\">PSCompatibleVersions</S><Obj N=\"Value\" RefId=\"3\"><TN RefId=\"1\"><T>System.Version[]</T><T>System.Array</T><T>System.Object</T></TN><LST><Version>1.0</Version><Version>2.0</Version><Version>3.0</Version><Version>4.0</Version><Version>5.0</Version><Version>5.1.17763.316</Version></LST></Obj></En><En><S N=\"Key\">CLRVersion</S><Version N=\"Value\">4.0.30319.42000</Version></En><En><S N=\"Key\">BuildVersion</S><Version N=\"Value\">10.0.17763.316</Version></En><En><S N=\"Key\">WSManStackVersion</S><Version N=\"Value\">3.0</Version></En><En><S N=\"Key\">PSRemotingProtocolVersion</S><Version N=\"Value\">2.3</Version></En><En><S N=\"Key\">SerializationVersion</S><Version N=\"Value\">1.1.0.1</Version></En></DCT></Obj></En><En><S N=\"Key\">DebugMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">DebugBreakpointCount</S><I32 N=\"Value\">0</I32></En></DCT></Obj></MS></Obj>", @destination=1, @type=135177, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x000000000693dce8 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><I32 N=\"RunspaceState\">2</I32></MS></Obj>", @destination=1, @type=135173, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 344C8C6F-42DE-4132-9A11-B6FC99FEAD9F
DEBUG winrmshell: [WinRM] Command created for $hash_file = @{
"99998f50263a4fc05bda373d4309bf7e10a559be" = @{
"target" = "/tmp/vagrant-shell.ps1";
"src_basename" = "vagrant-shell20190528-6572-xnpw12.ps1";
"dst" = "/tmp/vagrant-shell.ps1"
}
}
Function Cleanup($disposable) {
if (($disposable -ne $null) -and ($disposable.GetType().GetMethod("Dispose") -ne $null)) {
$disposable.Dispose()
}
}
Function Check-Files($h) {
return $h.GetEnumerator() | ForEach-Object {
$dst = Unresolve-Path $_.Value.target
$dst_changed = $false
if(Test-Path $dst -PathType Container) {
$dst_changed = $true
$dst = Join-Path $dst $_.Value.src_basename
}
New-Object psobject -Property @{
chk_exists = ($exists = Test-Path $dst -PathType Leaf)
src_sha1 = ($sMd5 = $_.Key)
dst_sha1 = ($dMd5 = if ($exists) { Get-SHA1Sum $dst } else { $null })
chk_dirty = ($dirty = if ($sMd5 -ne $dMd5) { $true } else { $false })
verifies = if ($dirty -eq $false) { $true } else { $false }
target_is_folder = $dst_changed
}
} | Select-Object -Property chk_exists,src_sha1,dst_sha1,chk_dirty,verifies,target_is_folder
}
Function Get-SHA1Sum($src) {
Try {
$c = [System.Security.Cryptography.SHA1]::Create()
$bytes = $c.ComputeHash(($in = (Get-Item $src).OpenRead()))
return ([System.BitConverter]::ToString($bytes)).Replace("-", "").ToLower()
}
Finally {
Cleanup $c
Cleanup $in
}
}
Function Unresolve-Path($path) {
if ($path -eq $null) {
return $null
}
else {
return $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($path)
}
}
Check-Files $hash_file | ConvertTo-Csv -NoTypeInformation
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: 64BE9891-A2EC-4815-B176-84EAC1338482
DEBUG winrmshell: [WinRM] creating command_id: 64BE9891-A2EC-4815-B176-84EAC1338482 on shell_id 344C8C6F-42DE-4132-9A11-B6FC99FEAD9F
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 64BE9891-A2EC-4815-B176-84EAC1338482 on shell_id 344C8C6F-42DE-4132-9A11-B6FC99FEAD9F
DEBUG winrmshell: Parsing CSV Response
DEBUG winrmshell: "chk_exists","src_sha1","dst_sha1","chk_dirty","verifies","target_is_folder"
"False","99998f50263a4fc05bda373d4309bf7e10a559be",,"True","False","False"
DEBUG winrmshell: Uploading C:/Users/mbergal/AppData/Local/Temp/vagrant-shell20190528-6572-xnpw12.ps1 to /tmp/vagrant-shell.ps1
DEBUG winrmshell: [WinRM] Command created for $to = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("/tmp/vagrant-shell.ps1")
$parent = Split-Path $to
if(!(Test-path $parent)) { mkdir $parent | Out-Null }
$fileStream = New-Object -TypeName System.IO.FileStream -ArgumentList @(
$to,
[system.io.filemode]::Create,
[System.io.FileAccess]::Write,
[System.IO.FileShare]::ReadWrite
)
# Powershell caches ScrpitBlocks in a dictionary
# keyed on the script block text. Thats just great
# unless the script is super large and called a gillion
# times like we might do. In such a case it will saturate the
# Large Object Heap and lead to Out Of Memory exceptions
# for large files or folders. So we call the internal method
# ClearScriptBlockCache to clear it.
$bindingFlags= [Reflection.BindingFlags] "NonPublic,Static"
$method = [scriptblock].GetMethod("ClearScriptBlockCache", $bindingFlags)
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: 4536BAEC-C79A-4989-A633-9E40C49D6D2C
DEBUG winrmshell: [WinRM] creating command_id: 4536BAEC-C79A-4989-A633-9E40C49D6D2C on shell_id 344C8C6F-42DE-4132-9A11-B6FC99FEAD9F
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 4536BAEC-C79A-4989-A633-9E40C49D6D2C on shell_id 344C8C6F-42DE-4132-9A11-B6FC99FEAD9F
DEBUG winrmshell: [WinRM] Command created for if($method) { $method.Invoke($Null, $Null) }
$bytes=[Convert]::FromBase64String('cGFyYW0oW3N3aXRjaF0gJEZvcmNlKTsKCiRFcnJvckFjdGlvblByZWZlcmVuZWNlID0gIlN0b3AiCgppZiAoKFRlc3QtUGF0aCAtUGF0aCBDOlxpbnN0YWxsLWRvY2tlci5kb25lKSAtYW5kIC1ub3QgJEZvcmNlKSB7CiAgICBXcml0ZS1Ib3N0ICJUaGlzIGhhcyBhbHJlYWR5IGJlZW4gZG9uZSIKICAgIGV4aXQgMDsKfQoKbHMgYzovdmFncmFudApXcml0ZS1Ib3N0ICJJbnN0YWxsaW5nIE51Z2V0Li4uIgpJbnN0YWxsLVBhY2thZ2VQcm92aWRlciAtTmFtZSBOdUdldCAtTWluaW11bVZlcnNpb24gMi44LjUuMjAxIC1Gb3JjZQpXcml0ZS1Ib3N0ICJJbnN0YWxsaW5nIERvY2tlck1zZnRQcm92aWRlci4uLiIKSW5zdGFsbC1Nb2R1bGUgLU5hbWUgRG9ja2VyTXNmdFByb3ZpZGVyIC1SZXBvc2l0b3J5IFBTR2FsbGVyeSAtRm9yY2UKV3JpdGUtSG9zdCAiSW5zdGFsbGluZyBEb2NrZXIuLi4iCkluc3RhbGwtUGFja2FnZSAtTmFtZSBEb2NrZXIgLVByb3ZpZGVyTmFtZSBEb2NrZXJNc2Z0UHJvdmlkZXIgLUZvcmNlCiNSZXN0YXJ0LUNvbXB1dGVyIC1Gb3JjZQplY2hvICIiID4gQzpcaW5zdGFsbC1kb2NrZXIuZG9uZQo=')
$fileStream.Write($bytes, 0, $bytes.length)
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: 955133B7-EE5C-4BBB-8B81-E88747BF07E5
DEBUG winrmshell: [WinRM] creating command_id: 955133B7-EE5C-4BBB-8B81-E88747BF07E5 on shell_id 344C8C6F-42DE-4132-9A11-B6FC99FEAD9F
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 955133B7-EE5C-4BBB-8B81-E88747BF07E5 on shell_id 344C8C6F-42DE-4132-9A11-B6FC99FEAD9F
DEBUG winrmshell: [WinRM] Command created for $fileStream.Dispose()
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: DF4E1A96-A0A0-4B0D-83CF-25CA2B1B741E
DEBUG winrmshell: [WinRM] creating command_id: DF4E1A96-A0A0-4B0D-83CF-25CA2B1B741E on shell_id 344C8C6F-42DE-4132-9A11-B6FC99FEAD9F
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: DF4E1A96-A0A0-4B0D-83CF-25CA2B1B741E on shell_id 344C8C6F-42DE-4132-9A11-B6FC99FEAD9F
DEBUG winrmshell: Finished uploading C:/Users/mbergal/AppData/Local/Temp/vagrant-shell20190528-6572-xnpw12.ps1 to /tmp/vagrant-shell.ps1 (0.764 KB over 1 chunks) in (0m0.16s)
DEBUG winrmshell: No remote files to extract, skipping
DEBUG winrmshell: Uploaded 1 items dirty_check: (0m0.30s) stream_files: (0m0.16s) extract: (0m0.00s)
INFO interface: detail: Running: script: Install Docker
INFO interface: detail: win-worker: Running: script: Install Docker
win-worker: Running: script: Install Docker
DEBUG winrm: elevated executing:
powershell -ExecutionPolicy Bypass -OutputFormat Text -file "c:\tmp\vagrant-shell.ps1"
DEBUG winrmshell: creating hash for file c:/windows/temp/winrm-elevated-shell-0194fec8-1d3e-4f31-9c0c-cf1ba78019ce.ps1
DEBUG winrmshell: Running check_files.ps1
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] Endpoint doesn't support config request for MaxEnvelopsizekb
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000052aeb30 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Version N=\"protocolversion\">2.3</Version><Version N=\"PSVersion\">2.0</Version><Version N=\"SerializationVersion\">1.1.0.1</Version></MS></Obj>", @destination=1, @type=65538, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x000000000528bf90 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Obj N=\"ApplicationPrivateData\" RefId=\"1\"><TN RefId=\"0\"><T>System.Management.Automation.PSPrimitiveDictionary</T><T>System.Collections.Hashtable</T><T>System.Object</T></TN><DCT><En><S N=\"Key\">BreakAll</S><B N=\"Value\">false</B></En><En><S N=\"Key\">DebugStop</S><B N=\"Value\">false</B></En><En><S N=\"Key\">UnhandledBreakpointMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">PSVersionTable</S><Obj N=\"Value\" RefId=\"2\"><TNRef RefId=\"0\" /><DCT><En><S N=\"Key\">PSVersion</S><Version N=\"Value\">5.1.17763.316</Version></En><En><S N=\"Key\">PSEdition</S><S N=\"Value\">Desktop</S></En><En><S N=\"Key\">PSCompatibleVersions</S><Obj N=\"Value\" RefId=\"3\"><TN RefId=\"1\"><T>System.Version[]</T><T>System.Array</T><T>System.Object</T></TN><LST><Version>1.0</Version><Version>2.0</Version><Version>3.0</Version><Version>4.0</Version><Version>5.0</Version><Version>5.1.17763.316</Version></LST></Obj></En><En><S N=\"Key\">CLRVersion</S><Version N=\"Value\">4.0.30319.42000</Version></En><En><S N=\"Key\">BuildVersion</S><Version N=\"Value\">10.0.17763.316</Version></En><En><S N=\"Key\">WSManStackVersion</S><Version N=\"Value\">3.0</Version></En><En><S N=\"Key\">PSRemotingProtocolVersion</S><Version N=\"Value\">2.3</Version></En><En><S N=\"Key\">SerializationVersion</S><Version N=\"Value\">1.1.0.1</Version></En></DCT></Obj></En><En><S N=\"Key\">DebugMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">DebugBreakpointCount</S><I32 N=\"Value\">0</I32></En></DCT></Obj></MS></Obj>", @destination=1, @type=135177, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000047c7460 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><I32 N=\"RunspaceState\">2</I32></MS></Obj>", @destination=1, @type=135173, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 5EA32BCA-2AB5-4813-A968-FC9786941B79
DEBUG winrmshell: [WinRM] Command created for $hash_file = @{
"306f71eb12c3fa7db3ae4e2fdf1651f80ba38ec9" = @{
"target" = "c:/windows/temp/winrm-elevated-shell-0194fec8-1d3e-4f31-9c0c-cf1ba78019ce.ps1";
"src_basename" = "winrm-elevated-shell20190528-6572-cl5jshps1";
"dst" = "c:/windows/temp/winrm-elevated-shell-0194fec8-1d3e-4f31-9c0c-cf1ba78019ce.ps1"
}
}
Function Cleanup($disposable) {
if (($disposable -ne $null) -and ($disposable.GetType().GetMethod("Dispose") -ne $null)) {
$disposable.Dispose()
}
}
Function Check-Files($h) {
return $h.GetEnumerator() | ForEach-Object {
$dst = Unresolve-Path $_.Value.target
$dst_changed = $false
if(Test-Path $dst -PathType Container) {
$dst_changed = $true
$dst = Join-Path $dst $_.Value.src_basename
}
New-Object psobject -Property @{
chk_exists = ($exists = Test-Path $dst -PathType Leaf)
src_sha1 = ($sMd5 = $_.Key)
dst_sha1 = ($dMd5 = if ($exists) { Get-SHA1Sum $dst } else { $null })
chk_dirty = ($dirty = if ($sMd5 -ne $dMd5) { $true } else { $false })
verifies = if ($dirty -eq $false) { $true } else { $false }
target_is_folder = $dst_changed
}
} | Select-Object -Property chk_exists,src_sha1,dst_sha1,chk_dirty,verifies,target_is_folder
}
Function Get-SHA1Sum($src) {
Try {
$c = [System.Security.Cryptography.SHA1]::Create()
$bytes = $c.ComputeHash(($in = (Get-Item $src).OpenRead()))
return ([System.BitConverter]::ToString($bytes)).Replace("-", "").ToLower()
}
Finally {
Cleanup $c
Cleanup $in
}
}
Function Unresolve-Path($path) {
if ($path -eq $null) {
return $null
}
else {
return $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($path)
}
}
Check-Files $hash_file | ConvertTo-Csv -NoTypeInformation
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: 7E8DDF23-F6E2-4D64-8517-A41F648F3B16
DEBUG winrmshell: [WinRM] creating command_id: 7E8DDF23-F6E2-4D64-8517-A41F648F3B16 on shell_id 5EA32BCA-2AB5-4813-A968-FC9786941B79
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 7E8DDF23-F6E2-4D64-8517-A41F648F3B16 on shell_id 5EA32BCA-2AB5-4813-A968-FC9786941B79
DEBUG winrmshell: Parsing CSV Response
DEBUG winrmshell: "chk_exists","src_sha1","dst_sha1","chk_dirty","verifies","target_is_folder"
"False","306f71eb12c3fa7db3ae4e2fdf1651f80ba38ec9",,"True","False","False"
DEBUG winrmshell: Uploading C:/Users/mbergal/AppData/Local/Temp/winrm-elevated-shell20190528-6572-cl5jshps1 to c:/windows/temp/winrm-elevated-shell-0194fec8-1d3e-4f31-9c0c-cf1ba78019ce.ps1
DEBUG winrmshell: [WinRM] Command created for $to = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("c:/windows/temp/winrm-elevated-shell-0194fec8-1d3e-4f31-9c0c-cf1ba78019ce.ps1")
$parent = Split-Path $to
if(!(Test-path $parent)) { mkdir $parent | Out-Null }
$fileStream = New-Object -TypeName System.IO.FileStream -ArgumentList @(
$to,
[system.io.filemode]::Create,
[System.io.FileAccess]::Write,
[System.IO.FileShare]::ReadWrite
)
# Powershell caches ScrpitBlocks in a dictionary
# keyed on the script block text. Thats just great
# unless the script is super large and called a gillion
# times like we might do. In such a case it will saturate the
# Large Object Heap and lead to Out Of Memory exceptions
# for large files or folders. So we call the internal method
# ClearScriptBlockCache to clear it.
$bindingFlags= [Reflection.BindingFlags] "NonPublic,Static"
$method = [scriptblock].GetMethod("ClearScriptBlockCache", $bindingFlags)
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: 56C99C25-280F-4344-87F2-154C69812034
DEBUG winrmshell: [WinRM] creating command_id: 56C99C25-280F-4344-87F2-154C69812034 on shell_id 5EA32BCA-2AB5-4813-A968-FC9786941B79
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 56C99C25-280F-4344-87F2-154C69812034 on shell_id 5EA32BCA-2AB5-4813-A968-FC9786941B79
DEBUG winrmshell: [WinRM] Command created for if($method) { $method.Invoke($Null, $Null) }
$bytes=[Convert]::FromBase64String('cG93ZXJzaGVsbCAtRXhlY3V0aW9uUG9saWN5IEJ5cGFzcyAtT3V0cHV0Rm9ybWF0IFRleHQgLWZpbGUgImM6XHRtcFx2YWdyYW50LXNoZWxsLnBzMSINDQokSG9zdC5TZXRTaG91bGRFeGl0KCRMQVNURVhJVENPREUp')
$fileStream.Write($bytes, 0, $bytes.length)
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: 4607B102-0302-4B4D-B791-D82AB1D9C12B
DEBUG winrmshell: [WinRM] creating command_id: 4607B102-0302-4B4D-B791-D82AB1D9C12B on shell_id 5EA32BCA-2AB5-4813-A968-FC9786941B79
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 4607B102-0302-4B4D-B791-D82AB1D9C12B on shell_id 5EA32BCA-2AB5-4813-A968-FC9786941B79
DEBUG winrmshell: [WinRM] Command created for $fileStream.Dispose()
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: 9AD3550C-F52F-4178-B606-43696FFC6746
DEBUG winrmshell: [WinRM] creating command_id: 9AD3550C-F52F-4178-B606-43696FFC6746 on shell_id 5EA32BCA-2AB5-4813-A968-FC9786941B79
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 9AD3550C-F52F-4178-B606-43696FFC6746 on shell_id 5EA32BCA-2AB5-4813-A968-FC9786941B79
DEBUG winrmshell: Finished uploading C:/Users/mbergal/AppData/Local/Temp/winrm-elevated-shell20190528-6572-cl5jshps1 to c:/windows/temp/winrm-elevated-shell-0194fec8-1d3e-4f31-9c0c-cf1ba78019ce.ps1 (0.164 KB over 1 chunks) in (0m0.13s)
DEBUG winrmshell: No remote files to extract, skipping
DEBUG winrmshell: Uploaded 1 items dirty_check: (0m0.30s) stream_files: (0m0.13s) extract: (0m0.00s)
DEBUG winrmshell: [WinRM] Command created for $username = 'vagrant'
$password = 'vagrant'
$script_file = 'c:/windows/temp/winrm-elevated-shell-0194fec8-1d3e-4f31-9c0c-cf1ba78019ce.ps1'
$interactive = 'false'
$pass_to_use = $password
$logon_type = 1
$logon_type_xml = "<LogonType>Password</LogonType>"
if($pass_to_use.length -eq 0) {
$pass_to_use = $null
$logon_type = 5
$logon_type_xml = ""
}
if($interactive -eq 'true') {
$logon_type = 3
$logon_type_xml = "<LogonType>InteractiveTokenOrPassword</LogonType>"
}
$task_name = "WinRM_Elevated_Shell"
$out_file = [System.IO.Path]::GetTempFileName()
$err_file = [System.IO.Path]::GetTempFileName()
$task_xml = @'
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<Principals>
<Principal id="Author">
<UserId>{username}</UserId>
{logon_type}
<RunLevel>HighestAvailable</RunLevel>
</Principal>
</Principals>
<Settings>
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
<DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
<StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
<AllowHardTerminate>true</AllowHardTerminate>
<StartWhenAvailable>false</StartWhenAvailable>
<RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
<IdleSettings>
<StopOnIdleEnd>false</StopOnIdleEnd>
<RestartOnIdle>false</RestartOnIdle>
</IdleSettings>
<AllowStartOnDemand>true</AllowStartOnDemand>
<Enabled>true</Enabled>
<Hidden>false</Hidden>
<RunOnlyIfIdle>false</RunOnlyIfIdle>
<WakeToRun>false</WakeToRun>
<ExecutionTimeLimit>PT24H</ExecutionTimeLimit>
<Priority>4</Priority>
</Settings>
<Actions Context="Author">
<Exec>
<Command>cmd</Command>
<Arguments>{arguments}</Arguments>
</Exec>
</Actions>
</Task>
'@
$arguments = "/c powershell.exe -executionpolicy bypass -NoProfile -File $script_file &gt; $out_file 2&gt;$err_file"
$task_xml = $task_xml.Replace("{arguments}", $arguments)
$task_xml = $task_xml.Replace("{username}", $username)
$task_xml = $task_xml.Replace("{logon_type}", $logon_type_xml)
$schedule = New-Object -ComObject "Schedule.Service"
$schedule.Connect()
$task = $schedule.NewTask($null)
$task.XmlText = $task_xml
$folder = $schedule.GetFolder("\")
$folder.RegisterTaskDefinition($task_name, $task, 6, $username, $pass_to_use, $logon_type, $null) | Out-Null
$registered_task = $folder.GetTask("\$task_name")
$registered_task.Run($null) | Out-Null
$timeout = 10
$sec = 0
while ( (!($registered_task.state -eq 4)) -and ($sec -lt $timeout) ) {
Start-Sleep -s 1
$sec++
}
function SlurpOutput($file, $cur_line, $out_type) {
if (Test-Path $file) {
get-content $file | select -skip $cur_line | ForEach {
$cur_line += 1
if ($out_type -eq 'err') {
$host.ui.WriteErrorLine("$_")
} else {
$host.ui.WriteLine("$_")
}
}
}
return $cur_line
}
$err_cur_line = 0
$out_cur_line = 0
do {
Start-Sleep -m 100
$out_cur_line = SlurpOutput $out_file $out_cur_line 'out'
$err_cur_line = SlurpOutput $err_file $err_cur_line 'err'
} while (!($registered_task.state -eq 3))
# We'll make a best effort to clean these files
# But a reboot could possibly end the task while the process
# still runs and locks the file. If we can't delete we don't want to fail
try { Remove-Item $out_file -ErrorAction Stop } catch {}
try { Remove-Item $err_file -ErrorAction Stop } catch {}
try { Remove-Item $script_file -ErrorAction Stop } catch {}
$exit_code = $registered_task.LastTaskResult
[System.Runtime.Interopservices.Marshal]::ReleaseComObject($schedule) | Out-Null
exit $exit_code
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: F17DE12B-A19A-4FF7-B84F-54350C73F64F
DEBUG winrmshell: [WinRM] creating command_id: F17DE12B-A19A-4FF7-B84F-54350C73F64F on shell_id 5EA32BCA-2AB5-4813-A968-FC9786941B79
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
INFO interface: detail: Directory: C:\vagrant
INFO interface: detail: win-worker: Directory: C:\vagrant
win-worker: Directory: C:\vagrant
INFO interface: detail: Mode LastWriteTime Length Name
INFO interface: detail: win-worker: Mode LastWriteTime Length Name
win-worker: Mode LastWriteTime Length Name
INFO interface: detail: ---- ------------- ------ ----
INFO interface: detail: win-worker: ---- ------------- ------ ----
win-worker: ---- ------------- ------ ----
INFO interface: detail: d----- 5/28/2019 7:22 PM .vagrant
INFO interface: detail: win-worker: d----- 5/28/2019 7:22 PM .vagrant
win-worker: d----- 5/28/2019 7:22 PM .vagrant
INFO interface: detail: -a---- 5/26/2019 7:07 PM 593 install-docker.ps1
INFO interface: detail: win-worker: -a---- 5/26/2019 7:07 PM 593 install-docker.ps1
win-worker: -a---- 5/26/2019 7:07 PM 593 install-docker.ps1
INFO interface: detail: -a---- 5/28/2019 8:08 PM 0 log
INFO interface: detail: win-worker: -a---- 5/28/2019 8:08 PM 0 log
win-worker: -a---- 5/28/2019 8:08 PM 0 log
INFO interface: detail: -a---- 5/28/2019 7:22 PM 1471 Vagrantfile
INFO interface: detail: win-worker: -a---- 5/28/2019 7:22 PM 1471 Vagrantfile
win-worker: -a---- 5/28/2019 7:22 PM 1471 Vagrantfile
INFO interface: detail: Installing Nuget...
INFO interface: detail: win-worker: Installing Nuget...
win-worker: Installing Nuget...
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
INFO interface: detail: FastPackageReference : https://onegetcdn.azureedge.net/providers/nuget-2.8.5.208.package.swidtag
INFO interface: detail: win-worker: FastPackageReference : https://onegetcdn.azureedge.net/providers/nuget-2.8.5.208.package.swidtag
win-worker: FastPackageReference : https://onegetcdn.azureedge.net/providers/nuget-2.8.5.208.package.swidtag
INFO interface: detail: ProviderName : Bootstrap
INFO interface: detail: win-worker: ProviderName : Bootstrap
win-worker: ProviderName : Bootstrap
INFO interface: detail: Source : https://onegetcdn.azureedge.net/providers/nuget-2.8.5.208.package.swidtag
INFO interface: detail: win-worker: Source : https://onegetcdn.azureedge.net/providers/nuget-2.8.5.208.package.swidtag
win-worker: Source : https://onegetcdn.azureedge.net/providers/nuget-2.8.5.208.package.swidtag
INFO interface: detail: Status : Installed
INFO interface: detail: win-worker: Status : Installed
win-worker: Status : Installed
INFO interface: detail: SearchKey : https://onegetcdn.azureedge.net/providers/nuget-2.8.5.208.package.swidtag
INFO interface: detail: win-worker: SearchKey : https://onegetcdn.azureedge.net/providers/nuget-2.8.5.208.package.swidtag
win-worker: SearchKey : https://onegetcdn.azureedge.net/providers/nuget-2.8.5.208.package.swidtag
INFO interface: detail: FullPath :
INFO interface: detail: win-worker: FullPath :
win-worker: FullPath :
INFO interface: detail: PackageFilename : Microsoft.PackageManagement.NuGetProvider.dll
INFO interface: detail: win-worker: PackageFilename : Microsoft.PackageManagement.NuGetProvider.dll
win-worker: PackageFilename : Microsoft.PackageManagement.NuGetProvider.dll
INFO interface: detail: FromTrustedSource : False
INFO interface: detail: win-worker: FromTrustedSource : False
win-worker: FromTrustedSource : False
INFO interface: detail: Summary : NuGet provider for the OneGet meta-package manager
INFO interface: detail: win-worker: Summary : NuGet provider for the OneGet meta-package manager
win-worker: Summary : NuGet provider for the OneGet meta-package manager
INFO interface: detail: SwidTags : {nuget}
INFO interface: detail: win-worker: SwidTags : {nuget}
win-worker: SwidTags : {nuget}
INFO interface: detail: CanonicalId : bootstrap:nuget/2.8.5.208#https://onegetcdn.azureedge.net/providers/nuget-2.8.5.208.package.swid
INFO interface: detail: win-worker: CanonicalId : bootstrap:nuget/2.8.5.208#https://onegetcdn.azureedge.net/providers/nuget-2.8.5.208.package.swid
win-worker: CanonicalId : bootstrap:nuget/2.8.5.208#https://onegetcdn.azureedge.net/providers/nuget-2.8.5.208.package.swid
INFO interface: detail: tag
INFO interface: detail: win-worker: tag
win-worker: tag
INFO interface: detail: Metadata : {summary,providerName,providerVersion,summary}
INFO interface: detail: win-worker: Metadata : {summary,providerName,providerVersion,summary}
win-worker: Metadata : {summary,providerName,providerVersion,summary}
INFO interface: detail: SwidTagText : <?xml version="1.0" encoding="utf-16" standalone="yes"?>
INFO interface: detail: win-worker: SwidTagText : <?xml version="1.0" encoding="utf-16" standalone="yes"?>
win-worker: SwidTagText : <?xml version="1.0" encoding="utf-16" standalone="yes"?>
INFO interface: detail: <SoftwareIdentity
INFO interface: detail: win-worker: <SoftwareIdentity
win-worker: <SoftwareIdentity
INFO interface: detail: name="nuget"
INFO interface: detail: win-worker: name="nuget"
win-worker: name="nuget"
INFO interface: detail: version="2.8.5.208"
INFO interface: detail: win-worker: version="2.8.5.208"
win-worker: version="2.8.5.208"
INFO interface: detail: versionScheme="multipartnumeric"
INFO interface: detail: win-worker: versionScheme="multipartnumeric"
win-worker: versionScheme="multipartnumeric"
INFO interface: detail: xmlns="http://standards.iso.org/iso/19770/-2/2015/schema.xsd">
INFO interface: detail: win-worker: xmlns="http://standards.iso.org/iso/19770/-2/2015/schema.xsd">
win-worker: xmlns="http://standards.iso.org/iso/19770/-2/2015/schema.xsd">
INFO interface: detail: <Meta
INFO interface: detail: win-worker: <Meta
win-worker: <Meta
INFO interface: detail: summary="NuGet provider for the OneGet meta-package manager" />
INFO interface: detail: win-worker: summary="NuGet provider for the OneGet meta-package manager" />
win-worker: summary="NuGet provider for the OneGet meta-package manager" />
INFO interface: detail: <Meta
INFO interface: detail: win-worker: <Meta
win-worker: <Meta
INFO interface: detail: providerName="nuget"
INFO interface: detail: win-worker: providerName="nuget"
win-worker: providerName="nuget"
INFO interface: detail: providerVersion="2.8.5.208"
INFO interface: detail: win-worker: providerVersion="2.8.5.208"
win-worker: providerVersion="2.8.5.208"
INFO interface: detail: summary="NuGet provider for the OneGet meta-package manager" />
INFO interface: detail: win-worker: summary="NuGet provider for the OneGet meta-package manager" />
win-worker: summary="NuGet provider for the OneGet meta-package manager" />
INFO interface: detail: <Link
INFO interface: detail: win-worker: <Link
win-worker: <Link
INFO interface: detail: href="https://onegetcdn.azureedge.net/providers/Microsoft.PackageManagement.NuGetProvider-2.
INFO interface: detail: win-worker: href="https://onegetcdn.azureedge.net/providers/Microsoft.PackageManagement.NuGetProvider-2.
win-worker: href="https://onegetcdn.azureedge.net/providers/Microsoft.PackageManagement.NuGetProvider-2.
INFO interface: detail: 8.5.208.dll"
INFO interface: detail: win-worker: 8.5.208.dll"
win-worker: 8.5.208.dll"
INFO interface: detail: rel="installationmedia"
INFO interface: detail: win-worker: rel="installationmedia"
win-worker: rel="installationmedia"
INFO interface: detail: type="application/octet-stream"
INFO interface: detail: win-worker: type="application/octet-stream"
win-worker: type="application/octet-stream"
INFO interface: detail: media="(OS:windows)" />
INFO interface: detail: win-worker: media="(OS:windows)" />
win-worker: media="(OS:windows)" />
INFO interface: detail: </SoftwareIdentity>
INFO interface: detail: win-worker: </SoftwareIdentity>
win-worker: </SoftwareIdentity>
INFO interface: detail: Dependencies : {}
INFO interface: detail: win-worker: Dependencies : {}
win-worker: Dependencies : {}
INFO interface: detail: IsCorpus :
INFO interface: detail: win-worker: IsCorpus :
win-worker: IsCorpus :
INFO interface: detail: Name : nuget
INFO interface: detail: win-worker: Name : nuget
win-worker: Name : nuget
INFO interface: detail: Version : 2.8.5.208
INFO interface: detail: win-worker: Version : 2.8.5.208
win-worker: Version : 2.8.5.208
INFO interface: detail: VersionScheme : multipartnumeric
INFO interface: detail: win-worker: VersionScheme : multipartnumeric
win-worker: VersionScheme : multipartnumeric
INFO interface: detail: TagVersion :
INFO interface: detail: win-worker: TagVersion :
win-worker: TagVersion :
INFO interface: detail: TagId :
INFO interface: detail: win-worker: TagId :
win-worker: TagId :
INFO interface: detail: IsPatch :
INFO interface: detail: win-worker: IsPatch :
win-worker: IsPatch :
INFO interface: detail: IsSupplemental :
INFO interface: detail: win-worker: IsSupplemental :
win-worker: IsSupplemental :
INFO interface: detail: AppliesToMedia :
INFO interface: detail: win-worker: AppliesToMedia :
win-worker: AppliesToMedia :
INFO interface: detail: Meta : {{summary}, {providerName,providerVersion,summary}}
INFO interface: detail: win-worker: Meta : {{summary}, {providerName,providerVersion,summary}}
win-worker: Meta : {{summary}, {providerName,providerVersion,summary}}
INFO interface: detail: Links : {installationmedia:https://onegetcdn.azureedge.net/providers/Microsoft.PackageManagement.NuGetPr
INFO interface: detail: win-worker: Links : {installationmedia:https://onegetcdn.azureedge.net/providers/Microsoft.PackageManagement.NuGetPr
win-worker: Links : {installationmedia:https://onegetcdn.azureedge.net/providers/Microsoft.PackageManagement.NuGetPr
INFO interface: detail: ovider-2.8.5.208.dll}
INFO interface: detail: win-worker: ovider-2.8.5.208.dll}
win-worker: ovider-2.8.5.208.dll}
INFO interface: detail: Entities : {}
INFO interface: detail: win-worker: Entities : {}
win-worker: Entities : {}
INFO interface: detail: Payload :
INFO interface: detail: win-worker: Payload :
win-worker: Payload :
INFO interface: detail: Evidence :
INFO interface: detail: win-worker: Evidence :
win-worker: Evidence :
INFO interface: detail: Culture :
INFO interface: detail: win-worker: Culture :
win-worker: Culture :
INFO interface: detail: Attributes : {name,version,versionScheme}
INFO interface: detail: win-worker: Attributes : {name,version,versionScheme}
win-worker: Attributes : {name,version,versionScheme}
INFO interface: detail: Installing DockerMsftProvider...
INFO interface: detail: win-worker: Installing DockerMsftProvider...
win-worker: Installing DockerMsftProvider...
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
INFO interface: detail: Installing Docker...
INFO interface: detail: win-worker: Installing Docker...
win-worker: Installing Docker...
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
INFO interface: detail: WARNING: A restart is required to enable the containers feature. Please restart your machine.
INFO interface: detail: win-worker: WARNING: A restart is required to enable the containers feature. Please restart your machine.
win-worker: WARNING: A restart is required to enable the containers feature. Please restart your machine.
INFO interface: detail: FastPackageReference : DockerDefault|#|Docker|#|18.09.6|#|Contains Docker EE for use with Windows Server.|#|2019-05-06T
INFO interface: detail: win-worker: FastPackageReference : DockerDefault|#|Docker|#|18.09.6|#|Contains Docker EE for use with Windows Server.|#|2019-05-06T
win-worker: FastPackageReference : DockerDefault|#|Docker|#|18.09.6|#|Contains Docker EE for use with Windows Server.|#|2019-05-06T
INFO interface: detail: 17:26:13|#|https://dockermsft.blob.core.windows.net/dockercontainer/docker-18-09-6.zip|#|3568816
INFO interface: detail: win-worker: 17:26:13|#|https://dockermsft.blob.core.windows.net/dockercontainer/docker-18-09-6.zip|#|3568816
win-worker: 17:26:13|#|https://dockermsft.blob.core.windows.net/dockercontainer/docker-18-09-6.zip|#|3568816
INFO interface: detail: 1|#|A175324B8A3D74A59929BE770AD75F0FC2B5413FBE11677DFCE7A2DBF2C175A0
INFO interface: detail: win-worker: 1|#|A175324B8A3D74A59929BE770AD75F0FC2B5413FBE11677DFCE7A2DBF2C175A0
win-worker: 1|#|A175324B8A3D74A59929BE770AD75F0FC2B5413FBE11677DFCE7A2DBF2C175A0
INFO interface: detail: ProviderName : DockerMsftProvider
INFO interface: detail: win-worker: ProviderName : DockerMsftProvider
win-worker: ProviderName : DockerMsftProvider
INFO interface: detail: Source : DockerDefault
INFO interface: detail: win-worker: Source : DockerDefault
win-worker: Source : DockerDefault
INFO interface: detail: Status : Installed
INFO interface: detail: win-worker: Status : Installed
win-worker: Status : Installed
INFO interface: detail: SearchKey :
INFO interface: detail: win-worker: SearchKey :
win-worker: SearchKey :
INFO interface: detail: FullPath :
INFO interface: detail: win-worker: FullPath :
win-worker: FullPath :
INFO interface: detail: PackageFilename :
INFO interface: detail: win-worker: PackageFilename :
win-worker: PackageFilename :
INFO interface: detail: FromTrustedSource : False
INFO interface: detail: win-worker: FromTrustedSource : False
win-worker: FromTrustedSource : False
INFO interface: detail: Summary : Contains Docker EE for use with Windows Server.
INFO interface: detail: win-worker: Summary : Contains Docker EE for use with Windows Server.
win-worker: Summary : Contains Docker EE for use with Windows Server.
INFO interface: detail: SwidTags : {Docker}
INFO interface: detail: win-worker: SwidTags : {Docker}
win-worker: SwidTags : {Docker}
INFO interface: detail: CanonicalId : dockermsftprovider:Docker/18.09.6#DockerDefault
INFO interface: detail: win-worker: CanonicalId : dockermsftprovider:Docker/18.09.6#DockerDefault
win-worker: CanonicalId : dockermsftprovider:Docker/18.09.6#DockerDefault
INFO interface: detail: Metadata : {summary}
INFO interface: detail: win-worker: Metadata : {summary}
win-worker: Metadata : {summary}
INFO interface: detail: SwidTagText : <?xml version="1.0" encoding="utf-16" standalone="yes"?>
INFO interface: detail: win-worker: SwidTagText : <?xml version="1.0" encoding="utf-16" standalone="yes"?>
win-worker: SwidTagText : <?xml version="1.0" encoding="utf-16" standalone="yes"?>
INFO interface: detail: <SoftwareIdentity
INFO interface: detail: win-worker: <SoftwareIdentity
win-worker: <SoftwareIdentity
INFO interface: detail: name="Docker"
INFO interface: detail: win-worker: name="Docker"
win-worker: name="Docker"
INFO interface: detail: version="18.09.6"
INFO interface: detail: win-worker: version="18.09.6"
win-worker: version="18.09.6"
INFO interface: detail: versionScheme="MultiPartNumeric"
INFO interface: detail: win-worker: versionScheme="MultiPartNumeric"
win-worker: versionScheme="MultiPartNumeric"
INFO interface: detail: xmlns="http://standards.iso.org/iso/19770/-2/2015/schema.xsd">
INFO interface: detail: win-worker: xmlns="http://standards.iso.org/iso/19770/-2/2015/schema.xsd">
win-worker: xmlns="http://standards.iso.org/iso/19770/-2/2015/schema.xsd">
INFO interface: detail: <Meta
INFO interface: detail: win-worker: <Meta
win-worker: <Meta
INFO interface: detail: summary="Contains Docker EE for use with Windows Server." />
INFO interface: detail: win-worker: summary="Contains Docker EE for use with Windows Server." />
win-worker: summary="Contains Docker EE for use with Windows Server." />
INFO interface: detail: </SoftwareIdentity>
INFO interface: detail: win-worker: </SoftwareIdentity>
win-worker: </SoftwareIdentity>
INFO interface: detail: Dependencies : {}
INFO interface: detail: win-worker: Dependencies : {}
win-worker: Dependencies : {}
INFO interface: detail: IsCorpus :
INFO interface: detail: win-worker: IsCorpus :
win-worker: IsCorpus :
INFO interface: detail: Name : Docker
INFO interface: detail: win-worker: Name : Docker
win-worker: Name : Docker
INFO interface: detail: Version : 18.09.6
INFO interface: detail: win-worker: Version : 18.09.6
win-worker: Version : 18.09.6
INFO interface: detail: VersionScheme : MultiPartNumeric
INFO interface: detail: win-worker: VersionScheme : MultiPartNumeric
win-worker: VersionScheme : MultiPartNumeric
INFO interface: detail: TagVersion :
INFO interface: detail: win-worker: TagVersion :
win-worker: TagVersion :
INFO interface: detail: TagId :
INFO interface: detail: win-worker: TagId :
win-worker: TagId :
INFO interface: detail: IsPatch :
INFO interface: detail: win-worker: IsPatch :
win-worker: IsPatch :
INFO interface: detail: IsSupplemental :
INFO interface: detail: win-worker: IsSupplemental :
win-worker: IsSupplemental :
INFO interface: detail: AppliesToMedia :
INFO interface: detail: win-worker: AppliesToMedia :
win-worker: AppliesToMedia :
INFO interface: detail: Meta : {{summary}}
INFO interface: detail: win-worker: Meta : {{summary}}
win-worker: Meta : {{summary}}
INFO interface: detail: Links : {}
INFO interface: detail: win-worker: Links : {}
win-worker: Links : {}
INFO interface: detail: Entities : {}
INFO interface: detail: win-worker: Entities : {}
win-worker: Entities : {}
INFO interface: detail: Payload :
INFO interface: detail: win-worker: Payload :
win-worker: Payload :
INFO interface: detail: Evidence :
INFO interface: detail: win-worker: Evidence :
win-worker: Evidence :
INFO interface: detail: Culture :
INFO interface: detail: win-worker: Culture :
win-worker: Culture :
INFO interface: detail: Attributes : {name,version,versionScheme}
INFO interface: detail: win-worker: Attributes : {name,version,versionScheme}
win-worker: Attributes : {name,version,versionScheme}
DEBUG winrmshell: [WinRM] cleaning up command_id: F17DE12B-A19A-4FF7-B84F-54350C73F64F on shell_id 5EA32BCA-2AB5-4813-A968-FC9786941B79
DEBUG winrmshell: Output: #<WinRM::Output:0x00000000047b64f8 @data=[{:stdout=>"\r\n"}, {:stdout=>"\r\n"}, {:stdout=>" Directory: C:\\vagrant\r\n"}, {:stdout=>"\r\n"}, {:stdout=>"\r\n"}, {:stdout=>"Mode LastWriteTime Length Name \r\n"}, {:stdout=>"---- ------------- ------ ---- \r\n"}, {:stdout=>"d----- 5/28/2019 7:22 PM .vagrant \r\n"}, {:stdout=>"-a---- 5/26/2019 7:07 PM 593 install-docker.ps1 \r\n"}, {:stdout=>"-a---- 5/28/2019 8:08 PM 0 log \r\n"}, {:stdout=>"-a---- 5/28/2019 7:22 PM 1471 Vagrantfile \r\n"}, {:stdout=>"Installing Nuget...\r\n"}, {:stdout=>"\r\n"}, {:stdout=>"FastPackageReference : https://onegetcdn.azureedge.net/providers/nuget-2.8.5.208.package.swidtag\r\n"}, {:stdout=>"ProviderName : Bootstrap\r\n"}, {:stdout=>"Source : https://onegetcdn.azureedge.net/providers/nuget-2.8.5.208.package.swidtag\r\n"}, {:stdout=>"Status : Installed\r\n"}, {:stdout=>"SearchKey : https://onegetcdn.azureedge.net/providers/nuget-2.8.5.208.package.swidtag\r\n"}, {:stdout=>"FullPath : \r\n"}, {:stdout=>"PackageFilename : Microsoft.PackageManagement.NuGetProvider.dll\r\n"}, {:stdout=>"FromTrustedSource : False\r\n"}, {:stdout=>"Summary : NuGet provider for the OneGet meta-package manager\r\n"}, {:stdout=>"SwidTags : {nuget}\r\n"}, {:stdout=>"CanonicalId : bootstrap:nuget/2.8.5.208#https://onegetcdn.azureedge.net/providers/nuget-2.8.5.208.package.swid\r\n"}, {:stdout=>" tag\r\n"}, {:stdout=>"Metadata : {summary,providerName,providerVersion,summary}\r\n"}, {:stdout=>"SwidTagText : <?xml version=\"1.0\" encoding=\"utf-16\" standalone=\"yes\"?>\r\n"}, {:stdout=>" <SoftwareIdentity\r\n"}, {:stdout=>" name=\"nuget\"\r\n"}, {:stdout=>" version=\"2.8.5.208\"\r\n"}, {:stdout=>" versionScheme=\"multipartnumeric\" \r\n"}, {:stdout=>" xmlns=\"http://standards.iso.org/iso/19770/-2/2015/schema.xsd\">\r\n"}, {:stdout=>" <Meta\r\n"}, {:stdout=>" summary=\"NuGet provider for the OneGet meta-package manager\" />\r\n"}, {:stdout=>" <Meta\r\n"}, {:stdout=>" providerName=\"nuget\"\r\n"}, {:stdout=>" providerVersion=\"2.8.5.208\"\r\n"}, {:stdout=>" summary=\"NuGet provider for the OneGet meta-package manager\" />\r\n"}, {:stdout=>" <Link\r\n"}, {:stdout=>" href=\"https://onegetcdn.azureedge.net/providers/Microsoft.PackageManagement.NuGetProvider-2.\r\n"}, {:stdout=>" 8.5.208.dll\"\r\n"}, {:stdout=>" rel=\"installationmedia\"\r\n"}, {:stdout=>" type=\"application/octet-stream\"\r\n"}, {:stdout=>" media=\"(OS:windows)\" />\r\n"}, {:stdout=>" </SoftwareIdentity>\r\n"}, {:stdout=>"Dependencies : {}\r\n"}, {:stdout=>"IsCorpus : \r\n"}, {:stdout=>"Name : nuget\r\n"}, {:stdout=>"Version : 2.8.5.208\r\n"}, {:stdout=>"VersionScheme : multipartnumeric\r\n"}, {:stdout=>"TagVersion : \r\n"}, {:stdout=>"TagId : \r\n"}, {:stdout=>"IsPatch : \r\n"}, {:stdout=>"IsSupplemental : \r\n"}, {:stdout=>"AppliesToMedia : \r\n"}, {:stdout=>"Meta : {{summary}, {providerName,providerVersion,summary}}\r\n"}, {:stdout=>"Links : {installationmedia:https://onegetcdn.azureedge.net/providers/Microsoft.PackageManagement.NuGetPr\r\n"}, {:stdout=>" ovider-2.8.5.208.dll}\r\n"}, {:stdout=>"Entities : {}\r\n"}, {:stdout=>"Payload : \r\n"}, {:stdout=>"Evidence : \r\n"}, {:stdout=>"Culture : \r\n"}, {:stdout=>"Attributes : {name,version,versionScheme}\r\n"}, {:stdout=>"\r\n"}, {:stdout=>"Installing DockerMsftProvider...\r\n"}, {:stdout=>"Installing Docker...\r\n"}, {:stdout=>"WARNING: A restart is required to enable the containers feature. Please restart your machine.\r\n"}, {:stdout=>"\r\n"}, {:stdout=>"FastPackageReference : DockerDefault|#|Docker|#|18.09.6|#|Contains Docker EE for use with Windows Server.|#|2019-05-06T\r\n"}, {:stdout=>" 17:26:13|#|https://dockermsft.blob.core.windows.net/dockercontainer/docker-18-09-6.zip|#|3568816\r\n"}, {:stdout=>" 1|#|A175324B8A3D74A59929BE770AD75F0FC2B5413FBE11677DFCE7A2DBF2C175A0\r\n"}, {:stdout=>"ProviderName : DockerMsftProvider\r\n"}, {:stdout=>"Source : DockerDefault\r\n"}, {:stdout=>"Status : Installed\r\n"}, {:stdout=>"SearchKey : \r\n"}, {:stdout=>"FullPath : \r\n"}, {:stdout=>"PackageFilename : \r\n"}, {:stdout=>"FromTrustedSource : False\r\n"}, {:stdout=>"Summary : Contains Docker EE for use with Windows Server.\r\n"}, {:stdout=>"SwidTags : {Docker}\r\n"}, {:stdout=>"CanonicalId : dockermsftprovider:Docker/18.09.6#DockerDefault\r\n"}, {:stdout=>"Metadata : {summary}\r\n"}, {:stdout=>"SwidTagText : <?xml version=\"1.0\" encoding=\"utf-16\" standalone=\"yes\"?>\r\n"}, {:stdout=>" <SoftwareIdentity\r\n"}, {:stdout=>" name=\"Docker\"\r\n"}, {:stdout=>" version=\"18.09.6\"\r\n"}, {:stdout=>" versionScheme=\"MultiPartNumeric\" \r\n"}, {:stdout=>" xmlns=\"http://standards.iso.org/iso/19770/-2/2015/schema.xsd\">\r\n"}, {:stdout=>" <Meta\r\n"}, {:stdout=>" summary=\"Contains Docker EE for use with Windows Server.\" />\r\n"}, {:stdout=>" </SoftwareIdentity>\r\n"}, {:stdout=>"Dependencies : {}\r\n"}, {:stdout=>"IsCorpus : \r\n"}, {:stdout=>"Name : Docker\r\n"}, {:stdout=>"Version : 18.09.6\r\n"}, {:stdout=>"VersionScheme : MultiPartNumeric\r\n"}, {:stdout=>"TagVersion : \r\n"}, {:stdout=>"TagId : \r\n"}, {:stdout=>"IsPatch : \r\n"}, {:stdout=>"IsSupplemental : \r\n"}, {:stdout=>"AppliesToMedia : \r\n"}, {:stdout=>"Meta : {{summary}}\r\n"}, {:stdout=>"Links : {}\r\n"}, {:stdout=>"Entities : {}\r\n"}, {:stdout=>"Payload : \r\n"}, {:stdout=>"Evidence : \r\n"}, {:stdout=>"Culture : \r\n"}, {:stdout=>"Attributes : {name,version,versionScheme}\r\n"}, {:stdout=>"\r\n"}, {:stdout=>"\r\n"}, {:stdout=>"\r\n"}], @exitcode=0>
INFO winrm: Checking whether WinRM is ready...
DEBUG provider: Searching for cap: winrm_info
DEBUG provider: Checking in: hyperv
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x0000000006663a40>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006462ed0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000006462ea8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006462e80>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006462de0>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000006462db8>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006412ea8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006412ea8>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000006462db8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006462de0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000006462e80>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000006462ea8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000006462ed0>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"ip": "172.17.151.36"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
DEBUG provider: IP: 172.17.151.36
DEBUG winrmshell: initializing WinRMShell
INFO winrmshell: Attempting to connect to WinRM...
INFO winrmshell: - Host: 172.17.151.36
INFO winrmshell: - Port: 5985
INFO winrmshell: - Username: vagrant
INFO winrmshell: - Transport: negotiate
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] remote shell created with shell_id: A3FED24E-8D2C-4E3F-9AE4-677529DCAE8B
DEBUG winrmshell: [WinRM] Command created for hostname with id: CC3D3C91-F51C-458B-B1C3-C769E61CBD55
DEBUG winrmshell: [WinRM] creating command_id: CC3D3C91-F51C-458B-B1C3-C769E61CBD55 on shell_id A3FED24E-8D2C-4E3F-9AE4-677529DCAE8B
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: CC3D3C91-F51C-458B-B1C3-C769E61CBD55 on shell_id A3FED24E-8D2C-4E3F-9AE4-677529DCAE8B
DEBUG winrmshell: Output: #<WinRM::Output:0x00000000064f9128 @data=[{:stdout=>"win-worker"}, {:stdout=>"\r\n"}], @exitcode=0>
INFO winrm: WinRM is ready!
DEBUG guest: Searching for cap: reboot
DEBUG guest: Checking in: windows
DEBUG guest: Found cap: reboot in windows
INFO guest: Execute capability: reboot [#<Vagrant::Machine: win-worker (VagrantPlugins::HyperV::Provider)>] (windows)
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] Endpoint doesn't support config request for MaxEnvelopsizekb
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x0000000006742e20 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Version N=\"protocolversion\">2.3</Version><Version N=\"PSVersion\">2.0</Version><Version N=\"SerializationVersion\">1.1.0.1</Version></MS></Obj>", @destination=1, @type=65538, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x0000000006741d18 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Obj N=\"ApplicationPrivateData\" RefId=\"1\"><TN RefId=\"0\"><T>System.Management.Automation.PSPrimitiveDictionary</T><T>System.Collections.Hashtable</T><T>System.Object</T></TN><DCT><En><S N=\"Key\">BreakAll</S><B N=\"Value\">false</B></En><En><S N=\"Key\">DebugStop</S><B N=\"Value\">false</B></En><En><S N=\"Key\">UnhandledBreakpointMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">PSVersionTable</S><Obj N=\"Value\" RefId=\"2\"><TNRef RefId=\"0\" /><DCT><En><S N=\"Key\">PSVersion</S><Version N=\"Value\">5.1.17763.316</Version></En><En><S N=\"Key\">PSEdition</S><S N=\"Value\">Desktop</S></En><En><S N=\"Key\">PSCompatibleVersions</S><Obj N=\"Value\" RefId=\"3\"><TN RefId=\"1\"><T>System.Version[]</T><T>System.Array</T><T>System.Object</T></TN><LST><Version>1.0</Version><Version>2.0</Version><Version>3.0</Version><Version>4.0</Version><Version>5.0</Version><Version>5.1.17763.316</Version></LST></Obj></En><En><S N=\"Key\">CLRVersion</S><Version N=\"Value\">4.0.30319.42000</Version></En><En><S N=\"Key\">BuildVersion</S><Version N=\"Value\">10.0.17763.316</Version></En><En><S N=\"Key\">WSManStackVersion</S><Version N=\"Value\">3.0</Version></En><En><S N=\"Key\">PSRemotingProtocolVersion</S><Version N=\"Value\">2.3</Version></En><En><S N=\"Key\">SerializationVersion</S><Version N=\"Value\">1.1.0.1</Version></En></DCT></Obj></En><En><S N=\"Key\">DebugMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">DebugBreakpointCount</S><I32 N=\"Value\">0</I32></En></DCT></Obj></MS></Obj>", @destination=1, @type=135177, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x000000000666b790 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><I32 N=\"RunspaceState\">2</I32></MS></Obj>", @destination=1, @type=135173, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 8D538F31-96E6-458F-A725-AB464354E302
DEBUG winrmshell: [WinRM] Command created for # Function to check whether machine is currently shutting down
function ShuttingDown {
[string]$sourceCode = @"
using System;
using System.Runtime.InteropServices;
namespace Vagrant {
public static class RemoteManager {
private const int SM_SHUTTINGDOWN = 0x2000;
[DllImport("User32.dll", CharSet = CharSet.Unicode)]
private static extern int GetSystemMetrics(int Index);
public static bool Shutdown() {
return (0 != GetSystemMetrics(SM_SHUTTINGDOWN));
}
}
}
"@
$type = Add-Type -TypeDefinition $sourceCode -PassThru
return $type::Shutdown()
}
if (ShuttingDown) {
exit 1
} else {
# See if a reboot is scheduled in the future by trying to schedule a reboot
. shutdown.exe -f -r -t 60
if ($LASTEXITCODE -eq 1190) {
# reboot is already pending
exit 2
}
if ($LASTEXITCODE -eq 1115) {
# A system shutdown is in progress
exit 2
}
# Remove the pending reboot we just created above
if ($LASTEXITCODE -eq 0) {
. shutdown.exe -a
}
}
# no reboot in progress or scheduled
exit 0
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: 8E9C3BC3-E33F-47B3-A366-84C485FD84AF
DEBUG winrmshell: [WinRM] creating command_id: 8E9C3BC3-E33F-47B3-A366-84C485FD84AF on shell_id 8D538F31-96E6-458F-A725-AB464354E302
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 8E9C3BC3-E33F-47B3-A366-84C485FD84AF on shell_id 8D538F31-96E6-458F-A725-AB464354E302
DEBUG winrmshell: Output: #<WinRM::Output:0x000000000658f358 @data=[], @exitcode=0>
DEBUG reboot: Issuing reboot command for guest
DEBUG winrm: powershell executing:
shutdown /r /t 5 /f /d p:4:1 /c "Vagrant Reboot Computer"
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] Endpoint doesn't support config request for MaxEnvelopsizekb
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x000000000690d868 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Version N=\"protocolversion\">2.3</Version><Version N=\"PSVersion\">2.0</Version><Version N=\"SerializationVersion\">1.1.0.1</Version></MS></Obj>", @destination=1, @type=65538, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x000000000690c6c0 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Obj N=\"ApplicationPrivateData\" RefId=\"1\"><TN RefId=\"0\"><T>System.Management.Automation.PSPrimitiveDictionary</T><T>System.Collections.Hashtable</T><T>System.Object</T></TN><DCT><En><S N=\"Key\">BreakAll</S><B N=\"Value\">false</B></En><En><S N=\"Key\">DebugStop</S><B N=\"Value\">false</B></En><En><S N=\"Key\">UnhandledBreakpointMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">PSVersionTable</S><Obj N=\"Value\" RefId=\"2\"><TNRef RefId=\"0\" /><DCT><En><S N=\"Key\">PSVersion</S><Version N=\"Value\">5.1.17763.316</Version></En><En><S N=\"Key\">PSEdition</S><S N=\"Value\">Desktop</S></En><En><S N=\"Key\">PSCompatibleVersions</S><Obj N=\"Value\" RefId=\"3\"><TN RefId=\"1\"><T>System.Version[]</T><T>System.Array</T><T>System.Object</T></TN><LST><Version>1.0</Version><Version>2.0</Version><Version>3.0</Version><Version>4.0</Version><Version>5.0</Version><Version>5.1.17763.316</Version></LST></Obj></En><En><S N=\"Key\">CLRVersion</S><Version N=\"Value\">4.0.30319.42000</Version></En><En><S N=\"Key\">BuildVersion</S><Version N=\"Value\">10.0.17763.316</Version></En><En><S N=\"Key\">WSManStackVersion</S><Version N=\"Value\">3.0</Version></En><En><S N=\"Key\">PSRemotingProtocolVersion</S><Version N=\"Value\">2.3</Version></En><En><S N=\"Key\">SerializationVersion</S><Version N=\"Value\">1.1.0.1</Version></En></DCT></Obj></En><En><S N=\"Key\">DebugMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">DebugBreakpointCount</S><I32 N=\"Value\">0</I32></En></DCT></Obj></MS></Obj>", @destination=1, @type=135177, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000068209f0 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><I32 N=\"RunspaceState\">2</I32></MS></Obj>", @destination=1, @type=135173, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 1AD6D207-9580-4183-8E63-41BDFE56CA9E
DEBUG winrmshell: [WinRM] Command created for shutdown /r /t 5 /f /d p:4:1 /c "Vagrant Reboot Computer"
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: 46EE7BA4-BE22-4870-860E-9C58153DD56A
DEBUG winrmshell: [WinRM] creating command_id: 46EE7BA4-BE22-4870-860E-9C58153DD56A on shell_id 1AD6D207-9580-4183-8E63-41BDFE56CA9E
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 46EE7BA4-BE22-4870-860E-9C58153DD56A on shell_id 1AD6D207-9580-4183-8E63-41BDFE56CA9E
DEBUG winrmshell: Output: #<WinRM::Output:0x00000000067428d0 @data=[], @exitcode=0>
INFO interface: info: Waiting for machine to reboot...
INFO interface: info: ==> win-worker: Waiting for machine to reboot...
==> win-worker: Waiting for machine to reboot...
DEBUG reboot: Waiting for machine to finish rebooting
INFO winrm: Checking whether WinRM is ready...
DEBUG provider: Searching for cap: winrm_info
DEBUG provider: Checking in: hyperv
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00000000064b3768>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000063dabc0>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000063dab48>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000063dab20>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000063daa80>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000063daa58>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004e79df8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004e79df8>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x00000000063daa58>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000063daa80>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x00000000063dab20>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00000000063dab48>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x00000000063dabc0>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"ip": "172.17.151.36"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
DEBUG provider: IP: 172.17.151.36
DEBUG winrmshell: initializing WinRMShell
INFO winrmshell: Attempting to connect to WinRM...
INFO winrmshell: - Host: 172.17.151.36
INFO winrmshell: - Port: 5985
INFO winrmshell: - Username: vagrant
INFO winrmshell: - Transport: negotiate
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 536DCC2A-88F6-44CE-9F38-5F174155C32B
DEBUG winrmshell: [WinRM] Command created for hostname with id: 55DEC71C-19B4-48C4-A34B-226E01C70CF3
DEBUG winrmshell: [WinRM] creating command_id: 55DEC71C-19B4-48C4-A34B-226E01C70CF3 on shell_id 536DCC2A-88F6-44CE-9F38-5F174155C32B
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 55DEC71C-19B4-48C4-A34B-226E01C70CF3 on shell_id 536DCC2A-88F6-44CE-9F38-5F174155C32B
DEBUG winrmshell: Output: #<WinRM::Output:0x0000000005447a50 @data=[{:stdout=>"win-worker"}, {:stdout=>"\r\n"}], @exitcode=0>
INFO winrm: WinRM is ready!
DEBUG winrm: powershell executing:
# Function to check whether machine is currently shutting down
function ShuttingDown {
[string]$sourceCode = @"
using System;
using System.Runtime.InteropServices;
namespace Vagrant {
public static class RemoteManager {
private const int SM_SHUTTINGDOWN = 0x2000;
[DllImport("User32.dll", CharSet = CharSet.Unicode)]
private static extern int GetSystemMetrics(int Index);
public static bool Shutdown() {
return (0 != GetSystemMetrics(SM_SHUTTINGDOWN));
}
}
}
"@
$type = Add-Type -TypeDefinition $sourceCode -PassThru
return $type::Shutdown()
}
if (ShuttingDown) {
exit 1
} else {
# See if a reboot is scheduled in the future by trying to schedule a reboot
. shutdown.exe -f -r -t 60
if ($LASTEXITCODE -eq 1190) {
# reboot is already pending
exit 2
}
if ($LASTEXITCODE -eq 1115) {
# A system shutdown is in progress
exit 2
}
# Remove the pending reboot we just created above
if ($LASTEXITCODE -eq 0) {
. shutdown.exe -a
}
}
# no reboot in progress or scheduled
exit 0
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] Endpoint doesn't support config request for MaxEnvelopsizekb
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x000000000647b868 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Version N=\"protocolversion\">2.3</Version><Version N=\"PSVersion\">2.0</Version><Version N=\"SerializationVersion\">1.1.0.1</Version></MS></Obj>", @destination=1, @type=65538, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x000000000647a5f8 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><Obj N=\"ApplicationPrivateData\" RefId=\"1\"><TN RefId=\"0\"><T>System.Management.Automation.PSPrimitiveDictionary</T><T>System.Collections.Hashtable</T><T>System.Object</T></TN><DCT><En><S N=\"Key\">BreakAll</S><B N=\"Value\">false</B></En><En><S N=\"Key\">DebugStop</S><B N=\"Value\">false</B></En><En><S N=\"Key\">UnhandledBreakpointMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">PSVersionTable</S><Obj N=\"Value\" RefId=\"2\"><TNRef RefId=\"0\" /><DCT><En><S N=\"Key\">PSVersion</S><Version N=\"Value\">5.1.17763.316</Version></En><En><S N=\"Key\">PSEdition</S><S N=\"Value\">Desktop</S></En><En><S N=\"Key\">PSCompatibleVersions</S><Obj N=\"Value\" RefId=\"3\"><TN RefId=\"1\"><T>System.Version[]</T><T>System.Array</T><T>System.Object</T></TN><LST><Version>1.0</Version><Version>2.0</Version><Version>3.0</Version><Version>4.0</Version><Version>5.0</Version><Version>5.1.17763.316</Version></LST></Obj></En><En><S N=\"Key\">CLRVersion</S><Version N=\"Value\">4.0.30319.42000</Version></En><En><S N=\"Key\">BuildVersion</S><Version N=\"Value\">10.0.17763.316</Version></En><En><S N=\"Key\">WSManStackVersion</S><Version N=\"Value\">3.0</Version></En><En><S N=\"Key\">PSRemotingProtocolVersion</S><Version N=\"Value\">2.3</Version></En><En><S N=\"Key\">SerializationVersion</S><Version N=\"Value\">1.1.0.1</Version></En></DCT></Obj></En><En><S N=\"Key\">DebugMode</S><I32 N=\"Value\">1</I32></En><En><S N=\"Key\">DebugBreakpointCount</S><I32 N=\"Value\">0</I32></En></DCT></Obj></MS></Obj>", @destination=1, @type=135177, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] polling for pipeline state. message: #<WinRM::PSRP::Message:0x00000000063f8350 @data="\xEF\xBB\xBF<Obj RefId=\"0\"><MS><I32 N=\"RunspaceState\">2</I32></MS></Obj>", @destination=1, @type=135173, @pipeline_id="00000000-0000-0000-0000-000000000000", @runspace_pool_id="00000000-0000-0000-0000-000000000000">
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 46B97A1C-8FA3-4487-8908-85E251D3C757
DEBUG winrmshell: [WinRM] Command created for # Function to check whether machine is currently shutting down
function ShuttingDown {
[string]$sourceCode = @"
using System;
using System.Runtime.InteropServices;
namespace Vagrant {
public static class RemoteManager {
private const int SM_SHUTTINGDOWN = 0x2000;
[DllImport("User32.dll", CharSet = CharSet.Unicode)]
private static extern int GetSystemMetrics(int Index);
public static bool Shutdown() {
return (0 != GetSystemMetrics(SM_SHUTTINGDOWN));
}
}
}
"@
$type = Add-Type -TypeDefinition $sourceCode -PassThru
return $type::Shutdown()
}
if (ShuttingDown) {
exit 1
} else {
# See if a reboot is scheduled in the future by trying to schedule a reboot
. shutdown.exe -f -r -t 60
if ($LASTEXITCODE -eq 1190) {
# reboot is already pending
exit 2
}
if ($LASTEXITCODE -eq 1115) {
# A system shutdown is in progress
exit 2
}
# Remove the pending reboot we just created above
if ($LASTEXITCODE -eq 0) {
. shutdown.exe -a
}
}
# no reboot in progress or scheduled
exit 0
if (!$?) { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } with id: B9F200AC-FDCB-4801-8136-2AFBA69052A8
DEBUG winrmshell: [WinRM] creating command_id: B9F200AC-FDCB-4801-8136-2AFBA69052A8 on shell_id 46B97A1C-8FA3-4487-8908-85E251D3C757
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: B9F200AC-FDCB-4801-8136-2AFBA69052A8 on shell_id 46B97A1C-8FA3-4487-8908-85E251D3C757
DEBUG winrmshell: Output: #<WinRM::Output:0x0000000004e3be90 @data=[{:stderr=>"shutdown.exe : A system shutdown has already been scheduled.(1190)\n + CategoryInfo : NotSpecified: (A system shutdo...cheduled.(1190):String) [], RemoteException\n + FullyQualifiedErrorId : NativeCommandError\n"}], @exitcode=2>
INFO winrm: Checking whether WinRM is ready...
DEBUG provider: Searching for cap: winrm_info
DEBUG provider: Checking in: hyperv
INFO machine: Calling action: read_state on provider Hyper-V (52f49ea6-ba54-4a96-b55b-d4db826c5dd5)
INFO interface: Machine: action ["read_state", "start", {:target=>:"win-worker"}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x0000000006459510>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004e4b688>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000004e4b660>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004e4b638>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004e4b520>
INFO warden: Calling IN action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000004e4b4f8>
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_vm_status.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"state": "Running",
"status": "Operating normally"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004e1bc58>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004e1bc58>
INFO warden: Calling OUT action: #<VagrantPlugins::HyperV::Action::ReadState:0x0000000004e4b4f8>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004e4b520>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::AfterTriggerAction:0x0000000004e4b638>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000004e4b660>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::BeforeTriggerAction:0x0000000004e4b688>
INFO interface: Machine: action ["read_state", "end", {:target=>:"win-worker"}]
INFO subprocess: Starting process: ["C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "$env:PSModulePath=$env:PSModulePath+';C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\utils'; &('C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.4\\gems\\vagrant-2.2.4\\plugins\\providers\\hyperv\\scripts\\get_network_config.ps1')", "-VmId", "'52f49ea6-ba54-4a96-b55b-d4db826c5dd5'", "-ErrorAction", "Stop"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: ===Begin-Output===
{
"ip": "172.17.151.36"
}
===End-Output===
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31998
DEBUG subprocess: Exit status: 0
DEBUG provider: IP: 172.17.151.36
DEBUG winrmshell: initializing WinRMShell
INFO winrmshell: Attempting to connect to WinRM...
INFO winrmshell: - Host: 172.17.151.36
INFO winrmshell: - Port: 5985
INFO winrmshell: - Username: vagrant
INFO winrmshell: - Transport: negotiate
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] remote shell created with shell_id: 732D3E7E-58FA-4BC5-9262-E595866F8E1B
DEBUG winrmshell: [WinRM] Command created for hostname with id: 72CED200-D121-4E84-96AE-90502BA3EEAB
DEBUG winrmshell: [WinRM] creating command_id: 72CED200-D121-4E84-96AE-90502BA3EEAB on shell_id 732D3E7E-58FA-4BC5-9262-E595866F8E1B
DEBUG winrmshell: [WinRM] Waiting for output...
DEBUG winrmshell: [WinRM] Processing output
DEBUG winrmshell: [WinRM] cleaning up command_id: 72CED200-D121-4E84-96AE-90502BA3EEAB on shell_id 732D3E7E-58FA-4BC5-9262-E595866F8E1B
DEBUG winrmshell: Output: #<WinRM::Output:0x000000000675a688 @data=[{:stdout=>"win-worker"}, {:stdout=>"\r\n"}], @exitcode=0>
INFO winrm: WinRM is ready!
DEBUG winrm: powershell executing:
# Function to check whether machine is currently shutting down
function ShuttingDown {
[string]$sourceCode = @"
using System;
using System.Runtime.InteropServices;
namespace Vagrant {
public static class RemoteManager {
private const int SM_SHUTTINGDOWN = 0x2000;
[DllImport("User32.dll", CharSet = CharSet.Unicode)]
private static extern int GetSystemMetrics(int Index);
public static bool Shutdown() {
return (0 != GetSystemMetrics(SM_SHUTTINGDOWN));
}
}
}
"@
$type = Add-Type -TypeDefinition $sourceCode -PassThru
return $type::Shutdown()
}
if (ShuttingDown) {
exit 1
} else {
# See if a reboot is scheduled in the future by trying to schedule a reboot
. shutdown.exe -f -r -t 60
if ($LASTEXITCODE -eq 1190) {
# reboot is already pending
exit 2
}
if ($LASTEXITCODE -eq 1115) {
# A system shutdown is in progress
exit 2
}
# Remove the pending reboot we just created above
if ($LASTEXITCODE -eq 0) {
. shutdown.exe -a
}
}
# no reboot in progress or scheduled
exit 0
DEBUG winrmshell: [WinRM] opening remote shell on http://172.17.151.36:5985/wsman
DEBUG winrmshell: [WinRM] Endpoint doesn't support config request for MaxEnvelopsizekb
ERROR warden: Error occurred: Vagrant timed out while attempting to connect via WinRM. This usually
means that the VM booted, but there are issues with the WinRM configuration
or network connectivity issues. Please try to `vagrant reload` or
`vagrant up` again.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: Vagrant timed out while attempting to connect via WinRM. This usually
means that the VM booted, but there are issues with the WinRM configuration
or network connectivity issues. Please try to `vagrant reload` or
`vagrant up` again.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: Vagrant timed out while attempting to connect via WinRM. This usually
means that the VM booted, but there are issues with the WinRM configuration
or network connectivity issues. Please try to `vagrant reload` or
`vagrant up` again.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: Vagrant timed out while attempting to connect via WinRM. This usually
means that the VM booted, but there are issues with the WinRM configuration
or network connectivity issues. Please try to `vagrant reload` or
`vagrant up` again.
INFO warden: Beginning recovery process...
INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x00000000052cbde8>
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: Vagrant timed out while attempting to connect via WinRM. This usually
means that the VM booted, but there are issues with the WinRM configuration
or network connectivity issues. Please try to `vagrant reload` or
`vagrant up` again.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: Vagrant timed out while attempting to connect via WinRM. This usually
means that the VM booted, but there are issues with the WinRM configuration
or network connectivity issues. Please try to `vagrant reload` or
`vagrant up` again.
INFO warden: Beginning recovery process...
INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x0000000004fe84f0>
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: Vagrant timed out while attempting to connect via WinRM. This usually
means that the VM booted, but there are issues with the WinRM configuration
or network connectivity issues. Please try to `vagrant reload` or
`vagrant up` again.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: Vagrant timed out while attempting to connect via WinRM. This usually
means that the VM booted, but there are issues with the WinRM configuration
or network connectivity issues. Please try to `vagrant reload` or
`vagrant up` again.
INFO warden: Beginning recovery process...
INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x0000000005024c48>
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: Vagrant timed out while attempting to connect via WinRM. This usually
means that the VM booted, but there are issues with the WinRM configuration
or network connectivity issues. Please try to `vagrant reload` or
`vagrant up` again.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: Vagrant timed out while attempting to connect via WinRM. This usually
means that the VM booted, but there are issues with the WinRM configuration
or network connectivity issues. Please try to `vagrant reload` or
`vagrant up` again.
INFO warden: Beginning recovery process...
INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x00000000047769e8>
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO environment: Released process lock: machine-action-2410e06a92197ada6d927ed8acab81f3
INFO environment: Running hook: environment_unload
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: environment_unload #<Vagrant::Action::Builder:0x0000000005109758>
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<VagrantPlugins::CommunicatorWinRM::Errors::ConnectionTimeout: Vagrant timed out while attempting to connect via WinRM. This usually
means that the VM booted, but there are issues with the WinRM configuration
or network connectivity issues. Please try to `vagrant reload` or
`vagrant up` again.>
ERROR vagrant: Vagrant timed out while attempting to connect via WinRM. This usually
means that the VM booted, but there are issues with the WinRM configuration
or network connectivity issues. Please try to `vagrant reload` or
`vagrant up` again.
ERROR vagrant: C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/communicators/winrm/shell.rb:180:in `raise_winrm_exception'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/communicators/winrm/shell.rb:140:in `rescue in execute_with_rescue'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/communicators/winrm/shell.rb:137:in `execute_with_rescue'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/communicators/winrm/shell.rb:63:in `block in powershell'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/winrm-2.3.1/lib/winrm/connection.rb:42:in `shell'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/communicators/winrm/shell.rb:62:in `powershell'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/communicators/winrm/communicator.rb:152:in `execute'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/windows/cap/reboot.rb:44:in `wait_for_reboot'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/guests/windows/cap/reboot.rb:30:in `reboot'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/capability_host.rb:111:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/capability_host.rb:111:in `capability'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/guest.rb:43:in `capability'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/provisioners/shell/provisioner.rb:35:in `provision'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/provision.rb:138:in `run_provisioner'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:121:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:121:in `block in finalize_action'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builder.rb:116:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/runner.rb:102:in `block in run'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/util/busy.rb:19:in `busy'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/runner.rb:102:in `run'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/environment.rb:527:in `hook'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/provision.rb:126:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/provision.rb:126:in `block in call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/provision.rb:103:in `each'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/provision.rb:103:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/before_trigger.rb:23:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:121:in `block in finalize_action'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builder.rb:116:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/runner.rb:102:in `block in run'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/util/busy.rb:19:in `busy'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/runner.rb:102:in `run'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/call.rb:53:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/before_trigger.rb:23:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:121:in `block in finalize_action'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builder.rb:116:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/runner.rb:102:in `block in run'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/util/busy.rb:19:in `busy'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/runner.rb:102:in `run'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/call.rb:53:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/before_trigger.rb:23:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:121:in `block in finalize_action'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builder.rb:116:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/runner.rb:102:in `block in run'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/util/busy.rb:19:in `busy'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/runner.rb:102:in `run'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/call.rb:53:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/before_trigger.rb:23:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/after_trigger.rb:26:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/hyperv/action/import.rb:78:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/before_trigger.rb:23:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:121:in `block in finalize_action'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builder.rb:116:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/runner.rb:102:in `block in run'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/util/busy.rb:19:in `busy'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/runner.rb:102:in `run'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/call.rb:53:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/before_trigger.rb:23:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/after_trigger.rb:26:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/before_trigger.rb:23:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/after_trigger.rb:26:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/handle_box.rb:56:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/before_trigger.rb:23:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/after_trigger.rb:26:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/hyperv/action/check_access.rb:19:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/before_trigger.rb:23:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/after_trigger.rb:26:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/plugins/providers/hyperv/action/check_enabled.rb:18:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builtin/before_trigger.rb:23:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/warden.rb:50:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/builder.rb:116:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/runner.rb:102:in `block in run'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/util/busy.rb:19:in `busy'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/action/runner.rb:102:in `run'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/machine.rb:238:in `action_raw'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/machine.rb:209:in `block in action'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/environment.rb:615:in `lock'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/machine.rb:195:in `call'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/machine.rb:195:in `action'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
INFO interface: error: Vagrant timed out while attempting to connect via WinRM. This usually
means that the VM booted, but there are issues with the WinRM configuration
or network connectivity issues. Please try to `vagrant reload` or
`vagrant up` again.
Vagrant timed out while attempting to connect via WinRM. This usually
means that the VM booted, but there are issues with the WinRM configuration
or network connectivity issues. Please try to `vagrant reload` or
`vagrant up` again.
INFO interface: Machine: error-exit ["VagrantPlugins::CommunicatorWinRM::Errors::ConnectionTimeout", "Vagrant timed out while attempting to connect via WinRM. This usually\nmeans that the VM booted, but there are issues with the WinRM configuration\nor network connectivity issues. Please try to `vagrant reload` or\n`vagrant up` again."]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment