Replies: 3 comments 1 reply
-
You have a lot of things in your config there that are not valid. Can you try with a valid config from https://nkdagility.com/learn/azure-devops-migration-tools/Reference/v1/Processors/TestPlansAndSuitesMigrationContext/
|
Beta Was this translation helpful? Give feedback.
-
Thanks Martin for your quick reply. Getting Sequence contains more than one element while running the TestPlan and TestSuite, but there are no duplicates with the same test plan name. But there was the duplicates with the Test Suite name after received this error message I updated the one of the Test Suite name but still getting the same error message. |
Beta Was this translation helpful? Give feedback.
-
As per this suggestion I have updated one of the Test Suite name by adding 1 at end of the test suite title, but the tool still considering this as a duplicates |
Beta Was this translation helpful? Give feedback.
-
{
"$type": "TestPlansAndSuitesMigrationConfig",
"Enabled": true,
"PrefixProjectToNodes": false,
"OnlyElementsWithTag": null,
"TestPlanQueryBit": "PlanID IN ('319273')",
"RemoveAllLinks": false,
"MigrationDelay": 0,
"UseCommonNodeStructureEnricherConfig": false,
"NodeBasePaths": [],
"AreaMaps": {},
"IterationMaps": {},
"RemoveInvalidTestSuiteLinks": false,
"FilterCompleted": false
},
2 issues are happening:
[05:44:29 FTL] [15.1.7] Error while running TestPlansAndSuitesMigrationContext
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.TeamFoundation.TestManagement.Client.TestSuiteEntry.SetPointAssignments(Guid owner, List
1 configs) at Microsoft.TeamFoundation.TestManagement.Client.TestSuiteHelper.ServerAddCasesToSuite(TestSuite parent, IEnumerable
1 entries, Int32 toIndex)at Microsoft.TeamFoundation.TestManagement.Client.TestSuite.OnInsertCases(Int32 index, IEnumerable
1 cases, Boolean ignoreDuplicates) at Microsoft.TeamFoundation.TestManagement.Client.TestSuiteEntryCollection.InsertCases(Int32 index, IEnumerable
1 cases)at VstsSyncMigrator.Engine.TestPlansAndSuitesMigrationContext.AddChildTestCases(ITestSuiteBase source, ITestSuiteBase target, ITestPlan targetPlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\VstsSyncMigrator.Core\Execution\MigrationContext\TestPlansAndSuitesMigrationContext.cs:line 192
at VstsSyncMigrator.Engine.TestPlansAndSuitesMigrationContext.ProcessTestSuite(ITestSuiteBase sourceSuite, ITestSuiteBase targetParent, ITestPlan targetPlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\VstsSyncMigrator.Core\Execution\MigrationContext\TestPlansAndSuitesMigrationContext.cs:line 1045
at VstsSyncMigrator.Engine.TestPlansAndSuitesMigrationContext.ProcessTestSuite(ITestSuiteBase sourceSuite, ITestSuiteBase targetParent, ITestPlan targetPlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\VstsSyncMigrator.Core\Execution\MigrationContext\TestPlansAndSuitesMigrationContext.cs:line 1052
at VstsSyncMigrator.Engine.TestPlansAndSuitesMigrationContext.ProcessTestSuite(ITestSuiteBase sourceSuite, ITestSuiteBase targetParent, ITestPlan targetPlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\VstsSyncMigrator.Core\Execution\MigrationContext\TestPlansAndSuitesMigrationContext.cs:line 1052
at VstsSyncMigrator.Engine.TestPlansAndSuitesMigrationContext.ProcessTestSuite(ITestSuiteBase sourceSuite, ITestSuiteBase targetParent, ITestPlan targetPlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\VstsSyncMigrator.Core\Execution\MigrationContext\TestPlansAndSuitesMigrationContext.cs:line 1052
at VstsSyncMigrator.Engine.TestPlansAndSuitesMigrationContext.ProcessTestPlan(ITestPlan sourcePlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\VstsSyncMigrator.Core\Execution\MigrationContext\TestPlansAndSuitesMigrationContext.cs:line 912
at VstsSyncMigrator.Engine.TestPlansAndSuitesMigrationContext.InternalExecute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\VstsSyncMigrator.Core\Execution\MigrationContext\TestPlansAndSuitesMigrationContext.cs:line 123
at MigrationTools._EngineV1.Processors.MigrationProcessorBase.Execute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools_EngineV1\Processors\MigrationProcessorBase.cs:line 49
[05:44:29 ERR] [15.1.7] TestPlansAndSuitesMigrationContext The Processor MigrationEngine entered the failed state...stopping run
Beta Was this translation helpful? Give feedback.
All reactions