Commit Graph

303 Commits

Author SHA1 Message Date
joe kirchoff
a36100300e UnrealBuildTool: Track in UBA telemetry the success or failure of the coordinators connecting, as well as the time delay until the first remote agent is used
#rnx

[CL 34483276 by joe kirchoff in ue5-main branch]
2024-06-18 18:19:38 -04:00
joe kirchoff
4838ff85be [Backout] - CL34354297
[FYI] Joe.Kirchoff

Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Remove usage of obsolate BinarySerializer and replace with Json

#rnx

[CL 34437061 by joe kirchoff in ue5-main branch]
2024-06-17 15:15:28 -04:00
henrik karlsson
90e299ec3a [UBA]
* Added configuration to bucket id for cache server

[CL 34391419 by henrik karlsson in ue5-main branch]
2024-06-14 20:47:44 -04:00
joe kirchoff
a5b67572d6 UnrealBuildTool: Remove usage of obsolate BinarySerializer and replace with Json
#rnx

[CL 34354327 by joe kirchoff in ue5-main branch]
2024-06-13 17:00:32 -04:00
ben marsh
200507f83e Horde: Include modification times for file entries in bundles by default, but do not write them unless the configured API version allows it.
[CL 34205949 by ben marsh in ue5-main branch]
2024-06-07 12:14:34 -04:00
henrik karlsson
e49ca0abba [UBT]
* Added so uba executor loads uba config file.
* Added config file which enables some options for cache client (validate cas outputs and disabling directory preparsing

[CL 34189093 by henrik karlsson in ue5-main branch]
2024-06-06 23:57:24 -04:00
henrik karlsson
91320fb62e [UBA]
* New attempt at handling ctrl-c properly

[CL 34081119 by henrik karlsson in ue5-main branch]
2024-06-03 19:24:20 -04:00
henrik karlsson
1e9a8d1be6 [UBA]
* Fixed shutdown hangs. Was caused by UBAExecutor was never informed that processes were cancelled. (and that queued actions were not cancelled when no action was running)

[FYI] Joe.Kirchoff

[CL 34078311 by henrik karlsson in ue5-main branch]
2024-06-03 17:32:08 -04:00
henrik karlsson
1df5fddaf0 [UBA]
* Fixed dispose order in UBAExecutor.. cache must go before session

[CL 34058954 by henrik karlsson in ue5-main branch]
2024-06-02 18:21:16 -04:00
joe kirchoff
76a24abcc1 UnrealBuildTool: When using UBA relay mode, default encryption to SSL
#rnx

[CL 34019474 by joe kirchoff in ue5-main branch]
2024-05-30 19:25:17 -04:00
henrik karlsson
57fbcffe34 [UBA]
* Changed so actions with no produced items are never cached
* Moved test if action should be cached to one place

[CL 33987713 by henrik karlsson in ue5-main branch]
2024-05-29 17:28:20 -04:00
henrik karlsson
b9308f685b [UBT]
* Changed so root paths are included in bucket id when pch is enabled

[FYI] Joe.Kirchoff

[CL 33957782 by henrik karlsson in ue5-main branch]
2024-05-28 18:56:53 -04:00
ben marsh
8bde58ead8 UBA: Prevent Horde being disabled when configured via the environment.
#rnx

[CL 33943046 by ben marsh in ue5-main branch]
2024-05-28 12:00:09 -04:00
ben marsh
e0e3fca9f2 Horde: Fix http auth handler not using correct configuration for server when run locally.
- Caused by trying to use a single HttpAuthMessageHandlerState for DI container, even though multiple clients can now be created.
- A message handler is now owned by each Horde client instance, which has an appropriately configured HTTP message handler for that server.

[CL 33940225 by ben marsh in ue5-main branch]
2024-05-28 10:17:59 -04:00
joe kirchoff
5194019f91 UnrealBuildTool: Don't allow disabling UBA on action retry if object compression is enabled
#rnx
#jira UE-214674

[CL 33873291 by joe kirchoff in ue5-main branch]
2024-05-23 16:16:27 -04:00
henrik karlsson
b2a27c9cbc [UBT]
* Minor cosmetic fix to uba trace file

[CL 33849619 by henrik karlsson in ue5-main branch]
2024-05-22 19:20:46 -04:00
wojciech krywult
46bc4ff1a1 UBT: SNDBS: Fixed possible distribution problems when cl-filter is used during the build.
cl-filter is invoked as follows:

cl-filter -dependencies=<path> -timing=<path> -compiler=<cl_path> -- <cl_path> [at]<rsp_path> <params>

when the command line is too long, SNDBS moves the parameters into a new response file and modifies the call to be:

cl-filter [at]<sndbs_rsp_path>

However, cl-filter doesn't support response files and fails.

Resolved by modifying the SNDBS configuration to only allow the part after "-- <cl_path>" to be moved to the response file.

#rb wojciech.krywult

[CL 33733583 by wojciech krywult in ue5-main branch]
2024-05-17 15:21:53 -04:00
ben marsh
09bdb264cf Horde: Use IHordeClient within the agent for all RPC/storage traffic.
#rnx

[CL 33721842 by ben marsh in ue5-main branch]
2024-05-17 09:05:02 -04:00
henrik karlsson
4a80761d07 [UBA]
* Added code to handle requesting shutting down uba cache service

[CL 33556070 by henrik karlsson in ue5-main branch]
2024-05-09 15:34:35 -04:00
henrik karlsson
e5dc1ab877 [UBA]
* Added -UbaReportCacheMissReason which can be set to output why a cache miss happened. This is very useful for debugging purposes to identify inputs that are not deterministic/portable

[CL 33553824 by henrik karlsson in ue5-main branch]
2024-05-09 14:34:07 -04:00
joe kirchoff
acb0f7f95f UnrealBuildTool: Track cache stats in executor telemetry
#rnx

[CL 33523515 by joe kirchoff in ue5-main branch]
2024-05-08 15:17:35 -04:00
joe kirchoff
99ffb0bfbb UnrealBuildTool: Don't throw an exeception if no Horde URL is provided, and ensure HordeAgents still get the correct settings from the environment
#rnx
[FYI] henrik.karlsson

[CL 33496459 by joe kirchoff in ue5-main branch]
2024-05-07 17:26:40 -04:00
joe kirchoff
3ae57d7413 UnrealBuildTool: Allow UBA executor to be used if action count is low, as it internally disables remote if the number of actions is insufficent
#rnx

[CL 33490386 by joe kirchoff in ue5-main branch]
2024-05-07 14:38:30 -04:00
joe kirchoff
06219e5d30 UnrealBuildTool: Fix more warnings
#rnx

[CL 33475454 by joe kirchoff in ue5-main branch]
2024-05-06 19:08:51 -04:00
joe kirchoff
000789c19f UnrealBuildTool: Downgrade some exception logs during UBA remote distribution to debug
#rnx

[CL 33437717 by joe kirchoff in ue5-main branch]
2024-05-03 17:12:04 -04:00