Граф коммитов

5149 Коммитов

Автор SHA1 Сообщение Дата
Aleksandar Milicevic 7a24e94bee Merged PR 672070: Reuse get_mode 2022-07-27 22:22:42 +00:00
Sahiti Chandramouli 00c7a87c3f Merged PR 671092: Changes for build entity property for BXL telemetry.
Added buildEntity property to gather information about the build queue(CB env) and build pipeline(ADO env).
In CB this information is obtained from "cloudBuildQueue"  name passed via traceInfo
In ADO this information is obtained from the ADO predefined variable "SYSTEM_DEFINITIONID".
Added two unit test cases, one to test if the changes are effective in ADO environment.
The other is to test the changes for a CB environment and also to check if the user passed value overrides the ADO set value or not.
Used the name "buildEntity" to represent both build queue and build pipeline. But suggestions are welcomed.
Another thought here is that. Since we already have **cloudBuildQueue** as a part of the env string in the telemetry. Would it be enough to just add another property called **pipeline** to represent this information for ADO. That way we can avoid duplication of information if it is CloudBuild.

Related work items: #1948523
2022-07-27 22:00:25 +00:00
Serge Mera 5578856a34 Merged PR 671891: Track source rewrites on Linux
Make sure we produce the same special sandbox event on both Windows and Linux when a source rewrite is detected. Enable related unit tests for Linux as well.
2022-07-26 22:35:48 +00:00
Shuvrajit Mukherjee 246b672d31 Merged PR 670962: Copy cancellation based on Network Copy Speed
Currently copy speed is calculated based on the number of bytes copied in a certain interval. This interval includes both network and disk copy. We want to cancel a copy if network is slow, not if disk is busy. To achieve that we need to compute network copy speed.

Related work items: #1959303
2022-07-25 23:14:42 +00:00
Pasindu Gunasekara 🍣 9ca5beb122 Merged PR 671800: Update uris for credential provider
Uris were changed by https://dev.azure.com/mseng/Domino/_git/BuildXL.Internal/pullrequest/668176. Old uris left for compatibility with older commits of the repo.
2022-07-25 18:46:56 +00:00
CloudDev Build Account 08638933df New LKG 0.1.0-20220721.4
[skip ci]
2022-07-22 17:29:49 +00:00
CloudDev Build Account fbed0d8d8f New LKG 0.1.0-20220719.3
[skip ci]
2022-07-22 05:39:22 +00:00
Pasindu Gunasekara 🍣 86126b6b3c Merged PR 671531: Untrack Nuget downloader
Untracks the nuget downloader executable because for some reason the tool seems to have a different hash on different LKGs without any changes.

Related work items: #1965295
2022-07-21 23:01:15 +00:00
Lance Collins 6d74f5fbb4 Merged PR 671437: Preferred partition eviction strategy
Add eviction strategy where one partition of content is preferred for eviction in a particular time interval. This essentially throttles the removal of replicated content from the universe so that all replicas will not be evicted within a short time window.
2022-07-21 22:33:53 +00:00
Lance Collins a667090b4a Merged PR 671494: Allow partial download in launcher.
Allow partial download in launcher.
2022-07-21 21:25:49 +00:00
Julian Bayardo 25c0df1a8d Merged PR 671117: Upgrade drop
Upgrade drop

Reverts !670396

Reverts !670874
2022-07-21 18:23:59 +00:00
Serge Mera 165a7dfe12 Merged PR 671388: Untrack WindowsApp for downloader tool
Untrack WindowsApp for downloader tool

Related work items: #1971502
2022-07-21 17:40:13 +00:00
CloudDev Build Account 3f95aaf18b New LKG 0.1.0-20220720.1
[skip ci]
2022-07-21 00:12:45 +00:00
Serge Mera f0a9d3abe9 Merged PR 671234: Disable lazy shared opaque deletion for Linux pipeline
Disable lazy shared opaque deletion for Linux pipeline since it sometimes causes DFAs on the retry run (due to known bugs, non-Linux specific)
2022-07-20 17:13:31 +00:00
Serge Mera 8fc40aae60 Merged PR 670983: Enable JS related tests on Linux
Enable JS related tests on Linux

Related work items: #1965668
2022-07-20 06:09:09 +00:00
Pasindu Gunasekara 🍣 16998d8927 Merged PR 670883: Add pipeline for automatically updating SBOM packages 2022-07-19 16:59:27 +00:00
Lance Collins 582c3f68ae Merged PR 670916: Don't assert on missing last access time.
Don't assert on missing last access time.
2022-07-18 21:30:48 +00:00
Julian Bayardo ebb01f75a1 Merged PR 670874: Revert 'Upgrade drop'
Upgrade drop

Reverts !670396
2022-07-18 18:37:05 +00:00
CloudDev Build Account beb1f8e646 New LKG 0.1.0-20220716.0
[skip ci]
2022-07-18 05:27:09 +00:00
Lance Collins e6494c9af5 Merged PR 669820: Add configuration constraint which allows rolling out changes to a percentage of machines.
Add configuration constraint which allows rolling out changes to a percentage of machines.
2022-07-16 18:34:34 +00:00
CloudDev Build Account 9a78e08a21 New LKG 0.1.0-20220715.3
[skip ci]
2022-07-16 04:56:37 +00:00
Iman Narasamdya bc13f5347e Merged PR 670755: [BXL-Remoting][AnyBuild] Fix powershell process lauch for AnyBuild installation
Some BXL remoting users cannot install AnyBuild through BXL because powershell cannot be found; for some reason.

Running it within cmd will use cmd itself to look for the path.
2022-07-16 00:57:29 +00:00
Sergey Tepliakov ee5b22de6d Merged PR 670728: Register content on put eagerly 2022-07-15 22:37:45 +00:00
Lance Collins f90601fe1c Merged PR 670716: Fix merge operators.
Fix merge operators.
2022-07-15 21:19:39 +00:00
Sahiti Chandramouli cb19861c54 Merged PR 670363: Changes for code base property for BXL telemetry
Added codebase property to gather information about the branch triggering the build.
In CB this information is passed through traceinfo.
In ADO this information is extracted from the predefined variable "BUILD_REPOSITORY_NAME".
Added two unit test cases, one to test if the changes are effective in the ADO environment.
The other is to test the changes for a CB environment and also to check if the user passed value overrides the ADO set value or not.

Related work items: #1954489
2022-07-15 20:02:32 +00:00
Juan Carlos Guzman Islas 84a55da3da Merged PR 670670: Don't invalidate cache files when failing to disable inheritance.
Don't invalidate cache files when failing to disable inheritance.

When validating changes in Ring_0, saw that we were invalidating a bunch of files because we were failing with this:

SelfCheck: Found invalid entry in cache. Hash=VSO0:38EE1C131611B85315AB98. Failed to disable inheritance for file D:\dbs\Cache\ContentAddressableStore\Shared\VSO0\38E\38EE1C131611B85315AB98EC185A3BCB4571DC8A19B23BD86262630637FFEAA200.blob, Error=System.IO.FileNotFoundException: D:\dbs\Cache\ContentAddressableStore\Shared\VSO0\38E\38EE1C131611B85315AB98EC185A3BCB4571DC8A19B23BD86262630637FFEAA200.blob
   at System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
   at System.IO.FileSystemAclExtensions.GetAccessControl(FileInfo fileInfo, AccessControlSections includeSections)
   at BuildXL.Native.IO.Windows.FileUtilitiesWin.IsAclInheritanceDisabled(String path) in \.\Public\Src\Utilities\Native\IO\Windows\FileUtilities.Win.cs:line 2378
   at BuildXL.Cache.ContentStore.Stores.FileSystemContentStoreInternalChecker.ValidateFileAsync(Context context, ContentHash expectedHash, FileInfo fileInfo) in \.\Public\Src\Cache\ContentStore\Library\Stores\FileSystemContentStoreInternalChecker.cs:line 373. Evicting the file...
2022-07-15 17:13:07 +00:00
CloudDev Build Account ef8b7f4191 New LKG 0.1.0-20220712.4
[skip ci]
2022-07-15 05:45:53 +00:00
CloudDev Build Account 2ae60854b9 New LKG 0.1.0-20220714.3
[skip ci]
2022-07-15 05:27:51 +00:00
CloudDev Build Account a2c1d40cae New LKG 0.1.0-20220711.3
[skip ci]
2022-07-15 05:08:45 +00:00
CloudDev Build Account 3932454801 New LKG 0.1.0-20220713.1
[skip ci]
2022-07-15 04:49:48 +00:00
Oleksii Kononenko 9d2f00a9ee Merged PR 669607: Some improvements to logging in daemons
Make some logging in daemons use pooled StringBuilders to cut down on string allocations that are causing high mem usage.

Related work items: #1962567, #1965658
2022-07-15 00:18:33 +00:00
Oleksii Kononenko 6aabc7cc17 Merged PR 670576: Enable daemon telemetry by default
Enable daemon telemetry by default
2022-07-14 23:27:54 +00:00
Julian Bayardo d11fdb4bbb Merged PR 670396: Upgrade drop
Upgrade drop
2022-07-14 22:36:54 +00:00
Semih Okur 4713719771 Merged PR 670294: Updated Release-Notes.md 2022-07-14 16:09:06 +00:00
CloudDev Build Account 24704d82b9 New LKG 0.1.0-20220713.2
[skip ci]
2022-07-14 03:40:24 +00:00
Marcelo Lynch 🧉 ef5427d138 Merged PR 670336: Separate IPC interfaces/common classes and IPC providers in different assemblies
Decouple IPC interfaces and common classes from IPC providers. This reduces the dependency on ASP.NET packages to only our modules that really need to instantiate an IPC provider.
2022-07-13 22:17:27 +00:00
Serge Mera 6c18e3ea75 Merged PR 669995: Honor execution permissions on Linux on cache replay
Honor execution permissions on Linux on cache replay and when storing outputs to the cache

Related work items: #1965669
2022-07-13 20:23:22 +00:00
Semih Okur 18130a7c93 Merged PR 670177: Delete directory symlinks under opaque directories 2022-07-13 17:31:46 +00:00
CloudDev Build Account 621e5a4f27 New LKG 0.1.0-20220711.4.2
[skip ci]
2022-07-13 03:59:31 +00:00
Semih Okur ea650282a8 Merged PR 670161: RpcException is swallowed
RpcException is thrown by grpc.net tasks when some of the new features are used (keepalive, load-balancer). The grpc.net is fixing some of them, but it will probably take some time.

 One example:
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Status(StatusCode="DeadlineExceeded", Detail="Deadline Exceeded"))
 ---> Grpc.Core.RpcException: Status(StatusCode="DeadlineExceeded", Detail="Deadline Exceeded")
   --- End of inner exception stack trace ---
2022-07-13 01:05:28 +00:00
Sergey Tepliakov caa909a6fc Merged PR 668006: Trace machine id to location mapping more explicitly
Trace machine id to location mapping more explicitly
2022-07-12 21:01:26 +00:00
Marcelo Lynch 🧉 3fb11775af Merged PR 670021: Include UTC timestamps when logging distribution events
Include UTC timestamps when logging distribution events
2022-07-12 18:46:41 +00:00
CloudDev Build Account 67adda6fb3 New LKG 0.1.0-20220711.4
[skip ci]
2022-07-12 02:45:11 +00:00
Sahiti Chandramouli c63fa1d04f Merged PR 667983: PR for Build Property org
Added a buildProperty called org to capture the information related to the organization triggering the build.
Added unit tests to check if the right org information is being extracted from the URL or not.
Added some other changes to remove repetitive code.

Related work items: #1954481
2022-07-11 23:25:31 +00:00
Marcelo Lynch 🧉 3bf2a35111 Merged PR 669962: Wrap continuation with try/catch in grpc server interceptor to log unexpected...
Wrap continuation with try/catch in grpc server interceptor to log unexpected exceptions
2022-07-11 22:02:36 +00:00
CloudDev Build Account cbd27eaeab New LKG 0.1.0-20220711.2
[skip ci]
2022-07-11 21:33:39 +00:00
Iman Narasamdya 4679e7cd81 Merged PR 669803: [VM] Introduce temp folder shared by pips executed in VM
When pips are executed in VM, some tools cannot be executed with `net use`, and thus those tools need to be copied to a temporary location in the VM. The pip can use its specified temp folder as this temporary location. But since pips's temp folder is usually unique, it means that the same tool will be copied multiple times to the VM if there are multiple pips needing that tool. Not only that it will degrades performance, the VM will run out of space quickly because it has many pips running there at the same time, and all of them need a large tool.

With this shared temp folder, one pip can copy the tool once, and other pips can simply reuse it.
2022-07-09 02:53:08 +00:00
Semih Okur ed4dd50e67 Merged PR 669738: Update grpc packages
Update grpc packages
2022-07-09 00:51:16 +00:00
John Erickson 6c11ceff0f Merged PR 668176: Remove or elide unnecessary L3 pins
* SkipExtraPins now avoid pinning to L3 for WriteFilePip
* ImplicitPin on L3 pins right before calling GET, so it's not necessary
* Add Selector's ContentHash to the expiry cache

With these changes, I get GET-only L3 consumption when `/historicMetadataCache-` is specified.
2022-07-08 22:47:13 +00:00
CloudDev Build Account a32569f5f5 New LKG 0.1.0-20220701.3
[skip ci]
2022-07-08 05:53:45 +00:00