Error while running TfsTestPlansAndSuitesMigrationProcessor #2614
Unanswered
SaumilkumarShah
asked this question in
Q&A
Replies: 1 comment 12 replies
-
You likley have two test plans in your |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Config Processors
{
"ProcessorType": "TfsTestVariablesMigrationProcessor",
"Enabled": true,
"Processor": "TestVariablesMigrationContext",
"SourceName": "Source",
"TargetName": "Target"
},
{
"ProcessorType": "TfsTestConfigurationsMigrationProcessor",
"Enabled": true,
"SourceName": "Source",
"TargetName": "Target"
},
{
"ProcessorType": "TfsTestPlansAndSuitesMigrationProcessor",
"Enabled": true,
"OnlyElementsWithTag": "",
"TestPlanQuery": "",
"RemoveAllLinks": false,
"MigrationDelay": 0,
"RemoveInvalidTestSuiteLinks": false,
"FilterCompleted": false,
"SourceName": "Source",
"TargetName": "Target"
}
Error:
[13:42:44 DBG] [16.0.9] TfsWorkItemMigrationClient::GetWorkItem(415)
[13:42:44 INF] [16.0.9] ===============================================================================================
[13:42:44 INF] [16.0.9] ===============================================================================================
[13:42:44 INF] [16.0.9] ===============================================================================================
[13:42:44 INF] [16.0.9] == Suite Name: sourceproject_TestPlan1 =============================
[13:42:44 INF] [16.0.9] == Date: 04-02-2025 =============================
[13:42:44 INF] [16.0.9] == Suites: 0 =============================
[13:42:44 INF] [16.0.9] ===============================================================================================
[13:42:44 INF] [16.0.9] ===============================================================================================
[13:42:44 INF] [16.0.9] ===============================================================================================
[13:42:44 INF] [16.0.9] == Plan[1/2] Suite[0/0] Cases[0/0] - planid[415 ] | Process Plan sourceproject_TestPlan1
[13:42:44 INF] [16.0.9] ===============================================================================================
[13:42:44 DBG] [16.0.9] TestPlansAndSuitesMigrationContext::FindTestPlan
[13:42:45 FTL] [16.0.9] Error while running TfsTestPlansAndSuitesMigrationProcessor
System.InvalidOperationException: Sequence contains more than one element
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source)
at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.FindTestPlan(String planName, Int32 sourcePlanId) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 610
at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.ProcessTestPlan(ITestPlan sourcePlan) in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 844
at MigrationTools.Processors.TfsTestPlansAndSuitesMigrationProcessor.InternalExecute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.TfsObjectModel\Processors\TfsTestPlansAndSuitesMigrationProcessor.cs:line 113
at MigrationTools.Processors.Infrastructure.Processor.Execute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools\Processors\Infrastructure\Processor.cs:line 99
Beta Was this translation helpful? Give feedback.
All reactions