Skip to content

Commit

Permalink
[dotnet] Call monovm_initialize before mono_jit_init (#11014)
Browse files Browse the repository at this point in the history
Those are called respectively inside `xamarin_vm_initialize` and
`xamarin_bridge_initialize` functions.

This fix the **AppContext.GetData always return null for iOS** issue
dotnet/runtime#50290

Thanks for @filipnavara for diagnosing this quicker than anyone else!

Added unit tests to ensure `AppContext.GetData` can read back the values
we're providing at startup.
  • Loading branch information
spouliot authored Mar 29, 2021
1 parent 9c0d466 commit b186bd6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
3 changes: 1 addition & 2 deletions runtime/monotouch-main.m
Original file line number Diff line number Diff line change
Expand Up @@ -402,11 +402,10 @@ - (void) memoryWarning: (NSNotification *) sender
xamarin_initialize_cocoa_threads (NULL);
#endif

xamarin_bridge_initialize ();

#if DOTNET
xamarin_vm_initialize ();
#endif
xamarin_bridge_initialize ();

xamarin_initialize ();
DEBUG_LAUNCH_TIME_PRINT ("\tmonotouch init time");
Expand Down
9 changes: 9 additions & 0 deletions tests/linker/CommonLinkAnyTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,14 @@ public static void Bug7114 ([CallerFilePath] string filePath = null)
Assert.IsNotNull (filePath, "CallerFilePath");
}

#if NET
[Test]
public void AppContextGetData ()
{
// https://github.com/dotnet/runtime/issues/50290
Assert.IsNotNull (AppContext.GetData ("APP_PATHS"), "APP_PATHS");
Assert.IsNotNull (AppContext.GetData ("PINVOKE_OVERRIDE"), "PINVOKE_OVERRIDE");
}
#endif
}
}

9 comments on commit b186bd6

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

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

✅ Tests passed on Build. ✅

Tests passed on Build.

API diff

✅ API Diff from stable

View API diff

Packages generated

View packages

🎉 All 182 tests passed 🎉

Pipeline on Agent XAMBOT-1022'

@vs-mobiletools-engineering-service2
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 🔥

Not enough free space in the host.

Pipeline on Agent

@vs-mobiletools-engineering-service2
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 (no summary found). 🔥

Result file $(TEST_SUMMARY_PATH) not found.

Pipeline on Agent

@vs-mobiletools-engineering-service2
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 on VSTS: device tests tvOS ❌

Tests failed on VSTS: device tests tvOS.

Test results

1 tests failed, 156 tests' device not found, 5 tests passed.

Failed tests

  • monotouch-test/Mac Catalyst/Debug: BuildFailure

Pipeline on Agent XAMTESTMAC14

@vs-mobiletools-engineering-service2
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 on VSTS: device tests iOS32b ❌

Tests failed on VSTS: device tests iOS32b.

Test results

2 tests failed, 169 tests' device not found, 4 tests passed.

Failed tests

  • monotouch-test/Mac Catalyst/Debug: BuildFailure
  • xcframework-test/Mac Catalyst/Debug: BuildFailure

Pipeline on Agent XI-CAPTAIN-MARVEL

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

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

✅ Tests passed on Build. ✅

Tests passed on Build.

API diff

✅ API Diff from stable

View API diff

Packages generated

View packages

🎉 All 182 tests passed 🎉

Pipeline on Agent XAMBOT-1096'

@vs-mobiletools-engineering-service2
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 on VSTS: device tests tvOS ❌

Tests failed on VSTS: device tests tvOS.

Test results

1 tests failed, 156 tests' device not found, 5 tests passed.

Failed tests

  • monotouch-test/Mac Catalyst/Debug: BuildFailure

Pipeline on Agent XAMTESTMAC14

@vs-mobiletools-engineering-service2
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 on VSTS: device tests iOS32b ❌

Tests failed on VSTS: device tests iOS32b.

Test results

1 tests failed, 169 tests' device not found, 5 tests passed.

Failed tests

  • monotouch-test/Mac Catalyst/Debug: BuildFailure

Pipeline on Agent XI-CAPTAIN-MARVEL

@vs-mobiletools-engineering-service2
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 on VSTS: device tests iOS ❌

Tests failed on VSTS: device tests iOS.

Test results

158 tests failed, 5 tests passed.

Failed tests

  • monotouch-test/Mac Catalyst/Debug: BuildFailure
  • monotouch-test/iOS Unified 64-bits - device/Debug: BuildFailure
  • monotouch-test/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): BuildFailure
  • monotouch-test/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): BuildFailure
  • monotouch-test/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): BuildFailure
  • monotouch-test/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): BuildFailure
  • monotouch-test/iOS Unified 64-bits - device/Release: BuildFailure
  • monotouch-test/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): BuildFailure
  • monotouch-test/iOS Unified 64-bits - device/Debug (dynamic registrar): BuildFailure
  • monotouch-test/iOS Unified 64-bits - device/Release (all optimizations): BuildFailure
  • monotouch-test/iOS Unified 64-bits - device/Debug (all optimizations): BuildFailure
  • monotouch-test/iOS Unified 64-bits - device/Debug: SGenConc: BuildFailure
  • monotouch-test/iOS Unified 64-bits - device/Debug (interpreter): BuildFailure
  • monotouch-test/iOS Unified 64-bits - device/Debug (interpreter -mscorlib): BuildFailure
  • monotouch-test/iOS Unified 64-bits - device/Release (interpreter -mscorlib): BuildFailure
  • fsharp/iOS Unified 64-bits - device/Debug: HarnessException (Harness exception for 'fsharp': System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'XAMTESTMAC01'
    at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:308
    at System.Net.Dns.GetHostByName (System.String hostName) [0x00021] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:441
    at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:397
    at Xharness.AppRunner.RunAsync () [0x00369] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/AppRunner.cs:247
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • fsharp/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): HarnessException (Harness exception for 'fsharp': System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'XAMTESTMAC01'
    at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:308
    at System.Net.Dns.GetHostByName (System.String hostName) [0x00021] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:441
    at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:397
    at Xharness.AppRunner.RunAsync () [0x00369] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/AppRunner.cs:247
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • fsharp/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): HarnessException (Harness exception for 'fsharp': System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'XAMTESTMAC01'
    at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:308
    at System.Net.Dns.GetHostByName (System.String hostName) [0x00021] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:441
    at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:397
    at Xharness.AppRunner.RunAsync () [0x00369] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/AppRunner.cs:247
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • fsharp/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): HarnessException (Harness exception for 'fsharp': System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'XAMTESTMAC01'
    at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:308
    at System.Net.Dns.GetHostByName (System.String hostName) [0x00021] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:441
    at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:397
    at Xharness.AppRunner.RunAsync () [0x00369] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/AppRunner.cs:247
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • fsharp/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): HarnessException (Harness exception for 'fsharp': System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'XAMTESTMAC01'
    at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:308
    at System.Net.Dns.GetHostByName (System.String hostName) [0x00021] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:441
    at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:397
    at Xharness.AppRunner.RunAsync () [0x00369] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/AppRunner.cs:247
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • fsharp/iOS Unified 64-bits - device/Release: HarnessException (Harness exception for 'fsharp': System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'XAMTESTMAC01'
    at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:308
    at System.Net.Dns.GetHostByName (System.String hostName) [0x00021] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:441
    at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:397
    at Xharness.AppRunner.RunAsync () [0x00369] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/AppRunner.cs:247
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • fsharp/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): HarnessException (Harness exception for 'fsharp': System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'XAMTESTMAC01'
    at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:308
    at System.Net.Dns.GetHostByName (System.String hostName) [0x00021] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:441
    at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:397
    at Xharness.AppRunner.RunAsync () [0x00369] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/AppRunner.cs:247
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • framework-test/iOS Unified 64-bits - device/Debug: HarnessException (Harness exception for 'framework-test': System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'XAMTESTMAC01'
    at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:308
    at System.Net.Dns.GetHostByName (System.String hostName) [0x00021] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:441
    at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:397
    at Xharness.AppRunner.RunAsync () [0x00369] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/AppRunner.cs:247
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • framework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): HarnessException (Harness exception for 'framework-test': System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'XAMTESTMAC01'
    at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:308
    at System.Net.Dns.GetHostByName (System.String hostName) [0x00021] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:441
    at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:397
    at Xharness.AppRunner.RunAsync () [0x00369] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/AppRunner.cs:247
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • framework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): HarnessException (Harness exception for 'framework-test': System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'XAMTESTMAC01'
    at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:308
    at System.Net.Dns.GetHostByName (System.String hostName) [0x00021] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:441
    at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:397
    at Xharness.AppRunner.RunAsync () [0x00369] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/AppRunner.cs:247
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • framework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): HarnessException (Harness exception for 'framework-test': System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'XAMTESTMAC01'
    at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:308
    at System.Net.Dns.GetHostByName (System.String hostName) [0x00021] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:441
    at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:397
    at Xharness.AppRunner.RunAsync () [0x00369] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/AppRunner.cs:247
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • framework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): HarnessException (Harness exception for 'framework-test': System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'XAMTESTMAC01'
    at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:308
    at System.Net.Dns.GetHostByName (System.String hostName) [0x00021] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:441
    at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:397
    at Xharness.AppRunner.RunAsync () [0x00369] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/AppRunner.cs:247
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • framework-test/iOS Unified 64-bits - device/Release: HarnessException (Harness exception for 'framework-test': System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'XAMTESTMAC01'
    at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:308
    at System.Net.Dns.GetHostByName (System.String hostName) [0x00021] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:441
    at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:397
    at Xharness.AppRunner.RunAsync () [0x00369] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/AppRunner.cs:247
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • framework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): HarnessException (Harness exception for 'framework-test': System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'XAMTESTMAC01'
    at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:308
    at System.Net.Dns.GetHostByName (System.String hostName) [0x00021] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:441
    at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:397
    at Xharness.AppRunner.RunAsync () [0x00369] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/AppRunner.cs:247
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • xcframework-test/iOS Unified 64-bits - device/Debug: HarnessException (Harness exception for 'xcframework-test': System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'XAMTESTMAC01'
    at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:308
    at System.Net.Dns.GetHostByName (System.String hostName) [0x00021] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:441
    at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:397
    at Xharness.AppRunner.RunAsync () [0x00369] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/AppRunner.cs:247
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • xcframework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug): BuildFailure
  • xcframework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug): HarnessException (Harness exception for 'xcframework-test': System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'XAMTESTMAC01'
    at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:308
    at System.Net.Dns.GetHostByName (System.String hostName) [0x00021] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:441
    at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:397
    at Xharness.AppRunner.RunAsync () [0x00369] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/AppRunner.cs:247
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • xcframework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: dylib (debug, profiling): BuildFailure
  • xcframework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (debug, profiling): HarnessException (Harness exception for 'xcframework-test': System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'XAMTESTMAC01'
    at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:308
    at System.Net.Dns.GetHostByName (System.String hostName) [0x00021] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:441
    at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:397
    at Xharness.AppRunner.RunAsync () [0x00369] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/AppRunner.cs:247
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • xcframework-test/iOS Unified 64-bits - device/Release: HarnessException (Harness exception for 'xcframework-test': System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'XAMTESTMAC01'
    at System.Net.Dns.Error_11001 (System.String hostName) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:308
    at System.Net.Dns.GetHostByName (System.String hostName) [0x00021] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:441
    at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00052] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/Dns.cs:397
    at Xharness.AppRunner.RunAsync () [0x00369] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/AppRunner.cs:247
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x00ac4] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:163
    at Xharness.Jenkins.TestTasks.RunDevice.RunTestAsync () [0x0129e] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunDevice.cs:229
    at Xharness.Jenkins.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/RunTest.cs:109
    at Xharness.Jenkins.TestTasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/azdo/_work/141/s/xamarin-macios/tests/xharness/Jenkins/TestTasks/TestTask.cs:283 )
  • xcframework-test/iOS Unified 64-bits - device/AssemblyBuildTarget: SDK framework (release): HarnessException (Harness exception for 'xcframework-test': System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'XAMTESTMAC01'
    at System.Net.Dns.Error_11001 (System.String\n\nThe message from CI is too large for the GitHub comments. You can find the full results here.

Please sign in to comment.