Details
-
Bug
-
Resolution: Done
-
P4: Low
-
6.5
-
None
-
-
dff9fa2ee1 (qt/qtbase/dev)
Description
Running the testcase individually causes a failure (always, i.e. non-flaky) after a few seconds delay waiting for the window to be activated:
$ tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem sorting ********* Start testing of tst_QGraphicsItem ********* Config: Using QtTest library 6.5.0, Qt 6.5.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 12.1.1 20220629 [revision 7811663964aa7e31c3939b859bbfa2e16919639f]), opensuse-tumbleweed 20220719 PASS : tst_QGraphicsItem::initTestCase() FAIL! : tst_QGraphicsItem::sorting(NoIndex) 'QTest::qWaitForWindowActive(&view)' returned FALSE. () Loc: [/home/qtjimis/dist/src/qt/qtbase/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp(8221)] FAIL! : tst_QGraphicsItem::sorting(BspTreeIndex) 'QTest::qWaitForWindowActive(&view)' returned FALSE. () Loc: [/home/qtjimis/dist/src/qt/qtbase/tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem.cpp(8221)] PASS : tst_QGraphicsItem::cleanupTestCase() Totals: 2 passed, 2 failed, 0 skipped, 0 blacklisted, 10776ms ********* Finished testing of tst_QGraphicsItem *********
Running it after the previous testcase is a PASS:
$ tests/auto/widgets/graphicsview/qgraphicsitem/tst_qgraphicsitem moveLineItem sorting ********* Start testing of tst_QGraphicsItem ********* Config: Using QtTest library 6.5.0, Qt 6.5.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 12.1.1 20220629 [revision 7811663964aa7e31c3939b859bbfa2e16919639f]), opensuse-tumbleweed 20220719 PASS : tst_QGraphicsItem::initTestCase() PASS : tst_QGraphicsItem::moveLineItem() PASS : tst_QGraphicsItem::sorting(NoIndex) PASS : tst_QGraphicsItem::sorting(BspTreeIndex) PASS : tst_QGraphicsItem::cleanupTestCase() Totals: 5 passed, 0 failed, 0 skipped, 0 blacklisted, 893ms ********* Finished testing of tst_QGraphicsItem *********
Attachments
Issue Links
- relates to
-
QTBUG-74760 Unstable autotest tst_QGraphicsItem::sorting()
- Closed
-
COIN-900 Window activation failures on openSUSE in CI
- Open