71 Commits

Author SHA1 Message Date
Ryan Hummer
4af2fd066d Updating Dev-Release-5.5 from Main at CL #36144969
#okforversepublic

[CL 36146571 by Ryan Hummer in Dev-5.5 branch]
2024-09-10 10:26:02 -04:00
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
6d2e0584fe [UBA]
* Fixed mac unit test compile error

[CL 35911895 by henrik karlsson in ue5-main branch]
2024-08-29 21:10:09 -04:00
henrik karlsson
69d6f5aec6 [UBA]
* Added disabled code for testing code that get macos binary dylib dependency list

[CL 35899548 by henrik karlsson in ue5-main branch]
2024-08-29 12:57:13 -04:00
henrik karlsson
4ebc532c56 [UBA]
* Added stubs and code to parse mac binaries for dependencies

[CL 35855815 by henrik karlsson in ue5-main branch]
2024-08-28 02:41:57 -04:00
henrik karlsson
a146ebe918 [UBA]
* Added support for including log lines in cache entries. Design is based on that the log lines are the same most of the time and we store a shared log line per cache key that is part of the response when requesting cache entries for a key. If entries have different log lines inside the same key we will receive those as part of the ReportUsedEntry message.
* Fixed linux arm compile error

[CL 35145540 by henrik karlsson in ue5-main branch]
2024-07-29 13:48:36 -04:00
henrik karlsson
e410fa82e8 [UBA]
* Added support for huge pages in MemoryBlock
* Changed so UbaCacheService tries to use huge pages for maintenance work.

[CL 35119518 by henrik karlsson in ue5-main branch]
2024-07-26 16:44:00 -04:00
henrik karlsson
40ef33bfa2 [UBA]
* Fixed file attributes bug for posix platforms
* Added so unit test output detoured process log when failing

[CL 34396672 by henrik karlsson in ue5-main branch]
2024-06-15 13:59:50 -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
dae1ab42db [Uba]
* Changed Config GetTable to return a pointer that can be null if table does not exist

[CL 34393645 by henrik karlsson in ue5-main branch]
2024-06-15 01:11:17 -04:00
henrik karlsson
7647b785f2 [UBA]
* Added support for strings and comments in config files
* Added tests
* Fixed for uba to work integrated in other programs (proper dll exports)
* Added process id to process info in visualizer

[CL 34364596 by henrik karlsson in ue5-main branch]
2024-06-14 02:35:27 -04:00
henrik karlsson
8c85877ceb [UBA]
* Fixed openssl crypto paths.. was not taking block size into account for AES

[CL 34261916 by henrik karlsson in ue5-main branch]
2024-06-10 20:19:11 -04:00
henrik karlsson
8c9338ae7d [UBA]
* Added crypto support on linux/macos

[CL 34178423 by henrik karlsson in ue5-main branch]
2024-06-06 18:18:18 -04:00
henrik karlsson
000bde8513 [UBA]
* Added very basic solution for loading a config file. There are lots of internal things that we want to be able to config without having to release new binaries all the time
* Added CacheClientCreateInfo support for config file

[CL 34163080 by henrik karlsson in ue5-main branch]
2024-06-06 13:00:09 -04:00
henrik karlsson
e01c4e0b1c [UBA]
* Added directory preparsing in UbaCacheClient where it parse the entire folder when needing the hash of a file

[CL 34060027 by henrik karlsson in ue5-main branch]
2024-06-03 01:31:27 -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
ef41a5b583 [UBA]
* Changed so posix targets use clock_gettime(CLOCK_MONOTONIC, x) instead of gettimeofday in order to make sure time is always showing increasing number (and I guess it is more accurate)

[CL 34048427 by henrik karlsson in ue5-main branch]
2024-05-31 18:08:19 -04:00
henrik karlsson
06435d3e64 [UBA]
* Fixed compile error in test code

[CL 34032784 by henrik karlsson in ue5-main branch]
2024-05-31 11:07:06 -04:00
henrik karlsson
1273801622 [UBA]
* Added -expiration=<seconds> to UbaCacheService.. This controls when cache entries should be deleted. If an entry has been unused for more than <expiration> time it gets deleted. Defaults to two days.
* Added reason why cache entries are deleted
* Changed so cas database is always checked in startup.

[CL 33963630 by henrik karlsson in ue5-main branch]
2024-05-29 01:07:06 -04:00
henrik karlsson
b4dd48e03b [UBA]
* Changed algorithm for updating input offsets on cache entries in an attempt to make it faster when there are lots of entries on the same key
* Added unit tests

[CL 33948602 by henrik karlsson in ue5-main branch]
2024-05-28 15:06:16 -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
bdde46c54d [UBA]
* Fixed so unit tests are creating the UbaTest dir first to make sure it exists when tests start

[CL 33471832 by henrik karlsson in ue5-main branch]
2024-05-06 17:40:06 -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
d6cab679ff [UBA]
* Added header to compressed obj files containing the cas key of the compressed file
* Fixed so compressed obj files work with cache system

[CL 33236459 by henrik karlsson in ue5-main branch]
2024-04-25 13:10:20 -04:00
laura hermanns
8477cdd7a9 [UBA] Use new Horde API to retrieve server URL and replace OIDC token login.
This unifies the Horde agent connection in the UbaController and avoids a custom configuration for the Horde server.

#rnx
#rb Ben.Marsh, henrik.karlsson
[FYI] Ryan.Hummer

[CL 33149289 by laura hermanns in ue5-main branch]
2024-04-22 16:03:33 -04:00