Commit Graph

4558 Commits

Author SHA1 Message Date
brendan lienau
c8e1e58227 [Gauntlet] Update InstallApplication function signature for new ITargetDevice flow by renaming it to InstallBuild
[CL 30485450 by brendan lienau in ue5-main branch]
2024-01-08 13:21:15 -05:00
justin marcus
b43cbb53f2 GenerateStreamingInstallManifest - Add AllowPerChunkCompressionWildcard to allow pak files to opt into or out of being compressed through CompressedChunkWildcard.
CopyBuildToStagingDirectory - Use bAllowPerChunkCompression to enable bCompressed to override global compression settings.

This will correctly allow chunks to opt in and out of being compressed.
NOTE: If DDPI specifies a hardware compression setting of 'None', this won't work as expected because there will be no global compression settings to opt in to. In this case,
set bForceUseProjectCompressionFormatIgnoreHardwareOverride=true and bCompressed=False in [/Script/UnrealEd.ProjectPackagingSettings], then setup whatever project compression settings you would like chunks to
be able to opt in to.

#rb Daniel.Lamb

[CL 30412862 by justin marcus in ue5-main branch]
2023-12-20 11:01:36 -05:00
paul chipchase
3a42001e9c Fix the use of 'AdditionalPakOptions' when '-Upload=LocalZen' is set during staging
#rb Per.Larsson
#rnx

- We need to add a whitespace before appending 'AdditionalPakOptions' aotherwise they will be merged with the previous '-WriteTocToDisk' argument.
- We should only do this if we actually have additional pak options to avoid adding a pointless additional ' ' if there are no additional options.

[CL 30410640 by paul chipchase in ue5-main branch]
2023-12-20 07:59:58 -05:00
oleg krasnov
ddfd3bf5e6 Gauntlet - fix screenshots jpeg to gif conversion on Windows
#jira UE-201488
#rb Jerome.Delattre, Sebastian.Lewicki
#rnx

[CL 30388551 by oleg krasnov in ue5-main branch]
2023-12-19 01:17:10 -05:00
marc audy
1650901674 Fix single character overconsuming
[CL 30385309 by marc audy in ue5-main branch]
2023-12-18 18:39:14 -05:00
marc audy
dd4945c8d2 Fix Platforms, Restricted, and Shaders not being included for consideration
Fix numeric separators being mistaken for single characters (which were being treated as strings) and consuming text it shouldn't have
Add detection for missing #undef LOCTEXT_NAMESPACE if one has been defined in the file
#rb Ben.Marsh

[CL 30380139 by marc audy in ue5-main branch]
2023-12-18 13:39:43 -05:00
brendan lienau
f37b053315 [Gauntlet] Move Configurable device application into DeviceProfileValidator
#jira UE-201401
#rb marcelo.gomes

[CL 30362389 by brendan lienau in ue5-main branch]
2023-12-15 17:14:20 -05:00
brendan lienau
6c7bf0c31a [Gauntlet] Move TryUpdateFirmware from UnrealSession into DeviceFirmwareValidator
#jira UE-201402
#rb marcelo.gomes

[CL 30352743 by brendan lienau in ue5-main branch]
2023-12-15 12:48:16 -05:00
brendan lienau
1a7ec43fac [Gauntlet] Move VerifyLogin from UnrealSession into DeviceLoginValidator
#jira UE-201402
#rb marcelo.gomes

[CL 30352452 by brendan lienau in ue5-main branch]
2023-12-15 12:43:00 -05:00
brendan lienau
9fcdbda6af [Gauntlet] Adds IDeviceValidator to separate concerns around validating whether a device is
IDeviceValidator provides the ability to verify a TargetDevice matches a set of requirements.
They are particularily useful for ensuring development kits are in a desired state prior to a test.
This can include, but is not limited to:
    - Proper firmware versions
    - Having an account signed in
    - Pushing a list of settings onto the device
To add new DeviceValidators, simply create a concrete type that inherits from IDeviceValidator.
Implement ValidateDevice() and determine whether this validator should be enabled within the constructor
 It can be especially helpful to toggle whether a validator is enabled via commandline arguments, for ease of opt-in

#jira UE-201402
#rb marcelo.gomes

[CL 30352267 by brendan lienau in ue5-main branch]
2023-12-15 12:39:17 -05:00
sebastian schoner
a7c5f5f909 Allow to skip -fileopenlog for cooks
The file open log is a facility that automatically keeps a log of all files the process has opened and their order. This is rather expensive as it (a) also tracks failed attempts to open files and (b) it maintains a large table in memory, storing which files have already been opened (so every file is only logged once). This table can easily grow into the tens of megabytes; even on an empty project I see this taking 60MB by itself. Making this optional allows us to skip this step for UEFN cloud cooks: in these cases we're throwing that log file away anyway.

#rb rob.perren

[CL 30344591 by sebastian schoner in ue5-main branch]
2023-12-15 04:22:42 -05:00
brendan lienau
92f98b8dbd [Gauntlet] ITargetDevice cleanup/install functions
This CL stubs out the following ITargetDevice functions which will be implemented for each platform one by one
- FullClean
- CleanArtifacts
- InstallApplication (new signature)
- CreateAppInstall
- CopyAdditionalFiles

Once stubs have been implemented, UnrealSession.LaunchSession will optionally be able to execute a new flow using these modularized pieces
After further validations are made, the legacy implementation of LaunchSession will be deprecated and the new flow will become the standard

#jira UE-201403
#rb marcelo.gomes

[CL 30326785 by brendan lienau in ue5-main branch]
2023-12-14 13:58:12 -05:00
david harvey
e7eb81afcd Fixup unacceptable words
```
[MemoryMappedFiles]
MasterEnable=true
...change to...
Enable=true
```


#jira UE-202339

#rb Jack.Porter

[CL 30315565 by david harvey in ue5-main branch]
2023-12-14 03:50:39 -05:00
ben marsh
41c1f420eb BuildGraph: Add a task to upload artifacts to Horde.
[CL 30292274 by ben marsh in ue5-main branch]
2023-12-13 09:55:43 -05:00
ben marsh
4373db4c84 Horde: Add helper methods for writing directory trees to storage writers.
[CL 30292017 by ben marsh in ue5-main branch]
2023-12-13 09:45:27 -05:00
david harvey
5b6ebd88d5 Fixup unacceptable words
```
[/Script/UnrealEd.ProjectPackagingSettings]
+MovieBlacklist=...
...change to...
+MovieDenyList=....
```

#jira UE-202339

#rb mickael.gilabert

[CL 30289664 by david harvey in ue5-main branch]
2023-12-13 07:18:20 -05:00
joe kirchoff
8e674c1c47 Update System.Drawing.Common to 4.7.3
#rnx

[CL 30279376 by joe kirchoff in ue5-main branch]
2023-12-12 17:25:50 -05:00
jerome delattre
71e89c2bb1 Add InstanceName to UnrealTestResults
#jira UE-200940
#rnx

[CL 30277312 by jerome delattre in ue5-main branch]
2023-12-12 16:34:30 -05:00
leon huang
f50395d0dd Localization:
Optimizationof Smartling download and upload.
- Previously, downloading of .po files from Smartling are done in series. Now, each language is downloaded in its own Task. Parallelizing downloads have improved download times anywhere from 2x to 10x.
- Logs for downloads, uploads and authentication token retrieval has been changed to be thread safe. The logs for a single Task will be batched and only printed after the task has completed.
- API for GetAuthenticationToken(), RequestAuthenticationToken() and RetrieveAuthenticationToken() has been changed to facilitate multithreaded logging
- Uploading of .po files has also been changed to be threaded to conform to the changes in APIs for the authentication token retrieval functions.
- Switched from Console.WriteLine to the preferred Logger.LogInformation

#rb: Jamie.Dale
#jira: none
#test: Performed the localization downloads locally. Checked the logs for the download step and compared timings of localization downloads. All tested localization files seems to have been downloaded successfully.

[CL 30252145 by leon huang in ue5-main branch]
2023-12-11 18:05:03 -05:00
joe kirchoff
371a0b161c Remove some unacceptable words
#rnx
#jira UE-202331

[CL 30243579 by joe kirchoff in ue5-main branch]
2023-12-11 13:47:35 -05:00
chris constantinescu
25d9b2bae8 Gauntlet LLT: update regex that parses console report to include potentially skipped tests
#jira UE-201146
#rnx

[CL 30219738 by chris constantinescu in ue5-main branch]
2023-12-08 16:24:01 -05:00
ryan hummer
583435d379 [Backout] - CL30186989
[FYI] joshua.shlemmer
Original CL Desc
-----------------------------------------------------------------

Modifies buildtasks that were using HTTPClients so that they use a singleton http client.

Follow up from CL 30122407

#rb Eric.Knapik, Wes.Hunt

[CL 30210278 by ryan hummer in ue5-main branch]
2023-12-08 09:42:30 -05:00
will brown
3a3e27c70e AutomationTool changes to support game projects overriding how to copy files during staging. InternalUtils.SafeCopyFile now takes an optional delegate to call when copying files. A CustomStageCopyHandler can be implemented to supply the copy operation. This is useful for transforming files during staging.
#rb Josh.Adams

[CL 30192577 by will brown in ue5-main branch]
2023-12-07 16:35:45 -05:00
joshua shlemmer
e4a921891d Modifies buildtasks that were using HTTPClients so that they use a singleton http client.
Follow up from CL 30122407

#rb Eric.Knapik, Wes.Hunt

[CL 30187247 by joshua shlemmer in ue5-main branch]
2023-12-07 13:57:33 -05:00
josh adams
4e879d913b - Made the .binariesdir file only on Mac
#jira UE-202088
#rb josh.adams

[CL 30180011 by josh adams in ue5-main branch]
2023-12-07 10:31:50 -05:00