Commit Graph

508 Commits

Author SHA1 Message Date
ben marsh
ef62ad10d3 Horde: Move job driver into a separate executable.
#jira UE-213093

[CL 33775668 by ben marsh in ue5-main branch]
2024-05-20 15:19:06 -04:00
robert manuszewski
21118c5c99 Removing deprecated EInternalObjectFlags
#rb Johan.Torp

[CL 33718770 by robert manuszewski in ue5-main branch]
2024-05-17 05:36:16 -04:00
joe kirchoff
7c78f566c0 dotnet8 ref fix
#rnx

[CL 33471885 by joe kirchoff in ue5-main branch]
2024-05-06 17:42:01 -04:00
joe kirchoff
ee624af8e6 Various fixes to allow for compiling shared projects with target framework newer than .net6 where apis have changed
#rnx

[CL 33468530 by joe kirchoff in ue5-main branch]
2024-05-06 16:26:56 -04:00
joe kirchoff
e20c9bbf46 [Backout] - CL33383112
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
Various fixes to allow for compiling shared projects with target framework newer than .net6 where apis have changed

#rnx
[FYI] ben.marsh

[CL 33383846 by joe kirchoff in ue5-main branch]
2024-05-01 17:37:41 -04:00
joe kirchoff
1f783f9eb6 Various fixes to allow for compiling shared projects with target framework newer than .net6 where apis have changed
#rnx
[FYI] ben.marsh

[CL 33383137 by joe kirchoff in ue5-main branch]
2024-05-01 17:13:02 -04:00
danny couture
61410d3c0e [UObject]
- Add thread-safe ref-counting mecanism to UObject
  - Make TStrongObjectPtr more light-weight and usable on any thread by using ref-count instead of FGCObject
  - Add pinning API to WeakObjectPtr so they can be converted safely to StrongObjectPtr from any thread
  - Make delegate broadcast thread-safe when used with UObjects by pinning during broadcast for non game-thread.

#jira UE-211624
#rb Robert.Manuszewski

[CL 33370596 by danny couture in ue5-main branch]
2024-05-01 08:26:48 -04:00
kevin macaulayvacher
5a23733d8b Makes the ThreadSanitizer LogEventMatcher and IssueHandler generic to Sanitizers in general and adds support for TSAN and ASAN. Updates the existing TSAN job to use the renamed commandlet and makes the job name clearer that a sanitizer report is being generated.
#jira UE-213117
#rb Ben.Marsh

[CL 33370008 by kevin macaulayvacher in ue5-main branch]
2024-05-01 07:12:59 -04:00
ben marsh
3a30c06dfe Horde: Move IClock extension methods into EpicGames.Core.
#rnx

[CL 33349043 by ben marsh in ue5-main branch]
2024-04-30 15:36:37 -04:00
ben marsh
2dd301febe Create an AutomationTools.Tests project, and move tests from Horde.Agent into it. Included in UE5 default solution for better visibility.
[FYI] carl.bystrom, kevin.macaulayvacher

[CL 33036388 by ben marsh in ue5-main branch]
2024-04-17 10:39:36 -04:00
kevin macaulayvacher
1c564f5450 - Adds a ThreadSanitizer Structured Logging Matcher so we may contextualize TSAN output in Horde logs. It specifically will attempt to annotate files, symbols, and symbol addresses in callstacks, warning on TSAN "WARNING" messages and "SUMMARY" message.
-- The "SUMMARY" message is the only log line treated as an error since it is information (description of problem, and file+line to address) but also not overly specific such that we should be able to make JIRA issues from these log lines without generating duplicate issues for the same race from different callsites.
- Changes EditorPerf TSAN job to use -VeryVerbose in UAT so that stdout and stderr are redirected for logging. TSAN emits logs to stderr/stdout (depends on environement variable, stderr by default). The logs can be redirected to a log file via envvar TSAN_OPTIONS and specifying a path, however, Horde will only use whatever is written to stdout/stderr for generating issues, so unless a post process is added to forward the TSAN log output after the application has terminated, having stdout redirected stderr/stdout by default for TSAN jobs is simplest approach.
- Added two new KnownLogEvents `Sanitizer_Thread` and `Sanitizer`. `Sanitizer_Thread` is used by the added matcher, but `Sanitizer` was also added so that we may follow the pattern of letting the first id represent the broader category of events

#rb Bryan.Johnson, Ben.Marsh
#jira UE-207074
[FYI] Francis.Hurteau

[CL 33007156 by kevin macaulayvacher in ue5-main branch]
2024-04-16 13:44:37 -04:00
joe kirchoff
942ac23295 EpicGames.Core: Use SafeProcessHandle instead of SafeFileHandle for child process in ManagedProcess
#rnx

[CL 32868150 by joe kirchoff in ue5-main branch]
2024-04-10 19:26:45 -04:00
carl bystrom
de506b98c2 EpicGames.Core: Improve test stub for IClock
[CL 32758001 by carl bystrom in ue5-main branch]
2024-04-05 09:29:35 -04:00
carl bystrom
956ba56bf3 EpicGames.Core: Move IClock interface to Core
IClock is useful for testing any code, not just Horde. The specific Redis-based implementation is still left with Horde.

[CL 32731898 by carl bystrom in ue5-main branch]
2024-04-04 12:14:23 -04:00
tim smith
45c4ce21b7 Removed unused UVerseVMClass casting flag
#rnx
#rb tim.smith

[CL 32640893 by tim smith in ue5-main branch]
2024-04-01 11:30:15 -04:00
ben marsh
492b40d362 Horde: Fix decoding of UTF8 characters as part of unescaping Json strings.
[CL 32638383 by ben marsh in ue5-main branch]
2024-04-01 10:02:16 -04:00
joe kirchoff
29d9ecfa9c EpicGames.Shared: Resolve some editorconfig warnings and intellisense suggestions
#rnx
#rb carl.bystrom

[CL 32595931 by joe kirchoff in ue5-main branch]
2024-03-28 17:37:09 -04:00
ben marsh
95981f9b16 Horde: Improve ordering of nodes when writing large file trees to storage, such that the nodes which are read after each other are adjacent in the storage blobs.
Nodes are read in the reverse order to which they are written, depth-first. Arranging nodes in the blob in this order prevents thrashing of the cache and improves performance.

#jira UE-210670

[CL 32586284 by ben marsh in ue5-main branch]
2024-03-28 14:20:04 -04:00
joe kirchoff
1975bacb57 UnrealBuildTool: Add support for studio telemetry. Requires connection info to be defined in a BaseEngine.ini config, as well as opting into those providers via a BuildConfiguration.xml setting
#jira UE-210668

#ushell-cherrypick of 32521294 by Joe.Kirchoff

[CL 32550524 by joe kirchoff in ue5-main branch]
2024-03-27 14:05:42 -04:00
jim casale
b3a2dea4b0 Fixing error matcher for locked robomerge gates. Adding a cursor function to look ahead a limited number of times.
#rnx
#jira  UE-127714

#rb Ryan.Hummer

[CL 32508207 by jim casale in ue5-main branch]
2024-03-26 10:13:20 -04:00
ben marsh
4b69240efb UGS: Fix hang on shutdown due to async dispose calls capturing the Winforms context.
#jira UE-209435

[CL 32254205 by ben marsh in ue5-main branch]
2024-03-14 14:59:12 -04:00
ben marsh
83f39ad6d7 Horde: Fix schema generation error.
#rnx

[CL 31997506 by ben marsh in ue5-main branch]
2024-03-04 14:39:37 -05:00
eric knapik
075a07e794 Add new remove function to remove a key
[CL 31890993 by eric knapik in ue5-main branch]
2024-02-28 18:20:19 -05:00
ben marsh
f1f2c4cd38 Horde: Improve error message when a parsed log event is malformed.
#rnx

[CL 31878970 by ben marsh in ue5-main branch]
2024-02-28 14:13:17 -05:00
joshua shlemmer
6855a0ad90 Telemetry: Update DataRouterTelemetryService to take a Uri instead of string
#rb Eric.Knapik, Joe.Kirchoff

[CL 31860583 by joshua shlemmer in ue5-main branch]
2024-02-27 19:54:32 -05:00