Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-66433

tst_QMdiSubWindow::setOpaqueResizeAndMove is flaky

    XMLWordPrintable

Details

    • macOS

    Description

      The test has recently been failing flakily on macOS 10.12 and blocking qtbase integrations. Log from one of the failures:

      agent:2018/02/15 09:42:49 build.go:396: Executing instruction 915 of 964 - RunQtUnitTest
      agent:2018/02/15 09:42:49 build.go:263: [make check -j1] 900 900
      /Users/qt/work/qt/qtbase/tests/auto/widgets/widgets/qmdisubwindow/target_wrapper.sh ./tst_qmdisubwindow -o /Users/qt/work/testresults/tests/auto/widgets/widgets/qmdisubwindow464792331,xml -o -,txt
      ********* Start testing of tst_QMdiSubWindow *********
      Config: Using QtTest library 5.11.0, Qt 5.11.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 8.1.0 (clang-802.0.42) (Apple))
      PASS : tst_QMdiSubWindow::initTestCase()
      PASS : tst_QMdiSubWindow::sizeHint()
      PASS : tst_QMdiSubWindow::minimumSizeHint()
      PASS : tst_QMdiSubWindow::minimumSize()
      PASS : tst_QMdiSubWindow::setWidget()
      PASS : tst_QMdiSubWindow::setWindowState(maximized)
      PASS : tst_QMdiSubWindow::setWindowState(minimized)
      PASS : tst_QMdiSubWindow::setWindowState(normalized)
      PASS : tst_QMdiSubWindow::mainWindowSupport()
      PASS : tst_QMdiSubWindow::emittingOfSignals(windowMaximized)
      PASS : tst_QMdiSubWindow::emittingOfSignals(windowMinimized)
      PASS : tst_QMdiSubWindow::emittingOfSignals(windowRestored)
      PASS : tst_QMdiSubWindow::emittingOfSignals(aboutToActivate)
      PASS : tst_QMdiSubWindow::emittingOfSignals(windowActivated)
      PASS : tst_QMdiSubWindow::emittingOfSignals(windowDeactivated)
      PASS : tst_QMdiSubWindow::showShaded()
      PASS : tst_QMdiSubWindow::showNormal(showMinimized)
      PASS : tst_QMdiSubWindow::showNormal(showMaximized)
      PASS : tst_QMdiSubWindow::showNormal(showShaded)
      FAIL! : tst_QMdiSubWindow::setOpaqueResizeAndMove(normal mode) Compared values are not the same
      Actual (moveSpy.count()) : 0
      Expected (expectedGeometryCount): 20
      Loc: [tst_qmdisubwindow.cpp(780)]
      FAIL! : tst_QMdiSubWindow::setOpaqueResizeAndMove(rubberband mode) Compared values are not the same
      Actual (moveSpy.count()) : 0
      Expected (expectedGeometryCount): 1
      Loc: [tst_qmdisubwindow.cpp(780)]
      PASS : tst_QMdiSubWindow::setWindowFlags(Qt::Widget)
      PASS : tst_QMdiSubWindow::setWindowFlags(Qt::Window)
      PASS : tst_QMdiSubWindow::setWindowFlags(Qt::Dialog)
      PASS : tst_QMdiSubWindow::setWindowFlags(Qt::Sheet)
      PASS : tst_QMdiSubWindow::setWindowFlags(Qt::Drawer)
      PASS : tst_QMdiSubWindow::setWindowFlags(Qt::Popup)
      PASS : tst_QMdiSubWindow::setWindowFlags(Qt::Tool)
      PASS : tst_QMdiSubWindow::setWindowFlags(Qt::ToolTip)
      PASS : tst_QMdiSubWindow::setWindowFlags(Qt::SplashScreen)
      PASS : tst_QMdiSubWindow::setWindowFlags(Qt::Desktop)
      PASS : tst_QMdiSubWindow::setWindowFlags(Qt::SubWindow)
      PASS : tst_QMdiSubWindow::setWindowFlags(Title)
      PASS : tst_QMdiSubWindow::setWindowFlags(TitleAndMin)
      PASS : tst_QMdiSubWindow::setWindowFlags(TitleAndMax)
      PASS : tst_QMdiSubWindow::setWindowFlags(TitleAndMinMax)
      PASS : tst_QMdiSubWindow::setWindowFlags(Standard)
      PASS : tst_QMdiSubWindow::setWindowFlags(StandardAndShade)
      PASS : tst_QMdiSubWindow::setWindowFlags(StandardAndContext)
      PASS : tst_QMdiSubWindow::setWindowFlags(StandardAndStaysOnTop)
      PASS : tst_QMdiSubWindow::setWindowFlags(StandardAndFrameless)
      PASS : tst_QMdiSubWindow::setWindowFlags(StandardAndFramelessAndStaysOnTop)
      PASS : tst_QMdiSubWindow::setWindowFlags(Shade)
      PASS : tst_QMdiSubWindow::setWindowFlags(ShadeAndCustomize)
      PASS : tst_QMdiSubWindow::setWindowFlags(Context)
      PASS : tst_QMdiSubWindow::setWindowFlags(ContextAndCustomize)
      PASS : tst_QMdiSubWindow::setWindowFlags(ShadeAndContext)
      PASS : tst_QMdiSubWindow::setWindowFlags(ShadeAndContextAndCustomize)
      PASS : tst_QMdiSubWindow::setWindowFlags(OnlyCustomize)
      PASS : tst_QMdiSubWindow::mouseDoubleClick()
      PASS : tst_QMdiSubWindow::setSystemMenu()
      QDEBUG : tst_QMdiSubWindow::restoreFocus() QMdiSubWindow(0x7fbae1671e40) QMdiSubWindow(0x7fbae1671e40)
      PASS : tst_QMdiSubWindow::restoreFocus()
      QWARN : tst_QMdiSubWindow::restoreFocusOverCreation() qt.qpa.cocoa.window: Window position outside any known screen, using primary screen
      PASS : tst_QMdiSubWindow::restoreFocusOverCreation()
      PASS : tst_QMdiSubWindow::changeFocusWithTab()
      PASS : tst_QMdiSubWindow::closeEvent()
      PASS : tst_QMdiSubWindow::setWindowTitle()
      PASS : tst_QMdiSubWindow::resizeEvents(minimized)
      PASS : tst_QMdiSubWindow::resizeEvents(maximized)
      PASS : tst_QMdiSubWindow::resizeEvents(shaded)
      PASS : tst_QMdiSubWindow::defaultSizeGrip()
      PASS : tst_QMdiSubWindow::hideAndShow()
      PASS : tst_QMdiSubWindow::keepWindowMaximizedState()
      PASS : tst_QMdiSubWindow::explicitlyHiddenWidget()
      PASS : tst_QMdiSubWindow::resizeTimer()
      PASS : tst_QMdiSubWindow::fixedMinMaxSize()
      SKIP : tst_QMdiSubWindow::setFont() This test function is unstable in CI, please see QTBUG-22544
      Loc: [tst_qmdisubwindow.cpp(1830)]
      PASS : tst_QMdiSubWindow::task_188849()
      PASS : tst_QMdiSubWindow::mdiArea()
      PASS : tst_QMdiSubWindow::task_182852()
      PASS : tst_QMdiSubWindow::task_233197()
      PASS : tst_QMdiSubWindow::task_226929()
      PASS : tst_QMdiSubWindow::styleChange()
      PASS : tst_QMdiSubWindow::testFullScreenState()
      PASS : tst_QMdiSubWindow::testRemoveBaseWidget()
      PASS : tst_QMdiSubWindow::cleanupTestCase()
      Totals: 72 passed, 2 failed, 1 skipped, 0 blacklisted, 18033ms
      ********* Finished testing of tst_QMdiSubWindow *********
      make: *** [check] Error 2
      

      Full log: https://testresults.qt.io/coin/logview/qt/qtbase/95a1ce711ff0f7792301aa912fbe09ab3214049c/MacOSMacOS_10_12x86_64MacOSMacOS_10_12x86_64Clangqtci-macos-10.12-x86_64-8-24a956DebugAndRelease_Release/2a48a3b7dcb9652b1532a3ad14de7580b5b9b1ee/test_1518676796

      Attachments

        Issue Links

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              kari.oikarinen Kari Oikarinen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: