We see this autotest crashing quite frequently in the CI runs:
agent:2022/10/21 10:44:18 build.go:394: 4: ********* Start testing of tst_Input ********* agent:2022/10/21 10:44:18 build.go:394: 4: Config: Using QtTest library 6.5.0, Qt 6.5.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by GCC 11.2.0), windows 10 agent:2022/10/21 10:44:18 build.go:394: 4: PASS : tst_Input::initTestCase() agent:2022/10/21 10:44:18 build.go:394: 4: PASS : tst_Input::singleTap2D(item2d left mousearea: mouse) agent:2022/10/21 10:44:19 build.go:394: 4: PASS : tst_Input::singleTap2D(item2d left taphandler: mouse) agent:2022/10/21 10:44:19 build.go:394: 4: PASS : tst_Input::singleTap2D(item2d right mousearea: mouse) agent:2022/10/21 10:44:20 build.go:394: 4: PASS : tst_Input::singleTap2D(shared source mousearea: mouse) agent:2022/10/21 10:44:20 build.go:394: 4: QWARN : tst_Input::singleTap2D(material mousearea: mouse) QQuickShaderEffectSource::textureProvider: can only be queried on the rendering thread of an exposed window agent:2022/10/21 10:44:20 build.go:394: 4: QWARN : tst_Input::singleTap2D(material mousearea: mouse) QQuickShaderEffectSource::textureProvider: can only be queried on the rendering thread of an exposed window agent:2022/10/21 10:44:20 build.go:394: 4: PASS : tst_Input::singleTap2D(material mousearea: mouse) agent:2022/10/21 10:44:21 build.go:394: 4: PASS : tst_Input::singleTap2D(item2d left mousearea: touch) agent:2022/10/21 10:44:21 build.go:394: 4: PASS : tst_Input::singleTap2D(item2d left taphandler: touch) agent:2022/10/21 10:44:22 build.go:394: 4: PASS : tst_Input::singleTap2D(item2d right taphandler: touch) agent:2022/10/21 10:44:22 build.go:394: 4: PASS : tst_Input::singleTap2D(shared source mousearea: touch) agent:2022/10/21 10:44:22 build.go:394: 4: QWARN : tst_Input::singleTap2D(material mousearea: touch) QQuickShaderEffectSource::textureProvider: can only be queried on the rendering thread of an exposed window agent:2022/10/21 10:44:22 build.go:394: 4: QWARN : tst_Input::singleTap2D(material mousearea: touch) QQuickShaderEffectSource::textureProvider: can only be queried on the rendering thread of an exposed window agent:2022/10/21 10:44:22 build.go:394: 4: PASS : tst_Input::singleTap2D(material mousearea: touch) agent:2022/10/21 10:44:23 build.go:394: 4: qt-testrunner.py INFO: Test process exited with code: 3221226356
Sometimes there are actual failures:
agent:2022/10/21 09:55:52 build.go:394: 4: ********* Start testing of tst_Input ********* agent:2022/10/21 09:55:52 build.go:394: 4: Config: Using QtTest library 6.5.0, Qt 6.5.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 9.3.0), ubuntu 20.04 agent:2022/10/21 09:55:52 build.go:394: 4: PASS : tst_Input::initTestCase() agent:2022/10/21 09:55:53 build.go:394: 4: PASS : tst_Input::singleTap2D(item2d left mousearea: mouse) agent:2022/10/21 09:55:53 build.go:394: 4: PASS : tst_Input::singleTap2D(item2d left taphandler: mouse) agent:2022/10/21 09:55:54 build.go:394: 4: PASS : tst_Input::singleTap2D(item2d right mousearea: mouse) agent:2022/10/21 09:56:10 build.go:394: 4: FAIL! : tst_Input::singleTap2D(shared source mousearea: mouse) Compared values are not the same agent:2022/10/21 09:56:10 build.go:394: 4: Actual (tapItem->property("clickedCount").toInt()): 0 agent:2022/10/21 09:56:10 build.go:394: 4: Expected (1) : 1 agent:2022/10/21 09:56:10 build.go:394: 4: Loc: [/home/qt/work/qt/qtquick3d/tests/auto/quick3d_visual/input/tst_input.cpp(141)] agent:2022/10/21 09:56:10 build.go:394: 4: QWARN : tst_Input::singleTap2D(material mousearea: mouse) QQuickShaderEffectSource::textureProvider: can only be queried on the rendering thread of an exposed window agent:2022/10/21 09:56:10 build.go:394: 4: QWARN : tst_Input::singleTap2D(material mousearea: mouse) QQuickShaderEffectSource::textureProvider: can only be queried on the rendering thread of an exposed window agent:2022/10/21 09:56:10 build.go:394: 4: PASS : tst_Input::singleTap2D(material mousearea: mouse) agent:2022/10/21 09:56:11 build.go:394: 4: PASS : tst_Input::singleTap2D(item2d left mousearea: touch) agent:2022/10/21 09:56:11 build.go:394: 4: PASS : tst_Input::singleTap2D(item2d left taphandler: touch) agent:2022/10/21 09:56:12 build.go:394: 4: PASS : tst_Input::singleTap2D(item2d right taphandler: touch) agent:2022/10/21 09:56:13 build.go:394: 4: PASS : tst_Input::singleTap2D(shared source mousearea: touch) agent:2022/10/21 09:56:13 build.go:394: 4: QWARN : tst_Input::singleTap2D(material mousearea: touch) QQuickShaderEffectSource::textureProvider: can only be queried on the rendering thread of an exposed window agent:2022/10/21 09:56:13 build.go:394: 4: QWARN : tst_Input::singleTap2D(material mousearea: touch) QQuickShaderEffectSource::textureProvider: can only be queried on the rendering thread of an exposed window agent:2022/10/21 09:56:13 build.go:394: 4: PASS : tst_Input::singleTap2D(material mousearea: touch) agent:2022/10/21 09:56:14 build.go:394: 4: PASS : tst_Input::dualTouchTap2D(item2d: two MouseAreas) agent:2022/10/21 09:56:30 build.go:394: 4: FAIL! : tst_Input::dualTouchTap2D(texture source: MouseArea and TapHandler) 'tapItem1->property("pressed").toBool()' returned FALSE. () agent:2022/10/21 09:56:30 build.go:394: 4: Loc: [/home/qt/work/qt/qtquick3d/tests/auto/quick3d_visual/input/tst_input.cpp(210)] agent:2022/10/21 09:56:31 build.go:394: 4: QWARN : tst_Input::dualTouchTap2D(material: two MouseAreas) QQuickShaderEffectSource::textureProvider: can only be queried on the rendering thread of an exposed window agent:2022/10/21 09:56:31 build.go:394: 4: QWARN : tst_Input::dualTouchTap2D(material: two MouseAreas) QQuickShaderEffectSource::textureProvider: can only be queried on the rendering thread of an exposed window agent:2022/10/21 09:56:46 build.go:394: 4: FAIL! : tst_Input::dualTouchTap2D(material: two MouseAreas) 'tapItem2->property("pressed").toBool()' returned FALSE. () agent:2022/10/21 09:56:46 build.go:394: 4: Loc: [/home/qt/work/qt/qtquick3d/tests/auto/quick3d_visual/input/tst_input.cpp(211)] agent:2022/10/21 09:56:47 build.go:394: 4: PASS : tst_Input::fallthrough(click on background) agent:2022/10/21 09:56:47 build.go:394: 4: PASS : tst_Input::fallthrough(item2d) agent:2022/10/21 09:56:48 build.go:394: 4: PASS : tst_Input::fallthrough(model without 2D subscene) agent:2022/10/21 09:56:48 build.go:394: 4: PASS : tst_Input::singleDrag2D(item2d left slider: mouse) agent:2022/10/21 09:56:49 build.go:394: 4: PASS : tst_Input::singleDrag2D(shared left slider: mouse) agent:2022/10/21 09:56:50 build.go:394: 4: QWARN : tst_Input::singleDrag2D(material left slider: mouse) QQuickShaderEffectSource::textureProvider: can only be queried on the rendering thread of an exposed window agent:2022/10/21 09:56:50 build.go:394: 4: QWARN : tst_Input::singleDrag2D(material left slider: mouse) QQuickShaderEffectSource::textureProvider: can only be queried on the rendering thread of an exposed window agent:2022/10/21 09:56:50 build.go:394: 4: PASS : tst_Input::singleDrag2D(material left slider: mouse) agent:2022/10/21 09:56:50 build.go:394: 4: PASS : tst_Input::singleDrag2D(item2d left slider: touch) agent:2022/10/21 09:56:51 build.go:394: 4: PASS : tst_Input::singleDrag2D(shared left slider: touch) agent:2022/10/21 09:56:51 build.go:394: 4: QWARN : tst_Input::singleDrag2D(material left slider: touch) QQuickShaderEffectSource::textureProvider: can only be queried on the rendering thread of an exposed window agent:2022/10/21 09:56:51 build.go:394: 4: QWARN : tst_Input::singleDrag2D(material left slider: touch) QQuickShaderEffectSource::textureProvider: can only be queried on the rendering thread of an exposed window agent:2022/10/21 09:56:51 build.go:394: 4: PASS : tst_Input::singleDrag2D(material left slider: touch) agent:2022/10/21 09:56:51 build.go:394: 4: PASS : tst_Input::cleanupTestCase() agent:2022/10/21 09:56:51 build.go:394: 4: Totals: 21 passed, 3 failed, 0 skipped, 0 blacklisted, 59287ms agent:2022/10/21 09:56:51 build.go:394: 4: ********* Finished testing of tst_Input *********
Locally on Windows in release builds I cannot reproduce any of this, though.