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

Test failure System.Drawing.Tests.PenTests.Ctor_Brush_Width<SolidBrush>(brush: SolidBrush { Color = Color [Red] }, width: -∞, expectedPenType: SolidColor) #60751

Closed
VincentBu opened this issue Oct 22, 2021 · 4 comments
Labels
arch-x64 arch-x86 area-System.Drawing blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' os-windows

Comments

@VincentBu
Copy link
Contributor

VincentBu commented Oct 22, 2021

Run: runtime 20211021.47

Failed test:

net7.0-windows-Release-x64-CoreCLR_release-Windows.10.Amd64.ServerRS5.Open

- System.Drawing.Tests.PenTests.Ctor_Brush_Width<SolidBrush>(brush: SolidBrush { Color = Color [Red] }, width: -∞, expectedPenType: SolidColor)
- System.Drawing.Tests.PenTests.Ctor_Brush_Width<SolidBrush>(brush: SolidBrush { Color = Color [Red] }, width: -1, expectedPenType: SolidColor)
- System.Drawing.Tests.PenTests.Ctor_Brush_Width<SolidBrush>(brush: SolidBrush { Color = Color [Red] }, width: 0, expectedPenType: SolidColor)

net7.0-windows-Release-x64-CoreCLR_release-Windows.10.Amd64.ServerRS5.Open

- System.Drawing.Tests.PenTests.Ctor_Color_Width(width: -∞)
- System.Drawing.Tests.PenTests.Ctor_Color_Width(width: 0)
- System.Drawing.Tests.PenTests.Ctor_Color_Width(width: -1)

net7.0-windows-Release-x86-CoreCLR_release-Windows.10.Amd64.ServerRS5.Open

- System.Drawing.Tests.PenTests.Ctor_Brush_Width<SolidBrush>(brush: SolidBrush { Color = Color [Red] }, width: -∞, expectedPenType: SolidColor)
- System.Drawing.Tests.PenTests.Ctor_Brush_Width<SolidBrush>(brush: SolidBrush { Color = Color [Red] }, width: -1, expectedPenType: SolidColor)
- System.Drawing.Tests.PenTests.Ctor_Brush_Width<SolidBrush>(brush: SolidBrush { Color = Color [Red] }, width: 0, expectedPenType: SolidColor)

net7.0-windows-Release-x86-CoreCLR_release-Windows.10.Amd64.ServerRS5.Open

- System.Drawing.Tests.PenTests.Ctor_Color_Width(width: -∞)
- System.Drawing.Tests.PenTests.Ctor_Color_Width(width: 0)
- System.Drawing.Tests.PenTests.Ctor_Color_Width(width: -1)

Error message:

Assert.Equal() Failure
Expected: -∞
Actual:   1


Stack trace
   at System.Drawing.Tests.PenTests.VerifyPen[T](Pen pen, PenType expectedPenType, Single expectedWidth) in /_/src/libraries/System.Drawing.Common/tests/PenTests.cs:line 1384
   at System.Drawing.Tests.PenTests.Ctor_Brush_Width[T](T brush, Single width, PenType expectedPenType) in /_/src/libraries/System.Drawing.Common/tests/PenTests.cs:line 62

or

Assert.Equal() Failure
Expected: -1
Actual:   1


Stack trace
   at System.Drawing.Tests.PenTests.VerifyPen[T](Pen pen, PenType expectedPenType, Single expectedWidth) in /_/src/libraries/System.Drawing.Common/tests/PenTests.cs:line 1384
   at System.Drawing.Tests.PenTests.Ctor_Brush_Width[T](T brush, Single width, PenType expectedPenType) in /_/src/libraries/System.Drawing.Common/tests/PenTests.cs:line 62

or

Assert.Equal() Failure
Expected: 0
Actual:   1


Stack trace
   at System.Drawing.Tests.PenTests.VerifyPen[T](Pen pen, PenType expectedPenType, Single expectedWidth) in /_/src/libraries/System.Drawing.Common/tests/PenTests.cs:line 1384
   at System.Drawing.Tests.PenTests.Ctor_Brush_Width[T](T brush, Single width, PenType expectedPenType) in /_/src/libraries/System.Drawing.Common/tests/PenTests.cs:line 62
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Oct 22, 2021
@ghost
Copy link

ghost commented Oct 22, 2021

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

Issue Details

Run: runtime 20211021.47

Failed test:

net7.0-windows-Release-x64-CoreCLR_release-Windows.10.Amd64.ServerRS5.Open

- System.Drawing.Tests.PenTests.Ctor_Brush_Width<SolidBrush>(brush: SolidBrush { Color = Color [Red] }, width: -∞, expectedPenType: SolidColor)
- System.Drawing.Tests.PenTests.Ctor_Brush_Width<SolidBrush>(brush: SolidBrush { Color = Color [Red] }, width: -1, expectedPenType: SolidColor)
- System.Drawing.Tests.PenTests.Ctor_Brush_Width<SolidBrush>(brush: SolidBrush { Color = Color [Red] }, width: 0, expectedPenType: SolidColor)

net7.0-windows-Release-x64-CoreCLR_release-Windows.10.Amd64.ServerRS5.Open

- System.Drawing.Tests.PenTests.Ctor_Color_Width(width: -∞)
- System.Drawing.Tests.PenTests.Ctor_Color_Width(width: 0)
- System.Drawing.Tests.PenTests.Ctor_Color_Width(width: -1)

net7.0-windows-Release-x86-CoreCLR_release-Windows.10.Amd64.ServerRS5.Open

- System.Drawing.Tests.PenTests.Ctor_Brush_Width<SolidBrush>(brush: SolidBrush { Color = Color [Red] }, width: -∞, expectedPenType: SolidColor)
- System.Drawing.Tests.PenTests.Ctor_Brush_Width<SolidBrush>(brush: SolidBrush { Color = Color [Red] }, width: -1, expectedPenType: SolidColor)
- System.Drawing.Tests.PenTests.Ctor_Brush_Width<SolidBrush>(brush: SolidBrush { Color = Color [Red] }, width: 0, expectedPenType: SolidColor)

net7.0-windows-Release-x86-CoreCLR_release-Windows.10.Amd64.ServerRS5.Open

- System.Drawing.Tests.PenTests.Ctor_Color_Width(width: -∞)
- System.Drawing.Tests.PenTests.Ctor_Color_Width(width: 0)
- System.Drawing.Tests.PenTests.Ctor_Color_Width(width: -1)

Error message:

Assert.Equal() Failure
Expected: -∞
Actual:   1


Stack trace
   at System.Drawing.Tests.PenTests.VerifyPen[T](Pen pen, PenType expectedPenType, Single expectedWidth) in /_/src/libraries/System.Drawing.Common/tests/PenTests.cs:line 1384
   at System.Drawing.Tests.PenTests.Ctor_Brush_Width[T](T brush, Single width, PenType expectedPenType) in /_/src/libraries/System.Drawing.Common/tests/PenTests.cs:line 62

or

Assert.Equal() Failure
Expected: -1
Actual:   1


Stack trace
   at System.Drawing.Tests.PenTests.VerifyPen[T](Pen pen, PenType expectedPenType, Single expectedWidth) in /_/src/libraries/System.Drawing.Common/tests/PenTests.cs:line 1384
   at System.Drawing.Tests.PenTests.Ctor_Brush_Width[T](T brush, Single width, PenType expectedPenType) in /_/src/libraries/System.Drawing.Common/tests/PenTests.cs:line 62

or

Assert.Equal() Failure
Expected: 0
Actual:   1


Stack trace
   at System.Drawing.Tests.PenTests.VerifyPen[T](Pen pen, PenType expectedPenType, Single expectedWidth) in /_/src/libraries/System.Drawing.Common/tests/PenTests.cs:line 1384
   at System.Drawing.Tests.PenTests.Ctor_Brush_Width[T](T brush, Single width, PenType expectedPenType) in /_/src/libraries/System.Drawing.Common/tests/PenTests.cs:line 62
Author: VincentBu
Assignees: -
Labels:

arch-x86, area-System.Drawing, os-windows, arch-x64

Milestone: -

@agocke agocke added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' and removed untriaged New issue has not been triaged by the area owner labels Oct 22, 2021
@agocke
Copy link
Member

agocke commented Oct 22, 2021

This is starting to fail quite consistently in runtime builds

@safern
Copy link
Member

safern commented Oct 22, 2021

@agocke I've disabled the tests since yesterday, do you have a build where you saw it recently? This is a dupe of: #60731

Also I have a PR to disable on release/6.0 (perhaps that's where you saw it recently?): #60789

@safern safern closed this as completed Oct 22, 2021
@agocke
Copy link
Member

agocke commented Oct 23, 2021

Thanks, I was doing this investigation the night before, so I didn't realize that you had already merged a fix. LGTM

@ghost ghost locked as resolved and limited conversation to collaborators Nov 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-x64 arch-x86 area-System.Drawing blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' os-windows
Projects
None yet
Development

No branches or pull requests

3 participants