Skip to content

Instantly share code, notes, and snippets.

@simonjefford
Created November 23, 2016 12:31
Show Gist options
  • Save simonjefford/f2e9cdc808f29a1e34546a38ebdb2962 to your computer and use it in GitHub Desktop.
Save simonjefford/f2e9cdc808f29a1e34546a38ebdb2962 to your computer and use it in GitHub Desktop.
azurerm_virtual_machine.winslave: Refreshing state... (ID: /subscriptions/<redacted>/resourceGroups/jenkins-prodeng/providers/Microsoft.Compute/virtualMachines/prodeng-wslave1)
Error importing: 1 error(s) occurred:
* azurerm_virtual_machine.winslave: unexpected EOF
panic: runtime error: invalid memory address or nil pointer dereference
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x728e09]
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev:
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: goroutine 131 [running]:
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: panic(0x2b42ae0, 0xc4200100d0)
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: /Users/sjefford/src/go/src/runtime/panic.go:500 +0x1a1
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: github.com/hashicorp/terraform/builtin/providers/azurerm.resourceArmVirtualMachineRead(0xc42053e840, 0x2d4a8c0, 0xc4203e6000, 0x0, 0x17)
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: /Users/sjefford/src/github.com/hashicorp/terraform/builtin/providers/azurerm/resource_arm_virtual_machine.go:596 +0xa69
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: github.com/hashicorp/terraform/helper/schema.(*Resource).Refresh(0xc42036d800, 0xc420248280, 0x2d4a8c0, 0xc4203e6000, 0xc4203ae0b0, 0x1, 0x0)
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: /Users/sjefford/src/github.com/hashicorp/terraform/helper/schema/resource.go:259 +0x131
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: github.com/hashicorp/terraform/helper/schema.(*Provider).Refresh(0xc4203a8540, 0xc420248230, 0xc420248280, 0x0, 0x18, 0x18)
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: /Users/sjefford/src/github.com/hashicorp/terraform/helper/schema/provider.go:237 +0x91
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: github.com/hashicorp/terraform/plugin.(*ResourceProviderServer).Refresh(0xc42036a720, 0xc420301e40, 0xc420308090, 0x0, 0x0)
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: /Users/sjefford/src/github.com/hashicorp/terraform/plugin/resource_provider.go:510 +0x4e
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: reflect.Value.call(0xc4203072c0, 0xc420088630, 0x13, 0x3185d89, 0x4, 0xc4204e9ed0, 0x3, 0x3, 0x4cd3140, 0xc4201d2780, ...)
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: /Users/sjefford/src/go/src/reflect/value.go:434 +0x5c8
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: reflect.Value.Call(0xc4203072c0, 0xc420088630, 0x13, 0xc4204e9ed0, 0x3, 0x3, 0x0, 0xc42054af60, 0xc42054af00)
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: /Users/sjefford/src/go/src/reflect/value.go:302 +0xa4
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: net/rpc.(*service).call(0xc420203740, 0xc420203700, 0xc4203be068, 0xc42020da00, 0xc4203059e0, 0x27ae8e0, 0xc420301e40, 0x16, 0x27ae920, 0xc420308090, ...)
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: /Users/sjefford/src/go/src/net/rpc/server.go:383 +0x148
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: created by net/rpc.(*Server).ServeCodec
2016/11/23 12:15:07 [DEBUG] plugin: terraform-dev: /Users/sjefford/src/go/src/net/rpc/server.go:477 +0x421
2016/11/23 12:15:07 [ERROR] root: eval: *terraform.EvalRefresh, err: azurerm_virtual_machine.winslave: unexpected EOF
2016/11/23 12:15:07 [ERROR] root: eval: *terraform.EvalSequence, err: azurerm_virtual_machine.winslave: unexpected EOF
2016/11/23 12:15:07 [TRACE] [walkImport] Exiting eval tree: import azurerm_virtual_machine.winslave result: /subscriptions/<redacted>/resourceGroups/jenkins-prodeng/providers/Microsoft.Compute/virtualMachines/prodeng-wslave1
2016/11/23 12:15:07 [DEBUG] vertex "root", got dep: "azurerm_virtual_machine.winslave (import id: /subscriptions/<redacted>/resourceGroups/jenkins-prodeng/providers/Microsoft.Compute/virtualMachines/prodeng-wslave1)"
2016/11/23 12:15:07 [DEBUG] plugin: waiting for all plugin processes to complete...
2016/11/23 12:15:07 [DEBUG] plugin: /Users/sjefford/bin/terraform-dev: plugin process exited
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Terraform crashed! This is always indicative of a bug within Terraform.
A crash log has been placed at "crash.log" relative to your current
working directory. It would be immensely helpful if you could please
report the crash with Terraform[1] so that we can fix this.
When reporting bugs, please include your terraform version. That
information is available on the first line of crash.log. You can also
get it by running 'terraform --version' on the command line.
[1]: https://github.com/hashicorp/terraform/issues
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment