Rank: Newbie
Groups: Registered
Joined: 12/5/2012(UTC) Posts: 4 Location: Canada
Thanks: 1 times Was thanked: 2 time(s) in 2 post(s)
|
I got a new computer and what was working in NCrunch on my old computer, now have "Analyse Assembly" failures for our tests assemblies. I'm not sure what to look for. The projects build fine in VS (and Resharper). I've disabled Windows Defender to no avail. NCrunch version 4.4.0.12 VS2019 16.7.6 Projects are in .Net Core 2.2 We use x64 satellite hosting strategy (and tried x86) and Optimised Instrumentation mode. Here is the log for one of our failing project in NCrunch. Thanks a lot Phil Quote: [13:29:44.5469-LocalAnalysisTask-37] Launching task: Analysing MyCompany.CommonTestLibrary [13:29:44.5708-LocalAnalysisTask-37] Process could not be found in pool with signature matching: [ProcessSignature: C:\Users\MyUser\AppData\Local\NCrunch\15796\12\test\MyCompany.CommonTestLibrary\bin\Debug\netcoreapp2.2\MyCompany.CommonTestLibrary.dll nCrunch.TestExecution.RemoteTaskRunner C:\Users\MyUser\AppData\Local\NCrunch\15796\12\test\MyCompany.CommonTestLibrary\bin\Debug\netcoreapp2.2\MyCompany.CommonTestLibrary.dll.config.ncrunchconfig x64 (local) nCrunch.Core.PlatformTypes.DotNetCore.DotNetCoreProcessLoader C:\Users\MyUser\.nuget\packages\xunit.abstractions\2.0.3\lib\netstandard2.0\xunit.abstractions.dll ..........
] [13:29:44.5748-LocalAnalysisTask-37] Adding external process with Id 'b2af5e44a3954158afb7a00d98f38244' [13:29:44.5748-LocalAnalysisTask-37] Starting external process '"C:\Program Files\dotnet\dotnet.exe"' with arguments '"C:\Users\MyUser\AppData\Local\NCrunch\15796\12\test\MyCompany.CommonTestLibrary\bin\Debug\netcoreapp2.2\nCrunch.TaskRunner.DotNetCore.20.x64.dll" 15796 nCrunch_a6733edf667b463a8f5063a6ff8b82ba b2af5e44a3954158afb7a00d98f38244 "c:\program files (x86)\microsoft visual studio\2019\professional\common7\ide\extensions\remco software\ncrunch for visual studio 2019\nCrunch.TestExecution.DotNetCore.dll" nCrunch.TestExecution.RemoteTaskRunner "C:\Users\MyUser\AppData\Local\NCrunch\15796\12\test\MyCompany.CommonTestLibrary\bin\Debug\netcoreapp2.2" "False" "C:\Users\MyUser\AppData\Local\NCrunch\15796\12\test\MyCompany.CommonTestLibrary\bin\Debug\netcoreapp2.2\MyCompany.CommonTestLibrary.dll.config.ncrunchconfig"' [13:29:44.5768-LocalAnalysisTask-37] Process ID '6456' initialised [13:29:44.5768-LocalAnalysisTask-37] Connecting to external process 'b2af5e44a3954158afb7a00d98f38244' with id 6456 [13:29:44.6057-LocalAnalysisTask-37] Removing external process with Id 'b2af5e44a3954158afb7a00d98f38244' [13:29:44.6057-LocalAnalysisTask-37] ERROR (Internal): nCrunch.TaskRunner.Ipc.IpcConnectionClosedException: The connection has been closed at nCrunch.TaskRunner.Ipc.Fast.IpcReader.Initialise() at nCrunch.TaskRunner.Ipc.Fast.IpcStream.Connect(String ipcName, Boolean isHost) at nCrunch.TaskRunner.Ipc.Fast.FastIpcClient.Connect(String ipcName) at nCrunch.Core.ProcessManagement.DefaultProcessLoader.ConnectToProcess(ExternalProcess externalProcess, ProcessLoadParameters parameters, Action`1 outOfBandMessageHandler) at nCrunch.Core.ProcessManagement.ExternalProcessManager..() at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity) at nCrunch.Core.ProcessManagement.ExternalProcessManager.(EffectiveProcessorArchitecture , ProcessLoadParameters )
[13:29:44.6057-LocalAnalysisTask-37] Publishing Event: [ErrorEvent:[Error: Context: (global) Category: Internal Message: The connection has been closed Details: nCrunch.TaskRunner.Ipc.IpcConnectionClosedException: The connection has been closed at nCrunch.TaskRunner.Ipc.Fast.IpcReader.Initialise() at nCrunch.TaskRunner.Ipc.Fast.IpcStream.Connect(String ipcName, Boolean isHost) at nCrunch.TaskRunner.Ipc.Fast.FastIpcClient.Connect(String ipcName) at nCrunch.Core.ProcessManagement.DefaultProcessLoader.ConnectToProcess(ExternalProcess externalProcess, ProcessLoadParameters parameters, Action`1 outOfBandMessageHandler) at nCrunch.Core.ProcessManagement.ExternalProcessManager..() at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity) at nCrunch.Core.ProcessManagement.ExternalProcessManager.(EffectiveProcessorArchitecture , ProcessLoadParameters ) ]] [13:29:44.6057-LocalAnalysisTask-37] Event [ErrorEvent:[Error: Context: (global) Category: Internal Message: The connection has been closed Details: nCrunch.TaskRunner.Ipc.IpcConnectionClosedException: The connection has been closed at nCrunch.TaskRunner.Ipc.Fast.IpcReader.Initialise() at nCrunch.TaskRunner.Ipc.Fast.IpcStream.Connect(String ipcName, Boolean isHost) at nCrunch.TaskRunner.Ipc.Fast.FastIpcClient.Connect(String ipcName) at nCrunch.Core.ProcessManagement.DefaultProcessLoader.ConnectToProcess(ExternalProcess externalProcess, ProcessLoadParameters parameters, Action`1 outOfBandMessageHandler) at nCrunch.Core.ProcessManagement.ExternalProcessManager..() at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity) at nCrunch.Core.ProcessManagement.ExternalProcessManager.(EffectiveProcessorArchitecture , ProcessLoadParameters ) ]] is being published on thread CoreThread to subscriber: ErrorHandler.<.ctor>b__1_0 [13:29:44.6077-LocalAnalysisTask-37] Event [ErrorEvent:[Error: Context: (global) Category: Internal Message: The connection has been closed Details: nCrunch.TaskRunner.Ipc.IpcConnectionClosedException: The connection has been closed at nCrunch.TaskRunner.Ipc.Fast.IpcReader.Initialise() at nCrunch.TaskRunner.Ipc.Fast.IpcStream.Connect(String ipcName, Boolean isHost) at nCrunch.TaskRunner.Ipc.Fast.FastIpcClient.Connect(String ipcName) at nCrunch.Core.ProcessManagement.DefaultProcessLoader.ConnectToProcess(ExternalProcess externalProcess, ProcessLoadParameters parameters, Action`1 outOfBandMessageHandler) at nCrunch.Core.ProcessManagement.ExternalProcessManager..() at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity) at nCrunch.Core.ProcessManagement.ExternalProcessManager.(EffectiveProcessorArchitecture , ProcessLoadParameters ) ]] is being published on thread UIThread to subscriber: SharedEventPump. [13:29:44.6077-LocalAnalysisTask-37] Task processing complete for [LocalAnalysisTask: [SnapshotComponent: MyCompany.CommonTestLibrary, 18, 59734299], BeingProcessed, (local), 3e02a426-60e5-4347-929a-4bea1df13a20], processing time: 00:00:00 [13:29:44.6077-LocalAnalysisTask-37] Publishing Event: [ :[LocalAnalysisTask: [SnapshotComponent: MyCompany.CommonTestLibrary, 18, 59734299], BeingProcessed, (local), 3e02a426-60e5-4347-929a-4bea1df13a20]] [13:29:44.6077-LocalAnalysisTask-37] Event [ :[LocalAnalysisTask: [SnapshotComponent: MyCompany.CommonTestLibrary, 18, 59734299], BeingProcessed, (local), 3e02a426-60e5-4347-929a-4bea1df13a20]] is being published on thread CoreThread to subscriber: ProcessingQueue. [13:29:44.6077-LocalAnalysisTask-37] Event [ :[LocalAnalysisTask: [SnapshotComponent: MyCompany.CommonTestLibrary, 18, 59734299], BeingProcessed, (local), 3e02a426-60e5-4347-929a-4bea1df13a20]] is being published on thread UIThread to subscriber: SharedEventPump.
|