Skip to content

[Bug]: 1 of 0 source TaskGroup(s) are going to be migrated.. #2976

Description

@DimaPachynin

Version

  • I confirm that I am using the latest version

Source Version

Azure DevOps Service

Target Version

Azure DevOps Service

Relevant configuration

{
        "ProcessorType": "AzureDevOpsPipelineProcessor",
        "Enabled": true,
        "MigrateBuildPipelines": true,
        "MigrateReleasePipelines": false,
        "MigrateServiceConnections": true,
        "MigrateTaskGroups": true,
        "MigrateVariableGroups": true,
        "BuildPipelines": ["Pipeline1"],
        "ReleasePipelines": null,
        "RefName": "",
        "SourceName": "Source",
        "TargetName": "Target"
      },

Relevant log output

[12:58:34 INF] [16.2.11] Processing Variablegroups..
[12:58:42 INF] [16.2.11] 0 of 30 source VariableGroups(s) are going to be migrated..
[12:58:42 INF] [16.2.11] 0 of 0 VariableGroups(s) got migrated..
[12:58:42 INF] [16.2.11] Processing Taskgroups..
[12:58:44 INF] [16.2.11] 1 of 0 source TaskGroup(s) are going to be migrated..
[12:58:44 INF] [16.2.11] 0 of 0 TaskGroup(s) got migrated..
[12:58:45 FTL] [16.2.11] Error while running AzureDevOpsPipelineProcessor
System.NullReferenceException: Object reference not set to an instance of an object.
   at MigrationTools.Endpoints.AzureDevOpsEndpoint.<UpdateTaskGroupsAsync>d__10.MoveNext() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.AzureDevops.Rest\Endpoints\AzureDevOpsEndpoint.cs:line 257
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at MigrationTools.Processors.AzureDevOpsPipelineProcessor.<CreateTaskGroupDefinitionsAsync>d__28.MoveNext() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.AzureDevops.Rest\Processors\AzureDevOpsPipelineProcessor.cs:line 635
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at MigrationTools.Processors.AzureDevOpsPipelineProcessor.<MigratePipelinesAsync>d__9.MoveNext() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.AzureDevops.Rest\Processors\AzureDevOpsPipelineProcessor.cs:line 82
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at MigrationTools.Processors.AzureDevOpsPipelineProcessor.InternalExecute() in D:\a\azure-devops-migration-tools\azure-devops-migration-tools\src\MigrationTools.Clients.AzureDevops.Rest\Processors\AzureDevOpsPipelineProcessor.cs:line 40
   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
Error logged to Elmah.io!
!! Check for latest version - We fix issues constantly - If not, please create a discussion on https://github.com/nkdAgility/azure-devops-migration-tools/discussions so we can get this fixed !!
[12:58:46 INF] [16.2.11] AzureDevOpsPipelineProcessor completed in 00:00:00
[12:58:46 ERR] [16.2.11] AzureDevOpsPipelineProcessor The Processor MigrationEngine entered the failed state...stopping run
[12:58:46 INF] [16.2.11] Command ExecuteMigrationCommand completed in 00:00:22.2892296

What happened?

Unfortunately, no detailed information in logs. I am trying to migrate all task groups and one build pipeline. "Debug" log level selected. The most interesting thing - why I see "1 of 0" in logs.
Please, help.

Debug in Visual Studio

  • Visual Studio Debug

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions