Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-116019

New (as of 6.5.2) test failures in qtdeclarative

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.5.2
    • None
    • Guix System
    • Linux/X11

    Description

      Hi,

       

      After upgrading qtdeclarative from 6.3.2 to 6.5.2 on Guix System, the following tests fail:

      The following tests FAILED:
                5 - cmake_test_common_import_path (Failed)
               14 - tst_qqmlcomponent (Failed)
               60 - tst_qmllint (Failed)
              109 - tst_qmldomitem (Failed)
              114 - tst_dom_all (Failed)

      Here's the detailed test output:

      [...]
      PASS   : tst_qqmlcomponent::loadFromModuleFailures(noSuchType)
      PASS   : tst_qqmlcomponent::loadFromModuleFailures(CppSingleton)
      PASS   : tst_qqmlcomponent::loadFromModuleRequired()
      FAIL!  : tst_qqmlcomponent::loadFromQrc() 'p->compilationUnit->aotCompiledFunctions' returned FALSE. ()
         Loc: [/tmp/guix-build-qtdeclarative-6.5.2.drv-0/qtdeclarative-everywhere-src-6.5.2/tests/auto/qml/qqmlcomponent/tst_qqmlcomponent.cpp(1441)]
      PASS   : tst_qqmlcomponent::removeBinding()
      PASS   : tst_qqmlcomponent::complexObjectArgument()
      PASS   : tst_qqmlcomponent::cleanupTestCase()
      Totals: 90 passed, 1 failed, 0 skipped, 0 blacklisted, 438ms
      ********* Finished testing of tst_qqmlcomponent *********
      [...]
      
      ********* Start testing of QQmlJS::Dom::TestDomItem *********
      Config: Using QtTest library 6.5.2, Qt 6.5.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 11.3.0), unknown unknown
      PASS   : QQmlJS::Dom::TestDomItem::initTestCase()
      PASS   : QQmlJS::Dom::TestDomItem::testList()
      PASS   : QQmlJS::Dom::TestDomItem::testMap()
      PASS   : QQmlJS::Dom::TestDomItem::testMultiMap()
      PASS   : QQmlJS::Dom::TestDomItem::testReference()
      PASS   : QQmlJS::Dom::TestDomItem::testRefCache()
      PASS   : QQmlJS::Dom::TestDomItem::testEnvUniverse()
      PASS   : QQmlJS::Dom::TestDomItem::testTOwner()
      PASS   : QQmlJS::Dom::TestDomItem::testSubObj()
      PASS   : QQmlJS::Dom::TestDomItem::testEquality()
      PASS   : QQmlJS::Dom::TestDomItem::testLoadNoDep()
      QDEBUG : QQmlJS::Dom::TestDomItem::testLoadDep()
      QCRITICAL: QQmlJS::Dom::TestDomItem::testLoadDep() [Dom] Error: Could not find builtins.qmltypes file
      QDEBUG : QQmlJS::Dom::TestDomItem::testLoadDep()
      QWARN  : QQmlJS::Dom::TestDomItem::testLoadDep() [Dom] Warning: Failed to find main qmldir file for QtQuick 
      QDEBUG : QQmlJS::Dom::TestDomItem::testLoadDep()
      QWARN  : QQmlJS::Dom::TestDomItem::testLoadDep() [Dom] Warning: Failed to find main qmldir file for QtQuick 
      QDEBUG : QQmlJS::Dom::TestDomItem::testLoadDep()
      QWARN  : QQmlJS::Dom::TestDomItem::testLoadDep() [Dom][Exports] Warning: Failed to find main qmldir file for QtQml 6
      QDEBUG : QQmlJS::Dom::TestDomItem::testLoadDep()
      QWARN  : QQmlJS::Dom::TestDomItem::testLoadDep() [Dom] Warning: Failed to find main qmldir file for QtQuick 
      QDEBUG : QQmlJS::Dom::TestDomItem::testLoadDep()
      QWARN  : QQmlJS::Dom::TestDomItem::testLoadDep() [Dom] Warning: Failed to find main qmldir file for QtQuick 
      QDEBUG : QQmlJS::Dom::TestDomItem::testLoadDep()
      QWARN  : QQmlJS::Dom::TestDomItem::testLoadDep() [Dom] Warning: Failed to find main qmldir file for QtQuick 
      QDEBUG : QQmlJS::Dom::TestDomItem::testLoadDep()
      QWARN  : QQmlJS::Dom::TestDomItem::testLoadDep() [Dom] Warning: Failed to find main qmldir file for QtQuick 
      QDEBUG : QQmlJS::Dom::TestDomItem::testLoadDep()
      QWARN  : QQmlJS::Dom::TestDomItem::testLoadDep() [Dom][Exports] Warning: Failed to find main qmldir file for QtQuick 2
      FAIL!  : QQmlJS::Dom::TestDomItem::testLoadDep() 'rect.size() == 1' returned FALSE. ()
         Loc: [/tmp/guix-build-qtdeclarative-6.5.2.drv-0/build/tests/auto/qmldom/domitem/tst_qmldomitem_autogen/EWIEGA46WW/../../../../../../../qtdeclarative-everywhere-src-6.5.2/tests/auto/qmldom/domitem/tst_qmldomitem.h(523)]
      PASS   : QQmlJS::Dom::TestDomItem::testImports()
      PASS   : QQmlJS::Dom::TestDomItem::testDeepCopy()
      PASS   : QQmlJS::Dom::TestDomItem::testInMemory()
      PASS   : QQmlJS::Dom::TestDomItem::testAliasResolve(aliasProperties)
      PASS   : QQmlJS::Dom::TestDomItem::testAliasResolve(invalidAliasProperties)
      PASS   : QQmlJS::Dom::TestDomItem::cleanupTestCase()
      Totals: 17 passed, 1 failed, 0 skipped, 0 blacklisted, 220ms
      ********* Finished testing of QQmlJS::Dom::TestDomItem *********
      
      [...]
      
      PASS   : TestQmllint::autoqmltypes()
      PASS   : TestQmllint::resources()
      PASS   : TestQmllint::requiredProperty()
      PASS   : TestQmllint::settingsFile()
      PASS   : TestQmllint::additionalImplicitImport()
      PASS   : TestQmllint::qrcUrlImport()
      FAIL!  : TestQmllint::attachedPropertyReuse() 'success == shouldSucceed' returned FALSE. ([
          {
              "filename": "/tmp/guix-build-qtdeclarative-6.5.2.drv-0/qtdeclarative-everywhere-src-6.5.2/tests/auto/qml/qmllint/data/attachedPropNotReused.qml",
              "success": true,
              "warnings": [
              ]
          }
      ]
      )
         Loc: [/tmp/guix-build-qtdeclarative-6.5.2.drv-0/qtdeclarative-everywhere-src-6.5.2/tests/auto/qml/qmllint/tst_qmllint.cpp(1463)]
      QWARN  : TestQmllint::attachedPropertyReuse() qmllint output:
      [
      ]
      
      It must contain 'Using attached type QQuickKeyNavigationAttached already initialized in a parent scope'
      FAIL!  : TestQmllint::attachedPropertyReuse() 'contains' returned FALSE. ()
         Loc: [/tmp/guix-build-qtdeclarative-6.5.2.drv-0/qtdeclarative-everywhere-src-6.5.2/tests/auto/qml/qmllint/tst_qmllint.cpp(1639)]
      FAIL!  : TestQmllint::attachedPropertyReuse() 'success == shouldSucceed' returned FALSE. ([
          {
              "filename": "/tmp/guix-build-qtdeclarative-6.5.2.drv-0/qtdeclarative-everywhere-src-6.5.2/tests/auto/qml/qmllint/data/MyStyle/ToolBar.qml",
              "success": true,
              "warnings": [
              ]
          }
      ]
      )
         Loc: [/tmp/guix-build-qtdeclarative-6.5.2.drv-0/qtdeclarative-everywhere-src-6.5.2/tests/auto/qml/qmllint/tst_qmllint.cpp(1463)]
      QWARN  : TestQmllint::attachedPropertyReuse() qmllint output:
      [
      ]
      
      It must contain 'Using attached type MyStyle already initialized in a parent scope' (10:16)
      FAIL!  : TestQmllint::attachedPropertyReuse() 'contains' returned FALSE. ()
         Loc: [/tmp/guix-build-qtdeclarative-6.5.2.drv-0/qtdeclarative-everywhere-src-6.5.2/tests/auto/qml/qmllint/tst_qmllint.cpp(1639)]
      QWARN  : TestQmllint::attachedPropertyReuse() qmllint output:
      [
      ]
      
      It must contain 'Reference it by id instead' (10:16)
      FAIL!  : TestQmllint::attachedPropertyReuse() 'contains' returned FALSE. ()
         Loc: [/tmp/guix-build-qtdeclarative-6.5.2.drv-0/qtdeclarative-everywhere-src-6.5.2/tests/auto/qml/qmllint/tst_qmllint.cpp(1639)]
      PASS   : TestQmllint::missingBuiltinsNoCrash()
      PASS   : TestQmllint::absolutePath()
      PASS   : TestQmllint::importMultipartUri()
      PASS   : TestQmllint::lintModule(Things)
      PASS   : TestQmllint::lintModule(missingQmltypes)
      PASS   : TestQmllint::lintModule(moduleWithQrc)
      PASS   : TestQmllint::testLineEndings()
      PASS   : TestQmllint::testPlugin()
      FAIL!  : TestQmllint::quickPlugin() 'pluginFound' returned FALSE. ()
         Loc: [/tmp/guix-build-qtdeclarative-6.5.2.drv-0/qtdeclarative-everywhere-src-6.5.2/tests/auto/qml/qmllint/tst_qmllint.cpp(1905)]
      PASS   : TestQmllint::cleanupTestCase()
      Totals: 349 passed, 2 failed, 0 skipped, 0 blacklisted, 4279ms
      ********* Finished testing of TestQmllint *********
      
      [...]
      
      rv-0/qtdeclarative-everywhere-src-6.5.2/tests/auto/qml/qqmlcomponent/data/requiredNotSet.qml:3:1: QML Item: Created graphical object was not placed in the graphics scene.
      PASS   : tst_qqmlcomponent::testRequiredPropertiesFromQml()
      PASS   : tst_qqmlcomponent::testSetInitialProperties()
      PASS   : tst_qqmlcomponent::createInsideJSModule()
      QWARN  : tst_qqmlcomponent::qmlErrorIsReported() QQmlComponent: Component is not ready
      PASS   : tst_qqmlcomponent::qmlErrorIsReported()
      PASS   : tst_qqmlcomponent::initJSValueProp()
      PASS   : tst_qqmlcomponent::qmlPropertySignalExists()
      QWARN  : tst_qqmlcomponent::componentTypes() qt.qml.typecompiler: :1:15: Using a Component as the root of a QML document is deprecated: types defined in qml documents are automatically wrapped into Components when needed.
      QWARN  : tst_qqmlcomponent::componentTypes() qt.qml.typecompiler: file:///tmp/guix-build-qtdeclarative-6.5.2.drv-0/qtdeclarative-everywhere-src-6.5.2/tests/auto/qml/qqmlcomponent/data/ComponentType.qml:2:1: Using a Component as the root of a QML document is deprecated: types defined in qml documents are automatically wrapped into Components when needed.
      QWARN  : tst_qqmlcomponent::componentTypes() qt.qml.typecompiler: file:///tmp/guix-build-qtdeclarative-6.5.2.drv-0/qtdeclarative-everywhere-src-6.5.2/tests/auto/qml/qqmlcomponent/data/ComponentType.qml:2:1: Using a Component as the root of a QML document is deprecated: types defined in qml documents are automatically wrapped into Components when needed.
      PASS   : tst_qqmlcomponent::componentTypes()
      PASS   : tst_qqmlcomponent::boundComponent()
      QWARN  : tst_qqmlcomponent::loadFromModule() Duplicate data tag IC - please rename.
      PASS   : tst_qqmlcomponent::loadFromModule(Item)
      PASS   : tst_qqmlcomponent::loadFromModule(Button)
      PASS   : tst_qqmlcomponent::loadFromModule(Basic.Button)
      PASS   : tst_qqmlcomponent::loadFromModule(IC)
      PASS   : tst_qqmlcomponent::loadFromModule(IC)
      PASS   : tst_qqmlcomponent::loadFromModule(plainQML)
      PASS   : tst_qqmlcomponent::loadFromModuleThenCreateWithIncubator()
      PASS   : tst_qqmlcomponent::loadFromModuleFailures(noSuchModule)
      PASS   : tst_qqmlcomponent::loadFromModuleFailures(noSuchType)
      PASS   : tst_qqmlcomponent::loadFromModuleFailures(CppSingleton)
      PASS   : tst_qqmlcomponent::loadFromModuleRequired()
      FAIL!  : tst_qqmlcomponent::loadFromQrc() 'p->compilationUnit->aotCompiledFunctions' returned FALSE. ()
         Loc: [/tmp/guix-build-qtdeclarative-6.5.2.drv-0/qtdeclarative-everywhere-src-6.5.2/tests/auto/qml/qqmlcomponent/tst_qqmlcomponent.cpp(1441)]
      PASS   : tst_qqmlcomponent::removeBinding()
      PASS   : tst_qqmlcomponent::complexObjectArgument()
      PASS   : tst_qqmlcomponent::cleanupTestCase()
      Totals: 90 passed, 1 failed, 0 skipped, 0 blacklisted, 438ms
      ********* Finished testing of tst_qqmlcomponent *********

       

      Attached is the complete build log.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtqmlteam Qt Qml Team User
            apteryx Maxim Cournoyer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes