You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This started breaking our tart builds today a couple hours ago. The vm will launch from IPSW and go through most of the build process then bomb at the end complaining about the disk partitions. From looking at the error it seems it does not actually remove the recovery partition like normal and causes issues when trying to finish the vm build process.
We changed our packer plugin line to explicitly use plugin version 1.5.2 now instead of >=1.5.0. Multiple builds using versions 1.5.0 and 1.5.2 as tests work fine just like before. Any build with 1.5.3 results in the snippet below.
Our tart version installed by homebrew is 1.12.1 which shows current as of today
$ packer init --upgrade templates/vanilla.pkr.hcl
Installed plugin github.com/cirruslabs/tart v1.5.3 in "/opt/homebrew/bin/github.com/cirruslabs/tart/packer-plugin-tart_v1.5.3_x5.0_darwin_arm64"
$ packer build -force -debug -timestamp-ui templates/vanilla.pkr.hcl
Debug mode enabled. Builds will not be parallelized.
tart-cli.tart: output will be in this color.
2023-09-15T15:31:33-07:00: ==> tart-cli.tart: Creating virtual machine...
2023-09-15T15:37:04-07:00: ==> tart-cli.tart: Waiting 30s to let the Virtualization.Framework's installation process to finish correctly...
2023-09-15T15:37:34-07:00: ==> tart-cli.tart: Updating virtual machine resources...
2023-09-15T15:37:34-07:00: ==> tart-cli.tart: Inspecting machine disk image...
2023-09-15T15:37:34-07:00: ==> tart-cli.tart: Getting partition table...
2023-09-15T15:37:34-07:00: ==> tart-cli.tart: Found recovery partition. Let's remove it to save space...
2023-09-15T15:37:34-07:00: ==> tart-cli.tart: Successfully updated partitions...
2023-09-15T15:37:34-07:00: ==> tart-cli.tart: Starting the virtual machine...
2023-09-15T15:37:34-07:00: ==> tart-cli.tart: Waiting for the VNC server credentials from Tart...
2023-09-15T15:37:35-07:00: ==> tart-cli.tart: Retrieved VNC credentials, connecting...
2023-09-15T15:37:35-07:00: ==> tart-cli.tart: Connected to the VNC!
2023-09-15T15:37:35-07:00: ==> tart-cli.tart: Typing the commands over VNC...
2023-09-15T15:44:12-07:00: ==> tart-cli.tart: Successfully started the virtual machine...
2023-09-15T15:44:12-07:00: ==> tart-cli.tart: Using SSH communicator to connect: 192.168.64.127
2023-09-15T15:44:12-07:00: ==> tart-cli.tart: Waiting for SSH to become available...
2023-09-15T15:44:12-07:00: ==> tart-cli.tart: Connected to SSH!
2023-09-15T15:44:12-07:00: ==> tart-cli.tart: Let's SSH in and claim the new space for the disk...
2023-09-15T15:44:13-07:00: ==> tart-cli.tart: failed to parse "diskutil list -plist physical" output: last partition's "Content" should be "Apple_APFS", got "Apple_APFS_Recovery"
2023-09-15T15:44:13-07:00: ==> tart-cli.tart: Gracefully shutting down the VM...
2023-09-15T15:44:13-07:00: tart-cli.tart: Shutdown NOW!
2023-09-15T15:44:13-07:00: tart-cli.tart:
2023-09-15T15:44:13-07:00: tart-cli.tart: System shutdown time has arrived��
2023-09-15T15:44:13-07:00: ==> tart-cli.tart: Password:
2023-09-15T15:44:13-07:00: ==> tart-cli.tart: Waiting for the tart process to exit...
2023-09-15T15:44:14-07:00: Build 'tart-cli.tart' errored after 12 minutes 40 seconds: Build was halted.
==> Wait completed after 12 minutes 40 seconds
==> Some builds didn't complete successfully and had errors:
--> tart-cli.tart: Build was halted.
==> Builds finished but no artifacts were created.
The text was updated successfully, but these errors were encountered:
This started breaking our tart builds today a couple hours ago. The vm will launch from IPSW and go through most of the build process then bomb at the end complaining about the disk partitions. From looking at the error it seems it does not actually remove the recovery partition like normal and causes issues when trying to finish the vm build process.
We changed our packer plugin line to explicitly use plugin version 1.5.2 now instead of >=1.5.0. Multiple builds using versions 1.5.0 and 1.5.2 as tests work fine just like before. Any build with 1.5.3 results in the snippet below.
Our tart version installed by homebrew is 1.12.1 which shows current as of today
$ packer init --upgrade templates/vanilla.pkr.hcl
Installed plugin github.com/cirruslabs/tart v1.5.3 in "/opt/homebrew/bin/github.com/cirruslabs/tart/packer-plugin-tart_v1.5.3_x5.0_darwin_arm64"
$ packer build -force -debug -timestamp-ui templates/vanilla.pkr.hcl
Debug mode enabled. Builds will not be parallelized.
tart-cli.tart: output will be in this color.
2023-09-15T15:31:33-07:00: ==> tart-cli.tart: Creating virtual machine...
2023-09-15T15:37:04-07:00: ==> tart-cli.tart: Waiting 30s to let the Virtualization.Framework's installation process to finish correctly...
2023-09-15T15:37:34-07:00: ==> tart-cli.tart: Updating virtual machine resources...
2023-09-15T15:37:34-07:00: ==> tart-cli.tart: Inspecting machine disk image...
2023-09-15T15:37:34-07:00: ==> tart-cli.tart: Getting partition table...
2023-09-15T15:37:34-07:00: ==> tart-cli.tart: Found recovery partition. Let's remove it to save space...
2023-09-15T15:37:34-07:00: ==> tart-cli.tart: Successfully updated partitions...
2023-09-15T15:37:34-07:00: ==> tart-cli.tart: Starting the virtual machine...
2023-09-15T15:37:34-07:00: ==> tart-cli.tart: Waiting for the VNC server credentials from Tart...
2023-09-15T15:37:35-07:00: ==> tart-cli.tart: Retrieved VNC credentials, connecting...
2023-09-15T15:37:35-07:00: ==> tart-cli.tart: Connected to the VNC!
2023-09-15T15:37:35-07:00: ==> tart-cli.tart: Typing the commands over VNC...
2023-09-15T15:44:12-07:00: ==> tart-cli.tart: Successfully started the virtual machine...
2023-09-15T15:44:12-07:00: ==> tart-cli.tart: Using SSH communicator to connect: 192.168.64.127
2023-09-15T15:44:12-07:00: ==> tart-cli.tart: Waiting for SSH to become available...
2023-09-15T15:44:12-07:00: ==> tart-cli.tart: Connected to SSH!
2023-09-15T15:44:12-07:00: ==> tart-cli.tart: Let's SSH in and claim the new space for the disk...
2023-09-15T15:44:13-07:00: ==> tart-cli.tart: failed to parse "diskutil list -plist physical" output: last partition's "Content" should be "Apple_APFS", got "Apple_APFS_Recovery"
2023-09-15T15:44:13-07:00: ==> tart-cli.tart: Gracefully shutting down the VM...
2023-09-15T15:44:13-07:00: tart-cli.tart: Shutdown NOW!
2023-09-15T15:44:13-07:00: tart-cli.tart:
2023-09-15T15:44:13-07:00: tart-cli.tart: System shutdown time has arrived��
2023-09-15T15:44:13-07:00: ==> tart-cli.tart: Password:
2023-09-15T15:44:13-07:00: ==> tart-cli.tart: Waiting for the tart process to exit...
2023-09-15T15:44:14-07:00: Build 'tart-cli.tart' errored after 12 minutes 40 seconds: Build was halted.
==> Wait completed after 12 minutes 40 seconds
==> Some builds didn't complete successfully and had errors:
--> tart-cli.tart: Build was halted.
==> Builds finished but no artifacts were created.
The text was updated successfully, but these errors were encountered: