Skip to content

Interop ComWrappersTests failures #62063

@am11

Description

@am11

Noticed in pri1 run on helix - https://helix.dot.net/api/2019-06-17/jobs/4389830b-bb7a-4316-8d83-fd59f0b90036/workitems/Interop/console

  Discovered:  Interop.COM.XUnitWrapper (found 25 test cases)
  Starting:    Interop.COM.XUnitWrapper (parallel test collections = on, max threads = 8)
    Interop\COM\ComWrappers\API\ComWrappersTests\ComWrappersTests.cmd [FAIL]
      
      Assert failure(PID 15768 [0x00003d98], Thread: 14976 [0x3a80]): pThread
      
      CORECLR! InteropLibImports::HasValidTarget + 0x4C (0x00007ffc`666457f4)
      CORECLR! TrackerTarget_QueryInterface + 0x9C (0x00007ffc`66848a8c)
      MOCKREFERENCETRACKERRUNTIME! UpdateTestObjectAsIDispatch + 0x1F5B8 (0x00007ffc`64d7b1b8)
      MOCKREFERENCETRACKERRUNTIME! UpdateTestObjectAsIDispatch + 0x1EA80 (0x00007ffc`64d7a680)
      CORECLR! TrackerObjectManager::BeginReferenceTracking + 0xEC (0x00007ffc`6684a42c)
      CORECLR! InteropLib::Com::BeginExternalObjectReferenceTracking + 0x14 (0x00007ffc`668481c4)
      CORECLR! ComWrappersNative::OnFullGCStarted + 0xF8 (0x00007ffc`66645c98)
      CORECLR! standalone::GCToEEInterface::GcStartWork + 0x28 (0x00007ffc`66641ed8)
      CLRGC! SVR::gc_heap::garbage_collect + 0x584 (0x00007ffc`6ebb286c)
      CLRGC! SVR::gc_heap::gc_thread_function + 0x2E8 (0x00007ffc`6ebb5220)
          File: D:\a\_work\1\s\src\coreclr\vm\threads.inl Line: 43
          Image: D:\h\w\AF030992\p\corerun.exe
      
      
      Return code:      1
      Raw output file:      D:\h\w\AF030992\w\A107096A\uploads\Reports\Interop.COM\ComWrappers\API\ComWrappersTests\ComWrappersTests.output.txt
      Raw output:
      BEGIN EXECUTION
       "D:\h\w\AF030992\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false"  ComWrappersTests.dll 
      Running ValidateComInterfaceCreation...
      Running ValidateComInterfaceCreationRoundTrip...
      Running ValidateFallbackQueryInterface...
      Running ValidateCreateObjectCachingScenario...
      Running ValidateWrappersInstanceIsolation...
      Running ValidatePrecreatedExternalWrapper...
      Running ValidateExternalWrapperCacheCleanUp...
      Running ValidateSuppliedInnerNotAggregation...
      Running ValidateIUnknownImpls...
      Running ValidateBadComWrapperImpl...
      Running ValidateRuntimeTrackerScenario...
      Expected: 100
      Actual: -1073740286
      END EXECUTION - FAILED
      FAILED
      Test Harness Exitcode is : 1
      To run the test:
      > set CORE_ROOT=D:\h\w\AF030992\p
      > D:\h\w\AF030992\w\A107096A\e\Interop\COM\ComWrappers\API\ComWrappersTests\ComWrappersTests.cmd
      Expected: True
      Actual:   False
      Stack Trace:
           at Interop_COM._ComWrappers_API_ComWrappersTests_ComWrappersTests_._ComWrappers_API_ComWrappersTests_ComWrappersTests_cmd()
      Output:
        
        Assert failure(PID 15768 [0x00003d98], Thread: 14976 [0x3a80]): pThread
        
        CORECLR! InteropLibImports::HasValidTarget + 0x4C (0x00007ffc`666457f4)
        CORECLR! TrackerTarget_QueryInterface + 0x9C (0x00007ffc`66848a8c)
        MOCKREFERENCETRACKERRUNTIME! UpdateTestObjectAsIDispatch + 0x1F5B8 (0x00007ffc`64d7b1b8)
        MOCKREFERENCETRACKERRUNTIME! UpdateTestObjectAsIDispatch + 0x1EA80 (0x00007ffc`64d7a680)
        CORECLR! TrackerObjectManager::BeginReferenceTracking + 0xEC (0x00007ffc`6684a42c)
        CORECLR! InteropLib::Com::BeginExternalObjectReferenceTracking + 0x14 (0x00007ffc`668481c4)
        CORECLR! ComWrappersNative::OnFullGCStarted + 0xF8 (0x00007ffc`66645c98)
        CORECLR! standalone::GCToEEInterface::GcStartWork + 0x28 (0x00007ffc`66641ed8)
        CLRGC! SVR::gc_heap::garbage_collect + 0x584 (0x00007ffc`6ebb286c)
        CLRGC! SVR::gc_heap::gc_thread_function + 0x2E8 (0x00007ffc`6ebb5220)
            File: D:\a\_work\1\s\src\coreclr\vm\threads.inl Line: 43
            Image: D:\h\w\AF030992\p\corerun.exe
        
        
        Return code:      1
        Raw output file:      D:\h\w\AF030992\w\A107096A\uploads\Reports\Interop.COM\ComWrappers\API\ComWrappersTests\ComWrappersTests.output.txt
        Raw output:
        BEGIN EXECUTION
         "D:\h\w\AF030992\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false"  ComWrappersTests.dll 
        Running ValidateComInterfaceCreation...
        Running ValidateComInterfaceCreationRoundTrip...
        Running ValidateFallbackQueryInterface...
        Running ValidateCreateObjectCachingScenario...
        Running ValidateWrappersInstanceIsolation...
        Running ValidatePrecreatedExternalWrapper...
        Running ValidateExternalWrapperCacheCleanUp...
        Running ValidateSuppliedInnerNotAggregation...
        Running ValidateIUnknownImpls...
        Running ValidateBadComWrapperImpl...
        Running ValidateRuntimeTrackerScenario...
        Expected: 100
        Actual: -1073740286
        END EXECUTION - FAILED
        FAILED
        Test Harness Exitcode is : 1
        To run the test:
        > set CORE_ROOT=D:\h\w\AF030992\p
        > D:\h\w\AF030992\w\A107096A\e\Interop\COM\ComWrappers\API\ComWrappersTests\ComWrappersTests.cmd
    Interop\COM\ComWrappers\API\ComWrappersTestsBuiltInComDisabled\ComWrappersTestsBuiltInComDisabled.cmd [FAIL]
      
      Assert failure(PID 11576 [0x00002d38], Thread: 16036 [0x3ea4]): pThread
      
      CORECLR! InteropLibImports::HasValidTarget + 0x4C (0x00007ffc`666457f4)
      CORECLR! TrackerTarget_QueryInterface + 0x9C (0x00007ffc`66848a8c)
      MOCKREFERENCETRACKERRUNTIME! UpdateTestObjectAsIDispatch + 0x1F5B8 (0x00007ffc`6b4bb1b8)
      MOCKREFERENCETRACKERRUNTIME! UpdateTestObjectAsIDispatch + 0x1EA80 (0x00007ffc`6b4ba680)
      CORECLR! TrackerObjectManager::BeginReferenceTracking + 0xEC (0x00007ffc`6684a42c)
      CORECLR! InteropLib::Com::BeginExternalObjectReferenceTracking + 0x14 (0x00007ffc`668481c4)
      CORECLR! ComWrappersNative::OnFullGCStarted + 0xF8 (0x00007ffc`66645c98)
      CORECLR! standalone::GCToEEInterface::GcStartWork + 0x28 (0x00007ffc`66641ed8)
      CLRGC! SVR::gc_heap::garbage_collect + 0x584 (0x00007ffc`6ebb286c)
      CLRGC! SVR::gc_heap::gc_thread_function + 0x2E8 (0x00007ffc`6ebb5220)
          File: D:\a\_work\1\s\src\coreclr\vm\threads.inl Line: 43
          Image: D:\h\w\AF030992\p\corerun.exe
      
      
      Return code:      1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions