Repository navigation
Open
Labels
bugIf an issue is a bug or a pull request a bug fixci-failureThe issue only affects CIci-postmortemCI post-mortem analysis: flaky tests, infrastructure failures, shared regressionscopilot
Milestone
Description
Flaky Test Report (automated)
Test: xharness AppBundleLocator.GetPropertyByMSBuildEvaluationAsync β MSBuild property evaluation crashes
Platform: macOS, Mac Catalyst
Category: Flaky / Infrastructure
Period: June 22β29, 2026
Occurrence Summary
| PR | Build | Configuration | Bot | Direct Link |
|---|---|---|---|---|
| #25713 | 14515144 | link all/macOS/Debug (PrepareAssemblies, CoreCLR, Trimmable Static Registrar) | AcesShared 9 | Run tests |
| #25849 | 14515024 | trimmode link/Mac Catalyst/Release | AcesShared 81 | Run tests |
Total: Failed in 2 builds across 2 unrelated PRs.
Error Details
Both failures share the same pattern β the MSBuild property evaluation subprocess crashes with exit code 139 (SIGSEGV β segmentation fault). This prevents xharness from locating the app bundle and the entire test configuration fails:
Build 14515144 (PR#25713):
HarnessException: Unable to evaluate the property OutputPath in
/Users/cloudtest/vss/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/link all474/link all.csproj,
build failed with exit code 139. Timed out: False
at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(...)
at Xharness.AppBundleLocator.LocateAppBundle(...)
at Xharness.Jenkins.TestTasks.MacExecuteTask.RunTestAsync()
Build 14515024 (PR#25849):
HarnessException: Unable to evaluate the property OutputPath in
/Users/cloudtest/vss/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/trimmode link94/trimmode link.csproj,
build failed with exit code 139. Timed out: False
at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(...)
at Xharness.AppBundleLocator.LocateAppBundle(...)
at Xharness.Jenkins.TestTasks.MacExecuteTask.RunTestAsync()
Analysis
- Exit code 139 = SIGSEGV β the dotnet process that evaluates MSBuild properties is crashing with a segmentation fault.
- Both occurrences are on AcesShared pool bots (9 and 81), suggesting this may be related to the bot environment (e.g., corrupted dotnet install, missing shared libraries, or memory issues on these VMs).
- The failures are in different test suites (
link allon macOS andtrimmode linkon MacCatalyst) but both hit the same code path (AppBundleLocator.GetPropertyByMSBuildEvaluationAsync). - This is likely a transient infrastructure issue on AcesShared bots rather than a code bug.
Classification
This failure was identified as flaky/infrastructure because:
- It appeared across 2 unrelated PRs ([msbuild] Resolve Content and BundleResource items using the main project's location. Fixes 23898.Β #25713, [build] Fix NuGet migration race condition workaroundΒ #25849)
- The crash (SIGSEGV) in a dotnet subprocess is not caused by test code
- Both occurrences are on AcesShared pool bots
This issue was automatically generated by CI post-mortem analysis.
Metadata
Metadata
Assignees
Labels
bugIf an issue is a bug or a pull request a bug fixci-failureThe issue only affects CIci-postmortemCI post-mortem analysis: flaky tests, infrastructure failures, shared regressionscopilot
Activity
[xharness] Use 'dotnet build -getProperty:...' instead of temporary Pβ¦
dalexsoto commentedon Jul 24, 2026
Reopening because the same
dotnet build -getProperty:OutputPathSIGSEGV recurred after the fix in #25862, on two monitored PR heads that both contain merge commit9f5295776c545e9a5041167736d19c6d6d79e436:5ebeaab0ae976b54831f68aa059217bb9ce4c49eOutputPathevaluation exited 139 onAcesShared 36. PR is conflicting, so no retry.3f68b464d8acbbcee96c586f04f93bc07e4747ecAppBundleLocator.GetPropertyByMSBuildEvaluationAsyncpath onAcesShared 2. The published CrashReports container has no linker_tvos report, so the native stack is unavailable. Build remains active; no retry yet.The canonical signature now covers 4 build/job occurrences across 4 PRs. These builds postdate the June 30 closure by more than two weeks and incorporate the closing fix, so the new evidence invalidates the completed closure state.
dalexsoto commentedon Jul 24, 2026
Retry outcome for #26281 @
3f68b464d8acbbcee96c586f04f93bc07e4747ec: build 14753858 simulator_tests attempt 2 cleared the originallinker_tvosOutputPath/exit-139 failure.The overall retry remained failed because a previously canceled, independently classified monotouch_macos NativeAOT configuration exposed a source issue:
SFChooseIdentityTableCellViewis available throughobjc_getClass, but its Objective-C class symbol is absent fromSecurityInterface.tbd. That source issue is fixed on the PR branch by commitc0556e2b1e91419b677890bde8fbade3277d196f; fresh CI is starting.Retry budget usage is 1 lifetime / 1 old-head request. The OutputPath recurrence count remains 4 build/job occurrences across 4 PRs.
dalexsoto commentedon Sep 1, 2026
New exact-signature occurrence on PR #26500 @
f21c4957124500591af17e944b0c1775c2d51982:T: linker_tvos/Run testsreproducedAppBundleLocator.GetPropertyByMSBuildEvaluationAsyncevaluatingOutputPathwith target_GenerateBundleName, where the hostdotnet buildprocess exited139andTimedOut=False.trimmode link/tvOS - simulator/Debug. Its app build had already succeeded; the crash occurred during the subsequent property probe. The aggregate harness attached the same exception to 15 configurations, which are cascades rather than 15 independent roots.dotnet/MSBuild property-evaluation SIGSEGV. The XHarness dependency update contains no implementation change matching this path..ipsreport was written under/Library/Logs/DiagnosticReports, while the pipeline collector checked the user crash directory, so the native faulting stack is unavailable in published artifacts.The canonical total is now 5 build/job occurrences across 5 distinct monitored PRs. Build 15162528 remains active, so no retry was submitted. Retry accounting is 3 PR-lifetime / 0 current-head requests.
Issue-specific checklist: none; the issue body has no Additional info to collect section.
dalexsoto commentedon Sep 1, 2026
Terminal outcome for PR #26500 @
f21c4957124500591af17e944b0c1775c2d51982:2026-09-01T04:56:55Z.linker_tvosOutputPath/exit-139 occurrence remains the single root for this signature; its 15 harness results are cascades.The canonical count remains 5 build/job occurrences across 5 distinct monitored PRs. Retry accounting for PR #26500 is 3 lifetime / 0 current-head requests.
Issue-specific checklist: none; the issue body has no Additional info to collect section.
dalexsoto commentedon Sep 1, 2026
Successful retry outcome for PR #26500 @
f21c4957124500591af17e944b0c1775c2d51982:simulator_testsattempt 2 /linker_tvoscompleted successfully onAcesShared 1at2026-09-01T09:03:15Z.AppBundleLocator.GetPropertyByMSBuildEvaluationAsyncOutputPath/exit-139 failure did not recur. The entire simulator stage completed succeeded at09:03:28Z.09:08:12Zonly because the separately tracked VenturamacOS/osx-arm64 monotouch-testtimeout in [CI] Flaky: monotouch-test macOS NativeAOT configurations TimedOutΒ #25687 remained failed.The canonical count remains 5 build/job occurrences across 5 distinct monitored PRs. Attempt 2 was the fourth PR-lifetime and first current-head retry request; a subsequent Ventura-only retry is active, so current accounting is 5 lifetime / 2 current-head requests.
Issue-specific checklist: none; the issue body has no Additional info to collect section.
dalexsoto commentedon Sep 2, 2026
New exact-signature occurrence on PR #26526 @
9460728d5943096ee89d7a53b83f584aeb34a8f8:T: monotouch_tvos/Run testsfailed onAcesShared 40.AppBundleLocator.GetPropertyByMSBuildEvaluationAsynccould not evaluateOutputPathbecause the hostdotnet buildprocess exited139withTimedOut=False.dotnet/MSBuild property-evaluation SIGSEGV. The PR changes test CodeQL suppressions and does not modify this path.The durable ledger was reconciled against the retained issue body and comments before this update. The canonical total is now 6 build/job occurrences across 6 distinct monitored PRs.
The issue body has no Additional info to collect checklist.
dalexsoto commentedon Sep 2, 2026
Active retry status for PR #26526 @
9460728d5943096ee89d7a53b83f584aeb34a8f8:simulator_testsattempt 2.monotouch_tvosis rerunning, onAcesShared 12.The canonical count remains 6 build/job occurrences across 6 PRs pending the retry outcome. The issue body has no Additional info to collect checklist.
dalexsoto commentedon Sep 2, 2026
Terminal retry outcome for PR #26526 @
9460728d5943096ee89d7a53b83f584aeb34a8f8:simulator_testsattempt 2,T: monotouch_tvossucceeded onAcesShared 12at2026-09-02T11:13:16Z.11:18:34Z.OutputPathproperty-evaluation process crash did not recur. Retry usage remains 1 PR-lifetime / 1 current-head request; no source change was needed for this occurrence.The canonical count remains 6 confirmed build/job occurrences across 6 PRs. The issue body has no Additional info to collect checklist.