Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mono] Windows x64 Mono job BinaryFormatterTests exception #107553

Open
matouskozak opened this issue Sep 9, 2024 · 4 comments · May be fixed by #111208
Open

[mono] Windows x64 Mono job BinaryFormatterTests exception #107553

matouskozak opened this issue Sep 9, 2024 · 4 comments · May be fixed by #111208
Assignees
Labels
area-Infrastructure-mono binaryformatter-migration Issues related to the removal of BinaryFormatter and migrations away from it blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' disabled-test The test is disabled in source code against the issue in-pr There is an active PR which will close this issue when it is merged Known Build Error Use this to report build issues in the .NET Helix tab os-windows
Milestone

Comments

@matouskozak
Copy link
Member

matouskozak commented Sep 9, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=800429
Build error leg or test failing: System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateAgainstBlobs
Affected CI: windows-x64 Release AllSubsets_Mono
Range of commits: b10f5c9...1c4755d

Stack trace:

System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateAgainstBlobs [FAIL]
      System.TypeInitializationException : The type initializer for 'System.Drawing.DrawingCom' threw an exception.
      ---- System.PlatformNotSupportedException : Operation is not supported on this platform.
      Stack Trace:
           at System.Drawing.Bitmap..ctor(Stream stream, Boolean useIcm)
           at System.Drawing.Bitmap..ctor(Stream stream)
        /_/src/libraries/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTestData.cs(1357,0): at System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.SerializableObjects()+MoveNext()
        /_/src/libraries/System.Linq/src/System/Linq/ToCollection.cs(39,0): at System.Linq.Enumerable.<ToArray>g__EnumerableToArray|314_0[Object[]](IEnumerable`1 source)
        /_/src/libraries/System.Linq/src/System/Linq/ToCollection.cs(26,0): at System.Linq.Enumerable.ToArray[Object[]](IEnumerable`1 source)
        /_/src/libraries/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTestData.cs(79,0): at System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.SerializableObjects_MemberData()
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.Mono.cs(22,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)
        ----- Inner Stack Trace -----
           at System.Drawing.DrawingCom.InitializeComInterfaceEntry()
           at System.Drawing.DrawingCom..cctor()

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateAgainstBlobs [FAIL]",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=800429
Error message validated: [System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateAgainstBlobs [FAIL]]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/9/2024 3:32:12 PM UTC

Report

Build Definition Test Pull Request
896707 dotnet/runtime System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateAgainstBlobs

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 1
@matouskozak matouskozak added os-windows blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner area-Infrastructure-mono Known Build Error Use this to report build issues in the .NET Helix tab binaryformatter-migration Issues related to the removal of BinaryFormatter and migrations away from it labels Sep 9, 2024
Copy link
Contributor

Tagging subscribers to 'binaryformatter-migration': @adamsitnik, @bartonjs, @jeffhandley, @terrajobst

Copy link
Contributor

Tagging subscribers to this area: @directhex, @matouskozak
See info in area-owners.md if you want to be subscribed.

@matouskozak
Copy link
Member Author

I think this could be related to #107408. Could you take a look @adamsitnik, please?

@lewing lewing removed the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Sep 17, 2024
@steveisok steveisok removed the untriaged New issue has not been triaged by the area owner label Sep 30, 2024
@steveisok steveisok added this to the Future milestone Sep 30, 2024
@matouskozak matouskozak added the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Oct 21, 2024
@matouskozak
Copy link
Member Author

matouskozak commented Oct 21, 2024

The issue is still active and failing on runtime-extra-platforms

Image

I think it should be either fixed or disabled for Mono on Windows (not the main Mono target). cc: @adamsitnik

@matouskozak matouskozak added the disabled-test The test is disabled in source code against the issue label Jan 7, 2025
@adamsitnik adamsitnik self-assigned this Jan 8, 2025
@adamsitnik adamsitnik linked a pull request Jan 8, 2025 that will close this issue
@dotnet-policy-service dotnet-policy-service bot added the in-pr There is an active PR which will close this issue when it is merged label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Infrastructure-mono binaryformatter-migration Issues related to the removal of BinaryFormatter and migrations away from it blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' disabled-test The test is disabled in source code against the issue in-pr There is an active PR which will close this issue when it is merged Known Build Error Use this to report build issues in the .NET Helix tab os-windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants