We are attempting to make use of cook snapshots as described in the Unreal doc. We have a custom BuildGraph script we’re using, and I moved over the elements of BuildAndTestProject.xml related to publishing a snapshot into our scripts.
When I attempt to invoke that portion of the script to save to our Shared Zen DDC server ae-zen2, the process fails:
`Running: F:\p4\main\game\Engine\Binaries\Win64\ZenLaunch.exe “F:\p4\main\game\AE\AE.uproject” -SponsorProcessID=142244
LogFileManager: Warning: Failed to open file [C:/Users/tpreston/AppData/Local/UnrealEngine/Common/Zen/Install/zen.link] to read: The system cannot find the file specified.
LogFileManager: Warning: Failed to open file [C:/Users/tpreston/AppData/Local/UnrealEngine/Common/Zen/Install/zen.link] to read: The system cannot find the file specified.
LogZenServiceInstance: Display: Unreal Zen Storage Server HTTP service at [::1]:8558 status: OK!.
Took 1.26s to run ZenLaunch.exe, ExitCode=0
Running: F:\p4\main\game\Engine\Binaries\Win64\zen.exe project-create --hosturl http://ae-zen2:8558 ae.oplog
Took 0.10s to run zen.exe, ExitCode=1
Running: F:\p4\main\game\Engine\Binaries\Win64\zen.exe oplog-export --embedloosefiles --zen http://ae-zen2:8558 --hosturl http://localhost:8558 --target-project ae.oplog --target-oplog unknown_1.7.2.9999.windows AE.41d15ac9 Windows
Took 0.07s to run zen.exe, ExitCode=11
Command failed (Result:11): F:\p4\main\game\Engine\Binaries\Win64\zen.exe oplog-export --embedloosefiles --zen http://ae-zen2:8558 --hosturl http://localhost:8558 --target-project ae.oplog --target-oplog unknown_1.7.2.9999.windows AE.41d15ac9 Windows. See logfile for details: ‘zen-2025.05.11-11.14.52.txt’
Attempt 1 of exporting the oplog failed, retrying…
Running: F:\p4\main\game\Engine\Binaries\Win64\zen.exe oplog-export --embedloosefiles --zen http://ae-zen2:8558 --hosturl http://localhost:8558 --target-project ae.oplog --target-oplog unknown_1.7.2.9999.windows AE.41d15ac9 Windows
Took 0.06s to run zen.exe, ExitCode=11
Command failed (Result:11): F:\p4\main\game\Engine\Binaries\Win64\zen.exe oplog-export --embedloosefiles --zen http://ae-zen2:8558 --hosturl http://localhost:8558 --target-project ae.oplog --target-oplog unknown_1.7.2.9999.windows AE.41d15ac9 Windows. See logfile for details: ‘zen-2025.05.11-11.14.53.txt’`
The logfiles mentioned are not helpful:
`[2025-05-11 11:14:51.575] [warning] Creating zen remote oplog ‘ae.oplog/unknown_1.7.2.9999.windows’
Error: failed creating zen remote oplog: HTTP error 404 Not Found (project ae.oplog not found)`
When I attempt to call the failing Zen.exe command directly with --verbose, I get a little more information:
`[2025-05-11 14:48:11.389] [trace] GET Url: http://localhost:8558/prj, Status: 200, Bytes: 0/347 (Up/Down), Elapsed: 0.001602s
[2025-05-11 14:48:11.391] [trace] GET Url: http://localhost:8558/prj/AE.41d15ac9, Status: 200, Bytes: 0/187 (Up/Down), Elapsed: 0.000398s
[2025-05-11 14:48:11.391] [trace] GET Url: http://localhost:8558/prj/ae.oplog/oplog/unknown_1.7.2.9999.windows, Status: 404, Bytes: 0/26 (Up/Down), Elapsed: 0.000128s, Reponse: ‘project ae.oplog not found’, Reason: ‘Not Found’
[2025-05-11 14:48:11.391] [warning] Creating zen remote oplog ‘ae.oplog/unknown_1.7.2.9999.windows’
[2025-05-11 14:48:11.391] [trace] POST Url: http://localhost:8558/prj/ae.oplog/oplog/unknown_1.7.2.9999.windows, Status: 404, Bytes: 0/26 (Up/Down), Elapsed: 9.7e-05s, Reponse: ‘project ae.oplog not found’, Reason: ‘Not Found’
Error: failed creating zen remote oplog: HTTP error 404 Not Found (project ae.oplog not found)`
So clearly the oplog is not getting created, but I don’t see where in the BuildAndTestProject.xml scripts that’s supposed to happen? Any help would be appreciated.