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

qtdeclarative flaky tst_qqmlprofilerservice test

    XMLWordPrintable

Details

    • Linux/X11
    • 93956372d (dev)

    Description

      Hello,

      The tst_qqmlprofilerservice test of the qtdeclarative component in Qt 6.3.1 appears to fail non-deterministically, susceptible to the load of the build system.  The error was triggered on a 24 logical cores Ryzen 3900x machine building multiple packages at once (all CPU cores were maxed).

      140/144 Test  #49: tst_qqmlprofilerservice ...................***Failed   21.65 sec
      QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-qtdeclarative-6.3.1.drv-0/runtime-nixbld'
      ********* Start testing of tst_QQmlProfilerService *********
      Config: Using QtTest library 6.3.1, Qt 6.3.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 10.3.0), unknown unknown
      PASS   : tst_QQmlProfilerService::initTestCase()
      PASS   : tst_QQmlProfilerService::connect(normal/unrestricted/disabled)
      PASS   : tst_QQmlProfilerService::connect(block/unrestricted/disabled)
      PASS   : tst_QQmlProfilerService::connect(normal/restricted/disabled)
      PASS   : tst_QQmlProfilerService::connect(block/restricted/disabled)
      PASS   : tst_QQmlProfilerService::connect(normal/unrestricted/enabled)
      PASS   : tst_QQmlProfilerService::connect(block/unrestricted/enabled)
      PASS   : tst_QQmlProfilerService::connect(normal/restricted/enabled)
      PASS   : tst_QQmlProfilerService::connect(block/restricted/enabled)
      PASS   : tst_QQmlProfilerService::pixmapCacheData()
      PASS   : tst_QQmlProfilerService::scenegraphData()
      PASS   : tst_QQmlProfilerService::profileOnExit()
      PASS   : tst_QQmlProfilerService::controlFromJS()
      PASS   : tst_QQmlProfilerService::signalSourceLocation()
      PASS   : tst_QQmlProfilerService::javascript()
      PASS   : tst_QQmlProfilerService::flushInterval()
      PASS   : tst_QQmlProfilerService::translationBinding()
      PASS   : tst_QQmlProfilerService::memory()
      PASS   : tst_QQmlProfilerService::compile()
      FAIL!  : tst_QQmlProfilerService::multiEngine() '(m_isComplete)' returned FALSE. (No trace received in time.)
         Loc: [/tmp/guix-build-qtdeclarative-6.3.1.drv-0/qtdeclarative-everywhere-src-6.3.1/tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp(290)]
      FAIL!  : tst_QQmlProfilerService::multiEngine() 'm_client->jsHeapMessages.count() > 0' returned FALSE. (no JavaScript heap messages received)
         Loc: [/tmp/guix-build-qtdeclarative-6.3.1.drv-0/qtdeclarative-everywhere-src-6.3.1/tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp(307)]
      FAIL!  : tst_QQmlProfilerService::multiEngine() Compared values are not the same
         Actual   (((m_process->state()))): Running
         Expected (QProcess::NotRunning)  : NotRunning
         Loc: [/tmp/guix-build-qtdeclarative-6.3.1.drv-0/qtdeclarative-everywhere-src-6.3.1/tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp(808)]
      QDEBUG : tst_QQmlProfilerService::multiEngine() QML Messages: 0
      QDEBUG : tst_QQmlProfilerService::multiEngine()  
      QDEBUG : tst_QQmlProfilerService::multiEngine() JavaScript Messages: 0
      QDEBUG : tst_QQmlProfilerService::multiEngine()  
      QDEBUG : tst_QQmlProfilerService::multiEngine() Asynchronous Messages: 1
      QDEBUG : tst_QQmlProfilerService::multiEngine() 0 1179248 0 6 5 "" -1 -1 QList(1)
      QDEBUG : tst_QQmlProfilerService::multiEngine()  
      QDEBUG : tst_QQmlProfilerService::multiEngine() Pixmap Cache Messages: 0
      QDEBUG : tst_QQmlProfilerService::multiEngine()  
      QDEBUG : tst_QQmlProfilerService::multiEngine() Javascript Heap Messages: 0
      QDEBUG : tst_QQmlProfilerService::multiEngine()  
      QDEBUG : tst_QQmlProfilerService::multiEngine() Process State: "running"
      QDEBUG : tst_QQmlProfilerService::multiEngine() Application Output: "QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/guix-build-qtdeclarative-6.3.1.drv-0/runtime-nixbld'\nQML Debugger: Waiting for connection on port 13774...\n"
      QDEBUG : tst_QQmlProfilerService::multiEngine() Connection State: "connected"
      QDEBUG : tst_QQmlProfilerService::multiEngine() "CanvasFrameRate" State: "Enabled"
      PASS   : tst_QQmlProfilerService::batchOverflow()
      PASS   : tst_QQmlProfilerService::cleanupTestCase()
      Totals: 21 passed, 3 failed, 0 skipped, 0 blacklisted, 21613ms
      ********* Finished testing of tst_QQmlProfilerService *********
      CMake Error at tst_qqmlprofilerserviceWrapperRelWithDebInfo.cmake:17 (message):
        
        /tmp/guix-build-qtdeclarative-6.3.1.drv-0/build/tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice
        execution failed with exit code 3.
      
      
      
      141/144 Test #127: tst_qquickmenu ............................   Passed   27.88 sec
      142/144 Test  #54: tst_qmlformat .............................   Passed   35.69 sec
      143/144 Test #120: tst_qquickdrawer ..........................   Passed   80.05 sec
      144/144 Test #130: tst_qquickpopup ...........................   Passed  103.10 sec
      
      99% tests passed, 1 tests failed out of 144
      
      

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              apteryx Maxim Cournoyer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes