Skip to content

[tests] Add infrastructure to run monotouch-test inside app extensions - #26265

Draft
rolfbjarne wants to merge 6 commits into
mainfrom
dev/rolf/static-registrar-appextensions
Draft

[tests] Add infrastructure to run monotouch-test inside app extensions#26265
rolfbjarne wants to merge 6 commits into
mainfrom
dev/rolf/static-registrar-appextensions

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member

TODO:

  • Early prototype, no reviewing necessary.

Early prototype that runs the monotouch-test suite from inside an app
extension (an AUv3 audio-unit extension), so we can exercise the test
suite in the more constrained app-extension environment (e.g. to validate
the trimmable static registrar there).

Highlights:

  • A new audio-unit AUv3 extension test harness under
    tests/monotouch-test/dotnet/extensions/audio-unit/, with a container
    app that instantiates the extension out-of-process and per-platform
    projects (macOS/iOS/tvOS/MacCatalyst) that share almost all logic via
    AppExtension-shared.csproj.

  • Test results are streamed back over a localhost TCP connection, reusing
    the existing Touch.Client reporting infrastructure. The run script
    (scripts/run-audio-unit-extension-tests) opens a TcpListener, configures
    the sandboxed extension through NSUserDefaults (defaults write), and
    reads the NUnit XML result back over the socket.

  • The extension is configured entirely through NSUserDefaults, which — unlike
    environment variables set on the container host — reliably reach the
    OS-spawned, sandboxed extension process.

  • Runtime/registrar/configuration variations are selected with
    TEST_VARIATION (consistent with the rest of the test infrastructure).

Still an early prototype; xharness/CI wiring is proposed but not yet
included here.

🤖 Pull request created by Copilot

rolfbjarne and others added 5 commits July 23, 2026 12:09
Add a test harness that runs the monotouch-test NUnit suite inside an
Audio Unit (AUv3) app extension process, verifying that .NET code works
correctly in the extension sandbox.

Key changes:

- New test projects: AudioUnitExtension and SpotlightImportExtension
  (tests/dotnet/) with ContainerApp + AppExtension layout for iOS and
  macOS.
- Convert ExtensionProject from Share/Thumbnail to QuickLook Preview
  (iOS) and Audio Unit (macOS) for more reliable triggering.
- Runner script (scripts/run-audio-unit-extension-tests/) that builds,
  registers, launches the host, instantiates the AU out-of-process,
  runs NUnit tests inside the extension, and collects results.
- Makefiles (tests/monotouch-test/dotnet/extensions/audio-unit/) with
  run-monovm / run-coreclr targets and TEST_FILTER support.
- TouchRunner modifications to support extension-hosted execution.
- Test for issue #24869: extensions with managed-static registrar.

Fixes #24869
…le ctors

Move ExtensionTestRunner from the monotouch-test project into the shared
Touch.Client runner (namespace MonoTouch.NUnit.UI), so it can be reused by any
Touch.Unit-based test app. Since the shared runner can't reference the per-app
generated TestLoader, CreateHeadlessRunner now takes the test assemblies as an
argument, and the caller passes TestLoader.GetTestAssemblies ().

Also change the app extension `(IntPtr handle)` base constructors to
`(NativeHandle handle)` across the extension test projects.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 3f83ba49-2d01-4cee-b4ca-8fbb6912c597
…nts into the csproj

Set AssemblyName=monotouchtest so the extension's native executable and bundle
name match the container app conventions, which lets BundleTest use the same
expected executable name on all platforms again.

Replace the six per-platform Info.plist/Entitlements.plist files with:
 * a single shared AppExtension-Info.plist (referenced via PartialAppManifest)
   containing only the keys with no MSBuild property equivalent (NSExtension,
   CFBundleDisplayName/CFBundleName).
 * CustomEntitlements items in AppExtension-shared.csproj (the network client/server
   entitlements come from the shared monotouch-test project).

The remaining Info.plist keys (bundle identifier, version, package type, etc.) are
derived automatically by CompileAppManifest from the csproj properties.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 3f83ba49-2d01-4cee-b4ca-8fbb6912c597
…ARIATION

Remove the CoreCLR/MonoVM split (the XAMARIN_RUNTIME variable and the
build/run-monovm/coreclr convenience targets) from the audio-unit extension
makefiles, and select the runtime, registrar and configuration using
TEST_VARIATION instead (the same mechanism the other .NET test projects use, see
tests/common/test-variations.csproj). The per-platform makefiles now just include
the shared makefile.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 3f83ba49-2d01-4cee-b4ca-8fbb6912c597
Rework the audio-unit extension test harness to report results the same
way the regular Touch.Unit test apps do: over a localhost TCP connection.

* The run script (run-audio-unit-extension-tests) now opens a TcpListener
  on a free 127.0.0.1 port, configures the extension via NSUserDefaults
  (network.enabled/host.name/host.port/transport=TCP + xml.enabled), and
  reads the NUnit XML result stream back over the socket (until the
  '<!-- the end -->' marker). Pass/fail is parsed from the <test-results>
  element and the raw NUnit XML is persisted for CI consumption. The
  system log is still captured, but for diagnostics only.

* Subprocess launches use Xamarin.Utils.Execution (tools/common/Execution.cs)
  instead of hand-rolled Process helpers.

* The extension's test filter now comes solely from NSUserDefaults
  (test.name); the environment-variable, bundle-file and Info.plist
  fallbacks are removed, along with the build-time MonotouchExtensionTestName
  property.

This relies on the empirically-verified fact that 'defaults write
<extension-bundle-id> ...' reaches the sandboxed extension's
NSUserDefaults.StandardUserDefaults, whereas environment variables set on
the container host do not propagate to the OS-spawned extension process.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 3f83ba49-2d01-4cee-b4ca-8fbb6912c597
@vs-mobiletools-engineering-service2

This comment has been minimized.

@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: cf28e173cbc6f6539d9183cb2a0465baf1043f4f [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 [CI Build #cf28e17] Test results 🔥

Test results

❌ Tests failed on VSTS: test results

1 tests crashed, 160 tests failed, 42 tests passed.

Failures

❌ dotnettests tests (iOS)

1 tests failed, 0 tests passed.

Failed tests

  • DotNet tests: Failed (Execution failed with exit code 1)
    • Xamarin.Tests.DotNetProjectTest.BuildFatMonoTouchTest(iOS,"iossi...: Info.plist
      Assert.That(infoPlistPath, Does.Exist)
      Expected: file or directory exists
      But was: "/Users/cloudtest/vss/_work...
    • Xamarin.Tests.DotNetProjectTest.BuildProjectsWithExtensions(iOS,...: 'dotnet build' failed with exit code 1
      Full command: /Users/cloudtest/vss/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.400-...
    • Xamarin.Tests.DotNetProjectTest.BuildProjectsWithExtensions(iOS,...: 'dotnet build' failed with exit code 1
      Full command: /Users/cloudtest/vss/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.400-...
    • ... and 4 more

Html Report (VSDrops) Download

❌ dotnettests tests (MacCatalyst)

1 tests failed, 0 tests passed.

Failed tests

  • DotNet tests: Failed (Execution failed with exit code 1)
    • Xamarin.Tests.DotNetProjectTest.BuildFatMonoTouchTest(MacCatalys...: Info.plist
      Assert.That(infoPlistPath, Does.Exist)
      Expected: file or directory exists
      But was: "/Users/cloudtest/vss/_work...
    • Xamarin.Tests.DotNetProjectTest.PublishAotMonoTouchTest_NoIL2009...: Multiple failures or warnings in test:
  1. Unexpected warning: ILLINK: It's not safe to remove the dynamic registrar, because m...
    * Xamarin.Tests.RegistrarTest.MonotouchTestInAudioUnitExtension(Ma...: App extension directory does not exist: /Users/cloudtest/vss/_work/1/s/macios/tests/monotouch-test/dotnet/extensions/audio-uni...

Html Report (VSDrops) Download

❌ dotnettests tests (macOS)

1 tests failed, 0 tests passed.

Failed tests

  • DotNet tests: Failed (Execution failed with exit code 1)
    • Xamarin.Tests.DotNetProjectTest.BuildFatMonoTouchTest(MacOSX,"os...: Info.plist
      Assert.That(infoPlistPath, Does.Exist)
      Expected: file or directory exists
      But was: "/Users/cloudtest/vss/_work...
    • Xamarin.Tests.DotNetProjectTest.BuildProjectsWithExtensions(MacO...: 'dotnet build' failed with exit code 1
      Full command: /Users/cloudtest/vss/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.400-...
    • Xamarin.Tests.DotNetProjectTest.BuildProjectsWithExtensions(MacO...: 'dotnet build' failed with exit code 1
      Full command: /Users/cloudtest/vss/_work/1/s/macios/builds/downloads/dotnet-sdk-10.0.400-...
    • ... and 7 more

Html Report (VSDrops) Download

❌ dotnettests tests (tvOS)

1 tests failed, 0 tests passed.

Failed tests

  • DotNet tests: Failed (Execution failed with exit code 1)
    • Xamarin.Tests.DotNetProjectTest.PublishAotMonoTouchTest_NoIL2009...: Multiple failures or warnings in test:
  1. Unexpected warning: ILLINK: It's not safe to remove the dynamic registrar, because m...

Html Report (VSDrops) Download

❌ interdependent-binding-projects tests

4 tests failed, 0 tests passed.

Failed tests

  • interdependent-binding-projects/macOS/Debug: Failed (Test run crashed (exit code: 134).
    Test run crashed)
  • interdependent-binding-projects/Mac Catalyst/Debug: Failed (Test run crashed (exit code: 134).
    Test run crashed)
  • interdependent-binding-projects/iOS - simulator/Debug: Crashed
  • interdependent-binding-projects/tvOS - simulator/Debug: Crashed

Html Report (VSDrops) Download

❌ introspection tests

4 tests failed, 0 tests passed.

Failed tests

  • introspection/macOS/Debug: TimedOut (Execution timed out after 1200 seconds.
    Test run crashed)
  • introspection/Mac Catalyst/Debug: Failed (Test run crashed (exit code: 133).
    Test run crashed)
  • introspection/iOS - simulator/Debug: Crashed
  • introspection/tvOS - simulator/Debug: Crashed

Html Report (VSDrops) Download

❌ linker tests (iOS)

15 tests failed, 0 tests passed.

Failed tests

  • dont link/iOS - simulator/Debug: Failed
  • dont link/iOS - simulator/Release: Failed
  • dont link/iOS - simulator/Debug (PrepareAssemblies, MonoVM, Dynamic Registrar): Failed
  • dont link/iOS - simulator/Debug (PrepareAssemblies, MonoVM, Managed Static Registrar): Failed
  • dont link/iOS - simulator/Release (PrepareAssemblies, MonoVM, Dynamic Registrar): Failed
  • dont link/iOS - simulator/Release (PrepareAssemblies, MonoVM, Managed Static Registrar): Failed
  • link sdk/iOS - simulator/Debug: Crashed
  • link sdk/iOS - simulator/Release: Crashed
  • link all/iOS - simulator/Debug: Crashed
  • link all/iOS - simulator/Release: Crashed
  • link all/iOS - simulator/Debug (don't bundle original resources): Crashed
  • trimmode copy/iOS - simulator/Debug: Failed
  • trimmode copy/iOS - simulator/Release: Failed
  • trimmode link/iOS - simulator/Debug: Crashed
  • trimmode link/iOS - simulator/Release: Crashed

Html Report (VSDrops) Download

❌ linker tests (MacCatalyst)

12 tests failed, 3 tests passed.

Failed tests

  • dont link/Mac Catalyst/Debug: Failed (Test run failed.
    Tests run: 9 Passed: 8 Inconclusive: 0 Failed: 1 Ignored: 0)
  • dont link/Mac Catalyst/Debug (PrepareAssemblies, MonoVM, Dynamic Registrar): Failed (Test run failed.
    Tests run: 9 Passed: 8 Inconclusive: 0 Failed: 1 Ignored: 0)
  • dont link/Mac Catalyst/Debug (PrepareAssemblies, MonoVM, Managed Static Registrar): Failed (Test run failed.
    Tests run: 9 Passed: 8 Inconclusive: 0 Failed: 1 Ignored: 0)
  • dont link/Mac Catalyst/Release: Failed (Test run failed.
    Tests run: 9 Passed: 8 Inconclusive: 0 Failed: 1 Ignored: 0)
  • dont link/Mac Catalyst/Release (PrepareAssemblies, MonoVM, Dynamic Registrar): Failed (Test run failed.
    Tests run: 9 Passed: 8 Inconclusive: 0 Failed: 1 Ignored: 0)
  • dont link/Mac Catalyst/Release (PrepareAssemblies, MonoVM, Managed Static Registrar): Failed (Test run failed.
    Tests run: 9 Passed: 8 Inconclusive: 0 Failed: 1 Ignored: 0)
  • link sdk/Mac Catalyst/Debug: Failed (Test run failed.
    Tests run: 134 Passed: 118 Inconclusive: 0 Failed: 9 Ignored: 7)
  • link all/Mac Catalyst/Debug: Failed (Test run failed.
    Tests run: 94 Passed: 80 Inconclusive: 0 Failed: 5 Ignored: 9)
  • link all/Mac Catalyst/Debug (don't bundle original resources): Failed (Test run failed.
    Tests run: 94 Passed: 80 Inconclusive: 0 Failed: 5 Ignored: 9)
  • trimmode copy/Mac Catalyst/Debug: Failed (Test run failed.
    Tests run: 9 Passed: 8 Inconclusive: 0 Failed: 1 Ignored: 0)
  • trimmode copy/Mac Catalyst/Release: Failed (Test run failed.
    Tests run: 9 Passed: 8 Inconclusive: 0 Failed: 1 Ignored: 0)
  • trimmode link/Mac Catalyst/Debug: Failed (Test run failed.
    Tests run: 132 Passed: 120 Inconclusive: 0 Failed: 9 Ignored: 3)

Html Report (VSDrops) Download

❌ linker tests (macOS)

8 tests failed, 13 tests passed.

Failed tests

  • link sdk/macOS/Debug: Failed (Test run failed.
    Tests run: 121 Passed: 114 Inconclusive: 0 Failed: 1 Ignored: 6)
  • link sdk/macOS/Debug (PrepareAssemblies, CoreCLR, Trimmable Static Registrar): Failed (Test run failed.
    Tests run: 121 Passed: 114 Inconclusive: 0 Failed: 1 Ignored: 6)
  • link all/macOS/Debug: Failed (Test run failed.
    Tests run: 91 Passed: 79 Inconclusive: 0 Failed: 3 Ignored: 9)
  • link all/macOS/Debug (PrepareAssemblies, CoreCLR, Trimmable Static Registrar): Failed (Test run failed.
    Tests run: 92 Passed: 80 Inconclusive: 0 Failed: 3 Ignored: 9)
  • link all/macOS/Debug (don't bundle original resources): Failed (Test run failed.
    Tests run: 91 Passed: 79 Inconclusive: 0 Failed: 3 Ignored: 9)
  • link all/macOS/Release: Failed (Test run failed.
    Tests run: 91 Passed: 80 Inconclusive: 0 Failed: 2 Ignored: 9)
  • link all/macOS/Release (PrepareAssemblies, CoreCLR, Trimmable Static Registrar): Failed (Test run failed.
    Tests run: 92 Passed: 81 Inconclusive: 0 Failed: 2 Ignored: 9)
  • trimmode link/macOS/Debug: Failed (Test run failed.
    Tests run: 119 Passed: 116 Inconclusive: 0 Failed: 1 Ignored: 2)

Html Report (VSDrops) Download

❌ linker tests (tvOS)

12 tests failed, 3 tests passed.

Failed tests

  • dont link/tvOS - simulator/Debug: Failed
  • dont link/tvOS - simulator/Release: Failed
  • dont link/tvOS - simulator/Debug (PrepareAssemblies, MonoVM, Dynamic Registrar): Failed
  • dont link/tvOS - simulator/Debug (PrepareAssemblies, MonoVM, Managed Static Registrar): Failed
  • dont link/tvOS - simulator/Release (PrepareAssemblies, MonoVM, Dynamic Registrar): Failed
  • dont link/tvOS - simulator/Release (PrepareAssemblies, MonoVM, Managed Static Registrar): Failed
  • link sdk/tvOS - simulator/Debug: Failed
  • link all/tvOS - simulator/Debug: Failed
  • link all/tvOS - simulator/Debug (don't bundle original resources): Failed
  • trimmode copy/tvOS - simulator/Debug: Failed
  • trimmode copy/tvOS - simulator/Release: Failed
  • trimmode link/tvOS - simulator/Debug: Failed

Html Report (VSDrops) Download

❌ monotouch tests (iOS)

19 tests failed, 0 tests passed.

Failed tests

  • monotouch-test/iOS - simulator/Debug: HarnessException (Harness exception for 'Tests for 35D72F39-EDCE-4C6E-BE35-A2C054950DCF': System.IO.DirectoryNotFoundException: The app bundle directory /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test/bin/iPhoneSimulator/Debug/net10.0-ios/iossimulator-arm64/monotouchtest.app does not exist
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 55
    at Xharness.AppRunner.InitializeAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/iOS - simulator/Release (link sdk): HarnessException (Harness exception for 'Tests for 35D72F39-EDCE-4C6E-BE35-A2C054950DCF': System.IO.DirectoryNotFoundException: The app bundle directory /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test/bin/iPhoneSimulator/Debug/net10.0-ios/iossimulator-arm64/monotouchtest.app does not exist
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 55
    at Xharness.AppRunner.InitializeAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/iOS - simulator/Release (link all): HarnessException (Harness exception for 'Tests for 35D72F39-EDCE-4C6E-BE35-A2C054950DCF': System.IO.DirectoryNotFoundException: The app bundle directory /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test/bin/iPhoneSimulator/Debug/net10.0-ios/iossimulator-arm64/monotouchtest.app does not exist
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 55
    at Xharness.AppRunner.InitializeAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/iOS - simulator/Debug (PrepareAssemblies): HarnessException (Harness exception for 'Tests for 35D72F39-EDCE-4C6E-BE35-A2C054950DCF': System.IO.DirectoryNotFoundException: The app bundle directory /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test/bin/iPhoneSimulator/Debug/net10.0-ios/iossimulator-arm64/monotouchtest.app does not exist
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 55
    at Xharness.AppRunner.InitializeAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/iOS - simulator/Debug (PrepareAssemblies, inline dlfcn, dont link): HarnessException (Harness exception for 'Tests for 35D72F39-EDCE-4C6E-BE35-A2C054950DCF': System.IO.DirectoryNotFoundException: The app bundle directory /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test/bin/iPhoneSimulator/Debug/net10.0-ios/iossimulator-arm64/monotouchtest.app does not exist
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 55
    at Xharness.AppRunner.InitializeAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/iOS - simulator/Debug (LinkSdk): HarnessException (Harness exception for 'Tests for 35D72F39-EDCE-4C6E-BE35-A2C054950DCF': System.IO.DirectoryNotFoundException: The app bundle directory /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test/bin/iPhoneSimulator/Debug/net10.0-ios/iossimulator-arm64/monotouchtest.app does not exist
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 55
    at Xharness.AppRunner.InitializeAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/iOS - simulator/Debug (static registrar): HarnessException (Harness exception for 'Tests for 35D72F39-EDCE-4C6E-BE35-A2C054950DCF': System.IO.DirectoryNotFoundException: The app bundle directory /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test/bin/iPhoneSimulator/Debug/net10.0-ios/iossimulator-arm64/monotouchtest.app does not exist
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 55
    at Xharness.AppRunner.InitializeAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/iOS - simulator/Release (all optimizations): HarnessException (Harness exception for 'Tests for 35D72F39-EDCE-4C6E-BE35-A2C054950DCF': System.IO.DirectoryNotFoundException: The app bundle directory /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test/bin/iPhoneSimulator/Debug/net10.0-ios/iossimulator-arm64/monotouchtest.app does not exist
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 55
    at Xharness.AppRunner.InitializeAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/iOS - simulator/Release (NativeAOT): HarnessException (Harness exception for 'Tests for 35D72F39-EDCE-4C6E-BE35-A2C054950DCF': System.IO.DirectoryNotFoundException: The app bundle directory /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test/bin/iPhoneSimulator/Debug/net10.0-ios/iossimulator-arm64/monotouchtest.app does not exist
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 55
    at Xharness.AppRunner.InitializeAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/iOS - simulator/Release (trimmable static registrar, NativeAOT): HarnessException (Harness exception for 'Tests for 35D72F39-EDCE-4C6E-BE35-A2C054950DCF': System.IO.DirectoryNotFoundException: The app bundle directory /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test/bin/iPhoneSimulator/Debug/net10.0-ios/iossimulator-arm64/monotouchtest.app does not exist
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 55
    at Xharness.AppRunner.InitializeAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/iOS - simulator/Debug (managed static registrar): HarnessException (Harness exception for 'Tests for 35D72F39-EDCE-4C6E-BE35-A2C054950DCF': System.IO.DirectoryNotFoundException: The app bundle directory /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test/bin/iPhoneSimulator/Debug/net10.0-ios/iossimulator-arm64/monotouchtest.app does not exist
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 55
    at Xharness.AppRunner.InitializeAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/iOS - simulator/Release (managed static registrar, all optimizations): HarnessException (Harness exception for 'Tests for 35D72F39-EDCE-4C6E-BE35-A2C054950DCF': System.IO.DirectoryNotFoundException: The app bundle directory /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test/bin/iPhoneSimulator/Debug/net10.0-ios/iossimulator-arm64/monotouchtest.app does not exist
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 55
    at Xharness.AppRunner.InitializeAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/iOS - simulator/Debug (interpreter): HarnessException (Harness exception for 'Tests for 35D72F39-EDCE-4C6E-BE35-A2C054950DCF': System.IO.DirectoryNotFoundException: The app bundle directory /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test/bin/iPhoneSimulator/Debug/net10.0-ios/iossimulator-arm64/monotouchtest.app does not exist
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 55
    at Xharness.AppRunner.InitializeAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/iOS - simulator/Release (interpreter): HarnessException (Harness exception for 'Tests for 35D72F39-EDCE-4C6E-BE35-A2C054950DCF': System.IO.DirectoryNotFoundException: The app bundle directory /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test/bin/iPhoneSimulator/Debug/net10.0-ios/iossimulator-arm64/monotouchtest.app does not exist
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs:line 55
    at Xharness.AppRunner.InitializeAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/AppRunner.cs:line 118
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:line 107
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:line 64
    at Xharness.Jenkins.TestTasks.TestTask.RunInternalAsync() in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:line 234)
  • monotouch-test/iOS - simulator/Release (compat inline Class.GetHandle): HarnessException (Harness exception for 'Tests for 35D72F39-EDCE-4C6E-BE35-A2C054950DCF': System.IO.DirectoryNotFoundException: The app bundle directory /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/bin/Debug/tmp-test-dir/monotouch-test/bin/iPhoneSimulator/Debug/net10.0-ios/iossimulator-arm64/monotouchtest.app does not exist
    at Xharness.IAppBundleInformationParserExtensions.ParseFromProject2(IAppBundleInformationParser this, AppBundleLocator _appBundleLocator, String projectFilePath, TestTarget target, String buildConfiguration) in /Users/cloudtest/vss/_work/1/s/macios/tests/xharness/IAppBundleInformationParserExtensions.cs\n\nThe message from CI is too large for the GitHub comments. You can find the full results here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants