Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.10
-
None
Description
The first run fails.
********* Start testing of tst_WaylandReconnect ********* Config: Using QtTest library 6.9.0, Qt 6.9.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 11.4.0), ubuntu 22.04 PASS : tst_WaylandReconnect::initTestCase() QWARN : tst_WaylandReconnect::basicWindow() global_type* MockCompositor::CoreCompositor::get() [with global_type = MockCompositor::WlCompositor] called without locking the compositor to the current thread. This means the compositor can start dispatching at any moment, potentially leading to threading issues. Unless you know what you are doing you should probably fix the test by locking the compositor before accessing it (see mutex()). QWARN : tst_WaylandReconnect::basicWindow() TestNamespace::QList<global_type*> MockCompositor::CoreCompositor::getAll() [with global_type = MockCompositor::Output] called without locking the compositor to the current thread. This means the compositor can start dispatching at any moment, potentially leading to threading issues. Unless you know what you are doing you should probably fix the test by locking the compositor before accessing it (see mutex()). QDEBUG : tst_WaylandReconnect::basicWindow() cleanup QWARN : tst_WaylandReconnect::basicWindow() The Wayland connection broke. Did the Wayland compositor die? QWARN : tst_WaylandReconnect::basicWindow() qt.qpa.wayland: Attempting wayland reconnect QWARN : tst_WaylandReconnect::basicWindow() Failed to write to the pipe: Bad file descriptor. QINFO : tst_WaylandReconnect::basicWindow() qt.qpa.wayland: There are no outputs - creating placeholder screen PASS : tst_WaylandReconnect::basicWindow() FAIL! : tst_WaylandReconnect::multipleScreens() 'window1.screen() != window2.screen()' returned FALSE. () Loc: [/home/qt/work/qt/qtwayland/tests/auto/client/reconnect/tst_reconnect.cpp(167)] QDEBUG : tst_WaylandReconnect::keyFocus() cleanup QWARN : tst_WaylandReconnect::keyFocus() The Wayland connection broke. Did the Wayland compositor die? QWARN : tst_WaylandReconnect::keyFocus() qt.qpa.wayland: Attempting wayland reconnect QWARN : tst_WaylandReconnect::keyFocus() Failed to write to the pipe: Bad file descriptor. QINFO : tst_WaylandReconnect::keyFocus() qt.qpa.wayland: There are no outputs - creating placeholder screen PASS : tst_WaylandReconnect::keyFocus() PASS : tst_WaylandReconnect::cleanupTestCase() Totals: 4 passed, 1 failed, 0 skipped, 0 blacklisted, 16188ms ********* Finished testing of tst_WaylandReconnect *********
The subsequent runs also fail.
******** Start testing of tst_WaylandReconnect ********* Config: Using QtTest library 6.9.0, Qt 6.9.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 11.4.0), ubuntu 22.04 PASS : tst_WaylandReconnect::initTestCase() FAIL! : tst_WaylandReconnect::multipleScreens() 'window1.screen() != window2.screen()' returned FALSE. () Loc: [/home/qt/work/qt/qtwayland/tests/auto/client/reconnect/tst_reconnect.cpp(167)] PASS : tst_WaylandReconnect::cleanupTestCase() Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 15413ms ********* Finished testing of tst_WaylandReconnect *********