NUnit test runner execution log contains errors

Using JetBrains ReSharper Ultimate 2019.2.3 in Visual Studio 2019 Enterprise 2019 Version 16.3.10.

Running NUnit unit tests with ReSharper test runner.

Execution log error icon flashes red, indicates 2 errors though all unit tests pass. The execution log file contains these lines:

14:55:30.924 |I| UnitTestSessionTree | JetPool(S) #1:44 | UnitTestStatusTuple::UnitTestSessionTree.Status: “Own: None Propagated: Unknown | Success | Pending” -> “Own: None Propagated: Unknown | Success | Running”
14:55:31.158 |I| UnitTestSessionTree | JetPool(S) #1:44 | UnitTestStatusTuple::UnitTestSessionTree.Status: “Own: None Propagated: Unknown | Success | Running” -> “Own: None Propagated: Unknown | Success”
14:55:31.175 |I| UnitTestLaunch | :86 | Process C:\Users\terri.policy\AppData\Local\JetBrains\Installations\ReSharperPlatformVs16_c5168b1e\ReSharperTestRunner64c.exe:20688 has exited with code (0)
14:55:31.175 |I| UnitTestLaunch | :86 | Output stream:

14:55:31.201 |W| UnitTestLaunch | :86 | System.ComponentModel.Win32Exception (0x80004005): The data area passed to a system call is too small
at JetBrains.Util.ProcessUtil.GetProcessInfos_Toolhelp32()
at JetBrains.ReSharper.UnitTestFramework.Strategy.TaskRunnerOutOfProcessUnitTestRunStrategy.<CheckForChildProcesses>g__HasRunningChildren|15_0(IPreparedProcess parent, ProcessInfo[]& result)
at JetBrains.ReSharper.UnitTestFramework.Strategy.TaskRunnerOutOfProcessUnitTestRunStrategy.CheckForChildProcesses(IPreparedProcess process, IUnitTestRun run)
at JetBrains.ReSharper.UnitTestFramework.Strategy.TaskRunnerOutOfProcessUnitTestRunStrategy.Run(IUnitTestRun run)
14:55:31.201 |W| UnitTestLaunch | :86 | System.ComponentModel.Win32Exception (0x80004005): The data area passed to a system call is too small
at JetBrains.Util.ProcessUtil.GetProcessInfos_Toolhelp32()
at JetBrains.ReSharper.UnitTestFramework.Strategy.TaskRunnerOutOfProcessUnitTestRunStrategy.<CheckForChildProcesses>g__HasRunningChildren|15_0(IPreparedProcess parent, ProcessInfo[]& result)
at JetBrains.ReSharper.UnitTestFramework.Strategy.TaskRunnerOutOfProcessUnitTestRunStrategy.CheckForChildProcesses(IPreparedProcess process, IUnitTestRun run)
at JetBrains.ReSharper.UnitTestFramework.Strategy.TaskRunnerOutOfProcessUnitTestRunStrategy.Run(IUnitTestRun run)
--- 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 JetBrains.ReSharper.UnitTestFramework.Launch.UnitTestRun.<StartCore>d__29.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at JetBrains.ReSharper.UnitTestFramework.Launch.UnitTestRun.<>c.<StartCore>b__29_0(ExceptionDispatchInfo e)
at JetBrains.Util.Special.GeneralUtil.WithNotNull[T](T item, Action`1 F)
at JetBrains.ReSharper.UnitTestFramework.Launch.UnitTestRun.<StartCore>d__29.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 JetBrains.ReSharper.UnitTestFramework.Launch.UnitTestRun.<Start>d__28.MoveNext()
14:55:31.201 |I| UnitTestLaunch | :86 | Run: 49ff99ab-23a3-4d04-a4ca-0ac606045279 - Faulted
14:55:31.202 |I| UnitTestLaunch | :86 | RunTestsStage completed
14:55:31.202 |I| UnitTestLaunch | :86 | FinishLaunchStage started
14:55:31.202 |I| UnitTestLaunch | :86 | Finishing launch
14:55:31.204 |I| UnitTestLaunch | :86 | Launch is finished
14:55:31.204 |I| UnitTestLaunch | :86 | FinishLaunchStage completed

 

Anyone know what might actually be going on here?

0
2 comments

Hello Terri,

 

Thank you for the feedback.

Does VS test runner run the same test correctly?

Could you please run Visual Studio with the following command line: 'devenv /ReSharper.LogFile c:\log\resharper.log /ReSharper.LogLevel Verbose', reproduce the issue and send us a corresponding 'resharper_log.txt' file. You can share it privately via 'Submit a request' form at the top of the page.

Thank you.

0

Angelina,

The VS test runner does not execute these tests at all. We've never attempted to run them with the VS test runner before due to their history. We wrote them long before VS supported the ability for its embedded test runner to run NUnit tests and these are NUnit tests. In addition, they are data driven NUnit tests that use a static function with a signature of public static IEnumerable GetTestCases() to generate the data rows.

I have uploaded the captured log file via support ticket ID: #2374444

Thank you,

Terri

0

Please sign in to leave a comment.