-
-
Save Wenzel/a379e0dad3025a5af1b63534bedee674 to your computer and use it in GitHub Desktop.
PACKER_LOG=1 ./packer build windows_10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018/06/29 16:00:49 [INFO] Packer version: 1.2.4 | |
2018/06/29 16:00:49 Packer Target OS/Arch: linux amd64 | |
2018/06/29 16:00:49 Built with Go Version: go1.10.1 | |
2018/06/29 16:00:49 Detected home directory from env var: /home/tarrma | |
2018/06/29 16:00:49 Using internal plugin for profitbricks | |
2018/06/29 16:00:49 Using internal plugin for amazon-chroot | |
2018/06/29 16:00:49 Using internal plugin for amazon-ebsvolume | |
2018/06/29 16:00:49 Using internal plugin for azure-arm | |
2018/06/29 16:00:49 Using internal plugin for cloudstack | |
2018/06/29 16:00:49 Using internal plugin for vmware-vmx | |
2018/06/29 16:00:49 Using internal plugin for hyperv-vmcx | |
2018/06/29 16:00:49 Using internal plugin for triton | |
2018/06/29 16:00:49 Using internal plugin for virtualbox-ovf | |
2018/06/29 16:00:49 Using internal plugin for ncloud | |
2018/06/29 16:00:49 Using internal plugin for parallels-iso | |
2018/06/29 16:00:49 Using internal plugin for amazon-ebs | |
2018/06/29 16:00:49 Using internal plugin for digitalocean | |
2018/06/29 16:00:49 Using internal plugin for googlecompute | |
2018/06/29 16:00:49 Using internal plugin for lxd | |
2018/06/29 16:00:49 Using internal plugin for openstack | |
2018/06/29 16:00:49 Using internal plugin for amazon-instance | |
2018/06/29 16:00:49 Using internal plugin for docker | |
2018/06/29 16:00:49 Using internal plugin for lxc | |
2018/06/29 16:00:49 Using internal plugin for scaleway | |
2018/06/29 16:00:49 Using internal plugin for virtualbox-iso | |
2018/06/29 16:00:49 Using internal plugin for amazon-ebssurrogate | |
2018/06/29 16:00:49 Using internal plugin for null | |
2018/06/29 16:00:49 Using internal plugin for oracle-classic | |
2018/06/29 16:00:49 Using internal plugin for parallels-pvm | |
2018/06/29 16:00:49 Using internal plugin for qemu | |
2018/06/29 16:00:49 Using internal plugin for alicloud-ecs | |
2018/06/29 16:00:49 Using internal plugin for file | |
2018/06/29 16:00:49 Using internal plugin for hyperv-iso | |
2018/06/29 16:00:49 Using internal plugin for oneandone | |
2018/06/29 16:00:49 Using internal plugin for oracle-oci | |
2018/06/29 16:00:49 Using internal plugin for vmware-iso | |
2018/06/29 16:00:49 Using internal plugin for file | |
2018/06/29 16:00:49 Using internal plugin for puppet-masterless | |
2018/06/29 16:00:49 Using internal plugin for puppet-server | |
2018/06/29 16:00:49 Using internal plugin for windows-shell | |
2018/06/29 16:00:49 Using internal plugin for chef-solo | |
2018/06/29 16:00:49 Using internal plugin for shell-local | |
2018/06/29 16:00:49 Using internal plugin for ansible | |
2018/06/29 16:00:49 Using internal plugin for salt-masterless | |
2018/06/29 16:00:49 Using internal plugin for shell | |
2018/06/29 16:00:49 Using internal plugin for converge | |
2018/06/29 16:00:49 Using internal plugin for chef-client | |
2018/06/29 16:00:49 Using internal plugin for powershell | |
2018/06/29 16:00:49 Using internal plugin for windows-restart | |
2018/06/29 16:00:49 Using internal plugin for ansible-local | |
2018/06/29 16:00:49 Using internal plugin for shell-local | |
2018/06/29 16:00:49 Using internal plugin for vagrant-cloud | |
2018/06/29 16:00:49 Using internal plugin for artifice | |
2018/06/29 16:00:49 Using internal plugin for checksum | |
2018/06/29 16:00:49 Using internal plugin for docker-save | |
2018/06/29 16:00:49 Using internal plugin for manifest | |
2018/06/29 16:00:49 Using internal plugin for alicloud-import | |
2018/06/29 16:00:49 Using internal plugin for docker-tag | |
2018/06/29 16:00:49 Using internal plugin for vsphere | |
2018/06/29 16:00:49 Using internal plugin for vagrant | |
2018/06/29 16:00:49 Using internal plugin for amazon-import | |
2018/06/29 16:00:49 Using internal plugin for atlas | |
2018/06/29 16:00:49 Using internal plugin for docker-import | |
2018/06/29 16:00:49 Using internal plugin for docker-push | |
2018/06/29 16:00:49 Using internal plugin for compress | |
2018/06/29 16:00:49 Using internal plugin for googlecompute-export | |
2018/06/29 16:00:49 Using internal plugin for vsphere-template | |
2018/06/29 16:00:49 Detected home directory from env var: /home/tarrma | |
2018/06/29 16:00:49 Attempting to open config file: /home/tarrma/.packerconfig | |
2018/06/29 16:00:49 [WARN] Config file doesn't exist: /home/tarrma/.packerconfig | |
2018/06/29 16:00:49 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[cloudstack:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack hyperv-iso:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso profitbricks:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks parallels-iso:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso amazon-instance:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance scaleway:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway parallels-pvm:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm qemu:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu file:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file hyperv-vmcx:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx virtualbox-ovf:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf docker:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker triton:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton digitalocean:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean openstack:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack oracle-oci:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci vmware-iso:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso amazon-ebsvolume:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume lxd:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd lxc:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc virtualbox-iso:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso oneandone:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone azure-arm:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm vmware-vmx:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx amazon-ebs:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs null:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null oracle-classic:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic amazon-chroot:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot googlecompute:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute alicloud-ecs:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs ncloud:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud amazon-ebssurrogate:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate] PostProcessors:map[atlas:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas docker-push:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push compress:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress googlecompute-export:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export vagrant-cloud:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud checksum:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum docker-tag:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag vsphere-template:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template artifice:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice manifest:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest vagrant:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant alicloud-import:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import vsphere:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere amazon-import:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import docker-import:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import shell-local:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local docker-save:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save] Provisioners:map[chef-client:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client windows-restart:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart file:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file puppet-masterless:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless windows-shell:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell salt-masterless:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless chef-solo:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo converge:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge shell-local:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local ansible-local:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local puppet-server:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server ansible:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible shell:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell powershell:/home/tarrma/tmp/bug_packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell]} | |
2018/06/29 16:00:49 Detected home directory from env var: /home/tarrma | |
2018/06/29 16:00:49 Setting cache directory: /home/tarrma/tmp/bug_packer/packer_cache | |
2018/06/29 16:00:49 Detected home directory from env var: /home/tarrma | |
2018/06/29 16:00:49 Loading builder: qemu | |
2018/06/29 16:00:49 Plugin could not be found. Checking same directory as executable. | |
2018/06/29 16:00:49 Current exe path: /home/tarrma/tmp/bug_packer/packer | |
2018/06/29 16:00:49 Creating plugin client for path: /home/tarrma/tmp/bug_packer/packer | |
2018/06/29 16:00:49 Starting plugin: /home/tarrma/tmp/bug_packer/packer []string{"/home/tarrma/tmp/bug_packer/packer", "plugin", "packer-builder-qemu"} | |
2018/06/29 16:00:49 [ERR] Checkpoint error: EOF | |
2018/06/29 16:00:49 Waiting for RPC address for: /home/tarrma/tmp/bug_packer/packer | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 [INFO] Packer version: 1.2.4 | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Packer Target OS/Arch: linux amd64 | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Built with Go Version: go1.10.1 | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Detected home directory from env var: /home/tarrma | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Attempting to open config file: /home/tarrma/.packerconfig | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 [WARN] Config file doesn't exist: /home/tarrma/.packerconfig | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Detected home directory from env var: /home/tarrma | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Setting cache directory: /home/tarrma/tmp/bug_packer/packer_cache | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 args: []string{"packer-builder-qemu"} | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Plugin minimum port: 10000 | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Plugin maximum port: 25000 | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Detected home directory from env var: /home/tarrma | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 [ERR] Checkpoint error: EOF | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Plugin address: unix /tmp/packer-plugin500076734 | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Waiting for connection... | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Serving a plugin connection... | |
2018/06/29 16:00:49 Loading provisioner: ansible | |
2018/06/29 16:00:49 Plugin could not be found. Checking same directory as executable. | |
2018/06/29 16:00:49 Current exe path: /home/tarrma/tmp/bug_packer/packer | |
2018/06/29 16:00:49 Creating plugin client for path: /home/tarrma/tmp/bug_packer/packer | |
2018/06/29 16:00:49 Starting plugin: /home/tarrma/tmp/bug_packer/packer []string{"/home/tarrma/tmp/bug_packer/packer", "plugin", "packer-provisioner-ansible"} | |
2018/06/29 16:00:49 Waiting for RPC address for: /home/tarrma/tmp/bug_packer/packer | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 [INFO] Packer version: 1.2.4 | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Packer Target OS/Arch: linux amd64 | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Built with Go Version: go1.10.1 | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Detected home directory from env var: /home/tarrma | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Attempting to open config file: /home/tarrma/.packerconfig | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 [WARN] Config file doesn't exist: /home/tarrma/.packerconfig | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Detected home directory from env var: /home/tarrma | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Setting cache directory: /home/tarrma/tmp/bug_packer/packer_cache | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 args: []string{"packer-provisioner-ansible"} | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Plugin minimum port: 10000 | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Plugin maximum port: 25000 | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Plugin address: unix /tmp/packer-plugin534274868 | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Waiting for connection... | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Detected home directory from env var: /home/tarrma | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 Serving a plugin connection... | |
2018/06/29 16:00:49 packer: 2018/06/29 16:00:49 [ERR] Checkpoint error: EOF | |
2018/06/29 16:00:49 ui: qemu output will be in this color. | |
2018/06/29 16:00:49 ui: | |
2018/06/29 16:00:49 Build debug mode: false | |
2018/06/29 16:00:49 Force build: false | |
2018/06/29 16:00:49 On error: | |
2018/06/29 16:00:49 Preparing build: qemu | |
qemu output will be in this color. | |
2018/06/29 16:00:50 packer: 2018/06/29 16:00:50 use specified accelerator: kvm | |
2018/06/29 16:00:50 packer: 2018/06/29 16:00:50 ansible-playbook version: 2.6.0 | |
2018/06/29 16:00:50 Waiting on builds to complete... | |
2018/06/29 16:00:50 Starting build run: qemu | |
2018/06/29 16:00:50 Running builder: qemu | |
2018/06/29 16:00:50 [INFO] (telemetry) Starting builder qemu | |
2018/06/29 16:00:50 packer: 2018/06/29 16:00:50 Qemu path: /usr/bin/qemu-system-x86_64, Qemu Image page: /usr/local/bin/qemu-img | |
2018/06/29 16:00:50 ui: ==> qemu: Downloading or copying ISO | |
==> qemu: Downloading or copying ISO | |
2018/06/29 16:00:50 packer: 2018/06/29 16:00:50 Acquiring lock to download: http://care.dlservice.microsoft.com/dl/download/C/3/9/C399EEA8-135D-4207-92C9-6AAB3259F6EF/10240.16384.150709-1700.TH1_CLIENTENTERPRISEEVAL_OEMRET_X64FRE_EN-US.ISO | |
2018/06/29 16:00:50 packer: 2018/06/29 16:00:50 Verifying checksum of /home/tarrma/tmp/bug_packer/packer_cache/51f18c73ca51f34d7ebb13dca3870c2fe8f8c2115414c0c854cadc3c1bbdfdd3.iso | |
2018/06/29 16:00:55 ui: qemu: Found already downloaded, initial checksum matched, no download needed: http://care.dlservice.microsoft.com/dl/download/C/3/9/C399EEA8-135D-4207-92C9-6AAB3259F6EF/10240.16384.150709-1700.TH1_CLIENTENTERPRISEEVAL_OEMRET_X64FRE_EN-US.ISO | |
2018/06/29 16:00:55 ui: ==> qemu: Creating floppy disk... | |
qemu: Found already downloaded, initial checksum matched, no download needed: http://care.dlservice.microsoft.com/dl/download/C/3/9/C399EEA8-135D-4207-92C9-6AAB3259F6EF/10240.16384.150709-1700.TH1_CLIENTENTERPRISEEVAL_OEMRET_X64FRE_EN-US.ISO | |
==> qemu: Creating floppy disk... | |
2018/06/29 16:00:55 packer: 2018/06/29 16:00:55 Floppy path: /tmp/packer642297605 | |
2018/06/29 16:00:55 packer: 2018/06/29 16:00:55 Initializing block device backed by temporary file | |
2018/06/29 16:00:55 packer: 2018/06/29 16:00:55 Formatting the block device with a FAT filesystem... | |
2018/06/29 16:00:55 packer: 2018/06/29 16:00:55 Initializing FAT filesystem on block device | |
2018/06/29 16:00:55 packer: 2018/06/29 16:00:55 Reading the root directory from the filesystem | |
2018/06/29 16:00:55 ui: qemu: Copying files flatly from floppy_files | |
qemu: Copying files flatly from floppy_files | |
2018/06/29 16:00:55 ui: qemu: Copying file: ./answer_files/10/Autounattend.xml | |
qemu: Copying file: ./answer_files/10/Autounattend.xml | |
2018/06/29 16:00:55 ui: qemu: Copying file: scripts/fixnetwork.ps1 | |
qemu: Copying file: scripts/fixnetwork.ps1 | |
2018/06/29 16:00:55 ui: qemu: Copying file: scripts/setup_winrm_public.bat | |
qemu: Copying file: scripts/setup_winrm_public.bat | |
2018/06/29 16:00:55 ui: qemu: Done copying files from floppy_files | |
qemu: Done copying files from floppy_files | |
2018/06/29 16:00:55 ui: qemu: Collecting paths from floppy_dirs | |
qemu: Collecting paths from floppy_dirs | |
2018/06/29 16:00:55 ui: qemu: Resulting paths from floppy_dirs : [] | |
qemu: Resulting paths from floppy_dirs : [] | |
2018/06/29 16:00:55 ui: qemu: Done copying paths from floppy_dirs | |
qemu: Done copying paths from floppy_dirs | |
2018/06/29 16:00:55 ui: ==> qemu: Creating hard drive... | |
==> qemu: Creating hard drive... | |
2018/06/29 16:00:55 packer: 2018/06/29 16:00:55 Executing qemu-img: []string{"create", "-f", "qcow2", "output-qemu/windows10.qcow2", "50000M"} | |
2018/06/29 16:00:55 packer: 2018/06/29 16:00:55 stdout: Formatting 'output-qemu/windows10.qcow2', fmt=qcow2 size=52428800000 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 | |
2018/06/29 16:00:55 packer: 2018/06/29 16:00:55 stderr: | |
2018/06/29 16:00:55 packer: 2018/06/29 16:00:55 Looking for available communicator (SSH, WinRM, etc) port between 2222 and 4444 | |
2018/06/29 16:00:55 packer: 2018/06/29 16:00:55 Trying port: 3108 | |
2018/06/29 16:00:55 ui: ==> qemu: Found port for communicator (SSH, WinRM, etc): 3108. | |
==> qemu: Found port for communicator (SSH, WinRM, etc): 3108. | |
2018/06/29 16:00:55 ui: ==> qemu: Looking for available port between 5900 and 6000 on 127.0.0.1 | |
2018/06/29 16:00:55 packer: 2018/06/29 16:00:55 Looking for available port between 5900 and 6000 on 127.0.0.1 | |
2018/06/29 16:00:55 packer: 2018/06/29 16:00:55 Trying port: 5947 | |
2018/06/29 16:00:55 packer: 2018/06/29 16:00:55 Found available VNC port: 5947 on IP: 127.0.0.1 | |
==> qemu: Looking for available port between 5900 and 6000 on 127.0.0.1 | |
2018/06/29 16:00:55 ui: ==> qemu: Starting VM, booting from CD-ROM | |
==> qemu: Starting VM, booting from CD-ROM | |
2018/06/29 16:00:56 packer: 2018/06/29 16:00:56 Qemu --version output: QEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.4) | |
2018/06/29 16:00:56 packer: Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers | |
2018/06/29 16:00:56 packer: 2018/06/29 16:00:56 Qemu version: 2.11.1 | |
2018/06/29 16:00:56 ui: qemu: The VM will be run headless, without a GUI. If you want to | |
qemu: view the screen of the VM, connect via VNC without a password to | |
qemu: vnc://127.0.0.1:5947 | |
qemu: The VM will be run headless, without a GUI. If you want to | |
qemu: view the screen of the VM, connect via VNC without a password to | |
2018/06/29 16:00:56 ui: ==> qemu: Overriding defaults Qemu arguments with QemuArgs... | |
qemu: vnc://127.0.0.1:5947 | |
==> qemu: Overriding defaults Qemu arguments with QemuArgs... | |
2018/06/29 16:00:56 packer: 2018/06/29 16:00:56 Executing /usr/bin/qemu-system-x86_64: []string{"-m", "4096M", "-name", "windows10.qcow2", "-netdev", "user,id=user.0,hostfwd=tcp::3108-:5985", "-machine", "type=pc,accel=kvm", "-drive", "file=output-qemu/windows10.qcow2,if=ide,cache=writeback,discard=ignore,format=qcow2", "-smp", "2", "-device", "e1000,netdev=user.0", "-vnc", "127.0.0.1:47", "-fda", "/tmp/packer642297605", "-cdrom", "/home/tarrma/tmp/bug_packer/packer_cache/51f18c73ca51f34d7ebb13dca3870c2fe8f8c2115414c0c854cadc3c1bbdfdd3.iso", "-boot", "once=d"} | |
2018/06/29 16:00:56 packer: 2018/06/29 16:00:56 Started Qemu. Pid: 27605 | |
2018/06/29 16:00:56 packer: 2018/06/29 16:00:56 Qemu stderr: WARNING: Image format was not specified for '/tmp/packer642297605' and probing guessed raw. | |
2018/06/29 16:00:56 packer: 2018/06/29 16:00:56 Qemu stderr: Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. | |
2018/06/29 16:00:56 packer: 2018/06/29 16:00:56 Qemu stderr: Specify the 'raw' format explicitly to remove the restrictions. | |
2018/06/29 16:00:56 packer: 2018/06/29 16:00:56 Qemu stderr: qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2] | |
2018/06/29 16:00:56 packer: 2018/06/29 16:00:56 Qemu stderr: qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2] | |
2018/06/29 16:00:58 ui: ==> qemu: Waiting 10s for boot... | |
==> qemu: Waiting 10s for boot... | |
2018/06/29 16:01:08 ui: ==> qemu: Connecting to VM via VNC | |
==> qemu: Connecting to VM via VNC | |
2018/06/29 16:01:08 packer: 2018/06/29 16:01:08 Connected to VNC desktop: QEMU (windows10.qcow2) | |
2018/06/29 16:01:08 ui: ==> qemu: Typing the boot command over VNC... | |
==> qemu: Typing the boot command over VNC... | |
2018/06/29 16:01:08 packer: 2018/06/29 16:01:08 Waiting for WinRM, up to timeout: 4h0m0s | |
2018/06/29 16:01:08 ui: ==> qemu: Waiting for WinRM to become available... | |
==> qemu: Waiting for WinRM to become available... | |
2018/06/29 16:01:13 packer: 2018/06/29 16:01:13 [INFO] Attempting WinRM connection... | |
2018/06/29 16:01:13 packer: 2018/06/29 16:01:13 [DEBUG] connecting to remote shell using WinRM | |
2018/06/29 16:02:27 packer: 2018/06/29 16:02:27 [ERROR] connection error: unknown error Post http://127.0.0.1:3108/wsman: read tcp 127.0.0.1:60608->127.0.0.1:3108: read: connection reset by peer | |
2018/06/29 16:02:27 packer: 2018/06/29 16:02:27 [ERROR] WinRM connection err: unknown error Post http://127.0.0.1:3108/wsman: read tcp 127.0.0.1:60608->127.0.0.1:3108: read: connection reset by peer | |
2018/06/29 16:02:32 packer: 2018/06/29 16:02:32 [INFO] Attempting WinRM connection... | |
2018/06/29 16:02:32 packer: 2018/06/29 16:02:32 [DEBUG] connecting to remote shell using WinRM | |
2018/06/29 16:03:47 packer: 2018/06/29 16:03:47 [ERROR] connection error: unknown error Post http://127.0.0.1:3108/wsman: read tcp 127.0.0.1:60644->127.0.0.1:3108: read: connection reset by peer | |
2018/06/29 16:03:47 packer: 2018/06/29 16:03:47 [ERROR] WinRM connection err: unknown error Post http://127.0.0.1:3108/wsman: read tcp 127.0.0.1:60644->127.0.0.1:3108: read: connection reset by peer | |
2018/06/29 16:03:52 packer: 2018/06/29 16:03:52 [INFO] Attempting WinRM connection... | |
2018/06/29 16:03:52 packer: 2018/06/29 16:03:52 [DEBUG] connecting to remote shell using WinRM | |
2018/06/29 16:05:07 packer: 2018/06/29 16:05:07 [ERROR] connection error: unknown error Post http://127.0.0.1:3108/wsman: read tcp 127.0.0.1:60654->127.0.0.1:3108: read: connection reset by peer | |
2018/06/29 16:05:07 packer: 2018/06/29 16:05:07 [ERROR] WinRM connection err: unknown error Post http://127.0.0.1:3108/wsman: read tcp 127.0.0.1:60654->127.0.0.1:3108: read: connection reset by peer | |
2018/06/29 16:05:12 packer: 2018/06/29 16:05:12 [INFO] Attempting WinRM connection... | |
2018/06/29 16:05:12 packer: 2018/06/29 16:05:12 [DEBUG] connecting to remote shell using WinRM | |
2018/06/29 16:06:27 packer: 2018/06/29 16:06:27 [ERROR] connection error: unknown error Post http://127.0.0.1:3108/wsman: read tcp 127.0.0.1:60674->127.0.0.1:3108: read: connection reset by peer | |
2018/06/29 16:06:27 packer: 2018/06/29 16:06:27 [ERROR] WinRM connection err: unknown error Post http://127.0.0.1:3108/wsman: read tcp 127.0.0.1:60674->127.0.0.1:3108: read: connection reset by peer | |
2018/06/29 16:06:32 packer: 2018/06/29 16:06:32 [INFO] Attempting WinRM connection... | |
2018/06/29 16:06:32 packer: 2018/06/29 16:06:32 [DEBUG] connecting to remote shell using WinRM | |
2018/06/29 16:06:32 packer: 2018/06/29 16:06:32 [ERROR] connection error: unknown error Post http://127.0.0.1:3108/wsman: read tcp 127.0.0.1:60680->127.0.0.1:3108: read: connection reset by peer | |
2018/06/29 16:06:32 packer: 2018/06/29 16:06:32 [ERROR] WinRM connection err: unknown error Post http://127.0.0.1:3108/wsman: read tcp 127.0.0.1:60680->127.0.0.1:3108: read: connection reset by peer | |
2018/06/29 16:06:37 packer: 2018/06/29 16:06:37 [INFO] Attempting WinRM connection... | |
2018/06/29 16:06:37 packer: 2018/06/29 16:06:37 [DEBUG] connecting to remote shell using WinRM | |
2018/06/29 16:07:19 packer: 2018/06/29 16:07:19 [ERROR] connection error: http response error: 401 - invalid content type | |
2018/06/29 16:07:19 packer: 2018/06/29 16:07:19 [ERROR] WinRM connection err: http response error: 401 - invalid content type | |
2018/06/29 16:07:24 packer: 2018/06/29 16:07:24 [INFO] Attempting WinRM connection... | |
2018/06/29 16:07:24 packer: 2018/06/29 16:07:24 [DEBUG] connecting to remote shell using WinRM | |
2018/06/29 16:07:24 packer: 2018/06/29 16:07:24 [ERROR] connection error: http response error: 401 - invalid content type | |
2018/06/29 16:07:24 packer: 2018/06/29 16:07:24 [ERROR] WinRM connection err: http response error: 401 - invalid content type | |
2018/06/29 16:07:29 packer: 2018/06/29 16:07:29 [INFO] Attempting WinRM connection... | |
2018/06/29 16:07:29 packer: 2018/06/29 16:07:29 [DEBUG] connecting to remote shell using WinRM | |
2018/06/29 16:07:34 packer: 2018/06/29 16:07:34 Checking that WinRM is connected with: 'powershell.exe -EncodedCommand aQBmACAAKABUAGUAcwB0AC0AUABhAHQAaAAgAHYAYQByAGkAYQBiAGwAZQA6AGcAbABvAGIAYQBsADoAUAByAG8AZwByAGUAcwBzAFAAcgBlAGYAZQByAGUAbgBjAGUAKQB7ACQAUAByAG8AZwByAGUAcwBzAFAAcgBlAGYAZQByAGUAbgBjAGUAPQAnAFMAaQBsAGUAbgB0AGwAeQBDAG8AbgB0AGkAbgB1AGUAJwB9ADsAIABlAGMAaABvACAAIgBXAGkAbgBSAE0AIABjAG8AbgBuAGUAYwB0AGUAZAAuACIA' | |
2018/06/29 16:07:34 packer: 2018/06/29 16:07:34 [INFO] starting remote command: powershell.exe -EncodedCommand aQBmACAAKABUAGUAcwB0AC0AUABhAHQAaAAgAHYAYQByAGkAYQBiAGwAZQA6AGcAbABvAGIAYQBsADoAUAByAG8AZwByAGUAcwBzAFAAcgBlAGYAZQByAGUAbgBjAGUAKQB7ACQAUAByAG8AZwByAGUAcwBzAFAAcgBlAGYAZQByAGUAbgBjAGUAPQAnAFMAaQBsAGUAbgB0AGwAeQBDAG8AbgB0AGkAbgB1AGUAJwB9ADsAIABlAGMAaABvACAAIgBXAGkAbgBSAE0AIABjAG8AbgBuAGUAYwB0AGUAZAAuACIA | |
2018/06/29 16:07:35 packer: 2018/06/29 16:07:35 [INFO] command 'powershell.exe -EncodedCommand aQBmACAAKABUAGUAcwB0AC0AUABhAHQAaAAgAHYAYQByAGkAYQBiAGwAZQA6AGcAbABvAGIAYQBsADoAUAByAG8AZwByAGUAcwBzAFAAcgBlAGYAZQByAGUAbgBjAGUAKQB7ACQAUAByAG8AZwByAGUAcwBzAFAAcgBlAGYAZQByAGUAbgBjAGUAPQAnAFMAaQBsAGUAbgB0AGwAeQBDAG8AbgB0AGkAbgB1AGUAJwB9ADsAIABlAGMAaABvACAAIgBXAGkAbgBSAE0AIABjAG8AbgBuAGUAYwB0AGUAZAAuACIA' exited with code: 0 | |
2018/06/29 16:07:35 ui: qemu: WinRM connected. | |
qemu: WinRM connected. | |
2018/06/29 16:07:35 ui: qemu: #< CLIXML | |
qemu: #< CLIXML | |
2018/06/29 16:07:35 ui: qemu: <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs> | |
qemu: <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs> | |
==> qemu: Connected to WinRM! | |
2018/06/29 16:07:35 packer: 2018/06/29 16:07:35 Connected to machine | |
2018/06/29 16:07:35 ui: ==> qemu: Connected to WinRM! | |
2018/06/29 16:07:35 packer: 2018/06/29 16:07:35 Running the provision hook | |
2018/06/29 16:07:35 [INFO] (telemetry) Starting provisioner ansible | |
==> qemu: Provisioning with Ansible... | |
2018/06/29 16:07:35 ui: ==> qemu: Provisioning with Ansible... | |
2018/06/29 16:07:36 packer: 2018/06/29 16:07:36 SSH proxy: serving on 127.0.0.1:42295 | |
==> qemu: Executing Ansible: ansible-playbook --extra-vars packer_build_name=qemu packer_builder_type=qemu -i /tmp/packer-provisioner-ansible284077190 /home/tarrma/tmp/bug_packer/ansible/default.yml -e ansible_ssh_private_key_file=/tmp/ansible-key629253379 --connection=packer --extra-vars ansible_shell_type=powershell ansible_shell_executable=None -vvv | |
2018/06/29 16:07:36 ui: ==> qemu: Executing Ansible: ansible-playbook --extra-vars packer_build_name=qemu packer_builder_type=qemu -i /tmp/packer-provisioner-ansible284077190 /home/tarrma/tmp/bug_packer/ansible/default.yml -e ansible_ssh_private_key_file=/tmp/ansible-key629253379 --connection=packer --extra-vars ansible_shell_type=powershell ansible_shell_executable=None -vvv | |
2018/06/29 16:07:36 ui: qemu: ansible-playbook 2.6.0 | |
qemu: ansible-playbook 2.6.0 | |
2018/06/29 16:07:36 ui: qemu: config file = None | |
qemu: config file = None | |
qemu: configured module search path = [u'/home/tarrma/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] | |
2018/06/29 16:07:36 ui: qemu: configured module search path = [u'/home/tarrma/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] | |
qemu: ansible python module location = /home/tarrma/tmp/bug_packer/venv/local/lib/python2.7/site-packages/ansible | |
2018/06/29 16:07:36 ui: qemu: ansible python module location = /home/tarrma/tmp/bug_packer/venv/local/lib/python2.7/site-packages/ansible | |
qemu: executable location = /home/tarrma/tmp/bug_packer/venv/bin/ansible-playbook | |
2018/06/29 16:07:36 ui: qemu: executable location = /home/tarrma/tmp/bug_packer/venv/bin/ansible-playbook | |
2018/06/29 16:07:36 ui: qemu: python version = 2.7.15rc1 (default, Apr 15 2018, 21:51:34) [GCC 7.3.0] | |
qemu: python version = 2.7.15rc1 (default, Apr 15 2018, 21:51:34) [GCC 7.3.0] | |
qemu: No config file found; using defaults | |
2018/06/29 16:07:36 ui: qemu: No config file found; using defaults | |
2018/06/29 16:07:36 ui: qemu: Parsed /tmp/packer-provisioner-ansible284077190 inventory source with ini plugin | |
qemu: Parsed /tmp/packer-provisioner-ansible284077190 inventory source with ini plugin | |
2018/06/29 16:07:37 ui: qemu: | |
qemu: | |
2018/06/29 16:07:37 ui: qemu: PLAYBOOK: default.yml ********************************************************** | |
qemu: PLAYBOOK: default.yml ********************************************************** | |
2018/06/29 16:07:37 ui: qemu: 1 plays in /home/tarrma/tmp/bug_packer/ansible/default.yml | |
qemu: 1 plays in /home/tarrma/tmp/bug_packer/ansible/default.yml | |
qemu: | |
2018/06/29 16:07:37 ui: qemu: | |
2018/06/29 16:07:37 ui: qemu: PLAY [all] ********************************************************************* | |
qemu: PLAY [all] ********************************************************************* | |
qemu: | |
2018/06/29 16:07:37 ui: qemu: | |
qemu: TASK [Gathering Facts] ********************************************************* | |
2018/06/29 16:07:37 ui: qemu: TASK [Gathering Facts] ********************************************************* | |
2018/06/29 16:07:37 ui: qemu: task path: /home/tarrma/tmp/bug_packer/ansible/default.yml:2 | |
qemu: task path: /home/tarrma/tmp/bug_packer/ansible/default.yml:2 | |
qemu: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: tarrma | |
2018/06/29 16:07:37 ui: qemu: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: tarrma | |
qemu: fatal: [default]: FAILED! => { | |
2018/06/29 16:07:37 ui: qemu: fatal: [default]: FAILED! => { | |
qemu: "msg": "Invalid settings supplied for use_tty: 'connection'" | |
2018/06/29 16:07:37 ui: qemu: "msg": "Invalid settings supplied for use_tty: 'connection'" | |
2018/06/29 16:07:37 ui: qemu: } | |
qemu: } | |
qemu: to retry, use: --limit @/home/tarrma/tmp/bug_packer/ansible/default.retry | |
2018/06/29 16:07:37 ui: qemu: to retry, use: --limit @/home/tarrma/tmp/bug_packer/ansible/default.retry | |
qemu: | |
2018/06/29 16:07:37 ui: qemu: | |
qemu: PLAY RECAP ********************************************************************* | |
2018/06/29 16:07:37 ui: qemu: PLAY RECAP ********************************************************************* | |
qemu: default : ok=0 changed=0 unreachable=0 failed=1 | |
2018/06/29 16:07:37 ui: qemu: default : ok=0 changed=0 unreachable=0 failed=1 | |
qemu: | |
2018/06/29 16:07:37 ui: qemu: | |
2018/06/29 16:07:37 packer: 2018/06/29 16:07:37 shutting down the SSH proxy | |
2018/06/29 16:07:37 [INFO] (telemetry) ending ansible | |
2018/06/29 16:07:37 packer: 2018/06/29 16:07:37 Deleting floppy disk: /tmp/packer642297605 | |
2018/06/29 16:07:37 ui: ==> qemu: Deleting output directory... | |
==> qemu: Deleting output directory... | |
2018/06/29 16:07:37 [INFO] (telemetry) ending qemu | |
2018/06/29 16:07:37 ui error: Build 'qemu' errored: Error executing Ansible: Non-zero exit status: exit status 2 | |
2018/06/29 16:07:37 Builds completed. Waiting on interrupt barrier... | |
2018/06/29 16:07:37 machine readable: error-count []string{"1"} | |
2018/06/29 16:07:37 ui error: | |
==> Some builds didn't complete successfully and had errors: | |
2018/06/29 16:07:37 machine readable: qemu,error []string{"Error executing Ansible: Non-zero exit status: exit status 2"} | |
2018/06/29 16:07:37 ui error: --> qemu: Error executing Ansible: Non-zero exit status: exit status 2 | |
2018/06/29 16:07:37 ui: | |
==> Builds finished but no artifacts were created. | |
2018/06/29 16:07:37 [INFO] (telemetry) Finalizing. | |
Build 'qemu' errored: Error executing Ansible: Non-zero exit status: exit status 2 | |
==> Some builds didn't complete successfully and had errors: | |
--> qemu: Error executing Ansible: Non-zero exit status: exit status 2 | |
==> Builds finished but no artifacts were created. | |
2018/06/29 16:07:37 waiting for all plugin processes to complete... | |
2018/06/29 16:07:37 /home/tarrma/tmp/bug_packer/packer: plugin process exited | |
2018/06/29 16:07:37 /home/tarrma/tmp/bug_packer/packer: plugin process exited |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment