69 Commits

Author SHA1 Message Date
henrik karlsson
500480981e [UBA]
* Fixed so MoveFile/CopyFile works with child processes. Now parent's "writtenfiles" is read from child process upon start
* Fixed some bugs related to spawning child processes with poorly formatted paths
* Fixed hang if parent process crashes after starting child process

[CL 35982637 by henrik karlsson in ue5-main branch]
2024-09-03 17:11:48 -04:00
henrik karlsson
c7d6545402 [UBA]
* Added HostRun command which can be used to send commands from remotes to host. command will return stdout

[CL 35946269 by henrik karlsson in ue5-main branch]
2024-08-30 22:52:40 -04:00
henrik karlsson
8d98ff6120 [UBA]
* Added support for sending loader paths through GetFullFilename logic

[CL 35909987 by henrik karlsson in ue5-main branch]
2024-08-29 19:28:38 -04:00
henrik karlsson
3663544cc6 [UBA]
* Implemented detoured mkdir and rmdir for posix
* Added unit tests

[CL 35852050 by henrik karlsson in ue5-main branch]
2024-08-28 00:48:26 -04:00
henrik karlsson
2f9d0210aa [UBA]
* Fixed exit time stats for remote processes

[CL 35732533 by henrik karlsson in ue5-main branch]
2024-08-22 01:31:17 -04:00
henrik karlsson
e29818bdf4 [UBA]
* Fixed so agent populates cas after it has started the session.. this in order to prevent timeouts after connecting if populating cas from local path takes a long time

[CL 35728234 by henrik karlsson in ue5-main branch]
2024-08-21 19:56:16 -04:00
henrik karlsson
0f1902875f [UBA]
* Attempt at fixing what seems like deadlock in the directory table update in session clients. Theory being that if response from server is out of order and message capacity is exactly the same as the remainding size of directory table we end up with a thread timing out.. and the code did not clean up the linked list properly on timeout so anything could go wrong after that
* Changed some asserts to errors to make sure they happen in shipping builds too

[CL 35432040 by henrik karlsson in ue5-main branch]
2024-08-09 15:08:14 -04:00
henrik karlsson
ef9f400171 [UBA]
* Changed so all remote processes that fails that have a failed message will send back for retry

[CL 35349174 by henrik karlsson in ue5-main branch]
2024-08-06 15:16:58 -04:00
henrik karlsson
266631baeb [UBA]
* Fixed some logging
* Added check for "isdone" inside lock in cancel call in case done message has already been sent

[CL 35255102 by henrik karlsson in ue5-main branch]
2024-08-01 16:00:15 -04:00
henrik karlsson
7cc1ae3ddc [UBA]
* Added so client session waits for processes to flush before exiting

[CL 35003539 by henrik karlsson in ue5-main branch]
2024-07-22 18:00:44 -04:00
henrik karlsson
88e6f424f7 [UBA]
* Fixed naming of log files when produced by remote sessions. Now suffix is using process id instead of counter number
* Removed m_id from Session (not used)
* Added so Scheduler MaxLocalProcessors can be controlled from config files

[CL 34781250 by henrik karlsson in ue5-main branch]
2024-07-07 15:08:15 -04:00
henrik karlsson
81920d7856 [UBA]
* Fixed validation code in scheduler for process reuse
* Moved all code inside ServerSession::HandleMessage into one function per message to more easily be able to read callstacks
* Added more validation around missing file errors.. now server logs out lots of information too

[CL 34414815 by henrik karlsson in ue5-main branch]
2024-06-17 02:02:04 -04:00
henrik karlsson
07e85ed2d9 [UBA]
* Added so path environment variable is networked over to helper. Needed when programs do their own search to find executable from name

[CL 34393859 by henrik karlsson in ue5-main branch]
2024-06-15 01:59:17 -04:00
henrik karlsson
339e9c9d52 [UBA]
* Added more code to be able to diagnose rare issue on the farm

[CL 34393839 by henrik karlsson in ue5-main branch]
2024-06-15 01:57:17 -04:00
henrik karlsson
978134e2bf [UBA]
* Changed so ProcessStartupInfoHolder inherits from ProcessStartupInfo

[CL 34393813 by henrik karlsson in ue5-main branch]
2024-06-15 01:56:18 -04:00
henrik karlsson
d97e1a534e [UBA]
* Added tests for Create/Remove directory
* Misc small cleanups

[CL 34393738 by henrik karlsson in ue5-main branch]
2024-06-15 01:29:18 -04:00
henrik karlsson
4ae98f4792 [UBA]
* Added support for GetLongPathName and RemoveDirectory for remote helpers

[CL 34393494 by henrik karlsson in ue5-main branch]
2024-06-15 00:37:17 -04:00
henrik karlsson
fdd2fd52c4 [UBA]
* Renamed system stats to kernel stats
* Changed all stats storing to use bitfield first to say which fields that are non-zero

[CL 34058881 by henrik karlsson in ue5-main branch]
2024-06-02 18:14:50 -04:00
henrik karlsson
502a9e44e2 [UBA]
* Added StringView type and replaced a ton of string+stringLen to StringView
* Fixed bug in obj file preloader.
* Fixed so clang targets can used compressed obj files
* Fixed bug in cache client when entry count is zero
* Added magic to compressed obj file header to be able to see if an obj file is compressed or not
* Moved ParseArguments to its own file and added so it can handle both char and wchar

[CL 33933853 by henrik karlsson in ue5-main branch]
2024-05-27 23:22:26 -04:00
henrik karlsson
22767fb360 [UBA]
* Improved error message on session client when failing to upload file to server

[CL 33642344 by henrik karlsson in ue5-main branch]
2024-05-14 20:26:45 -04:00
henrik karlsson
9ed810f4c8 [UBA]
* Fixed so additional error logging for missing files is not including files that does not match name

[CL 33579258 by henrik karlsson in ue5-main branch]
2024-05-10 12:56:21 -04:00
henrik karlsson
48cfe3206c [UBA]
* Fixed code related to process reuse. It was not resetting variables properly
* Added support for detoured SHGetKnownFolderPath
* Fixed so logs for remote child processes are networked over to server when remoteLogs are enabled
* Improved some assert messages
* Fixed some binaryreaderwriter mismatches (they where harmless, just caused asserts)
* Fixed so local system temp folder can always be found when recursing from root to system temp. This is a horrible hack because it could cause bad conflicts between host file system and helper file system.. but solves current problems
* Moved removal of \\?\ into FixPath

[CL 33517723 by henrik karlsson in ue5-main branch]
2024-05-08 12:53:11 -04:00
henrik karlsson
b7e3cef7bf [UBA]
* Added retry code for when failing to decompress cas file to memory on client.. it could be that cas file is corrupt so we delete the file and re-download it.
* Made CheckCasFiles parallel
* Fixed so CheckCasFiles check all files that was created after .isRunning was created to see that their content look valid
* Added time to log when correcting/validation cas store

[CL 33390412 by henrik karlsson in ue5-main branch]
2024-05-02 00:46:58 -04:00
henrik karlsson
3756c4828b [UBA]
* Added more info to logging trying to catch bug where header files are not "found" remotely

[CL 33377278 by henrik karlsson in ue5-main branch]
2024-05-01 13:58:08 -04:00
henrik karlsson
23db012ceb [UBA]
* Added more logging information when farm gets a include not found error. This is temporary and will be deleted once we have figured out why this can happen now and then.

[CL 33368684 by henrik karlsson in ue5-main branch]
2024-05-01 02:26:42 -04:00