-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
Milestone
Description
Hit on #64766 which enables running library tests on NodeJS
.. due to System.PlatformNotSupportedException : System.Diagnostics.Process is not supported on this platform.
[23:14:43] fail: [FAIL] System.Text.RegularExpressions.Tests.RegexCacheTests.Ctor_Cache_Promote_entries
[23:14:43] info: System.TypeInitializationException : The type initializer for 'Microsoft.DotNet.RemoteExecutor.RemoteExecutor' threw an exception.
[23:14:43] info: ---- System.PlatformNotSupportedException : System.Diagnostics.Process is not supported on this platform.
[23:14:43] info: at System.Text.RegularExpressions.Tests.RegexCacheTests.Ctor_Cache_Promote_entries() in /_/src/libraries/System.Text.RegularExpressions/tests/Regex.Cache.Tests.cs:line 70
[23:14:43] info: at System.Reflection.RuntimeMethodInfo.InvokeWorker(Object obj, BindingFlags invokeAttr, Span`1 parameters) in /_/src/mono/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.Mono.cs:line 386
[23:14:43] info: ----- Inner Stack Trace -----
[23:14:43] info: at System.Diagnostics.Process.GetCurrentProcess() in /_/artifacts/obj/System.Diagnostics.Process/Release/net7.0/System.Diagnostics.Process.notsupported.cs:line 112
[23:14:43] info: at Microsoft.DotNet.RemoteExecutor.RemoteExecutor..cctor() in /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteExecutor.cs:line 49
[23:14:43] fail: [FAIL] System.Text.RegularExpressions.Tests.RegexCacheTests.Ctor_Cache_Second_drops_first
[23:14:43] info: System.TypeInitializationException : The type initializer for 'Microsoft.DotNet.RemoteExecutor.RemoteExecutor' threw an exception.
[23:14:43] info: ---- System.PlatformNotSupportedException : System.Diagnostics.Process is not supported on this platform.
[23:14:43] info: at System.Text.RegularExpressions.Tests.RegexCacheTests.Ctor_Cache_Second_drops_first() in /_/src/libraries/System.Text.RegularExpressions/tests/Regex.Cache.Tests.cs:line 42
[23:14:43] info: at System.Reflection.RuntimeMethodInfo.InvokeWorker(Object obj, BindingFlags invokeAttr, Span`1 parameters) in /_/src/mono/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.Mono.cs:line 386
[23:14:43] info: ----- Inner Stack Trace -----
[23:14:43] info: at System.Diagnostics.Process.GetCurrentProcess() in /_/artifacts/obj/System.Diagnostics.Process/Release/net7.0/System.Diagnostics.Process.notsupported.cs:line 112
[23:14:43] info: at Microsoft.DotNet.RemoteExecutor.RemoteExecutor..cctor() in /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteExecutor.cs:line 49
[23:14:43] fail: [FAIL] System.Text.RegularExpressions.Tests.RegexCacheTests.Ctor_Cache_Uses_dictionary_linked_list_switch_does_not_throw
[23:14:43] info: System.TypeInitializationException : The type initializer for 'Microsoft.DotNet.RemoteExecutor.RemoteExecutor' threw an exception.
[23:14:43] info: ---- System.PlatformNotSupportedException : System.Diagnostics.Process is not supported on this platform.
[23:14:43] info: at System.Text.RegularExpressions.Tests.RegexCacheTests.Ctor_Cache_Uses_dictionary_linked_list_switch_does_not_throw() in /_/src/libraries/System.Text.RegularExpressions/tests/Regex.Cache.Tests.cs:line 105
[23:14:43] info: at System.Reflection.RuntimeMethodInfo.InvokeWorker(Object obj, BindingFlags invokeAttr, Span`1 parameters) in /_/src/mono/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.Mono.cs:line 386
[23:14:43] info: ----- Inner Stack Trace -----
[23:14:43] info: at System.Diagnostics.Process.GetCurrentProcess() in /_/artifacts/obj/System.Diagnostics.Process/Release/net7.0/System.Diagnostics.Process.notsupported.cs:line 112
[23:14:43] info: at Microsoft.DotNet.RemoteExecutor.RemoteExecutor..cctor() in /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteExecutor.cs:line 49
[23:14:43] fail: [FAIL] System.Text.RegularExpressions.Tests.RegexCacheTests.Ctor_Cache_Uses_culture_and_options
[23:14:43] info: System.TypeInitializationException : The type initializer for 'Microsoft.DotNet.RemoteExecutor.RemoteExecutor' threw an exception.
[23:14:43] info: ---- System.PlatformNotSupportedException : System.Diagnostics.Process is not supported on this platform.
[23:14:43] info: at System.Text.RegularExpressions.Tests.RegexCacheTests.Ctor_Cache_Uses_culture_and_options() in /_/src/libraries/System.Text.RegularExpressions/tests/Regex.Cache.Tests.cs:line 87
[23:14:43] info: at System.Reflection.RuntimeMethodInfo.InvokeWorker(Object obj, BindingFlags invokeAttr, Span`1 parameters) in /_/src/mono/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.Mono.cs:line 386
[23:14:43] info: ----- Inner Stack Trace -----
[23:14:43] info: at System.Diagnostics.Process.GetCurrentProcess() in /_/artifacts/obj/System.Diagnostics.Process/Release/net7.0/System.Diagnostics.Process.notsupported.cs:line 112
[23:14:43] info: at Microsoft.DotNet.RemoteExecutor.RemoteExecutor..cctor() in /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteExecutor.cs:line 49
But this does not fail on windows.
cc @pavelsavara