dotnet / dotnet/winforms

Test failure System.Drawing.Tests.GraphicsTests

Open
#8,829 21 comments 0 reactions 0 assignees View on GitHub
area-System.Drawing disabled-test help wanted
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

Run: [runtime-coreclr libraries-jitstress 20210411.1](https://dev.azure.com/dnceng/public/_build/results?buildId=1082263&view=ms.vss-test-web.build-test-results-tab&runId=33188946&resultId=131371&paneView=debug)

Failed tests:
```
net6.0-windows-Release-arm64-CoreCLR_checked-zapdisable-Windows.10.Arm64v8.Open
-System.Drawing.Tests.GraphicsTests.FromHwnd_ValidHwnd_ReturnsExpected(hWnd: 394176)
-System.Drawing.Tests.GraphicsTests.FromHdc_ValidHdcWithContext_ReturnsExpected(hdc: 1308691546)
-System.Drawing.Tests.GraphicsTests.FromHdcInternal_GetDC_ReturnsExpected(hdc: 2030111713)
-System.Drawing.Tests.GraphicsTests.FromHwndInternal_ValidHwnd_ReturnsExpected(hWnd: 394176)
-System.Drawing.Tests.GraphicsTests.FromHdc_ValidHdc_ReturnsExpected(hdc: 587271215)
```

**Error message:**
```
Assert.False() Failure
Expected: False
Actual: True

Stack trace
at System.Drawing.Tests.GraphicsTests.VerifyGraphics(Graphics graphics, RectangleF expectedVisibleClipBounds) in /_/src/libraries/System.Drawing.Common/tests/GraphicsTests.cs:line 3179
at System.Drawing.Tests.GraphicsTests.FromHwnd_ValidHwnd_ReturnsExpected(IntPtr hWnd) in /_/src/libraries/System.Drawing.Common/tests/GraphicsTests.cs:line 265
```

Runfo Tracking Issue: [system.drawing.tests.graphicstests.fromhdc_validhdcwithcontext_returnsexpected](https://runfo.azurewebsites.net/tracking/issue/351)
|Build|Definition|Kind|Run Name|
|---|---|---|---|

Build Result Summary
|Day Hit Count|Week Hit Count|Month Hit Count|
|---|---|---|
|0|0|0|

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.