Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
5.11, 6.5
-
Ubuntu 16.04 in CI
openSUSE 42.3 in CI
Description
All tst_Gestures tests are blacklisted in RHEL 7.4 already. But this one in particular is flaky on Ubuntu and openSUSE in CI. I wasn't able to reproduce the failure on my local Ubuntu 17.10.
Example failure with manually added debug output:
********* Start testing of tst_Gestures ********* Config: Using QtTest library 5.11.0, Qt 5.11.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 7.3.1 20180307 [gcc-7-branch revision 258314]) PASS : tst_Gestures::initTestCase() QINFO : tst_Gestures::customGesture() widget pre-show pos: QPoint(0,0) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() widget.isExposed: false QINFO : tst_Gestures::customGesture() widget.isExposed: false QINFO : tst_Gestures::customGesture() widget post-wait pos: QPoint(0,0) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() widget.isExposed: true QINFO : tst_Gestures::customGesture() QApplication::sendEvent: GestureWidget(0x7ffe8faa1b40) 1 QINFO : tst_Gestures::customGesture() widget pos: QPoint(0,0) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() hotspot point: QPoint(5,5) QINFO : tst_Gestures::customGesture() toplevel: QWidget(0x0) QINFO : tst_Gestures::customGesture() possible top levels: QINFO : tst_Gestures::customGesture() GestureWidget(0x7ffe8faa1b40) pos: QPoint(0,0) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() QApplication::sendEvent: GestureWidget(0x7ffe8faa1b40) 2 QINFO : tst_Gestures::customGesture() widget pos: QPoint(0,0) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() hotspot point: QPoint(5,5) QINFO : tst_Gestures::customGesture() toplevel: QWidget(0x0) QINFO : tst_Gestures::customGesture() possible top levels: QINFO : tst_Gestures::customGesture() GestureWidget(0x7ffe8faa1b40) pos: QPoint(0,0) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() QApplication::sendEvent: GestureWidget(0x7ffe8faa1b40) 3 QINFO : tst_Gestures::customGesture() widget pos: QPoint(0,0) size: QSize(640, 480) QWARN : tst_Gestures::customGesture() QGestureManager::deliverEvent: could not find the target for gesture QINFO : tst_Gestures::customGesture() hotspot point: QPoint(5,5) QINFO : tst_Gestures::customGesture() toplevel: QWidget(0x0) QINFO : tst_Gestures::customGesture() possible top levels: QINFO : tst_Gestures::customGesture() GestureWidget(0x7ffe8faa1b40) pos: QPoint(0,0) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() QApplication::sendEvent: GestureWidget(0x7ffe8faa1b40) 4 QINFO : tst_Gestures::customGesture() widget pos: QPoint(0,0) size: QSize(640, 480) QWARN : tst_Gestures::customGesture() QGestureManager::deliverEvent: could not find the target for gesture QINFO : tst_Gestures::customGesture() hotspot point: QPoint(5,5) QINFO : tst_Gestures::customGesture() toplevel: QWidget(0x0) QINFO : tst_Gestures::customGesture() possible top levels: QINFO : tst_Gestures::customGesture() GestureWidget(0x7ffe8faa1b40) pos: QPoint(0,0) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() QApplication::sendEvent: GestureWidget(0x7ffe8faa1b40) 5 QINFO : tst_Gestures::customGesture() widget pos: QPoint(0,0) size: QSize(640, 480) QWARN : tst_Gestures::customGesture() QGestureManager::deliverEvent: could not find the target for gesture QINFO : tst_Gestures::customGesture() hotspot point: QPoint(5,5) QINFO : tst_Gestures::customGesture() toplevel: QWidget(0x0) QINFO : tst_Gestures::customGesture() possible top levels: QINFO : tst_Gestures::customGesture() GestureWidget(0x7ffe8faa1b40) pos: QPoint(0,0) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() QApplication::sendEvent: GestureWidget(0x7ffe8faa1b40) 6 QINFO : tst_Gestures::customGesture() widget pos: QPoint(0,0) size: QSize(640, 480) QWARN : tst_Gestures::customGesture() QGestureManager::deliverEvent: could not find the target for gesture QINFO : tst_Gestures::customGesture() hotspot point: QPoint(5,5) QINFO : tst_Gestures::customGesture() toplevel: QWidget(0x0) QINFO : tst_Gestures::customGesture() possible top levels: QINFO : tst_Gestures::customGesture() GestureWidget(0x7ffe8faa1b40) pos: QPoint(0,0) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() widget pre-compare pos: QPoint(0,0) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() widget.isExposed: true FAIL! : tst_Gestures::customGesture() Compared values are not the same Actual (widget.gestureEventsReceived): 0 Expected (TotalGestureEventsCount) : 4 Loc: [tst_gestures.cpp(414)] PASS : tst_Gestures::cleanupTestCase() Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 86ms ********* Finished testing of tst_Gestures *********
Successful run with the same debut output:
********* Start testing of tst_Gestures ********* Config: Using QtTest library 5.11.0, Qt 5.11.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 7.3.1 20180307 [gcc-7-branch revision 258314]) PASS : tst_Gestures::initTestCase() QINFO : tst_Gestures::customGesture() widget pre-show pos: QPoint(0,0) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() widget.isExposed: false QINFO : tst_Gestures::customGesture() widget.isExposed: false QINFO : tst_Gestures::customGesture() widget post-wait pos: QPoint(636,225) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() widget.isExposed: true QINFO : tst_Gestures::customGesture() QApplication::sendEvent: GestureWidget(0x7ffc7593bc70) 1 QINFO : tst_Gestures::customGesture() widget pos: QPoint(636,225) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() hotspot point: QPoint(645,259) QINFO : tst_Gestures::customGesture() toplevel: GestureWidget(0x7ffc7593bc70) QINFO : tst_Gestures::customGesture() child under hotspot: QWidget(0x0) QINFO : tst_Gestures::customGesture() possible top levels: QINFO : tst_Gestures::customGesture() GestureWidget(0x7ffc7593bc70) pos: QPoint(636,225) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() QApplication::sendEvent: GestureWidget(0x7ffc7593bc70) 2 QINFO : tst_Gestures::customGesture() widget pos: QPoint(636,225) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() hotspot point: QPoint(645,259) QINFO : tst_Gestures::customGesture() toplevel: GestureWidget(0x7ffc7593bc70) QINFO : tst_Gestures::customGesture() child under hotspot: QWidget(0x0) QINFO : tst_Gestures::customGesture() possible top levels: QINFO : tst_Gestures::customGesture() GestureWidget(0x7ffc7593bc70) pos: QPoint(636,225) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() QApplication::sendEvent: GestureWidget(0x7ffc7593bc70) 3 QINFO : tst_Gestures::customGesture() widget pos: QPoint(636,225) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() hotspot point: QPoint(645,259) QINFO : tst_Gestures::customGesture() toplevel: GestureWidget(0x7ffc7593bc70) QINFO : tst_Gestures::customGesture() child under hotspot: QWidget(0x0) QINFO : tst_Gestures::customGesture() possible top levels: QINFO : tst_Gestures::customGesture() GestureWidget(0x7ffc7593bc70) pos: QPoint(636,225) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() QApplication::sendEvent: GestureWidget(0x7ffc7593bc70) 4 QINFO : tst_Gestures::customGesture() widget pos: QPoint(636,225) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() hotspot point: QPoint(645,259) QINFO : tst_Gestures::customGesture() toplevel: GestureWidget(0x7ffc7593bc70) QINFO : tst_Gestures::customGesture() child under hotspot: QWidget(0x0) QINFO : tst_Gestures::customGesture() possible top levels: QINFO : tst_Gestures::customGesture() GestureWidget(0x7ffc7593bc70) pos: QPoint(636,225) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() QApplication::sendEvent: GestureWidget(0x7ffc7593bc70) 5 QINFO : tst_Gestures::customGesture() widget pos: QPoint(636,225) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() hotspot point: QPoint(645,259) QINFO : tst_Gestures::customGesture() toplevel: GestureWidget(0x7ffc7593bc70) QINFO : tst_Gestures::customGesture() child under hotspot: QWidget(0x0) QINFO : tst_Gestures::customGesture() possible top levels: QINFO : tst_Gestures::customGesture() GestureWidget(0x7ffc7593bc70) pos: QPoint(636,225) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() QApplication::sendEvent: GestureWidget(0x7ffc7593bc70) 6 QINFO : tst_Gestures::customGesture() widget pos: QPoint(636,225) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() hotspot point: QPoint(645,259) QINFO : tst_Gestures::customGesture() toplevel: GestureWidget(0x7ffc7593bc70) QINFO : tst_Gestures::customGesture() child under hotspot: QWidget(0x0) QINFO : tst_Gestures::customGesture() possible top levels: QINFO : tst_Gestures::customGesture() GestureWidget(0x7ffc7593bc70) pos: QPoint(636,225) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() widget pre-compare pos: QPoint(636,225) size: QSize(640, 480) QINFO : tst_Gestures::customGesture() widget.isExposed: true PASS : tst_Gestures::customGesture() PASS : tst_Gestures::cleanupTestCase() Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 77ms ********* Finished testing of tst_Gestures *********
Attachments
Issue Links
- is covered by
-
QTBUG-105177 Duplicate XCB_EXPOSE events create flakiness in many tests
- Reported
- relates to
-
QTBUG-46051 tst_gestures fails on OpenSuSE
- Closed