Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.11.0 Beta 2
-
openSUSE 42.3 in CI
-
489ce6f91b5d9958e7dd711f736f093bfe3f64da
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 *********