Thanks for that! I'm guessing from the timing that there's some issue with the gs upload -- that would also explain the lack of an uploaded logfile.
I'm guessing a startup script like this can't log directly to the user's console. Maybe I can suspend packer and ssh to the instance to see what's up. Dustin On Sat, Dec 1, 2018 at 11:13 AM Rickard von Essen <[email protected]> wrote: > > I have at least tested this a few times and at those times it worked. But the > implementation is very naive which have been disturbing me since I read > through it. > > Most things you need to for understanding this is in this script: > https://github.com/hashicorp/packer/blob/master/post-processor/googlecompute-export/startup.go > > There is supposed to be a logfile in the GS bucket, see the scripts for more > details. > > On Sat, Dec 1, 2018 at 4:45 PM Dustin Mitchell <[email protected]> wrote: >> >> So I'm still baffled by this, and the full log doesn't provide any >> additional information over that in the "normal" log. I'm assuming >> something is going wrong with the export, but that error is not >> bubbling up to packer which happily thinks the artifact has been >> created. So the more specific questions are: >> >> * Does this feature work at all? >> * How could I get more debugging information? >> >> Dustin >> On Fri, Nov 30, 2018 at 9:26 AM Dustin Mitchell <[email protected]> wrote: >> > >> > Sorry, here's the full log >> > >> > 2018/11/30 14:12:45 [INFO] Packer version: 1.3.2 >> > 2018/11/30 14:12:45 Packer Target OS/Arch: linux amd64 >> > 2018/11/30 14:12:45 Built with Go Version: go1.11.1 >> > 2018/11/30 14:12:45 Detected home directory from env var: /app >> > 2018/11/30 14:12:45 Using internal plugin for amazon-chroot >> > 2018/11/30 14:12:45 Using internal plugin for amazon-instance >> > 2018/11/30 14:12:45 Using internal plugin for hcloud >> > 2018/11/30 14:12:45 Using internal plugin for vmware-iso >> > 2018/11/30 14:12:45 Using internal plugin for digitalocean >> > 2018/11/30 14:12:45 Using internal plugin for vmware-vmx >> > 2018/11/30 14:12:45 Using internal plugin for amazon-ebsvolume >> > 2018/11/30 14:12:45 Using internal plugin for lxd >> > 2018/11/30 14:12:45 Using internal plugin for ncloud >> > 2018/11/30 14:12:45 Using internal plugin for openstack >> > 2018/11/30 14:12:45 Using internal plugin for virtualbox-ovf >> > 2018/11/30 14:12:45 Using internal plugin for virtualbox-iso >> > 2018/11/30 14:12:45 Using internal plugin for alicloud-ecs >> > 2018/11/30 14:12:45 Using internal plugin for file >> > 2018/11/30 14:12:45 Using internal plugin for hyperv-iso >> > 2018/11/30 14:12:45 Using internal plugin for oracle-classic >> > 2018/11/30 14:12:45 Using internal plugin for parallels-iso >> > 2018/11/30 14:12:45 Using internal plugin for scaleway >> > 2018/11/30 14:12:45 Using internal plugin for cloudstack >> > 2018/11/30 14:12:45 Using internal plugin for lxc >> > 2018/11/30 14:12:45 Using internal plugin for null >> > 2018/11/30 14:12:45 Using internal plugin for profitbricks >> > 2018/11/30 14:12:45 Using internal plugin for triton >> > 2018/11/30 14:12:45 Using internal plugin for amazon-ebs >> > 2018/11/30 14:12:45 Using internal plugin for amazon-ebssurrogate >> > 2018/11/30 14:12:45 Using internal plugin for azure-arm >> > 2018/11/30 14:12:45 Using internal plugin for oneandone >> > 2018/11/30 14:12:45 Using internal plugin for oracle-oci >> > 2018/11/30 14:12:45 Using internal plugin for docker >> > 2018/11/30 14:12:45 Using internal plugin for googlecompute >> > 2018/11/30 14:12:45 Using internal plugin for hyperv-vmcx >> > 2018/11/30 14:12:45 Using internal plugin for parallels-pvm >> > 2018/11/30 14:12:45 Using internal plugin for qemu >> > 2018/11/30 14:12:45 Using internal plugin for ansible-local >> > 2018/11/30 14:12:45 Using internal plugin for puppet-server >> > 2018/11/30 14:12:45 Using internal plugin for salt-masterless >> > 2018/11/30 14:12:45 Using internal plugin for shell >> > 2018/11/30 14:12:45 Using internal plugin for shell-local >> > 2018/11/30 14:12:45 Using internal plugin for ansible >> > 2018/11/30 14:12:45 Using internal plugin for file >> > 2018/11/30 14:12:45 Using internal plugin for converge >> > 2018/11/30 14:12:45 Using internal plugin for powershell >> > 2018/11/30 14:12:45 Using internal plugin for puppet-masterless >> > 2018/11/30 14:12:45 Using internal plugin for windows-restart >> > 2018/11/30 14:12:45 Using internal plugin for windows-shell >> > 2018/11/30 14:12:45 Using internal plugin for chef-solo >> > 2018/11/30 14:12:45 Using internal plugin for chef-client >> > 2018/11/30 14:12:45 Using internal plugin for docker-import >> > 2018/11/30 14:12:45 Using internal plugin for docker-push >> > 2018/11/30 14:12:45 Using internal plugin for docker-save >> > 2018/11/30 14:12:45 Using internal plugin for vsphere-template >> > 2018/11/30 14:12:45 Using internal plugin for googlecompute-export >> > 2018/11/30 14:12:45 Using internal plugin for googlecompute-import >> > 2018/11/30 14:12:45 Using internal plugin for vagrant >> > 2018/11/30 14:12:45 Using internal plugin for vagrant-cloud >> > 2018/11/30 14:12:45 Using internal plugin for amazon-import >> > 2018/11/30 14:12:45 Using internal plugin for checksum >> > 2018/11/30 14:12:45 Using internal plugin for compress >> > 2018/11/30 14:12:45 Using internal plugin for docker-tag >> > 2018/11/30 14:12:45 Using internal plugin for vsphere >> > 2018/11/30 14:12:45 Using internal plugin for artifice >> > 2018/11/30 14:12:45 Using internal plugin for shell-local >> > 2018/11/30 14:12:45 Using internal plugin for alicloud-import >> > 2018/11/30 14:12:45 Using internal plugin for manifest >> > 2018/11/30 14:12:45 Detected home directory from env var: /app >> > 2018/11/30 14:12:45 Attempting to open config file: /app/.packerconfig >> > 2018/11/30 14:12:45 [WARN] Config file doesn't exist: /app/.packerconfig >> > 2018/11/30 14:12:45 Packer config: &{DisableCheckpoint:false >> > DisableCheckpointSignature:false PluginMinPort:10000 >> > PluginMaxPort:25000 >> > Builders:map[openstack:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack >> > oracle-classic:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic >> > oneandone:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone >> > vmware-vmx:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx >> > ncloud:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud >> > scaleway:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway >> > amazon-ebs:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs >> > hyperv-iso:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso >> > cloudstack:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack >> > amazon-ebssurrogate:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate >> > docker:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker >> > digitalocean:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean >> > lxd:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd >> > parallels-iso:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso >> > null:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null >> > amazon-ebsvolume:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume >> > azure-arm:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm >> > alicloud-ecs:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs >> > profitbricks:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks >> > virtualbox-iso:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso >> > file:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file >> > lxc:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc >> > triton:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton >> > amazon-chroot:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot >> > amazon-instance:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance >> > hcloud:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hcloud >> > vmware-iso:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso >> > googlecompute:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute >> > qemu:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu >> > virtualbox-ovf:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf >> > oracle-oci:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci >> > hyperv-vmcx:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx >> > parallels-pvm:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm] >> > PostProcessors:map[shell-local:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local >> > docker-import:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import >> > docker-tag:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag >> > vsphere:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere >> > artifice:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice >> > compress:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress >> > docker-save:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save >> > googlecompute-export:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export >> > googlecompute-import:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-import >> > vagrant:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant >> > checksum:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum >> > alicloud-import:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import >> > docker-push:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push >> > vagrant-cloud:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud >> > amazon-import:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import >> > manifest:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest >> > vsphere-template:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template] >> > Provisioners:map[shell:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell >> > ansible:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible >> > converge:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge >> > puppet-masterless:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless >> > windows-shell:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell >> > chef-client:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client >> > salt-masterless:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless >> > file:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file >> > chef-solo:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo >> > shell-local:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local >> > ansible-local:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local >> > puppet-server:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server >> > powershell:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell >> > windows-restart:/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart]} >> > 2018/11/30 14:12:45 Setting cache directory: /packer/packer_cache >> > 2018/11/30 14:12:45 Detected home directory from env var: /app >> > 2018/11/30 14:12:45 Loading builder: googlecompute >> > 2018/11/30 14:12:45 Plugin could not be found. Checking same directory >> > as executable. >> > 2018/11/30 14:12:45 Current exe path: /bin/packer >> > 2018/11/30 14:12:45 Creating plugin client for path: /bin/packer >> > 2018/11/30 14:12:45 Starting plugin: /bin/packer >> > []string{"/bin/packer", "plugin", "packer-builder-googlecompute"} >> > 2018/11/30 14:12:45 Waiting for RPC address for: /bin/packer >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 [INFO] Packer version: >> > 1.3.2 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Packer Target OS/Arch: >> > linux amd64 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Built with Go Version: >> > go1.11.1 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Detected home >> > directory from env var: /app >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Attempting to open >> > config file: /app/.packerconfig >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 [WARN] Config file >> > doesn't exist: /app/.packerconfig >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Packer config: >> > &{DisableCheckpoint:false DisableCheckpointSignature:false >> > PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] >> > PostProcessors:map[] Provisioners:map[]} >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Setting cache >> > directory: /packer/packer_cache >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 args: >> > []string{"packer-builder-googlecompute"} >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin minimum port: 10000 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin maximum port: 25000 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin address: unix >> > /tmp/packer-plugin065281063 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Waiting for connection... >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Detected home >> > directory from env var: /app >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Serving a plugin >> > connection... >> > 2018/11/30 14:12:45 Loading provisioner: file >> > 2018/11/30 14:12:45 Plugin could not be found. Checking same directory >> > as executable. >> > 2018/11/30 14:12:45 Current exe path: /bin/packer >> > 2018/11/30 14:12:45 Creating plugin client for path: /bin/packer >> > 2018/11/30 14:12:45 Starting plugin: /bin/packer >> > []string{"/bin/packer", "plugin", "packer-provisioner-file"} >> > 2018/11/30 14:12:45 Waiting for RPC address for: /bin/packer >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 [INFO] Packer version: >> > 1.3.2 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Packer Target OS/Arch: >> > linux amd64 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Built with Go Version: >> > go1.11.1 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Detected home >> > directory from env var: /app >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Attempting to open >> > config file: /app/.packerconfig >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 [WARN] Config file >> > doesn't exist: /app/.packerconfig >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Packer config: >> > &{DisableCheckpoint:false DisableCheckpointSignature:false >> > PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] >> > PostProcessors:map[] Provisioners:map[]} >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Setting cache >> > directory: /packer/packer_cache >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 args: >> > []string{"packer-provisioner-file"} >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin minimum port: 10000 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin maximum port: 25000 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin address: unix >> > /tmp/packer-plugin165112543 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Waiting for connection... >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Detected home >> > directory from env var: /app >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Serving a plugin >> > connection... >> > 2018/11/30 14:12:45 Loading provisioner: file >> > 2018/11/30 14:12:45 Plugin could not be found. Checking same directory >> > as executable. >> > 2018/11/30 14:12:45 Current exe path: /bin/packer >> > 2018/11/30 14:12:45 Creating plugin client for path: /bin/packer >> > 2018/11/30 14:12:45 Starting plugin: /bin/packer >> > []string{"/bin/packer", "plugin", "packer-provisioner-file"} >> > 2018/11/30 14:12:45 Waiting for RPC address for: /bin/packer >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 [INFO] Packer version: >> > 1.3.2 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Packer Target OS/Arch: >> > linux amd64 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Built with Go Version: >> > go1.11.1 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Detected home >> > directory from env var: /app >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Attempting to open >> > config file: /app/.packerconfig >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 [WARN] Config file >> > doesn't exist: /app/.packerconfig >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Packer config: >> > &{DisableCheckpoint:false DisableCheckpointSignature:false >> > PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] >> > PostProcessors:map[] Provisioners:map[]} >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Setting cache >> > directory: /packer/packer_cache >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 args: >> > []string{"packer-provisioner-file"} >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin minimum port: 10000 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin maximum port: 25000 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin address: unix >> > /tmp/packer-plugin005632696 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Waiting for connection... >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Detected home >> > directory from env var: /app >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Serving a plugin >> > connection... >> > 2018/11/30 14:12:45 Loading provisioner: file >> > 2018/11/30 14:12:45 Plugin could not be found. Checking same directory >> > as executable. >> > 2018/11/30 14:12:45 Current exe path: /bin/packer >> > 2018/11/30 14:12:45 Creating plugin client for path: /bin/packer >> > 2018/11/30 14:12:45 Starting plugin: /bin/packer >> > []string{"/bin/packer", "plugin", "packer-provisioner-file"} >> > 2018/11/30 14:12:45 Waiting for RPC address for: /bin/packer >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 [INFO] Packer version: >> > 1.3.2 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Packer Target OS/Arch: >> > linux amd64 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Built with Go Version: >> > go1.11.1 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Detected home >> > directory from env var: /app >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Attempting to open >> > config file: /app/.packerconfig >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 [WARN] Config file >> > doesn't exist: /app/.packerconfig >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Packer config: >> > &{DisableCheckpoint:false DisableCheckpointSignature:false >> > PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] >> > PostProcessors:map[] Provisioners:map[]} >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Setting cache >> > directory: /packer/packer_cache >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 args: >> > []string{"packer-provisioner-file"} >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin minimum port: 10000 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin maximum port: 25000 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin address: unix >> > /tmp/packer-plugin523715690 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Waiting for connection... >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Serving a plugin >> > connection... >> > 2018/11/30 14:12:45 Loading provisioner: file >> > 2018/11/30 14:12:45 Plugin could not be found. Checking same directory >> > as executable. >> > 2018/11/30 14:12:45 Current exe path: /bin/packer >> > 2018/11/30 14:12:45 Creating plugin client for path: /bin/packer >> > 2018/11/30 14:12:45 Starting plugin: /bin/packer >> > []string{"/bin/packer", "plugin", "packer-provisioner-file"} >> > 2018/11/30 14:12:45 Waiting for RPC address for: /bin/packer >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Detected home >> > directory from env var: /app >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 [INFO] Packer version: >> > 1.3.2 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Packer Target OS/Arch: >> > linux amd64 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Built with Go Version: >> > go1.11.1 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Detected home >> > directory from env var: /app >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Attempting to open >> > config file: /app/.packerconfig >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 [WARN] Config file >> > doesn't exist: /app/.packerconfig >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Packer config: >> > &{DisableCheckpoint:false DisableCheckpointSignature:false >> > PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] >> > PostProcessors:map[] Provisioners:map[]} >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Setting cache >> > directory: /packer/packer_cache >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 args: >> > []string{"packer-provisioner-file"} >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin minimum port: 10000 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin maximum port: 25000 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin address: unix >> > /tmp/packer-plugin582129860 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Detected home >> > directory from env var: /app >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Waiting for connection... >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Serving a plugin >> > connection... >> > 2018/11/30 14:12:45 Loading provisioner: shell >> > 2018/11/30 14:12:45 Plugin could not be found. Checking same directory >> > as executable. >> > 2018/11/30 14:12:45 Current exe path: /bin/packer >> > 2018/11/30 14:12:45 Creating plugin client for path: /bin/packer >> > 2018/11/30 14:12:45 Starting plugin: /bin/packer >> > []string{"/bin/packer", "plugin", "packer-provisioner-shell"} >> > 2018/11/30 14:12:45 Waiting for RPC address for: /bin/packer >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 [INFO] Packer version: >> > 1.3.2 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Packer Target OS/Arch: >> > linux amd64 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Built with Go Version: >> > go1.11.1 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Detected home >> > directory from env var: /app >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Attempting to open >> > config file: /app/.packerconfig >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 [WARN] Config file >> > doesn't exist: /app/.packerconfig >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Packer config: >> > &{DisableCheckpoint:false DisableCheckpointSignature:false >> > PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] >> > PostProcessors:map[] Provisioners:map[]} >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Setting cache >> > directory: /packer/packer_cache >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 args: >> > []string{"packer-provisioner-shell"} >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin minimum port: 10000 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin maximum port: 25000 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin address: unix >> > /tmp/packer-plugin097940172 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Waiting for connection... >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Detected home >> > directory from env var: /app >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Serving a plugin >> > connection... >> > 2018/11/30 14:12:45 Loading post-processor: googlecompute-export >> > 2018/11/30 14:12:45 Plugin could not be found. Checking same directory >> > as executable. >> > 2018/11/30 14:12:45 Current exe path: /bin/packer >> > 2018/11/30 14:12:45 Creating plugin client for path: /bin/packer >> > 2018/11/30 14:12:45 Starting plugin: /bin/packer >> > []string{"/bin/packer", "plugin", >> > "packer-post-processor-googlecompute-export"} >> > 2018/11/30 14:12:45 Waiting for RPC address for: /bin/packer >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 [INFO] Packer version: >> > 1.3.2 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Packer Target OS/Arch: >> > linux amd64 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Built with Go Version: >> > go1.11.1 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Detected home >> > directory from env var: /app >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Attempting to open >> > config file: /app/.packerconfig >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 [WARN] Config file >> > doesn't exist: /app/.packerconfig >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Packer config: >> > &{DisableCheckpoint:false DisableCheckpointSignature:false >> > PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] >> > PostProcessors:map[] Provisioners:map[]} >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Setting cache >> > directory: /packer/packer_cache >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 args: >> > []string{"packer-post-processor-googlecompute-export"} >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin minimum port: 10000 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin maximum port: 25000 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin address: unix >> > /tmp/packer-plugin834927599 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Waiting for connection... >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Detected home >> > directory from env var: /app >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Serving a plugin >> > connection... >> > 2018/11/30 14:12:45 Loading post-processor: manifest >> > 2018/11/30 14:12:45 Plugin could not be found. Checking same directory >> > as executable. >> > 2018/11/30 14:12:45 Current exe path: /bin/packer >> > 2018/11/30 14:12:45 Creating plugin client for path: /bin/packer >> > 2018/11/30 14:12:45 Starting plugin: /bin/packer >> > []string{"/bin/packer", "plugin", "packer-post-processor-manifest"} >> > 2018/11/30 14:12:45 Waiting for RPC address for: /bin/packer >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 [INFO] Packer version: >> > 1.3.2 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Packer Target OS/Arch: >> > linux amd64 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Built with Go Version: >> > go1.11.1 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Detected home >> > directory from env var: /app >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Attempting to open >> > config file: /app/.packerconfig >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 [WARN] Config file >> > doesn't exist: /app/.packerconfig >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Packer config: >> > &{DisableCheckpoint:false DisableCheckpointSignature:false >> > PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] >> > PostProcessors:map[] Provisioners:map[]} >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Setting cache >> > directory: /packer/packer_cache >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 args: >> > []string{"packer-post-processor-manifest"} >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin minimum port: 10000 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin maximum port: 25000 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Detected home >> > directory from env var: /app >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Plugin address: unix >> > /tmp/packer-plugin883981379 >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Waiting for connection... >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 Serving a plugin >> > connection... >> > googlecompute output will be in this color. >> > >> > 2018/11/30 14:12:45 Build debug mode: false >> > 2018/11/30 14:12:45 Force build: true >> > 2018/11/30 14:12:45 On error: >> > 2018/11/30 14:12:45 Preparing build: googlecompute >> > 2018/11/30 14:12:45 Waiting on builds to complete... >> > 2018/11/30 14:12:45 Starting build run: googlecompute >> > 2018/11/30 14:12:45 Running builder: googlecompute >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 [INFO] Requesting >> > Google token via GCE API Default Client Token Source... >> > 2018/11/30 14:12:45 packer: 2018/11/30 14:12:45 [INFO] Instantiating >> > GCE client... >> > ==> googlecompute: Checking image does not exist... >> > ==> googlecompute: Creating temporary SSH key for instance... >> > ==> googlecompute: Using image: debian-9-stretch-v20181113 >> > ==> googlecompute: Creating instance... >> > googlecompute: Loading zone: us-east4-a >> > googlecompute: Loading machine type: n1-standard-1 >> > googlecompute: Requesting instance creation... >> > googlecompute: Waiting for creation operation to complete... >> > googlecompute: Instance has been created! >> > ==> googlecompute: Waiting for the instance to become running... >> > googlecompute: IP: 35.245.220.12 >> > 2018/11/30 14:12:56 packer: 2018/11/30 14:12:56 [INFO] Waiting for >> > SSH, up to timeout: 5m0s >> > ==> googlecompute: Using ssh communicator to connect: 35.245.220.12 >> > ==> googlecompute: Waiting for SSH to become available... >> > 2018/11/30 14:12:57 packer: 2018/11/30 14:12:57 [DEBUG] TCP connection >> > to SSH ip/port failed: dial tcp 35.245.220.12:22: connect: connection >> > refused >> > 2018/11/30 14:13:02 packer: 2018/11/30 14:13:02 [INFO] Attempting SSH >> > connection... >> > 2018/11/30 14:13:02 packer: 2018/11/30 14:13:02 [DEBUG] reconnecting >> > to TCP connection for SSH >> > 2018/11/30 14:13:02 packer: 2018/11/30 14:13:02 [DEBUG] handshaking with >> > SSH >> > 2018/11/30 14:13:03 packer: 2018/11/30 14:13:03 [DEBUG] handshake complete! >> > 2018/11/30 14:13:03 packer: 2018/11/30 14:13:03 [INFO] no local agent >> > socket, will not connect agent >> > 2018/11/30 14:13:03 packer: 2018/11/30 14:13:03 Running the provision hook >> > ==> googlecompute: Connected to SSH! >> > ==> googlecompute: Uploading /downloads/generic-worker => >> > /tmp/generic-worker >> > 2018/11/30 14:13:03 packer: 2018/11/30 14:13:03 [DEBUG] Opening new ssh >> > session >> > 0 B / ? 2018/11/30 14:13:03 packer: 2018/11/30 14:13:03 [DEBUG] >> > Starting remote scp process: scp -vt /tmp >> > 2018/11/30 14:13:03 packer: 2018/11/30 14:13:03 [DEBUG] Started SCP >> > session, beginning transfers... >> > 2018/11/30 14:13:03 packer: 2018/11/30 14:13:03 [DEBUG] scp: Uploading >> > generic-worker: perms=C0664 size=13861442 >> > 1 items: 544.00 KiB / 13.22 MiB 1 items: 1.28 MiB / 13.22 MiB 1 >> > items: 3.16 MiB / 13.22 MiB 1 items: 6.03 MiB / 13.22 MiB 1 items: >> > 10.50 MiB / 13.22 MiB 2018/11/30 14:13:04 packer: 2018/11/30 14:13:04 >> > [DEBUG] SCP session complete, closing stdin pipe. >> > 2018/11/30 14:13:04 packer: 2018/11/30 14:13:04 [DEBUG] Waiting for >> > SSH session to complete. >> > 2018/11/30 14:13:04 packer: 2018/11/30 14:13:04 [INFO] 13861442 bytes >> > written for 'uploadData' >> > 2018/11/30 14:13:04 [INFO] 13861442 bytes written for 'uploadData' >> > 2018/11/30 14:13:04 packer: 2018/11/30 14:13:04 [DEBUG] scp stderr >> > (length 36): Sink: C0664 13861442 generic-worker >> > 1 items: 13.22 MiB / 13.22 MiB 1s >> > ==> googlecompute: Uploading /downloads/livelog => /tmp/livelog >> > 2018/11/30 14:13:04 packer: 2018/11/30 14:13:04 [DEBUG] Opening new ssh >> > session >> > 2018/11/30 14:13:04 packer: 2018/11/30 14:13:04 [DEBUG] Starting >> > remote scp process: scp -vt /tmp >> > 0 B / ? 2018/11/30 14:13:04 packer: 2018/11/30 14:13:04 [DEBUG] >> > Started SCP session, beginning transfers... >> > 2018/11/30 14:13:04 packer: 2018/11/30 14:13:04 [DEBUG] scp: Uploading >> > livelog: perms=C0664 size=8246800 >> > 1 items: 2.09 MiB / 7.86 MiB 2018/11/30 14:13:05 packer: 2018/11/30 >> > 14:13:05 [DEBUG] SCP session complete, closing stdin pipe. >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] Waiting for >> > SSH session to complete. >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [INFO] 8246800 bytes >> > written for 'uploadData' >> > 2018/11/30 14:13:05 [INFO] 8246800 bytes written for 'uploadData' >> > 1 items: 6.72 MiB / 7.86 MiB 2018/11/30 14:13:05 packer: 2018/11/30 >> > 14:13:05 [DEBUG] scp stderr (length 28): Sink: C0664 8246800 livelog >> > 1 items: 7.86 MiB / 7.86 MiB 0s >> > ==> googlecompute: Uploading generic-worker-key.service => >> > /tmp/generic-worker-key.service >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] Opening new ssh >> > session >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [INFO] 396 bytes >> > written for 'uploadData' >> > 2018/11/30 14:13:05 [INFO] 396 bytes written for 'uploadData' >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] Starting >> > remote scp process: scp -vt /tmp >> > 0 B / ? 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] >> > Started SCP session, beginning transfers... >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] scp: Uploading >> > generic-worker-key.service: perms=C0664 size=396 >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] SCP session >> > complete, closing stdin pipe. >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] Waiting for >> > SSH session to complete. >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] scp stderr >> > (length 43): Sink: C0664 396 generic-worker-key.service >> > 1 items: 396 B / 396 B 1 items: 396 B / 396 B 0s >> > ==> googlecompute: Uploading generic-worker.service => >> > /tmp/generic-worker.service >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] Opening new ssh >> > session >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [INFO] 363 bytes >> > written for 'uploadData' >> > 2018/11/30 14:13:05 [INFO] 363 bytes written for 'uploadData' >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] Starting >> > remote scp process: scp -vt /tmp >> > 0 B / ? 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] >> > Started SCP session, beginning transfers... >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] scp: Uploading >> > generic-worker.service: perms=C0664 size=363 >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] SCP session >> > complete, closing stdin pipe. >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] Waiting for >> > SSH session to complete. >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] scp stderr >> > (length 39): Sink: C0664 363 generic-worker.service >> > 1 items: 363 B / 363 B 1 items: 363 B / 363 B 0s >> > ==> googlecompute: Provisioning with shell script: ./provisioning-script.sh >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 Opening >> > ./provisioning-script.sh for reading >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [INFO] 558 bytes >> > written for 'uploadData' >> > 2018/11/30 14:13:05 [INFO] 558 bytes written for 'uploadData' >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] Opening new ssh >> > session >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] Starting >> > remote scp process: scp -vt /tmp >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] Started SCP >> > session, beginning transfers... >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] Copying input >> > data into temporary file so we can read the length >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] scp: Uploading >> > script_807.sh: perms=C0644 size=558 >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] SCP session >> > complete, closing stdin pipe. >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] Waiting for >> > SSH session to complete. >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] scp stderr >> > (length 30): Sink: C0644 558 script_807.sh >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] Opening new ssh >> > session >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] starting >> > remote command: chmod 0755 /tmp/script_807.sh >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [INFO] RPC endpoint: >> > Communicator ended with: 0 >> > 2018/11/30 14:13:05 [INFO] RPC client: Communicator ended with: 0 >> > 2018/11/30 14:13:05 [INFO] RPC endpoint: Communicator ended with: 0 >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [INFO] RPC client: >> > Communicator ended with: 0 >> > 2018/11/30 14:13:05 packer: 2018/11/30 14:13:05 [DEBUG] Opening new ssh >> > session >> > 2018/11/30 14:13:06 packer: 2018/11/30 14:13:06 [DEBUG] starting >> > remote command: echo 'packer' | sudo -S sh -c >> > 'PACKER_BUILDER_TYPE='googlecompute' PACKER_BUILD_NAME='googlecompute' >> > /tmp/script_807.sh' >> > googlecompute: + apt-get -q update >> > googlecompute: Get:1 http://security.debian.org stretch/updates >> > InRelease [94.3 kB] >> > googlecompute: Ign:2 http://deb.debian.org/debian stretch InRelease >> > googlecompute: Get:3 http://deb.debian.org/debian stretch-updates >> > InRelease [91.0 kB] >> > googlecompute: Get:4 http://deb.debian.org/debian >> > stretch-backports InRelease [91.8 kB] >> > googlecompute: Hit:5 http://deb.debian.org/debian stretch Release >> > googlecompute: Get:6 http://security.debian.org >> > stretch/updates/main Sources [185 kB] >> > googlecompute: Get:7 http://security.debian.org >> > stretch/updates/main amd64 Packages [460 kB] >> > googlecompute: Get:8 http://security.debian.org >> > stretch/updates/main Translation-en [200 kB] >> > googlecompute: Get:9 http://packages.cloud.google.com/apt >> > cloud-sdk-stretch InRelease [6,377 B] >> > googlecompute: Get:10 http://deb.debian.org/debian >> > stretch-backports/main Sources.diff/Index [27.8 kB] >> > googlecompute: Get:11 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages.diff/Index [27.8 kB] >> > googlecompute: Get:12 http://deb.debian.org/debian >> > stretch-backports/main Translation-en.diff/Index [27.8 kB] >> > googlecompute: Get:13 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-13-2010.07.pdiff [587 B] >> > googlecompute: Get:15 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-14-0215.22.pdiff [894 B] >> > googlecompute: Get:16 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-14-0816.48.pdiff [3,945 B] >> > googlecompute: Get:17 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-14-1421.22.pdiff [2,216 B] >> > googlecompute: Get:18 http://packages.cloud.google.com/apt >> > google-compute-engine-stretch-stable InRelease [3,843 B] >> > googlecompute: Get:19 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-14-2012.02.pdiff [54 B] >> > googlecompute: Get:20 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-15-0209.33.pdiff [44 B] >> > googlecompute: Get:21 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-15-0809.08.pdiff [969 B] >> > googlecompute: Get:22 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-15-1410.29.pdiff [738 B] >> > googlecompute: Get:23 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-15-2012.19.pdiff [44 B] >> > googlecompute: Get:24 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-16-2021.42.pdiff [5,955 B] >> > googlecompute: Get:25 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-17-2023.54.pdiff [1,540 B] >> > googlecompute: Get:26 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-18-0226.30.pdiff [1,659 B] >> > googlecompute: Get:27 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-18-2026.14.pdiff [7,560 B] >> > googlecompute: Get:28 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-19-2028.43.pdiff [1,064 B] >> > googlecompute: Get:29 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-20-0218.47.pdiff [33 B] >> > googlecompute: Get:30 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-20-1414.57.pdiff [33 B] >> > googlecompute: Get:31 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-21-0220.26.pdiff [1,321 B] >> > googlecompute: Get:32 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-22-0815.24.pdiff [921 B] >> > googlecompute: Get:33 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-24-1414.07.pdiff [680 B] >> > googlecompute: Get:34 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-24-2020.36.pdiff [915 B] >> > googlecompute: Hit:35 http://packages.cloud.google.com/apt >> > google-cloud-packages-archive-keyring-stretch InRelease >> > googlecompute: Get:36 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-25-1415.12.pdiff [43 B] >> > googlecompute: Get:37 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-25-2011.05.pdiff [1,427 B] >> > googlecompute: Get:38 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-26-0213.36.pdiff [1,403 B] >> > googlecompute: Get:39 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-26-1425.44.pdiff [1,449 B] >> > googlecompute: Get:40 http://packages.cloud.google.com/apt >> > cloud-sdk-stretch/main amd64 Packages [55.9 kB] >> > googlecompute: Get:41 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-26-2017.19.pdiff [840 B] >> > googlecompute: Get:42 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-28-0812.13.pdiff [33 B] >> > googlecompute: Get:43 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-28-1414.21.pdiff [1,836 B] >> > googlecompute: Get:44 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-28-2117.41.pdiff [2,800 B] >> > googlecompute: Get:45 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-29-0810.34.pdiff [51 B] >> > googlecompute: Get:46 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-29-1414.52.pdiff [734 B] >> > googlecompute: Get:47 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-30-0214.28.pdiff [33 B] >> > googlecompute: Get:48 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-13-2010.07.pdiff [2,337 >> > B] >> > googlecompute: Get:49 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-14-0816.48.pdiff [1,228 >> > B] >> > googlecompute: Get:50 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-14-1421.22.pdiff [4,112 >> > B] >> > googlecompute: Get:51 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-14-2012.02.pdiff [617 B] >> > googlecompute: Get:52 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-15-0209.33.pdiff [1,044 >> > B] >> > googlecompute: Get:53 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-15-0809.08.pdiff [517 B] >> > googlecompute: Get:54 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-15-2012.19.pdiff [812 B] >> > googlecompute: Get:55 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-16-2021.42.pdiff [8,443 >> > B] >> > googlecompute: Get:56 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-17-2023.54.pdiff [1,248 >> > B] >> > googlecompute: Get:57 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-18-0226.30.pdiff [633 B] >> > googlecompute: Get:58 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-18-0819.08.pdiff [2,181 >> > B] >> > googlecompute: Get:47 http://deb.debian.org/debian >> > stretch-backports/main Sources 2018-11-30-0214.28.pdiff [33 B] >> > googlecompute: Get:59 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-18-2026.14.pdiff [4,839 >> > B] >> > googlecompute: Get:60 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-19-2028.43.pdiff [1,890 >> > B] >> > googlecompute: Get:61 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-21-0220.26.pdiff [3,440 >> > B] >> > googlecompute: Get:62 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-22-1415.47.pdiff [1,648 >> > B] >> > googlecompute: Get:63 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-24-2020.36.pdiff [215 B] >> > googlecompute: Get:64 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-25-0226.13.pdiff [330 B] >> > googlecompute: Get:65 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-26-0213.36.pdiff [1,747 >> > B] >> > googlecompute: Get:66 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-26-0834.30.pdiff [751 B] >> > googlecompute: Get:67 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-26-1425.44.pdiff [366 B] >> > googlecompute: Get:68 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-26-2017.19.pdiff [215 B] >> > googlecompute: Get:69 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-27-0813.07.pdiff [3,283 >> > B] >> > googlecompute: Get:70 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-28-1414.21.pdiff [720 B] >> > googlecompute: Get:71 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-28-2117.41.pdiff [3,502 >> > B] >> > googlecompute: Get:72 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-29-0219.53.pdiff [2,158 >> > B] >> > googlecompute: Get:73 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-29-1414.52.pdiff [560 B] >> > googlecompute: Get:74 http://deb.debian.org/debian >> > stretch-backports/main Translation-en 2018-11-16-2021.42.pdiff [4,461 >> > B] >> > googlecompute: Get:75 http://deb.debian.org/debian >> > stretch-backports/main Translation-en 2018-11-26-1425.44.pdiff [140 B] >> > googlecompute: Get:73 http://deb.debian.org/debian >> > stretch-backports/main amd64 Packages 2018-11-29-1414.52.pdiff [560 B] >> > googlecompute: Get:75 http://deb.debian.org/debian >> > stretch-backports/main Translation-en 2018-11-26-1425.44.pdiff [140 B] >> > googlecompute: Fetched 1,367 kB in 2s (680 kB/s) >> > googlecompute: Reading package lists... >> > googlecompute: + apt-get -qy upgrade >> > googlecompute: Reading package lists... >> > googlecompute: Building dependency tree... >> > googlecompute: Reading state information... >> > googlecompute: Calculating upgrade... >> > googlecompute: The following packages will be upgraded: >> > googlecompute: google-cloud-sdk perl-base >> > googlecompute: 2 upgraded, 0 newly installed, 0 to remove and 0 >> > not upgraded. >> > googlecompute: Need to get 21.3 MB of archives. >> > googlecompute: After this operation, 958 kB of additional disk >> > space will be used. >> > googlecompute: Get:1 http://security.debian.org >> > stretch/updates/main amd64 perl-base amd64 5.24.1-3+deb9u5 [1,345 kB] >> > googlecompute: Get:2 http://packages.cloud.google.com/apt >> > cloud-sdk-stretch/main amd64 google-cloud-sdk all 226.0.0-0 [19.9 MB] >> > googlecompute: debconf: unable to initialize frontend: Dialog >> > googlecompute: debconf: (Dialog frontend will not work on a dumb >> > terminal, an emacs shell buffer, or without a controlling terminal.) >> > googlecompute: debconf: falling back to frontend: Readline >> > googlecompute: debconf: unable to initialize frontend: Readline >> > googlecompute: debconf: (Can't locate Term/ReadLine.pm in @INC >> > (you may need to install the Term::ReadLine module) (@INC contains: >> > /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 >> > /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 >> > /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 >> > /usr/share/perl/5.24 /usr/local/lib/site_perl >> > /usr/lib/x86_64-linux-gnu/perl-base .) at >> > /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 2.) >> > googlecompute: debconf: falling back to frontend: Teletype >> > googlecompute: dpkg-preconfigure: unable to re-open stdin: >> > googlecompute: Fetched 21.3 MB in 0s (51.6 MB/s) >> > googlecompute: (Reading database ... 33847 files and directories >> > currently installed.) >> > googlecompute: Preparing to unpack >> > .../perl-base_5.24.1-3+deb9u5_amd64.deb ... >> > googlecompute: Unpacking perl-base (5.24.1-3+deb9u5) over >> > (5.24.1-3+deb9u4) ... >> > googlecompute: Setting up perl-base (5.24.1-3+deb9u5) ... >> > googlecompute: (Reading database ... 33847 files and directories >> > currently installed.) >> > googlecompute: Preparing to unpack >> > .../google-cloud-sdk_226.0.0-0_all.deb ... >> > googlecompute: Unpacking google-cloud-sdk (226.0.0-0) over (225.0.0-0) >> > ... >> > googlecompute: Processing triggers for man-db (2.7.6.1-2) ... >> > googlecompute: Setting up google-cloud-sdk (226.0.0-0) ... >> > googlecompute: + curl -sSO >> > https://dl.google.com/cloudagents/install-logging-agent.sh >> > googlecompute: + bash install-logging-agent.sh >> > googlecompute: >> > ============================================================================== >> > googlecompute: Starting installation of google-fluentd >> > googlecompute: >> > ============================================================================== >> > googlecompute: >> > googlecompute: Installing agents for Debian or Ubuntu. >> > googlecompute: Warning: apt-key output should not be parsed >> > (stdout is not a terminal) >> > googlecompute: OK >> > googlecompute: Selecting previously unselected package google-fluentd. >> > googlecompute: (Reading database ... 33895 files and directories >> > currently installed.) >> > googlecompute: Preparing to unpack >> > .../google-fluentd_1.6.1-1_amd64.deb ... >> > googlecompute: Unpacking google-fluentd (1.6.1-1) ... >> > googlecompute: Selecting previously unselected package >> > google-fluentd-catch-all-config. >> > googlecompute: Preparing to unpack >> > .../google-fluentd-catch-all-config_0.7_all.deb ... >> > googlecompute: Unpacking google-fluentd-catch-all-config (0.7) ... >> > googlecompute: Setting up google-fluentd (1.6.1-1) ... >> > googlecompute: Adding system user `google-fluentd' (UID 108) ... >> > googlecompute: Adding new group `google-fluentd' (GID 112) ... >> > googlecompute: Adding new user `google-fluentd' (UID 108) with >> > group `google-fluentd' ... >> > googlecompute: Not creating home directory `/home/google-fluentd'. >> > googlecompute: Installing default conffile >> > /etc/google-fluentd/google-fluentd.conf ... >> > googlecompute: Setting up google-fluentd-catch-all-config (0.7) ... >> > googlecompute: >> > googlecompute: >> > ============================================================================== >> > googlecompute: Installation of google-fluentd complete. >> > googlecompute: >> > googlecompute: Logs from this machine should be visible in the log >> > viewer at: >> > googlecompute: >> > https://console.cloud.google.com/logs/viewer?project=taskcluster-builder&resource=gce_instance/instance_id/3982997392255155087 >> > googlecompute: >> > googlecompute: A test message has been sent to syslog to help >> > verify proper operation. >> > googlecompute: >> > googlecompute: Please consult the documentation for troubleshooting >> > advice: >> > googlecompute: https://cloud.google.com/logging/docs/agent >> > googlecompute: >> > googlecompute: You can monitor the logging agent's logfile at: >> > googlecompute: /var/log/google-fluentd/google-fluentd.log >> > googlecompute: >> > ============================================================================== >> > googlecompute: + rm install-logging-agent.sh >> > googlecompute: + mkdir -p /opt/taskcluster >> > googlecompute: + mv /tmp/generic-worker /opt/taskcluster >> > googlecompute: + mv /tmp/livelog /opt/taskcluster >> > googlecompute: + chmod +x /opt/taskcluster/generic-worker >> > googlecompute: + chmod +x /opt/taskcluster/livelog >> > googlecompute: + adduser --system taskcluster >> > googlecompute: Adding system user `taskcluster' (UID 109) ... >> > googlecompute: Adding new user `taskcluster' (UID 109) with group >> > `nogroup' ... >> > googlecompute: + mv /tmp/generic-worker-key.service >> > /tmp/generic-worker.service /etc/systemd/system >> > googlecompute: Creating home directory `/home/taskcluster' ... >> > googlecompute: + systemctl enable generic-worker-key.service >> > googlecompute: Created symlink >> > /etc/systemd/system/multi-user.target.wants/generic-worker-key.service >> > → /etc/systemd/system/generic-worker-key.service. >> > googlecompute: + systemctl enable generic-worker.service >> > googlecompute: Created symlink >> > /etc/systemd/system/multi-user.target.wants/generic-worker.service → >> > /etc/systemd/system/generic-worker.service. >> > 2018/11/30 14:13:55 packer: 2018/11/30 14:13:55 [INFO] RPC endpoint: >> > Communicator ended with: 0 >> > 2018/11/30 14:13:55 [INFO] 12369 bytes written for 'stdout' >> > 2018/11/30 14:13:55 [INFO] 1696 bytes written for 'stderr' >> > 2018/11/30 14:13:55 [INFO] RPC client: Communicator ended with: 0 >> > 2018/11/30 14:13:55 [INFO] RPC endpoint: Communicator ended with: 0 >> > 2018/11/30 14:13:55 packer: 2018/11/30 14:13:55 [INFO] 12369 bytes >> > written for 'stdout' >> > 2018/11/30 14:13:55 packer: 2018/11/30 14:13:55 [INFO] 1696 bytes >> > written for 'stderr' >> > 2018/11/30 14:13:55 packer: 2018/11/30 14:13:55 [INFO] RPC client: >> > Communicator ended with: 0 >> > 2018/11/30 14:13:55 packer: 2018/11/30 14:13:55 [DEBUG] Opening new ssh >> > session >> > 2018/11/30 14:13:55 packer: 2018/11/30 14:13:55 [DEBUG] starting >> > remote command: rm -f /tmp/script_807.sh >> > 2018/11/30 14:13:55 packer: 2018/11/30 14:13:55 [INFO] RPC endpoint: >> > Communicator ended with: 0 >> > 2018/11/30 14:13:55 [INFO] RPC client: Communicator ended with: 0 >> > 2018/11/30 14:13:55 [INFO] RPC endpoint: Communicator ended with: 0 >> > 2018/11/30 14:13:55 packer: 2018/11/30 14:13:55 [INFO] RPC client: >> > Communicator ended with: 0 >> > 2018/11/30 14:13:55 packer: 2018/11/30 14:13:55 [DEBUG] Opening new ssh >> > session >> > 2018/11/30 14:13:55 packer: 2018/11/30 14:13:55 [DEBUG] starting >> > remote command: rm -f >> > 2018/11/30 14:13:55 packer: 2018/11/30 14:13:55 [INFO] RPC endpoint: >> > Communicator ended with: 0 >> > 2018/11/30 14:13:55 [INFO] RPC client: Communicator ended with: 0 >> > 2018/11/30 14:13:55 [INFO] RPC endpoint: Communicator ended with: 0 >> > ==> googlecompute: Deleting instance... >> > 2018/11/30 14:13:55 packer: 2018/11/30 14:13:55 [INFO] RPC client: >> > Communicator ended with: 0 >> > googlecompute: Instance has been deleted! >> > ==> googlecompute: Deleting previous image... >> > ==> googlecompute: Creating image... >> > ==> googlecompute: Deleting disk... >> > googlecompute: Disk has been deleted! >> > ==> googlecompute: Running post-processor: googlecompute-export >> > ==> googlecompute (googlecompute-export): Starting googlecompute-export... >> > ==> googlecompute (googlecompute-export): Exporting image to >> > destinations: >> > [gs://taskcluster-built-images/taskcluster-generic-worker/gw-v11-0-1-debian-9-05d3c39285ce.tar.gz] >> > 2018/11/30 14:15:31 packer: 2018/11/30 14:15:31 [INFO] Requesting >> > Google token via GCE API Default Client Token Source... >> > 2018/11/30 14:15:31 packer: 2018/11/30 14:15:31 [INFO] Instantiating >> > GCE client... >> > ==> googlecompute (googlecompute-export): Creating temporary SSH key >> > for instance... >> > ==> googlecompute (googlecompute-export): Using image: >> > debian-8-jessie-v20160629 >> > ==> googlecompute (googlecompute-export): Creating instance... >> > googlecompute (googlecompute-export): Loading zone: us-east4-a >> > googlecompute (googlecompute-export): Loading machine type: >> > n1-standard-4 >> > googlecompute (googlecompute-export): Requesting instance creation... >> > googlecompute (googlecompute-export): Waiting for creation >> > operation to complete... >> > googlecompute (googlecompute-export): Instance has been created! >> > ==> googlecompute (googlecompute-export): Waiting for any running >> > startup script to finish... >> > ==> googlecompute (googlecompute-export): Startup script not finished >> > yet. Waiting... >> > ==> googlecompute (googlecompute-export): Startup script not finished >> > yet. Waiting... >> > ==> googlecompute (googlecompute-export): Startup script not finished >> > yet. Waiting... >> > ==> googlecompute (googlecompute-export): Startup script not finished >> > yet. Waiting... >> > ==> googlecompute (googlecompute-export): Startup script not finished >> > yet. Waiting... >> > ==> googlecompute (googlecompute-export): Startup script not finished >> > yet. Waiting... >> > ==> googlecompute (googlecompute-export): Startup script not finished >> > yet. Waiting... >> > ==> googlecompute (googlecompute-export): Startup script, if any, has >> > finished running. >> > ==> googlecompute (googlecompute-export): Deleting instance... >> > googlecompute (googlecompute-export): Instance has been deleted! >> > ==> googlecompute (googlecompute-export): Deleting disk... >> > googlecompute (googlecompute-export): Disk has been deleted! >> > ==> googlecompute: Running post-processor: manifest >> > 2018/11/30 14:21:46 Flagging to keep original artifact from >> > post-processor 'manifest' >> > Build 'googlecompute' finished. >> > >> > ==> Builds finished. The artifacts of successful builds are: >> > 2018/11/30 14:21:46 Builds completed. Waiting on interrupt barrier... >> > ==> Builds finished. The artifacts of successful builds are: >> > 2018/11/30 14:21:46 machine readable: googlecompute,artifact-count >> > []string{"3"} >> > 2018/11/30 14:21:46 machine readable: googlecompute,artifact >> > []string{"0", "builder-id", "packer.googlecompute"} >> > 2018/11/30 14:21:46 machine readable: googlecompute,artifact >> > []string{"0", "id", "gw-v11-0-1-debian-9-05d3c39285ce"} >> > 2018/11/30 14:21:46 machine readable: googlecompute,artifact >> > []string{"0", "string", "A disk image was created: >> > gw-v11-0-1-debian-9-05d3c39285ce"} >> > 2018/11/30 14:21:46 machine readable: googlecompute,artifact >> > []string{"0", "files-count", "0"} >> > 2018/11/30 14:21:46 machine readable: googlecompute,artifact >> > []string{"0", "end"} >> > --> googlecompute: A disk image was created: >> > gw-v11-0-1-debian-9-05d3c39285ce >> > 2018/11/30 14:21:46 machine readable: googlecompute,artifact >> > []string{"1", "builder-id", >> > "packer.post-processor.googlecompute-export"} >> > 2018/11/30 14:21:46 machine readable: googlecompute,artifact >> > []string{"1", "id", ""} >> > 2018/11/30 14:21:46 machine readable: googlecompute,artifact >> > []string{"1", "string", "Exported artifacts in: >> > [gs://taskcluster-built-images/taskcluster-generic-worker/gw-v11-0-1-debian-9-05d3c39285ce.tar.gz]"} >> > 2018/11/30 14:21:46 machine readable: googlecompute,artifact >> > []string{"1", "files-count", "1"} >> > 2018/11/30 14:21:46 machine readable: googlecompute,artifact >> > []string{"1", "file", "0", >> > "gs://taskcluster-built-images/taskcluster-generic-worker/gw-v11-0-1-debian-9-05d3c39285ce.tar.gz"} >> > 2018/11/30 14:21:46 machine readable: googlecompute,artifact >> > []string{"1", "end"} >> > --> googlecompute: Exported artifacts in: >> > [gs://taskcluster-built-images/taskcluster-generic-worker/gw-v11-0-1-debian-9-05d3c39285ce.tar.gz] >> > 2018/11/30 14:21:46 machine readable: googlecompute,artifact >> > []string{"2", "builder-id", ""} >> > 2018/11/30 14:21:46 machine readable: googlecompute,artifact >> > []string{"2", "id", ""} >> > 2018/11/30 14:21:46 machine readable: googlecompute,artifact >> > []string{"2", "string", ""} >> > 2018/11/30 14:21:46 machine readable: googlecompute,artifact >> > []string{"2", "files-count", "0"} >> > 2018/11/30 14:21:46 machine readable: googlecompute,artifact >> > []string{"2", "end"} >> > 2018/11/30 14:21:46 waiting for all plugin processes to complete... >> > --> googlecompute: >> > 2018/11/30 14:21:46 /bin/packer: plugin process exited >> > 2018/11/30 14:21:46 /bin/packer: plugin process exited >> > 2018/11/30 14:21:46 /bin/packer: plugin process exited >> > 2018/11/30 14:21:46 /bin/packer: plugin process exited >> > 2018/11/30 14:21:46 /bin/packer: plugin process exited >> > 2018/11/30 14:21:46 /bin/packer: plugin process exited >> > 2018/11/30 14:21:46 /bin/packer: plugin process exited >> > 2018/11/30 14:21:46 /bin/packer: plugin process exited >> > On Fri, Nov 30, 2018 at 2:44 AM Rickard von Essen >> > <[email protected]> wrote: >> > > >> > > Can you rerun with PACKER_LOG=1 and post the full log? >> > > >> > > On Fri, Nov 30, 2018 at 4:25 AM <[email protected]> wrote: >> > >> >> > >> I added a googlecompute-export post-processor, and it says it did the >> > >> thing: >> > >> >> > >> ==> googlecompute: Running post-processor: googlecompute-export >> > >> ==> googlecompute (googlecompute-export): Starting >> > >> googlecompute-export... >> > >> ==> googlecompute (googlecompute-export): Exporting image to >> > >> destinations: >> > >> [gs://taskcluster-built-images/taskcluster-generic-worker/gw-v11-0-1-debian-9-05d3c39285ce.tar.gz] >> > >> ==> googlecompute (googlecompute-export): Creating temporary SSH key >> > >> for instance... >> > >> ==> googlecompute (googlecompute-export): Using image: >> > >> debian-8-jessie-v20160629 >> > >> ==> googlecompute (googlecompute-export): Creating instance... >> > >> googlecompute (googlecompute-export): Loading zone: us-east4-a >> > >> googlecompute (googlecompute-export): Loading machine type: >> > >> n1-standard-4 >> > >> googlecompute (googlecompute-export): Requesting instance >> > >> creation... >> > >> googlecompute (googlecompute-export): Waiting for creation >> > >> operation to complete... >> > >> googlecompute (googlecompute-export): Instance has been created! >> > >> ==> googlecompute (googlecompute-export): Waiting for any running >> > >> startup script to finish... >> > >> ==> googlecompute (googlecompute-export): Startup script not finished >> > >> yet. Waiting... >> > >> ==> googlecompute (googlecompute-export): Startup script not finished >> > >> yet. Waiting... >> > >> ==> googlecompute (googlecompute-export): Startup script not finished >> > >> yet. Waiting... >> > >> ==> googlecompute (googlecompute-export): Startup script not finished >> > >> yet. Waiting... >> > >> ==> googlecompute (googlecompute-export): Startup script not finished >> > >> yet. Waiting... >> > >> ==> googlecompute (googlecompute-export): Startup script not finished >> > >> yet. Waiting... >> > >> ==> googlecompute (googlecompute-export): Startup script not finished >> > >> yet. Waiting... >> > >> ==> googlecompute (googlecompute-export): Startup script, if any, has >> > >> finished running. >> > >> ==> googlecompute (googlecompute-export): Deleting instance... >> > >> googlecompute (googlecompute-export): Instance has been deleted! >> > >> ==> googlecompute (googlecompute-export): Deleting disk... >> > >> googlecompute (googlecompute-export): Disk has been deleted! >> > >> ==> googlecompute: Running post-processor: manifest >> > >> Build 'googlecompute' finished. >> > >> >> > >> ==> Builds finished. The artifacts of successful builds are: >> > >> --> googlecompute: A disk image was created: >> > >> gw-v11-0-1-debian-9-05d3c39285ce >> > >> --> googlecompute: Exported artifacts in: >> > >> [gs://taskcluster-built-images/taskcluster-generic-worker/gw-v11-0-1-debian-9-05d3c39285ce.tar.gz] >> > >> --> googlecompute: >> > >> finished >> > >> >> > >> but that google storage bucket remains empty, according to >> > >> https://console.cloud.google.com/storage/browser/taskcluster-built-images >> > >> >> > >> I'm sure I'm missing something obvious.. is there some other part of >> > >> GCP to which these files are uploaded, other than google storage? Or >> > >> did the export not actually succeed, but with no error messages? >> > >> >> > >> Dustin >> > >> >> > >> -- >> > >> This mailing list is governed under the HashiCorp Community Guidelines >> > >> - https://www.hashicorp.com/community-guidelines.html. Behavior in >> > >> violation of those guidelines may result in your removal from this >> > >> mailing list. >> > >> >> > >> GitHub Issues: https://github.com/mitchellh/packer/issues >> > >> IRC: #packer-tool on Freenode >> > >> --- >> > >> You received this message because you are subscribed to the Google >> > >> Groups "Packer" group. >> > >> To unsubscribe from this group and stop receiving emails from it, send >> > >> an email to [email protected]. >> > >> To view this discussion on the web visit >> > >> https://groups.google.com/d/msgid/packer-tool/187252c6-8297-48de-bd51-e18e88d9a651%40googlegroups.com. >> > >> For more options, visit https://groups.google.com/d/optout. >> > > >> > > -- >> > > This mailing list is governed under the HashiCorp Community Guidelines - >> > > https://www.hashicorp.com/community-guidelines.html. Behavior in >> > > violation of those guidelines may result in your removal from this >> > > mailing list. >> > > >> > > GitHub Issues: https://github.com/mitchellh/packer/issues >> > > IRC: #packer-tool on Freenode >> > > --- >> > > You received this message because you are subscribed to the Google >> > > Groups "Packer" group. >> > > To unsubscribe from this group and stop receiving emails from it, send >> > > an email to [email protected]. >> > > To view this discussion on the web visit >> > > https://groups.google.com/d/msgid/packer-tool/CALz9Rt922GS97CYmhhNLFw5WCAy7EZ5unq_d8W8uuP1OxRvG6A%40mail.gmail.com. >> > > For more options, visit https://groups.google.com/d/optout. >> >> -- >> This mailing list is governed under the HashiCorp Community Guidelines - >> https://www.hashicorp.com/community-guidelines.html. Behavior in violation >> of those guidelines may result in your removal from this mailing list. >> >> GitHub Issues: https://github.com/mitchellh/packer/issues >> IRC: #packer-tool on Freenode >> --- >> You received this message because you are subscribed to the Google Groups >> "Packer" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/packer-tool/CAM0oO8zaZDsvtjM5PVxmij8cbZG7KcZEzjLN-LAR6r_R9mfxhA%40mail.gmail.com. >> For more options, visit https://groups.google.com/d/optout. > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in violation of > those guidelines may result in your removal from this mailing list. > > GitHub Issues: https://github.com/mitchellh/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/CALz9Rt_d8jPVDKCODb5U5feD8d5uAV6EJa9NxbaN9gBH2srSRw%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAM0oO8w3XpGcV8oisvChk00U26j_K5T0BGt-w9otFVRFts5zXw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
