[Development] Help needed in 4.8 failing tests on Mac (QGraphicsProxyWidget and MacNativeEvents)

Alan Alpert 416365416c at gmail.com
Sat Dec 29 21:11:21 CET 2012


On Sat, Dec 29, 2012 at 6:10 AM, Thiago Macieira
<thiago.macieira at intel.com> wrote:
> The following two tests have prevented 3 of the last 6 integration in 4.8, and
> that's 3 of 3 of the integrations that failed on Mac:
>
> These are consistent failures: they failed in 6 out of 6 runs:
>   FAIL!  : tst_QGraphicsProxyWidget::hoverEnterLeaveEvent(widget, no hover)
> Compared values are not the same
>      Actual (widget->testAttribute(Qt::WA_UnderMouse)): 0
>      Expected (hasWidget ? true : false): 1
>      Loc: [tst_qgraphicsproxywidget.cpp(993)]
>   FAIL!  : tst_QGraphicsProxyWidget::hoverEnterLeaveEvent(widget, hover)
> Compared values are not the same
>      Actual (widget->testAttribute(Qt::WA_UnderMouse)): 0
>      Expected (hasWidget ? true : false): 1
>      Loc: [tst_qgraphicsproxywidget.cpp(993)]
>
> These are flaky failures: most failed in all 6 runs, but there are a few that
> did not fail on one of the runs (on the same system, with the same build):
>   FAIL!  : tst_MacNativeEvents::testMouseMoveLocation()
> 'expected.waitForAllEvents()' returned FALSE. (the test did not receive all
> expected events!)
>      Loc: [tst_macnativeevents.cpp(97)]
>   2012-12-22 21:02:25.221 tst_macnativeevents[93549:2503] Persistent UI failed
> to open file
> file://localhost/Users/qt/Library/Saved%20Application%20State/com.yourcompany.tst_macnativeevents.savedState/window_2.data:
> Permission denied (13)
>   FAIL!  : tst_MacNativeEvents::testPushButtonPressRelease()
> 'expected.waitForAllEvents()' returned FALSE. (the test did not receive all
> expected events!)
>      Loc: [tst_macnativeevents.cpp(117)]
>   FAIL!  : tst_MacNativeEvents::testMouseLeftDoubleClick()
> 'expected.waitForAllEvents()' returned FALSE. (the test did not receive all
> expected events!)
>      Loc: [tst_macnativeevents.cpp(141)]
>   FAIL!  : tst_MacNativeEvents::stressTestMouseLeftDoubleClick()
> 'expected.waitForAllEvents()' returned FALSE. (the test did not receive all
> expected events!)
>      Loc: [tst_macnativeevents.cpp(168)]
>   FAIL!  : tst_MacNativeEvents::testMouseDragInside()
> 'expected.waitForAllEvents()' returned FALSE. (the test did not receive all
> expected events!)
>      Loc: [tst_macnativeevents.cpp(195)]
>   FAIL!  : tst_MacNativeEvents::testMouseDragOutside()
> 'expected.waitForAllEvents()' returned FALSE. (the test did not receive all
> expected events!)
>      Loc: [tst_macnativeevents.cpp(223)]
>   FAIL!  : tst_MacNativeEvents::testMouseDragToNonClientArea()
> 'expected.waitForAllEvents()' returned FALSE. (the test did not receive all
> expected events!)
>      Loc: [tst_macnativeevents.cpp(251)]
>   FAIL!  : tst_MacNativeEvents::testMouseEnter() 'expected.waitForAllEvents()'
> returned FALSE. (the test did not receive all expected events!)
>      Loc: [tst_macnativeevents.cpp(299)]
>   FAIL!  : tst_MacNativeEvents::testChildDialogInFrontOfModalParent()
> '!child.isVisible()' returned FALSE. ()
>      Loc: [tst_macnativeevents.cpp(322)]
>
> http://testresults.qt-project.org/ci/Qt_4.8_Integration/build_01112/macx-
> g++_developer-build_OSX_10.7/log.txt.gz

I recommend skipping them for now. See

https://codereview.qt-project.org/#change,43613
https://codereview.qt-project.org/#change,43614

--
Alan Alpert



More information about the Development mailing list