Skip to content

Commit

Permalink
[dotnet] Prevent linking out code referenced by P/Invoke (#10182)
Browse files Browse the repository at this point in the history
* [dotnet] Generate references.mm to prevent linking out code referenced by P/Invoke

* Address PR feedback: Namespaces.Foundation -> "Foundation."

* Address PR feedback: Simplify hasSymbols

* Reuse ListExportedSymbols step, respect App.SymbolMode

* Address PR feedback

* Workaround for tvOS
  • Loading branch information
filipnavara authored Dec 3, 2020
1 parent 14e3282 commit 17722de
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 3 deletions.
13 changes: 12 additions & 1 deletion dotnet/targets/Xamarin.Shared.Sdk.targets
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,14 @@
<ReadItemsFromFile File="$(_LinkerItemsDirectory)/_RegistrarFile.items" Condition="Exists('$(_LinkerItemsDirectory)/_RegistrarFile.items')">
<Output TaskParameter="Items" ItemName="_RegistrarFile" />
</ReadItemsFromFile>
<!-- Load _ReferencesFile -->
<ReadItemsFromFile File="$(_LinkerItemsDirectory)/_ReferencesFile.items" Condition="Exists('$(_LinkerItemsDirectory)/_ReferencesFile.items')">
<Output TaskParameter="Items" ItemName="_ReferencesFile" />
</ReadItemsFromFile>
<!-- Load _ReferencesLinkerFlags -->
<ReadItemsFromFile File="$(_LinkerItemsDirectory)/_ReferencesLinkerFlags.items" Condition="Exists('$(_LinkerItemsDirectory)/_ReferencesLinkerFlags.items')">
<Output TaskParameter="Items" ItemName="_ReferencesLinkerFlags" />
</ReadItemsFromFile>

<ItemGroup>
<_AssembliesToAOT Include="@(ResolvedFileToPublish)" Condition="'%(Extension)' == '.dll' Or '%(Extension)' == '.exe' " />
Expand Down Expand Up @@ -467,6 +475,9 @@
<_CompileNativeExecutableFile Include="@(_RegistrarFile)">
<OutputFile>$(_IntermediateNativeLibraryDir)%(Filename).o</OutputFile>
</_CompileNativeExecutableFile>
<_CompileNativeExecutableFile Include="@(_ReferencesFile)">
<OutputFile>$(_IntermediateNativeLibraryDir)%(Filename).o</OutputFile>
</_CompileNativeExecutableFile>
<_XamarinMainIncludeDirectory Include="$(_XamarinIncludeDirectory)" />
</ItemGroup>
</Target>
Expand Down Expand Up @@ -570,7 +581,7 @@
DylibRPath="$(_DylibRPath)"
EntitlementsInExecutable="$(_CompiledEntitlements)"
Frameworks="@(_NativeExecutableFrameworks);@(_BindingLibraryFrameworks)"
LinkerFlags="@(_BindingLibraryLinkerFlags);@(_MainLinkerFlags)"
LinkerFlags="@(_BindingLibraryLinkerFlags);@(_ReferencesLinkerFlags);@(_MainLinkerFlags)"
LinkWithLibraries="@(_XamarinMainLibraries);@(_BindingLibraryLinkWith);@(_MainLinkWith)"
MinimumOSVersion="$(_MinimumOSVersion)"
ObjectFiles="@(_NativeExecutableObjectFiles)"
Expand Down
2 changes: 2 additions & 0 deletions tools/dotnet-linker/SetupStep.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,12 @@ protected override void TryProcess ()
post_sweep_substeps.Add (new RemoveAttributesStep ());
}

Steps.Add (new ListExportedSymbols (null));
Steps.Add (new LoadNonSkippedAssembliesStep ());
Steps.Add (new ExtractBindingLibrariesStep ());
Steps.Add (new RegistrarStep ());
Steps.Add (new GenerateMainStep ());
Steps.Add (new GenerateReferencesStep ());
Steps.Add (new GatherFrameworksStep ());

Configuration.Write ();
Expand Down
48 changes: 48 additions & 0 deletions tools/dotnet-linker/Steps/GenerateReferencesStep.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
using System.Collections.Generic;
using System.IO;
using System.Text;

using Mono.Cecil;

using Xamarin.Bundler;
using Xamarin.Linker;

namespace Xamarin {

public class GenerateReferencesStep : ConfigurationAwareStep {
protected override string Name { get; } = "Generate References";
protected override int ErrorCode { get; } = 2320;

protected override void TryEndProcess ()
{
base.TryEndProcess ();

var app = Configuration.Application;
var required_symbols = Configuration.DerivedLinkContext.RequiredSymbols;
var items = new List<MSBuildItem> ();

switch (app.SymbolMode) {
case SymbolMode.Ignore:
break;
case SymbolMode.Code:
string reference_m = Path.Combine (Configuration.CacheDirectory, "reference.m");
reference_m = Configuration.Target.GenerateReferencingSource (reference_m, required_symbols);
if (!string.IsNullOrEmpty (reference_m)) {
var item = new MSBuildItem { Include = reference_m };
items.Add (item);
}
Configuration.WriteOutputForMSBuild ("_ReferencesFile", items);
break;
case SymbolMode.Linker:
foreach (var symbol in required_symbols) {
var item = new MSBuildItem { Include = "-u" + symbol.Prefix + symbol.Name };
items.Add (item);
}
Configuration.WriteOutputForMSBuild ("_ReferencesLinkerFlags", items);
break;
default:
throw ErrorHelper.CreateError (99, Errors.MX0099, $"invalid symbol mode: {app.SymbolMode}");
}
}
}
}
3 changes: 3 additions & 0 deletions tools/dotnet-linker/dotnet-linker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@
<Compile Include="..\linker\MonoTouch.Tuner\Extensions.cs">
<Link>external\tools\linker\MonoTouch.Tuner\Extensions.cs</Link>
</Compile>
<Compile Include="..\linker\MonoTouch.Tuner\ListExportedSymbols.cs">
<Link>external\tools\linker\MonoTouch.Tuner\ListExportedSymbols.cs</Link>
</Compile>
<Compile Include="..\linker\MonoTouch.Tuner\PreserveSmartEnumConversionsSubStep.cs">
<Link>external\tools\linker\MonoTouch.Tuner\PreserveSmartEnumConversionsSubStep.cs</Link>
</Compile>
Expand Down
17 changes: 15 additions & 2 deletions tools/linker/MonoTouch.Tuner/ListExportedSymbols.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
using Xamarin.Bundler;
using Xamarin.Linker;
using Xamarin.Tuner;
using Xamarin.Utils;

namespace MonoTouch.Tuner
namespace Xamarin.Linker.Steps
{
public class ListExportedSymbols : BaseStep
{
Expand All @@ -19,7 +20,11 @@ public class ListExportedSymbols : BaseStep

public DerivedLinkContext DerivedLinkContext {
get {
#if NET
return LinkerConfiguration.GetInstance (Context).DerivedLinkContext;
#else
return (DerivedLinkContext) Context;
#endif
}
}

Expand All @@ -36,8 +41,10 @@ protected override void ProcessAssembly (AssemblyDefinition assembly)
if (Annotations.GetAction (assembly) == AssemblyAction.Delete)
return;

#if !NET
if (skip_sdk_assemblies && Profile.IsSdkAssembly (assembly))
return;
#endif

if (!assembly.MainModule.HasTypes)
return;
Expand Down Expand Up @@ -116,8 +123,14 @@ void ProcessMethod (MethodDefinition method)
case "__Internal":
DerivedLinkContext.RequiredSymbols.AddFunction (pinfo.EntryPoint).AddMember (method);
break;
case "System.Native":

case "System.Net.Security.Native":
#if NET
if (DerivedLinkContext.App.Platform == ApplePlatform.TVOS)
break; // tvOS does not ship with System.Net.Security.Native due to https://github.com/dotnet/runtime/issues/45535
goto case "System.Native";
#endif
case "System.Native":
case "System.Security.Cryptography.Native.Apple":
DerivedLinkContext.RequireMonoNative = true;
DerivedLinkContext.RequiredSymbols.AddFunction (pinfo.EntryPoint).AddMember (method);
Expand Down

3 comments on commit 17722de

@xamarin-release-manager
Copy link
Collaborator

Choose a reason for hiding this comment

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

🔥 Tests failed catastrophically on VSTS: device tests iOS (Cambridge) 🔥

Not enough free space in the host.

Pipeline on Agent

@xamarin-release-manager
Copy link
Collaborator

Choose a reason for hiding this comment

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

❌ Device tests failed on VSTS: device tests iOS (DDFun) ❌

Device tests failed on VSTS: device tests iOS (DDFun).

Test results

157 tests failed, 0 tests passed.

Failed tests

  • monotouch-test/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • monotouch-test/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): LaunchFailure (Launch failure)
  • monotouch-test/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • monotouch-test/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • monotouch-test/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): LaunchFailure (Launch failure)
  • monotouch-test/iOS Unified 64-bits - device/Release: LaunchFailure (Launch failure)
  • monotouch-test/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): LaunchFailure (Launch failure)
  • monotouch-test/iOS Unified 64-bits - device/Debug (dynamic registrar): LaunchFailure (Launch failure)
  • monotouch-test/iOS Unified 64-bits - device/Release (all optimizations): LaunchFailure (Launch failure)
  • monotouch-test/iOS Unified 64-bits - device/Debug (all optimizations): LaunchFailure (Launch failure)
  • monotouch-test/iOS Unified 64-bits - device/Debug: SGenConc: LaunchFailure (Launch failure)
  • monotouch-test/iOS Unified 64-bits - device/Debug (interpreter): LaunchFailure (Launch failure)
  • monotouch-test/iOS Unified 64-bits - device/Debug (interpreter -mscorlib): LaunchFailure (Launch failure)
  • monotouch-test/iOS Unified 64-bits - device/Release (interpreter -mscorlib): LaunchFailure (Launch failure)
  • fsharp/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • fsharp/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): LaunchFailure (Launch failure)
  • fsharp/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • fsharp/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • fsharp/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): LaunchFailure (Launch failure)
  • fsharp/iOS Unified 64-bits - device/Release: LaunchFailure (Launch failure)
  • fsharp/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): LaunchFailure (Launch failure)
  • framework-test/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • framework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): LaunchFailure (Launch failure)
  • framework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • framework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • framework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): LaunchFailure (Launch failure)
  • framework-test/iOS Unified 64-bits - device/Release: HarnessException (Harness exception for 'framework-test': System.ArgumentException: '.', hexadecimal value 0x00, is an invalid character.
    at System.Xml.XmlEncodedRawTextWriter.InvalidXmlChar (System.Int32 ch, System.Char* pDst, System.Boolean entitize) [0x00026] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1420
    at System.Xml.XmlEncodedRawTextWriter.WriteCDataSection (System.String text) [0x00251] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1370
    at System.Xml.XmlEncodedRawTextWriter.WriteCData (System.String text) [0x0012a] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:470
    at System.Xml.XmlEncodedRawTextWriterIndent.WriteCData (System.String text) [0x00007] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1750
    at System.Xml.XmlWellFormedWriter.WriteCData (System.String text) [0x00029] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriter.cs:771
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.TestReportGenerator.WriteFailure (System.Xml.XmlWriter writer, System.String message, System.IO.TextReader stderr) [0x00031] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/TestReportGenerator.cs:41
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.NUnitV3TestReportGenerator.GenerateFailure (System.Xml.XmlWriter writer, System.String title, System.String message, System.IO.TextReader stderr) [0x0030e] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/NUnitV3TestReportGenerator.cs:122
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailureXml (System.String destination, System.String title, System.String message, System.IO.TextReader stderrReader, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x00033] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:226
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailure (Microsoft.DotNet.XHarness.iOS.Shared.Logging.ILogs logs, System.String source, System.String appName, System.String variation, System.String title, System.String message, System.IO.TextReader stderrReader, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x000a4] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:248
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailure (Microsoft.DotNet.XHarness.iOS.Shared.Logging.ILogs logs, System.String source, System.String appName, System.String variation, System.String title, System.String message, System.String stderrPath, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x00008] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:236
    at Microsoft.DotNet.XHarness.iOS.Shared.TestReporter.GenerateXmlFailures (System.String failure, System.Boolean crashed, System.String crashReason) [0x000b0] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/TestReporter.cs:524
    at Microsoft.DotNet.XHarness.iOS.Shared.TestReporter.ParseResult () [0x00555] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/TestReporter.cs:685
    at Xharness.AppRunner.RunAsync () [0x01626] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/AppRunner.cs:436
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • framework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): LaunchFailure (Launch failure)
  • xcframework-test/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • xcframework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): BuildFailure
  • xcframework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • xcframework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): BuildFailure
  • xcframework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): LaunchFailure (Launch failure)
  • xcframework-test/iOS Unified 64-bits - device/Release: LaunchFailure (Launch failure)
  • xcframework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): LaunchFailure (Launch failure)
  • interdependent-binding-projects/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • interdependent-binding-projects/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): LaunchFailure (Launch failure)
  • interdependent-binding-projects/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • interdependent-binding-projects/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • interdependent-binding-projects/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): LaunchFailure (Launch failure)
  • interdependent-binding-projects/iOS Unified 64-bits - device/Release: LaunchFailure (Launch failure)
  • interdependent-binding-projects/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): LaunchFailure (Launch failure)
  • dont link/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • dont link/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): LaunchFailure (Launch failure)
  • dont link/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • dont link/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • dont link/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): LaunchFailure (Launch failure)
  • dont link/iOS Unified 64-bits - device/Release: TimedOut (Test runner never started)
  • dont link/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): LaunchFailure (Launch failure)
  • link all/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • link all/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): LaunchFailure (Launch failure)
  • link all/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • link all/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • link all/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): LaunchFailure (Launch failure)
  • link all/iOS Unified 64-bits - device/Release: HarnessException (Harness exception for 'link all': System.ArgumentException: '.', hexadecimal value 0x00, is an invalid character.
    at System.Xml.XmlEncodedRawTextWriter.InvalidXmlChar (System.Int32 ch, System.Char* pDst, System.Boolean entitize) [0x00026] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1420
    at System.Xml.XmlEncodedRawTextWriter.WriteCDataSection (System.String text) [0x00251] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1370
    at System.Xml.XmlEncodedRawTextWriter.WriteCData (System.String text) [0x0012a] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:470
    at System.Xml.XmlEncodedRawTextWriterIndent.WriteCData (System.String text) [0x00007] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1750
    at System.Xml.XmlWellFormedWriter.WriteCData (System.String text) [0x00029] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriter.cs:771
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.TestReportGenerator.WriteFailure (System.Xml.XmlWriter writer, System.String message, System.IO.TextReader stderr) [0x00031] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/TestReportGenerator.cs:41
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.NUnitV3TestReportGenerator.GenerateFailure (System.Xml.XmlWriter writer, System.String title, System.String message, System.IO.TextReader stderr) [0x0030e] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/NUnitV3TestReportGenerator.cs:122
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailureXml (System.String destination, System.String title, System.String message, System.IO.TextReader stderrReader, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x00033] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:226
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailure (Microsoft.DotNet.XHarness.iOS.Shared.Logging.ILogs logs, System.String source, System.String appName, System.String variation, System.String title, System.String message, System.IO.TextReader stderrReader, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x000a4] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:248
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailure (Microsoft.DotNet.XHarness.iOS.Shared.Logging.ILogs logs, System.String source, System.String appName, System.String variation, System.String title, System.String message, System.String stderrPath, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x00008] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:236
    at Microsoft.DotNet.XHarness.iOS.Shared.TestReporter.GenerateXmlFailures (System.String failure, System.Boolean crashed, System.String crashReason) [0x000b0] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/TestReporter.cs:524
    at Microsoft.DotNet.XHarness.iOS.Shared.TestReporter.ParseResult () [0x00555] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/TestReporter.cs:685
    at Xharness.AppRunner.RunAsync () [0x01626] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/AppRunner.cs:436
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • link all/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): LaunchFailure (Launch failure)
  • link sdk/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • link sdk/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): LaunchFailure (Launch failure)
  • link sdk/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • link sdk/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • link sdk/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): LaunchFailure (Launch failure)
  • link sdk/iOS Unified 64-bits - device/Release: HarnessException (Harness exception for 'link sdk': System.ArgumentException: '.', hexadecimal value 0x00, is an invalid character.
    at System.Xml.XmlEncodedRawTextWriter.InvalidXmlChar (System.Int32 ch, System.Char* pDst, System.Boolean entitize) [0x00026] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1420
    at System.Xml.XmlEncodedRawTextWriter.WriteCDataSection (System.String text) [0x00251] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1370
    at System.Xml.XmlEncodedRawTextWriter.WriteCData (System.String text) [0x0012a] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:470
    at System.Xml.XmlEncodedRawTextWriterIndent.WriteCData (System.String text) [0x00007] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1750
    at System.Xml.XmlWellFormedWriter.WriteCData (System.String text) [0x00029] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriter.cs:771
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.TestReportGenerator.WriteFailure (System.Xml.XmlWriter writer, System.String message, System.IO.TextReader stderr) [0x00031] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/TestReportGenerator.cs:41
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.NUnitV3TestReportGenerator.GenerateFailure (System.Xml.XmlWriter writer, System.String title, System.String message, System.IO.TextReader stderr) [0x0030e] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/NUnitV3TestReportGenerator.cs:122
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailureXml (System.String destination, System.String title, System.String message, System.IO.TextReader stderrReader, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x00033] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:226
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailure (Microsoft.DotNet.XHarness.iOS.Shared.Logging.ILogs logs, System.String source, System.String appName, System.String variation, System.String title, System.String message, System.IO.TextReader stderrReader, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x000a4] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:248
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailure (Microsoft.DotNet.XHarness.iOS.Shared.Logging.ILogs logs, System.String source, System.String appName, System.String variation, System.String title, System.String message, System.String stderrPath, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x00008] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:236
    at Microsoft.DotNet.XHarness.iOS.Shared.TestReporter.GenerateXmlFailures (System.String failure, System.Boolean crashed, System.String crashReason) [0x00247] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/TestReporter.cs:554
    at Microsoft.DotNet.XHarness.iOS.Shared.TestReporter.ParseResult () [0x00555] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/TestReporter.cs:685
    at Xharness.AppRunner.RunAsync () [0x01626] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/AppRunner.cs:436
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • link sdk/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): LaunchFailure (Launch failure)
  • mono-native-compat/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • mono-native-compat/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): LaunchFailure (Launch failure)
  • mono-native-compat/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • mono-native-compat/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • mono-native-compat/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): LaunchFailure (Launch failure)
  • mono-native-compat/iOS Unified 64-bits - device/Release: LaunchFailure (Launch failure)
  • mono-native-compat/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): LaunchFailure (Launch failure)
  • mono-native-unified/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • mono-native-unified/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): LaunchFailure (Launch failure)
  • mono-native-unified/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • mono-native-unified/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • mono-native-unified/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): LaunchFailure (Launch failure)
  • mono-native-unified/iOS Unified 64-bits - device/Release: LaunchFailure (Launch failure)
  • mono-native-unified/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): LaunchFailure (Launch failure)
  • [NUnit] Mono BCL tests group 1/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • [NUnit] Mono BCL tests group 1/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): HarnessException (Harness exception for '[NUnit] Mono BCL tests group 1': System.ArgumentException: '.', hexadecimal value 0x00, is an invalid character.
    at System.Xml.XmlEncodedRawTextWriter.InvalidXmlChar (System.Int32 ch, System.Char* pDst, System.Boolean entitize) [0x00026] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1420
    at System.Xml.XmlEncodedRawTextWriter.WriteCDataSection (System.String text) [0x00251] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1370
    at System.Xml.XmlEncodedRawTextWriter.WriteCData (System.String text) [0x0012a] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:470
    at System.Xml.XmlEncodedRawTextWriterIndent.WriteCData (System.String text) [0x00007] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1750
    at System.Xml.XmlWellFormedWriter.WriteCData (System.String text) [0x00029] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriter.cs:771
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.TestReportGenerator.WriteFailure (System.Xml.XmlWriter writer, System.String message, System.IO.TextReader stderr) [0x00031] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/TestReportGenerator.cs:41
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.NUnitV3TestReportGenerator.GenerateFailure (System.Xml.XmlWriter writer, System.String title, System.String message, System.IO.TextReader stderr) [0x0030e] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/NUnitV3TestReportGenerator.cs:122
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailureXml (System.String destination, System.String title, System.String message, System.IO.TextReader stderrReader, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x00033] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:226
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailure (Microsoft.DotNet.XHarness.iOS.Shared.Logging.ILogs logs, System.String source, System.String appName, System.String variation, System.String title, System.String message, System.IO.TextReader stderrReader, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x000a4] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:248
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailure (Microsoft.DotNet.XHarness.iOS.Shared.Logging.ILogs logs, System.String source, System.String appName, System.String variation, System.String title, System.String message, System.String stderrPath, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x00008] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:236
    at Microsoft.DotNet.XHarness.iOS.Shared.TestReporter.GenerateXmlFailures (System.String failure, System.Boolean crashed, System.String crashReason) [0x000b0] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/TestReporter.cs:524
    at Microsoft.DotNet.XHarness.iOS.Shared.TestReporter.ParseResult () [0x00555] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/TestReporter.cs:685
    at Xharness.AppRunner.RunAsync () [0x01626] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/AppRunner.cs:436
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • [NUnit] Mono BCL tests group 1/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • [NUnit] Mono BCL tests group 1/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • [NUnit] Mono BCL tests group 1/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): LaunchFailure (Launch failure)
  • [NUnit] Mono BCL tests group 1/iOS Unified 64-bits - device/Release: LaunchFailure (Launch failure)
  • [NUnit] Mono BCL tests group 1/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): LaunchFailure (Launch failure)
  • [NUnit] Mono BCL tests group 2/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • [NUnit] Mono BCL tests group 2/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): LaunchFailure (Launch failure)
  • [NUnit] Mono BCL tests group 2/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • [NUnit] Mono BCL tests group 2/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • [NUnit] Mono BCL tests group 2/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): TimedOut (Test runner never started)
  • [NUnit] Mono BCL tests group 2/iOS Unified 64-bits - device/Release: TimedOut (Test runner never started)
  • [NUnit] Mono BCL tests group 2/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 3/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 3/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 3/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 3/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 3/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 3/iOS Unified 64-bits - device/Release: TimedOut (Test runner never started)
  • [xUnit] Mono BCL tests group 3/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 4/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 4/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 4/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 4/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 4/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 4/iOS Unified 64-bits - device/Release: LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 4/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 5/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 5/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 5/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 5/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 5/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 5/iOS Unified 64-bits - device/Release: LaunchFailure (Launch failure)
  • [xUnit] Mono BCL tests group 5/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): LaunchFailure (Launch failure)
  • mscorlib Part 1/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • mscorlib Part 1/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): LaunchFailure (Launch failure)
  • mscorlib Part 1/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • mscorlib Part 1/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • mscorlib Part 1/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): LaunchFailure (Launch failure)
  • mscorlib Part 1/iOS Unified 64-bits - device/Release: TimedOut (Test runner never started)
  • mscorlib Part 1/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): LaunchFailure (Launch failure)
  • mscorlib Part 1/iOS Unified 64-bits - device/Debug: SGenConc: LaunchFailure (Launch failure)
  • mscorlib Part 2/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • mscorlib Part 2/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): LaunchFailure (Launch failure)
  • mscorlib Part 2/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • mscorlib Part 2/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • mscorlib Part 2/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): HarnessException (Harness exception for 'mscorlib Part 2': System.ArgumentException: '.', hexadecimal value 0x00, is an invalid character.
    at System.Xml.XmlEncodedRawTextWriter.InvalidXmlChar (System.Int32 ch, System.Char* pDst, System.Boolean entitize) [0x00026] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1420
    at System.Xml.XmlEncodedRawTextWriter.WriteCDataSection (System.String text) [0x00251] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1370
    at System.Xml.XmlEncodedRawTextWriter.WriteCData (System.String text) [0x0012a] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:470
    at System.Xml.XmlEncodedRawTextWriterIndent.WriteCData (System.String text) [0x00007] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1750
    at System.Xml.XmlWellFormedWriter.WriteCData (System.String text) [0x00029] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriter.cs:771
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.TestReportGenerator.WriteFailure (System.Xml.XmlWriter writer, System.String message, System.IO.TextReader stderr) [0x00031] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/TestReportGenerator.cs:41
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.NUnitV3TestReportGenerator.GenerateFailure (System.Xml.XmlWriter writer, System.String title, System.String message, System.IO.TextReader stderr) [0x0030e] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/NUnitV3TestReportGenerator.cs:122
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailureXml (System.String destination, System.String title, System.String message, System.IO.TextReader stderrReader, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x00033] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:226
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailure (Microsoft.DotNet.XHarness.iOS.Shared.Logging.ILogs logs, System.String source, System.String appName, System.String variation, System.String title, System.String message, System.IO.TextReader stderrReader, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x000a4] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:248
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailure (Microsoft.DotNet.XHarness.iOS.Shared.Logging.ILogs logs, System.String source, System.String appName, System.String variation, System.String title, System.String message, System.String stderrPath, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x00008] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:236
    at Microsoft.DotNet.XHarness.iOS.Shared.TestReporter.GenerateXmlFailures (System.String failure, System.Boolean crashed, System.String crashReason) [0x00247] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/TestReporter.cs:554
    at Microsoft.DotNet.XHarness.iOS.Shared.TestReporter.ParseResult () [0x00555] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/TestReporter.cs:685
    at Xharness.AppRunner.RunAsync () [0x01626] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/AppRunner.cs:436
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • mscorlib Part 2/iOS Unified 64-bits - device/Release: LaunchFailure (Launch failure)
  • mscorlib Part 2/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): LaunchFailure (Launch failure)
  • mscorlib Part 2/iOS Unified 64-bits - device/Debug: SGenConc: LaunchFailure (Launch failure)
  • mscorlib Part 3/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • mscorlib Part 3/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): LaunchFailure (Launch failure)
  • mscorlib Part 3/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • mscorlib Part 3/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • mscorlib Part 3/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): LaunchFailure (Launch failure)
  • mscorlib Part 3/iOS Unified 64-bits - device/Release: TimedOut (Test runner never started)
  • mscorlib Part 3/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): LaunchFailure (Launch failure)
  • mscorlib Part 3/iOS Unified 64-bits - device/Debug: SGenConc: LaunchFailure (Launch failure)
  • [xUnit] Mono SystemCoreXunit Part 1/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • [xUnit] Mono SystemCoreXunit Part 1/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): LaunchFailure (Launch failure)
  • [xUnit] Mono SystemCoreXunit Part 1/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • [xUnit] Mono SystemCoreXunit Part 1/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • [xUnit] Mono SystemCoreXunit Part 1/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): HarnessException (Harness exception for '[xUnit] Mono SystemCoreXunit Part 1': System.ArgumentException: '.', hexadecimal value 0x00, is an invalid character.
    at System.Xml.XmlEncodedRawTextWriter.InvalidXmlChar (System.Int32 ch, System.Char* pDst, System.Boolean entitize) [0x00026] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1420
    at System.Xml.XmlEncodedRawTextWriter.WriteCDataSection (System.String text) [0x00251] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1370
    at System.Xml.XmlEncodedRawTextWriter.WriteCData (System.String text) [0x0012a] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:470
    at System.Xml.XmlEncodedRawTextWriterIndent.WriteCData (System.String text) [0x00007] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1750
    at System.Xml.XmlWellFormedWriter.WriteCData (System.String text) [0x00029] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriter.cs:771
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.TestReportGenerator.WriteFailure (System.Xml.XmlWriter writer, System.String message, System.IO.TextReader stderr) [0x00031] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/TestReportGenerator.cs:41
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.NUnitV3TestReportGenerator.GenerateFailure (System.Xml.XmlWriter writer, System.String title, System.String message, System.IO.TextReader stderr) [0x0030e] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/NUnitV3TestReportGenerator.cs:122
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailureXml (System.String destination, System.String title, System.String message, System.IO.TextReader stderrReader, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x00033] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:226
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailure (Microsoft.DotNet.XHarness.iOS.Shared.Logging.ILogs logs, System.String source, System.String appName, System.String variation, System.String title, System.String message, System.IO.TextReader stderrReader, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x000a4] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:248
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailure (Microsoft.DotNet.XHarness.iOS.Shared.Logging.ILogs logs, System.String source, System.String appName, System.String variation, System.String title, System.String message, System.String stderrPath, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x00008] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:236
    at Microsoft.DotNet.XHarness.iOS.Shared.TestReporter.GenerateXmlFailures (System.String failure, System.Boolean crashed, System.String crashReason) [0x00247] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/TestReporter.cs:554
    at Microsoft.DotNet.XHarness.iOS.Shared.TestReporter.ParseResult () [0x00555] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/TestReporter.cs:685
    at Xharness.AppRunner.RunAsync () [0x01626] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/AppRunner.cs:436
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • [xUnit] Mono SystemCoreXunit Part 1/iOS Unified 64-bits - device/Release: TimedOut (Test runner never started)
  • [xUnit] Mono SystemCoreXunit Part 1/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): LaunchFailure (Launch failure)
  • [xUnit] Mono SystemCoreXunit Part 2/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • [xUnit] Mono SystemCoreXunit Part 2/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): LaunchFailure (Launch failure)
  • [xUnit] Mono SystemCoreXunit Part 2/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • [xUnit] Mono SystemCoreXunit Part 2/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • [xUnit] Mono SystemCoreXunit Part 2/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): LaunchFailure (Launch failure)
  • [xUnit] Mono SystemCoreXunit Part 2/iOS Unified 64-bits - device/Release: TimedOut (Test runner never started)
  • [xUnit] Mono SystemCoreXunit Part 2/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): TimedOut (Test runner never started)
  • [xUnit] Mono SystemXunit/iOS Unified 64-bits - device/Debug: LaunchFailure (Launch failure)
  • [xUnit] Mono SystemXunit/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): LaunchFailure (Launch failure)
  • [xUnit] Mono SystemXunit/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): LaunchFailure (Launch failure)
  • [xUnit] Mono SystemXunit/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): LaunchFailure (Launch failure)
  • [xUnit] Mono SystemXunit/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): LaunchFailure (Launch failure)
  • [xUnit] Mono SystemXunit/iOS Unified 64-bits - device/Release: LaunchFailure (Launch failure)
  • [xUnit] Mono SystemXunit/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): HarnessException (Harness exception for '[xUnit] Mono SystemXunit': System.ArgumentException: '.', hexadecimal value 0x00, is an invalid character.
    at System.Xml.XmlEncodedRawTextWriter.InvalidXmlChar (System.Int32 ch, System.Char* pDst, System.Boolean entitize) [0x00026] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1420
    at System.Xml.XmlEncodedRawTextWriter.WriteCDataSection (System.String text) [0x00251] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1370
    at System.Xml.XmlEncodedRawTextWriter.WriteCData (System.String text) [0x0012a] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:470
    at System.Xml.XmlEncodedRawTextWriterIndent.WriteCData (System.String text) [0x00007] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1750
    at System.Xml.XmlWellFormedWriter.WriteCData (System.String text) [0x00029] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriter.cs:771
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.TestReportGenerator.WriteFailure (System.Xml.XmlWriter writer, System.String message, System.IO.TextReader stderr) [0x00031] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/TestReportGenerator.cs:41
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.NUnitV3TestReportGenerator.GenerateFailure (System.Xml.XmlWriter writer, System.String title, System.String message, System.IO.TextReader stderr) [0x0030e] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/NUnitV3TestReportGenerator.cs:122
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailureXml (System.String destination, System.String title, System.String message, System.IO.TextReader stderrReader, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x00033] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:226
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailure (Microsoft.DotNet.XHarness.iOS.Shared.Logging.ILogs logs, System.String source, System.String appName, System.String variation, System.String title, System.String message, System.IO.TextReader stderrReader, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x000a4] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:248
    at Microsoft.DotNet.XHarness.iOS.Shared.XmlResults.XmlResultParser.GenerateFailure (Microsoft.DotNet.XHarness.iOS.Shared.Logging.ILogs logs, System.String source, System.String appName, System.String variation, System.String title, System.String message, System.String stderrPath, Microsoft.DotNet.XHarness.Common.XmlResultJargon jargon) [0x00008] in //src/Microsoft.DotNet.XHarness.iOS.Shared/XmlResults/XmlResultParser.cs:236
    at Microsoft.DotNet.XHarness.iOS.Shared.TestReporter.GenerateXmlFailures (System.String failure, System.Boolean crashed, System.String crashReason) [0x000b0] in /
    /src/Microsoft.DotNet.XHarness.iOS.Shared/TestReporter.cs:524
    at Microsoft.DotNet.XHarness.iOS.Shared.TestReporter.ParseResult () [0x00555] in /_/src/Microsoft.DotNet.XHarness.iOS.Shared/TestReporter.cs:685
    at Xharness.AppRunner.RunAsync () [0x01626] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/AppRunner.cs:436
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/23/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )

Pipeline on Agent XAMTESTMAC17

@xamarin-release-manager
Copy link
Collaborator

Choose a reason for hiding this comment

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

Build was (probably) aborted

🔥 Jenkins job (on internal Jenkins) failed in stage(s) 'Test run' 🔥

Provisioning succeeded
Build succeeded
✅ Packages built successfully

View packages

API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (no change)
🔥 Test run failed 🔥

Test results

7 tests failed, 171 tests passed.

Failed tests

  • [NUnit] Mono SystemNumericsTests/watchOS 32-bits - simulator/Debug: Failed
  • [NUnit] Mono MonoRuntimeTests/watchOS 32-bits - simulator/Debug: Failed
  • [xUnit] Mono SystemNumericsXunit/watchOS 32-bits - simulator/Debug: Failed
  • [xUnit] Mono MicrosoftCSharpXunit/watchOS 32-bits - simulator/Debug: Failed
  • [xUnit] Mono SystemCoreXunit Part 1/watchOS 32-bits - simulator/Debug: Failed
  • introspection/watchOS 32-bits - simulator/Debug (watchOS 3.2): Failed
  • MTouch tests/NUnit: Failed (Execution failed with exit code 1)

Please sign in to comment.