System Image Utility and NetRestore workflow errors with "An error occurred while loading the installer resources"

Originator:tim
Number:rdar://42908845 Date Originated:03-Aug-2018 02:54 PM
Status:Open Resolved:
Product:macOS + SDK Product Version:10.14 (18A347e)
Classification:Serious Bug Reproducible:Always
 
Summary:
Attempting to create a NetRestore Image in System Image Utility fails as the installation begins, with the error "Domain=com.apple.osinstall Code=-34 "An error occurred while loading the installer resources.""

Steps to Reproduce:
1. On a fresh installation of Mojave b5 (18A347e), copy the b5 Mojave installer app to /Applications.
2. In System Image Utility, choose this installer app as the source, and NetRestore as the image type.
3. Define the administrator account login and password in the next window (I used 'test' and '12345' as the password), leaving the rest of the options as default.
4. Click Next through all the subsequent steps, leaving the defaults. (see attached zip bundle for screenshots of each step as I took them)
5. When the image build begins, input the administrator password for the user when prompted, and also accept the license when it is displayed.

Expected Results:
Image build would begin and complete successfully, leaving an .nbi file containing an asr-scanned restorable disk image within.

Actual Results:
An "Image Creation Failed" error is shown in the SIU UI, and in the /var/log/install.log file, these lines are shown around the time of the failure:

2018-08-03 11:33:40-07 tests-Mac installer[909]: Installer Info install requested but we're not dmg booted
2018-08-03 11:33:40-07 tests-Mac installer[909]: mountDiskImageWithURLString: (null)
2018-08-03 11:33:40-07 tests-Mac installer[909]: mountDiskImageWithPath is NOT valid, not attempting to mount
2018-08-03 11:33:40-07 tests-Mac installer[909]: Couldn't mount the payload dmg ((null)): Error Domain=com.apple.osinstall Code=-34 "An error occurred while loading the installer resources." UserInfo={NSLocalizedDescription=An error occurred while loading the installer resources.}
2018-08-03 11:33:40-07 tests-Mac installer[909]: client 0x7f96fdc21220: phaseName = OS Installer 2
2018-08-03 11:33:40-07 tests-Mac installer[909]: Releasing Connection

(full install.log is also attached with the zip file.

Version:
10.14 (18A347e)

Notes:
Attaching the relevant portion of install.log and screenshots of the steps I took in the GUI are attached.

The OS I am using is running inside a VMware Fusion VM with 2 CPUs and 4GB of RAM, using the current (as of today) VMware Fusion Technology Preview. I have seen others' reports of seeing the same error on physical Mac hardware.

Comments

Closed as a duplicate of 41775736 (open).


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!