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

tst_how_to_qml::activeFocusDebugging() fails often

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.9
    • Quick: Other
    • None
    • Linux/Wayland, macOS
    • 37e5be6de (dev), 6822b5946 (dev), f7f34ca64 (6.8), fb365a8ea (6.7), 151ea5550 (tqtc/lts-6.5)

    Description

      Grafana shows it consistently fails on wayland (which so far is insignificant) and sometimes fails on macOS. For example in https://testresults.qt.io/logs/qt/qtdeclarative/604691d3f8d77bf5f6d8e3031bd96539305d15ee/MacOSMacOS_13arm64MacOSMacOS_13arm64Clangqtci-macos-13-arm64TestOnly/171c8225a8b05e535df11867b49f03f9d85d4b3f/test_1718089014/log.txt.gz

      agent:2024/06/11 07:24:54 build.go:404: test 141
      agent:2024/06/11 07:24:54 build.go:404:         Start 141: tst_how-to-qml
      agent:2024/06/11 07:24:54 build.go:404: 141: Test command: /Applications/CMake.app/Contents/bin/cmake "-P" "/Users/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/quick/doc/how-tos/how-to-qml/tst_how-to-qmlWrapperRelWithDebInfo.cmake"
      agent:2024/06/11 07:24:54 build.go:404: 141: Working Directory: /Users/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/quick/doc/how-tos/how-to-qml
      agent:2024/06/11 07:24:54 build.go:404: 141: Test timeout computed to be: 1500
      agent:2024/06/11 07:24:54 build.go:404: 141: qt-testrunner.py     INFO: Will write XML test logs to directory COIN_CTEST_RESULTSDIR=/Users/qt/work/testresults
      agent:2024/06/11 07:24:54 build.go:404: 141: qt-testrunner.py    DEBUG: Running test command line: ['/Users/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/quick/doc/how-tos/how-to-qml/tst_how-to-qml', '-o', '/Users/qt/work/testresults/tst_how-to-qml-1718090694711.xml,xml', '-o', '/Users/qt/work/testresults/tst_how-to-qml-1718090694711.junit.xml,junitxml', '-o', '/Users/qt/work/testresults/tst_how-to-qml-1718090694711.txt,txt', '-o', '-,txt']
      agent:2024/06/11 07:24:54 build.go:404: 141: ********* Start testing of tst_HowToQml *********
      agent:2024/06/11 07:24:54 build.go:404: 141: Config: Using QtTest library 6.9.0, Qt 6.9.0 (arm64-little_endian-lp64 shared (dynamic) release build; by Apple LLVM 15.0.0 (clang-1500.3.9.4)), macos 13.3
      agent:2024/06/11 07:24:54 build.go:404: 141: PASS   : tst_HowToQml::initTestCase()
      agent:2024/06/11 07:25:00 build.go:404: 141: FAIL!  : tst_HowToQml::activeFocusDebugging() 'QTest::qWaitForWindowActive(window)' returned FALSE. ()
      agent:2024/06/11 07:25:00 build.go:404: 141:    Loc: [/Users/qt/work/qt/qtdeclarative/tests/auto/quick/doc/how-tos/how-to-qml/tst_how-to-qml.cpp(64)]
      agent:2024/06/11 07:25:00 build.go:404: 141: QDEBUG : tst_HowToQml::timePicker() qml: created Label_QMLTYPE_14_QML_18(0x600002e9ed80) at index 0
      agent:2024/06/11 07:25:00 build.go:404: 141: QDEBUG : tst_HowToQml::timePicker() qml: created Label_QMLTYPE_14_QML_18(0x600002e9ef40) at index 1
      agent:2024/06/11 07:25:00 build.go:404: 141: QDEBUG : tst_HowToQml::timePicker() qml: created Label_QMLTYPE_14_QML_18(0x600002e9f1e0) at index 2
      agent:2024/06/11 07:25:00 build.go:404: 141: QDEBUG : tst_HowToQml::timePicker() qml: created Label_QMLTYPE_14_QML_18(0x600002e9f3a0) at index 3
      agent:2024/06/11 07:25:00 build.go:404: 141: QDEBUG : tst_HowToQml::timePicker() qml: created Label_QMLTYPE_14_QML_18(0x600002e9f560) at index 4
      agent:2024/06/11 07:25:00 build.go:404: 141: QDEBUG : tst_HowToQml::timePicker() qml: created Label_QMLTYPE_14_QML_18(0x600002e9f720) at index 5
      agent:2024/06/11 07:25:00 build.go:404: 141: QDEBUG : tst_HowToQml::timePicker() qml: created Label_QMLTYPE_14_QML_18(0x600002e9f8e0) at index 6
      

      Attachments

        Issue Links

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

          Activity

            People

              mitch_curtis Mitch Curtis
              ulherman Ulf Hermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes