Skip to content

Instantly share code, notes, and snippets.

@LukeE-NEC
Created July 16, 2024 08:20
Show Gist options
  • Save LukeE-NEC/46e5473d52cc9a32ff3d1ad9e946d9ed to your computer and use it in GitHub Desktop.
Save LukeE-NEC/46e5473d52cc9a32ff3d1ad9e946d9ed to your computer and use it in GitHub Desktop.
2024-07-15T14:21:50.6674918Z Providers required by configuration:
2024-07-15T14:21:50.6675945Z .
2024-07-15T14:21:50.6676857Z ├── provider[registry.terraform.io/microsoft/azuredevops] ~> 1.1.1
2024-07-15T14:21:50.6677689Z └── module.terraform-repository
2024-07-15T14:21:50.6678153Z └── provider[registry.terraform.io/microsoft/azuredevops] >= 1.1.1
2024-07-15T14:21:50.6678614Z
2024-07-15T14:21:50.6678902Z Providers required by state:
2024-07-15T14:21:50.6679329Z
2024-07-15T14:21:50.6679635Z provider[registry.terraform.io/microsoft/azuredevops]
2024-07-15T14:21:50.6680121Z
2024-07-15T14:21:50.6680732Z ##[debug]0
2024-07-15T14:21:50.6681406Z ##[debug]exec tool: /usr/local/bin/terraform
2024-07-15T14:21:50.6682248Z ##[debug]arguments:
2024-07-15T14:21:50.6682899Z ##[debug] plan
2024-07-15T14:21:50.6683354Z ##[debug] -detailed-exitcode
2024-07-15T14:21:50.6684043Z [command]/usr/local/bin/terraform plan -detailed-exitcode
2024-07-15T14:21:52.1664191Z module.terraform-repository.data.azuredevops_project.cloudops: Reading...
2024-07-15T14:21:52.7981469Z module.terraform-repository.data.azuredevops_project.cloudops: Read complete after 1s [id=c950c0be-2ced-495a-a5d6-8b8fcb5f5e58]
2024-07-15T14:21:52.7982480Z module.terraform-repository.azuredevops_git_repository.this["lte-terraform-test-2"]: Refreshing state... [id=a140f5ba-657e-491f-ab9a-400e36e2edbd]
2024-07-15T14:21:52.7983445Z module.terraform-repository.azuredevops_git_repository.this["lte-terraform-test-1"]: Refreshing state... [id=09be5234-2e08-45fc-bc0d-e0701bc14011]
2024-07-15T14:21:53.3589586Z
2024-07-15T14:21:53.3590378Z Planning failed. Terraform encountered an error while generating this plan.
2024-07-15T14:21:53.3590526Z
2024-07-15T14:21:53.3891787Z ╷
2024-07-15T14:21:53.3904010Z │ Error: Plugin did not respond
2024-07-15T14:21:53.3904775Z │ 
2024-07-15T14:21:53.3905160Z │  with module.terraform-repository.azuredevops_git_repository.this["lte-terraform-test-2"],
2024-07-15T14:21:53.3905601Z │  on terraform-repository/main.tf line 16, in resource "azuredevops_git_repository" "this":
2024-07-15T14:21:53.3905918Z │  16: resource "azuredevops_git_repository" "this" {
2024-07-15T14:21:53.3906133Z │ 
2024-07-15T14:21:53.3906375Z │ The plugin encountered an error, and failed to respond to the
2024-07-15T14:21:53.3906711Z │ plugin.(*GRPCProvider).ReadResource call. The plugin logs may contain more
2024-07-15T14:21:53.3906974Z │ details.
2024-07-15T14:21:53.3907133Z ╵
2024-07-15T14:21:53.3907307Z ╷
2024-07-15T14:21:53.3907534Z │ Error: Plugin did not respond
2024-07-15T14:21:53.3907735Z │ 
2024-07-15T14:21:53.3908033Z │  with module.terraform-repository.azuredevops_git_repository.this["lte-terraform-test-1"],
2024-07-15T14:21:53.3908438Z │  on terraform-repository/main.tf line 16, in resource "azuredevops_git_repository" "this":
2024-07-15T14:21:53.3908764Z │  16: resource "azuredevops_git_repository" "this" {
2024-07-15T14:21:53.3908954Z │ 
2024-07-15T14:21:53.3909207Z │ The plugin encountered an error, and failed to respond to the
2024-07-15T14:21:53.3909517Z │ plugin.(*GRPCProvider).ReadResource call. The plugin logs may contain more
2024-07-15T14:21:53.3910109Z │ details.
2024-07-15T14:21:53.3910277Z ╵
2024-07-15T14:21:53.3970169Z ##[debug]Agent environment resources - Disk: / Available 21153.00 MB out of 74244.00 MB, Memory: Used 769.00 MB out of 6921.00 MB, CPU: Usage 35.16%
2024-07-15T14:21:53.4066835Z
2024-07-15T14:21:53.4067780Z Stack trace from the terraform-provider-azuredevops_v1.1.1 plugin:
2024-07-15T14:21:53.4067939Z
2024-07-15T14:21:53.4068172Z panic: runtime error: invalid memory address or nil pointer dereference
2024-07-15T14:21:53.4068429Z [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xc552f6]
2024-07-15T14:21:53.4068561Z
2024-07-15T14:21:53.4068720Z goroutine 72 [running]:
2024-07-15T14:21:53.4069100Z github.com/microsoft/terraform-provider-azuredevops/azuredevops/internal/service/git.flattenGitRepository(0xc0000fe780?, 0x0)
2024-07-15T14:21:53.4069682Z github.com/microsoft/terraform-provider-azuredevops/azuredevops/internal/service/git/resource_git_repository.go:452 +0x36
2024-07-15T14:21:53.4070210Z github.com/microsoft/terraform-provider-azuredevops/azuredevops/internal/service/git.resourceGitRepositoryRead(0xc000181480, {0xd85520?, 0xc0000fe780})
2024-07-15T14:21:53.4071283Z github.com/microsoft/terraform-provider-azuredevops/azuredevops/internal/service/git/resource_git_repository.go:261 +0x2aa
2024-07-15T14:21:53.4071843Z github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0x10c8ca0?, {0x10c8ca0?, 0xc0003e80c0?}, 0xd?, {0xd85520?, 0xc0000fe780?})
2024-07-15T14:21:53.4072272Z github.com/hashicorp/terraform-plugin-sdk/v2@v2.23.0/helper/schema/resource.go:712 +0x178
2024-07-15T14:21:53.4072863Z github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc0003f8c40, {0x10c8ca0, 0xc0003e80c0}, 0xc000111a00, {0xd85520, 0xc0000fe780})
2024-07-15T14:21:53.4073321Z github.com/hashicorp/terraform-plugin-sdk/v2@v2.23.0/helper/schema/resource.go:1015 +0x585
2024-07-15T14:21:53.4073788Z github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0xc00000d4e8, {0x10c8ca0?, 0xc00021fc20?}, 0xc00031f400)
2024-07-15T14:21:53.4074357Z github.com/hashicorp/terraform-plugin-sdk/v2@v2.23.0/helper/schema/grpc_provider.go:613 +0x497
2024-07-15T14:21:53.4074850Z github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ReadResource(0xc00035ebe0, {0x10c8ca0?, 0xc00021e870?}, 0xc00046b260)
2024-07-15T14:21:53.4075443Z github.com/hashicorp/terraform-plugin-go@v0.14.0/tfprotov5/tf5server/server.go:748 +0x49e
2024-07-15T14:21:53.4075971Z github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadResource_Handler({0xf0bae0?, 0xc00035ebe0}, {0x10c8ca0, 0xc00021e870}, 0xc00025f960, 0x0)
2024-07-15T14:21:53.4076524Z github.com/hashicorp/terraform-plugin-go@v0.14.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:349 +0x170
2024-07-15T14:21:53.4076984Z google.golang.org/grpc.(*Server).processUnaryRPC(0xc0000001e0, {0x10cba40, 0xc00028ad00}, 0xc0005b8900, 0xc00041afc0, 0x166b610, 0x0)
2024-07-15T14:21:53.4077369Z google.golang.org/grpc@v1.56.3/server.go:1335 +0xde3
2024-07-15T14:21:53.4077617Z google.golang.org/grpc.(*Server).handleStream(0xc0000001e0, {0x10cba40, 0xc00028ad00}, 0xc0005b8900, 0x0)
2024-07-15T14:21:53.4079038Z google.golang.org/grpc@v1.56.3/server.go:1712 +0xa1b
2024-07-15T14:21:53.4079299Z google.golang.org/grpc.(*Server).serveStreams.func1.1()
2024-07-15T14:21:53.4079535Z google.golang.org/grpc@v1.56.3/server.go:947 +0xca
2024-07-15T14:21:53.4079855Z created by google.golang.org/grpc.(*Server).serveStreams.func1
2024-07-15T14:21:53.4080130Z google.golang.org/grpc@v1.56.3/server.go:958 +0x15c
2024-07-15T14:21:53.4080289Z
2024-07-15T14:21:53.4080672Z Error: The terraform-provider-azuredevops_v1.1.1 plugin crashed!
2024-07-15T14:21:53.4080808Z
2024-07-15T14:21:53.4081076Z This is always indicative of a bug within the plugin. It would be immensely
2024-07-15T14:21:53.4081439Z helpful if you could report the crash with the plugin's maintainers so that it
2024-07-15T14:21:53.4081788Z can be fixed. The output above should help diagnose the issue.
2024-07-15T14:21:53.4082074Z
2024-07-15T14:21:53.4104979Z ##[debug]Exit code 1 received from tool '/usr/local/bin/terraform'
2024-07-15T14:21:53.4105862Z ##[debug]STDIO streams have closed for tool '/usr/local/bin/terraform'
2024-07-15T14:21:53.4199236Z ##[warning]Can't find loc string for key: TerraformPlanFailed
2024-07-15T14:21:53.4210746Z ##[debug]Processed: ##vso[task.issue type=warning;source=TaskInternal;]Can't find loc string for key: TerraformPlanFailed
2024-07-15T14:21:53.4233126Z ##[debug]task result: Failed
2024-07-15T14:21:53.4234201Z ##[error]Error: TerraformPlanFailed 1
2024-07-15T14:21:53.4234898Z ##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;]Error: TerraformPlanFailed 1
2024-07-15T14:21:53.4235792Z ##[debug]Processed: ##vso[task.complete result=Failed;]Error: TerraformPlanFailed 1
2024-07-15T14:21:53.4290045Z ##[section]Finishing: Terraform Plan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment