Skip to content

Instantly share code, notes, and snippets.

@dzirg44
Last active May 2, 2020 06:04
Show Gist options
  • Save dzirg44/1d6e0c9ebe47f578da3062cf2d33e823 to your computer and use it in GitHub Desktop.
Save dzirg44/1d6e0c9ebe47f578da3062cf2d33e823 to your computer and use it in GitHub Desktop.
2020/05/02 08:48:39 [DEBUG] checking for provisioner in "."
2020/05/02 08:48:39 [DEBUG] checking for provisioner in "/usr/local/bin"
2020/05/02 08:48:39 [DEBUG] checking for provisioner in ".terraform/plugins/darwin_amd64"
2020/05/02 08:48:39 [DEBUG] checking for provisioner in "/Users/user/.terraform.d/plugins"
2020/05/02 08:48:39 [DEBUG] checking for provisioner in "/Users/user/.terraform.d/plugins/darwin_amd64"
2020/05/02 08:48:39 [TRACE] Meta.Backend: backend *remote.Remote supports operations
2020/05/02 08:48:39 [INFO] backend/local: starting Apply operation
2020/05/02 08:48:39 [TRACE] backend/local: requesting state manager for workspace "default"
2020/05/02 08:48:40 [TRACE] backend/local: requesting state lock for workspace "default"
2020/05/02 08:48:40 [TRACE] backend/local: reading remote state for workspace "default"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x1bf609d]
goroutine 47 [running]:
github.com/hashicorp/terraform/backend/remote.(*Remote).retryLogHook(0xc0001931e0, 0x1, 0x0)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/backend/remote/backend.go:492 +0x8d
github.com/hashicorp/go-tfe.(*Client).retryHTTPBackoff(0xc00051a000, 0x5f5e100, 0x17d78400, 0x1, 0x0, 0xc00074bd70)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/pkg/mod/github.com/hashicorp/go-tfe@v0.3.27/tfe.go:252 +0xd3
github.com/hashicorp/go-retryablehttp.(*Client).Do(0xc0004bcd20, 0xc000132d90, 0xc000044140, 0x1, 0x0)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/pkg/mod/github.com/hashicorp/go-retryablehttp@v0.5.2/client.go:440 +0x1bf
github.com/hashicorp/go-tfe.(*Client).do(0xc00051a000, 0x2ee90a0, 0xc000044140, 0xc000132d90, 0x29e39e0, 0xc0002793e0, 0x0, 0x0)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/pkg/mod/github.com/hashicorp/go-tfe@v0.3.27/tfe.go:427 +0x174
github.com/hashicorp/go-tfe.(*stateVersions).Download(0xc00060e0c8, 0x2ee90a0, 0xc000044140, 0xc0007218c0, 0x220, 0xc000290070, 0x0, 0x0, 0x58, 0x200)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/pkg/mod/github.com/hashicorp/go-tfe@v0.3.27/state_version.go:214 +0x1bb
github.com/hashicorp/terraform/backend/remote.(*remoteClient).Get(0xc00026e9c0, 0xc0002317d0, 0x10ecdea, 0x0)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/backend/remote/backend_state.go:38 +0x1f7
github.com/hashicorp/terraform/state/remote.(*State).refreshState(0xc0004c0550, 0xc0002318e8, 0x10edce0)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/state/remote/state.go:95 +0x38
github.com/hashicorp/terraform/state/remote.(*State).RefreshState(0xc0004c0550, 0x0, 0x0)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/state/remote/state.go:88 +0x79
github.com/hashicorp/terraform/backend/local.(*Local).context(0xc0000fa410, 0xc000294620, 0x1, 0x1, 0x3, 0xc00074a4e0, 0x1, 0x3, 0x0)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/backend/local/backend_local.go:53 +0x4c4
github.com/hashicorp/terraform/backend/local.(*Local).opApply(0xc0000fa410, 0x2ee9060, 0xc00026e7c0, 0x2ee9060, 0xc00026e800, 0xc000294620, 0xc00026e780)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/backend/local/backend_apply.go:53 +0x302
github.com/hashicorp/terraform/backend/local.(*Local).Operation.func1(0xc00049b4d0, 0xc00049b4e0, 0xc00049b4f0, 0xc000294620, 0xc0000fa410, 0xc00026e780, 0xc00049b4c0, 0x2ee9060, 0xc00026e7c0, 0x2ee9060, ...)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/backend/local/backend.go:350 +0x1c0
created by github.com/hashicorp/terraform/backend/local.(*Local).Operation
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/backend/local/backend.go:334 +0x366
goroutine 135 [running]:
github.com/hashicorp/terraform/backend/remote.(*Remote).retryLogHook(0xc00011dd90, 0x1, 0x0)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/backend/remote/backend.go:492 +0x8d
github.com/hashicorp/go-tfe.(*Client).retryHTTPBackoff(0xc0004d0540, 0x5f5e100, 0x17d78400, 0x1, 0x0, 0xc00025c450)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/pkg/mod/github.com/hashicorp/go-tfe@v0.3.27/tfe.go:252 +0xd3
github.com/hashicorp/go-retryablehttp.(*Client).Do(0xc0001e79e0, 0xc000159fa0, 0xc0000c2070, 0x1, 0x0)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/pkg/mod/github.com/hashicorp/go-retryablehttp@v0.5.2/client.go:440 +0x1bf
github.com/hashicorp/go-tfe.(*Client).do(0xc0004d0540, 0x2ee90a0, 0xc0000c2070, 0xc000159fa0, 0x29e39e0, 0xc0002232f0, 0x0, 0x0)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/pkg/mod/github.com/hashicorp/go-tfe@v0.3.27/tfe.go:427 +0x174
github.com/hashicorp/go-tfe.(*stateVersions).Download(0xc00048a118, 0x2ee90a0, 0xc0000c2070, 0xc0006618c0, 0x220, 0xc0001da1c0, 0x0, 0x0, 0x58, 0x200)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/pkg/mod/github.com/hashicorp/go-tfe@v0.3.27/state_version.go:214 +0x1bb
github.com/hashicorp/terraform/backend/remote.(*remoteClient).Get(0xc000298880, 0xc0003b97d0, 0x10ecdea, 0x0)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/backend/remote/backend_state.go:38 +0x1f7
github.com/hashicorp/terraform/state/remote.(*State).refreshState(0xc000256190, 0xc0003b98e8, 0x10edce0)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/state/remote/state.go:95 +0x38
github.com/hashicorp/terraform/state/remote.(*State).RefreshState(0xc000256190, 0x0, 0x0)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/state/remote/state.go:88 +0x79
github.com/hashicorp/terraform/backend/local.(*Local).context(0xc0000c00d0, 0xc00023e700, 0x1, 0x1, 0x3, 0xc0002227e0, 0x1, 0x3, 0x33)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/backend/local/backend_local.go:53 +0x4c4
github.com/hashicorp/terraform/backend/local.(*Local).opApply(0xc0000c00d0, 0x2ee9060, 0xc0000bdac0, 0x2ee9060, 0xc0000bdc40, 0xc00023e700, 0xc0000bda80)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/backend/local/backend_apply.go:53 +0x302
github.com/hashicorp/terraform/backend/local.(*Local).Operation.func1(0xc000158d40, 0xc000158d50, 0xc000158d60, 0xc00023e700, 0xc0000c00d0, 0xc0000bda80, 0xc000158d30, 0x2ee9060, 0xc0000bdac0, 0x2ee9060, ...)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/backend/local/backend.go:350 +0x1c0
created by github.com/hashicorp/terraform/backend/local.(*Local).Operation
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/backend/local/backend.go:334 +0x366
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x1bf609d]
goroutine 135 [running]:
github.com/hashicorp/terraform/backend/remote.(*Remote).retryLogHook(0xc00011dd90, 0x1, 0x0)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/backend/remote/backend.go:492 +0x8d
github.com/hashicorp/go-tfe.(*Client).retryHTTPBackoff(0xc0004d0540, 0x5f5e100, 0x17d78400, 0x1, 0x0, 0xc00025c450)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/pkg/mod/github.com/hashicorp/go-tfe@v0.3.27/tfe.go:252 +0xd3
github.com/hashicorp/go-retryablehttp.(*Client).Do(0xc0001e79e0, 0xc000159fa0, 0xc0000c2070, 0x1, 0x0)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/pkg/mod/github.com/hashicorp/go-retryablehttp@v0.5.2/client.go:440 +0x1bf
github.com/hashicorp/go-tfe.(*Client).do(0xc0004d0540, 0x2ee90a0, 0xc0000c2070, 0xc000159fa0, 0x29e39e0, 0xc0002232f0, 0x0, 0x0)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/pkg/mod/github.com/hashicorp/go-tfe@v0.3.27/tfe.go:427 +0x174
github.com/hashicorp/go-tfe.(*stateVersions).Download(0xc00048a118, 0x2ee90a0, 0xc0000c2070, 0xc0006618c0, 0x220, 0xc0001da1c0, 0x0, 0x0, 0x58, 0x200)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/pkg/mod/github.com/hashicorp/go-tfe@v0.3.27/state_version.go:214 +0x1bb
github.com/hashicorp/terraform/backend/remote.(*remoteClient).Get(0xc000298880, 0xc0003b97d0, 0x10ecdea, 0x0)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/backend/remote/backend_state.go:38 +0x1f7
github.com/hashicorp/terraform/state/remote.(*State).refreshState(0xc000256190, 0xc0003b98e8, 0x10edce0)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/state/remote/state.go:95 +0x38
github.com/hashicorp/terraform/state/remote.(*State).RefreshState(0xc000256190, 0x0, 0x0)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/state/remote/state.go:88 +0x79
github.com/hashicorp/terraform/backend/local.(*Local).context(0xc0000c00d0, 0xc00023e700, 0x1, 0x1, 0x3, 0xc0002227e0, 0x1, 0x3, 0x33)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/backend/local/backend_local.go:53 +0x4c4
github.com/hashicorp/terraform/backend/local.(*Local).opApply(0xc0000c00d0, 0x2ee9060, 0xc0000bdac0, 0x2ee9060, 0xc0000bdc40, 0xc00023e700, 0xc0000bda80)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/backend/local/backend_apply.go:53 +0x302
github.com/hashicorp/terraform/backend/local.(*Local).Operation.func1(0xc000158d40, 0xc000158d50, 0xc000158d60, 0xc00023e700, 0xc0000c00d0, 0xc0000bda80, 0xc000158d30, 0x2ee9060, 0xc0000bdac0, 0x2ee9060, ...)
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/backend/local/backend.go:350 +0x1c0
created by github.com/hashicorp/terraform/backend/local.(*Local).Operation
/private/tmp/terraform-20200319-2773-d1flw8/terraform-0.12.24/src/github.com/hashicorp/terraform/backend/local/backend.go:334 +0x366
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment