Commit Graph

4314 Commits

Author SHA1 Message Date
jorgenpt
7db5461ddc UAT: Explicitly set input encoding for processes #8439
#jira UE-127895

[CL 26542088 by jorgenpt in ue5-main branch]
2023-07-24 10:19:00 -04:00
Josh Adams
75b4a4c725 Allow Info.plist and CodeResource files inside .app bundles to be different during horde jobs
#rb ryan.hummer

[CL 26540812 by Josh Adams in ue5-main branch]
2023-07-24 07:54:43 -04:00
oleg krasnov
92e2d46d3c Integrate automatic bisection feature into UAT
#jira UE-186970
#rb jerome.delattre martin.ridgers

[CL 26458706 by oleg krasnov in ue5-main branch]
2023-07-19 09:14:51 -04:00
Josh Adams
6c143a836a - Fixing the name of the .app when staging/deploying a BP IOS project with modern
- Uses a new AppleExports function to call MakeBinaryFilename, so we can use standardized name format for the BP .app
#jira UE-189830
#rb calvin.zheng

[CL 26352457 by Josh Adams in ue5-main branch]
2023-06-30 15:28:03 -04:00
per larsson
d88a3146b4 IAS - set both encryption and requested encryption key when overriding on demand pakchunks
#rb none
#rnx

[CL 26308192 by per larsson in ue5-main branch]
2023-06-29 07:45:30 -04:00
axel riffard
74a883a813 Fix path issues on Windows for prepare for debug
#jira UE-189634
#rb trivial

[CL 26305773 by axel riffard in ue5-main branch]
2023-06-28 22:59:19 -04:00
william ewen
203f332ef6 Adding -Packaged param to RunUnreal
#rb Gary.Yuan
#rb Adolf.Stary
#rb Story.Martin

[CL 26296902 by william ewen in ue5-main branch]
2023-06-28 16:00:05 -04:00
Josh Adams
cb55033c0a - Disallow SDK.json reading if the platform isn't enabled on the platform
- If no DDPI.ini exists, mark the SDK as not usable on the platform (default the UEBuildPlaformSDK to disabled until the DDPI.ini file is read)
#rb joe.kirchoff
#jira UE-189549

[CL 26271235 by Josh Adams in ue5-main branch]
2023-06-27 17:19:49 -04:00
josh adams
eaa7acae82 - Changed how the sdk.json files are staged in cooked editors
#rb eric.knapik

[CL 26247337 by josh adams in ue5-main branch]
2023-06-26 18:23:23 -04:00
per larsson
0aa5e3e83a IAS - updated handling of on demand pak file rules
- on demand pak file rules now respect the bOverrideChunkManifest property which means
that if not set to true together with OverridePaks=<MyPakName>, on demand content
will be placed in the <basechunkname>+<optionalondemand/ondemand>.pak
- this change makes bStageLoose and bOnDemand create the same pakchunks unless overriden with bOverrideChunkManifest=true

#rb none
#rnx

[CL 26229620 by per larsson in ue5-main branch]
2023-06-26 04:18:32 -04:00
josh adams
82ea6a767a [Backout] - CL26223564
[FYI] keaton.stewart
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL26221679 [Main CIS Issue] Errors in Incremental FortniteServer Linux and Incremental Compile Monolithics - Linux
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Very super early support for VisionOS (requires Xcode 15 beta2 or later).
- THIS IS NOT USABLE YET - WORK IN PROGRESS!
- It builds, links with IOS libs (warnings, not errors), can cook and it boots in Simulator, but is dying in MetalRHI
- UnrealTargetPlatform.VisionOS is currently defined in Engine code, it is not pulled out like would be correct for a full true platform extension
- Refactored a lot of Build.cs files to use UnrealPlatformGroup.IOS/Apple instead of individual platform checks, to make VisionOS integration simpler
#rb zack.neyland

[CL 26226852 by josh adams in ue5-main branch]
2023-06-24 17:52:48 -04:00
Ben Marsh
31a83fc628 Horde: Move bundle implementation into a separate namespace.
[CL 26226699 by Ben Marsh in ue5-main branch]
2023-06-24 16:37:55 -04:00
Ben Marsh
b7f9afb66a Horde: Add a custom handle type for nodes stored in bundles, abstracting implementation details away from most clients.
[CL 26226673 by Ben Marsh in ue5-main branch]
2023-06-24 16:22:48 -04:00
keaton stewart
1fd1a77412 [Backout] - CL26221679 [Main CIS Issue] Errors in Incremental FortniteServer Linux and Incremental Compile Monolithics - Linux
#fyi Josh.Adams
#jira FORT-626566 (edited)
Original CL Desc
-----------------------------------------------------------------
- Very super early support for VisionOS (requires Xcode 15 beta2 or later).
- THIS IS NOT USABLE YET - WORK IN PROGRESS!
- It builds, links with IOS libs (warnings, not errors), can cook and it boots in Simulator, but is dying in MetalRHI
- UnrealTargetPlatform.VisionOS is currently defined in Engine code, it is not pulled out like would be correct for a full true platform extension
- Refactored a lot of Build.cs files to use UnrealPlatformGroup.IOS/Apple instead of individual platform checks, to make VisionOS integration simpler
#rb zack.neyland

[CL 26223564 by keaton stewart in ue5-main branch]
2023-06-23 20:29:27 -04:00
Josh Adams
e25e1b3daf - Very super early support for VisionOS (requires Xcode 15 beta2 or later).
- THIS IS NOT USABLE YET - WORK IN PROGRESS!
- It builds, links with IOS libs (warnings, not errors), can cook and it boots in Simulator, but is dying in MetalRHI
- UnrealTargetPlatform.VisionOS is currently defined in Engine code, it is not pulled out like would be correct for a full true platform extension
- Refactored a lot of Build.cs files to use UnrealPlatformGroup.IOS/Apple instead of individual platform checks, to make VisionOS integration simpler
#rb zack.neyland

[CL 26221679 by Josh Adams in ue5-main branch]
2023-06-23 19:12:47 -04:00
jerome delattre
51f6f270aa Force process output to be logged as verbose log level so it does not trigger the event parser
#rnx
#rb Eric.McDaniel

[CL 26217902 by jerome delattre in ue5-main branch]
2023-06-23 16:24:18 -04:00
stephen ma
169bc7a55c Update LowLevelTests to use BuildCookRun when test specifies StagesWithProjectFile.
- LowLevelTest.xml horde build step as a separate label
 - Relevant <General>.xml files updated to support the new build step
 - Added UpdateBuildGraphPropertiesFile.Automatoin.cs to help find files to checkout
 - OnlineTests updated to utilize new BuildCookRun param

#jira UE-188819
#rb Chris.Constantinescu, Jake.Niman

[CL 26195017 by stephen ma in ue5-main branch]
2023-06-22 17:41:56 -04:00
dan thompson
c54316a591 UnrealPak now uses the CookMetadata file to optionally write out size information for plugins. This information is written back to the cook metadata file, and is enable via a project packaging setting.
#rb fabian.giesen

[CL 26194673 by dan thompson in ue5-main branch]
2023-06-22 17:32:20 -04:00
tim kennedy
199e463f10 * Removed FortniteRpcTestNode completely, moving the boilerplate test setup to RpcTargetRegistry and RpcExecutor
* Added new class RpcSynchronousTestExecutor - this class allows for a test logic thread to be configured and run where Test Logic can be executed in a synchronus manner. You can use blocking calls and loops here while not interfering with Gauntlet's main loop.
* Added new interface ISynchronousTestLogic to assist with the implementation of RpcSychronousExecutor in Gauntlet tests.
* Added template specialization to FFortBaseExternalRpcHttpResponse due to bool/FString overload resolution errors and updated dependent files.
* Updated UEFNCloseEditor test to use RpcLibrary
* Added ExitEditor RPC (UE + Gauntlet)
* Added in outgoing messages from processes to indicate when ready to begin the test
* Added logic to automatically poll for ready instead of waiting for a message if we're on Xbox since it can't send outbound messages to Gauntlet.
To test locally:
RunUAT.bat RunFortTests -build=editor -tests=UEFNCloseEditor

[CL 26188198 by tim kennedy in ue5-main branch]
2023-06-22 14:12:59 -04:00
leon huang
b3b7f0a6dc Localization:
Update the Localize UAT command to better handle gathering for plugins.
- Introduced the -IncludePluginsDirectory parameter to include all plugins under a particular directory
- Introduce the ExcludePluginsDirectory parameter to exclude all plugins under a particular directory
- Introduce the EnableIncludedPlugins flag to add all  included plugins that pass the exclude filter to the -EnablePlugins editor command line parameter to ensure the plugins are enabled for gathering.
#rb: Jamie.Dale
#jira: none
#test Used the new commands to perform gathers for directories of plugins and enabling plugins that are not on by default.

[CL 26161937 by leon huang in ue5-main branch]
2023-06-21 16:45:17 -04:00
josh adams
305c260069 - Moved SDK versions (MainVersion and Min/Max SDK version) from C# strings to SDK.json files in the Platform's Config folder
- Allow for per-project override in a project's platform's config folder (this is merging with my other work on per-project SDKs and validation of multi-target builds)
- More versions will move over after this
#rb david.harvey

[CL 26150552 by josh adams in ue5-main branch]
2023-06-21 11:21:01 -04:00
Josh Adams
06ff93be0e - Handle manual codesigning with Modern Xcode (using all new settings, does not use the "green check" provisions in IOS project settings)
- Added support for AppStoreConnect API for automatic code signing (with command line builds, packaging from editor, etc) that doesn't need everyone to be signed in to Xcode (still need to sign in if using Xcode IDE to build/run)
- Fixed Modern to always create the IOS plist in UBT ApplePostBuild step
- Updated a bunch of ini setting names to remove Modern, given Modern will be standard in the future
- Added some settings XcodeProject settings in the editor, and updated some tooltips/category names
- Moved some functions around to clean up
- Added some debug code to catch errors

#rb adam.kinge,calvin.zheng,zack.neyland

[CL 26133818 by Josh Adams in ue5-main branch]
2023-06-20 16:40:51 -04:00
zousar shaker
c5d05e1f4e 2nd attempt:
Rework zenserver host address detection when using COTF
Make sure .projectstore file is properly staged in all scenarios

#rb zousar.shaker

[CL 26123110 by zousar shaker in ue5-main branch]
2023-06-20 10:53:32 -04:00
per larsson
3bed8ef537 I/O - support for uploading on demand I/O store containers to S3 with UnrealPak
- added support for uploading containers marked as on demand directly from UnrealPak.exe
- removed C# based upload logic from automation scripts
- removed on demand I/O store writer since this change reads chunks directly from container files instead of loose files

Example usage:
UnrealPak.exe -Upload=<ContainerPathOrWildcard> -ServiceUrl=<URL> -Bucket=<BucketName> -AccessKey=<Key> -SecretKey=<Key>

Read credentials from an AWS key chain file with the following command line:
-CredentialsFile=<Path> -CredentialsFileKeyName=<EntryName>

Specify -KeepUploadedContainers to prevent UnrealPak to delete on demand containers after the upload has been completed.
Specify -BucketPrefix=<Path> to upload chunks to a specific sub directory within the bucket.

#rb none

[CL 26115169 by per larsson in ue5-main branch]
2023-06-20 04:21:22 -04:00
brendan lienau
322c5ee790 [Gauntlet] Handle log writing exception
#rnx
#rb trivial

[CL 26096331 by brendan lienau in ue5-main branch]
2023-06-19 13:37:44 -04:00