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

7503 Коммитов

Автор SHA1 Сообщение Дата
Marcelo Lynch 🧉 9cecb39833 Merged PR 785497: Fix: follow final symlink for the stat/stat64 reports
Fix: follow final symlink for the stat/stat64 reports

Related work items: #2180717
2024-05-16 22:47:29 +00:00
Qi Wang 5d612dc0e3 Merged PR 785501: Continue rolling build when Generate NOTICE file task failed
Continue rolling build when Generate NOTICE file task failed
2024-05-16 22:31:44 +00:00
Julian Bayardo 1d1dbf5f3f Merged PR 785478: Increase network timeout and decrease retry delay in Blob L3
Increase network timeout and decrease retry delay in Blob L3
2024-05-16 21:25:28 +00:00
Serge Mera 86a3375010 Merged PR 785474: Use managed identities to do log ingestion and disable SAS keys on provisioning scripts
Use managed identities to do log ingestion and disable SAS keys on provisioning scripts
2024-05-16 21:17:29 +00:00
Qi Wang a69cda6c8a Merged PR 785249: Add publish symbols yml pipeline 2024-05-16 21:16:40 +00:00
Marcelo Lynch 🧉 4cff8db8de Merged PR 785239: [Linux sandbox] Resolve intermediate symlinks for all report paths, and add related tests
Make us resolve all paths that we report back to the sandbox (except the explicit cases where we don't want to follow the last symlink, like readlinks or stats). Also makes our intermediate symlink resolution logic preserve errno to not mess with callers.

Additionally, make the SandboxEvent immutable after constructing a report, so we don't accidentally rely on changing something insde it that would be inconsistent with the report we then create

Also added some tests for it.

Related work items: #2179576
2024-05-16 18:50:46 +00:00
Marcelo Lynch 🧉 e6052a8a14 Merged PR 784668: Automatically infer the pre-release tag for patch branches
Automatically infer the pre-release tag for patch branches
2024-05-15 23:48:20 +00:00
Julian Bayardo 78684e203e Merged PR 785202: Make TempFileStreamFactory async
Make TempFileStreamFactory async
2024-05-15 21:55:38 +00:00
Oleksii Kononenko 8e7874240d Merged PR 784905: Update net runtime and packages
Update net runtime and packages
2024-05-15 19:16:45 +00:00
Julian Bayardo 19b8a27a5d Merged PR 784919: Make FSCS always flush when writing filesg s
Kyra encountered an issue where:
Drop downloads using a local cache. The local cache has a file that:

- Has the correct hash as file name
- Has the correct size as file size
- But is actually empty

This smells like this code caused the issue.
2024-05-15 17:55:35 +00:00
Oleksii Kononenko 0a4d5b2729 Merged PR 784903: Remove remaining net7 references
Remove remaining net7 references

Related work items: #2174274
2024-05-15 17:42:54 +00:00
BuildXL-Pipelines e82b425cb7 Merge pull request 784982 from dev/BuildXL/updatelkg-0.1.0-20240510.14.1-2024-05-15T00-26-03 into main 2024-05-15 17:02:40 +00:00
Sahiti Chandramouli c581dcee03 Merged PR 784626: Allowlist rules should not be affected by '\\?\' path prefix
Allowlist rules should not be affected by '\\?\' path prefix

Related work items: #2165593
2024-05-14 21:10:12 +00:00
Michael Pysson a36087932b Merged PR 784873: Enable case specific environment variable test
I noticed this test wasn't enabled. I think it was a mistake from when it was added
2024-05-14 20:07:22 +00:00
Marcelo Lynch 🧉 c55cae0ebb Merged PR 784686: Fix non-1ESPT image demand in NPM Experimental pipeline
The `image` field doesn't work outside of 1ESPT
2024-05-14 17:12:36 +00:00
Oleksii Kononenko 5380d614bb Merged PR 784655: Revert "Merged PR 784360: Revert "Merged PR 784187: Remove net7 qualifier
Reapply the original Net7 removal commit `4c5cc753`. The issue that we initially saw after it was merged was not caused by the commit. The commit forced a cache miss for a couple of pip and it uncovered the issue with vctip/lib.exe.

Must be merged after !784653

Related work items: #2174274
2024-05-14 00:20:53 +00:00
Semih Okur ffb8abe43d Merged PR 784314: Lookup the grpc cert in the multiple stores
We now use different stores in different platforms. To simplify the things on the consumer, infra and the commandline side, I now lookup the given certificate name in both CurrentUser and LocalMachine stores.
2024-05-14 00:04:08 +00:00
Oleksii Kononenko 4284fc5d8f Merged PR 784653: Allow VCTIP to survive when it is launched by lib.exe
Allow VCTIP to survive when it is launched by lib.exe

Related work items: #2174274
2024-05-13 23:51:37 +00:00
Michael Pysson 37d0ca68b1 Merged PR 784276: Fall back on simple console output on IOException
There are a handful of isolated crashes on linux and codespaces where an IOException is thrown on Console.CursorLeft. It's unclear what's causing this. This change takes the approach of encapsulating all of the complicated console behavior for updating the same lines in place. If an exception is thrown anywhere inside of that, it will stop attempting that more complicated functionality and fall back on a simple Console.WriteLine for all subsequent messages. This should give a much better chance of the build being able to continue when something odd happens.

Related work items: #2138734
2024-05-13 22:44:32 +00:00
Michael Pysson 70ae64130d Merged PR 784641: Pin Test.BuildXL.FrontEnd.Script to xunit due to crashes under qtest
Pin Test.BuildXL.FrontEnd.Script to xunit due to crashes under qtest
2024-05-13 22:43:08 +00:00
Marcelo Lynch 🧉 63350f61ba Merged PR 784615: Restore RequiredKextVersionNumber in ExtraFingerprintSalts 2024-05-13 22:20:48 +00:00
Serge Mera e7aa7ca046 Merged PR 784608: Fix flaky ConcurrentPipsAnalyzerTest.TestPointTime
Fix flaky ConcurrentPipsAnalyzerTest.TestPointTime

Related work items: #2179311
2024-05-13 21:47:56 +00:00
Julian Bayardo a7214a2b3b Merged PR 784618: Attempt to reduce number of outstanding gRPC connections 2024-05-13 21:46:19 +00:00
Marcelo Lynch 🧉 1f3340ef49 Merged PR 784554: [Rolling pipeline / Linux] Build and test in a single run 2024-05-13 18:21:19 +00:00
BuildXL-Pipelines c9f81ebeaf Merge pull request 784552 from dev/BuildXL/updatelkg-0.1.0-20240510.14-2024-05-13T17-51-07 into main 2024-05-13 18:16:42 +00:00
Julian Bayardo 03d2c2db9f Merged PR 784524: Downgrade failure to create gRPC encrypted channels to Info 2024-05-13 17:48:32 +00:00
Oleksii Kononenko cea42e3df4 Merged PR 784360: Revert "Merged PR 784187: Remove net7 qualifier
After net7 removal the minimal build fails in CB with 'child process survived' error.

Revert "Merged PR 784187: Remove net7 qualifier

Remove net7 qualifier and move msbuild to net8.

Related work items: #2174274"

Reverted commit `4c5cc753`.

Related work items: #2174274
2024-05-11 00:15:11 +00:00
Serge Mera a37e4d7458 Merged PR 784359: Address NRE when the credential provider path is set to null
Address NRE when the Nuget credential provider path is set to null

Related work items: #2174302
2024-05-10 23:46:09 +00:00
Marcelo Lynch 🧉 02988d6165 Merged PR 784356: Remove mac sandbox statistics 2024-05-10 23:10:00 +00:00
Semih Okur b92d1ec815 Merged PR 784298: Fix ValidateSuccess errors on the workers for builds terminating early
Some instances of ValidateSuccessMatches errors on workers are related to this following scenario:

- Worker early-released and we call FinishAsync by capturing 'buildFailure' as null because HasFailed is false.
- We wait for worker to drain its pips
- Internal error occurs on the orchestrator
- Orchestrator terminates and tries to exit each worker.
- For early-released workers, there is already a pending FinishAsync due to the early release and the second 'FinishAsync' with the error message is ignored.
- Worker receives Exit message with no failure. ValidateSuccess condition fails because we expect the build to succeed, but there are errors logged due to pending/terminated pips on the worker itself.

Related work items: #2172783
2024-05-10 22:59:06 +00:00
Marcelo Lynch 🧉 43d3318255 Merged PR 781419: [Unix sandboxing] Remove root jail support
Part of the sandbox cleanup. Root jail is not used by our customers, and the need for it for process remoting is not there now that AnyBuild is gone

Related work items: #2111125
2024-05-10 22:26:29 +00:00
Marcelo Lynch 🧉 58b367a6e8 Merged PR 781723: Remove macOS sandbox (managed) code and logic
Remove macOS sandbox / kernel extension code and examples. Trying to only remove dead code here, some refactoring is still possible to improve code structure but I will leave it for future PRs.
2024-05-10 21:44:15 +00:00
Oleksii Kononenko 4c5cc753e9 Merged PR 784187: Remove net7 qualifier
Remove net7 qualifier and move msbuild to net8.

Related work items: #2174274
2024-05-10 20:43:31 +00:00
Pasindu Gunasekara 🍣 4bb8d3a27e Merged PR 783872: Add extra logging to BxlObserver::relative_to_absolute
- Debugging some ptrace failures on 1JS
- Also disables report cache on fork/clone calls to fix a unit test that failed due to missed reports.

Related work items: #2171844
2024-05-10 18:00:46 +00:00
Michael Pysson 0005072361 Merged PR 784167: Pin Nuget frontend test to xunit
This test has an issue after updating to qtest. Pinning to xunit for the time being
2024-05-09 23:41:41 +00:00
Kai Chen c40084093f Merged PR 783942: Format and move comment to line that match code change 2024-05-09 21:29:48 +00:00
Michael Pysson 0dd7649be3 Merged PR 784089: Soften build manifest warning when missing HistoricMetadataCache
Soften build manifest warning when missing HistoricMetadataCache. With BlobL3 e2e build times are looking better than CASaaS in spite of this suboptimal behavior. Don't warn users when we plan on moving forward with this topology.
2024-05-09 21:16:47 +00:00
Marcelo Lynch 🧉 027a61067f Merged PR 782444: Refactor Linux sandbox to use new Create/ReportAccess functions in BxlObserver
Reinstate the change reverted by !781882 after the fixes in !782414
2024-05-09 21:09:15 +00:00
Kai Chen ea58784fe6 Merged PR 782760: Update sdk.symbol to allow users to pass generated symbolMetadata file for sending symbol request
office decide to put source file into symbol drop so that source file can be retrieved from symbol store by a custom key. This will simply the implementation of the source link for office.

currently, symbolmetadata file which contains the debugentryData (including the clientKey to label the file and used for retrieving from sym store) is generated by buildxl before sending the symbol request. The key is generated based on the metadata of file by `SymstoreUtil`.

When office wants to index source files to symbol drop, source file extension may not be compatible with symstoreUtil nor do it meet requirements that key for downloading from symbolStore should be irrirelevant to content.

Office wants that `clientKey` is only relevant to path, commit or version that build can easily to compose download url for each indexed source file in symbol drop.

To do, office needs to control the generation of symbolMetaDataFile instead of letting bxl to do it.
2024-05-09 01:47:39 +00:00
Qi Wang c741888d2d Merged PR 783808: Fix ubuntu 22.04 yml format error
Fix ubuntu 22.04 yml format error
2024-05-08 18:12:46 +00:00
Serge Mera 6ef7c5a282 Merged PR 783526: Move selfhost builds to a common pool
Use a new common pool BuildXL-DevOpsAgents-Selfhost for both Windows and Linux runs. This is a pre-requisite step to be able to enable network isolation and use a common firewall for all runs.
2024-05-07 21:42:25 +00:00
Michael Pysson 5ebec7807d Merged PR 783565: Revert "Merged PR 778027: Catch consolenotconnected exception and exit buildxl
The break is the change in StandardConsole.cs. That condition needs to be run any time the previous line was overwriteable to blank out the previously written text and move the cursor back to the appropriate position. The change was conditionalizing it when both the previous line was overwriteable and when the current line is.

I'm reverting the entire commit instead of just that one part because the error handling changes in the other files are related.

Related work items: #2138734, #2174322
2024-05-07 20:24:13 +00:00
Michael Pysson daa687e7ae Merged PR 782334: Enable QTest for .net core projects again
Enable QTest for .net core projects again

Related work items: #2172282
2024-05-07 19:00:17 +00:00
Marcelo Lynch 🧉 b1a2d3cc3b Merged PR 783325: PackedExecutionTests should set runWithUntrackedDependencies
The test `TestLogPackedExecution` runs the scheduler, and we should avoid nesting the sandboxes in tests
2024-05-06 22:05:36 +00:00
BuildXL-Pipelines fcd54fdecc Merge pull request 783215 from dev/BuildXL/updatepackages-2024-05-06T16-08-08 into main 2024-05-06 17:06:55 +00:00
BuildXL-Pipelines 62af4b3530 Merge pull request 783213 from dev/BuildXL/updatenotice-2024-05-06T16-05-59 into main 2024-05-06 16:44:22 +00:00
Rahul Chamala 602e1fc889 Merged PR 780371: Allow succeedfast pips to be recursively dirtied
There is logic added to prevent downstreams of succeedfast pips to be recursively dirtied. This can potentially cause underbuilds with incremental scheduling particularly when the upstreams of the pips in buildcone connected via succeedfast pip were dirtied.

The intent for the previous change is perf driven, to reduce the cache checks. However due to Eric's change which stops cache checks at the first up-to-date pip, the perf is retained and the change is not needed anymore. This PR removes the logic to stop downstreams of succeedfast pips to be dirtied.

Related work items: #2170157
2024-05-04 01:27:09 +00:00
Semih Okur a223ebe33b Merged PR 782474: Fail the build when the problematic workers exceed the half remote workers 2024-05-04 00:54:05 +00:00
BuildXL-Pipelines bb0a8f80ef Merge pull request 783086 from dev/BuildXL/updatelkg-0.1.0-20240502.2-2024-05-03T22-08-33 into main 2024-05-03 23:11:08 +00:00
Michael Pysson 8b2dfb5d51 Merged PR 782663: Release note catch up
Release note catch up
2024-05-02 22:59:28 +00:00