Skip to content

[tests] Fix flaky BasicAuthWorksWhenBearerIsAdvertisedFirst test. Fixes #25597#25604

Merged
rolfbjarne merged 1 commit into
mainfrom
dev/rolf/issue-25597-ci-postmortem
Jun 2, 2026
Merged

[tests] Fix flaky BasicAuthWorksWhenBearerIsAdvertisedFirst test. Fixes #25597#25604
rolfbjarne merged 1 commit into
mainfrom
dev/rolf/issue-25597-ci-postmortem

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member

The test was getting HTTP 404 on a CI bot, but the local HttpListener
server never returns 404. The likely cause is localhost resolving to
::1 (IPv6) on certain macOS bots while HttpListener with http://*:port/
only binds to IPv4. The request reaches something else and gets 404.

Fix:

  • Use 127.0.0.1 explicitly in both the HttpListener prefix and the
    request URL to avoid IPv6/hostname resolution mismatches.
  • Add CI tolerance: if the server received zero requests and the status
    is 404, mark the test as inconclusive (infrastructure issue, not a
    code bug).
  • Add IgnoreInCIIfBadNetwork and timeout handling consistent with other
    tests in this file.

#25597

The test was getting HTTP 404 on a CI bot, but the local HttpListener
server never returns 404. The likely cause is localhost resolving to
::1 (IPv6) on certain macOS bots while HttpListener with http://*:port/
only binds to IPv4. The request reaches something else and gets 404.

Fix:
- Use 127.0.0.1 explicitly in both the HttpListener prefix and the
  request URL to avoid IPv6/hostname resolution mismatches.
- Add CI tolerance: if the server received zero requests and the status
  is 404, mark the test as inconclusive (infrastructure issue, not a
  code bug).
- Add IgnoreInCIIfBadNetwork and timeout handling consistent with other
  tests in this file.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 1, 2026 17:10
@rolfbjarne rolfbjarne added the tests Anything related to tests label Jun 1, 2026
@rolfbjarne

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses CI flakiness in BasicAuthWorksWhenBearerIsAdvertisedFirst by making the loopback HTTP test server binding deterministic and adding CI-oriented tolerance for infrastructure/network failures, so the test better reflects product correctness instead of environment variance.

Changes:

  • Bind the HttpListener explicitly to 127.0.0.1 and send requests to 127.0.0.1 (avoids IPv6 ::1 vs IPv4 binding mismatches).
  • Add timeout handling consistent with other tests in the file, including TestRuntime.IgnoreInCIIfBadNetwork.
  • Treat “404 + server received zero requests” as an infrastructure failure in CI (ignore/inconclusive) instead of a product regression.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@rolfbjarne rolfbjarne enabled auto-merge (squash) June 1, 2026 17:22
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 [CI Build #3b0fc29] Test results 🔥

Test results

❌ Tests failed on VSTS: test results

20 tests crashed, 24 tests failed, 57 tests passed.

Failures

❌ cecil tests

🔥 Failed catastrophically on VSTS: test results - cecil (no summary found).

Html Report (VSDrops) Download

❌ dotnettests tests (iOS)

🔥 Failed catastrophically on VSTS: test results - dotnettests_ios (no summary found).

Html Report (VSDrops) Download

❌ dotnettests tests (MacCatalyst)

🔥 Failed catastrophically on VSTS: test results - dotnettests_maccatalyst (no summary found).

Html Report (VSDrops) Download

❌ dotnettests tests (macOS)

🔥 Failed catastrophically on VSTS: test results - dotnettests_macos (no summary found).

Html Report (VSDrops) Download

❌ dotnettests tests (Multiple platforms)

🔥 Failed catastrophically on VSTS: test results - dotnettests_multiple (no summary found).

Html Report (VSDrops) Download

❌ framework tests

🔥 Failed catastrophically on VSTS: test results - framework (no summary found).

Html Report (VSDrops) Download

❌ fsharp tests

2 tests failed, 2 tests passed.

Failed tests

  • fsharp/iOS - simulator/Debug: LaunchTimedOut
  • fsharp/tvOS - simulator/Debug: LaunchTimedOut

Html Report (VSDrops) Download

❌ generator tests

🔥 Failed catastrophically on VSTS: test results - generator (no summary found).

Html Report (VSDrops) Download

❌ interdependent-binding-projects tests

🔥 Failed catastrophically on VSTS: test results - interdependent-binding-projects (no summary found).

Html Report (VSDrops) Download

❌ linker tests (macOS)

🔥 Failed catastrophically on VSTS: test results - linker_macos (no summary found).

Html Report (VSDrops) Download

❌ linker tests (tvOS)

🔥 Failed catastrophically on VSTS: test results - linker_tvos (no summary found).

Html Report (VSDrops) Download

❌ monotouch tests (iOS)

🔥 Failed catastrophically on VSTS: test results - monotouch_ios (no summary found).

Html Report (VSDrops) Download

❌ monotouch tests (MacCatalyst)

2 tests failed, 21 tests passed.

Failed tests

  • monotouch-test/Mac Catalyst/Release (NativeAOT, x64): HarnessException (Harness exception for 'monotouch-test': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test597/monotouch-test.csproj, build failed with exit code 1. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.Jenkins.TestTasks.MacExecuteTask.RunTestAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/MacExecuteTask.cs:line 52
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:line 113
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/Mac Catalyst/Release (NativeAOT, .NET 11 defaults): BuildFailure

Html Report (VSDrops) Download

❌ monotouch tests (macOS)

🔥 Failed catastrophically on VSTS: test results - monotouch_macos (no summary found).

Html Report (VSDrops) Download

❌ monotouch tests (tvOS)

20 tests failed, 0 tests passed.

Failed tests

  • monotouch-test/tvOS - simulator/Debug: HarnessException (Harness exception for 'Tests for 4106A868-0D2E-4D02-814E-4E617A957426': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test540/monotouch-test.csproj, build failed with exit code 1. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (link sdk): HarnessException (Harness exception for 'Tests for 4106A868-0D2E-4D02-814E-4E617A957426': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test540/monotouch-test.csproj, build failed with exit code 1. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (link all): HarnessException (Harness exception for 'Tests for 4106A868-0D2E-4D02-814E-4E617A957426': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test540/monotouch-test.csproj, build failed with exit code 1. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Debug (LinkSdk): HarnessException (Harness exception for 'Tests for 4106A868-0D2E-4D02-814E-4E617A957426': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test540/monotouch-test.csproj, build failed with exit code 1. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Debug (static registrar): HarnessException (Harness exception for 'Tests for 4106A868-0D2E-4D02-814E-4E617A957426': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test540/monotouch-test.csproj, build failed with exit code 1. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (all optimizations): HarnessException (Harness exception for 'Tests for 4106A868-0D2E-4D02-814E-4E617A957426': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test540/monotouch-test.csproj, build failed with exit code 1. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Debug (ARM64): HarnessException (Harness exception for 'Tests for 4106A868-0D2E-4D02-814E-4E617A957426': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test540/monotouch-test.csproj, build failed with exit code 1. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (NativeAOT, ARM64): HarnessException (Harness exception for 'Tests for 4106A868-0D2E-4D02-814E-4E617A957426': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test540/monotouch-test.csproj, build failed with exit code 1. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (trimmable static registrar, NativeAOT, ARM64): HarnessException (Harness exception for 'Tests for 4106A868-0D2E-4D02-814E-4E617A957426': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test540/monotouch-test.csproj, build failed with exit code 1. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Debug (managed static registrar): HarnessException (Harness exception for 'Tests for 4106A868-0D2E-4D02-814E-4E617A957426': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test540/monotouch-test.csproj, build failed with exit code 1. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (managed static registrar, all optimizations): HarnessException (Harness exception for 'Tests for 4106A868-0D2E-4D02-814E-4E617A957426': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test540/monotouch-test.csproj, build failed with exit code 1. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (NativeAOT, x64): HarnessException (Harness exception for 'Tests for 4106A868-0D2E-4D02-814E-4E617A957426': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test540/monotouch-test.csproj, build failed with exit code 1. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Release (trimmable static registrar, NativeAOT, x64): HarnessException (Harness exception for 'Tests for 4106A868-0D2E-4D02-814E-4E617A957426': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test540/monotouch-test.csproj, build failed with exit code 1. Timed out: False
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync(XmlDocument csproj, String projectPath, String evaluateProperty, String dependsOnTargets, Dictionary`2 properties) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 123
    at Xharness.AppBundleLocator.LocateAppBundle(XmlDocument projectFile, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppBundleLocator.cs:line 48
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/builder/azdo/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 41
    at Xharness.AppRunner.InitializeAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/builder/azdo/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/tvOS - simulator/Debug (interpreter): HarnessException (Harness exception for 'Tests for 4106A868-0D2E-4D02-814E-4E617A957426': System.Exception: Unable to evaluate the property OutputPath in /Users/builder/azdo/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test540/monotouch-test.csproj, build failed with exit code 1. Timed out: F\n\nThe message from CI is too large for the GitHub comments. You can find the full results here.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #3b0fc29] Build passed (Build packages) ✅

Pipeline on Agent
Hash: 3b0fc29da6c1f0851387b4c0d153ee5a769bacaa [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #3b0fc29] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: 3b0fc29da6c1f0851387b4c0d153ee5a769bacaa [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ [PR Build #3b0fc29] Build passed (Detect API changes) ✅

Pipeline on Agent
Hash: 3b0fc29da6c1f0851387b4c0d153ee5a769bacaa [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 3b0fc29da6c1f0851387b4c0d153ee5a769bacaa [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [CI Build #3b0fc29] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 193 tests passed 🎉

Tests counts

✅ cecil: All 1 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ fsharp: All 4 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ generator: All 5 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ introspection: All 6 tests passed. Html Report (VSDrops) Download
✅ linker (iOS): All 11 tests passed. Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 11 tests passed. (⚠️ Html Report Publish failed ⚠️) Download
✅ linker (macOS): All 11 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ linker (tvOS): All 11 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ monotouch (iOS): All 20 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 23 tests passed. [attempt 3] Html Report (VSDrops) Download
✅ monotouch (macOS): All 23 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ monotouch (tvOS): All 20 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ sharpie: All 1 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ windows: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. [attempt 2] Html Report (VSDrops) Download

macOS tests

✅ Tests on macOS Monterey (12): All 5 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ Tests on macOS Ventura (13): All 5 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ Tests on macOS Sonoma (14): All 5 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ Tests on macOS Sequoia (15): All 5 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ Tests on macOS Tahoe (26): All 5 tests passed. [attempt 2] Html Report (VSDrops) Download

Linux Build Verification

Linux build succeeded

Pipeline on Agent
Hash: 3b0fc29da6c1f0851387b4c0d153ee5a769bacaa [PR build]

@rolfbjarne rolfbjarne merged commit 18077ca into main Jun 2, 2026
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

copilot tests Anything related to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants