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

tst_qsharedpointer fails on Windows 10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.0 Beta
    • 5.6
    • Core: Other
    • Windows 10/MSVC 2015
    • 0addf25bd7417acca1d3d9df145ff36c5683b0a0 (qtbase/5.6, 2.10.2015, 5.6b)

    Description

      The test fails on Windows 10/MSVC 2015 in the CI.

      C:\Users\qt\work\qt\qtbase\tests\auto\corelib\tools\qsharedpointer>jom -j1 check
      
      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_qsharedpointer.exe
      ********* Start testing of tst_QSharedPointer *********
      Config: Using QtTest library 5.6.0, Qt 5.6.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2015)
      PASS   : tst_QSharedPointer::initTestCase()
      PASS   : tst_QSharedPointer::basics(null)
      PASS   : tst_QSharedPointer::basics(non-null)
      PASS   : tst_QSharedPointer::operators()
      PASS   : tst_QSharedPointer::swap()
      PASS   : tst_QSharedPointer::useOfForwardDeclared()
      PASS   : tst_QSharedPointer::memoryManagement()
      PASS   : tst_QSharedPointer::dropLastReferenceOfForwardDeclared()
      PASS   : tst_QSharedPointer::lock()
      PASS   : tst_QSharedPointer::downCast()
      PASS   : tst_QSharedPointer::functionCallDownCast()
      PASS   : tst_QSharedPointer::upCast()
      PASS   : tst_QSharedPointer::qobjectWeakManagement()
      PASS   : tst_QSharedPointer::noSharedPointerFromWeakQObject()
      PASS   : tst_QSharedPointer::sharedPointerFromQObjectWithWeak()
      PASS   : tst_QSharedPointer::weakQObjectFromSharedPointer()
      PASS   : tst_QSharedPointer::objectCast()
      QDEBUG : tst_QSharedPointer::differentPointers() naked: orig: 0x8dcd629520; base: 0x8dcd629538 (equal) -- QSharedPointer: orig: 0x8dcd629520; base 0x8dcd629538 (equal) -- result: equal
      PASS   : tst_QSharedPointer::differentPointers()
      PASS   : tst_QSharedPointer::virtualBaseDifferentPointers()
      PASS   : tst_QSharedPointer::dynamicCast()
      PASS   : tst_QSharedPointer::dynamicCastDifferentPointers()
      PASS   : tst_QSharedPointer::dynamicCastVirtualBase()
      PASS   : tst_QSharedPointer::dynamicCastFailure()
      PASS   : tst_QSharedPointer::dynamicCastFailureNoLeak()
      PASS   : tst_QSharedPointer::constCorrectness()
      PASS   : tst_QSharedPointer::customDeleter()
      PASS   : tst_QSharedPointer::lambdaCustomDeleter()
      PASS   : tst_QSharedPointer::creating()
      PASS   : tst_QSharedPointer::creatingVariadic()
      PASS   : tst_QSharedPointer::creatingQObject()
      PASS   : tst_QSharedPointer::mixTrackingPointerCode()
      PASS   : tst_QSharedPointer::reentrancyWhileDestructing()
      PASS   : tst_QSharedPointer::threadStressTest(0+0)
      PASS   : tst_QSharedPointer::threadStressTest(1+0)
      PASS   : tst_QSharedPointer::threadStressTest(2+0)
      PASS   : tst_QSharedPointer::threadStressTest(10+0)
      PASS   : tst_QSharedPointer::threadStressTest(0+1)
      PASS   : tst_QSharedPointer::threadStressTest(1+1)
      PASS   : tst_QSharedPointer::threadStressTest(2+10)
      PASS   : tst_QSharedPointer::threadStressTest(5+10)
      PASS   : tst_QSharedPointer::threadStressTest(5+30)
      PASS   : tst_QSharedPointer::threadStressTest(100+100)
      PASS   : tst_QSharedPointer::map()
      PASS   : tst_QSharedPointer::hash()
      PASS   : tst_QSharedPointer::validConstructs()
      QWARN  : tst_QSharedPointer::invalidConstructs(sanity-checking) Sanity checking failed
      Code:
      External test failed during compilation with exit code 2
      ==== standard error: ====
      ### --- stderr from qmake --- ###
      
      ### --- stderr from make (compilation) --- ###
      ?
      Microsoft (R) Program Maintenance Utility Version 14.00.23026.0?
      Copyright (C) Microsoft Corporation.  All rights reserved.?
      ?
      NMAKE : fatal error U1065: invalid option 'j'?
      Stop.?
      
      ==== standard output: ====
      ### --- stdout from qmake --- ###
      
      ### --- stdout from make (compilation) --- ###
      
      ==== ====
      
      
      FAIL!  : tst_QSharedPointer::invalidConstructs(sanity-checking) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(void) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(implicit-initialization1) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(implicit-initialization2) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(implicit-initialization3) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(implicit-initialization4) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(creating-forward-declaration) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(upcast1) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(upcast2) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(const-dropping1) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(const-dropping2) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(const-dropping-static-cast) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(const-dropping-dynamic-cast) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(const-dropping-object-cast1) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(const-dropping-object-cast2) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(arithmethic1) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(arithmethic2) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(same-pointer) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(same-pointer-to-qobject) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(re-creation) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(invalid-cast1) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(invalid-cast2) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(invalid-cast3) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(invalid-cast4) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(weak-pointer-from-regular-pointer) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(shared-pointer-implicit-from-uninitialized) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(incompatible-custom-deleter1) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(incompatible-custom-deleter2) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      FAIL!  : tst_QSharedPointer::invalidConstructs(incompatible-custom-lambda-deleter) External testing failed sanity checking, cannot proceed
      tst_qsharedpointer.cpp(2047) : failure location
      PASS   : tst_QSharedPointer::qvariantCast()
      PASS   : tst_QSharedPointer::sharedFromThis()
      PASS   : tst_QSharedPointer::cleanupTestCase()
      Totals: 48 passed, 29 failed, 0 skipped, 0 blacklisted
      ********* Finished testing of tst_QSharedPointer *********
      jom: C:\Users\qt\work\qt\qtbase\tests\auto\corelib\tools\qsharedpointer\Makefile.Release [check] Error 29
      jom: C:\Users\qt\work\qt\qtbase\tests\auto\corelib\tools\qsharedpointer\Makefile [release-check] Error 2
      

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            frederik Frederik Gladhorn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes