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

6912 Коммитов

Автор SHA1 Сообщение Дата
Serge Mera 0da1617986 Merged PR 766138: Fix target framework for cache service deployment
This sounds like an issue introduced when we changed the default qualifier
2024-02-07 22:35:56 +00:00
Oleksii Kononenko 6b36d4e569 Merged PR 765946: Don't log full message payload received by ApiServer
Don't log full message payload received by ApiServer

Related work items: #2136657
2024-02-07 22:28:41 +00:00
Serge Mera 3f7067534f Merged PR 765884: DScript spec cleanup
Re-applies original clean up waves: https://dev.azure.com/mseng/Domino/_git/BuildXL.Internal/pullrequest/765540 and https://dev.azure.com/mseng/Domino/_git/BuildXL.Internal/pullrequest/763864, plus a fix for the VBCS compiler logger that ocurred in some QB queues using an old VS installation
2024-02-07 22:11:01 +00:00
Serge Mera 3771641eea Merged PR 766118: Turning off RequireGlobalDependencies should make it to the weak fingerprint
Turning off RequireGlobalDependencies should make it to the weak fingerprint

Related work items: #2147120
2024-02-07 21:47:08 +00:00
Qi Wang 8aeb872b3c Merged PR 765883: Untrack codeql temp dir from nugetdownloader
use passed environment variable to untrack code temp dir.
globalUntrackedScopes causes rolling build failure.
2024-02-07 21:13:23 +00:00
Oleksii Kononenko 1f4f6a9eb7 Merged PR 765942: Treat symbol request already exists as a user error.
Treat symbol request already exists as a user error.

Related work items: #2129493
2024-02-07 18:10:32 +00:00
Oleksii Kononenko 27a84295a9 Merged PR 765932: SymbolD indexer should ignore absent files.
SymbolD indexer should ignore absent files.

Related work items: #2143366
2024-02-07 17:47:51 +00:00
Marcelo Lynch 🧉 3312ae674d Merged PR 765834: [Rolling pipeline] 'Populate dev cache' job should have continueOnError: true
[Rolling pipeline] 'Populate dev cache' job should have continueOnError: true
2024-02-06 23:38:56 +00:00
Serge Mera 6adced4b24 Merged PR 765830: Revert "Merged PR 765318: Untrack codeql temp dir from nugetdownloader"
Revert "Merged PR 765318: Untrack codeql temp dir from nugetdownloader"

This reverts commit d5136405b5.
2024-02-06 22:23:49 +00:00
Serge Mera 186dc379d0 Merged PR 765772: Revert DSCript cleanup
This caused some deployment issues in CB, and there is a hot fix that CB needs that got trapped in between cleanup waves. Reverting so CB can get unblocked.
2024-02-06 19:59:15 +00:00
Qi Wang d5136405b5 Merged PR 765318: Untrack codeql temp dir from nugetdownloader
Untrack codeql temp dir from nugetdownloader
NugetDownloader don't get the gloablUntrackedScopes. Let nugetdownlaoder get the codeql path from environment and untrack it

Related work items: #2133978
2024-02-06 19:50:48 +00:00
Julian Bayardo 0737ed1c3e Merged PR 765621: Enable parallel downloads and uploads in Blob L3
This PR enables parallel download / uploads of blobs by setting the appropriate options in the storage SDK
2024-02-06 19:12:20 +00:00
Iman Narasamdya d8d28e49e6 Merged PR 765572: Tidy up method for setting execute file permission
The use of Try* prefix for `TrySetExecutePermissionIfNeeded` is confusing. Typically, Try method returns simply `bool` where the `false` value indicate that the action is not successful.

In the case of `TrySetExecutePermissionIfNeeded`, the return value of `true` and `false` have some meanings, i.e., whether `chmod` may be called or not. So, the use of Try prefix is inappropriate here.

Also:
- Simplify method signatures in LocalDiskContentStore.
2024-02-06 00:24:23 +00:00
Sahiti Chandramouli 5b4bb2ae7a Merged PR 765577: Pull Request 765568: Remove the runWithUntrackedDependencies from Test.BuildXL.Utilities dll
Removed the flag runWithUntrackedDependencies from all the corresponding dll's under Utilities.
2024-02-05 23:59:06 +00:00
Serge Mera 384b078e44 Merged PR 765540: DScript spec cleanup wave 2 (with net6 fix)
* Removed now unnecessary 'dependentPackageIdsToSkip'
* Removed remaining unnecessary 'withQualifier' and the general netstandard2.0 forcing that happened on cache specs side
* Reorganized asptnetcore assembly references. This could be simplified further in the future, but now it is more self-contained.
* Some other minor cleanups

Next step is trying to make sure dependency versions are the right ones and try to turn on the flag that enforces this from the nuget resolver.
2024-02-05 22:04:51 +00:00
Marcelo Lynch 🧉 44c3b79200 Merged PR 765509: Small fix for cache miss key selection telemetry
Small fix for cache miss selection telemetry
2024-02-05 20:08:31 +00:00
Julian Bayardo e311b79313 Merged PR 765496: Revert "Merged PR 765049: DScript spec cleanup wave 2
Revert "Merged PR 765049: DScript spec cleanup wave 2

* Removed now unnecessary 'dependentPackageIdsToSkip'
* Removed remaining unnecessary 'withQualifier' and the general netstandard2.0 forcing that happened on cache specs side
* Reorganized asptnetcore assembly references. This could be simplified further in the future, but now it is more self-contained.
* Some other minor cleanups

Next step is trying to make sure dependency versions are the right ones and try to turn on the flag that enforces this from the nuget resolver."

Reverted commit `2b01690d`.
2024-02-05 19:36:38 +00:00
Marcelo Lynch 🧉 e61c1b15e5 Merged PR 764183: Demarcate external validation and remove access to internal secrets
Rename references to "public" to "external" for the builds that run with `microsoftInternal=0`, meant for external publishing and consumption. Additionally, remove the visibility of the secrets that are used to access internal resources in the jobs that are building and testing these external bits.

Related work items: #2140170
2024-02-05 18:37:34 +00:00
CloudDev Build Account fb9c8f63f0 New LKG 0.1.0-20240202.1
[skip ci]
2024-02-05 18:29:27 +00:00
Julian Bayardo d0b66a3cc0 Merged PR 765078: Remove connection timeout from GrpcChannelFactory 2024-02-05 17:49:52 +00:00
Serge Mera 2b01690d41 Merged PR 765049: DScript spec cleanup wave 2
* Removed now unnecessary 'dependentPackageIdsToSkip'
* Removed remaining unnecessary 'withQualifier' and the general netstandard2.0 forcing that happened on cache specs side
* Reorganized asptnetcore assembly references. This could be simplified further in the future, but now it is more self-contained.
* Some other minor cleanups

Next step is trying to make sure dependency versions are the right ones and try to turn on the flag that enforces this from the nuget resolver.
2024-02-05 17:49:26 +00:00
TSEBuild b4398f8097 Merge pull request 765457 from dev/BuildXL/updatepackages-2024-02-05T17-10-08 into main 2024-02-05 17:36:20 +00:00
Marcelo Lynch 🧉 25370e215d Merged PR 765084: Make violation log more generic to account for dynamic violations not reporting the proper path
For some observations we report the root process of the pip upon encountering an access violation, and this can be misleading to a user that wants to allow-list the access based on process name. This has happened in the past. This PR makes the message more generic so someone reading the message doesn't jump easily to conclusions about which specific process performed the access.
2024-02-03 00:20:57 +00:00
Marcelo Lynch 🧉 3a4df1af89 Merged PR 764381: Remove 'launchworkers' mode from AdoBuildRunner
It is not in use, and with worker stages being the recommended way to include workers there is no need to keep it around
2024-02-02 22:39:17 +00:00
CloudDev Build Account 39942469bb New LKG 0.1.0-20240131.9
[skip ci]
2024-02-02 19:01:18 +00:00
Serge Mera 2a6c56a2c8 Merged PR 763864: DScript spec cleanup
Mostly cache specs, but also touching some shared stuff:
* Unified some Nuget packages (System.Collections.Immutable, System.Memory, etc), and bumped versions to the latest. This triggered a bunch of other updates...
* Removed a lot of unnecessary 'withQualifier'
* Simplified some references by fixing the 'runtimes' folder behavior on the Nuget resolver (which forced a bunch of 'withWinRuntime' calls

More cleanup passes are possible, but those to come later
2024-02-01 22:30:56 +00:00
Julian Bayardo 69a854a55e Merged PR 764740: Avoid unnecessary rehashing in ephemeral layer
We need to always hash files when we're uploading to ensure the `ContentHash` matches that we're supposed to be uploading. However, in most code paths we're already hashing the files when inserting into the local, so we've already done a check to ensure the file hash matches. In such cases, we can avoid hashing the file twice.
2024-02-01 21:54:39 +00:00
Pasindu Gunasekara 🍣 b542074324 Merged PR 765015: Updated Release-Notes.md
Updated Release-Notes.md
2024-02-01 21:31:37 +00:00
Julian Bayardo d237a120c9 Merged PR 764819: Increase maximum connections per server 2024-02-01 01:09:25 +00:00
CloudDev Build Account acf0328f4e New LKG 0.1.0-20240130.5
[skip ci]
2024-01-31 23:25:48 +00:00
Julian Bayardo 30e512ea13 Merged PR 764783: Extend elision based on Persistent locations to Ephemeral pin 2024-01-31 23:19:49 +00:00
Julian Bayardo c3439ff700 Merged PR 764728: Address triple concurrent request failure mode
QB inserts the same file hash from 3 different paths at the exact same time. Because we don't limit concurrency per hash at the ephemeral layer, the 3 requests start at the same time.

The 1st request starts up and inserts into the local FSCS, then spends 2s uploading to Azure Storage.

The other 2 requests start up, they both fall into the optimization this PR deletes. At this point, we have: 1 request uploading, 2 other requests completed with Success to insert due to the heuristic.

Because QB deduplicates the file uploads based on hash at some layer, it decides that the target has been uploaded, and proceeds to schedule a target in a different worker.

That different worker doesn't need to check for cache hit because the targets it depends on were built on the same build, so it just proceeds to Place the content. We try to copy the file from the other workers in the build, but they all timeout (we've got extremely low timeouts here on purpose), so we fall onto storage. Because this races with the file upload, and the file upload isn't done, storage says "this doesn't exist".

We fail the build!

This failed 4 prod builds today. Please note, removing the optimization actually improves our situation:
1. The case this optimization is meant to optimize will be caught with the call to AllowPersistentPutElisionAsync, which is lock-free lookup in memory and so a _priori_ should be quite fast.
2. Calling AllowPersistentPutElision is actually what we truly want to achieve (avoiding the upload if we know it's already in storage).
3. The removal of this heuristic means we no longer need to ensure there's a unique cache location for every build. We can always re-use the same cache and the ephemeral layer won't give incorrect results.
2024-01-31 21:23:57 +00:00
Juan Carlos Guzman Islas 0308565c8a Merged PR 764725: Allows for blob cache authentication using preauthenticated URIs
In the most recent scenarios, we are giving the engines a list of URIs which include the SAS token. We should support this scenario without requiring them to parse anything.
2024-01-31 21:14:01 +00:00
Julian Bayardo 19c0dc4652 Merged PR 764714: Remove unnecessary logging when using Blob-only cache 2024-01-31 21:08:24 +00:00
Juan Carlos Guzman Islas ce064dce7a Merged PR 764457: Make sure blob cache creation blows up if a container failed to be created
Make sure blob cache creation blows up if a container failed to be created. We need to allow for the `CreateIfnotExists` call to fail in case we only have read-only permissions. However, if it failed and the container in fact does not exist, the cache should blow up. Hopes are that the engines will be able to handle this error and proceed without the remote cache in dev builds.
2024-01-31 20:03:25 +00:00
Oleksii Kononenko b0621456a9 Merged PR 761147: Enable net7 by default
Enable net7 by default

Related work items: #2119665
2024-01-31 19:49:05 +00:00
Semih Okur 1fbdad010a Merged PR 764676: Catch TaskCancelledException for stopping unknown dynamic workers
Catch TaskCancelledException for stopping unknown dynamic workers
2024-01-31 19:44:07 +00:00
Marcelo Lynch 🧉 02dbf47fa7 Merged PR 764188: Change arguments in bxl.ps1 to use new runtime cachemiss mode on ADO
Change arguments in bxl.ps1 to use new runtime cachemiss mode on ADO
2024-01-31 17:21:20 +00:00
Serge Mera 429ce72258 Merged PR 764250: Nuget 'runtimes' folder should take precedence over 'lib' or 'ref'
Nuget 'runtimes' folder should take precedence over 'lib' or 'ref'. Check https://learn.microsoft.com/en-us/nuget/create-packages/supporting-multiple-target-frameworks#Architecture-specific-folders.

Plus some packages specify the runtime architecture as 'win', which we should map to 'win-x64'.
2024-01-31 00:17:52 +00:00
Semih Okur 9306cfcc68 Merged PR 763281: Refactoring attachment logic 2024-01-30 22:20:37 +00:00
Julian Bayardo 7b4f5a9cf5 Merged PR 764397: Drastically reduce the amount of logging produced by gRPC 2024-01-30 19:42:02 +00:00
Marcelo Lynch 🧉 d7c5cb5f04 Merged PR 764217: Fix logic in WorkerService.SayHelloAsync
Fix logic in WorkerService.SayHelloAsync
2024-01-30 19:38:33 +00:00
TSEBuild 2535cde5f0 Merge pull request 764173 from dev/BuildXL/updatepackages-2024-01-29T22-13-19 into main 2024-01-30 00:03:00 +00:00
Julian Bayardo b1196a8a21 Merged PR 763666: Make gRPC clients use a single underlying connection pool
This PR:
- Makes gRPC clients use a single connection pool
- Eliminates a lot of gRPC options being passed around that aren't actually used or plumbed
- Simplifies the gRPC configuration to follow similar settings as AnyBuild does
- Gets us one step closer to enabling gRPC encryption by always enabling server-side encryption on a separate port, and allowing usage of grpcs://, https:// etc in MachineLocation to denote HTTPS connections.
- Makes all instances actually try to enable gRPC encryption on the server side. If it fails it fails, but we try

Validation: https://cloudbuild.microsoft.com/user/jubayard_20240126152912
2024-01-29 23:54:03 +00:00
Michael Pysson 7af95f3d7a Merged PR 763933: Remove dead code related to viewer
Remove dead code related to viewer
2024-01-29 23:51:09 +00:00
Pasindu Gunasekara 🍣 e0d3fe42fc Merged PR 764123: Use net8 for dependency update pipeline
Domino.ReleaseManagement also got moved to net8 recently
2024-01-29 22:06:03 +00:00
CloudDev Build Account c04654ab23 New LKG 0.1.0-20240126.13
[skip ci]
2024-01-29 20:41:40 +00:00
Sahiti Chandramouli b03547ba46 Merged PR 763688: Obtain TCP connections in the machine
Get tcp active ports(active and listening)
Used IPGlobalProperties package to use GetActiveTcpConnections() and GetActiveTcpListeners() to obtain the required information.
Ran the primary and linux validations to check for the status.csv file. Look for TCPActivePorts
Windows - https://cloudbuild.microsoft.com/build?id=600df07e-bbfa-22b1-1a87-0b9ef88a20c4&bq=BuildXL_Internal_PR
[BuildXL.status (9) (2).csv](https://dev.azure.com/mseng/9ed2c125-1cd5-4a17-886b-9d267f3a5fab/_apis/git/repositories/50d331c7-ea65-45eb-833f-0303c6c2387e/pullRequests/763688/attachments/BuildXL.status%20%289%29%20%282%29.csv)

https://cloudbuild.microsoft.com/build?id=aad2ccb5-679a-42a9-d04a-104cdff2f16b&bq=BuildXL_Internal_PR
[BuildXL.status (10).csv](https://dev.azure.com/mseng/9ed2c125-1cd5-4a17-886b-9d267f3a5fab/_apis/git/repositories/50d331c7-ea65-45eb-833f-0303c6c2387e/pullRequests/763688/attachments/BuildXL.status%20%2810%29.csv)

Linux -  https://dev.azure.com/mseng/Domino/_build/results?buildId=25923717&view=logs&j=e7020543-e8ed-5e17-1ad4-e7bb89160f58&t=a127a243-c15c-5e7c-8982-d28f3304a152
[BuildXL.status (11).csv](https://dev.azure.com/mseng/9ed2c125-1cd5-4a17-886b-9d267f3a5fab/_apis/git/repositories/50d331c7-ea65-45eb-833f-0303c6c2387e/pullRequests/763688/attachments/BuildXL.status%20%2811%29.csv)
2024-01-27 02:49:27 +00:00
Serge Mera 51dc4b154c Merged PR 763946: Enable sending cache logs to kusto for the bxl selfhost
Enable sending cache logs to kusto for the bxl selfhost
2024-01-27 02:03:54 +00:00
Marcelo Lynch 🧉 f7ef843978 Merged PR 763809: Allow unobserved 'HTTP/2 protocol error' exceptions
Related work items: #2142528
2024-01-27 00:20:37 +00:00