Issues in Migrating test suites #1019
sarath2002
started this conversation in
General
Replies: 1 comment
-
You TestPlansAndSuitesMigrationConfig config does not look complete. If you run |
Beta Was this translation helpful? Give feedback.
0 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.
-
Using VSTS v 10.2 for test plan migration but unfortunately no test suites inside the test plan is getting migrated.
{
"Version": "10.2",
"TelemetryEnableTrace": false,
"workaroundForQuerySOAPBugEnabled": false,
"ChangeSetMappingFile": null,
"Source": {
"Collection": "https://dev.azure.com/migrations1",
"Project": "tpmigration1",
"ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId",
"AllowCrossProjectLinking": false,
"PersonalAccessToken": "",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
}
},
"Target": {
"Collection": "https://dev.azure.com/tpmigration2",
"Project": "tp_migration",
"ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId",
"AllowCrossProjectLinking": false,
"PersonalAccessToken": "",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
}
},
"FieldMaps": [],
"WorkItemTypeDefinition": {
"sourceWorkItemTypeName": "targetWorkItemTypeName"
},
"GitRepoMapping": null,
"Processors": [
{
"ObjectType": "NodeStructuresMigrationConfig",
"PrefixProjectToNodes": false,
"Enabled": false,
"BasePaths": []
},
{
"ObjectType": "WorkItemMigrationConfig",
"ReplayRevisions": true,
"PrefixProjectToNodes": false,
"UpdateCreatedDate": true,
"UpdateCreatedBy": true,
"BuildFieldTable": false,
"AppendMigrationToolSignatureFooter": false,
"QueryBit": "AND [Microsoft.VSTS.Common.ClosedDate] = '' AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan')",
"OrderBit": "[System.ChangedDate] desc",
"Enabled": false,
"LinkMigration": true,
"AttachmentMigration": true,
"AttachmentWorkingPath": "c:\temp\WorkItemAttachmentWorkingFolder\",
"FixHtmlAttachmentLinks": false,
"SkipToFinalRevisedWorkItemType": false,
"WorkItemCreateRetryLimit": 5,
"FilterWorkItemsThatAlreadyExistInTarget": true,
"PauseAfterEachWorkItem": false,
"AttachmentMazSize": 480000000,
"CollapseRevisions": false,
"LinkMigrationSaveEachAsAdded": false
},
{
"ObjectType" : "TestConfigurationsMigrationConfig",
"Enabled" : true
},
{
"ObjectType" : "TestPlansAndSuitesMigrationConfig",
"Enabled" : true
}
]
}
Tried using many steps to do the migration but still fails with this error.
y[13:52:27 INF] Config Found, creating engine host
b__1(ExecuteOptions opts) in D:\a\1\s\src\VstsSyncMigrator.Console\Program.cs:line 69[13:52:27 INF] sourceWorkItemTypeName: Adding Work Item Type MigrationEngine
[13:52:27 INF] Adding Processor TestConfigurationsMigrationContext
[13:52:28 INF] Adding Processor TestPlandsAndSuitesMigrationContext
[13:52:29 FTL] An Unhandled exception occured.
System.NullReferenceException: Object reference not set to an instance of an object.
at VstsSyncMigrator.Engine.TestPlandsAndSuitesMigrationContext.Configure(ITfsProcessingConfig configx) in D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\TestPlansAndSuitesMigrationContext.cs:line 63
at MigrationTools.Core.Engine.Containers.ProcessorContainer.Configure() in D:\a\1\s\src\MigrationTools\Core\Engine\Containers\ProcessorContainer.cs:line 48
at MigrationTools.Core.Engine.Containers.ProcessorContainer..ctor(IServiceProvider services, EngineConfiguration config) in D:\a\1\s\src\MigrationTools\Core\Engine\Containers\ProcessorContainer.cs:line 20
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2.VisitCallSite(ServiceCallSite callSite, TArgument argument)at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2.VisitCallSite(ServiceCallSite callSite, TArgument argument)at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at VstsSyncMigrator.ConsoleApp.Program.ExecuteEntryPoint(IHost host, ExecuteOptions opts) in D:\a\1\s\src\VstsSyncMigrator.Console\Program.cs:line 82
at MigrationTools.ProgramManager.RunExecuteAndReturnExitCode(ExecuteOptions opts, ITelemetryLogger telemetryLogger, PlatformSpecificServices AddPlatformSpecificServices, EngineEntryPoint StartEngine) in D:\a\1\s\src\MigrationTools\ProgramManager.cs:line 89
at VstsSyncMigrator.ConsoleApp.Program.<>c__DisplayClass2_0.
at VstsSyncMigrator.ConsoleApp.Program.Main(String[] args) in D:\a\1\s\src\VstsSyncMigrator.Console\Program.cs:line 67
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
b__1(ExecuteOptions opts) in D:\a\1\s\src\VstsSyncMigrator.Console\Program.cs:line 69at VstsSyncMigrator.Engine.TestPlandsAndSuitesMigrationContext.Configure(ITfsProcessingConfig configx) in D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\TestPlansAndSuitesMigrationContext.cs:line 63
at MigrationTools.Core.Engine.Containers.ProcessorContainer.Configure() in D:\a\1\s\src\MigrationTools\Core\Engine\Containers\ProcessorContainer.cs:line 48
at MigrationTools.Core.Engine.Containers.ProcessorContainer..ctor(IServiceProvider services, EngineConfiguration config) in D:\a\1\s\src\MigrationTools\Core\Engine\Containers\ProcessorContainer.cs:line 20
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2.VisitCallSite(ServiceCallSite callSite, TArgument argument)at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2.VisitCallSite(ServiceCallSite callSite, TArgument argument)at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at VstsSyncMigrator.ConsoleApp.Program.ExecuteEntryPoint(IHost host, ExecuteOptions opts) in D:\a\1\s\src\VstsSyncMigrator.Console\Program.cs:line 82
at MigrationTools.ProgramManager.RunExecuteAndReturnExitCode(ExecuteOptions opts, ITelemetryLogger telemetryLogger, PlatformSpecificServices AddPlatformSpecificServices, EngineEntryPoint StartEngine) in D:\a\1\s\src\MigrationTools\ProgramManager.cs:line 89
at VstsSyncMigrator.ConsoleApp.Program.<>c__DisplayClass2_0.
at VstsSyncMigrator.ConsoleApp.Program.Main(String[] args) in D:\a\1\s\src\VstsSyncMigrator.Console\Program.cs:line 67
Beta Was this translation helpful? Give feedback.
All reactions