Paul-A

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: TestContainer not found #23551
    Paul-A
    Participant

    I have repaired VS just in case, and I have installed the MSI file you gave, this is the output console:

    [22/01/2019 13:18:36 Informational] ========== Discover test finished: 3 found (0:00:02,5226614) ==========
    [22/01/2019 13:18:36 Informational] ------ Run test started ------
    [22/01/2019 13:18:37 Informational] RunTests() - entry
    [22/01/2019 13:18:37 Informational] Running tests from C:\EmbeddedProject1\EmbeddedProject3\EmbeddedProject3-Release.vgdbsettings...
    [22/01/2019 13:18:37 Informational] Initializing test container from C:\EmbeddedProject1\EmbeddedProject3\EmbeddedProject3-Release.vgdbsettings...
    [22/01/2019 13:18:38 Informational] Discovering tests...
    [22/01/2019 13:18:38 Informational] Running test discoverer...
    [22/01/2019 13:18:38 Informational] Discovered 0 tests using the advanced discoverer
    [22/01/2019 13:18:38 Informational] Discovered 3 tests using regular discoverers
    [22/01/2019 13:18:38 Informational] Discovered 3 tests.
    [22/01/2019 13:18:38 Informational] Remote communication pipe absent.
    [22/01/2019 13:18:38 Informational] Starting test result streaming....
    [22/01/2019 13:18:40 Informational] ReportTestResults(C:\EmbeddedProject1\EmbeddedProject3\EmbeddedProject3-Release.vgdbsettings)
    [22/01/2019 13:18:40 Informational] Waiting for test packet...
    [22/01/2019 13:18:41 Informational] Got VisualGDB.TestEngine.TestReportingProtocolReader+ReferenceAddressPacket
    [22/01/2019 13:18:41 Informational] Finished processing VisualGDB.TestEngine.TestReportingProtocolReader+ReferenceAddressPacket
    [22/01/2019 13:18:41 Informational] Waiting for test packet...
    [22/01/2019 13:18:41 Informational] Got VisualGDB.TestEngine.TestReportingProtocolReader+TestStartingPacket
    [22/01/2019 13:18:41 Informational] Processing test start packet...
    [22/01/2019 13:18:42 Informational] Reporting test start: e48f9a1d-958b-466d-ac7d-707af163d93b
    [22/01/2019 13:18:42 Informational] Finished processing VisualGDB.TestEngine.TestReportingProtocolReader+TestStartingPacket
    [22/01/2019 13:18:42 Informational] Waiting for test packet...
    [22/01/2019 13:18:42 Informational] Got VisualGDB.TestEngine.TestReportingProtocolReader+TestFailedPacket
    [22/01/2019 13:18:42 Informational] Finished processing VisualGDB.TestEngine.TestReportingProtocolReader+TestFailedPacket
    [22/01/2019 13:18:42 Informational] Waiting for test packet...
    [22/01/2019 13:18:42 Error] System.InvalidOperationException: The following TestContainer was not found 'C:\EmbeddedProject1\EmbeddedProject3\EmbeddedProject3-Release.vgdbsettings'
    at Microsoft.VisualStudio.TestWindow.Controller.TestContainerProvider.<GetTestContainerAsync>d__61.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.VisualStudio.TestWindow.Data.InMemory.InMemoryDataStorage.<AccumulateTestCaseInternal>d__23.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.VisualStudio.TestWindow.Data.InMemory.InMemoryUnitTestWriter.<WriteTestCaseInternal>d__13.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
    at Microsoft.VisualStudio.TestWindow.Data.InMemory.InMemoryUnitTestWriter.<WriteTestResultsInternal>d__19.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.VisualStudio.TestWindow.Data.UnitTestWriter.<WriteTestResults>d__46.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.VisualStudio.TestWindow.Controller.TestRunRequest.<TestRunStatsChange>d__49.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.VisualStudio.TestWindow.Controller.TestRunRequest.<>c__DisplayClass50_0.<<OnTestRunStatsChange>b__0>d.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.VisualStudio.TestWindow.Data.UnitTestStorage.<ExecuteWhileOpen>d__30.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.VisualStudio.TestWindow.Controller.Request.<ExecuteWhileStorageIsOpen>d__100.MoveNext()
    [22/01/2019 13:18:52 Warning] The request has taken more than 10 seconds to respond, aborting it.

    For information, I have created a new solution with a new project, and it works, I don’t know where the difference could be.

    • This reply was modified 5 years, 3 months ago by Paul-A.
    • This reply was modified 5 years, 3 months ago by Paul-A.
    in reply to: TestContainer not found #23544
    Paul-A
    Participant

    Ok here is the log:

    VisualGDB build 5.4.100.2737
    Startup initialization took 563 msec
    RenameHighlightSmartTaggerProvider: creating tagger for BuildOutput...
    Project enumeration for test discovery failed: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))
    ------------------ System.NotImplementedException ------------------
    System.NotImplementedException: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))
       at EnvDTE.Project.get_FullName()
       at zf.f5..ctor(zf b, Project a)
       at zf.z1.x2(Project a)
       at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
       at v51.get_TestContainers()
    RenameHighlightSmartTaggerProvider: creating tagger for TestsOutput...
    Project enumeration for test discovery failed: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))
    ------------------ System.NotImplementedException ------------------
    System.NotImplementedException: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))
       at EnvDTE.Project.get_FullName()
       at zf.f5..ctor(zf b, Project a)
       at zf.z1.x2(Project a)
       at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
       at v51.get_TestContainers()
    Project enumeration for test discovery failed: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))
    ------------------ System.NotImplementedException ------------------
    System.NotImplementedException: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))
       at EnvDTE.Project.get_FullName()
       at zf.f5..ctor(zf b, Project a)
       at zf.z1.x2(Project a)
       at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
       at v51.get_TestContainers()
    Project enumeration for test discovery failed: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))
    ------------------ System.NotImplementedException ------------------
    System.NotImplementedException: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))
       at EnvDTE.Project.get_FullName()
       at zf.f5..ctor(zf b, Project a)
       at zf.z1.x2(Project a)
       at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
       at v51.get_TestContainers()
    • This reply was modified 5 years, 3 months ago by Paul-A.
    • This reply was modified 5 years, 3 months ago by Paul-A.
    in reply to: TestContainer not found #23526
    Paul-A
    Participant

    The files are not deleted, and I have the same problem in debug and release configuration. As I said, the project is already “from scratch” because I just created an embedded project with the wizard. The only thing which is not as default parameters is “shared files”, “ARM toolchain”, “Embedded BSPs” and “Test Framewaork” there are not saved in C:\[…]\AppData\Local\VisualGDB\

    Is it the problem ? I need to set another path, because I share these files through git.

Viewing 3 posts - 1 through 3 (of 3 total)