Rank: Advanced Member
Groups: Registered
Joined: 6/17/2012(UTC) Posts: 507
Thanks: 145 times Was thanked: 66 time(s) in 64 post(s)
|
[NCrunch Console Tool v3.22.0.1] Today when running with a non existent NCrunch cache (1 local and 2 grid nodes active, node2 is pretty and limited to 1 test task) on TeamCity, NCrunch reported errors "Code members in new coverage for test": Example of stack trace from build log: Code: [11:03:32] : [Step 14/20] [Core-50] Grid node node2.domain reports task completed: [LocalTestExecutionTask: [SnapshotComponent: Solution.Web.NonHttpIntegrationTests.NUnitTests, 32, 34492078], 8 test(s), NUnit, ProcessingSucceeded, ALGOL2, 62ab1cd6-a6ad-4226-86c7-b85f569d520b] [11:03:32] : [Step 14/20] [Core-50] ERROR (Internal): nCrunch.Client.Model.CodeCoverage.CoverageMappingException: Code members in new coverage for test Solution.Web.NonHttpIntegrationTests.NUnitTests.OrderToolControllerIntegrationFixtures.SaveOrderItemFixture.OrderItemValueValidationFixture+RegexValidationFixture.IfValueStartsOrEndsWithWhitespaceItShouldBeTrimmedBeforeValidating(True," abc123 ") are reported out of order (Models\WebControls\DataFieldValueModel.cs:Presentation\Solution.Web\Solution.Web.csproj should be later than Models\ViewTemplateOptions\TextTabularForm2Options.cs:Presentation\Solution.Web\Solution.Web.csproj) [11:03:32] : [Step 14/20] [Core-50] at nCrunch.Client.Model.CodeCoverage.Indexes.CoverageIndex`1. (ModelTest , ModelCodeMember , Int32 , ModelCodeMember , Int32 ) [11:03:32] : [Step 14/20] [Core-50] at nCrunch.Client.Model.CodeCoverage.Indexes.CoverageIndex`1.MergeNewLineCoverageDataIntoIndexReturningChangedCodeMembers(ModelTest test, ComponentUniqueName componentUniqueName, ICoveragePointIterator`1 newCoveragePoints) [11:03:32] : [Step 14/20] [Core-50] at nCrunch.Client.Model.CodeCoverage.CoverageDatabase.MergeNewLineCoverageDataIntoDatabaseReturningChangedCodeMembers(ModelTest test, ComponentUniqueName componentUniqueName, ICoveragePointIterator`1 newCoveragePoints) [11:03:32] : [Step 14/20] [Core-50] at nCrunch.Client.Model.CodeCoverage.CodeCoverageMerger. (ModelTest , Int64[] , ComponentMappingData , AssemblyClassMethodData , Dictionary`2 , IDictionary`2 , ComponentUniqueName ) [11:03:32] : [Step 14/20] [Core-50] at nCrunch.Client.Model.CodeCoverage.CodeCoverageMerger. (ModelComponent , ComponentMappingData , ComponentTestExecutionMap , AssemblyClassMethodData , IDictionary`2 , HashSet`1 ) [11:03:32] : [Step 14/20] [Core-50] at nCrunch.Client.Model.CodeCoverage.CodeCoverageMerger.MergeAndApplyCoverageResultsFromTestOutput(IEnumerable`1 componentsInTestDomain, HashSet`1 testsToMerge, ComponentTestExecutionMap[] componentTestExecutionMaps, IDictionary`2 mappingDataByComponentId, IDictionary`2 compiledFileVersionsById, IDictionary`2 assemblyClassMethodDataByComponent) [11:03:32] : [Step 14/20] [Core-50] at nCrunch.Client.Model.CodeCoverage.CodeCoverageMerger. (TestExecutionCompletedEvent )
|