question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Test failure: System.Drawing tests fail on ARM64/32

See original GitHub issue

Opened on behalf of @AriNuer

The test System.Drawing.Drawing2D.Tests.GraphicsPathTests/AddArc_Rectangle_Success has failed.

Failure Message:

Assert.Equal() Failure\r
Expected: {X=2.999624,Y=2.0137072,Width=0,Height=0.013704777}\r
Actual:   {X=2.9996243,Y=2.0137074,Width=0,Height=0.013704777}

Stack Trace:

   at System.Drawing.Drawing2D.Tests.GraphicsPathTests.AssertArc(GraphicsPath path) in F:\vsagent\5\s\src\System.Drawing.Common\tests\Drawing2D\GraphicsPathTests.cs:line 2434
   at System.Drawing.Drawing2D.Tests.GraphicsPathTests.AddArc_Rectangle_Success() in F:\vsagent\5\s\src\System.Drawing.Common\tests\Drawing2D\GraphicsPathTests.cs:line 402

Build : 3.0 - 20190303.8 (Core Tests) Failing configurations:

  • Windows.10.Arm64-arm64
    • Release

Details: https://mc.dot.net/#/product/netcore/30/source/official~2Fdotnet~2Fcorefx~2Frefs~2Fheads~2Fmaster/type/test~2Ffunctional~2Fcli~2F/build/20190303.8/workItem/System.Drawing.Common.Tests/analysis/xunit/System.Drawing.Drawing2D.Tests.GraphicsPathTests~2FAddArc_Rectangle_Success

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
saferncommented, Mar 7, 2019

@safern are you planning on disabling this for ARM or allowing some minor variance in the result in order to re-enable it on Unix?

@wfurt disabled it yesterday in the meantime. Once I have some bandwidth, I can do the work to allow the variance in the results so that we can have them running on all archs and oss.

0reactions
saferncommented, Aug 9, 2019

Let’s disable them for arm64/32 to get rolling builds green and then this issue can be addressed individually to re-enable the tests.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Test failure: System.Drawing tests fail on ARM64/32 #8817
The test System.Drawing.Drawing2D.Tests.GraphicsPathTests/AddArc_Rectangle_Success has failed. Failure Message: Assert.Equal() Failure\r Expected: { ...
Read more >
System.Drawing mono failure debugging
As per this answer regarding failed mono-test-install results, I put the following in test.cs : using System; using System.Drawing; class X ...
Read more >
How do I install System.Drawing.Common in a project that ...
I am trying to write some unit tests in C# in a '.NETFramework,Version=v4.5.2' application but all tests give the next error: 'System.IO.
Read more >
Troubleshooting Windows HLK Test Failures
Failed tests include error options that you can use to help troubleshoot test failures. For more information about the Results tab, see Manage ......
Read more >
System.Drawing.Common only supported on Windows - .NET
Learn about the .NET 6 breaking change where the System.Drawing.Common package is no longer supported on non-Windows operating systems.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found