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

tst_qthreadpool frequently fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 5.3.0 Beta1, 5.8, 5.12, 5.13
    • Core: Threads
    • Windows 8.1, MSVC 2013, openSUSE 42.1, macOS
    • macOS
    • 1

    Description

      As of 25.4.2014, this is still prominently listed as flaky at http://testresults.qt-project.org/qtmetrics/autoteststatus/index.html despite https://codereview.qt-project.org/#change,80902 .

      On the CI machines:

      tQA::App::TestRunner: end tst_selftests: 79 seconds, exit code 0
      QtQA::App::TestRunner: begin tst_qthreadpool: [release\tst_qthreadpool.exe] [-silent] [-o] [C:\work\ci\qt\qtbase\dev\_artifacts\test-logs\tst_qthreadpool.exe-testresults-00.xml,xml] [-o] [-,txt]
      Testing tst_QThreadPool
      FAIL!  : tst_QThreadPool::expiryTimeoutRace() 'task.semaphore.tryAcquire(numTasks, 10000)' returned FALSE. ()
      tst_qthreadpool.cpp(384) : failure location
      QtQA::App::TestRunner: Timed out after 450 seconds
      QtQA::App::TestRunner: test failed, running again to see if it is flaky...
      ********* Start testing of tst_QThreadPool *********
      Config: Using QtTest library 5.4.0, Qt 5.4.0 (Apr 24 2014, MSVC 2013, 64 bit, release build)
      PASS   : tst_QThreadPool::initTestCase()
      --
      QtQA::App::TestRunner: end tst_qabstractfileengine: 0.441762 seconds, exit code 0
      QtQA::App::TestRunner: begin tst_qabstractitemview: [release\tst_qabstractitemview.exe] [-silent] [-o] [C:\work\ci\qt\qtbase\dev\_artifacts\test-logs\tst_qabstractitemview.exe-testresults-00.xml,xml] [-o] [-,txt]
      --
      --
      QtQA::App::TestRunner: end tst_selftests: 77 seconds, exit code 0
      QtQA::App::TestRunner: begin tst_qthreadpool: [release\tst_qthreadpool.exe] [-silent] [-o] [C:\work\ci\qt\qtbase\dev\_artifacts\test-logs\tst_qthreadpool.exe-testresults-00.xml,xml] [-o] [-,txt]
      Testing tst_QThreadPool
      FAIL!  : tst_QThreadPool::expiryTimeoutRace() 'task.semaphore.tryAcquire(numTasks, 10000)' returned FALSE. ()
      tst_qthreadpool.cpp(384) : failure location
      QtQA::App::TestRunner: Timed out after 450 seconds
      QtQA::App::TestRunner: test failed, running again to see if it is flaky...
      ********* Start testing of tst_QThreadPool *********
      Config: Using QtTest library 5.4.0, Qt 5.4.0 (Apr 25 2014, MSVC 2013, 64 bit, release build)
      PASS   : tst_QThreadPool::initTestCase()
      

      Attachments

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

        Activity

          People

            anwojcie Anna Wojciechowska
            kleint Friedemann Kleint
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes