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

Windows/MSVC: tst_QWaitCondition frequently fails in the CI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.6.0 Alpha
    • Core: Threads
    • Windows/MSVC

    Description

      C:\Users\qt\work\qt\qtbase\tests\auto\corelib\thread\qwaitcondition>call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64  
       
       jom 1.1.0 - empower your cores
       
       	C:\utils\jom\jom.exe -f Makefile.Release check
       	(set QT_PLUGIN_PATH=C:\Users\qt\work\qt\qtbase\plugins) & (set PATH=C:\Users\qt\work\qt\qtbase\lib;%%PATH:)=^)%%) &  release\tst_qwaitcondition.exe -o c:\Users\qt\work\testresults\tests\auto\corelib\thread\qwaitcondition335308687,xml -o -,txt
       ********* Start testing of tst_QWaitCondition *********
       Config: Using QtTest library 5.6.0, Qt 5.6.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2013)
       PASS   : tst_QWaitCondition::initTestCase()
       PASS   : tst_QWaitCondition::wait_QMutex()
       PASS   : tst_QWaitCondition::wait_QReadWriteLock()
       FAIL!  : tst_QWaitCondition::wakeOne() Compared values are not the same
          Actual   (exited): 1
          Expected (2)     : 2
       tst_qwaitcondition.cpp(603) : failure location
       QWARN  : tst_QWaitCondition::wakeOne() QThread: Destroyed while thread is still running
       QWARN  : tst_QWaitCondition::wakeOne() QThread: Destroyed while thread is still running
       QWARN  : tst_QWaitCondition::wakeOne() QWaitCondition: Destroyed while threads are still waiting
       FAIL!  : tst_QWaitCondition::wakeAll() Compared values are not the same
          Actual   (wake_Thread_2::count): 6
          Expected (ThreadCount)         : 4
       tst_qwaitcondition.cpp(662) : failure location
       QWARN  : tst_QWaitCondition::wakeAll() QThread: Destroyed while thread is still running
       QWARN  : tst_QWaitCondition::wakeAll() QThread: Destroyed while thread is still running
       QWARN  : tst_QWaitCondition::wakeAll() QThread: Destroyed while thread is still running
       QWARN  : tst_QWaitCondition::wakeAll() QThread: Destroyed while thread is still running
       QWARN  : tst_QWaitCondition::wakeAll() QWaitCondition: Destroyed while threads are still waiting
       PASS   : tst_QWaitCondition::wait_RaceCondition()
       PASS   : tst_QWaitCondition::cleanupTestCase()
       Totals: 5 passed, 2 failed, 0 skipped, 0 blacklisted
       ********* Finished testing of tst_QWaitCondition *********
       jom: C:\Users\qt\work\qt\qtbase\tests\auto\corelib\thread\qwaitcondition\Makefile.Release [check] Error 2
       jom: C:\Users\qt\work\qt\qtbase\tests\auto\corelib\thread\qwaitcondition\Makefile [release-check] Error 2
       
       agent:2015/11/25 13:54:46 build.go:200: Process finished with error: exit status 2
       agent:2015/11/25 13:54:46 build.go:149: Error reading from stderr: exit status 2
       agent:2015/11/25 13:54:46 build.go:149: Error reading from stdout: exit status 2
       agent:2015/11/25 13:54:46 build.go:261: [c:\users\qt\MSVC2013.bat jom check] 900 1200
       
       C:\Users\qt\work\qt\qtbase\tests\auto\corelib\thread\qwaitcondition>call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64  
       
       jom 1.1.0 - empower your cores
       
       	C:\utils\jom\jom.exe -f Makefile.Release check
       	(set QT_PLUGIN_PATH=C:\Users\qt\work\qt\qtbase\plugins) & (set PATH=C:\Users\qt\work\qt\qtbase\lib;%%PATH:)=^)%%) &  release\tst_qwaitcondition.exe wakeOne
       ********* Start testing of tst_QWaitCondition *********
       Config: Using QtTest library 5.6.0, Qt 5.6.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2013)
       PASS   : tst_QWaitCondition::initTestCase()
       FAIL!  : tst_QWaitCondition::wakeOne() Compared values are not the same
          Actual   (exited): 1
          Expected (2)     : 2
       tst_qwaitcondition.cpp(557) : failure location
       QWARN  : tst_QWaitCondition::wakeOne() QThread: Destroyed while thread is still running
       QWARN  : tst_QWaitCondition::wakeOne() QThread: Destroyed while thread is still running
       QWARN  : tst_QWaitCondition::wakeOne() QThread: Destroyed while thread is still running
       QWARN  : tst_QWaitCondition::wakeOne() QWaitCondition: Destroyed while threads are still waiting
       PASS   : tst_QWaitCondition::cleanupTestCase()
       Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted
       ********* Finished testing of tst_QWaitCondition *********
       jom: C:\Users\qt\work\qt\qtbase\tests\auto\corelib\thread\qwaitcondition\Makefile.Release [check] Error 1
       jom: C:\Users\qt\work\qt\qtbase\tests\auto\corelib\thread\qwaitcondition\Makefile [release-check] Error 2 
      

      http://testresults.qt.io/logs/qt/qtbase/b3f1e39599dfc66346349fa4fc55af50e1caa6bb/WindowsWindows_8_1x86_64WindowsWindows_8_1x86_64MSVC2013DebugAndRelease_Release_OpenGLDynamic/da39a3ee5e6b4b0d3255bfef95601890afd80709/testrun_1448446657/testlog.txt.gz

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes