Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dotnet] Prevent linking out code referenced by P/Invoke #10182

Merged
merged 6 commits into from
Dec 3, 2020

Conversation

filipnavara
Copy link
Contributor

@filipnavara filipnavara commented Nov 30, 2020

Fixes running the following code:

	var ciFilter = CIFilter.FromName ("CIColorMatrix");
	var result = (CIImage)ciFilter.ValueForKey (new NSString ("outputImage"));

which resulted into call to xamarin_IntPtr_objc_msgSend_IntPtr which was linked out from the native code.

This adds a step to dotnet-linker that mimics what mmp/mtouch was doing. Depending on symbol mode setting it either generates: a) references.m file that contains code referencing all the P/Invoked symbols to prevent the native linker from linking them out, or b) -u<symbol> linker flags that mark the symbols to be preserved.

@filipnavara
Copy link
Contributor Author

filipnavara commented Nov 30, 2020

Hmm, apparently I was running the local test with --nosymbolstrip flag and it may affect whether this solution works or not.

A unit test like this should be adapted:

[Test]
public void ExceptionMarshaling ()
{
using (var mtouch = new MTouchTool ()) {
var code = @"
class X : Foundation.NSObject {
public X ()
{
ValueForKey (null); // calls xamarin_IntPtr_objc_msgSend_IntPtr, so that it's not linked away.
}
}
";
mtouch.CreateTemporaryCacheDirectory ();
mtouch.CreateTemporaryApp (extraCode: code);
mtouch.CustomArguments = new string [] { "--marshal-objectivec-exceptions=throwmanagedexception", "--dlsym:+Xamarin.iOS.dll" };
mtouch.Debug = false; // make sure the output is stripped
mtouch.AssertExecute (MTouchAction.BuildDev, "build");
Assert.That (mtouch.NativeSymbolsInExecutable, Does.Contain ("_xamarin_pinvoke_wrapper_objc_msgSend"), "symbols");
Assert.That (mtouch.NativeSymbolsInExecutable, Does.Contain ("_xamarin_IntPtr_objc_msgSend_IntPtr"), "symbols 2");
// build again with llvm enabled
mtouch.Abi = "arm64+llvm";
mtouch.AssertExecute (MTouchAction.BuildDev, "build llvm");
Assert.That (mtouch.NativeSymbolsInExecutable, Does.Contain ("_xamarin_pinvoke_wrapper_objc_msgSend"), "symbols llvm");
Assert.That (mtouch.NativeSymbolsInExecutable, Does.Contain ("_xamarin_IntPtr_objc_msgSend_IntPtr"), "symbols llvm 2");
}
}
.

tools/dotnet-linker/Steps/GenerateReferencesStep.cs Outdated Show resolved Hide resolved
@@ -89,6 +89,7 @@ protected override void TryProcess ()
Steps.Add (new ExtractBindingLibrariesStep ());
Steps.Add (new RegistrarStep ());
Steps.Add (new GenerateMainStep ());
Steps.Add (new GenerateReferencesStep ());
Copy link
Contributor

Choose a reason for hiding this comment

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

Not clear in PR but it seems to be after sweeping/cleaning.
Do check that enabling the linker result in less generated symbols (to keep around)

@spouliot
Copy link
Contributor

build

@spouliot spouliot added community Community contribution ❤ dotnet An issue or pull request related to .NET (6) labels Nov 30, 2020
@monojenkins
Copy link
Collaborator

Build failure
Build failed or was aborted

Provisioning succeeded

@spouliot
Copy link
Contributor

build

@monojenkins
Copy link
Collaborator

Build failure
Provisioning succeeded
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (no change)
🔥 Test run failed 🔥

Test results

62 tests failed, 28 tests passed.

Failed tests

  • monotouch-test/iOS Unified 64-bits - simulator/Debug: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • monotouch-test/iOS Unified 64-bits - simulator/Debug [dotnet]: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • monotouch-test/iOS Unified 64-bits - simulator/Debug (LinkSdk): HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • monotouch-test/iOS Unified 64-bits - simulator/Debug (static registrar): HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • monotouch-test/iOS Unified 64-bits - simulator/Release (all optimizations): HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • monotouch-test/iOS Unified 64-bits - simulator/Debug (LinkSdk) [dotnet]: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • monotouch-test/iOS Unified 64-bits - simulator/Debug (static registrar) [dotnet]: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • monotouch-test/iOS Unified 64-bits - simulator/Release (all optimizations) [dotnet]: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • monotouch-test/tvOS - simulator/Debug: LaunchFailure
  • monotouch-test/tvOS - simulator/Debug (LinkSdk): Failed
  • monotouch-test/tvOS - simulator/Debug (static registrar): Failed
  • monotouch-test/tvOS - simulator/Release (all optimizations): Failed
  • monotouch-test/watchOS 32-bits - simulator/Debug: LaunchFailure
  • monotouch-test/watchOS 32-bits - simulator/Debug (LinkSdk): LaunchFailure
  • monotouch-test/watchOS 32-bits - simulator/Debug (static registrar): LaunchFailure
  • monotouch-test/watchOS 32-bits - simulator/Release (all optimizations): LaunchFailure
  • fsharp/iOS Unified 64-bits - simulator/Debug: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • fsharp/tvOS - simulator/Debug: Failed
  • fsharp/watchOS 32-bits - simulator/Debug: LaunchFailure
  • framework-test/iOS Unified 64-bits - simulator/Debug: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • framework-test/tvOS - simulator/Debug: Failed
  • framework-test/watchOS 32-bits - simulator/Debug: LaunchFailure
  • xcframework-test/iOS Unified 64-bits - simulator/Debug: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • xcframework-test/tvOS - simulator/Debug: LaunchFailure
  • xcframework-test/watchOS 32-bits - simulator/Debug: LaunchFailure
  • interdependent-binding-projects/iOS Unified 64-bits - simulator/Debug: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • interdependent-binding-projects/iOS Unified 64-bits - simulator/Debug [dotnet]: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • interdependent-binding-projects/tvOS - simulator/Debug: Failed
  • interdependent-binding-projects/watchOS 32-bits - simulator/Debug: LaunchFailure
  • introspection/iOS Unified 64-bits - simulator/Debug: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • introspection/iOS Unified 64-bits - simulator/Debug [dotnet]: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • introspection/tvOS - simulator/Debug: LaunchFailure
  • introspection/tvOS - simulator/Debug [dotnet]: Failed
  • introspection/watchOS 32-bits - simulator/Debug: LaunchFailure
  • dont link/iOS Unified 64-bits - simulator/Debug: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • dont link/iOS Unified 64-bits - simulator/Release: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • dont link/iOS Unified 64-bits - simulator/Debug [dotnet]: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • dont link/iOS Unified 64-bits - simulator/Release [dotnet]: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • dont link/tvOS - simulator/Debug: Failed
  • dont link/watchOS 32-bits - simulator/Debug: LaunchFailure
  • dont link/watchOS 32-bits - simulator/Release: LaunchFailure
  • link all/iOS Unified 64-bits - simulator/Debug: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • link all/iOS Unified 64-bits - simulator/Release: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • link all/iOS Unified 64-bits - simulator/Debug [dotnet]: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • link all/iOS Unified 64-bits - simulator/Release [dotnet]: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • link all/watchOS 32-bits - simulator/Debug: LaunchFailure
  • link all/watchOS 32-bits - simulator/Release: LaunchFailure
  • link sdk/iOS Unified 64-bits - simulator/Debug: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • link sdk/iOS Unified 64-bits - simulator/Release: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • link sdk/iOS Unified 64-bits - simulator/Debug [dotnet]: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • link sdk/iOS Unified 64-bits - simulator/Release [dotnet]: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • link sdk/tvOS - simulator/Release: Failed
  • link sdk/watchOS 32-bits - simulator/Debug: LaunchFailure
  • link sdk/watchOS 32-bits - simulator/Release: LaunchFailure
  • mono-native-compat/iOS Unified 64-bits - simulator/Debug: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • mono-native-compat/iOS Unified Today Extension 64-bits - simulator/Debug: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • mono-native-compat/watchOS 32-bits - simulator/Debug: LaunchFailure
  • mono-native-unified/iOS Unified 64-bits - simulator/Debug: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • mono-native-unified/iOS Unified Today Extension 64-bits - simulator/Debug: HarnessException (Harness exception for 'Tests for 2FE14830-144E-4A8A-8F57-4CD56F28D786': System.Exception: Unable to evaluate the property OutputPath.
    at Xharness.AppBundleLocator.GetPropertyByMSBuildEvaluationAsync (System.Xml.XmlDocument csproj, System.String projectPath, System.String evaluateProperty, System.String dependsOnTargets, System.Collections.Generic.Dictionary`2[TKey,TValue] properties) [0x00327] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:105
    at Xharness.AppBundleLocator.LocateAppBundle (System.Xml.XmlDocument projectFile, System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x000a0] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppBundleLocator.cs:45
    at Microsoft.DotNet.XHarness.iOS.Shared.AppBundleInformationParser.ParseFromProject (System.String projectFilePath, Microsoft.DotNet.XHarness.iOS.Shared.TestTarget target, System.String buildConfiguration) [0x00147] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/AppBundleInformationParser.cs:71
    at Xharness.AppRunner.InitializeAsync () [0x00046] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/AppRunner.cs:120
    at Xharness.Jenkins.TestTasks.RunSimulator.SelectSimulatorAsync () [0x002df] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/RunSimulator.cs:108
    at Xharness.Jenkins.TestTasks.AggregatedRunSimulatorTask.ExecuteAsync () [0x00335] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/AggregatedRunSimulatorTask.cs:63
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • mono-native-unified/watchOS 32-bits - simulator/Debug: LaunchFailure
  • MSBuild tests/iOS (integration): TimedOut (Execution timed out after 90 minutes.)
  • DotNet tests: TimedOut (Execution timed out after 15 minutes.)

@rolfbjarne
Copy link
Member

build

@rolfbjarne rolfbjarne added this to the .NET 6 milestone Dec 1, 2020
@monojenkins
Copy link
Collaborator

Build success
Provisioning succeeded
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (no change)
Test run succeeded

@filipnavara filipnavara changed the title [dotnet] Generate references.mm to prevent linking out code referenced by P/Invoke [dotnet] Prevent linking out code referenced by P/Invoke Dec 2, 2020
@filipnavara filipnavara marked this pull request as ready for review December 2, 2020 12:09
Copy link
Member

@rolfbjarne rolfbjarne left a comment

Choose a reason for hiding this comment

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

Just a few minor things left, this is looking very good!

case SymbolMode.Linker:
case SymbolMode.Default:
foreach (var symbol in required_symbols) {
var item = new MSBuildItem { Include = "-u" + symbol.Prefix + symbol.Name };
Copy link
Member

Choose a reason for hiding this comment

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

I think you need a space here:

Suggested change
var item = new MSBuildItem { Include = "-u" + symbol.Prefix + symbol.Name };
var item = new MSBuildItem { Include = "-u " + symbol.Prefix + symbol.Name };

although that might have to be treated as two different MSBuildItems.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I actually checked it and the space is not necessary. In fact the space would create a problem because it would pass the whole thing quoted to the linker and the linker would expect the space to be part of the symbol name.

tools/dotnet-linker/Steps/GenerateReferencesStep.cs Outdated Show resolved Hide resolved
tools/linker/MonoTouch.Tuner/ListExportedSymbols.cs Outdated Show resolved Hide resolved
@rolfbjarne
Copy link
Member

build

@monojenkins
Copy link
Collaborator

Build failure
Provisioning succeeded
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (no change)
🔥 Test run failed 🔥

Test results

1 tests failed, 92 tests passed.

Failed tests

  • introspection/tvOS - simulator/Debug [dotnet]: BuildFailure

@filipnavara
Copy link
Contributor Author

filipnavara commented Dec 2, 2020

The failed test is related:

20.5795130                      Undefined symbols for architecture x86_64:
10:53:20.5795270                        "_NetSecurityNative_AcceptSecContext", referenced from:
10:53:20.5795360                           -u command line option
10:53:20.5795440                        "_NetSecurityNative_DeleteSecContext", referenced from:
10:53:20.5795520                           -u command line option
10:53:20.5795590                        "_NetSecurityNative_DisplayMajorStatus", referenced from:
10:53:20.5795670                           -u command line option
10:53:20.5795750                        "_NetSecurityNative_DisplayMinorStatus", referenced from:
10:53:20.5795830                           -u command line option
10:53:20.5795910                        "_NetSecurityNative_GetUser", referenced from:
10:53:20.5795990                           -u command line option
10:53:20.5796060                        "_NetSecurityNative_ImportPrincipalName", referenced from:
10:53:20.5796140                           -u command line option
10:53:20.5796230                        "_NetSecurityNative_ImportUserName", referenced from:
10:53:20.5796320                           -u command line option
10:53:20.5796590                        "_NetSecurityNative_InitSecContext", referenced from:
10:53:20.5796700                           -u command line option
10:53:20.5796790                        "_NetSecurityNative_InitSecContextEx", referenced from:
10:53:20.5796870                           -u command line option
10:53:20.5796940                        "_NetSecurityNative_InitiateCredSpNego", referenced from:
10:53:20.5797020                           -u command line option
10:53:20.5797100                        "_NetSecurityNative_InitiateCredWithPassword", referenced from:
10:53:20.5797180                           -u command line option
10:53:20.5797290                        "_NetSecurityNative_IsNtlmInstalled", referenced from:
10:53:20.5797370                           -u command line option
10:53:20.5797450                        "_NetSecurityNative_ReleaseCred", referenced from:
10:53:20.5797520                           -u command line option
10:53:20.5797600                        "_NetSecurityNative_ReleaseGssBuffer", referenced from:
10:53:20.5797680                           -u command line option
10:53:20.5797760                        "_NetSecurityNative_ReleaseName", referenced from:
10:53:20.5797840                           -u command line option
10:53:20.5797910                        "_NetSecurityNative_Unwrap", referenced from:
10:53:20.5798120                           -u command line option
10:53:20.5798220                        "_NetSecurityNative_Wrap", referenced from:
10:53:20.5798310                           -u command line option

The output suggests that it's indeed missing libSystem.Net.Security.Native.dylib reference so it could possibly be uncovering an unrelated bug. Previous iteration of the PR didn't hit it because it was special casing only __Internal P/Invokes and not the ones from runtime native helper libraries.

@filipnavara
Copy link
Contributor Author

Not sure how to solve it. Seems like System.Net.Security.Native is missing from tvOS builds (https://github.com/dotnet/runtime/blob/3c39a5d3b8310d9adcb906718cf985d3e40122da/src/libraries/Native/Unix/CMakeLists.txt#L224) so the failure is somewhat warranted. I can place #if !NET around the code in ListExportedSymbols.cs but it will only hide the problem.

@rolfbjarne
Copy link
Member

Not sure how to solve it. Seems like System.Net.Security.Native is missing from tvOS builds (https://github.com/dotnet/runtime/blob/3c39a5d3b8310d9adcb906718cf985d3e40122da/src/libraries/Native/Unix/CMakeLists.txt#L224) so the failure is somewhat warranted. I can place #if !NET around the code in ListExportedSymbols.cs but it will only hide the problem.

Something like this:

case "System.Net.Security.Native":
#if NET
    if (app.Platform == ApplePlatform.tvOS)
        break; // tvOS does not ship with System.Net.Security.Native due to https://github.com/dotnet/runtime/issues/####
#endif

basically file an issue and hide the problem (and add the issue to the list here: #8901)

@filipnavara
Copy link
Contributor Author

filipnavara commented Dec 3, 2020

Done. You'll have to link dotnet/runtime#45535 in #8901 yourself since I cannot edit other people's issues :-)

@rolfbjarne
Copy link
Member

build

@monojenkins
Copy link
Collaborator

Build success
Provisioning succeeded
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (no change)
Test run succeeded

@dpozimski
Copy link

can someone from the xamarin team look at the https://github.com/xamarin/xamarin-macios/issues/10884 issue?
it's possible that this PR created issue with build error in ios release mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Community contribution ❤ dotnet An issue or pull request related to .NET (6)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants