Repository navigation
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the Azure DevOps pipeline configuration to run macOS CI jobs on the macOS-26 hosted image (instead of macOS-15) to help narrow down the cause of the macOS 26 x64 runtime-test crashes described in the PR context.
Changes:
- Update the
macOSVMImagevariable in.vsts-ci.ymlfrommacOS-15tomacOS-26.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23622/wasm-skia-net9/index.html |
|
|
|
The result of this exercise is that Tests - Desktop Skia macOS > Runtime Tests > Run macOS Runtime Tests crashes on CI when the only change is the use of macOS 26 (x64): Meaning the crash is not related to .NET 11 (#23603), and probably not related to Uno. Closing this PR as the hypothesis has been validated |
Context: #23622 Context: #23642 **Tests - Desktop Skia macOS > Runtime Tests > Run macOS Runtime Tests** regularly crashes on CI *when using macos-26*: info: Uno.UI.Samples.Tests.UnitTestsControl[0] Running test When_ExecuteScriptAsync_Has_No_Result() dbug: Uno.UI.Runtime.Skia.MacOS.MacOSNativeWebView[0] LoadHtmlString: <html><body><script>function testMe(){ }</script><div id='test' style='width: 100px; height: 100px; background-color: blue;' /></body></html> build/test-scripts/macos-skia-runtime-tests.sh: line 31: 70322 Segmentation fault: 11 dotnet SamplesApp.Skia.Generic.dll --runtime-tests=$TEST_RESULTS_FILE and as the .NET 11 bump updates `$(macOSVMImage)` to be macos-26 -- beecause only macos-26 has Xcode 26.5, which .NET 11 P5 requires -- for awhile it looked like this might be a .NET 11 issue. PR #23622 verified that this was in fact a macos-26 issue, unrelated to .NET 11. Update `.azure-devops-tests-macos-skia.yml` to run the **Tests - Desktop Skia MacOS** stage on $(vmMacImageTest) (macos-14) instead of $(macOSVMImage) (macos-26). This allows the tests to run without crashing on CI. *Note*: we are unable to locally reproduce the crash, though it *may* be addressed by #23642. Additionally, update `macos-skia-runtime-tests.sh` to explicitly log the ABI of the machine running the tests, as `macos-26` means different things between [GitHub Actions][0] (arm64!) > | **Image** | **Architecture** | **YAML Label** | > | --------------- | ----------------- |----------------| > | macOS 26 Arm64 | arm64 | `macos-26` or `macos-26-xlarge` | and [Azure DevOps][1] (x64!). > **macOS images updates** > > * The macOS 26 (Intel) Azure Pipelines hosted agent image is in public preview. > * … > * The macOS 15 Sequoia ARM64 limited public preview has been paused. (As far as @jonpryor can tell, Azure DevOps currently provides *no* arm64 build agents…) [0]: https://github.com/actions/runner-images/tree/f84258ba81f6e9f1edfaf7a83da4727921e85790#available-images [1]: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=macos-images%2Cyaml#macos-images-updates
Context: #23603 PR #23603 has one remaining blocking issue: **Tests - Desktop Skia macOS > Runtime Tests > Run macOS Runtime Tests** regularly crashes on CI, frequently during/immediatley after the `Given_WebView2.When_ExecuteScriptAsync_Has_No_Result() or `Given_WebView2.When_ExecuteScriptAsync_Non_String() tests. The question is *why*. Additionally, there are (at least?) two *significant* changes in PR #23603: (1) it uses .NET 11 instead of .NET 10, and (2) it builds on macOS 26 instead of macOS 15. Furthermore, crash cannot be reproduced locally on macOS 26 arm64 or on macOS 15 x64, while the crash *does* occur on macOS 26 x64. Update CI to use macos-26. This avoids the .NET 11 changes, narrowing things down to just the macOS 26 changes.
5cf8bf6 to
2052baf
Compare
|
Did #23642 fix things? Let's find out! |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23622/wasm-skia-net9/index.html |
|
|
NO, no it did not. Same crash remains. |
Context: #23622 Context: #23642 **Tests - Desktop Skia macOS > Runtime Tests > Run macOS Runtime Tests** regularly crashes on CI *when using macos-26*: info: Uno.UI.Samples.Tests.UnitTestsControl[0] Running test When_ExecuteScriptAsync_Has_No_Result() dbug: Uno.UI.Runtime.Skia.MacOS.MacOSNativeWebView[0] LoadHtmlString: <html><body><script>function testMe(){ }</script><div id='test' style='width: 100px; height: 100px; background-color: blue;' /></body></html> build/test-scripts/macos-skia-runtime-tests.sh: line 31: 70322 Segmentation fault: 11 dotnet SamplesApp.Skia.Generic.dll --runtime-tests=$TEST_RESULTS_FILE and as the .NET 11 bump updates `$(macOSVMImage)` to be macos-26 -- beecause only macos-26 has Xcode 26.5, which .NET 11 P5 requires -- for awhile it looked like this might be a .NET 11 issue. PR #23622 verified that this was in fact a macos-26 issue, unrelated to .NET 11. Update `.azure-devops-tests-macos-skia.yml` to run the **Tests - Desktop Skia MacOS** stage on $(vmMacImageTest) (macos-14) instead of $(macOSVMImage) (macos-26). This allows the tests to run without crashing on CI. *Note*: we are unable to locally reproduce the crash, though it *may* be addressed by #23642. Additionally, update `macos-skia-runtime-tests.sh` to explicitly log the ABI of the machine running the tests, as `macos-26` means different things between [GitHub Actions][0] (arm64!) > | **Image** | **Architecture** | **YAML Label** | > | --------------- | ----------------- |----------------| > | macOS 26 Arm64 | arm64 | `macos-26` or `macos-26-xlarge` | and [Azure DevOps][1] (x64!). > **macOS images updates** > > * The macOS 26 (Intel) Azure Pipelines hosted agent image is in public preview. > * … > * The macOS 15 Sequoia ARM64 limited public preview has been paused. (As far as @jonpryor can tell, Azure DevOps currently provides *no* arm64 build agents…) [0]: https://github.com/actions/runner-images/tree/f84258ba81f6e9f1edfaf7a83da4727921e85790#available-images [1]: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=macos-images%2Cyaml#macos-images-updates
Context: #23622 Context: #23642 **Tests - Desktop Skia macOS > Runtime Tests > Run macOS Runtime Tests** regularly crashes on CI *when using macos-26*: info: Uno.UI.Samples.Tests.UnitTestsControl[0] Running test When_ExecuteScriptAsync_Has_No_Result() dbug: Uno.UI.Runtime.Skia.MacOS.MacOSNativeWebView[0] LoadHtmlString: <html><body><script>function testMe(){ }</script><div id='test' style='width: 100px; height: 100px; background-color: blue;' /></body></html> build/test-scripts/macos-skia-runtime-tests.sh: line 31: 70322 Segmentation fault: 11 dotnet SamplesApp.Skia.Generic.dll --runtime-tests=$TEST_RESULTS_FILE and as the .NET 11 bump updates `$(macOSVMImage)` to be macos-26 -- beecause only macos-26 has Xcode 26.5, which .NET 11 P5 requires -- for awhile it looked like this might be a .NET 11 issue. PR #23622 verified that this was in fact a macos-26 issue, unrelated to .NET 11. Update `.azure-devops-tests-macos-skia.yml` to run the **Tests - Desktop Skia MacOS** stage on $(vmMacImageTest) (macos-14) instead of $(macOSVMImage) (macos-26). This allows the tests to run without crashing on CI. *Note*: we are unable to locally reproduce the crash, though it *may* be addressed by #23642. Additionally, update `macos-skia-runtime-tests.sh` to explicitly log the ABI of the machine running the tests, as `macos-26` means different things between [GitHub Actions][0] (arm64!) > | **Image** | **Architecture** | **YAML Label** | > | --------------- | ----------------- |----------------| > | macOS 26 Arm64 | arm64 | `macos-26` or `macos-26-xlarge` | and [Azure DevOps][1] (x64!). > **macOS images updates** > > * The macOS 26 (Intel) Azure Pipelines hosted agent image is in public preview. > * … > * The macOS 15 Sequoia ARM64 limited public preview has been paused. (As far as @jonpryor can tell, Azure DevOps currently provides *no* arm64 build agents…) [0]: https://github.com/actions/runner-images/tree/f84258ba81f6e9f1edfaf7a83da4727921e85790#available-images [1]: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=macos-images%2Cyaml#macos-images-updates
Context: #23603
PR #23603 has one remaining blocking issue:
Tests - Desktop Skia macOS > Runtime Tests > Run macOS Runtime Tests regularly crashes on CI, frequently during/immediatley after the
Given_WebView2.When_ExecuteScriptAsync_Has_No_Result() orGiven_WebView2.When_ExecuteScriptAsync_Non_String() tests.The question is why.
Additionally, there are (at least?) two significant changes in PR #23603: (1) it uses .NET 11 instead of .NET 10, and (2) it builds on macOS 26 instead of macOS 15.
Furthermore, crash cannot be reproduced locally on macOS 26 arm64 or on macOS 15 x64, while the crash does occur on macOS 26 x64.
Update CI to use macos-26. This avoids the .NET 11 changes, narrowing things down to just the macOS 26 changes.
PR Type:
🏗️ Build or CI related changes
What changed? 🚀
PR Checklist ✅
Screenshots Compare Test Runresults.