Build/Test Issues

Unit tests dont complete

Started by user123 on 10,006 views

Hi

I have go the projects building within NCrunch but am unable to get any of the unit tests to complete. They just sit there with Running(first time run) and never complete.

Currently I have ignored all unit tests except one which is a dummy:

[TestMethod]
public void DummyTest() {
Assert.IsTrue(true, "working");
}

and this does not complete either.

I've set logging to verbose but nothing is in the output window in VS to indicate what the hang might be.

I'm unable to submit a bug report as it appears that feature doesn't work behind a proxy, is there a way of getting the report out without directly submitting it? (or enabling proxy support) ?
Any ideas as to where I can look to see why the tests don't complete?

thanks for any help
Hi,

Thanks for reporting this issue. Most likely the engine is throwing an exception under the hood, so we'll need to find out what this is. As the bug reporter is failing, the best way to get information about the problem is to go to your NCrunch global configuration and turn on the 'LogToOutputWindow' setting. If you then reset the engine so that your test kicks off, you should see the exception appear either in the Visual Studio output window OR in the processing queue against the test execution task. If the failure doesn't show, try setting your LogVerbosity to detailed and see if you can notice anything unusual in the log (i.e. errors, exceptions, etc). If you're able to copy/paste me the details I should be able to identify the reason for failure.


Cheers,

Remco
Thanks for the response, have set the settings to output and detailed and have pasted below. There is an exception in there about strong name verification failing, however I have put in a *.* suppression to the machine so I'm not sure either why its failing to sign the assembly in the first place nor why the suppression is failing. The solution is delay signed and there is an error in the log referring to a failure to re-sign. Does this look like the issue to you too?

[10:17:48.2533-UI-1] Publishing Event: [SystemDisabledEvent]
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread CoreThread to subscriber: #=q1fKVpttZ$qQ9tqgm9TCG7ZIyVQSsI4eZV$nsAGMZF$o=.#=qW5G7Y$j$FsiRnS_z3z7d0Q==
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread CoreThread to subscriber: CodeMemberRegistry.#=qLJQF0TFn5VJ4lJ4BNE5K_A==
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread CoreThread to subscriber: PersistentStateManager.#=qpDkAR8ejriHY9zHJni2o5Q==
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread CoreThread to subscriber: EngineWatcher.#=qn04BD$S$UxD1J4uvL9CDlQ==
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread CoreThread to subscriber: CoverageWatcher.#=qsKz6A54G0QVGAZlnSxcmAQ==
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread CoreThread to subscriber: SnapshotSynchroniser.#=qtpH25sRKCOWW2yeMdqJhsw==
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread UIThread to subscriber: EditorWindowManager.#=qWabdA7iRgi3N4JbGWqInZA==
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread CoreThread to subscriber: PackageIntegrator.#=qslVpvR6gc0GcbyWKpo$UbsreoGBT1RXw6fOFp49FP3E=
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread CoreThread to subscriber: ProjectXmlWatcher.#=q9yZy8h7iBYqhSNEtBfHaFbK$lE0PTojjyHliDVzeWp4=
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread UIThread to subscriber: AutomationIntegrator.#=qSDfWsQqEsE5eUyYkJeYiVg==
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread UIThread to subscriber: DisableMenuOption.#=qDeLdxXJlYjmZFMuf$Hk_Bg==
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread UIThread to subscriber: DockableWindow.#=quHOJJ1HGhm1MY5P7StP$4w==
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread UIThread to subscriber: DisableAutomaticTestExecutionMenuOption.#=qkJ6hPWaQFXP3qfdiWbMDkw==
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread UIThread to subscriber: EnableAutomaticTestExecutionMenuOption.#=qIjauvlIOYhqcZsg2mpi64w==
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread UIThread to subscriber: DockableWindow.#=quHOJJ1HGhm1MY5P7StP$4w==
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread UIThread to subscriber: DockableWindow.#=quHOJJ1HGhm1MY5P7StP$4w==
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread UIThread to subscriber: DockableWindow.#=quHOJJ1HGhm1MY5P7StP$4w==
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread CoreThread to subscriber: ExternalProcessManager.#=qbOaOGjxdV_3WAnTNRdpTAg==
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread CoreThread to subscriber: ProcessPool.#=qwy4sXjuIL0KCsguhNp1RHg==
[10:17:48.2533-UI-1] Event [SystemDisabledEvent] is being published on thread CoreThread to subscriber: ProcessingQueue.#=qFC4uQfEZpcnumcZdgotGDg==
[10:17:48.2533-Core-29] Event [SystemDisabledEvent] is being processed on Core thread with subscriber: #=q1fKVpttZ$qQ9tqgm9TCG7ZIyVQSsI4eZV$nsAGMZF$o=.#=qW5G7Y$j$FsiRnS_z3z7d0Q==
[10:17:48.2533-UI-1] Publishing Event: [SystemEnabledEvent]
[10:17:48.2533-UI-1] Event [SystemEnabledEvent] is being published on thread CoreThread to subscriber: #=q1fKVpttZ$qQ9tqgm9TCG7ZIyVQSsI4eZV$nsAGMZF$o=.#=qDjHUDU$7bQi6KGh2W8nQaw==
[10:17:48.2533-UI-1] Event [SystemEnabledEvent] is being published on thread CoreThread to subscriber: CoverageWatcher.#=qtLFyMo94aEsVdoyRz_jBiw==
[10:17:48.2533-UI-1] Event [SystemEnabledEvent] is being published on thread CoreThread to subscriber: SnapshotSynchroniser.#=q4_Zo$jROXR_bDGZS0zWmPw==
[10:17:48.2533-UI-1] Event [SystemEnabledEvent] is being published on thread UIThread to subscriber: EditorWindowManager.#=qo14MCMyzcL7mQNK0PFgGjA==
[10:17:48.2533-UI-1] Event [SystemEnabledEvent] is being published on thread CoreThread to subscriber: PackageIntegrator.#=qEGdV5LstyjTakQwzTAxp0PyLAQXSxm8rKNDOmkx7DaU=
[10:17:48.2533-UI-1] Event [SystemEnabledEvent] is being published on thread UIThread to subscriber: AutomationIntegrator.#=qyBUmdovmbOkP_7AVB6j6mQ==
[10:17:48.2533-UI-1] Event [SystemEnabledEvent] is being published on thread UIThread to subscriber: EnableMenuOption.#=qOhCtKG3Q7ydvo6khwEXGww==
[10:17:48.2533-UI-1] Event [SystemEnabledEvent] is being published on thread UIThread to subscriber: DockableWindow.#=qn8jCjSPnysaTYsFB$EMgGQ==
[10:17:48.2533-UI-1] Event [SystemEnabledEvent] is being published on thread UIThread to subscriber: DisableAutomaticTestExecutionMenuOption.#=qkyH8I5B4gAxbQpx3kXezsg==
[10:17:48.2533-UI-1] Event [SystemEnabledEvent] is being published on thread UIThread to subscriber: EnableAutomaticTestExecutionMenuOption.#=qO952pS7yvTQq6t77h2Dxjw==
[10:17:48.2533-UI-1] Event [SystemEnabledEvent] is being published on thread UIThread to subscriber: DockableWindow.#=qn8jCjSPnysaTYsFB$EMgGQ==
[10:17:48.2533-UI-1] Event [SystemEnabledEvent] is being published on thread UIThread to subscriber: DockableWindow.#=qn8jCjSPnysaTYsFB$EMgGQ==
[10:17:48.2533-UI-1] Event [SystemEnabledEvent] is being published on thread UIThread to subscriber: DockableWindow.#=qn8jCjSPnysaTYsFB$EMgGQ==
[10:17:48.2533-Core-29] Event [SystemDisabledEvent] is being processed on Core thread with subscriber: CodeMemberRegistry.#=qLJQF0TFn5VJ4lJ4BNE5K_A==
[10:17:48.2533-Core-29] Event [SystemDisabledEvent] is being processed on Core thread with subscriber: PersistentStateManager.#=qpDkAR8ejriHY9zHJni2o5Q==
[10:17:48.2533-UI-1] Publishing Event: [DteEditorWindowClosedEvent:C:\Files\Code\TFS\FSDDC\DEV\ACE\Calypso\AciSite.Test\UC016\ChargeShapeAvailabilityControllerTests.cs]
[10:17:48.2533-UI-1] Event [DteEditorWindowClosedEvent:C:\Files\Code\TFS\FSDDC\DEV\ACE\Calypso\AciSite.Test\UC016\ChargeShapeAvailabilityControllerTests.cs] is being published on thread CoreThread to subscriber: CoverageWatcher.#=qNi4oIyVu9NmGqdTk6T_RUv17Yxeb_cED_706DlSrFUo=
[10:17:48.2533-UI-1] Publishing Event: [DteProjectItemInvalidatedEvent:C:\Files\Code\TFS\FSDDC\DEV\ACE\Calypso\AciSite.Test\UC016\ChargeShapeAvailabilityControllerTests.cs]
[10:17:48.2533-UI-1] Event [DteProjectItemInvalidatedEvent:C:\Files\Code\TFS\FSDDC\DEV\ACE\Calypso\AciSite.Test\UC016\ChargeShapeAvailabilityControllerTests.cs] is being published on thread CoreThread to subscriber: SnapshotSynchroniser.#=qNEoLEwhRlFSm28VMm0u8GDKRlx$awX5JrLg7wd0S2tM=
[10:17:48.2533-UI-1] Publishing Event: [DteEditorWindowClosedEvent:C:\Files\Code\TFS\FSDDC\DEV\ACE\Calypso\AciSupport.Test\OptionsTests.cs]
[10:17:48.2533-UI-1] Event [DteEditorWindowClosedEvent:C:\Files\Code\TFS\FSDDC\DEV\ACE\Calypso\AciSupport.Test\OptionsTests.cs] is being published on thread CoreThread to subscriber: CoverageWatcher.#=qNi4oIyVu9NmGqdTk6T_RUv17Yxeb_cED_706DlSrFUo=
[10:17:48.2533-UI-1] Publishing Event: [DteProjectItemInvalidatedEvent:C:\Files\Code\TFS\FSDDC\DEV\ACE\Calypso\AciSupport.Test\OptionsTests.cs]
[10:17:48.2533-UI-1] Event [DteProjectItemInvalidatedEvent:C:\Files\Code\TFS\FSDDC\DEV\ACE\Calypso\AciSupport.Test\OptionsTests.cs] is being published on thread CoreThread to subscriber: SnapshotSynchroniser.#=qNEoLEwhRlFSm28VMm0u8GDKRlx$awX5JrLg7wd0S2tM=
[10:17:48.2533-UI-1] Publishing Event: [DataAwareWindowClosedEvent]
[10:17:48.2533-UI-1] Event [DataAwareWindowClosedEvent] is being published on thread CoreThread to subscriber: DataAwareWindowSynchroniser`1.#=qFT2hE8DWF0kqLybalKZOZg==
[10:17:48.2689-UI-1] Publishing Event: [DteEditorWindowOpenedEvent:C:\Files\Code\TFS\FSDDC\DEV\ACE\Calypso\AciSite.Test\UC016\ChargeShapeAvailabilityControllerTests.cs]
[10:17:48.2689-UI-1] Event [DteEditorWindowOpenedEvent:C:\Files\Code\TFS\FSDDC\DEV\ACE\Calypso\AciSite.Test\UC016\ChargeShapeAvailabilityControllerTests.cs] is being published on thread CoreThread to subscriber: CoverageWatcher.#=qCmojH5LDR1P$2clekVhl$mbNkY1XyCyi_1K7mTGxgTI=
[10:17:48.2689-UI-1] Publishing Event: [DteProjectItemUpdatedEvent:C:\Files\Code\TFS\FSDDC\DEV\ACE\Calypso\AciSite.Test\UC016\ChargeShapeAvailabilityControllerTests.cs]
[10:17:48.2689-UI-1] Event [DteProjectItemUpdatedEvent:C:\Files\Code\TFS\FSDDC\DEV\ACE\Calypso\AciSite.Test\UC016\ChargeShapeAvailabilityControllerTests.cs] is being published on thread CoreThread to subscriber: SnapshotSynchroniser.#=qrOVk58oPQMWT4atlzbRzFLixpG1k3N68QeSR8Y5Hwsg=
[10:17:48.2689-UI-1] Publishing Event: [DteEditorWindowOpenedEvent:C:\Files\Code\TFS\FSDDC\DEV\ACE\Calypso\AciSupport.Test\OptionsTests.cs]
[10:17:48.2689-UI-1] Event [DteEditorWindowOpenedEvent:C:\Files\Code\TFS\FSDDC\DEV\ACE\Calypso\AciSupport.Test\OptionsTests.cs] is being published on thread CoreThread to subscriber: CoverageWatcher.#=qCmojH5LDR1P$2clekVhl$mbNkY1XyCyi_1K7mTGxgTI=
[10:17:48.2689-UI-1] Publishing Event: [DteProjectItemUpdatedEvent:C:\Files\Code\TFS\FSDDC\DEV\ACE\Calypso\AciSupport.Test\OptionsTests.cs]
[10:17:48.2689-UI-1] Event [DteProjectItemUpdatedEvent:C:\Files\Code\TFS\FSDDC\DEV\ACE\Calypso\AciSupport.Test\OptionsTests.cs] is being published on thread CoreThread to subscriber: SnapshotSynchroniser.#=qrOVk58oPQMWT4atlzbRzFLixpG1k3N68QeSR8Y5Hwsg=
[10:17:48.2689-UI-1] Publishing Event: [DteProjectsAddedWithBuildXmlEvent:AciSite,AciSupport,_Dependencies,AciSupport.Test,AciDomain,AciDomain.Test,AciSite.Test,AciServiceReferences]
[10:17:48.2689-UI-1] Event [DteProjectsAddedWithBuildXmlEvent:AciSite,AciSupport,_Dependencies,AciSupport.Test,AciDomain,AciDomain.Test,AciSite.Test,AciServiceReferences] is being published on thread CoreThread to subscriber: SnapshotSynchroniser.#=qX8WjoQiidnl9wAYixO8ihBK$UMoArlgsjHSzWbQcU6o=
[10:17:48.2689-UI-1] Publishing Event: [DataAwareWindowOpenedEvent]
[10:17:48.2689-UI-1] Event [DataAwareWindowOpenedEvent] is being published on thread CoreThread to subscriber: DataAwareWindowSynchroniser`1.#=q_yyl6srPcLvrCInF7qPOrQ==
[10:17:48.2689-Core-29] Event [SystemDisabledEvent] is being processed on Core thread with subscriber: EngineWatcher.#=qn04BD$S$UxD1J4uvL9CDlQ==
[10:17:48.2689-Core-29] Publishing Event: [TestDataUpdatedEvent]
[10:17:48.2689-Core-29] Event [SystemDisabledEvent] is being processed on Core thread with subscriber: CoverageWatcher.#=qsKz6A54G0QVGAZlnSxcmAQ==
[10:17:48.2689-Core-29] Event [SystemDisabledEvent] is being processed on Core thread with subscriber: SnapshotSynchroniser.#=qtpH25sRKCOWW2yeMdqJhsw==
[10:17:48.2689-Core-29] Unregistered usage of workspace: c:\temp\nctemp\8976\14 (now 1 usages)
[10:17:48.2689-Core-29] Publishing Event: [ComponentRemovedEvent:AciSite]
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSite] is being published on thread CoreThread to subscriber: EngineWorkflow.#=qG3ycNjGIb4regTdwT8Resw==
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSite] is being published on thread CoreThread to subscriber: EngineWatcher.ComponentRemoved
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSite] is being published on thread CoreThread to subscriber: ProjectXmlWatcher.#=qhQddIxX0LRWJdKlftBUbp4SFTBZJKEzcNdIERLq1GvU=
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSite] is being published on thread CoreThread to subscriber: FileSystemSynchroniser.#=qNkfExL81Kay_5Iwsg7VLLrzWeHOgqcsM$9l1t_YoaLs=
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSite] is being published on thread CoreThread to subscriber: WorkspaceManager.#=qdPsVypwrCH2dxI3ao94uxu_GL8tgIdoBZkzhSrXNUBc=
[10:17:48.2689-Core-29] Unregistered usage of workspace: c:\temp\nctemp\8976\11 (now 1 usages)
[10:17:48.2689-Core-29] Publishing Event: [ComponentRemovedEvent:AciSupport]
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSupport] is being published on thread CoreThread to subscriber: EngineWorkflow.#=qG3ycNjGIb4regTdwT8Resw==
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSupport] is being published on thread CoreThread to subscriber: EngineWatcher.ComponentRemoved
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSupport] is being published on thread CoreThread to subscriber: ProjectXmlWatcher.#=qhQddIxX0LRWJdKlftBUbp4SFTBZJKEzcNdIERLq1GvU=
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSupport] is being published on thread CoreThread to subscriber: FileSystemSynchroniser.#=qNkfExL81Kay_5Iwsg7VLLrzWeHOgqcsM$9l1t_YoaLs=
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSupport] is being published on thread CoreThread to subscriber: WorkspaceManager.#=qdPsVypwrCH2dxI3ao94uxu_GL8tgIdoBZkzhSrXNUBc=
[10:17:48.2689-Core-29] Unregistered usage of workspace: c:\temp\nctemp\8976\18 (now 0 usages)
[10:17:48.2689-Core-29] Storing workspace as unused: c:\temp\nctemp\8976\18
[10:17:48.2689-Core-29] Publishing Event: [ComponentRemovedEvent:_Dependencies]
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:_Dependencies] is being published on thread CoreThread to subscriber: EngineWorkflow.#=qG3ycNjGIb4regTdwT8Resw==
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:_Dependencies] is being published on thread CoreThread to subscriber: EngineWatcher.ComponentRemoved
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:_Dependencies] is being published on thread CoreThread to subscriber: ProjectXmlWatcher.#=qhQddIxX0LRWJdKlftBUbp4SFTBZJKEzcNdIERLq1GvU=
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:_Dependencies] is being published on thread CoreThread to subscriber: FileSystemSynchroniser.#=qNkfExL81Kay_5Iwsg7VLLrzWeHOgqcsM$9l1t_YoaLs=
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:_Dependencies] is being published on thread CoreThread to subscriber: WorkspaceManager.#=qdPsVypwrCH2dxI3ao94uxu_GL8tgIdoBZkzhSrXNUBc=
[10:17:48.2689-Core-29] Unregistered usage of workspace: c:\temp\nctemp\8976\15 (now 1 usages)
[10:17:48.2689-Core-29] Publishing Event: [ComponentRemovedEvent:AciSupport.Test]
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSupport.Test] is being published on thread CoreThread to subscriber: EngineWorkflow.#=qG3ycNjGIb4regTdwT8Resw==
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSupport.Test] is being published on thread CoreThread to subscriber: EngineWatcher.ComponentRemoved
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSupport.Test] is being published on thread CoreThread to subscriber: ProjectXmlWatcher.#=qhQddIxX0LRWJdKlftBUbp4SFTBZJKEzcNdIERLq1GvU=
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSupport.Test] is being published on thread CoreThread to subscriber: FileSystemSynchroniser.#=qNkfExL81Kay_5Iwsg7VLLrzWeHOgqcsM$9l1t_YoaLs=
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSupport.Test] is being published on thread CoreThread to subscriber: WorkspaceManager.#=qdPsVypwrCH2dxI3ao94uxu_GL8tgIdoBZkzhSrXNUBc=
[10:17:48.2689-Core-29] Unregistered usage of workspace: c:\temp\nctemp\8976\13 (now 1 usages)
[10:17:48.2689-Core-29] Publishing Event: [ComponentRemovedEvent:AciDomain]
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciDomain] is being published on thread CoreThread to subscriber: EngineWorkflow.#=qG3ycNjGIb4regTdwT8Resw==
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciDomain] is being published on thread CoreThread to subscriber: EngineWatcher.ComponentRemoved
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciDomain] is being published on thread CoreThread to subscriber: ProjectXmlWatcher.#=qhQddIxX0LRWJdKlftBUbp4SFTBZJKEzcNdIERLq1GvU=
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciDomain] is being published on thread CoreThread to subscriber: FileSystemSynchroniser.#=qNkfExL81Kay_5Iwsg7VLLrzWeHOgqcsM$9l1t_YoaLs=
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciDomain] is being published on thread CoreThread to subscriber: WorkspaceManager.#=qdPsVypwrCH2dxI3ao94uxu_GL8tgIdoBZkzhSrXNUBc=
[10:17:48.2689-Core-29] Unregistered usage of workspace: c:\temp\nctemp\8976\17 (now 0 usages)
[10:17:48.2689-Core-29] Storing workspace as unused: c:\temp\nctemp\8976\17
[10:17:48.2689-Core-29] Publishing Event: [ComponentRemovedEvent:AciDomain.Test]
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciDomain.Test] is being published on thread CoreThread to subscriber: EngineWorkflow.#=qG3ycNjGIb4regTdwT8Resw==
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciDomain.Test] is being published on thread CoreThread to subscriber: EngineWatcher.ComponentRemoved
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciDomain.Test] is being published on thread CoreThread to subscriber: ProjectXmlWatcher.#=qhQddIxX0LRWJdKlftBUbp4SFTBZJKEzcNdIERLq1GvU=
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciDomain.Test] is being published on thread CoreThread to subscriber: FileSystemSynchroniser.#=qNkfExL81Kay_5Iwsg7VLLrzWeHOgqcsM$9l1t_YoaLs=
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciDomain.Test] is being published on thread CoreThread to subscriber: WorkspaceManager.#=qdPsVypwrCH2dxI3ao94uxu_GL8tgIdoBZkzhSrXNUBc=
[10:17:48.2689-Core-29] Unregistered usage of workspace: c:\temp\nctemp\8976\16 (now 0 usages)
[10:17:48.2689-Core-29] Storing workspace as unused: c:\temp\nctemp\8976\16
[10:17:48.2689-Core-29] Publishing Event: [ComponentRemovedEvent:AciSite.Test]
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSite.Test] is being published on thread CoreThread to subscriber: EngineWorkflow.#=qG3ycNjGIb4regTdwT8Resw==
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSite.Test] is being published on thread CoreThread to subscriber: EngineWatcher.ComponentRemoved
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSite.Test] is being published on thread CoreThread to subscriber: ProjectXmlWatcher.#=qhQddIxX0LRWJdKlftBUbp4SFTBZJKEzcNdIERLq1GvU=
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSite.Test] is being published on thread CoreThread to subscriber: FileSystemSynchroniser.#=qNkfExL81Kay_5Iwsg7VLLrzWeHOgqcsM$9l1t_YoaLs=
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSite.Test] is being published on thread CoreThread to subscriber: WorkspaceManager.#=qdPsVypwrCH2dxI3ao94uxu_GL8tgIdoBZkzhSrXNUBc=
[10:17:48.2689-Core-29] Unregistered usage of workspace: c:\temp\nctemp\8976\12 (now 1 usages)
[10:17:48.2689-Core-29] Publishing Event: [ComponentRemovedEvent:AciServiceReferences]
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciServiceReferences] is being published on thread CoreThread to subscriber: EngineWorkflow.#=qG3ycNjGIb4regTdwT8Resw==
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciServiceReferences] is being published on thread CoreThread to subscriber: EngineWatcher.ComponentRemoved
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciServiceReferences] is being published on thread CoreThread to subscriber: ProjectXmlWatcher.#=qhQddIxX0LRWJdKlftBUbp4SFTBZJKEzcNdIERLq1GvU=
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciServiceReferences] is being published on thread CoreThread to subscriber: FileSystemSynchroniser.#=qNkfExL81Kay_5Iwsg7VLLrzWeHOgqcsM$9l1t_YoaLs=
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciServiceReferences] is being published on thread CoreThread to subscriber: WorkspaceManager.#=qdPsVypwrCH2dxI3ao94uxu_GL8tgIdoBZkzhSrXNUBc=
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSite] is being processed on Core thread with subscriber: EngineWorkflow.#=qG3ycNjGIb4regTdwT8Resw==
[10:17:48.2689-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.2689-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.2689-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.2689-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.2689-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.2689-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSite] is being processed on Core thread with subscriber: EngineWatcher.ComponentRemoved
[10:17:48.2689-Core-29] Publishing Event: [TestDataUpdatedEvent]
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSite] is being processed on Core thread with subscriber: ProjectXmlWatcher.#=qhQddIxX0LRWJdKlftBUbp4SFTBZJKEzcNdIERLq1GvU=
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSite] is being processed on Core thread with subscriber: FileSystemSynchroniser.#=qNkfExL81Kay_5Iwsg7VLLrzWeHOgqcsM$9l1t_YoaLs=
[10:17:48.2689-Core-29] Event [ComponentRemovedEvent:AciSite] is being processed on Core thread with subscriber: WorkspaceManager.#=qdPsVypwrCH2dxI3ao94uxu_GL8tgIdoBZkzhSrXNUBc=
[10:17:48.2689-Core-29] Cleaning up workspace: c:\temp\nctemp\8976\5
[10:17:48.3156-Core-29] Event [ComponentRemovedEvent:AciSupport] is being processed on Core thread with subscriber: EngineWorkflow.#=qG3ycNjGIb4regTdwT8Resw==
[10:17:48.3156-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.3156-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.3156-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.3156-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.3156-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.3156-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.3156-Core-29] Event [ComponentRemovedEvent:AciSupport] is being processed on Core thread with subscriber: EngineWatcher.ComponentRemoved
[10:17:48.3156-Core-29] Publishing Event: [TestDataUpdatedEvent]
[10:17:48.3156-Core-29] Event [ComponentRemovedEvent:AciSupport] is being processed on Core thread with subscriber: ProjectXmlWatcher.#=qhQddIxX0LRWJdKlftBUbp4SFTBZJKEzcNdIERLq1GvU=
[10:17:48.3156-Core-29] Event [ComponentRemovedEvent:AciSupport] is being processed on Core thread with subscriber: FileSystemSynchroniser.#=qNkfExL81Kay_5Iwsg7VLLrzWeHOgqcsM$9l1t_YoaLs=
[10:17:48.3156-Core-29] Event [ComponentRemovedEvent:AciSupport] is being processed on Core thread with subscriber: WorkspaceManager.#=qdPsVypwrCH2dxI3ao94uxu_GL8tgIdoBZkzhSrXNUBc=
[10:17:48.3156-Core-29] Cleaning up workspace: c:\temp\nctemp\8976\2
[10:17:48.3312-Core-29] Cleaning up workspace: c:\temp\nctemp\8976\10
[10:17:48.3468-Core-29] Event [ComponentRemovedEvent:_Dependencies] is being processed on Core thread with subscriber: EngineWorkflow.#=qG3ycNjGIb4regTdwT8Resw==
[10:17:48.3468-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.3468-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.3468-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.3468-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.3468-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.3468-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.3468-Core-29] Event [ComponentRemovedEvent:_Dependencies] is being processed on Core thread with subscriber: EngineWatcher.ComponentRemoved
[10:17:48.3468-Core-29] Publishing Event: [TestDataUpdatedEvent]
[10:17:48.3468-Core-29] Event [ComponentRemovedEvent:_Dependencies] is being processed on Core thread with subscriber: ProjectXmlWatcher.#=qhQddIxX0LRWJdKlftBUbp4SFTBZJKEzcNdIERLq1GvU=
[10:17:48.3468-Core-29] Event [ComponentRemovedEvent:_Dependencies] is being processed on Core thread with subscriber: FileSystemSynchroniser.#=qNkfExL81Kay_5Iwsg7VLLrzWeHOgqcsM$9l1t_YoaLs=
[10:17:48.3468-Core-29] Event [ComponentRemovedEvent:_Dependencies] is being processed on Core thread with subscriber: WorkspaceManager.#=qdPsVypwrCH2dxI3ao94uxu_GL8tgIdoBZkzhSrXNUBc=
[10:17:48.3468-Core-29] Cleaning up workspace: c:\temp\nctemp\8976\18
[10:17:48.378-Core-29] Event [ComponentRemovedEvent:AciSupport.Test] is being processed on Core thread with subscriber: EngineWorkflow.#=qG3ycNjGIb4regTdwT8Resw==
[10:17:48.378-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.378-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.378-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.378-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.378-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.378-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.378-Core-29] Event [ComponentRemovedEvent:AciSupport.Test] is being processed on Core thread with subscriber: EngineWatcher.ComponentRemoved
[10:17:48.378-Core-29] Publishing Event: [TestDataUpdatedEvent]
[10:17:48.378-Core-29] Event [ComponentRemovedEvent:AciSupport.Test] is being processed on Core thread with subscriber: ProjectXmlWatcher.#=qhQddIxX0LRWJdKlftBUbp4SFTBZJKEzcNdIERLq1GvU=
[10:17:48.378-Core-29] Event [ComponentRemovedEvent:AciSupport.Test] is being processed on Core thread with subscriber: FileSystemSynchroniser.#=qNkfExL81Kay_5Iwsg7VLLrzWeHOgqcsM$9l1t_YoaLs=
[10:17:48.378-Core-29] Event [ComponentRemovedEvent:AciSupport.Test] is being processed on Core thread with subscriber: WorkspaceManager.#=qdPsVypwrCH2dxI3ao94uxu_GL8tgIdoBZkzhSrXNUBc=
[10:17:48.378-Core-29] Cleaning up workspace: c:\temp\nctemp\8976\6
[10:17:48.378-Core-29] Event [ComponentRemovedEvent:AciDomain] is being processed on Core thread with subscriber: EngineWorkflow.#=qG3ycNjGIb4regTdwT8Resw==
[10:17:48.378-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.378-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.378-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.378-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.378-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.378-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.378-Core-29] Event [ComponentRemovedEvent:AciDomain] is being processed on Core thread with subscriber: EngineWatcher.ComponentRemoved
[10:17:48.378-Core-29] Publishing Event: [TestDataUpdatedEvent]
[10:17:48.378-Core-29] Event [ComponentRemovedEvent:AciDomain] is being processed on Core thread with subscriber: ProjectXmlWatcher.#=qhQddIxX0LRWJdKlftBUbp4SFTBZJKEzcNdIERLq1GvU=
[10:17:48.378-Core-29] Event [ComponentRemovedEvent:AciDomain] is being processed on Core thread with subscriber: FileSystemSynchroniser.#=qNkfExL81Kay_5Iwsg7VLLrzWeHOgqcsM$9l1t_YoaLs=
[10:17:48.378-Core-29] Event [ComponentRemovedEvent:AciDomain] is being processed on Core thread with subscriber: WorkspaceManager.#=qdPsVypwrCH2dxI3ao94uxu_GL8tgIdoBZkzhSrXNUBc=
[10:17:48.378-Core-29] Cleaning up workspace: c:\temp\nctemp\8976\4
[10:17:48.3935-Core-29] Event [ComponentRemovedEvent:AciDomain.Test] is being processed on Core thread with subscriber: EngineWorkflow.#=qG3ycNjGIb4regTdwT8Resw==
[10:17:48.3935-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.3935-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.3935-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.3935-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.3935-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.3935-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.3935-Core-29] Event [ComponentRemovedEvent:AciDomain.Test] is being processed on Core thread with subscriber: EngineWatcher.ComponentRemoved
[10:17:48.3935-Core-29] Publishing Event: [TestDataUpdatedEvent]
[10:17:48.3935-Core-29] Event [ComponentRemovedEvent:AciDomain.Test] is being processed on Core thread with subscriber: ProjectXmlWatcher.#=qhQddIxX0LRWJdKlftBUbp4SFTBZJKEzcNdIERLq1GvU=
[10:17:48.3935-Core-29] Event [ComponentRemovedEvent:AciDomain.Test] is being processed on Core thread with subscriber: FileSystemSynchroniser.#=qNkfExL81Kay_5Iwsg7VLLrzWeHOgqcsM$9l1t_YoaLs=
[10:17:48.3935-Core-29] Event [ComponentRemovedEvent:AciDomain.Test] is being processed on Core thread with subscriber: WorkspaceManager.#=qdPsVypwrCH2dxI3ao94uxu_GL8tgIdoBZkzhSrXNUBc=
[10:17:48.3935-Core-29] Cleaning up workspace: c:\temp\nctemp\8976\17
[10:17:48.3935-Core-29] Event [ComponentRemovedEvent:AciSite.Test] is being processed on Core thread with subscriber: EngineWorkflow.#=qG3ycNjGIb4regTdwT8Resw==
[10:17:48.3935-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.3935-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.3935-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.3935-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.3935-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.3935-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.3935-Core-29] Event [ComponentRemovedEvent:AciSite.Test] is being processed on Core thread with subscriber: EngineWatcher.ComponentRemoved
[10:17:48.3935-Core-29] Publishing Event: [TestDataUpdatedEvent]
[10:17:48.3935-Core-29] Event [ComponentRemovedEvent:AciSite.Test] is being processed on Core thread with subscriber: ProjectXmlWatcher.#=qhQddIxX0LRWJdKlftBUbp4SFTBZJKEzcNdIERLq1GvU=
[10:17:48.3935-Core-29] Event [ComponentRemovedEvent:AciSite.Test] is being processed on Core thread with subscriber: FileSystemSynchroniser.#=qNkfExL81Kay_5Iwsg7VLLrzWeHOgqcsM$9l1t_YoaLs=
[10:17:48.3935-Core-29] Event [ComponentRemovedEvent:AciSite.Test] is being processed on Core thread with subscriber: WorkspaceManager.#=qdPsVypwrCH2dxI3ao94uxu_GL8tgIdoBZkzhSrXNUBc=
[10:17:48.3935-Core-29] Cleaning up workspace: c:\temp\nctemp\8976\16
[10:17:48.4091-Core-29] Event [ComponentRemovedEvent:AciServiceReferences] is being processed on Core thread with subscriber: EngineWorkflow.#=qG3ycNjGIb4regTdwT8Resw==
[10:17:48.4091-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.4091-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.4091-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.4091-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.4091-Core-29] Publishing Event: [TasksUnqueuedEvent]
[10:17:48.4091-Core-29] Event [TasksUnqueuedEvent] is being published on thread CoreThread to subscriber: QueueWatcher.#=qqYYstWBShk3VrpviyFu6yQ==
[10:17:48.4091-Core-29] Event [ComponentRemovedEvent:AciServiceReferences] is being processed on Core thread with subscriber: EngineWatcher.ComponentRemoved
[10:17:48.4091-Core-29] Publishing Event: [TestDataUpdatedEvent]
[10:17:48.4091-Core-29] Event [ComponentRemovedEvent:AciServiceReferences] is being processed on Core thread with subscriber: ProjectXmlWatcher.#=qhQddIxX0LRWJdKlftBUbp4SFTBZJKEzcNdIERLq1GvU=
[10:17:48.4091-Core-29] Event [ComponentRemovedEvent:AciServiceReferences] is being processed on Core thread with subscriber: FileSystemSynchroniser.#=qNkfExL81
Thanks for posting these details. I noticed something odd in the log file when NCrunch tries to sign your output test assembly:

Microsoft (R) .NET Framework Strong Name Utility Version 3.5.30729.1
Copyright (c) Microsoft Corporation. All rights reserved.

Failed to extract public key from key pair -- Bad Version of provider.

Can you give me any details about the manner in which this assembly is normally signed? Did you generate the key file yourself or is it sourced from anywhere?

NCrunch manipulates output assemblies in such a way that would normally cause strong name verification to fail - so if your assembly is signed, NCrunch will re-sign it using the strong name tool (sn.exe). It looks as though for some reason the sn.exe tool is rejecting the key that NCrunch has been identifying for signage. If you use the sn.exe tool yourself to re-sign a built assembly with your key file, does the signing succeed?
I saw that and can recreate if I try and re-sign with the public key. I guess you cant resign with a public key? We have the public key on the development workstations but the private key is not available to the developers, it is applied during the build on the build servers. We have the assemblies registered for suppression so I don't understand why NCrunch cant load them.

The key file is one that was generated by us a long time ago, its only the public part which is available to us now though.

This would make good sense. At the moment NCrunch doesn't support working with partially signed assemblies, though there are a number of workarounds for this.

One way to solve this would be to try turning off signing of the assemblies for your NCrunch builds. You can do this by making the SignAssembly build property conditional in each of your project files with this problem.

For example, your project files will likely contain the code:

<PropertyGroup>
<SignAssembly>true</SignAssembly>
</PropertyGroup>

Try changing this to:

<PropertyGroup>
<SignAssembly Condition="$(NCrunch) != '1'">true</SignAssembly>
</PropertyGroup>

You may need to do this for most (or all) of the project files in your solution.

I'm keen to hear if this does the trick.

Edited

Thanks for the suggestion. I tried it (we were already using this for the code analysis issues we were having) but unfortunately we would need code changes to support the unsigned assemblies. I guess if there is a compiler conditional that NCRUNCH puts in place for its compilation we could use that for working around the problem but I can't see a way of it working at the moment.
Understood. NCrunch doesn't yet have a build definition set automatically, but you can set one yourself using the $(NCrunch) environment variable in your .proj files, for example:

<PropertyGroup Condition=" '$(NCrunch)' == '1' ">
<DefineConstants>NCRUNCH;DEBUG;TRACE</DefineConstants>
</PropertyGroup>

This needs to be below your debug platform configuration so that it will take precedence with the DefineConstants property.

Then in code ...

#if NCRUNCH
... Place NCrunch specific code here
#else
... Place non-NCrunch specific code here
#endif

Edited

Well thanks very much. following your suggestions I did indeed manage to get the code compiling and running unit tests in parallel with the development and it is running for me.
This post has been deleted.
This post has been deleted.
This post has been deleted.
This post has been deleted.

Post a reply

Log in to reply.