Commit Graph

26 Commits

Author SHA1 Message Date
Zousar Shaker
d64ab67c15 Increase the time window that ZenServer has to launch within before it becomes an error for unattended executions.
#rb none
#rnx
#preflight 626f65bd332a0b0e0b283c4f

[CL 20006381 by Zousar Shaker in ue5-main branch]
2022-05-02 01:05:46 -04:00
Zousar Shaker
773d501638 Move ZenLogPath and ZenCfgPath commandline arguments to "non-transient" arguments that will influence whether their modification causes a running instance of zenserver should be stopped/started.
#rb none
#rnx
#preflight 626c5e05320b2198448e71c3

[CL 19987200 by Zousar Shaker in ue5-main branch]
2022-04-29 18:10:02 -04:00
Zousar Shaker
c54c86c43f Add command-line option for passing config file path when launching ZenServer.
#rb none,Trivial
#rnx
#preflight 626772dd820fbeb9a4e16c3e

[CL 19915984 by Zousar Shaker in ue5-main branch]
2022-04-26 00:23:58 -04:00
Devin Doucette
748e39e3c0 Replaced uses of _SV with TEXTVIEW
#preflight 6266da740634d0904ce6de29
#rb Steve.Robb
#rnx

[CL 19905760 by Devin Doucette in ue5-main branch]
2022-04-25 13:56:30 -04:00
zousar shaker
625a874551 Resolve compile issue in UE Zen client caused by including an Internal header from a Public header.
This is being resolved by cherrypicking 19196840 by mark.lintott from UE5/Main (see original changelist details at the end of this cl description).  On top of the cherrypick, there was a change made to re-use a single Http request when fetching stats.  This avoids the overhead of doing name resolution repeatedly if the zen instance has a name instead of IP address.

Tested by:
- Running ShooterGame editor & observing UnrealInsights for ZenHttp_CurlPerform timers and ensuring they are not happening on the game thread when the editor is sitting idle (they are on background threads instead)
-Terminating ZenServer.exe while the editor is running and observing whether the framerate of the editor is negatively affected

#rb matt.peters
[FYI] mark.lintott
#jira UE-132849
#jira UE-143182
#lockdown aurel.cordonnier
#preflight 6220038831454c90cc13a123

Original changelist:
============
Blocking Zen HTTP stats request now runs async using futures
#rb Andriy.Tylychko
#[fyi] Zousar.Shaker
#jira UE-132849
#preflight 621e0c71e15c51d8c5bd5967

#ushell-cherrypick of 19196840 by mark.lintott

#ROBOMERGE-OWNER: zousar.shaker
#ROBOMERGE-AUTHOR: zousar.shaker
#ROBOMERGE-SOURCE: CL 19234318 in //UE5/Release-5.0/... via CL 19236659
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19237357 by zousar shaker in ue5-main branch]
2022-03-02 22:10:10 -05:00
steve robb
288f3de432 Fixes for the implicit conversion of ints and chars to TCHARs in UTF-8 mode.
#rb trivial
#preflight 621ed0b4e15c51d8c5e5d081

#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19219816 via CL 19220283 via CL 19220288 via CL 19223679
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19227684 by steve robb in ue5-main branch]
2022-03-02 15:30:50 -05:00
mark lintott
dc0bd9e876 Blocking Zen HTTP stats request now runs async using futures
#rb Andriy.Tylychko
#fyi Zousar.Shaker
#jira UE-132849
#preflight 621e0c71e15c51d8c5bd5967

[CL 19196840 by mark lintott in ue5-main branch]
2022-03-01 07:20:31 -05:00
steve robb
33c800a605 TEXT(""_SV) changed to TEXTVIEW("") for UTF-8 support.
#rb trivial

#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19135062 via CL 19136099 via CL 19136620 via CL 19138526
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19155676 by steve robb in ue5-main branch]
2022-02-25 15:48:16 -05:00
Martin Ridgers
856328e1f4 Missing include.
#rb trivial
#preflight trivial

[CL 19032123 by Martin Ridgers in ue5-main branch]
2022-02-17 03:38:49 -05:00
zousar shaker
7846956c1b Fix bug when parsing URL for Zen containing colons (eg: ::1).
#rb devin.doucette
#jira UE-142437
#lockdown julien.marchand
#preflight 620b4e3a483ff0ae5ea7f565

#ROBOMERGE-OWNER: zousar.shaker
#ROBOMERGE-AUTHOR: zousar.shaker
#ROBOMERGE-SOURCE: CL 18995738 in //UE5/Release-5.0/... via CL 18996038 via CL 18996374
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18996395 by zousar shaker in ue5-main branch]
2022-02-15 10:52:53 -05:00
zousar shaker
204349bdd1 Fix excessive thread spawning caused by name resolving of "localhost" at high frequency by the Zen stats code.
Re-use Curl request when gathering stats.  Rate limit it to no more than 2/second.  Still keeping it synchronous and blocking for now.
Avoid using "localhost" and prefer the IPV6 loopback address of [::1] to avoid name resolution penalty for localhost.
Keep DNS cache in Curl permanently for a given request.

#rb devin.doucette
#jira UE-142437
#preflight 620a7d7b6e5d06a542963178

#ROBOMERGE-AUTHOR: zousar.shaker
#ROBOMERGE-SOURCE: CL 18980515 in //UE5/Release-5.0/... via CL 18980843 via CL 18981187
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18981362 by zousar shaker in ue5-main branch]
2022-02-14 12:19:59 -05:00
Martin Ridgers
277e8c810e Moved lock file existence checks into a function. Implemented lock testing and lock file reading for POSIX-based platforms.
#rb zs
#rnx
#preflight 6204d2b3a8129f65b75563bc

[CL 18933249 by Martin Ridgers in ue5-main branch]
2022-02-10 03:58:29 -05:00
Martin Ridgers
11809b49b1 Fixed unresolved symbol errors. An inlined and exported function is very portable. MSVC respects the export, while Apple Clang favours the inline and fails on symbols the inlined body references that aren't exported.
#rb zs
#rnx
#preflight 6204cc3ca8129f65b755250a

[CL 18933112 by Martin Ridgers in ue5-main branch]
2022-02-10 03:30:55 -05:00
Martin Ridgers
a14893efb5 Implementation of the set side of Zen's NamedEvent for Linux and Mac.
#rnx
#rb zs
#preflight 6201155b6f05911039b7a56b

[CL 18884380 by Martin Ridgers in ue5-main branch]
2022-02-07 07:56:00 -05:00
Martin Ridgers
6ed0f035cf Incorrect variable name in POSIX #if/def block.
#rb trivial
#preflight none
#rnx
#rb zs

[CL 18884365 by Martin Ridgers in ue5-main branch]
2022-02-07 07:53:22 -05:00
zousar shaker
45ee13242b Fix bug with ZenServer AutoLaunch port being inlined into each module. Also fixed failure to distinguish between "did not launch" and "taking long to be ready" outcomes in Zen AutoLaunch.
#rb devin.doucette
#preflight 61f16969fc74f46b563e6665

#ROBOMERGE-AUTHOR: zousar.shaker
#ROBOMERGE-SOURCE: CL 18735750 in //UE5/Release-5.0/... via CL 18735757 via CL 18735889
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18735954 by zousar shaker in ue5-main branch]
2022-01-26 10:54:48 -05:00
per larsson
79eaa40564 Zen - updated stats response to match new Zen server binaries
#rb none
#preflight 61f1025194538e370a7b6409

#ROBOMERGE-AUTHOR: per.larsson
#ROBOMERGE-SOURCE: CL 18733465 in //UE5/Release-5.0/... via CL 18733468 via CL 18733479
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18733482 by per larsson in ue5-main branch]
2022-01-26 04:28:28 -05:00
per larsson
24a854e5f7 Support cooking to remote Zen server
#rb none
#preflight 61ea791ae71cba4d253c6919
#rnx

#ROBOMERGE-AUTHOR: per.larsson
#ROBOMERGE-SOURCE: CL 18687394 in //UE5/Release-5.0/... via CL 18687401 via CL 18687404
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v902-18672795)

[CL 18687410 by per larsson in ue5-main branch]
2022-01-21 04:24:08 -05:00
zousar shaker
072063f976 Remove coded special handling for build machines and lifetime limitation of ZenServer. Instead have build scripts that want that behavior explicitly specify it as an INI override on the commandline. Misc fixes to commandline and path consistency when launching ZenServer.
#rb devin.doucette
#preflight 61e88fb5b875abaf33357586

#ROBOMERGE-AUTHOR: zousar.shaker
#ROBOMERGE-SOURCE: CL 18667349 in //UE5/Release-5.0/... via CL 18667373 via CL 18668165
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v901-18665521)

[CL 18668332 by zousar shaker in ue5-main branch]
2022-01-19 18:28:03 -05:00
zousar shaker
b39b133fa8 Autolaunch fixes ahead of wider ZenServer usage/rollout:
-Enable ZenServer GC on 6 hour interval when autolaunching ZenServer
-Change default ZenServer data path to be C:\ProgramData\Epic\Zen
-Ensure when commandline changes that ZenServer is re-launched by the autolauncher
-Handle possibility of existing ZenServer being on the same port but at different data directory than the desired autolaunch target
-Handle possibility of existing ZenServer being at same data data directory but different port than the desired autolaunch target

#rb devin.doucette
#preflight 61df060bff67b6fe7abbd7a8

#ROBOMERGE-AUTHOR: zousar.shaker
#ROBOMERGE-SOURCE: CL 18585837 in //UE5/Release-5.0/... via CL 18585864 via CL 18585882
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18585919 by zousar shaker in ue5-main branch]
2022-01-12 12:05:55 -05:00
zousar shaker
7c93cc7d71 Ensure that zenserver is launched in ASIO mode even for licensee configurations. Avoid forced persistence of the zen data path.
#jira UE-136192
#rb devin.doucette
#preflight 61d76137932a02483cd8c2fd

#ROBOMERGE-AUTHOR: zousar.shaker
#ROBOMERGE-SOURCE: CL 18536337 in //UE5/Release-5.0/... via CL 18536358
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18536364 by zousar shaker in ue5-release-engine-test branch]
2022-01-06 16:50:22 -05:00
mark lintott
c8df4e3e4c Updated Zen Dashbaord and Zen Stats for latest Zen Server API changes.
Removed ZenCacheStatistics from the DDC Editor Module as it is no longer required
#rb trivial
[FYI] per.larsson, devin.doucette
#preflight 61d58abec65e66487b1b2384

#ROBOMERGE-AUTHOR: mark.lintott
#ROBOMERGE-SOURCE: CL 18517627 in //UE5/Release-5.0/... via CL 18517629
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18517632 by mark lintott in ue5-release-engine-test branch]
2022-01-05 07:15:55 -05:00
devin doucette
a4c3b2cf75 Replaced use of TStringView::SizeType with int32 or equivalent casts
SizeType will be deprecated in a subsequent change.

#rb Zousar.Shaker
#rnx
#preflight 61b8dde95d1b7767a13a5a70

#ROBOMERGE-AUTHOR: devin.doucette
#ROBOMERGE-SOURCE: CL 18456907 in //UE5/Release-5.0/... via CL 18456915
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v898-18417669)

[CL 18456926 by devin doucette in ue5-release-engine-test branch]
2021-12-14 14:07:35 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00