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

tst_QMutex::tryLock_non_recursive() fails occasionally on Windows 10

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.8, 5.9
    • Fix Version/s: 5.9.0 Beta 2
    • Component/s: Core: Threads
    • Labels:
    • Environment:
      Windows 10 (MSVC2015)
    • Commits:
      3a1f4b186d8ce79717da37f808ff9a4b3e949d9c

      Description

      Is this yet another symptom of the slowish CI machines? Hasn't happened very often, so the priority is not that high.

      ********* Start testing of tst_QMutex *********
      Config: Using QtTest library 5.9.0, Qt 5.9.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2015)
      PASS   : tst_QMutex::initTestCase()
      SKIP   : tst_QMutex::convertToMilliseconds(Nanoseconds:-0.500000:-1) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Microseconds:-0.500000:-1) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Milliseconds:-0.500000:-1) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Seconds:-0.500000:-1) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Nanoseconds:0.000000:0) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Microseconds:0.000000:0) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Milliseconds:0.000000:0) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Seconds:0.000000:0) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Nanoseconds:1.000000:1) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Nanoseconds:1000000.000000:1000000) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Nanoseconds:1000000.500000:1000001) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Microseconds:1.000000:1) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Microseconds:1000.000000:1000) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Microseconds:1000.500000:1001) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Milliseconds:1.000000:1) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Milliseconds:1.500000:2) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Seconds:0.999100:1) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Nanoseconds:2147483647000000.000000:2147483647000000) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Microseconds:2147483647000.000000:2147483647000) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Milliseconds:2147483647.000000:2147483647) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Nanoseconds:2147483647000001.000000:2147483647000001) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Microseconds:2147483647001.000000:2147483647001) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Milliseconds:2147483648.000000:2147483648) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Seconds:2147484.647000:2147484) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Nanoseconds:2147483646999999.000000:2147483646999999) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Microseconds:2147483646999.000000:2147483646999) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      SKIP   : tst_QMutex::convertToMilliseconds(Milliseconds:2147483646.900000:2147483647) This test requires <chrono>
      tst_qmutex.cpp(197) : failure location
      FAIL!  : tst_QMutex::tryLock_non_recursive() 'timer.elapsed() >= waitTime - systemTimersResolution' returned FALSE. ()
      tst_qmutex.cpp(267) : failure location
      QFATAL : tst_QMutex::tryLock_non_recursive() Test function timed out
      FAIL!  : tst_QMutex::tryLock_non_recursive() Received a fatal error.
      Unknown file(0) : failure location
      Totals: 1 passed, 2 failed, 27 skipped, 0 blacklisted, 299991ms
      ********* Finished testing of tst_QMutex *********
      jom: C:\Users\qt\work\qt\qtbase\tests\auto\corelib\thread\qmutex\Makefile.Release [check] Error 2
      jom: C:\Users\qt\work\qt\qtbase\tests\auto\corelib\thread\qmutex\Makefile [release-check] Error 2
      
      agent:2017/02/27 10:49:26 build.go:200: Process finished with error: exit status 2
      agent:2017/02/27 10:49:26 build.go:152: Error reading from stdout/err: exit status 2
      agent:2017/02/27 10:49:46 build.go:270: [c:\users\qt\MSVC2015.bat jom check] 900 1200
      
      C:\Users\qt\work\qt\qtbase\tests\auto\corelib\thread\qmutex>call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64  
      
      jom 1.1.2 - empower your cores
      
      	C:\utils\jom\jom.exe -f Makefile.Release check
      	call C:\Users\qt\work\qt\qtbase\tests\auto\corelib\thread\qmutex\target_wrapper.bat  release\tst_qmutex.exe tryLock_non_recursive
      ********* Start testing of tst_QMutex *********
      Config: Using QtTest library 5.9.0, Qt 5.9.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2015)
      PASS   : tst_QMutex::initTestCase()
      PASS   : tst_QMutex::tryLock_non_recursive()
      PASS   : tst_QMutex::cleanupTestCase()
      Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 302ms
      ********* Finished testing of tst_QMutex *********
      
      agent:2017/02/27 10:49:47 build.go:270: [c:\users\qt\MSVC2015.bat jom check] 900 1200
      
      C:\Users\qt\work\qt\qtbase\tests\auto\corelib\thread\qmutex>call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64  
      
      jom 1.1.2 - empower your cores
      
      	C:\utils\jom\jom.exe -f Makefile.Release check
      	call C:\Users\qt\work\qt\qtbase\tests\auto\corelib\thread\qmutex\target_wrapper.bat  release\tst_qmutex.exe tryLock_non_recursive
      ********* Start testing of tst_QMutex *********
      Config: Using QtTest library 5.9.0, Qt 5.9.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2015)
      PASS   : tst_QMutex::initTestCase()
      PASS   : tst_QMutex::tryLock_non_recursive()
      PASS   : tst_QMutex::cleanupTestCase()
      Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 301ms
      ********* Finished testing of tst_QMutex *********
      
      agent:2017/02/27 10:49:49 build.go:270: [c:\users\qt\MSVC2015.bat jom check] 900 1200
      
      C:\Users\qt\work\qt\qtbase\tests\auto\corelib\thread\qmutex>call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64  
      
      jom 1.1.2 - empower your cores
      
      	C:\utils\jom\jom.exe -f Makefile.Release check
      	call C:\Users\qt\work\qt\qtbase\tests\auto\corelib\thread\qmutex\target_wrapper.bat  release\tst_qmutex.exe tryLock_non_recursive
      ********* Start testing of tst_QMutex *********
      Config: Using QtTest library 5.9.0, Qt 5.9.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2015)
      PASS   : tst_QMutex::initTestCase()
      PASS   : tst_QMutex::tryLock_non_recursive()
      PASS   : tst_QMutex::cleanupTestCase()
      Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 301ms
      ********* Finished testing of tst_QMutex *********
      
      agent:2017/02/27 10:49:51 build.go:270: [c:\users\qt\MSVC2015.bat jom check] 900 1200
      
      C:\Users\qt\work\qt\qtbase\tests\auto\corelib\thread\qmutex>call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64  
      
      jom 1.1.2 - empower your cores
      
      	C:\utils\jom\jom.exe -f Makefile.Release check
      	call C:\Users\qt\work\qt\qtbase\tests\auto\corelib\thread\qmutex\target_wrapper.bat  release\tst_qmutex.exe tryLock_non_recursive
      ********* Start testing of tst_QMutex *********
      Config: Using QtTest library 5.9.0, Qt 5.9.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2015)
      PASS   : tst_QMutex::initTestCase()
      PASS   : tst_QMutex::tryLock_non_recursive()
      PASS   : tst_QMutex::cleanupTestCase()
      Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 301ms
      ********* Finished testing of tst_QMutex *********
      
      agent:2017/02/27 10:49:53 build.go:270: [c:\users\qt\MSVC2015.bat jom check] 900 1200
      
      C:\Users\qt\work\qt\qtbase\tests\auto\corelib\thread\qmutex>call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64  
      
      jom 1.1.2 - empower your cores
      
      	C:\utils\jom\jom.exe -f Makefile.Release check
      	call C:\Users\qt\work\qt\qtbase\tests\auto\corelib\thread\qmutex\target_wrapper.bat  release\tst_qmutex.exe tryLock_non_recursive
      ********* Start testing of tst_QMutex *********
      Config: Using QtTest library 5.9.0, Qt 5.9.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2015)
      PASS   : tst_QMutex::initTestCase()
      PASS   : tst_QMutex::tryLock_non_recursive()
      PASS   : tst_QMutex::cleanupTestCase()
      Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 301ms
      ********* Finished testing of tst_QMutex *********
      
      agent:2017/02/27 10:49:54 build.go:337: Executing instruction 258 of 1030
      agent:2017/02/27 10:49:54 build.go:337: Executing instruction 259 of 1030
      agent:2017/02/27 10:49:54 build.go:270: [c:\users\qt\MSVC2015.bat jom check] 900 1200
      

      build log: http://testresults.qt.io/logs/qt/qtbase/3968a0bc922184bfda206e69ef18068fbb935756/WindowsWindows_10x86_64WindowsWindows_10x86_64MSVC2015qtci-windows-10-x86_64-d9335fDeveloperBuild_Release_QtNamespace_QtLibInfix/85d6b000f945a84bc84a4f01f53ac65bc05cbe86/testrun_1488181731/testlog.txt.gz

        Attachments

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

          Activity

            People

            • Assignee:
              thiago Thiago Macieira
              Reporter:
              mipohjan Milla Pohjanheimo
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes