2018/05/10 11:21:51 ui: virtualbox-iso: virtualbox-iso:2018/05/10 11:21:51 ui: virtualbox-iso: TASK [mysql : Install tools for Mysql] ***************************************** virtualbox-iso: TASK [mysql : Install tools for Mysql] *****************************************2018/05/10 11:31:17 packer: 2018/05/10 11:31:17 [ERROR] Remote command exited without exit status or exit signal.2018/05/10 11:31:17 packer: 2018/05/10 11:31:17 [INFO] RPC endpoint: Communicator ended with: 23002182018/05/10 11:31:17 [INFO] 32044 bytes written for 'stdout'2018/05/10 11:31:17 [INFO] 885 bytes written for 'stderr'2018/05/10 11:31:17 [INFO] RPC client: Communicator ended with: 23002182018/05/10 11:31:17 [INFO] RPC endpoint: Communicator ended with: 23002182018/05/10 11:31:17 packer: 2018/05/10 11:31:17 [INFO] 32044 bytes written for 'stdout'2018/05/10 11:31:17 packer: 2018/05/10 11:31:17 [INFO] 885 bytes written for 'stderr'2018/05/10 11:31:17 packer: 2018/05/10 11:31:17 [INFO] RPC client: Communicator ended with: 23002182018/05/10 11:31:17 [INFO] (telemetry) ending ansible-local2018/05/10 11:31:18 packer: 2018/05/10 11:31:18 Executing VBoxManage: []string{"controlvm", "packer-centos-7-x86_64", "poweroff"}2018/05/10 11:31:18 packer: 2018/05/10 11:31:18 stdout:2018/05/10 11:31:18 packer: 2018/05/10 11:31:18 stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%2018/05/10 11:31:18 packer: 2018/05/10 11:31:18 Executing VBoxManage: []string{"storageattach", "packer-centos-7-x86_64", "--storagectl", "IDE Controller", "--port", "0", "--device", "1", "--medium", "none"}2018/05/10 11:31:18 packer: 2018/05/10 11:31:18 stdout:2018/05/10 11:31:18 packer: 2018/05/10 11:31:18 stderr:2018/05/10 11:31:18 ui: ==> virtualbox-iso: Deregistering and deleting VM...==> virtualbox-iso: Deregistering and deleting VM...2018/05/10 11:31:18 packer: 2018/05/10 11:31:18 Executing VBoxManage: []string{"unregistervm", "packer-centos-7-x86_64", "--delete"}2018/05/10 11:31:18 packer: 2018/05/10 11:31:18 stdout:2018/05/10 11:31:18 packer: 2018/05/10 11:31:18 stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%2018/05/10 11:31:18 ui: ==> virtualbox-iso: Deleting output directory...==> virtualbox-iso: Deleting output directory...2018/05/10 11:31:18 [INFO] (telemetry) ending virtualbox-iso2018/05/10 11:31:18 ui error: Build 'virtualbox-iso' errored: Error executing Ansible: Non-zero exit status: 23002182018/05/10 11:31:18 Builds completed. Waiting on interrupt barrier...2018/05/10 11:31:18 machine readable: error-count []string{"1"}2018/05/10 11:31:18 ui error:==> Some builds didn't complete successfully and had errors:2018/05/10 11:31:18 machine readable: virtualbox-iso,error []string{"Error executing Ansible: Non-zero exit status: 2300218"}2018/05/10 11:31:18 ui error: --> virtualbox-iso: Error executing Ansible: Non-zero exit status: 23002182018/05/10 11:31:18 ui:==> Builds finished but no artifacts were created.2018/05/10 11:31:18 [INFO] (telemetry) Finalizing.Build 'virtualbox-iso' errored: Error executing Ansible: Non-zero exit status: 2300218
==> Some builds didn't complete successfully and had errors:--> virtualbox-iso: Error executing Ansible: Non-zero exit status: 2300218
==> Builds finished but no artifacts were created.2018/05/10 11:31:19 waiting for all plugin processes to complete...2018/05/10 11:31:19 /usr/local/bin/packer: plugin process exited2018/05/10 11:31:19 /usr/local/bin/packer: plugin process exited2018/05/10 11:31:19 /usr/local/bin/packer: plugin process exited2018/05/10 11:31:19 /usr/local/bin/packer: plugin process exited2018/05/10 11:31:19 /usr/local/bin/packer: plugin process exited2018/05/10 11:31:19 /usr/local/bin/packer: plugin process exited2018/05/10 11:31:19 /usr/local/bin/packer: plugin process exited2018/05/10 11:31:19 /usr/local/bin/packer: plugin process exited2018/05/10 11:31:19 /usr/local/bin/packer: plugin process exited virtualbox-iso: TASK [common : Update OS packages] ********************************************* virtualbox-iso: changed: [127.0.0.1] virtualbox-iso: virtualbox-iso: TASK [common : Install common OS tools / services] ***************************** virtualbox-iso: An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'Task' object has no attribute 'async_val' virtualbox-iso: fatal: [127.0.0.1]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""} virtualbox-iso: to retry, use: --limit @/tmp/packer-provisioner-ansible-local/development.retry virtualbox-iso: virtualbox-iso: PLAY RECAP ********************************************************************* virtualbox-iso: 127.0.0.1 : ok=6 changed=4 unreachable=0 failed=1 virtualbox-iso:==> virtualbox-iso: Deregistering and deleting VM...==> virtualbox-iso: Deleting output directory...Build 'virtualbox-iso' errored: Error executing Ansible: Non-zero exit status: 2
==> Some builds didn't complete successfully and had errors:--> virtualbox-iso: Error executing Ansible: Non-zero exit status: 2==> virtualbox-iso: Provisioning with shell script: scripts/finalize.sh==> virtualbox-iso: Deregistering and deleting VM...==> virtualbox-iso: Deleting output directory...Build 'virtualbox-iso' errored: Retryable error: Error removing temporary script at /tmp/script_6974.sh: Timeout during SSH handshake
==> Some builds didn't complete successfully and had errors:--> virtualbox-iso: Retryable error: Error removing temporary script at /tmp/script_6974.sh: Timeout during SSH handshake
--
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 packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/f679de0a-06df-4667-b9b1-4919f70cc73a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Actually now that I think about it, I haven't seen this issue even 1 time when the system upgrade task was being executed.That makes me think it is something else. Maybe a panic with the VM or something, though I haven't noticed anything like that in the logs yet.
--
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 packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/70dd85e7-9087-4fc3-86e5-25836dcd5e0a%40googlegroups.com.
May 22 17:12:23 localhost.localdomain NetworkManager[683]: <info> [1527009143.5457] dhcp4 (enp0s3): activation: beginning transaction (timeout in 45 seconds)May 22 17:12:23 localhost.localdomain NetworkManager[683]: <info> [1527009143.5510] dhcp4 (enp0s3): dhclient started with pid 8751May 22 17:12:23 localhost.localdomain dhclient[8752]: execve (/usr/libexec/nm-dhcp-helper, ...): No such file or directoryMay 22 17:12:23 localhost.localdomain dhclient[8751]: DHCPREQUEST on enp0s3 to 255.255.255.255 port 67 (xid=0x3ecf9459)May 22 17:12:23 localhost.localdomain dhclient[8751]: DHCPACK from 10.0.2.2 (xid=0x3ecf9459)May 22 17:12:23 localhost.localdomain dhclient[8753]: execve (/usr/libexec/nm-dhcp-helper, ...): No such file or directoryMay 22 17:12:23 localhost.localdomain dhclient[8751]: bound to 10.0.2.15 -- renewal in 39668 seconds.
....
May 22 17:13:08 localhost.localdomain NetworkManager[683]: <warn> [1527009188.5642] dhcp4 (enp0s3): request timed outMay 22 17:13:08 localhost.localdomain NetworkManager[683]: <info> [1527009188.5646] dhcp4 (enp0s3): state changed unknown -> timeoutMay 22 17:13:08 localhost.localdomain NetworkManager[683]: <info> [1527009188.5757] dhcp4 (enp0s3): canceled DHCP transaction, DHCP client pid 8751May 22 17:13:08 localhost.localdomain NetworkManager[683]: <info> [1527009188.5758] dhcp4 (enp0s3): state changed timeout -> doneMay 22 17:13:08 localhost.localdomain NetworkManager[683]: <info> [1527009188.5763] device (enp0s3): scheduling DHCPv4 restart in 120 seconds, 1 tries left (reason: lease expired)
....
May 22 17:15:53 localhost.localdomain NetworkManager[683]: <warn> [1527009353.5411] dhcp4 (enp0s3): request timed outMay 22 17:15:53 localhost.localdomain NetworkManager[683]: <info> [1527009353.5415] dhcp4 (enp0s3): state changed unknown -> timeoutMay 22 17:15:53 localhost.localdomain NetworkManager[683]: <info> [1527009353.5520] dhcp4 (enp0s3): canceled DHCP transaction, DHCP client pid 18343May 22 17:15:53 localhost.localdomain NetworkManager[683]: <info> [1527009353.5521] dhcp4 (enp0s3): state changed timeout -> doneMay 22 17:15:53 localhost.localdomain NetworkManager[683]: <info> [1527009353.5525] device (enp0s3): state change: activated -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')May 22 17:15:53 localhost.localdomain NetworkManager[683]: <warn> [1527009353.5567] device (enp0s3): Activation: failed for connection 'enp0s3'May 22 17:15:53 localhost.localdomain NetworkManager[683]: <info> [1527009353.5571] manager: NetworkManager state is now CONNECTED_LOCALMay 22 17:15:53 localhost.localdomain NetworkManager[683]: <info> [1527009353.5579] device (enp0s3): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Timeout, server 127.0.0.1 not responding.