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

[flaky test] system.windows.forms.tests.toolstriptests.toolstrip_rendersbackgroundcorrectly #8726

Closed
Tracked by #8607
runfoapp bot opened this issue Mar 1, 2023 · 2 comments
Closed
Tracked by #8607

Comments

@runfoapp
Copy link

runfoapp bot commented Mar 1, 2023

Runfo Tracking Issue: [flaky test] system.windows.forms.tests.toolstriptests.toolstrip_rendersbackgroundcorrectly

Build Definition Kind Run Name
189296 dotnet-winforms CI PR 8724 Windows_x86-xunit

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
0 0 1
@lonitra
Copy link
Member

lonitra commented Mar 1, 2023

    System.Windows.Forms.Tests.ToolStripTests.ToolStrip_RendersBackgroundCorrectly [FAIL]
      BitBltValidator did not receive expected records

[ENHMETAHEADER] Bounds: {X=0,Y=0,Width=283,Height=24} Device Size: {Width=1024, Height=768}Header Size: 108
      [EMRCREATEBRUSHINDIRECT] Index: 1 Style: BS_SOLID Color: Windows.Win32.Foundation.COLORREF
      [EMREMR_SELECTOBJECT] Index: 1
      [EMRBITBLT] Bounds: {X=0,Y=0,Width=283,Height=24} Destination: {X=0,Y=0,Width=284,Height=25} Rop: PATCOPYSource DC Color: Windows.Win32.Foundation.COLORREF (COLOR_BACKGROUND, COLOR_MENUTEXT, COLOR_WINDOWTEXT, COLOR_CAPTIONTEXT, COLOR_BTNTEXT, COLOR_INACTIVECAPTIONTEXT, COLOR_INFOTEXT)
      [EMREMR_SELECTOBJECT] StockObject: WHITE_BRUSH
      [EMREMR_DELETEOBJECT] Index: 1
      [EMREMR_SAVEDC]
      [EMREMR_SETVIEWPORTORGEX] Point: {X=0,Y=0}
      [EMREMR_SAVEDC]
      [EMREXTSELECTCLIPRGN] Mode: RGN_COPY Bounds: {X=0,Y=0,Width=284,Height=25} Rects: 7
	Rect index 0: {X=0,Y=0,Width=1,Height=1}
	Rect index 1: {X=281,Y=0,Width=3,Height=1}
	Rect index 2: {X=283,Y=1,Width=1,Height=2}
	Rect index 3: {X=0,Y=23,Width=1,Height=1}
	Rect index 4: {X=283,Y=23,Width=1,Height=1}
	Rect index 5: {X=0,Y=24,Width=2,Height=1}
	Rect index 6: {X=282,Y=24,Width=2,Height=1}
      [EMRCREATEBRUSHINDIRECT] Index: 1 Style: BS_SOLID Color: Windows.Win32.Foundation.COLORREF (COLOR_MENU, COLOR_BTNFACE, COLOR_MENUBAR)
      [EMREMR_SELECTOBJECT] Index: 1
      [EMREMR_DELETEOBJECT] Index: 1
      
      Expected: False
      Actual:   True
      Stack Trace:
        /_/src/System.Windows.Forms.Primitives/tests/TestUtilities/Metafiles/Validators/EmfValidator.cs(62,0): at System.Windows.Forms.Metafiles.EmfValidator.Validate(EmfScope emf, DeviceContextState state, IEmfValidator[] validationSteps)
        /_/src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/ToolStripTests.Rendering.cs(48,0): at System.Windows.Forms.Tests.ToolStripTests.ToolStrip_RendersBackgroundCorrectly()
           at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
           at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

@ghost ghost added 🚧 work in progress Work that is current in progress and removed 🚧 work in progress Work that is current in progress labels Mar 14, 2023
@dreddy-work
Copy link
Member

Closing as it doesn't repro after #8864

@ghost ghost locked as resolved and limited conversation to collaborators Apr 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants