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

Fix Windows ARM: QtDeclarative - TestLinkStaticQmlModule::canRun

    XMLWordPrintable

Details

    • Windows
    • 7e9eebe3b (dev), d4105bae8 (dev), 2346edfd6 (dev), 9b5bf0531 (6.8)

    Description

      This test is moving to blacklist and this ticket is created to fix and take it back into CI.

       

      Target: windows-11_22h2-arm64-msvc2022
      HealthCheck: https://testresults.qt.io/coin/integration/qt/qt5/tasks/nightly1725399901 Wed 4.9.

      qt/qtdeclarative tests

       

      TestLinkStaticQmlModule:

      Log for qt/qtdeclarative (Insignificant)Failed to run tests.
      
      1370:   C:/Users/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/test_internal_singleton,
        which should end in the same target path, but doesn't.  Tooling such as
        qmllint may not work correctly.
      Call Stack (most recent call first):
        C:/Users/qt/work/install/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:2928 (_qt_internal_target_enable_qmllint)
        C:/Users/qt/work/install/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:891 (qt6_target_qml_sources)
        C:/Users/qt/work/install/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:1148 (qt6_add_qml_module)
        CMakeLists.txt:18 (qt_add_qml_module)
      6:
      6:
      CMake Error at C:/Users/qt/work/install/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:2992 (message):
      
      1759: Promoting target to global: 'Qt6::rcc'
      Promoting target to global: 'Qt6::tracepointgen'
      Promoting target to global: 'Qt6::tracegen'
      Promoting target to global: 'Qt6::cmake_automoc_parser'
      Promoting target to global: 'Qt6::qlalr'
      Promoting target to global: 'Qt6::qtpaths'
      Promoting target to global: 'Qt6::androiddeployqt'
      Promoting target to global: 'Qt6::androidtestrunner'
      Promoting target to global: 'Qt6::windeployqt'
      Promoting target to global: 'Qt6::qmake'
      CMake Error at C:/Users/qt/work/install/lib/cmake/Qt6Qml/Qt6QmlPublicCMakeHelpers.cmake:18 (message):
      
      3084: ********* Start testing of TestLinkStaticQmlModule *********
      FAIL!  : TestLinkStaticQmlModule::canRun() 'QQuickTest::showView(view, QUrl(u"qrc:/qt/qml/Derived/qml/main.qml"_qs))' returned FALSE. ()
      C:\Users\qt\work\qt\qtdeclarative\tests\auto\cmake\test_link_qml_module_without_target\main.cpp(39) : failure location
      PASS   : TestLinkStaticQmlModule::cleanupTestCase()
      Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 5123ms

       
       This hidden test fail is currently blocking Windows on ARM to get blocking in CI:

      it failed integration 2 times:

      1. https://testresults.qt.io/coin/integration/qt/qt5/tasks/1725392511
      2. https://testresults.qt.io/coin/integration/qt/qt5/tasks/1725456847

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-128645
          # Subject Branch Project Status CR V

          Activity

            People

              ulherman Ulf Hermann
              teheikki Tero Heikkinen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: