Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.2.0
Description
tst_qqmlmoduleplugin has many failtures on Android
I QTestLib: ********* Start testing of tst_qqmlmoduleplugin ********* I QTestLib: Config: Using QtTest library 6.3.0, Qt 6.3.0 (i386-little_endian-ilp32 shared (dynamic) debug build; by Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)), android 11.0 I QTestLib: PASS : tst_qqmlmoduleplugin::initTestCase() I QTestLib: QWARN : tst_qqmlmoduleplugin::importsPlugin(1.0) qrc:/data/works.qml:1:1: module "org.qtproject.AutoTestQmlPluginType" is not installed I QTestLib: import org.qtproject.AutoTestQmlPluginType 1.0 I QTestLib: ^ I QTestLib: FAIL! : tst_qqmlmoduleplugin::importsPlugin(1.0) '!component.isError()' returned FALSE. () I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(237)] I QTestLib: QWARN : tst_qqmlmoduleplugin::importsPlugin(2.0) qrc:/data/works2.qml:1:1: module "org.qtproject.AutoTestQmlPluginType" is not installed I QTestLib: import org.qtproject.AutoTestQmlPluginType 2.0 I QTestLib: ^ I QTestLib: FAIL! : tst_qqmlmoduleplugin::importsPlugin(2.0) '!component.isError()' returned FALSE. () I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(237)] I QTestLib: QWARN : tst_qqmlmoduleplugin::importsPlugin(2.1) qrc:/data/works21.qml:1:1: module "org.qtproject.AutoTestQmlPluginType" is not installed I QTestLib: import org.qtproject.AutoTestQmlPluginType 2.1 I QTestLib: ^ I QTestLib: FAIL! : tst_qqmlmoduleplugin::importsPlugin(2.1) '!component.isError()' returned FALSE. () I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(237)] I QTestLib: QWARN : tst_qqmlmoduleplugin::importsPlugin(2.2) qrc:/data/works22.qml:1:1: module "org.qtproject.AutoTestQmlPluginType" is not installed I QTestLib: import org.qtproject.AutoTestQmlPluginType 2.2 I QTestLib: ^ I QTestLib: FAIL! : tst_qqmlmoduleplugin::importsPlugin(2.2) '!component.isError()' returned FALSE. () I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(237)] I QTestLib: QWARN : tst_qqmlmoduleplugin::importsMixedQmlCppPlugin() QQmlComponent: Component is not ready I QTestLib: FAIL! : tst_qqmlmoduleplugin::importsMixedQmlCppPlugin() 'o != nullptr' returned FALSE. (Component 'qrc:/data/importsMixedQmlCppPlugin.qml' has 1 errors: 'qrc:/data/importsMixedQmlCppPlugin.qml:1:1: module "org.qtproject.AutoTestQmlMixedPluginType" is not installed' Import paths: (qrc:/imports, qrc:/android_rcc_bundle/qml, /data/app/~~uF-Bp-7k611hXYspxRHnyQ==/org.qtproject.example.tst_qqmlmoduleplugin-mDCKrdq6OC1FcHY2eqGPiQ==/lib/x86, qrc:/qt-project.org/imports) Plugin paths: (/data/app/~~uF-Bp-7k611hXYspxRHnyQ==/org.qtproject.example.tst_qqmlmoduleplugin-mDCKrdq6OC1FcHY2eqGPiQ==/lib/x86, .)) I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(397)] I QTestLib: FAIL! : tst_qqmlmoduleplugin::incorrectPluginCase() Compared values are not the same I QTestLib: Actual (errors.at(0).description()): "module \"org.qtproject.WrongCase\" is not installed" I QTestLib: Expected (expectedError) : "module \"org.qtproject.WrongCase\" plugin \"PluGin\" not found" I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(290)] I QTestLib: QWARN : tst_qqmlmoduleplugin::importPluginWithQmlFile() qrc:/data/pluginWithQmlFile.qml:1:1: module "org.qtproject.AutoTestPluginWithQmlFile" is not installed I QTestLib: import org.qtproject.AutoTestPluginWithQmlFile 1.0 I QTestLib: ^ I QTestLib: FAIL! : tst_qqmlmoduleplugin::importPluginWithQmlFile() '!component.isError()' returned FALSE. () I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(312)] I QTestLib: PASS : tst_qqmlmoduleplugin::remoteImportWithQuotedUrl() I QTestLib: PASS : tst_qqmlmoduleplugin::remoteImportWithUnquotedUri() I QTestLib: FAIL! : tst_qqmlmoduleplugin::versionNotInstalled(versionNotInstalled) Compared lists differ at index 0. I QTestLib: Actual (actual): "1:1:module \"org.qtproject.AutoTestQmlVersionPluginType\" is not installed" I QTestLib: Expected (expected): "1:1:module \"org.qtproject.AutoTestQmlVersionPluginType\" version 1.1 is not installed" I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(437)] I QTestLib: FAIL! : tst_qqmlmoduleplugin::versionNotInstalled(versionNotInstalled) Compared lists differ at index 0. I QTestLib: Actual (actual): "1:1:module \"org.qtproject.AutoTestQmlVersionPluginType\" is not installed" I QTestLib: Expected (expected): "1:1:module \"org.qtproject.AutoTestQmlVersionPluginType\" version 1.9 is not installed" I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(437)] I QTestLib: FAIL! : tst_qqmlmoduleplugin::implicitQmldir(implicitQmldir) Compared lists differ at index 0. I QTestLib: Actual (actual): "-1:-1:module \":.data.implicit1\" plugin \"AType\" not found" I QTestLib: Expected (expected): "-1:-1:module \"\" plugin \"AType\" not found" I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(470)] I QTestLib: PASS : tst_qqmlmoduleplugin::implicitQmldir(implicitQmldir2) I QTestLib: FAIL! : tst_qqmlmoduleplugin::importsNested(wrongOrder) Compared lists have different sizes. I QTestLib: Actual (actual) size: 4 I QTestLib: Expected (expected) size: 1 I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(518)] I QTestLib: FAIL! : tst_qqmlmoduleplugin::importsNested(missingImport) Compared lists differ at index 0. I QTestLib: Actual (actual): "1:1:module \"org.qtproject.AutoTestQmlNestedPluginType\" is not installed" I QTestLib: Expected (expected): "3:1:MyNestedPluginType is not a type" I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(518)] I QTestLib: FAIL! : tst_qqmlmoduleplugin::importsNested(invalidVersion) Compared lists have different sizes. I QTestLib: Actual (actual) size: 4 I QTestLib: Expected (expected) size: 1 I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(518)] I QTestLib: QWARN : tst_qqmlmoduleplugin::importsNested(correctOrder) QQmlComponent: Component is not ready I QTestLib: FAIL! : tst_qqmlmoduleplugin::importsNested(correctOrder) 'obj' returned FALSE. () I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(514)] I QTestLib: PASS : tst_qqmlmoduleplugin::importLocalModule(default version) I QTestLib: PASS : tst_qqmlmoduleplugin::importLocalModule(specific version) I QTestLib: PASS : tst_qqmlmoduleplugin::importLocalModule(lesser version) I QTestLib: PASS : tst_qqmlmoduleplugin::importLocalModule(nonexistent version) I QTestLib: PASS : tst_qqmlmoduleplugin::importLocalModule(high version) I QTestLib: QWARN : tst_qqmlmoduleplugin::importStrictModule(success) QQmlComponent: Component is not ready I QTestLib: FAIL! : tst_qqmlmoduleplugin::importStrictModule(success) 'object != nullptr' returned FALSE. () I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(591)] I QTestLib: QWARN : tst_qqmlmoduleplugin::importStrictModule(two strict modules with different major version) QQmlComponent: Component is not ready I QTestLib: FAIL! : tst_qqmlmoduleplugin::importStrictModule(two strict modules with different major version) 'object != nullptr' returned FALSE. () I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(591)] I QTestLib: QWARN : tst_qqmlmoduleplugin::importStrictModule(old namespaced strict module) QQmlComponent: Component is not ready I QTestLib: FAIL! : tst_qqmlmoduleplugin::importStrictModule(old namespaced strict module) 'object != nullptr' returned FALSE. () I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(591)] I QTestLib: QWARN : tst_qqmlmoduleplugin::importStrictModule(new namespaced strict modules) QQmlComponent: Component is not ready I QTestLib: FAIL! : tst_qqmlmoduleplugin::importStrictModule(new namespaced strict modules) 'object != nullptr' returned FALSE. () I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(591)] I QTestLib: FAIL! : tst_qqmlmoduleplugin::importStrictModule(non-strict clash) Compared values are not the same I QTestLib: Actual (component.errors().first().toString()): "qrc:/data/empty.qml:1:1: module \"org.qtproject.NonstrictModule\" is not installed" I QTestLib: Expected (url.toString() + error) : "qrc:/data/empty.qml:1:1: Cannot install element 'MyPluginType' into protected module 'org.qtproject.StrictModule' version '1'" I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(595)] I QTestLib: FAIL! : tst_qqmlmoduleplugin::importStrictModule(non-strict preemption) Compared values are not the same I QTestLib: Actual (component.errors().count()): 4 I QTestLib: Expected (1) : 1 I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(594)] I QTestLib: FAIL! : tst_qqmlmoduleplugin::importStrictModule(invalid namespace) Compared values are not the same I QTestLib: Actual (component.errors().first().toString()): "qrc:/data/empty.qml:1:1: module \"org.qtproject.InvalidNamespaceModule\" is not installed" I QTestLib: Expected (url.toString() + error) : "qrc:/data/empty.qml:1:1: Module namespace 'org.qtproject.AwesomeModule' does not match import URI 'org.qtproject.InvalidNamespaceModule'" I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(595)] I QTestLib: FAIL! : tst_qqmlmoduleplugin::importStrictModule(module directive must be first) Compared values are not the same I QTestLib: Actual (component.errors().first().toString()): "qrc:/data/empty.qml:1:1: module \"org.qtproject.InvalidFirstCommandModule\" is not installed" I QTestLib: Expected (url.toString() + error) : "qrc:/data/empty.qml:1:1: module identifier directive must be the first directive in a qmldir file" I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(595)] I QTestLib: PASS : tst_qqmlmoduleplugin::importProtectedModule() I QTestLib: PASS : tst_qqmlmoduleplugin::importVersionedModule() I QTestLib: QWARN : tst_qqmlmoduleplugin::importsChildPlugin() qrc:/data/child.qml:1:1: module "org.qtproject.AutoTestQmlPluginType.ChildPlugin" is not installed I QTestLib: import org.qtproject.AutoTestQmlPluginType.ChildPlugin 1.0 I QTestLib: ^ I QTestLib: FAIL! : tst_qqmlmoduleplugin::importsChildPlugin() '!component.isError()' returned FALSE. () I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(714)] I QTestLib: QWARN : tst_qqmlmoduleplugin::importsChildPlugin2() qrc:/data/child2.qml:1:1: module "org.qtproject.AutoTestQmlPluginType.ChildPlugin" is not installed I QTestLib: import org.qtproject.AutoTestQmlPluginType.ChildPlugin 2.0 I QTestLib: ^ I QTestLib: FAIL! : tst_qqmlmoduleplugin::importsChildPlugin2() '!component.isError()' returned FALSE. () I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(731)] I QTestLib: QWARN : tst_qqmlmoduleplugin::importsChildPlugin21() qrc:/data/child21.qml:1:1: module "org.qtproject.AutoTestQmlPluginType.ChildPlugin" is not installed I QTestLib: import org.qtproject.AutoTestQmlPluginType.ChildPlugin 2.1 I QTestLib: ^ I QTestLib: FAIL! : tst_qqmlmoduleplugin::importsChildPlugin21() '!component.isError()' returned FALSE. () I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(748)] I QTestLib: PASS : tst_qqmlmoduleplugin::parallelPluginImport() I QTestLib: FAIL! : tst_qqmlmoduleplugin::multiSingleton() 'component.isReady()' returned FALSE. (qrc:/data/multiSingleton.qml:1 module "org.qtproject.ModuleWithQmlSingleton" is not installed I QTestLib: ) I QTestLib: Loc: [/Users/assam/sources/qt6/qt6/qtdeclarative/tests/auto/qml/qqmlmoduleplugin/tst_qqmlmoduleplugin.cpp(807)] I QTestLib: PASS : tst_qqmlmoduleplugin::optionalPlugin() I QTestLib: PASS : tst_qqmlmoduleplugin::moduleFromQrc() I QTestLib: PASS : tst_qqmlmoduleplugin::cleanupTestCase() I QTestLib: Totals: 15 passed, 26 failed, 0 skipped, 0 blacklisted, 1130ms I QTestLib: ********* Finished testing of tst_qqmlmoduleplugin *********
Attachments
Issue Links
- resulted from
-
QTBUG-99194 Report failing qtdeclarative tests
- Closed
-
QTBUG-101909 Fix qtdeclarative test bugs
- Open