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

tst_QWindow::modalWithChildWindow is flaky on openSUSE

    XMLWordPrintable

Details

    Description

      tst_QWindow::modalWithChildWindow is flaky on openSUSE in CI.

      Example failure (with manually added debug output to show pointer values):

      ********* Start testing of tst_QWindow *********
      Config: Using QtTest library 5.11.0, Qt 5.11.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 7.2.1 20171005 [gcc-7-branch revision 253439])
      PASS   : tst_QWindow::initTestCase()
      QINFO  : tst_QWindow::modalWithChildWindow() tlw_dialog: QWindow(0x7ffdf97b3510)
      QINFO  : tst_QWindow::modalWithChildWindow() sub_window: QWindow(0x7ffdf97b34e0)
      QINFO  : tst_QWindow::modalWithChildWindow() normalWindow: QWindow(0x7ffdf97b3540)
      QINFO  : tst_QWindow::modalWithChildWindow() focusWindow pre-activation: QWindow(0x7ffdf97b3510)
      QINFO  : tst_QWindow::modalWithChildWindow() focusWindow post-activation: QWindow(0x7ffdf97b3510)
      QINFO  : tst_QWindow::modalWithChildWindow() focusWindow post-sync: QWindow(0x7ffdf97b3510)
      QINFO  : tst_QWindow::modalWithChildWindow() focusWindow post-processEvents: QWindow(0x7ffdf97b3510)
      FAIL!  : tst_QWindow::modalWithChildWindow() Compared pointers are not the same
         Loc: [tst_qwindow.cpp(1991)]
      PASS   : tst_QWindow::cleanupTestCase()
      Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 15262ms
      ********* Finished testing of tst_QWindow *********
      

      Example success with same debug output:

      ********* Start testing of tst_QWindow *********
      Config: Using QtTest library 5.11.0, Qt 5.11.0 (x86_64-little_endian-lp64 shared (dynamic) debug b
      uild; by GCC 7.2.1 20171005 [gcc-7-branch revision 253439])
      PASS   : tst_QWindow::initTestCase()
      QINFO  : tst_QWindow::modalWithChildWindow() tlw_dialog: QWindow(0x7ffd8b813850)
      QINFO  : tst_QWindow::modalWithChildWindow() sub_window: QWindow(0x7ffd8b813820)
      QINFO  : tst_QWindow::modalWithChildWindow() normalWindow: QWindow(0x7ffd8b813880)
      QINFO  : tst_QWindow::modalWithChildWindow() focusWindow pre-activation: QWindow(0x7ffd8b813850)
      QINFO  : tst_QWindow::modalWithChildWindow() focusWindow post-activation: QWindow(0x7ffd8b813850)
      QINFO  : tst_QWindow::modalWithChildWindow() focusWindow post-sync: QWindow(0x7ffd8b813820)
      QINFO  : tst_QWindow::modalWithChildWindow() focusWindow post-processEvents: QWindow(0x7ffd8b813820)
      PASS   : tst_QWindow::modalWithChildWindow()
      PASS   : tst_QWindow::cleanupTestCase()
      Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 108ms
      ********* Finished testing of tst_QWindow *********
      

      Attachments

        For Gerrit Dashboard: QTBUG-66851
        # Subject Branch Project Status CR V

        Activity

          People

            liaqi Liang Qi
            kari.oikarinen Kari Oikarinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes