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

7503 Коммитов

Автор SHA1 Сообщение Дата
Serge Mera 13a1511660 Merged PR 800494: Do not try to decrypt build cache configuration files
Do not try to decrypt build cache configuration files
2024-08-15 23:29:53 +00:00
Serge Mera 97f8f16345 Merged PR 800482: Do not try to flush page cache to filesystem for copy file pip sources
Flushing changes to the filesystem are intended for just-produced outputs. Do not attempt to do that for the source of a copy file pip when tracking a potential symlink chain. That may conflict with an attempt to hash a source file and throw a sharing violation.

Related work items: #2203343
2024-08-15 23:10:18 +00:00
Oleksii Kononenko 25317a6179 Merged PR 800101: Don't log errors when service pips are killed due to schedule termination
When we the schedule hits an internal error, we aggressively terminate the build (DX0249). As a result, service pips (and their shutdown pips) will / might not exit cleanly. If they do, do not log `ScheduleServicePipFailed` / `ScheduleServicePipShuttingDownFailed` errors.

Related work items: #2199314
2024-08-15 21:26:53 +00:00
Marcelo Lynch 🧉 a3a9711ccb Merged PR 799321: User-configurable observed input type reclassifications
Allow users to specify reclassifications on operations resolved by the observed input processor. Users can configure rules in their specification that individual pips can opt into, where some observation types are reclassified after being processed by the observed input processor.

The rule matching happens both after execution and when processing pathsets for the pip on cache lookup. Future optimizations might avoid some of the processings on cache lookup.

Note that any changes in these rules results in a weak fingerprint change for the pips, as there is no way to know if observations for the pip have to be reclassified with the new rules.

To learn more about the motivations for this change, refer to [this document](https://microsoft.sharepoint.com/:w:/t/1ES2/EXOegdiLQkRNt5bE7nhFic8BJBYKcETrqcY-gI2_jTN9zw?e=UEIxAg)

Related work items: #2185890
2024-08-15 20:54:26 +00:00
Serge Mera f9494ce1d7 Merged PR 800262: Fix cache generation condition logic
* Fix cache generation condition logic so it is triggered by the right data
* Establish a precedence order between different cache generation options
* Get rid of IAdoBuildRunnerService (there are no intentions to have other implementations for the service)
2024-08-15 18:14:38 +00:00
Pasindu Gunasekara 🍣 693224aaf4 Merged PR 800284: Publish BuildXL.Cache.BuildCacheResource.Helper with external PR rolling build 2024-08-15 17:15:45 +00:00
Oleksii Kononenko e74fc97ff0 Merged PR 800299: Update release notes
Update release notes
2024-08-14 21:36:03 +00:00
Pasindu Gunasekara 🍣 c4ea20f370 Merged PR 799926: Revert 'Update macos package to 0.1.0-20240802.2'
Package not being published to ms org.

Update macos package to 0.1.0-20240802.2

Reverts !799497

Related work items: #2143216
2024-08-13 17:38:47 +00:00
Julian Bayardo 57e025624a Merged PR 799781: Make logic to check whether a container exists more robust to weak credentials
Make logic to check whether a container exists more robust to weak credentials

Meant to fix this issue: https://cbtest.microsoft.com/stamp/DM_V01/getfile?path=\710424fcc000006\F:\dbs\sh\cb_m\0812_133400\CacheClient.log&buildId=91c24830-5d6b-4d21-9f1e-3208b05bbeca
2024-08-12 23:43:33 +00:00
Sahiti Chandramouli d49c81e8f8 Merged PR 799693: 1ES build cache resource integration changes
Modified cache config generator to ensure that the cache config resource name and cache config resource file are added used for cache config generation, for 1ES hosted pools.

Previous PR has missed some changes which is causing the unit test to fail.

Related work items: #2195544
2024-08-12 22:05:29 +00:00
Pasindu Gunasekara 🍣 98a917bd48 Merged PR 799776: Pass through environment variables containing PATs to dependency update command 2024-08-12 21:51:51 +00:00
BuildXL-Pipelines f586329f90 Merge pull request 799685 from dev/BuildXL/updatepackages-2024-08-12T16-14-16 into main 2024-08-12 20:23:26 +00:00
BuildXL-Pipelines 5c2180ca21 Merge pull request 799681 from dev/BuildXL/updatenotice-2024-08-12T16-07-52 into main 2024-08-12 16:54:53 +00:00
BuildXL-Pipelines b3cc760024 Merge pull request 799603 from dev/BuildXL/updatelkg-0.1.0-20240809.1-2024-08-11T06-33-03 into main 2024-08-11 22:10:53 +00:00
Pasindu Gunasekara 🍣 1e7e63d688 Merged PR 799544: Updated Release-Notes.md
Updated Release-Notes.md
2024-08-09 21:51:05 +00:00
Pasindu Gunasekara 🍣 f046c41edc Merged PR 799497: Update macos package to 0.1.0-20240802.2
Update macos package to 0.1.0-20240802.2

Related work items: #2143216
2024-08-09 18:32:35 +00:00
Oleksii Kononenko 53ff9ba1c9 Merged PR 799153: Remove net7 qualifier
Remove net7 qualifier
2024-08-09 00:15:26 +00:00
Camille Bruckmann 8d63e43720 Merged PR 799345: Update ADO Package Version
Updates the ADO package version. Needed to add some dependencies as the newer packages have new requirements. These packages were tested in CB, see validation run: https://dev.azure.com/mseng/Domino/_releaseProgress?_a=release-environment-logs&releaseId=401326&environmentId=1092945
2024-08-08 23:17:44 +00:00
Pasindu Gunasekara 🍣 3360fd903e Merged PR 799309: Revert 'Update macOS interop package to 0.1.0-20240802.2'
- Reverting temporarily to unblock cloudbuild

Reverts !798894
2024-08-08 20:41:36 +00:00
Michael Pysson c36d01883c Merged PR 799133: Remove command line flag associated with spotlight indexing check
This arg controls whether buildxl warns about spotlight (macOS's file indexer) potentially acting on build directories. Removing the arg and functionality for simplification.
2024-08-08 19:12:35 +00:00
Michael Pysson 52144df2cd Merged PR 799131: Remove macOS specific unit test disablement
Remove macOS specific unit test disablement
2024-08-08 18:46:35 +00:00
Pasindu Gunasekara 🍣 6ab1d3bdc0 Merged PR 798894: Update macOS interop package to 0.1.0-20240802.2
- Includes arm64 changes
2024-08-07 21:10:46 +00:00
Michael Pysson 0988189e50 Merged PR 798919: Make Flags.md allign with command line
There are a bunch of other discrepancies between BuildXL's command line and the names given to consts in strings.resx, which is what is used to generate Flags.md.

The script that generates Flags.md works directly off of strings.resx. I doubt a pass was ever down when that script was created to ensure strings.resx actually matched up with the command line. This change would be better if it included some guardrails to prevent the two from skewing again in the future, but I don't think the cost/benefit is there so I'm just doing a one-time cleanup pass.
2024-08-07 19:10:26 +00:00
Qi Wang 8e76c518cd Merged PR 798883: Update APIScan pipeline to use ServiceConnection and new symbol endpoint
Use serviceconnection directly in apiscan buid task instead of login to az
Use new symbol endpoint

Related work items: #2193967
2024-08-07 17:10:13 +00:00
BuildXL-Pipelines 24dbc23a28 Merged PR 798593: Update Packages
Update packages: Microsoft.Sbom.Parsers.Spdx22SbomParser 2.2.6 -> 2.2.7, Microsoft.SBOM.Adapters 2.2.6 -> 2.2.7, Microsoft.Sbom.Contracts 2.2.6 -> 2.2.7, Microsoft.ComponentDetection.Contracts 4.8.9 -> 4.9.0, Microsoft.Sbom.Extensions 2.2.6 -> 2.2.7
2024-08-06 22:28:25 +00:00
Michael Pysson 48ef4b7143 Merged PR 798862: Fix PipDefaultTimeout documentation
Flags.md documentation had the wrong argument name
2024-08-06 20:49:33 +00:00
Serge Mera 493d2a932b Merged PR 798865: Remove UnixAbsentProbe operation
Use regular probes instead

Related work items: #2182231
2024-08-06 20:18:41 +00:00
Julian Bayardo 47dd1bc10a Merged PR 798855: Make BuildCacheConfiguration more amenable to alternative json parsing libraries
- Prevents System.Text.Json from serializing MetadataContainer/ContentContainer/etc
- Allows Newtonsoft.Json deserialization into the same type
- Tests not added on purpose, we don't use Newtonsoft. But other repos do (ex CB).
2024-08-06 19:13:23 +00:00
Serge Mera 3506f76868 Merged PR 798689: Clarify reason for reporting created directories early
Clarify reason for reporting created directories early

Related work items: #2191471
2024-08-05 23:13:13 +00:00
BuildXL-Pipelines 0057a82d46 Merge pull request 798522 from dev/BuildXL/updatelkg-0.1.0-20240802.2-2024-08-05T06-04-24 into main 2024-08-05 17:15:01 +00:00
Oleksii Kononenko c0c0db12c4 Merged PR 798449: Set defaults for the release pipeline
Set defaults for the release pipeline
2024-08-02 23:53:32 +00:00
Marcelo Lynch 🧉 e232ae7fa8 Merged PR 798442: Remove parameterization of DominoReleaseManagement name
Remove parameterization of DominoReleaseManagement name

[skip ci]
2024-08-02 23:00:23 +00:00
Qi Wang 4129525683 Merged PR 797423: Don't crash build when attempt to load HistoricMetaDataCache after cancel requested
return proper result when schedule was canceled instead of throw exception

Related work items: #2190736, #2199303, #2199304
2024-08-02 21:27:37 +00:00
Marcelo Lynch 🧉 16c90e6f7c Merged PR 798145: Add EnablePublishing switch to Release pipeline
Define an EnablePublishing variable that the pipeline can use to skip publishing tasks

[skip ci]
2024-08-01 21:28:13 +00:00
Oleksii Kononenko cc4c9cac7c Merged PR 797745: Only the rolling pipeline should trigger the release pipeline
Only the rolling pipeline should trigger the release pipeline
2024-07-30 22:44:26 +00:00
Julian Bayardo 65687f4465 Merged PR 797727: Assume blob cache credentials are DPAPI encrypted by default 2024-07-30 22:35:14 +00:00
Pasindu Gunasekara 🍣 7adc600114 Merged PR 797711: Upgrade RocksDbSharp to 20240730.1
- Includes fix for incorrect targets
2024-07-30 21:36:23 +00:00
Serge Mera 97d2d0113f Merged PR 797641: Reapply changes to deal with clone3 (et al)
Reapplies 790969 + takes care of the Windows case when process ids are reused

On Windows we never get ProcessExit events. At the same time, there is no process start duplication.
2024-07-30 17:07:07 +00:00
Pasindu Gunasekara 🍣 6607c373e7 Merged PR 797497: Add PTRACE_O_EXITKILL option to tracer on ptrace sandbox
- Prevents tracees from hanging if a tracer dies by also killing the tracee processes.

Related work items: #2188207
2024-07-30 16:56:14 +00:00
Oleksii Kononenko 057915fa4f Merged PR 797506: Add DominoReleaseManagement param to the release pipeline
Add DominoReleaseManagement param to the release pipeline
2024-07-29 22:57:06 +00:00
Pasindu Gunasekara 🍣 a55dc21c7f Merged PR 797484: Build all supported architectures with xcode for interop library
- Enables generating a universal binary for both arm64 and amd64 in a single build.

Related work items: #2195823
2024-07-29 21:48:13 +00:00
BuildXL-Pipelines 9048347b5b Merge pull request 797397 from dev/BuildXL/updatenotice-2024-07-29T16-08-33 into main 2024-07-29 21:35:23 +00:00
Pasindu Gunasekara 🍣 5289ffdca1 Merged PR 796663: arm64 macos support
- Tests macos binaries on both amd64 and arm64.
- Updates rocksdb packages to pick up new changes to add arm64 support.
- Disables unit tests that rely on grpc core (these can be re-enabled when we switch to grpc-dotnet)

Related work items: #2195823
2024-07-29 19:58:56 +00:00
Oleksii Kononenko 7a038008cc Merged PR 797368: Migrate release pipeline to 1espt
Migrate release pipeline to 1espt
2024-07-29 19:18:34 +00:00
Julian Bayardo 4bc86f2548 Merged PR 797274: Allow loading hosted pool configuration file from env variables 2024-07-29 17:32:25 +00:00
Pasindu Gunasekara 🍣 b633c1e25b Merged PR 785400: Remove MacOS code
- Deletes old sandbox code but leaves the interop code intact
2024-07-29 17:16:12 +00:00
Marcelo Lynch 🧉 34adbaf5fe Merged PR 797067: [AdoBuildRunner] Don't launch worker if the orchestrator build is over. Add multi-agent tests.
- Advertise that the build is finished from the orchestrator build runner, so if a worker is late then it can skip the BuildXL invocation altogether
- Various improvements to the test framework to be able to simulate multiple machines working together, in particular this PR adds a "harness" abstraction to encapsulate all the mocked resources for an agent, and the ability to test end-to-end execution with a mock "BuildXL launcher"
- Simplify some of the abstractions, in particular `BuildContext` was being thrown around a lot and we can avoid it - this makes its creation more consistent too, as it comes only from a single place (the BuildRunnerService)

Related work items: #2194244
2024-07-29 17:11:38 +00:00
BuildXL-Pipelines eeb7f5b2ab Merge pull request 797267 from dev/BuildXL/updatelkg-0.1.0-20240725.1-2024-07-26T22-19-09 into main 2024-07-27 00:14:09 +00:00
Michael Pysson 5ce0f496ff Merged PR 797196: Don't log nonapplicable performance smells
Server mode and change journal scanning only apply to Windows dev machine builds
2024-07-26 23:29:06 +00:00
Julian Bayardo e864f727b7 Merged PR 797054: Improve parsing of storage account names 2024-07-26 21:14:16 +00:00