Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-6810

Categorised logging spam when re-running a test in CI on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.9
    • Test scripts
    • None
    • Android
    • 2025Season1QtforAndroid

    Description

      There seems to be an issue with logging output when re-running a failed test on Android, as "[%{time" is spammed:

      agent:2024/11/26 05:27:30 build.go:404: I/QTestLib(20396): ********* Start testing of tst_pointerhandlers *********
      agent:2024/11/26 05:27:30 build.go:404: I/QTestLib(20396): Config: Using QtTest library 6.9.0, Qt 6.9.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Android (10552028, +pgo, +bolt, +lto, -mlgo, based on r487747d) Clang 17.0.2 (https://android.googlesource.com/toolchain/llvm-project d9f89f4d16663d5012e5c09495f3b30ece3d2362)), android 14.0
      agent:2024/11/26 05:27:30 build.go:404: I/QTestLib(20396): INFO   : tst_pointerhandlers::initTestCase() entering
      agent:2024/11/26 05:27:30 build.go:404: I/QTestLib(20396): INFO   : tst_pointerhandlers::initTestCase() QVERIFY(!m_dataDirectory.isEmpty())
      agent:2024/11/26 05:27:30 build.go:404: I/QTestLib(20396):    Loc: [/home/qt/work/qt/qtdeclarative/src/quicktestutils/qml/qmlutils.cpp(49)]
      agent:2024/11/26 05:27:30 build.go:404: I/QTestLib(20396): PASS   : tst_pointerhandlers::initTestCase()
      agent:2024/11/26 05:27:30 build.go:404: I/QTestLib(20396): INFO   : tst_pointerhandlers::hover_controlAndMouseArea() entering
      agent:2024/11/26 05:27:30 build.go:404: I/QTestLib(20396): QDEBUG : tst_pointerhandlers::hover_controlAndMouseArea() [%{time
      agent:2024/11/26 05:27:30 build.go:404: I/QTestLib(20396): QDEBUG : tst_pointerhandlers::hover_controlAndMouseArea() [%{time
      agent:2024/11/26 05:27:30 build.go:404: I/QTestLib(20396): QDEBUG : tst_pointerhandlers::hover_controlAndMouseArea() [%{time
      agent:2024/11/26 05:27:30 build.go:404: I/QTestLib(20396): QDEBUG : tst_pointerhandlers::hover_controlAndMouseArea() [%{time
      

      https://codereview.qt-project.org/c/qt/qtdeclarative/+/605740/4#message-4c02e12ab23d355e30d6501a74aec4a43f8e35de

      https://testresults.qt.io/logs/qt/qtdeclarative/85dd1e9cff1db69b6c2883c34f097e36b8864163/LinuxRHEL_8_10x86_64AndroidAndroid_ANYx86_64GCCqtci-linux-RHEL-8.10-x86_64-51-e990cdAndroidTestRun_GenerateSBOM_Packaging_PinCores_Sccache_UseConfigure_VerifySBOM_WarningsAreErrors/76790aa9ae9d44ac1e0f670adb6d6f24cc6ed81a/test_1732596463/log.txt.gz

      Attachments

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

        Activity

          People

            qtandroidteam Qt Android Team
            mitch_curtis Mitch Curtis
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes