Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building 4.25.3 windows server 2019 "Not enough space on disk" #99

Closed
jforand opened this issue Sep 16, 2020 · 41 comments
Closed
Labels
awaiting-upstream Awaiting bugfixes or functionality from upstream dependencies bug Something isn't working

Comments

@jforand
Copy link

jforand commented Sep 16, 2020

Output of the ue4-docker info command:

PS C:\Users\Administrator> ue4-docker info
ue4-docker version:         0.0.71 (latest available version is 0.0.71)
Operating system:           Windows Server 2019 Standard Version 1809 (OS Build 17763.1397)
Docker daemon version:      19.03.5
NVIDIA Docker supported:    No
Maximum image size:         200GB
Available disk space:       1.31 TiB
Total system memory:        24 GiB physical, 27.5 GiB virtual
Number of processors:       8 physical, 8 logical

I was previously able to build 4.24.3 on this same machine.

When trying to build 4.25.3 (with "ue4-docker build 4.25.3 --exclude debug --exclude templates --monitor"), I get the following error.

Copying 163320 files from C:\UnrealEngine to C:\UnrealEngine\LocalBuilds\Engine\Windows...
[ue4-docker build] [2020-09-16 16:39:12] [Available disk: 1.34 TiB] [Available memory: 12.26 GiB physical, 24.20 GiB virtual] [CPU usage: 15.80%]
[ue4-docker build] [2020-09-16 16:39:32] [Available disk: 1.34 TiB] [Available memory: 9.55 GiB physical, 24.19 GiB virtual] [CPU usage: 7.60%]
[ue4-docker build] [2020-09-16 16:39:52] [Available disk: 1.34 TiB] [Available memory: 9.61 GiB physical, 24.20 GiB virtual] [CPU usage: 2.60%]
[ue4-docker build] [2020-09-16 16:40:12] [Available disk: 1.34 TiB] [Available memory: 9.59 GiB physical, 24.19 GiB virtual] [CPU usage: 2.00%]
[ue4-docker build] [2020-09-16 16:40:32] [Available disk: 1.34 TiB] [Available memory: 9.61 GiB physical, 24.18 GiB virtual] [CPU usage: 2.40%]
[ue4-docker build] [2020-09-16 16:40:52] [Available disk: 1.33 TiB] [Available memory: 9.61 GiB physical, 24.17 GiB virtual] [CPU usage: 2.20%]
[ue4-docker build] [2020-09-16 16:41:12] [Available disk: 1.33 TiB] [Available memory: 10.23 GiB physical, 24.18 GiB virtual] [CPU usage: 2.20%]
[ue4-docker build] [2020-09-16 16:41:32] [Available disk: 1.33 TiB] [Available memory: 12.06 GiB physical, 24.16 GiB virtual] [CPU usage: 0.90%]
[ue4-docker build] [2020-09-16 16:41:52] [Available disk: 1.33 TiB] [Available memory: 12.08 GiB physical, 24.17 GiB virtual] [CPU usage: 2.70%]
[ue4-docker build] [2020-09-16 16:42:12] [Available disk: 1.33 TiB] [Available memory: 12.08 GiB physical, 24.17 GiB virtual] [CPU usage: 2.50%]
[ue4-docker build] [2020-09-16 16:42:32] [Available disk: 1.33 TiB] [Available memory: 12.02 GiB physical, 24.19 GiB virtual] [CPU usage: 2.60%]
[ue4-docker build] [2020-09-16 16:42:52] [Available disk: 1.32 TiB] [Available memory: 11.85 GiB physical, 24.20 GiB virtual] [CPU usage: 4.00%]
[ue4-docker build] [2020-09-16 16:43:12] [Available disk: 1.32 TiB] [Available memory: 11.57 GiB physical, 24.17 GiB virtual] [CPU usage: 4.30%]
[ue4-docker build] [2020-09-16 16:43:33] [Available disk: 1.32 TiB] [Available memory: 13.37 GiB physical, 24.17 GiB virtual] [CPU usage: 1.20%]
[ue4-docker build] [2020-09-16 16:43:53] [Available disk: 1.32 TiB] [Available memory: 14.48 GiB physical, 24.13 GiB virtual] [CPU usage: 3.50%]
[ue4-docker build] [2020-09-16 16:44:13] [Available disk: 1.32 TiB] [Available memory: 14.10 GiB physical, 24.10 GiB virtual] [CPU usage: 6.00%]
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Plugins\Runtime\AndroidPermission\Intermediate\Build\Win64\UE4Server\Development\AndroidPermission\Module.AndroidPermission.gen.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Runtime\AndroidPermission\Intermediate\Build\Win64\UE4Server\Development\AndroidPermission\Module.AndroidPermission.gen.cpp.obj, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Plugins\Runtime\AR\Microsoft\HoloLensAR\Intermediate\Build\Win64\UE4Server\Development\HoloLensAR\Module.HoloLensAR.gen.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Runtime\AR\Microsoft\HoloLensAR\Intermediate\Build\Win64\UE4Server\Development\HoloLensAR\Module.HoloLensAR.gen.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Runtime\MixedRealityCaptureFramework\Intermediate\Build\Win64\UE4Server\Inc\MixedRealityCaptureFramework\MrcCalibrationData.generated.h to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Runtime\MixedRealityCaptureFramework\Intermediate\Build\Win64\UE4Server\Inc\MixedRealityCaptureFramework\MrcCalibrationData.generated.h, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Server\Development\AudioCaptureCore\Module.AudioCaptureCore.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Intermediate\Build\Win64\UE4Server\Development\AudioCaptureCore\Module.AudioCaptureCore.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Server\Development\GeometryCollectionEngine\Module.GeometryCollectionEngine.gen.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Intermediate\Build\Win64\UE4Server\Development\GeometryCollectionEngine\Module.GeometryCollectionEngine.gen.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Developer\TraceSourceFiltering\Intermediate\Build\Win64\UE4Server\Development\SourceFilteringTrace\Module.SourceFilteringTrace.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Developer\TraceSourceFiltering\Intermediate\Build\Win64\UE4Server\Development\SourceFilteringTrace\Module.SourceFilteringTrace.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Runtime\SignificanceManager\Intermediate\Build\Win64\UE4Server\Development\SignificanceManager\SignificanceManager.gen.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Runtime\SignificanceManager\Intermediate\Build\Win64\UE4Server\Development\SignificanceManager\SignificanceManager.gen.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Runtime\ResonanceAudio\Intermediate\Build\Win64\UE4Server\Development\ResonanceAudio\lockless_task_queue.cc.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Runtime\ResonanceAudio\Intermediate\Build\Win64\UE4Server\Development\ResonanceAudio\lockless_task_queue.cc.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Runtime\Steam\SteamSockets\Intermediate\Build\Win64\UE4Server\Inc\SteamSockets\SteamSocketsNetConnection.generated.h to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Runtime\Steam\SteamSockets\Intermediate\Build\Win64\UE4Server\Inc\SteamSockets\SteamSocketsNetConnection.generated.h, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Experimental\GeometryCache\Intermediate\Build\Win64\UE4Client\Shipping\GeometryCache\Module.GeometryCache.gen.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Experimental\GeometryCache\Intermediate\Build\Win64\UE4Client\Shipping\GeometryCache\Module.GeometryCache.gen.cpp.obj, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Plugins\Compositing\Composure\Intermediate\Build\Win64\UE4Server\Inc\Composure\CompositingElementInputs.generated.h to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Compositing\Composure\Intermediate\Build\Win64\UE4Server\Inc\Composure\CompositingElementInputs.generated.h, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Media\AvfMedia\Intermediate\Build\Win64\UE4Server\Inc\AvfMediaFactory\AvfMediaSettings.generated.h to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Media\AvfMedia\Intermediate\Build\Win64\UE4Server\Inc\AvfMediaFactory\AvfMediaSettings.generated.h, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Experimental\GeometryCollectionPlugin\Intermediate\Build\Win64\UE4Server\Development\GeometryCollectionTracks\Module.GeometryCollectionTracks.gen.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Experimental\GeometryCollectionPlugin\Intermediate\Build\Win64\UE4Server\Development\GeometryCollectionTracks\Module.GeometryCollectionTracks.gen.cpp.obj, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Plugins\Runtime\MobilePatchingUtils\Intermediate\Build\Win64\UE4Client\Shipping\MobilePatchingUtils\Module.MobilePatchingUtils.gen.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Runtime\MobilePatchingUtils\Intermediate\Build\Win64\UE4Client\Shipping\MobilePatchingUtils\Module.MobilePatchingUtils.gen.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Client\Shipping\Chaos\PBDCollisionConstraints.ispc_sse2.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Intermediate\Build\Win64\UE4Client\Shipping\Chaos\PBDCollisionConstraints.ispc_sse2.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Client\Shipping\Engine\Module.Engine.gen.34_of_65.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Intermediate\Build\Win64\UE4Client\Shipping\Engine\Module.Engine.gen.34_of_65.cpp.obj, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Plugins\Runtime\Oculus\OculusAudio\Intermediate\Build\Win64\UE4Server\Inc\OculusAudio\OculusAudioGeometryComponent.generated.h to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Runtime\Oculus\OculusAudio\Intermediate\Build\Win64\UE4Server\Inc\OculusAudio\OculusAudioGeometryComponent.generated.h, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Plugins\Experimental\ControlRig\Intermediate\Build\Win64\UE4Server\Development\ControlRig\Module.ControlRig.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Experimental\ControlRig\Intermediate\Build\Win64\UE4Server\Development\ControlRig\Module.ControlRig.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Client\Shipping\Renderer\Module.Renderer.5_of_15.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Intermediate\Build\Win64\UE4Client\Shipping\Renderer\Module.Renderer.5_of_15.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Runtime\nDisplay\Intermediate\Build\Win64\UE4Server\Inc\MPCDI\MPCDIBlueprintLib.generated.h to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Runtime\nDisplay\Intermediate\Build\Win64\UE4Server\Inc\MPCDI\MPCDIBlueprintLib.generated.h, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Lumin\MagicLeapPassableWorld\Intermediate\Build\Win64\UE4Server\Development\MagicLeapARPin\Module.MagicLeapARPin.gen.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Lumin\MagicLeapPassableWorld\Intermediate\Build\Win64\UE4Server\Development\MagicLeapARPin\Module.MagicLeapARPin.gen.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Experimental\DigitalMultiplex\DMXEngine\Intermediate\Build\Win64\UE4Server\Inc\DMXRuntime\DMXComponent.generated.h to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Experimental\DigitalMultiplex\DMXEngine\Intermediate\Build\Win64\UE4Server\Inc\DMXRuntime\DMXComponent.generated.h, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Client\Development\AppFramework\Module.AppFramework.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Intermediate\Build\Win64\UE4Client\Development\AppFramework\Module.AppFramework.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Runtime\PhysXVehicles\Intermediate\Build\Win64\UE4Server\Development\PhysXVehicles\Module.PhysXVehicles.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Runtime\PhysXVehicles\Intermediate\Build\Win64\UE4Server\Development\PhysXVehicles\Module.PhysXVehicles.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Runtime\GameplayAbilities\Intermediate\Build\Win64\UE4Server\Inc\GameplayAbilities\GameplayAbilityBlueprint.generated.h to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Runtime\GameplayAbilities\Intermediate\Build\Win64\UE4Server\Inc\GameplayAbilities\GameplayAbilityBlueprint.generated.h, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Media\MediaIOFramework\Intermediate\Build\Win64\UE4Server\Development\MediaIOCore\Module.MediaIOCore.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Media\MediaIOFramework\Intermediate\Build\Win64\UE4Server\Development\MediaIOCore\Module.MediaIOCore.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Enterprise\DatasmithContent\Intermediate\Build\Win64\UE4Server\Inc\DatasmithContent\DatasmithAssetUserData.generated.h to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Enterprise\DatasmithContent\Intermediate\Build\Win64\UE4Server\Inc\DatasmithContent\DatasmithAssetUserData.generated.h, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Plugins\Runtime\GoogleVR\GoogleVRController\Intermediate\Build\Win64\UE4Server\Inc\GoogleVRController\GoogleVRControllerFunctionLibrary.generated.h to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Runtime\GoogleVR\GoogleVRController\Intermediate\Build\Win64\UE4Server\Inc\GoogleVRController\GoogleVRControllerFunctionLibrary.generated.h, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Server\Development\Landscape\Module.Landscape.gen.2_of_3.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Intermediate\Build\Win64\UE4Server\Development\Landscape\Module.Landscape.gen.2_of_3.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Client\Development\Engine\Module.Engine.33_of_47.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Intermediate\Build\Win64\UE4Client\Development\Engine\Module.Engine.33_of_47.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4\Shipping\Engine\Module.Engine.37_of_47.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Intermediate\Build\Win64\UE4\Shipping\Engine\Module.Engine.37_of_47.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Animation\LiveLink\Intermediate\Build\Win64\UE4Server\Development\LiveLinkMovieScene\Module.LiveLinkMovieScene.gen.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Animation\LiveLink\Intermediate\Build\Win64\UE4Server\Development\LiveLinkMovieScene\Module.LiveLinkMovieScene.gen.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Experimental\VirtualProductionUtilities\Intermediate\Build\Win64\UE4Client\Shipping\VPUtilities\Module.VPUtilities.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Experimental\VirtualProductionUtilities\Intermediate\Build\Win64\UE4Client\Shipping\VPUtilities\Module.VPUtilities.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Enterprise\VariantManagerContent\Intermediate\Build\Win64\UE4Server\Development\VariantManagerContent\Module.VariantManagerContent.gen.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Enterprise\VariantManagerContent\Intermediate\Build\Win64\UE4Server\Development\VariantManagerContent\Module.VariantManagerContent.gen.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Experimental\MeshModelingToolset\Intermediate\Build\Win64\UE4Server\Development\MeshModelingTools\Module.MeshModelingTools.gen.2_of_3.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Experimental\MeshModelingToolset\Intermediate\Build\Win64\UE4Server\Development\MeshModelingTools\Module.MeshModelingTools.gen.2_of_3.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Experimental\RawInput\Intermediate\Build\Win64\UE4Server\Inc\RawInput\RawInputFunctionLibrary.generated.h to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Experimental\RawInput\Intermediate\Build\Win64\UE4Server\Inc\RawInput\RawInputFunctionLibrary.generated.h, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Online\OnlineFramework\Intermediate\Build\Win64\UE4Server\Development\Party\Module.Party.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Online\OnlineFramework\Intermediate\Build\Win64\UE4Server\Development\Party\Module.Party.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Online\OnlineSubsystem\Intermediate\Build\Win64\UE4Server\Development\OnlineSubsystem\Module.OnlineSubsystem.gen.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Online\OnlineSubsystem\Intermediate\Build\Win64\UE4Server\Development\OnlineSubsystem\Module.OnlineSubsystem.gen.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Client\Shipping\MovieSceneCapture\Module.MovieSceneCapture.gen.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Intermediate\Build\Win64\UE4Client\Shipping\MovieSceneCapture\Module.MovieSceneCapture.gen.cpp.obj, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Lumin\MagicLeapContacts\Intermediate\Build\Win64\UE4Server\Inc\MagicLeapContacts\MagicLeapContactsComponent.generated.h to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Lumin\MagicLeapContacts\Intermediate\Build\Win64\UE4Server\Inc\MagicLeapContacts\MagicLeapContactsComponent.generated.h, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Server\Development\AudioCaptureCore\Module.AudioCaptureCore.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Intermediate\Build\Win64\UE4Server\Development\AudioCaptureCore\Module.AudioCaptureCore.cpp.obj, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Plugins\Runtime\AR\Microsoft\HoloLensAR\Intermediate\Build\Win64\UE4Server\Development\HoloLensAR\Module.HoloLensAR.gen.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Runtime\AR\Microsoft\HoloLensAR\Intermediate\Build\Win64\UE4Server\Development\HoloLensAR\Module.HoloLensAR.gen.cpp.obj, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Server\Development\GeometryCollectionEngine\Module.GeometryCollectionEngine.gen.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Intermediate\Build\Win64\UE4Server\Development\GeometryCollectionEngine\Module.GeometryCollectionEngine.gen.cpp.obj, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Plugins\Developer\TraceSourceFiltering\Intermediate\Build\Win64\UE4Server\Development\SourceFilteringTrace\Module.SourceFilteringTrace.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Developer\TraceSourceFiltering\Intermediate\Build\Win64\UE4Server\Development\SourceFilteringTrace\Module.SourceFilteringTrace.cpp.obj, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Plugins\Runtime\SignificanceManager\Intermediate\Build\Win64\UE4Server\Development\SignificanceManager\SignificanceManager.gen.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Runtime\SignificanceManager\Intermediate\Build\Win64\UE4Server\Development\SignificanceManager\SignificanceManager.gen.cpp.obj, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Plugins\Runtime\ResonanceAudio\Intermediate\Build\Win64\UE4Server\Development\ResonanceAudio\lockless_task_queue.cc.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Runtime\ResonanceAudio\Intermediate\Build\Win64\UE4Server\Development\ResonanceAudio\lockless_task_queue.cc.obj, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Plugins\Runtime\Steam\SteamSockets\Intermediate\Build\Win64\UE4Server\Inc\SteamSockets\SteamSocketsNetConnection.generated.h to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Runtime\Steam\SteamSockets\Intermediate\Build\Win64\UE4Server\Inc\SteamSockets\SteamSocketsNetConnection.generated.h, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Plugins\Media\AvfMedia\Intermediate\Build\Win64\UE4Server\Inc\AvfMediaFactory\AvfMediaSettings.generated.h to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Media\AvfMedia\Intermediate\Build\Win64\UE4Server\Inc\AvfMediaFactory\AvfMediaSettings.generated.h, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Plugins\Experimental\GeometryCollectionPlugin\Intermediate\Build\Win64\UE4Server\Development\GeometryCollectionTracks\Module.GeometryCollectionTracks.gen.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Experimental\GeometryCollectionPlugin\Intermediate\Build\Win64\UE4Server\Development\GeometryCollectionTracks\Module.GeometryCollectionTracks.gen.cpp.obj, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Plugins\Compositing\Composure\Intermediate\Build\Win64\UE4Server\Inc\Composure\CompositingElementInputs.generated.h to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Compositing\Composure\Intermediate\Build\Win64\UE4Server\Inc\Composure\CompositingElementInputs.generated.h, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Client\Shipping\Engine\Module.Engine.gen.34_of_65.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Intermediate\Build\Win64\UE4Client\Shipping\Engine\Module.Engine.gen.34_of_65.cpp.obj, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Client\Shipping\Chaos\PBDCollisionConstraints.ispc_sse2.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Intermediate\Build\Win64\UE4Client\Shipping\Chaos\PBDCollisionConstraints.ispc_sse2.obj, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Plugins\Experimental\GeometryCache\Intermediate\Build\Win64\UE4Client\Shipping\GeometryCache\Module.GeometryCache.gen.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Experimental\GeometryCache\Intermediate\Build\Win64\UE4Client\Shipping\GeometryCache\Module.GeometryCache.gen.cpp.obj, deleting, waiting 10s and retrying.
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
WARNING: SafeCopyFile Exception was Exception in mscorlib: There is not enough space on the disk.

         Stacktrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
            at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
            at AutomationTool.InternalUtils.SafeCopyFile(String SourceName, String TargetName, Boolean bQuiet, List`1 IniKeyBlacklist, List`1 IniSectionBlacklist)
Failed to copy C:\UnrealEngine\Engine\Plugins\Runtime\Oculus\OculusAudio\Intermediate\Build\Win64\UE4Server\Inc\OculusAudio\OculusAudioGeometryComponent.generated.h to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Runtime\Oculus\OculusAudio\Intermediate\Build\Win64\UE4Server\Inc\OculusAudio\OculusAudioGeometryComponent.generated.h, deleting, waiting 10s and retrying.
Failed to copy C:\UnrealEngine\Engine\Plugins\Runtime\MobilePatchingUtils\Intermediate\Build\Win64\UE4Client\Shipping\MobilePatchingUtils\Module.MobilePatchingUtils.gen.cpp.obj to C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Runtime\MobilePatchingUtils\Intermediate\Build\Win64\UE4Client\Shipping\MobilePatchingUtils\Module.MobilePatchingUtils.gen.cpp.obj, deleting, waiting 10s and retrying.
[ue4-docker build] [2020-09-16 16:44:33] [Available disk: 1.32 TiB] [Available memory: 15.06 GiB physical, 24.10 GiB virtual] [CPU usage: 4.80%]
There is not enough space on the disk.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
   at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
   at System.Diagnostics.TextWriterTraceListener.Flush()
   at Tools.DotNETCommon.Log.WriteLinePrivate(Int32 StackFramesToSkip, Boolean bWriteOnce, LogEventType Verbosity, LogFormatOptions FormatOptions, String Format, Object[] Args)
   at Tools.DotNETCommon.Log.TraceInformation(String Format, Object[] Args)
   at AutomationTool.Program.Main(String[] Arguments)
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, String[] args)
   at AutomationToolLauncher.Launcher.Main(String[] Arguments) in C:\UnrealEngine\Engine\Source\Programs\AutomationToolLauncher\Launcher.cs:line 29

Unhandled Exception: System.IO.IOException: There is not enough space on the disk.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.FileStream.FlushInternalBuffer()
   at System.IO.FileStream.Flush(Boolean flushToDisk)
   at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
   at System.IO.StreamWriter.Dispose(Boolean disposing)
   at System.IO.StreamWriter.Close()
   at System.Diagnostics.TextWriterTraceListener.Close()
   at System.Diagnostics.TraceInternal.Close()
   at System.Diagnostics.Trace.Close()
   at AutomationTool.Program.Domain_ProcessExit(Object sender, EventArgs e)

Unhandled Exception: System.IO.IOException: There is not enough space on the disk.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.FileStream.FlushWrite(Boolean calledFromFinalizer)
   at System.IO.FileStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at System.IO.StreamWriter.Dispose(Boolean disposing)
   at System.IO.StreamWriter.Close()
   at System.Diagnostics.TextWriterTraceListener.Close()
   at System.Diagnostics.TraceInternal.Close()
   at System.Diagnostics.Trace.Close()
   at AutomationTool.Program.Domain_ProcessExit(Object sender, EventArgs e)
BUILD FAILED
[ue4-docker build] [2020-09-16 16:44:53] [Available disk: 1.31 TiB] [Available memory: 18.75 GiB physical, 24.56 GiB virtual] [CPU usage: 12.40%]
[ue4-docker build] [2020-09-16 16:45:13] [Available disk: 1.31 TiB] [Available memory: 21.38 GiB physical, 25.10 GiB virtual] [CPU usage: 5.40%]
The command 'cmd /S /C .\Engine\Build\BatchFiles\RunUAT.bat BuildGraph -target="Make Installed Build Win64" -script=Engine/Build/InstalledEngineBuild.xml -set:HostPlatformOnly=true -set:WithDDC=%BUILD_DDC% &&        del /s /q C:\UnrealEngine\LocalBuilds\InstalledDDC 2>NUL &&     python C:\exclude-components.py C:\UnrealEngine\LocalBuilds\Engine\Windows %EXCLUDE_DEBUG% %EXCLUDE_TEMPLATES% && echo. && echo.RUN directive complete. Docker will now commit the filesystem layer to disk. && echo.Note that for large filesystem layers this can take quite some time. && echo.Performing filesystem layer commit... && echo.' returned a non-zero code: 193
[ue4-docker build] Error: failed to build image "adamrehn/ue4-minimal:4.25.3-ltsc2019".

Output of "docker images" if it's relevant

PS C:\Users\Administrator> docker images
REPOSITORY                               TAG                              IMAGE ID            CREATED             SIZE
<none>                                   <none>                           144b6dba91b0        5 hours ago         77.7GB
adamrehn/ue4-engine                      4.25.3                           80ca2f4304a2        2 days ago          141GB
adamrehn/ue4-engine                      4.25.3-ltsc2019                  80ca2f4304a2        2 days ago          141GB
adamrehn/ue4-source                      4.25.3                           03fecffaaccf        2 days ago          77.7GB
adamrehn/ue4-source                      4.25.3-ltsc2019                  03fecffaaccf        2 days ago          77.7GB
adamrehn/ue4-build-prerequisites         ltsc2019                         b40777654313        2 months ago        25.7GB
mcr.microsoft.com/dotnet/framework/sdk   4.8-windowsservercore-ltsc2019   be6035551084        2 months ago        10.2GB
mcr.microsoft.com/windows/servercore     ltsc2019                         987b1d5e0abf        2 months ago        4.99GB
@arisona
Copy link

arisona commented Sep 24, 2020

Exactly same issue. Tried increasing maximum image size to 400G, did not help.

Any resolution to this?

@TBBle
Copy link
Collaborator

TBBle commented Sep 27, 2020

Docker Engine 19.03.6 upgraded a library in order to fix a problem on Windows 1903/1909, but that shouldn't be the problem here, and I can't see anything else relevant in the release notes.

Nonetheless, I'd suggest upgrading your Docker EE install to the latest version (should be 19.03.13) and trying again.

The only other thing I'd suggest is making sure that the drive with the container images has sufficient free space, in case it's not the same drive ue4-docker is monitoring with --monitor.

And to be absolutely sure that we do have sufficient disk space in the container, try running:

docker run --rm 144b6dba91b0 powershell Get-PSDrive C

to make sure that the container is seeing the image size setting correctly.

@jordirovira
Copy link

jordirovira commented Oct 9, 2020

I am seeing the same problem. My Docker engine is v19.03.13. This is the relevant snippet:

Step 21/27 : COPY --from=builder C:\UnrealEngine\LocalBuilds\Engine\Windows C:\UnrealEngine
failed to copy files: failed to copy directory: write \\?\Volume{894db269-a7a8-470b-b019-5c7efe07d4eb}\UnrealEngine\Engine\Plugins\Animation\LiveLink\Binaries\Win64\UE4Editor-LiveLinkMovieScene.pdb: There is not enough space on the disk.
[ue4-docker build] Error: failed to build image "adamrehn/ue4-minimal:4.25.3-2004".

c:\>docker images
REPOSITORY                               TAG                              IMAGE ID            CREATED             SIZE
<none>                                   <none>                           03fa6e3abd78        11 minutes ago      262GB
adamrehn/ue4-source                      4.25.3                           750eb90ec4a1        3 hours ago         74.9GB
adamrehn/ue4-source                      4.25.3-2004                      750eb90ec4a1        3 hours ago         74.9GB
adamrehn/ue4-build-prerequisites         2004                             6755612e79db        4 hours ago         22.9GB
<... edited>

c:\>docker run --rm 03fa6e3abd78  powershell Get-PSDrive C

Name           Used (GB)     Free (GB) Provider      Root
----           ---------     --------- --------      ----
C                   0.09        599.78 FileSystem    C:\

My volume size is configured at 600 and there is free space in the hard disk. Any ideas welcomed!

@TBBle
Copy link
Collaborator

TBBle commented Oct 9, 2020

@jordirovira That looks like a different issue.

Try your build again with --exclude debug, and if that fixes it, you've hit #44, not this issue.

@jordirovira
Copy link

@jordirovira That looks like a different issue.

Try your build again with --exclude debug, and if that fixes it, you've hit #44, not this issue.

You are right, that fixed it. Thanks! I'll follow that issue to look for more information.

@Agendum
Copy link

Agendum commented Oct 26, 2020

I am running into the exact same issue as @jordirovira:

Removing intermediate container b64ce29133d9
 ---> 778a8a708c59
Step 20/27 : FROM adamrehn/ue4-build-prerequisites:${PREREQS_TAG}
 ---> 1b68421cedbf
Step 21/27 : COPY --from=builder C:\UnrealEngine\LocalBuilds\Engine\Windows C:\UnrealEngine
failed to copy files: failed to copy directory: write \\?\Volume{6cf1b633-45e2-4bc0-ac97-bec90dcce910}\UnrealEngine\Engine\Plugins\Animation\LiveLink\Binaries\Win64\UE4Editor-LiveLinkMovieScene.pdb: There is not enough space on the disk.
[ue4-docker build] Error: failed to build image "adamrehn/ue4-minimal:4.25.3-2004".

C:\>docker images
REPOSITORY                               TAG                          IMAGE ID       CREATED        SIZE
<none>                                   <none>                       778a8a708c59   3 hours ago    262GB
adamrehn/ue4-source                      4.25.3                       cb1893b5afbc   17 hours ago   74.9GB
adamrehn/ue4-source                      4.25.3-2004                  cb1893b5afbc   17 hours ago   74.9GB
adamrehn/ue4-build-prerequisites         2004                         1b68421cedbf   20 hours ago   23GB
<none>                                   <none>                       75d9cdddab44   21 hours ago   8.86GB
mcr.microsoft.com/dotnet/framework/sdk   4.8-windowsservercore-2004   e5740366c4e7   12 days ago    7.51GB
mcr.microsoft.com/windows/servercore     2004                         598ddb28e076   2 weeks ago    4.23GB

C:\>docker run --rm 778a8a708c59 powershell Get-PSDrive C

Name           Used (GB)     Free (GB) Provider      Root
----           ---------     --------- --------      ----
C                   0.11        599.76 FileSystem    C:\

But I have upgraded to the 'Edge' version of docker, which includes the fix for the 8gig issue:

C:\>docker version
Client: Docker Engine - Community
 Cloud integration: 0.1.22
 Version:           20.10.0-beta1
 API version:       1.41
 Go version:        go1.13.15
 Git commit:        ac365d7
 Built:             Tue Oct 13 18:13:24 2020
 OS/Arch:           windows/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.0-beta1
  API version:      1.41 (minimum version 1.24)
  Go version:       go1.13.15
  Git commit:       9c15e82
  Built:            Tue Oct 13 18:17:06 2020
  OS/Arch:          windows/amd64
  Experimental:     false

C:\>ue4-docker diagnostics 8gig
[ue4-docker diagnostics] Running diagnostic: "Check for Docker 8GiB filesystem layer bug"
[ue4-docker diagnostics] [8gig] Attempting to build an image with an 8GiB filesystem layer...
[ue4-docker diagnostics] [8gig] Run: ['docker', 'build', '-t', 'adamrehn/ue4-docker/diagnostics:8gig', 'c:\\python39\\lib\\site-packages\\ue4docker\\dockerfiles\\diagnostics\\8gig\\windows', '--build-arg', 'BASETAG=2004', '--isolation=hyperv', '-m', '4GiB']
Sending build context to Docker daemon   2.56kB
Step 1/5 : ARG BASETAG
Step 2/5 : FROM mcr.microsoft.com/windows/servercore:${BASETAG}
 ---> 598ddb28e076
Step 3/5 : SHELL ["cmd", "/S", "/C"]
 ---> Running in bc59b003eabb
Removing intermediate container bc59b003eabb
 ---> af04fa999a47
Step 4/5 : LABEL com.adamrehn.ue4-docker.sentinel="1"
 ---> Running in e2df961a73bc
Removing intermediate container e2df961a73bc
 ---> badeee4c97f9
Step 5/5 : RUN powershell "     $ErrorActionPreference = 'Stop';        $writer = [System.IO.File]::OpenWrite('file');          $random = new-object Random;    $blockSize = 1073741824;        $bytes = new-object byte[] $blockSize;  for ($i=0; $i -lt 8; $i++)      {               $random.NextBytes($bytes);              $writer.Write($bytes, 0, $blockSize);   }               $writer.Close();       "
 ---> Running in e32215ed788f
Removing intermediate container e32215ed788f
 ---> 4423d457ed0c
Successfully built 4423d457ed0c
Successfully tagged adamrehn/ue4-docker/diagnostics:8gig
[ue4-docker diagnostics] [8gig] Cleaning up...
[ue4-docker diagnostics] [8gig] Run: ['docker', 'rmi', 'adamrehn/ue4-docker/diagnostics:8gig']
Untagged: adamrehn/ue4-docker/diagnostics:8gig
Deleted: sha256:4423d457ed0cb612c3d32de84fd39f2559f43ee6463c364a05b721df85a1db70
Deleted: sha256:7b72fdb7764bdb3e076d23346283f83f53bf7ab796f01c4c839d659c16fcc92f
Deleted: sha256:badeee4c97f9aec73a49ed19437518558584849a3c7bb9de0a3108ee23dc2973
Deleted: sha256:89eca8a5bbf6225ac290322f3ba630a9127948bd887c9b0c2ea8d4c4ec5a87f5
Deleted: sha256:af04fa999a474682defbc0ee89e6615c9727f7e7f18725715f92ff986a8640e0
Deleted: sha256:cc2027359050cfbe84a2c9434991118252cf9697b194dc41a64671b08ab552a3
[ue4-docker diagnostics] [8gig] Run: ['docker', 'system', 'prune', '-f']
Deleted Networks:
Default Switch

Deleted Images:
deleted: sha256:e52b1f69382b04075d5318c473b104773cdf6822577948a6b5699ad0f44bc687
deleted: sha256:eeab9259cc7d4cc7d60ee2a83dce93fd7513a317a61556763f1ee101749e62c1
deleted: sha256:7abbd5a7a88115f6ed3093224cc66a13810945167cbb852d1ee609c82bc55b2c
deleted: sha256:8b0bfca348a7e2f02b7d02e63b80e092f60dfd299b272ab4b63a81158e5c3c19
deleted: sha256:511286ce090e47d0590e370ba55b8612bf67c54569f19390701ae4c98d4256b0
deleted: sha256:e09dc09c05df1a75f2a1e4f1911c66d17b6035e4242209cf1ab88372ed223d04
deleted: sha256:712d271974cc3b4a797a3c6159c4af9f7ee7a90c2b03b4116366b687bc1ca0f4
deleted: sha256:68688ba3ca83d7889b727af048dbfdc23aefd9d7174a36eca640a1adfba4e2f0
deleted: sha256:0dc7be90cab6c5050685ea352a29cc7e6aedb2848cc31853b8fe5b48bd603b5a
deleted: sha256:487dbdc9c4981d5faeda6dd0942a7b358df13583244c50ea586d1e789f402216
deleted: sha256:6a9917e3b216141b8c624248edab25ecbbeb92bbe9b3d3673f2381e5948c8cbe
deleted: sha256:3f40f3ccf29925823e95b3868a229d1609a5d03fbdedf262a4e3e9b340ce80ff
deleted: sha256:ca30320d8826c6e888d91139cd88895e95c4517293a35996bc933007217a488a
deleted: sha256:94957735ae829e01dc751383cef5cb8e2472cc23cd6e0d0b3f67fe7a81d14e09
deleted: sha256:fca031afe0ba61550d638bdbc00d1260bee5617265f4a6da021163e89ccdd1e7
deleted: sha256:cfbb84ff778000c0b2c0556131dc2f53ad5b1c7806d1c921c1ee70b357ff7eec
deleted: sha256:cf5641db6b09f6779ad8d911783617950fd5938ad97c8dba7dfadd9b93d614b8
deleted: sha256:0126c68deab7ab4f4f65e1c4b0b3650a34c775d5d51854a67b954df7525c8dac
deleted: sha256:456bdbe70b75b122f8247bf44c497a064c868b2189aacfca888ebd76a129aa23
deleted: sha256:c06afc434d0dadc49a1e7ab0e6e5908b70fac33757aa49bf8e5c37b02c9c9692
deleted: sha256:1e046e633bfe4151aff4936d1e2c2edb01086675a0e1d7081125d228956b60ee
deleted: sha256:1747a74e30cc6ff3c40ba0ce53424127363f3296a3cef0c8858212025478230f
deleted: sha256:7fb6b4f0dede34229cb442ee7a4588bf0c05fbf40ee27459b70ff08ca92b3a0f
deleted: sha256:abaffc69197953a348ce8c334065f47dabc7ca3142ceb98a5861c99bbc6a8a19
deleted: sha256:ef0c85f47b84bbc131989a010e6c5c5ba303644a5369e64dec01743d64e0ecb8
deleted: sha256:964c07d2485a54276bdac3a1a755744a43e140e78a70822b8cd977c8eb9e4e94
deleted: sha256:13a5db5a0e6621290595c412b989393074bb094fbfed2cf91e863d3d02e742ad
deleted: sha256:a03db6d43866525ecfce7778711313a898abacc5a5056271d7948cf5cfcbaf8a
deleted: sha256:6dc98acefd2a94a5b48fd9b438dcb5badacfc66f199d00304ee0a2df6a6cbbb1
deleted: sha256:95b1522a64754c13afe873da72d9e881a7abdad2c27862828125ae742b44dd67

Total reclaimed space: 187.1GB

[ue4-docker diagnostics] [8gig] Diagnostic succeeded! The Docker daemon can build images with 8GiB filesystem layers.

[ue4-docker diagnostics] Diagnostic result: passed

I have plenty of disk space, and my config is set to 600GB image sizes as well:

C:\>ue4-docker info
ue4-docker version:         0.0.71 (latest available version is 0.0.71)
Operating system:           Windows 10 Enterprise Version 2004 (OS Build 19041.572)
Docker daemon version:      20.10.0-beta1
NVIDIA Docker supported:    No
Maximum image size:         600GB
Available disk space:       1.37 TiB
Total system memory:        31.91 GiB physical, 36.66 GiB virtual
Number of processors:       6 physical, 12 logical

I am just trying to run a ue4-docker build 4.25.3 --no-engine. Now it is true that if I also provide --exclude debug I can get the build working as well. However this is not sufficient for me because as soon as I do a ue4 package in the container it fails because it complains it cannot load a symbol. Here is what that error looks like:

********** BUILD COMMAND STARTED **********
Running: C:\UnrealEngine\Engine\Binaries\DotNET\UnrealBuildTool.exe FooEditor Win64 Development -Project=C:\tmp\project\Foo.uproject  C:\tmp\project\Foo.uproject -NoUBTMakefiles  -Manifest=C:\tmp\project\Intermediate\Build\Manifest.xml -NoHotReload -log="C:\Users\ContainerAdministrator\AppData\Roaming\Unreal Engine\AutomationTool\Logs\Foo\FooEditor-Win64-Development.txt"
  Using 'git status' to determine working set for adaptive non-unity build (C:\tmp\project).
  While compiling C:\UnrealEngine\Engine\Intermediate\Build\BuildRules\UE4Rules.dll:
  error CS0042: Unexpected error creating debug information file 'c:\UnrealEngine\Engine\Intermediate\Build\BuildRules\UE4Rules.PDB' -- 'Unspecified error '
  ERROR: Unable to compile source files.
Took 15.38956s to run UnrealBuildTool.exe, ExitCode=6
UnrealBuildTool failed. See log for more details. (C:\Users\ContainerAdministrator\AppData\Roaming\Unreal Engine\AutomationTool\Logs\Foo\FooEditor-Win64-Development.txt)
AutomationTool exiting with ExitCode=6 (6)
BUILD FAILED
Using user-specified engine root: C:\UnrealEngine
Traceback (most recent call last):
  File "c:\python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Python37\Scripts\ue4.exe\__main__.py", line 9, in <module>
  File "c:\python37\lib\site-packages\ue4cli\cli.py", line 216, in main
    SUPPORTED_COMMANDS[command]['action'](manager, args)
  File "c:\python37\lib\site-packages\ue4cli\cli.py", line 88, in <lambda>
    'action': lambda m, args: m.packageDescriptor(os.getcwd(), args),
  File "c:\python37\lib\site-packages\ue4cli\UnrealManagerBase.py", line 444, in packageDescriptor
    self.packageProject(dir, args[0] if len(args) > 0 else 'Shipping', args[1:])
  File "c:\python37\lib\site-packages\ue4cli\UnrealManagerBase.py", line 419, in packageProject
    ] + extraArgs)
  File "c:\python37\lib\site-packages\ue4cli\UnrealManagerBase.py", line 363, in runUAT
    Utility.run([self.getRunUATScript()] + args, cwd=self.getEngineRoot(), raiseOnError=True)
  File "c:\python37\lib\site-packages\ue4cli\Utility.py", line 145, in run
    raise Exception('child process ' + str(command) + ' failed with exit code ' + str(returncode))
Exception: child process ['C:\\UnrealEngine\\Engine\\Build\\BatchFiles\\RunUAT.bat', 'BuildCookRun', '-utf8output', '-clientconfig=Shipping', '-serverconfig=Shipping', '-project=C:\\tmp\\project\\Foo.uproject', '-noP4', '-cook', '-build', '-stage', '-prereqs', '-pak', '-archive', '-archivedirectory=C:\\tmp\\project\\dist', '-platform=Win64', '-nodebuginfo', '-allmaps'] failed with exit code 6
The command 'cmd /S /C ue4 package' returned a non-zero code: 1

If I inspect it appears the UE4Rules.pdb file is 0 bytes. This tells me I must not provide --exclude debug for a CI/CD environment.

So now I am stuck. Is anybody else able to get ue4-docker to work right now? What solutions have you done to work around this?

Thanks

@TBBle
Copy link
Collaborator

TBBle commented Oct 27, 2020

@Agendum same as jordirovira, that looks like a different issue.

That issue is #44, not this issue, and there's a fix already in upstream Docker, pending the next major Docker Engine release.

That said, I'm using --exclude debug and ue4 package without issues, (although on 4.24) and don't see the problem you're seeing, so you might want to open a new issue for that problem, as it might be something you're doing that I'm not, or it might be a change in UE4 4.25 that ue4-docker needs to handle, perhaps by deleting the PDBs rather than zero-sizing them.

@Agendum
Copy link

Agendum commented Oct 27, 2020

Thanks @TBBle. I wish it was issue #44. In my post I showed I am using the 'Edge' version of Docker which includes the fix for #44, as well as the output of ue4-docker diagnostics 8gig which succeeds.

Unfortunately on Unreal Engine 4.25.3 it fails when trying to access UE4Rules.PDB no matter what I try. Why was it decided for ue4-docker to truncate symbol files instead of delete them? I wonder if this is something I can modify in my local ue4-docker install?

@jforand you created this thread for 4.25.3 and said --exclude debug solved your problem. But have you tried a ue4 package on the output image? Also, @arisona were you able to work around this?

Thanks

@TBBle
Copy link
Collaborator

TBBle commented Oct 27, 2020

Ah, sorry, I hadn't noticed that 20.10.0 beta1 included my fix.

Also, having a closer look, I have misdiagnosed both yours and jordirovira's problem as #44, but they are not: They are both failing with the COPY command, while #44 is a failure after the (previous) layer is created, when trying to write it out. Different problem to jforand, who is seeing a failure from inside the Windows environment.

I wonder if this is a different 8gig bug in Docker Engine, that the COPY command is checking for free disk space, but miscalculating due to the size of the file, and hence rejecting the copy.

I'll try and create a reproduction case for this today (adding it to the 8gig test-case) and if so, see if we can get it fixed upstream in time for the 20.10 Docker Engine release.

@TBBle
Copy link
Collaborator

TBBle commented Oct 27, 2020

Oh, as far as truncating the PDB files instead of deleting them, I am assuming this is because the UE4 BuildGraph system will try to copy them or check for updatedness or something, and fail if the files are not present. But I'm not sure about that, @adamrehn probably can explain that choice.

@TBBle
Copy link
Collaborator

TBBle commented Oct 28, 2020

A trivial attempt to reproduce the new issue didn't trigger it on my Windows 10 2004 desktop machine.

I basically replaced the Dockerfile for the 8gig diagnostics test on Windows with:

# escape=`
ARG BASETAG
FROM mcr.microsoft.com/windows/servercore:${BASETAG} AS builder
SHELL ["cmd", "/S", "/C"]

# Add a sentinel label so we can easily identify intermediate images
LABEL com.adamrehn.ue4-docker.sentinel="1"

# Write an 8GiB sparse file
RUN powershell "fsutil.exe file createnew file 8589934592"

# Start a new target
FROM mcr.microsoft.com/windows/servercore:${BASETAG}
SHELL ["cmd", "/S", "/C"]

# Add a sentinel label so we can easily identify intermediate images
LABEL com.adamrehn.ue4-docker.sentinel="1"

# Copy the 8GiB file from the builder
COPY --from=builder C:\file C:\file

and ran the test: ue4-docker diagnostics 8gig --isolation hyperv -basetag 2004

PS> ue4-docker info
ue4-docker version:         0.0.71 (latest available version is 0.0.71)
Operating system:           Windows 10 Enterprise Version 2004 (OS Build 19041.508)
Docker daemon version:      20.10.0-beta1
NVIDIA Docker supported:    No
Maximum image size:         20GB
Available disk space:       458.54 GiB
Total system memory:        31.96 GiB physical, 63.96 GiB virtual
Number of processors:       4 physical, 8 logical

So more investigation is needed.

@Agendum
Copy link

Agendum commented Oct 28, 2020

Thanks @TBBle, have you been able to reproduce the bug with ue4-docker build 4.25.3 --no-engine? I notice you only have 460GiB available, and I am not sure that will be enough for a build to work end-to-end. I haven't been able to get the 8gig test to fail either, but I haven't been making any modifications.

I am going to try again using Windows 10 2009.

@TBBle
Copy link
Collaborator

TBBle commented Oct 28, 2020

Yeah, right now the only machine I have with sufficient space to try and reproduce your problem is the UE4 Windows build node in our CI cluster, which I don't want to upgrade to the beta Docker Engine release, even if it has been published to the Microsoft Docker Provider.

I'll try and free-up some space, or perhaps get hold of another (disposable) build node, but I can't promise fast turnaround as this is a background task for me.

@Agendum
Copy link

Agendum commented Oct 29, 2020

I updated WindowsUtils.py so that _validTags includes '2009' and also changed getReleaseBaseTag to support '2009'. I ran ue4-docker build 4.25.3 --no-engine -basetag 2009 and I get the same result:

Removing intermediate container cbe8b03d68a8
 ---> 0c8c5684cbab
Step 20/27 : FROM adamrehn/ue4-build-prerequisites:${PREREQS_TAG}
 ---> bf328df68a15
Step 21/27 : COPY --from=builder C:\UnrealEngine\LocalBuilds\Engine\Windows C:\UnrealEngine
failed to copy files: failed to copy directory: write \\?\Volume{249d82a9-c47d-4520-b79a-1719ae9e50a6}\UnrealEngine\Engine\Plugins\Animation\LiveLink\Binaries\Win64\UE4Editor-LiveLinkMovieScene.pdb: There is not enough space on the disk.
[ue4-docker build] Error: failed to build image "adamrehn/ue4-minimal:4.25.3-2009".

I can only conclude that is another bug in Docker's COPY statement which means it is not possible right now to make a CICD image for Unreal 4.25.3...

I wonder if I delete PDBs under UnrealEngine\Engine\Plugins\Animation\LiveLink** before the COPY if it would work.

@TBBle
Copy link
Collaborator

TBBle commented Oct 30, 2020

It's odd because COPY in Docker ought to just be mounting the filesystem and then copying files in. However, the log suggests that it's not mounting the filesystem, but just copying directly to the Volume (\\?\Volume{249d82a9-c47d-4520-b79a-1719ae9e50a6}).

We're clearly in copyDirectory but I don't know which of the two implementations (a or b) of copyWithTar we're in, but I assume either way we hit io.Copy in createTarFile.

So there's nothing in Docker that's check the disk space, so the failure must be coming from io.Copy, unless I'm missing something.

I'm going to see if the problem reproduces on my desktop machine over the weekend. but as has been noted, I don't actually have 600GB of free space on that machine, so I may hit problems related to that before I reproduce this issue. Hopefully I can free up some space before that happens, or it reproduces before consuming all that space.

@Agendum
Copy link

Agendum commented Oct 31, 2020

In the Dockerfile I added this line:

# Added this DEL line here...
RUN del /S /F /Q C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Animation\LiveLink\*.pdb

# Copy the Installed Build into a clean image, discarding the source tree
FROM adamrehn/ue4-build-prerequisites:${PREREQS_TAG}
COPY --from=builder C:\UnrealEngine\LocalBuilds\Engine\Windows C:\UnrealEngine

But that failed with:

 ---> 18160aba11a2
Step 22/29 : FROM adamrehn/ue4-build-prerequisites:${PREREQS_TAG}
 ---> 86f90702dbb5
Step 23/29 : COPY --from=builder C:\UnrealEngine\LocalBuilds\Engine\Windows C:\UnrealEngine
failed to copy files: failed to copy directory: write \\?\Volume{df6a39ab-1af7-40cf-8a13-05d065174a62}\UnrealEngine\Engine\Plugins\Cameras\CameraShakePreviewer\Binaries\Win64\UE4Editor-CameraShakePreviewer.pdb: There is not enough space on the disk.
[ue4-docker build] Error: failed to build image "adamrehn/ue4-minimal:4.25.3-2009".

So I changed the delete line to be:

RUN del /S /F /Q C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\*.pdb

And this one failed with:

 ---> 5c9542ce5c8e
Step 21/28 : FROM adamrehn/ue4-build-prerequisites:${PREREQS_TAG}
 ---> 5ba30e193a7a
Step 22/28 : COPY --from=builder C:\UnrealEngine\LocalBuilds\Engine\Windows C:\UnrealEngine
failed to copy files: failed to copy directory: write \\?\Volume{a64471f7-a991-4919-ac14-3bd802ff261c}\UnrealEngine\Engine\Plugins\Experimental\AlembicImporter\Source\ThirdParty\Alembic\AlembicDeploy\Mac\lib\hdf5.a: There is not enough space on the disk.
[ue4-docker build] Error: failed to build image "adamrehn/ue4-minimal:4.25.3-2009".

This one makes me more suspicious. Would hdf5.a really be so large?

C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Experimental\AlembicImporter\Source\ThirdParty\Alembic\AlembicDeploy\Mac\lib>dir hdf5.a
 Volume in drive C has no label.
 Volume Serial Number is CA51-87A2

 Directory of C:\UnrealEngine\LocalBuilds\Engine\Windows\Engine\Plugins\Experimental\AlembicImporter\Source\ThirdParty\Alembic\AlembicDeploy\Mac\lib

10/30/2020  02:16 PM         4,256,488 hdf5.a
               1 File(s)      4,256,488 bytes
               0 Dir(s)  643,957,006,336 bytes free

The file is only about 4MB.

Also, I went to get the size of the whole directory being copied:

C:\UnrealEngine\LocalBuilds\Engine\Windows>dir /s
...
     Total Files Listed:
           163173 File(s) 29,792,699,643 bytes
           78701 Dir(s)  643,922,984,960 bytes free

The total amount of content being copied over is 27.75GB.

To isolate the problem down I created this Dockerfile:

# escape=`
FROM 5c9542ce5c8e AS builder
FROM adamrehn/ue4-build-prerequisites:2009
RUN dir C:
COPY --from=builder C:\UnrealEngine\LocalBuilds\Engine\Windows C:\UnrealEngine

The output is:

C:\deletethis>docker build -t deletethis:1 .
Sending build context to Docker daemon  5.632kB
Step 1/4 : FROM 5c9542ce5c8e AS builder
 ---> 5c9542ce5c8e
Step 2/4 : FROM adamrehn/ue4-build-prerequisites:2009
 ---> 5ba30e193a7a
Step 3/4 : RUN dir C:
 ---> Running in 6a2a74dc6ade
 Volume in drive C has no label.
 Volume Serial Number is CA51-87A2

 Directory of C:\

10/30/2020  12:38 PM    <DIR>          BuildTools
10/18/2020  08:33 PM               186 buildtools-exitcode.py
10/18/2020  08:33 PM               655 copy-pdbcopy.py
10/18/2020  08:33 PM               693 copy.py
10/18/2020  08:33 PM             2,098 install-prerequisites.bat
09/10/2020  01:34 PM             5,510 License.txt
10/30/2020  12:18 PM    <DIR>          Program Files
10/30/2020  12:38 PM    <DIR>          Program Files (x86)
10/30/2020  12:13 PM    <DIR>          Python37
10/08/2020  08:30 PM    <DIR>          Users
10/31/2020  11:58 AM    <DIR>          Windows
               5 File(s)          9,142 bytes
               6 Dir(s)  644,045,045,760 bytes free
Removing intermediate container 6a2a74dc6ade
 ---> 5e0b06fa687e
Step 4/4 : COPY --from=builder C:\UnrealEngine\LocalBuilds\Engine\Windows C:\UnrealEngine
failed to copy files: failed to copy directory: write \\?\Volume{e715ca0a-51d7-446b-a7ef-aa2a2dfffd3d}\UnrealEngine\Engine\Plugins\Experimental\AlembicImporter\Source\ThirdParty\Alembic\AlembicDeploy\Mac\lib\hdf5.a: There is not enough space on the disk.

So there is 599.8GB available, and it is trying to copy over a total of 27.75GB but it fails with out of space.

My docker configuration is:

{
  "storage-opts": [
    "size=600GB"
  ],
  "graph": "D:\\images",
  "registry-mirrors": [],
  "insecure-registries": [],
  "debug": false,
  "experimental": false
}

And...

C:\>dir D:
...
              10 File(s)     48,117,236 bytes
              29 Dir(s)  1,345,360,629,760 bytes free

Over 1.22TB available on the physical disk.

It feels like there is a bug here in Docker's COPY. Any idea what else I can do to narrow this down?

Thanks

@TBBle
Copy link
Collaborator

TBBle commented Nov 1, 2020

How much space do you have free on your C: drive? I haven't looked through Docker, but containerd (really hcsshim) ends up with things in %TEMP% during various operations on Windows containers, and Docker might be hitting the same codepath in hcsshim, since COPY seems to work on tarstreams.

Another possibility is that the way COPY is implemented doesn't honour storage-opts, and is operating on the destination as if it's a 20gB volume. If you delete some more things from the image, try and get the copied data down below 20gB (the default sandbox size) and if that passes, then this might be the culprit. (It might need to be even smaller, because it's copying to a volume that already contains ue4-build-prerequisits, so if it doesn't fix it at <20gB, try deleting more so it's <10gB)

One thing I'll note is that microsoft/hcsshim#718 (which worked around a Windows issue with non-default sandbox size) does not apply to Windows 2004 onwards. So if there's still (or another) sandbox-resizing bug around, we might be stumbling over that.

My desktop machine is still building the image for me to repro this locally (it takes days...), so I can't test this myself right now.

You could also perhaps narrow it down by using docker cp to copy the relevant data out of a running copy of 5c9542ce5c8e; then run a copy of ue4-build-prerequisites and use docker cp to copy the data into that container. docker cp into a container shares some code-path with COPY, (they both should hit Unpack) but I expected that docker cp against a container will work because it's running in a sandbox, like RUN, which we know works correctly now.

And for an even-more-hassle test, if you downgraded Docker to 19.03, and try your isolation-test Dockefile, then it will either fail the same way (which means the COPY issue isn't 20.10-specific) or get past that and fail with the "hcsshim::ImportLayer" error from #44, in which case this is a new issue in 20.10.

@Agendum
Copy link

Agendum commented Nov 3, 2020

Thanks @TBBle. My C: drive has about 160GB of free space. I ran docker build while closing monitoring the free space and it was hardly affected at all. This tells me if things are copying to %TEMP% it isn't very much. But I am suspicious about this being the issue anyway because the failure is consistently on file hdf5.a (or UE4Editor-CameraShakePreviewer.pdb if I don't delete PDBs). If it was the available spaces on my physical drive it would fluctuate each time, especially on smaller files like hdf5.a.

I tried doing a docker cp but it doesn't look like that is an option...

D:\>docker cp great_beaver:C:\UnrealEngine\LocalBuilds\Engine\Windows D:\dockercptest
Error response from daemon: filesystem operations against a running Hyper-V container are not supported

D:\>docker cp great_beaver:c:/UnrealEngine/LocalBuilds/Engine/Windows d:/dockercptest
Error response from daemon: filesystem operations against a running Hyper-V container are not supported

So the only thing I could think of was to mount it and copy files over...

D:\>docker container run --rm -t -i --mount type=bind,source="D:/dockercptest",target="C:/dockercptest" 5c9542ce5c8e
...
C:\>xcopy C:\UnrealEngine\LocalBuilds\Engine\Windows C:\dockercptest /E /H /K /Y
...
163173 File(s) copied

C:\>exit

D:\>docker container run --rm -t -i --mount type=bind,source="D:/dockercptest",target="C:/dockercptest" adamrehn/ue4-build-prerequisites:2009
...
C:\>mkdir C:\UnrealEngine

C:\>xcopy C:\dockercptest C:\UnrealEngine /E /H /K /Y
...
163173 File(s) copied

Files were copied just fine. But this likely doesn't test the code path you are thinking about.

@TBBle
Copy link
Collaborator

TBBle commented Nov 4, 2020

Yeah, copying through a volume mount won't hit the codepath I'm suspicious of, it's specifically COPY and docker cp that work by streaming the data from container to container (or OS to container/container to OS) as a tar stream.

Am I correct in understanding from the error you got on docker cp that you're running the containers with HyperV isolation?

I also read back again, and noticed that @jordirovira was seeing the same issue (with COPY) with Docker 19.03.13, which is odd because #44 should have caused that the fail earlier: 19.03.13 definitely contains the code that fails importing layers, i.e. writing out layers after RUN, if they contain files larger than 8gB.

I'm currently watching the COPY command run to see if it fails or not, so I should know if this reproduces locally soonish... Yup, repro'd for me too. So now I can experiment locally.

Fun!

For reference, the command I used to repro was

ue4-docker build 4.25.3 --no-engine -basetag 2004 -isolation hyperv

And I did need to have 600gB of disk space free, as my attempt with 530gB free ran out of space archiving the big layer in step 16. >_<

Also, if playing along at home, it seems HyperV isolation locks up the build as there's a busy-wait in UE4 where the shader compile worker gets starved of CPU due to only having two cores under Hyper-V. Working out why process isolation isn't working for me is a separate thing I need to get to. >_<

@TBBle
Copy link
Collaborator

TBBle commented Nov 5, 2020

I'm finally starting on debugging this. The debug-level logs from the dockerd are:

time="2020-11-05T14:36:03.880131400+11:00" level=debug msg="Calling proc (1)" spanID=b22bbd259eee01cc traceID=cd68865140909ecf800bfcf6b66b27ae
time="2020-11-05T14:36:03.880131400+11:00" level=debug msg="Calling proc (2)" spanID=b22bbd259eee01cc traceID=cd68865140909ecf800bfcf6b66b27ae
time="2020-11-05T14:36:03.899727600+11:00" level=debug msg="WindowsGraphDriver Get() id 019d642cabfc11f6b26056832413045cc892221ff415d05033fd931f71ed2bdb mountLabel "
time="2020-11-05T14:36:04.003092400+11:00" level=debug msg="Calling proc (1)" spanID=d2334c0bea01de51 traceID=c23d6d832b458a18f7d22d29fba70a84
time="2020-11-05T14:36:04.005094700+11:00" level=debug msg="Calling proc (2)" spanID=d2334c0bea01de51 traceID=c23d6d832b458a18f7d22d29fba70a84
time="2020-11-05T14:47:21.407506800+11:00" level=debug msg="[BUILDER] Cache miss: [cmd /S /C #(nop) COPY dir:05affa95ae1d1a285d7fb7822dd7c3830409e33191e18d271d6855c8f8e35547 in C:\\UnrealEngine ]"
time="2020-11-05T14:47:21.408508800+11:00" level=debug msg="Calling proc (1)" spanID=49d7e4180022c024 traceID=c07feabe395b97129daa4f8ffda7eb35
time="2020-11-05T14:47:21.408508800+11:00" level=debug msg="Calling proc (2)" spanID=49d7e4180022c024 traceID=c07feabe395b97129daa4f8ffda7eb35
time="2020-11-05T14:47:21.432450500+11:00" level=debug msg="WindowsGraphDriver Get() id 35dd522dfc48d1e84b3d2746f2327abcd5885bd365c6385d98370d98d93b0938 mountLabel "
time="2020-11-05T14:47:21.511288800+11:00" level=debug msg="Calling proc (1)" spanID=dd800cbc08a35907 traceID=f6adc82b395f47fb0fded84eb52f2984
time="2020-11-05T14:47:21.515284600+11:00" level=debug msg="Calling proc (2)" spanID=dd800cbc08a35907 traceID=f6adc82b395f47fb0fded84eb52f2984
time="2020-11-05T14:47:21.517337100+11:00" level=debug msg="Calling TarUntar(\\\\?\\Volume{b14b990d-0b60-42a3-96f9-4cc78d5d6984}\\UnrealEngine\\LocalBuilds\\Engine\\Windows, \\\\?\\Volume{e8ff4ae5-f710-4f59-9a32-a07e1c3a5319}\\UnrealEngine)"
time="2020-11-05T14:47:21.517337100+11:00" level=debug msg="TarUntar(\\\\?\\Volume{b14b990d-0b60-42a3-96f9-4cc78d5d6984}\\UnrealEngine\\LocalBuilds\\Engine\\Windows \\\\?\\Volume{e8ff4ae5-f710-4f59-9a32-a07e1c3a5319}\\UnrealEngine)"
time="2020-11-05T14:52:09.376101900+11:00" level=debug msg="WindowsGraphDriver Put() id 35dd522dfc48d1e84b3d2746f2327abcd5885bd365c6385d98370d98d93b0938"
time="2020-11-05T14:52:09.376101900+11:00" level=error msg="Can't add file \\\\?\\Volume{b14b990d-0b60-42a3-96f9-4cc78d5d6984}\\UnrealEngine\\LocalBuilds\\Engine\\Windows\\Engine\\Plugins\\Animation\\LiveLink\\Binaries\\Win64\\UE4Editor-LiveLinkEditor.pdb to tar: io: read/write on closed pipe"
time="2020-11-05T14:52:09.380098700+11:00" level=error msg="Can't close tar writer: io: read/write on closed pipe"
time="2020-11-05T14:52:12.778531000+11:00" level=debug msg="WindowsGraphDriver Put() id 019d642cabfc11f6b26056832413045cc892221ff415d05033fd931f71ed2bdb"

given a Dockerfile of

FROM ue4-builder-stage-19:4.25.3-2004 AS builder
FROM mcr.microsoft.com/windows/servercore:2004
# Repro of https://github.com/adamrehn/ue4-docker/issues/99#issuecomment-716697043
COPY --from=builder C:/UnrealEngine/LocalBuilds/Engine/Windows C:/UnrealEngine

where ue4-builder-stage-19:4.25.3-2004 is a tag I added to the 'builder' result in the ue4-docker run (stage 19), 347a06bac1ee in case it comes up later.

I'm a little suspicious that the server-side doesn't see the "out of space" error but a "closed pipe" failure when adding the file to the tar stream, so I'm wondering if that's a red-herring or translation of a more-generic failure. Either that, or it just doesn't log the failure it's sending back to the client.

Edit: Confirmed that the io.Copy is failing with "out of disk space". So I was right, that the error sent back to the client is what io.Copy saw, Docker Engine just doesn't log it in the server logs.

Edit: Confirmed that the problem is that the volume being copied to is only 20GB (21339549696 bytes) so it seems that the storage opts are not being applied correctly (or sandbox resizing is failing) when the layer is mounted for copying-to. This should be easy to create a more-focused test for now, although docker build doesn't take 'storage-opts' on the command line, so it might be slightly complicated to automate in the test suite.

Logs with hacked-in messages:

time="2020-11-05T18:37:24.393007000+11:00" level=debug msg="archive.createTarFile(\\\\?\\Volume{9b100f89-5bc1-490c-a84c-3b63eda02980}\\UnrealEngine\\Engine\\Plugins\\Animation\\LiveLink\\Binaries\\Win64\\UE4Editor-LiveLinkEditor.pdb, \\\\?\\Volume{9b100f89-5bc1-490c-a84c-3b63eda02980}\\UnrealEngine, ..., ..., true, ..., false)"
time="2020-11-05T18:37:24.393007000+11:00" level=debug msg="Size: 21339549696, Free: 34856960, Available: 34856960"
time="2020-11-05T18:37:24.610305500+11:00" level=error msg="io.Copy(\\\\?\\Volume{9b100f89-5bc1-490c-a84c-3b63eda02980}\\UnrealEngine\\Engine\\Plugins\\Animation\\LiveLink\\Binaries\\Win64\\UE4Editor-LiveLinkEditor.pdb, ...) failed: write \\\\?\\Volume{9b100f89-5bc1-490c-a84c-3b63eda02980}\\UnrealEngine\\Engine\\Plugins\\Animation\\LiveLink\\Binaries\\Win64\\UE4Editor-LiveLinkEditor.pdb: There is not enough space on the disk."
time="2020-11-05T18:37:24.610305500+11:00" level=error msg="Size: 21339549696, Free: 0, Available: 0"
time="2020-11-05T18:37:24.614316900+11:00" level=error msg="createTarFile failed: write \\\\?\\Volume{9b100f89-5bc1-490c-a84c-3b63eda02980}\\UnrealEngine\\Engine\\Plugins\\Animation\\LiveLink\\Binaries\\Win64\\UE4Editor-LiveLinkEditor.pdb: There is not enough space on the disk."
time="2020-11-05T18:37:24.614316900+11:00" level=debug msg="WindowsGraphDriver Put() id 25d46530130da8b10ffd7d6270979b85a098b37ebb19432ee0a28adbb091018b"
time="2020-11-05T18:37:24.614316900+11:00" level=error msg="Can't add file \\\\?\\Volume{bf57b708-ae8b-49ae-9dab-92a53072abd8}\\UnrealEngine\\LocalBuilds\\Engine\\Windows\\Engine\\Plugins\\Animation\\LiveLink\\Binaries\\Win64\\UE4Editor-LiveLinkEditor.pdb to tar: io: read/write on closed pipe"
time="2020-11-05T18:37:24.614316900+11:00" level=error msg="Can't close tar writer: io: read/write on closed pipe"
time="2020-11-05T18:37:27.681846600+11:00" level=debug msg="WindowsGraphDriver Put() id de5e7ec45985bc7ea90bb5d117f23953a541f47d0d1cc322b537043ffc90c35d"

Edit: And it turns out now this was reported to Docker in 2018: moby/moby#37352

@TBBle
Copy link
Collaborator

TBBle commented Nov 5, 2020

I'm now pushing the COPY issue for @jforand and @Agendum through on the Docker side, in moby/moby#37352 and moby/moby#41636, but it's slow going. It's also not a new issue, so I fear I won't get it fixed in time for Docker 20.10.0. I don't plan to post any more updates here as I have a focused repro case outside ue4-docker now.

For the record, the repro case I'm using (and aiming to add to the Docker Engine integration test suite) for this is:

FROM mcr.microsoft.com/windows/servercore:2004 AS intermediate
WORKDIR C:\\stuff
RUN dir
# Create and delete a 21GB file
RUN fsutil file createnew C:\\stuff\\bigfile_0.txt 22548578304 && del bigfile_0.txt
# Create three 7GB files
RUN fsutil file createnew C:\\stuff\\bigfile_1.txt 7516192768
RUN fsutil file createnew C:\\stuff\\bigfile_2.txt 7516192768
RUN fsutil file createnew C:\\stuff\\bigfile_3.txt 7516192768
# Copy that 21GB of data out into a new target
FROM mcr.microsoft.com/windows/servercore:2004
COPY --from=intermediate C:\\stuff C:\\stuff

which tests that both RUN and COPY get more than 20GB of space, without triggering the 8GB file issue from #44. I might look later at adding a ue4-docker diag test for this issue. That first RUN for example is very fast to confirm that the sandbox is big enough, and could be trivially used to test that storage-opts have been applied correctly, validating ue4-docker info which checks the config file but can't actually confirm that it's been read correctly.

And since I've been doing repros, I think @jforand 's original issue in this ticket is simply that the 4.35.3 Windows UE4 build takes up more than 200GB of space. My stage-19 image (the last one before we start copying just the stuff we need into new clean images) for 4.25.3 on Windows 10 2004 is 263GB, and the peak size was larger than that during the build as part of the build script deletes a bunch of data before we finish. I don't recall 4.24.3 being that large, so I suspect 4.25.3 just added a bunch of new stuff.

This same growth is probably why we're hitting the COPY issue now, because just the data we want to keep is now more than 20GB.

I'm not sure why @arisona had the same issue as @jforand with a 400GB sandbox size, that seems like it ought to be enough for the compile stage... but perhaps not. I had a successful build with 600GB sandbox size, which was pretty much all the available space on my disk.

So yeah... Three different issues here, all of which seem to lead back to "4.25 was sufficiently bigger than 4.24 to push us over a bunch of limits we were already close to hitting".

@Agendum
Copy link

Agendum commented Nov 5, 2020

Thanks @TBBle. Do you think if I split the ue4-docker COPY statement into multiple sub-copies will I be able to work around this?

@TBBle
Copy link
Collaborator

TBBle commented Nov 5, 2020

I didn't test to see if each COPY command gets 20GB of free space, but I suspect it does, as the sandbox size doesn't include parent layers.

So that might work around the issue.

@TBBle
Copy link
Collaborator

TBBle commented Nov 6, 2020

Good news: A dockerd.exe built from moby/moby#41636 (Docker Engine master plus fixes for the COPY issue) was able to complete

ue4-docker build 4.25.3 --no-engine -basetag 2004 -isolation hyperv

although it used the cache from my earlier builds with vanilla 20.10.0-beta1. I'm sure it would have built okay from scratch, but I didn't really want to wait another 19 hours to find out.

PS C:\Users\paulh> docker image ls | sls local-registry/ue4- | sls 4.25.3-2004

local-registry/ue4-full      4.25.3-2004                  d6647832fedf   About a minute ago   70GB
local-registry/ue4-minimal   4.25.3-2004                  64fb2d8d8d0c   25 minutes ago       69GB
local-registry/ue4-source    4.25.3-2004                  b844e78e2344   7 days ago           74.9GB

Huh. That's going to be too big for Amazon ECR (20GB limit), for example. I guess once we have the ue4-docker build/plugin system rework, I can redirect PDBs off to a Symbol Store instead, and exclude them from the final image.

If --exclude debug is still over 20GB, then I'll have to get more creative. Or just run my own registry, with blackjack and lots of storage.

@TBBle
Copy link
Collaborator

TBBle commented Mar 30, 2021

In this case, it has to be the COPY directive, because RUN and everything else were using different code-paths to decide the size of the scratch layer, so that was exercising both code-paths (which I then unified in the same PR). I think I included the "21 GB" test line there because it was cheap, and because I wanted to ensure I didn't accidentally break that code-path while I was refactoring things.

I don't recall why I had the 3x7GB steps instead of creating a 21GB file and then using that as copy --from, it might have been to ensure I didn't trip over any remaining 8GB issues here, since there's a separate test for them. It's also possible that due to build-node disk space issues, I couldn't successfully commit a single 21GB layer, because during commit, there's three copies of the layer on-disk. See moby/moby#41636 (comment) and moby/moby@695b151.

That disk-space issue is specific to the Azure nodes used by Moby on their Jenkins, it shouldn't affect anyone who's going to be able to run ue4-docker anyway.

So

FROM <nanoserver> AS intermediate
WORKDIR C:\\stuff
# Create a 21GB file
RUN fsutil file createnew C:\\stuff\\bigfile_0.txt 22548578304
# Copy that 21GB of data out into a new target
FROM <nanoserver>
COPY --from=intermediate C:\\stuff C:\\stuff

should work as a diagnostic for ue4-docker. (Although does the nanoserver image have fsutil?)

You could perhaps fsutil outside Docker, and COPY without --from. That should trigger the same issue, after it sends 20GB to Docker over the REST API... 🤮

@slonopotamus
Copy link
Collaborator

I've created PR #147 that adds diagnostic for 20GiB COPY issue.

@slonopotamus
Copy link
Collaborator

This became a blocker issue for 5.0.0-preview-1. We strongly need a usable dockerd with fixes from moby/moby#41636

@slonopotamus
Copy link
Collaborator

I got tired waiting for Moby release, so here you are a drop-in dockerd.exe replacement: https://github.com/slonopotamus/shmoby/releases
This is just vanilla upstream 20.10.12 plus fixes for COPY issue from moby/moby#41636

@slonopotamus
Copy link
Collaborator

So.

  1. Original issue was fixed in Moby long time ago but is still not released
  2. We have Moby fork that provides ready-to-download dockerd.exe that doesn't have this bug
  3. We even have a user-friendly installer for the thing that can be used both on Windows Client and Server
  4. We have ue4-docker diagnostics 20gig so user can check whether their setup is affected
  5. We don't want to introduce any hacks to ue4-docker itself to workaround this issue on buggy Moby versions

I don't see what else can be done here. Everyone just sits and waits until Moby finally makes a new release with a fix. Closing.

@adamrehn
Copy link
Owner

adamrehn commented Apr 4, 2022

@slonopotamus do you think it's worth adding a note to the output of the 20gig diagnostic that links to this issue (or to your final comment specifically) so that users who run into the bug can find the relevant information more easily? Alternatively, we could include the information directly in ue4-docker itself, but linking to the issue or comment makes it much easier for us to update the information when a new Moby release does eventually come out with the patch included.

@slonopotamus
Copy link
Collaborator

Okay, will do.

@slonopotamus
Copy link
Collaborator

slonopotamus commented May 18, 2022

Okay, will do.

I've forgot about it for a minute, but here it is: #255

slonopotamus added a commit to slonopotamus/ue4-docker that referenced this issue May 18, 2022
slonopotamus added a commit to slonopotamus/ue4-docker that referenced this issue May 18, 2022
slonopotamus added a commit to slonopotamus/ue4-docker that referenced this issue May 18, 2022
slonopotamus added a commit to slonopotamus/ue4-docker that referenced this issue May 18, 2022
slonopotamus added a commit to slonopotamus/ue4-docker that referenced this issue May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-upstream Awaiting bugfixes or functionality from upstream dependencies bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants