-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Open
Labels
area-System.Managementbinaryformatter-migrationIssues related to the removal of BinaryFormatter and migrations away from itIssues related to the removal of BinaryFormatter and migrations away from itblocking-clean-ci-optionalBlocking optional rolling runsBlocking optional rolling runstest-bugProblem in test source code (most likely)Problem in test source code (most likely)
Milestone
Description
Discovering: System.Management.Tests (method display = ClassAndMethod, method display options = None)
Discovered: System.Management.Tests (found 10 of 28 test cases)
Starting: System.Management.Tests (parallel test collections = on [2 threads], stop on fail = off)
System.Management.Tests.ManagementObjectTests.Serialize_ManagementException [FAIL]
System.PlatformNotSupportedException : BinaryFormatter serialization and deserialization have been removed. See https://aka.ms/binaryformatter for more information.
Stack Trace:
/_/src/libraries/System.Runtime.Serialization.Formatters/src/System/Runtime/Serialization/Formatters/Binary/BinaryFormatter.Removed.cs(18,0): at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph)
/_/src/libraries/System.Management/tests/System/Management/ManagementObjectTests.cs(118,0): at System.Management.Tests.ManagementObjectTests.Serialize_ManagementException()
at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
/_/src/coreclr/System.Private.CoreLib/src/System/RuntimeHandles.cs(1168,0): at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
/_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs(36,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
/_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(57,0): at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Seems like Windows only problem.
Metadata
Metadata
Assignees
Labels
area-System.Managementbinaryformatter-migrationIssues related to the removal of BinaryFormatter and migrations away from itIssues related to the removal of BinaryFormatter and migrations away from itblocking-clean-ci-optionalBlocking optional rolling runsBlocking optional rolling runstest-bugProblem in test source code (most likely)Problem in test source code (most likely)