-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-System.Drawingos-linuxLinux OS (any supported distro)Linux OS (any supported distro)runtime-monospecific to the Mono runtimespecific to the Mono runtime
Milestone
Description
The following tests are disabled in mono's CoreFX.issues_linux.rsp, and start failing in linux CI (more specifically on RedHat) after enabling:
System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.RoundtripManyObjectsInOneStream
System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateBasicObjectsRoundtrip
System.Resources.Tests.ResourceManagerTests.GetObject_Images
System.Resources.Tests.ResourceManagerTests.GetObject_Images_ResourceSet
System.Resources.Tests.ResourceManagerTests.GetResourceSet_Images
System.Resources.Extensions.Tests.PreserializedResourceWriterTests.BinaryFormattedResources
System.Resources.Extensions.Tests.PreserializedResourceWriterTests.StreamResources
System.Resources.Extensions.Tests.PreserializedResourceWriterTests.BinaryFormattedResourcesWithoutTypeName
The example of stack trace:
System.Resources.Extensions.Tests.PreserializedResourceWriterTests.BinaryFormattedResources [FAIL]
System.TypeInitializationException : The type initializer for 'Gdip' threw an exception.
---- System.DllNotFoundException : libgdiplus assembly:<unknown assembly> type:<unknown type> member:(null)
Stack Trace:
/_/src/libraries/System.Drawing.Common/src/System/Drawing/Bitmap.cs(41,0): at System.Drawing.Bitmap..ctor(String filename, Boolean useIcm)
/_/src/libraries/System.Drawing.Common/src/System/Drawing/Bitmap.cs(24,0): at System.Drawing.Bitmap..ctor(String filename)
/_/src/libraries/System.Resources.Extensions/tests/TestData.cs(71,0): at System.Resources.Extensions.Tests.TestData.get_BinaryFormattedDrawing()
/_/src/libraries/System.Resources.Extensions/tests/TestData.cs(48,0): at System.Resources.Extensions.Tests.TestData.get_BinaryFormatted()
/_/src/libraries/System.Resources.Extensions/tests/BinaryResourceWriterUnitTest.cs(269,0): at System.Resources.Extensions.Tests.PreserializedResourceWriterTests.BinaryFormattedResources()
/_/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(339,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
----- Inner Stack Trace -----
/_/src/libraries/System.Drawing.Common/src/System/Drawing/Gdiplus.cs(34,0): at System.Drawing.SafeNativeMethods.Gdip..cctor()
Those tests will be marked with ActiveIssue in #33953
Metadata
Metadata
Assignees
Labels
area-System.Drawingos-linuxLinux OS (any supported distro)Linux OS (any supported distro)runtime-monospecific to the Mono runtimespecific to the Mono runtime