Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
6.0
-
None
-
d451cab0c8b727fa7f12a169a3d6ee449a3a1902 e94d8c4dc8d1ced13f867c8bdb0696e089b1f894
Description
Doing a pre-CI quick check on https://codereview.qt-project.org/c/qt/qtquickcontrols2/+/310208/ fails:
Pre Continuous Integration Quick Check: Failed Failed to run tests. The error was in "qt/qtquickcontrols2", revision: e527cb6306bea433e87a2e372cab349f6896c298 49078: 13: PASS : tst_platform::MessageDialog::test_clicked() 13: PASS : tst_platform::MessageDialog::test_instance() 13: PASS : tst_platform::MessageDialog::test_standardButtons() 13: PASS : tst_platform::MessageDialog::cleanupTestCase() 13: PASS : tst_platform::StandardPaths::initTestCase() 13: PASS : tst_platform::StandardPaths::test_locateOptions() 13: PASS : tst_platform::StandardPaths::test_standardLocation() 13: PASS : tst_platform::StandardPaths::cleanupTestCase() 13: PASS : tst_platform::SystemTrayIcon::initTestCase() 13: QSYSTEM: tst_platform::SystemTrayIcon::test_activated() 13: ERROR: No native SystemTrayIcon implementation available. 55338: 27 - tst_qquickpopup (Failed) 28 - tst_qquickstyle (Failed) 31 - tst_revisions (Failed) 34 - tst_styleimports (Failed) Errors while running CTest Process finished with error: exit status 8 Executing scheduled instruction 1 of 1 - Upload all core dumps if there are some Skip uploading core files because CORE_FILES_PATH is not set in the environment agent:2020/08/17 11:06:52 build.go:584: Test failed ERROR building: exit status 8
Example of some of the failed tests:
agent:2020/08/17 10:11:21 build.go:302: 2: PASS : tst_controls::Default::ToolSeparator::test_size() agent:2020/08/17 10:11:21 build.go:302: 2: PASS : tst_controls::Default::ToolSeparator::cleanupTestCase() agent:2020/08/17 10:11:21 build.go:302: 2: QWARN : tst_controls::Default::UnknownTestFunc() QQmlComponent: Component is not ready agent:2020/08/17 10:11:21 build.go:302: 2: PASS : tst_controls::Default::ToolTip::initTestCase() agent:2020/08/17 10:11:21 build.go:302: 2: QWARN : tst_controls::Default::ToolTip::test_activateShortcutWhileToolTipVisible() QQmlComponent: Component is not ready agent:2020/08/17 10:11:21 build.go:302: 2: QWARN : tst_controls::Default::ToolTip::test_activateShortcutWhileToolTipVisible() QQmlComponent: Component is not ready agent:2020/08/17 10:11:21 build.go:302: 2: FAIL! : tst_controls::Default::ToolTip::test_activateShortcutWhileToolTipVisible() Uncaught exception: Cannot read property 'visible' of null agent:2020/08/17 10:11:21 build.go:302: 2: Loc: [/home/qt/work/install/qml/QtTest/TestCase.qml(1052)] agent:2020/08/17 10:11:21 build.go:302: 2: QWARN : tst_controls::Default::ToolTip::test_attached(text) QQmlComponent: Component is not ready agent:2020/08/17 10:11:21 build.go:302: 2: FAIL! : tst_controls::Default::ToolTip::test_attached(text) Uncaught exception: Value is null and could not be converted to an object agent:2020/08/17 10:11:21 build.go:302: 2: Loc: [/home/qt/work/qt/qtquickcontrols2/tests/auto/controls/data/tst_tooltip.qml(127)] agent:2020/08/17 10:11:21 build.go:302: 2: QWARN : tst_controls::Default::ToolTip::test_attached(delay) QQmlComponent: Component is not ready agent:2020/08/17 10:11:21 build.go:302: 2: FAIL! : tst_controls::Default::ToolTip::test_attached(delay) Uncaught exception: Value is null and could not be converted to an object agent:2020/08/17 10:11:21 build.go:302: 2: Loc: [/home/qt/work/qt/qtquickcontrols2/tests/auto/controls/data/tst_tooltip.qml(127)] agent:2020/08/17 10:11:21 build.go:302: 2: QWARN : tst_controls::Default::ToolTip::test_attached(timeout) QQmlComponent: Component is not ready agent:2020/08/17 10:11:21 build.go:302: 2: FAIL! : tst_controls::Default::ToolTip::test_attached(timeout) Uncaught exception: Value is null and could not be converted to an object agent:2020/08/17 10:11:21 build.go:302: 2: Loc: [/home/qt/work/qt/qtquickcontrols2/tests/auto/controls/data/tst_tooltip.qml(127)] agent:2020/08/17 10:11:21 build.go:302: 2: QWARN : tst_controls::Default::ToolTip::test_attachedTimeout() QQmlComponent: Component is not ready agent:2020/08/17 10:11:21 build.go:302: 2: QWARN : tst_controls::Default::ToolTip::test_attachedTimeout() QQmlComponent: Component is not ready agent:2020/08/17 10:11:21 build.go:302: 2: FAIL! : tst_controls::Default::ToolTip::test_attachedTimeout() Uncaught exception: Cannot read property 'opened' of null agent:2020/08/17 10:11:21 build.go:302: 2: Loc: [/home/qt/work/install/qml/QtTest/TestCase.qml(1052)]
If we take tst_controls::Default::ToolTip::test_attached(text) as an example:
agent:2020/08/17 10:11:21 build.go:302: 2: QWARN : tst_controls::Default::ToolTip::test_attached(text) QQmlComponent: Component is not ready agent:2020/08/17 10:11:21 build.go:302: 2: FAIL! : tst_controls::Default::ToolTip::test_attached(text) Uncaught exception: Value is null and could not be converted to an object agent:2020/08/17 10:11:21 build.go:302: 2: Loc: [/home/qt/work/qt/qtquickcontrols2/tests/auto/controls/data/tst_tooltip.qml(127)]
The first error is printed by this line:
Which makes no sense to me - usually that error is printed when creating an object from a component, and here we're accessing (and I guess creating) an attached object.
The second error happens on the next line:
Attachments
Issue Links
- depends on
-
QTBUG-86174 Support multiple versions for QML files when generating qmldir
- Closed
- is required for
-
QTBUG-82922 Register types declaratively
- Closed