Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error while calling terragrunt HCL location files from terratest Go script #42270

Closed
pandu-bhojaraj-mf opened this issue Oct 29, 2020 · 8 comments · Fixed by gruntwork-io/terratest#690

Comments

@pandu-bhojaraj-mf
Copy link

pandu-bhojaraj-mf commented Oct 29, 2020

go version go1.15.3 windows/amd64

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

Windows 10

$ go env

D:\vertica-terragrunt-US-286094-Modules\test>go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\PGayakwad\AppData\Local\go-build
set GOENV=C:\Users\PGayakwad\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=c:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=D:\vertica-terragrunt-US-286094-Modules\test\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\PGAYAK~1\AppData\Local\Temp\go-build017316006=/tmp/go-build -gno-record-gcc-switches

What did you do?

I ran below Go script from command line using "go test -v" command which shouldinvoke terragrunt script but giving error

package test

import (
"testing"

"github.com/gruntwork-io/terratest/modules/terraform"

)

func TestTerraformAwsHelloWorldExample(t *testing.T) {
t.Parallel()

terraformOptions := &terraform.Options{
	// The path to where our Terraform code is located
	TerraformDir: "D:/vertica-terragrunt-US-286094-Modules/with-infra",
}

terraform.TgApplyAll(t, terraformOptions)

}

What did you expect to see?

Positive output without any error

What did you see instead?

D:\vertica-terragrunt-US-286094-Modules\test>go test -v
go: finding module for package github.com/gruntwork-io/terratest/modules/terraform
go: found github.com/gruntwork-io/terratest/modules/terraform in github.com/gruntwork-io/terratest v0.30.15
=== RUN TestTerraformAwsHelloWorldExample
=== PAUSE TestTerraformAwsHelloWorldExample
=== CONT TestTerraformAwsHelloWorldExample
runtime: goroutine stack exceeds 1000000000-byte limit
runtime: sp=0xc020161408 stack=[0xc020160000, 0xc040160000]
fatal error: stack overflow

runtime stack:
runtime.throw(0x3bc520, 0xe)
c:/go/src/runtime/panic.go:1116 +0x79
runtime.newstack()
c:/go/src/runtime/stack.go:1067 +0x791
runtime.morestack()
c:/go/src/runtime/asm_amd64.s:449 +0x97

goroutine 6 [running]:
runtime.heapBitsSetType(0xc007809930, 0xd0, 0xc8, 0x3aac60)
c:/go/src/runtime/mbitmap.go:911 +0xb25 fp=0xc020161418 sp=0xc020161410 pc=0x167dc5
runtime.mallocgc(0xd0, 0x3aac60, 0x1, 0x0)
c:/go/src/runtime/malloc.go:1090 +0x5ee fp=0xc0201614b8 sp=0xc020161418 pc=0x15e5ce
runtime.newobject(0x3aac60, 0x0)
c:/go/src/runtime/malloc.go:1195 +0x3f fp=0xc0201614e8 sp=0xc0201614b8 pc=0x15ed3f
fmt.glob..func1(0x540d20, 0x3)
c:/go/src/fmt/print.go:132 +0x34 fp=0xc020161508 sp=0xc0201614e8 pc=0x233414
sync.(*Pool).Get(0x540d20, 0x0, 0x0)
c:/go/src/sync/pool.go:148 +0xb1 fp=0xc020161550 sp=0xc020161508 pc=0x1cbe31
fmt.newPrinter(0x0)
c:/go/src/fmt/print.go:137 +0x38 fp=0xc020161578 sp=0xc020161550 pc=0x22aaf8
fmt.Sprintf(0x3c9c0f, 0x58, 0xc020161608, 0x1, 0x1, 0x381500, 0x188cdd)
c:/go/src/fmt/print.go:218 +0x2d fp=0xc0201615d0 sp=0xc020161578 pc=0x22b10d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x57fe40, 0x378c20, 0x57fe40)
:1 +0xb1 fp=0xc020161628 sp=0xc0201615d0 pc=0x354e91
fmt.(*pp).handleMethods(0xc007809860, 0x73, 0xc020161901)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020161898 sp=0xc020161628 pc=0x22e1eb
fmt.(*pp).printArg(0xc007809860, 0x378c20, 0x57fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020161930 sp=0xc020161898 pc=0x22e8f6
fmt.(*pp).doPrintf(0xc007809860, 0x3c9c0f, 0x58, 0xc020161aa8, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020161a18 sp=0xc020161930 pc=0x231fa8
fmt.Sprintf(0x3c9c0f, 0x58, 0xc020161aa8, 0x1, 0x1, 0x381500, 0x188cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020161a70 sp=0xc020161a18 pc=0x22b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x57fe40, 0x378c20, 0x57fe40)
:1 +0xb1 fp=0xc020161ac8 sp=0xc020161a70 pc=0x354e91
fmt.(*pp).handleMethods(0xc007809790, 0x73, 0xc020161d01)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020161d38 sp=0xc020161ac8 pc=0x22e1eb
fmt.(*pp).printArg(0xc007809790, 0x378c20, 0x57fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020161dd0 sp=0xc020161d38 pc=0x22e8f6
fmt.(*pp).doPrintf(0xc007809790, 0x3c9c0f, 0x58, 0xc020161f48, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020161eb8 sp=0xc020161dd0 pc=0x231fa8
fmt.Sprintf(0x3c9c0f, 0x58, 0xc020161f48, 0x1, 0x1, 0x381500, 0x188cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020161f10 sp=0xc020161eb8 pc=0x22b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x57fe40, 0x378c20, 0x57fe40)
:1 +0xb1 fp=0xc020161f68 sp=0xc020161f10 pc=0x354e91
fmt.(*pp).handleMethods(0xc0078096c0, 0x73, 0xc020162201)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc0201621d8 sp=0xc020161f68 pc=0x22e1eb
fmt.(*pp).printArg(0xc0078096c0, 0x378c20, 0x57fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020162270 sp=0xc0201621d8 pc=0x22e8f6
fmt.(*pp).doPrintf(0xc0078096c0, 0x3c9c0f, 0x58, 0xc0201623e8, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020162358 sp=0xc020162270 pc=0x231fa8
fmt.Sprintf(0x3c9c0f, 0x58, 0xc0201623e8, 0x1, 0x1, 0x381500, 0x188cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc0201623b0 sp=0xc020162358 pc=0x22b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x57fe40, 0x378c20, 0x57fe40)
:1 +0xb1 fp=0xc020162408 sp=0xc0201623b0 pc=0x354e91
fmt.(*pp).handleMethods(0xc0078095f0, 0x73, 0xc020162701)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020162678 sp=0xc020162408 pc=0x22e1eb
fmt.(*pp).printArg(0xc0078095f0, 0x378c20, 0x57fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020162710 sp=0xc020162678 pc=0x22e8f6
fmt.(*pp).doPrintf(0xc0078095f0, 0x3c9c0f, 0x58, 0xc020162888, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc0201627f8 sp=0xc020162710 pc=0x231fa8
fmt.Sprintf(0x3c9c0f, 0x58, 0xc020162888, 0x1, 0x1, 0x381500, 0x188cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020162850 sp=0xc0201627f8 pc=0x22b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x57fe40, 0x378c20, 0x57fe40)
:1 +0xb1 fp=0xc0201628a8 sp=0xc020162850 pc=0x354e91
fmt.(*pp).handleMethods(0xc007809520, 0x73, 0xc020162b01)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020162b18 sp=0xc0201628a8 pc=0x22e1eb
fmt.(*pp).printArg(0xc007809520, 0x378c20, 0x57fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020162bb0 sp=0xc020162b18 pc=0x22e8f6
fmt.(*pp).doPrintf(0xc007809520, 0x3c9c0f, 0x58, 0xc020162d28, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020162c98 sp=0xc020162bb0 pc=0x231fa8
fmt.Sprintf(0x3c9c0f, 0x58, 0xc020162d28, 0x1, 0x1, 0x381500, 0x188cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020162cf0 sp=0xc020162c98 pc=0x22b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x57fe40, 0x378c20, 0x57fe40)
:1 +0xb1 fp=0xc020162d48 sp=0xc020162cf0 pc=0x354e91
fmt.(*pp).handleMethods(0xc007809450, 0x73, 0xc020163001)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020162fb8 sp=0xc020162d48 pc=0x22e1eb
fmt.(*pp).printArg(0xc007809450, 0x378c20, 0x57fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020163050 sp=0xc020162fb8 pc=0x22e8f6
fmt.(*pp).doPrintf(0xc007809450, 0x3c9c0f, 0x58, 0xc0201631c8, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020163138 sp=0xc020163050 pc=0x231fa8
fmt.Sprintf(0x3c9c0f, 0x58, 0xc0201631c8, 0x1, 0x1, 0x381500, 0x188cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020163190 sp=0xc020163138 pc=0x22b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x57fe40, 0x378c20, 0x57fe40)
:1 +0xb1 fp=0xc0201631e8 sp=0xc020163190 pc=0x354e91
fmt.(*pp).handleMethods(0xc007809380, 0x73, 0xc020163501)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020163458 sp=0xc0201631e8 pc=0x22e1eb
fmt.(*pp).printArg(0xc007809380, 0x378c20, 0x57fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc0201634f0 sp=0xc020163458 pc=0x22e8f6
fmt.(*pp).doPrintf(0xc007809380, 0x3c9c0f, 0x58, 0xc020163668, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc0201635d8 sp=0xc0201634f0 pc=0x231fa8
fmt.Sprintf(0x3c9c0f, 0x58, 0xc020163668, 0x1, 0x1, 0x381500, 0x188cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020163630 sp=0xc0201635d8 pc=0x22b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x57fe40, 0x378c20, 0x57fe40)
:1 +0xb1 fp=0xc020163688 sp=0xc020163630 pc=0x354e91
fmt.(*pp).handleMethods(0xc0078092b0, 0x73, 0xc020163901)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc0201638f8 sp=0xc020163688 pc=0x22e1eb
fmt.(*pp).printArg(0xc0078092b0, 0x378c20, 0x57fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020163990 sp=0xc0201638f8 pc=0x22e8f6
fmt.(*pp).doPrintf(0xc0078092b0, 0x3c9c0f, 0x58, 0xc020163b08, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020163a78 sp=0xc020163990 pc=0x231fa8
fmt.Sprintf(0x3c9c0f, 0x58, 0xc020163b08, 0x1, 0x1, 0x381500, 0x188cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020163ad0 sp=0xc020163a78 pc=0x22b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x57fe40, 0x378c20, 0x57fe40)
:1 +0xb1 fp=0xc020163b28 sp=0xc020163ad0 pc=0x354e91
fmt.(*pp).handleMethods(0xc0078091e0, 0x73, 0xc020163e01)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020163d98 sp=0xc020163b28 pc=0x22e1eb
fmt.(*pp).printArg(0xc0078091e0, 0x378c20, 0x57fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020163e30 sp=0xc020163d98 pc=0x22e8f6
fmt.(*pp).doPrintf(0xc0078091e0, 0x3c9c0f, 0x58, 0xc020163fa8, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020163f18 sp=0xc020163e30 pc=0x231fa8
fmt.Sprintf(0x3c9c0f, 0x58, 0xc020163fa8, 0x1, 0x1, 0x381500, 0x188cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020163f70 sp=0xc020163f18 pc=0x22b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x57fe40, 0x378c20, 0x57fe40)
:1 +0xb1 fp=0xc020163fc8 sp=0xc020163f70 pc=0x354e91
fmt.(*pp).handleMethods(0xc007809110, 0x73, 0xc020164201)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020164238 sp=0xc020163fc8 pc=0x22e1eb
fmt.(*pp).printArg(0xc007809110, 0x378c20, 0x57fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc0201642d0 sp=0xc020164238 pc=0x22e8f6
fmt.(*pp).doPrintf(0xc007809110, 0x3c9c0f, 0x58, 0xc020164448, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc0201643b8 sp=0xc0201642d0 pc=0x231fa8
fmt.Sprintf(0x3c9c0f, 0x58, 0xc020164448, 0x1, 0x1, 0x381500, 0x188cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020164410 sp=0xc0201643b8 pc=0x22b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x57fe40, 0x378c20, 0x57fe40)
:1 +0xb1 fp=0xc020164468 sp=0xc020164410 pc=0x354e91
fmt.(*pp).handleMethods(0xc007809040, 0x73, 0xc020164701)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc0201646d8 sp=0xc020164468 pc=0x22e1eb
fmt.(*pp).printArg(0xc007809040, 0x378c20, 0x57fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020164770 sp=0xc0201646d8 pc=0x22e8f6
fmt.(*pp).doPrintf(0xc007809040, 0x3c9c0f, 0x58, 0xc0201648e8, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020164858 sp=0xc020164770 pc=0x231fa8
fmt.Sprintf(0x3c9c0f, 0x58, 0xc0201648e8, 0x1, 0x1, 0x381500, 0x188cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc0201648b0 sp=0xc020164858 pc=0x22b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x57fe40, 0x378c20, 0x57fe40)
:1 +0xb1 fp=0xc020164908 sp=0xc0201648b0 pc=0x354e91
fmt.(*pp).handleMethods(0xc007808f70, 0x73, 0xc020164c01)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020164b78 sp=0xc020164908 pc=0x22e1eb
fmt.(*pp).printArg(0xc007808f70, 0x378c20, 0x57fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020164c10 sp=0xc020164b78 pc=0x22e8f6
fmt.(*pp).doPrintf(0xc007808f70, 0x3c9c0f, 0x58, 0xc020164d88, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020164cf8 sp=0xc020164c10 pc=0x231fa8
fmt.Sprintf(0x3c9c0f, 0x58, 0xc020164d88, 0x1, 0x1, 0x381500, 0x188cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020164d50 sp=0xc020164cf8 pc=0x22b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x57fe40, 0x378c20, 0x57fe40)
:1 +0xb1 fp=0xc020164da8 sp=0xc020164d50 pc=0x354e91
fmt.(*pp).handleMethods(0xc007808ea0, 0x73, 0xc020165001)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020165018 sp=0xc020164da8 pc=0x22e1eb
fmt.(*pp).printArg(0xc007808ea0, 0x378c20, 0x57fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc0201650b0 sp=0xc020165018 pc=0x22e8f6
fmt.(*pp).doPrintf(0xc007808ea0, 0x3c9c0f, 0x58, 0xc020165228, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020165198 sp=0xc0201650b0 pc=0x231fa8
fmt.Sprintf(0x3c9c0f, 0x58, 0xc020165228, 0x1, 0x1, 0x381500, 0x188cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc0201651f0 sp=0xc020165198 pc=0x22b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x57fe40, 0x378c20, 0x57fe40)
:1 +0xb1 fp=0xc020165248 sp=0xc0201651f0 pc=0x354e91
fmt.(*pp).handleMethods(0xc007808dd0, 0x73, 0xc020165501)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc0201654b8 sp=0xc020165248 pc=0x22e1eb
fmt.(*pp).printArg(0xc007808dd0, 0x378c20, 0x57fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020165550 sp=0xc0201654b8 pc=0x22e8f6
fmt.(*pp).doPrintf(0xc007808dd0, 0x3c9c0f, 0x58, 0xc0201656c8, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020165638 sp=0xc020165550 pc=0x231fa8
fmt.Sprintf(0x3c9c0f, 0x58, 0xc0201656c8, 0x1, 0x1, 0x381500, 0x188cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020165690 sp=0xc020165638 pc=0x22b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x57fe40, 0x378c20, 0x57fe40)
:1 +0xb1 fp=0xc0201656e8 sp=0xc020165690 pc=0x354e91
fmt.(*pp).handleMethods(0xc007808d00, 0x73, 0xc020165a01)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020165958 sp=0xc0201656e8 pc=0x22e1eb
fmt.(*pp).printArg(0xc007808d00, 0x378c20, 0x57fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc0201659f0 sp=0xc020165958 pc=0x22e8f6
fmt.(*pp).doPrintf(0xc007808d00, 0x3c9c0f, 0x58, 0xc020165b68, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020165ad8 sp=0xc0201659f0 pc=0x231fa8
fmt.Sprintf(0x3c9c0f, 0x58, 0xc020165b68, 0x1, 0x1, 0x381500, 0x188cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020165b30 sp=0xc020165ad8 pc=0x22b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x57fe40, 0x378c20, 0x57fe40)
:1 +0xb1 fp=0xc020165b88 sp=0xc020165b30 pc=0x354e91
fmt.(*pp).handleMethods(0xc007808c30, 0x73, 0xc020165e01)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020165df8 sp=0xc020165b88 pc=0x22e1eb
fmt.(*pp).printArg(0xc007808c30, 0x378c20, 0x57fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020165e90 sp=0xc020165df8 pc=0x22e8f6
fmt.(*pp).doPrintf(0xc007808c30, 0x3c9c0f, 0x58, 0xc020166008, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020165f78 sp=0xc020165e90 pc=0x231fa8
fmt.Sprintf(0x3c9c0f, 0x58, 0xc020166008, 0x1, 0x1, 0x381500, 0x188cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020165fd0 sp=0xc020165f78 pc=0x22b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x57fe40, 0x378c20, 0x57fe40)
:1 +0xb1 fp=0xc020166028 sp=0xc020165fd0 pc=0x354e91
fmt.(*pp).handleMethods(0xc007808b60, 0x73, 0xc020166301)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020166298 sp=0xc020166028 pc=0x22e1eb
fmt.(*pp).printArg(0xc007808b60, 0x378c20, 0x57fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020166330 sp=0xc020166298 pc=0x22e8f6
fmt.(*pp).doPrintf(0xc007808b60, 0x3c9c0f, 0x58, 0xc0201664a8, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020166418 sp=0xc020166330 pc=0x231fa8
fmt.Sprintf(0x3c9c0f, 0x58, 0xc0201664a8, 0x1, 0x1, 0x381500, 0x188cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020166470 sp=0xc020166418 pc=0x22b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x57fe40, 0x378c20, 0x57fe40)
:1 +0xb1 fp=0xc0201664c8 sp=0xc020166470 pc=0x354e91
fmt.(*pp).handleMethods(0xc007808a90, 0x73, 0xc020166701)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020166738 sp=0xc0201664c8 pc=0x22e1eb
fmt.(*pp).printArg(0xc007808a90, 0x378c20, 0x57fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc0201667d0 sp=0xc020166738 pc=0x22e8f6
fmt.(*pp).doPrintf(0xc007808a90, 0x3c9c0f, 0x58, 0xc020166948, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc0201668b8 sp=0xc0201667d0 pc=0x231fa8
fmt.Sprintf(0x3c9c0f, 0x58, 0xc020166948, 0x1, 0x1, 0x381500, 0x188cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020166910 sp=0xc0201668b8 pc=0x22b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x57fe40, 0x378c20, 0x57fe40)
:1 +0xb1 fp=0xc020166968 sp=0xc020166910 pc=0x354e91
fmt.(*pp).handleMethods(0xc0078089c0, 0x73, 0xc020166c01)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020166bd8 sp=0xc020166968 pc=0x22e1eb
fmt.(*pp).printArg(0xc0078089c0, 0x378c20, 0x57fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020166c70 sp=0xc020166bd8 pc=0x22e8f6
created by testing.(*T).Run
c:/go/src/testing/testing.go:1168 +0x2b3

goroutine 1 [chan receive]:
testing.tRunner.func1(0xc000020f00)
c:/go/src/testing/testing.go:1088 +0x26b
testing.tRunner(0xc000020f00, 0xc000069de0)
c:/go/src/testing/testing.go:1127 +0x125
testing.runTests(0xc000005220, 0x540430, 0x1, 0x1, 0xbfdec0c21a840f5c, 0x8bb343d3a5, 0x54ab40, 0x15e370)
c:/go/src/testing/testing.go:1437 +0x310
testing.(*M).Run(0xc000132080, 0x0)
c:/go/src/testing/testing.go:1345 +0x1f5
main.main()
_testmain.go:43 +0x145

goroutine 7 [chan receive]:
testing.runTests.func1.1(0xc000020f00)
c:/go/src/testing/testing.go:1444 +0x45
created by testing.runTests.func1
c:/go/src/testing/testing.go:1444 +0xb3
exit status 2
FAIL terraform_aws_hello_world_example_test.go 8.532s

D:\vertica-terragrunt-US-286094-Modules\test>go test -v
=== RUN TestTerraformAwsHelloWorldExample
=== PAUSE TestTerraformAwsHelloWorldExample
=== CONT TestTerraformAwsHelloWorldExample
runtime: goroutine stack exceeds 1000000000-byte limit
runtime: sp=0xc020161408 stack=[0xc020160000, 0xc040160000]
fatal error: stack overflow

runtime stack:
runtime.throw(0x13dc520, 0xe)
c:/go/src/runtime/panic.go:1116 +0x79
runtime.newstack()
c:/go/src/runtime/stack.go:1067 +0x791
runtime.morestack()
c:/go/src/runtime/asm_amd64.s:449 +0x97

goroutine 6 [running]:
runtime.heapBitsSetType(0xc007de1ad0, 0xd0, 0xc8, 0x13cac60)
c:/go/src/runtime/mbitmap.go:911 +0xb25 fp=0xc020161418 sp=0xc020161410 pc=0x1187dc5
runtime.mallocgc(0xd0, 0x13cac60, 0x1, 0x0)
c:/go/src/runtime/malloc.go:1090 +0x5ee fp=0xc0201614b8 sp=0xc020161418 pc=0x117e5ce
runtime.newobject(0x13cac60, 0x0)
c:/go/src/runtime/malloc.go:1195 +0x3f fp=0xc0201614e8 sp=0xc0201614b8 pc=0x117ed3f
fmt.glob..func1(0x1560d20, 0x0)
c:/go/src/fmt/print.go:132 +0x34 fp=0xc020161508 sp=0xc0201614e8 pc=0x1253414
sync.(*Pool).Get(0x1560d20, 0x0, 0x0)
c:/go/src/sync/pool.go:148 +0xb1 fp=0xc020161550 sp=0xc020161508 pc=0x11ebe31
fmt.newPrinter(0x0)
c:/go/src/fmt/print.go:137 +0x38 fp=0xc020161578 sp=0xc020161550 pc=0x124aaf8
fmt.Sprintf(0x13e9c0f, 0x58, 0xc020161608, 0x1, 0x1, 0x13a1500, 0x11a8cdd)
c:/go/src/fmt/print.go:218 +0x2d fp=0xc0201615d0 sp=0xc020161578 pc=0x124b10d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x159fe40, 0x1398c20, 0x159fe40)
:1 +0xb1 fp=0xc020161628 sp=0xc0201615d0 pc=0x1374e91
fmt.(*pp).handleMethods(0xc007de1a00, 0x73, 0xc020161901)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020161898 sp=0xc020161628 pc=0x124e1eb
fmt.(*pp).printArg(0xc007de1a00, 0x1398c20, 0x159fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020161930 sp=0xc020161898 pc=0x124e8f6
fmt.(*pp).doPrintf(0xc007de1a00, 0x13e9c0f, 0x58, 0xc020161aa8, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020161a18 sp=0xc020161930 pc=0x1251fa8
fmt.Sprintf(0x13e9c0f, 0x58, 0xc020161aa8, 0x1, 0x1, 0x13a1500, 0x11a8cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020161a70 sp=0xc020161a18 pc=0x124b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x159fe40, 0x1398c20, 0x159fe40)
:1 +0xb1 fp=0xc020161ac8 sp=0xc020161a70 pc=0x1374e91
fmt.(*pp).handleMethods(0xc007de1930, 0x73, 0xc020161d01)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020161d38 sp=0xc020161ac8 pc=0x124e1eb
fmt.(*pp).printArg(0xc007de1930, 0x1398c20, 0x159fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020161dd0 sp=0xc020161d38 pc=0x124e8f6
fmt.(*pp).doPrintf(0xc007de1930, 0x13e9c0f, 0x58, 0xc020161f48, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020161eb8 sp=0xc020161dd0 pc=0x1251fa8
fmt.Sprintf(0x13e9c0f, 0x58, 0xc020161f48, 0x1, 0x1, 0x13a1500, 0x11a8cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020161f10 sp=0xc020161eb8 pc=0x124b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x159fe40, 0x1398c20, 0x159fe40)
:1 +0xb1 fp=0xc020161f68 sp=0xc020161f10 pc=0x1374e91
fmt.(*pp).handleMethods(0xc007de1860, 0x73, 0xc020162201)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc0201621d8 sp=0xc020161f68 pc=0x124e1eb
fmt.(*pp).printArg(0xc007de1860, 0x1398c20, 0x159fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020162270 sp=0xc0201621d8 pc=0x124e8f6
fmt.(*pp).doPrintf(0xc007de1860, 0x13e9c0f, 0x58, 0xc0201623e8, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020162358 sp=0xc020162270 pc=0x1251fa8
fmt.Sprintf(0x13e9c0f, 0x58, 0xc0201623e8, 0x1, 0x1, 0x13a1500, 0x11a8cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc0201623b0 sp=0xc020162358 pc=0x124b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x159fe40, 0x1398c20, 0x159fe40)
:1 +0xb1 fp=0xc020162408 sp=0xc0201623b0 pc=0x1374e91
fmt.(*pp).handleMethods(0xc007de1790, 0x73, 0xc020162701)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020162678 sp=0xc020162408 pc=0x124e1eb
fmt.(*pp).printArg(0xc007de1790, 0x1398c20, 0x159fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020162710 sp=0xc020162678 pc=0x124e8f6
fmt.(*pp).doPrintf(0xc007de1790, 0x13e9c0f, 0x58, 0xc020162888, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc0201627f8 sp=0xc020162710 pc=0x1251fa8
fmt.Sprintf(0x13e9c0f, 0x58, 0xc020162888, 0x1, 0x1, 0x13a1500, 0x11a8cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020162850 sp=0xc0201627f8 pc=0x124b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x159fe40, 0x1398c20, 0x159fe40)
:1 +0xb1 fp=0xc0201628a8 sp=0xc020162850 pc=0x1374e91
fmt.(*pp).handleMethods(0xc007de16c0, 0x73, 0xc020162b01)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020162b18 sp=0xc0201628a8 pc=0x124e1eb
fmt.(*pp).printArg(0xc007de16c0, 0x1398c20, 0x159fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020162bb0 sp=0xc020162b18 pc=0x124e8f6
fmt.(*pp).doPrintf(0xc007de16c0, 0x13e9c0f, 0x58, 0xc020162d28, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020162c98 sp=0xc020162bb0 pc=0x1251fa8
fmt.Sprintf(0x13e9c0f, 0x58, 0xc020162d28, 0x1, 0x1, 0x13a1500, 0x11a8cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020162cf0 sp=0xc020162c98 pc=0x124b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x159fe40, 0x1398c20, 0x159fe40)
:1 +0xb1 fp=0xc020162d48 sp=0xc020162cf0 pc=0x1374e91
fmt.(*pp).handleMethods(0xc007de15f0, 0x73, 0xc020163001)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020162fb8 sp=0xc020162d48 pc=0x124e1eb
fmt.(*pp).printArg(0xc007de15f0, 0x1398c20, 0x159fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020163050 sp=0xc020162fb8 pc=0x124e8f6
fmt.(*pp).doPrintf(0xc007de15f0, 0x13e9c0f, 0x58, 0xc0201631c8, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020163138 sp=0xc020163050 pc=0x1251fa8
fmt.Sprintf(0x13e9c0f, 0x58, 0xc0201631c8, 0x1, 0x1, 0x13a1500, 0x11a8cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020163190 sp=0xc020163138 pc=0x124b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x159fe40, 0x1398c20, 0x159fe40)
:1 +0xb1 fp=0xc0201631e8 sp=0xc020163190 pc=0x1374e91
fmt.(*pp).handleMethods(0xc007de1520, 0x73, 0xc020163501)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020163458 sp=0xc0201631e8 pc=0x124e1eb
fmt.(*pp).printArg(0xc007de1520, 0x1398c20, 0x159fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc0201634f0 sp=0xc020163458 pc=0x124e8f6
fmt.(*pp).doPrintf(0xc007de1520, 0x13e9c0f, 0x58, 0xc020163668, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc0201635d8 sp=0xc0201634f0 pc=0x1251fa8
fmt.Sprintf(0x13e9c0f, 0x58, 0xc020163668, 0x1, 0x1, 0x13a1500, 0x11a8cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020163630 sp=0xc0201635d8 pc=0x124b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x159fe40, 0x1398c20, 0x159fe40)
:1 +0xb1 fp=0xc020163688 sp=0xc020163630 pc=0x1374e91
fmt.(*pp).handleMethods(0xc007de1450, 0x73, 0xc020163901)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc0201638f8 sp=0xc020163688 pc=0x124e1eb
fmt.(*pp).printArg(0xc007de1450, 0x1398c20, 0x159fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020163990 sp=0xc0201638f8 pc=0x124e8f6
fmt.(*pp).doPrintf(0xc007de1450, 0x13e9c0f, 0x58, 0xc020163b08, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020163a78 sp=0xc020163990 pc=0x1251fa8
fmt.Sprintf(0x13e9c0f, 0x58, 0xc020163b08, 0x1, 0x1, 0x13a1500, 0x11a8cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020163ad0 sp=0xc020163a78 pc=0x124b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x159fe40, 0x1398c20, 0x159fe40)
:1 +0xb1 fp=0xc020163b28 sp=0xc020163ad0 pc=0x1374e91
fmt.(*pp).handleMethods(0xc007de1380, 0x73, 0xc020163e01)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020163d98 sp=0xc020163b28 pc=0x124e1eb
fmt.(*pp).printArg(0xc007de1380, 0x1398c20, 0x159fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020163e30 sp=0xc020163d98 pc=0x124e8f6
fmt.(*pp).doPrintf(0xc007de1380, 0x13e9c0f, 0x58, 0xc020163fa8, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020163f18 sp=0xc020163e30 pc=0x1251fa8
fmt.Sprintf(0x13e9c0f, 0x58, 0xc020163fa8, 0x1, 0x1, 0x13a1500, 0x11a8cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020163f70 sp=0xc020163f18 pc=0x124b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x159fe40, 0x1398c20, 0x159fe40)
:1 +0xb1 fp=0xc020163fc8 sp=0xc020163f70 pc=0x1374e91
fmt.(*pp).handleMethods(0xc007de12b0, 0x73, 0xc020164201)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020164238 sp=0xc020163fc8 pc=0x124e1eb
fmt.(*pp).printArg(0xc007de12b0, 0x1398c20, 0x159fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc0201642d0 sp=0xc020164238 pc=0x124e8f6
fmt.(*pp).doPrintf(0xc007de12b0, 0x13e9c0f, 0x58, 0xc020164448, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc0201643b8 sp=0xc0201642d0 pc=0x1251fa8
fmt.Sprintf(0x13e9c0f, 0x58, 0xc020164448, 0x1, 0x1, 0x13a1500, 0x11a8cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020164410 sp=0xc0201643b8 pc=0x124b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x159fe40, 0x1398c20, 0x159fe40)
:1 +0xb1 fp=0xc020164468 sp=0xc020164410 pc=0x1374e91
fmt.(*pp).handleMethods(0xc007de11e0, 0x73, 0xc020164701)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc0201646d8 sp=0xc020164468 pc=0x124e1eb
fmt.(*pp).printArg(0xc007de11e0, 0x1398c20, 0x159fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020164770 sp=0xc0201646d8 pc=0x124e8f6
fmt.(*pp).doPrintf(0xc007de11e0, 0x13e9c0f, 0x58, 0xc0201648e8, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020164858 sp=0xc020164770 pc=0x1251fa8
fmt.Sprintf(0x13e9c0f, 0x58, 0xc0201648e8, 0x1, 0x1, 0x13a1500, 0x11a8cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc0201648b0 sp=0xc020164858 pc=0x124b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x159fe40, 0x1398c20, 0x159fe40)
:1 +0xb1 fp=0xc020164908 sp=0xc0201648b0 pc=0x1374e91
fmt.(*pp).handleMethods(0xc007de1110, 0x73, 0xc020164c01)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020164b78 sp=0xc020164908 pc=0x124e1eb
fmt.(*pp).printArg(0xc007de1110, 0x1398c20, 0x159fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020164c10 sp=0xc020164b78 pc=0x124e8f6
fmt.(*pp).doPrintf(0xc007de1110, 0x13e9c0f, 0x58, 0xc020164d88, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020164cf8 sp=0xc020164c10 pc=0x1251fa8
fmt.Sprintf(0x13e9c0f, 0x58, 0xc020164d88, 0x1, 0x1, 0x13a1500, 0x11a8cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020164d50 sp=0xc020164cf8 pc=0x124b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x159fe40, 0x1398c20, 0x159fe40)
:1 +0xb1 fp=0xc020164da8 sp=0xc020164d50 pc=0x1374e91
fmt.(*pp).handleMethods(0xc007de1040, 0x73, 0xc020165001)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020165018 sp=0xc020164da8 pc=0x124e1eb
fmt.(*pp).printArg(0xc007de1040, 0x1398c20, 0x159fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc0201650b0 sp=0xc020165018 pc=0x124e8f6
fmt.(*pp).doPrintf(0xc007de1040, 0x13e9c0f, 0x58, 0xc020165228, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020165198 sp=0xc0201650b0 pc=0x1251fa8
fmt.Sprintf(0x13e9c0f, 0x58, 0xc020165228, 0x1, 0x1, 0x13a1500, 0x11a8cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc0201651f0 sp=0xc020165198 pc=0x124b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x159fe40, 0x1398c20, 0x159fe40)
:1 +0xb1 fp=0xc020165248 sp=0xc0201651f0 pc=0x1374e91
fmt.(*pp).handleMethods(0xc007de0f70, 0x73, 0xc020165501)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc0201654b8 sp=0xc020165248 pc=0x124e1eb
fmt.(*pp).printArg(0xc007de0f70, 0x1398c20, 0x159fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020165550 sp=0xc0201654b8 pc=0x124e8f6
fmt.(*pp).doPrintf(0xc007de0f70, 0x13e9c0f, 0x58, 0xc0201656c8, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020165638 sp=0xc020165550 pc=0x1251fa8
fmt.Sprintf(0x13e9c0f, 0x58, 0xc0201656c8, 0x1, 0x1, 0x13a1500, 0x11a8cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020165690 sp=0xc020165638 pc=0x124b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x159fe40, 0x1398c20, 0x159fe40)
:1 +0xb1 fp=0xc0201656e8 sp=0xc020165690 pc=0x1374e91
fmt.(*pp).handleMethods(0xc007de0ea0, 0x73, 0xc020165a01)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020165958 sp=0xc0201656e8 pc=0x124e1eb
fmt.(*pp).printArg(0xc007de0ea0, 0x1398c20, 0x159fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc0201659f0 sp=0xc020165958 pc=0x124e8f6
fmt.(*pp).doPrintf(0xc007de0ea0, 0x13e9c0f, 0x58, 0xc020165b68, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020165ad8 sp=0xc0201659f0 pc=0x1251fa8
fmt.Sprintf(0x13e9c0f, 0x58, 0xc020165b68, 0x1, 0x1, 0x13a1500, 0x11a8cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020165b30 sp=0xc020165ad8 pc=0x124b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x159fe40, 0x1398c20, 0x159fe40)
:1 +0xb1 fp=0xc020165b88 sp=0xc020165b30 pc=0x1374e91
fmt.(*pp).handleMethods(0xc007de0dd0, 0x73, 0xc020165e01)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020165df8 sp=0xc020165b88 pc=0x124e1eb
fmt.(*pp).printArg(0xc007de0dd0, 0x1398c20, 0x159fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020165e90 sp=0xc020165df8 pc=0x124e8f6
fmt.(*pp).doPrintf(0xc007de0dd0, 0x13e9c0f, 0x58, 0xc020166008, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020165f78 sp=0xc020165e90 pc=0x1251fa8
fmt.Sprintf(0x13e9c0f, 0x58, 0xc020166008, 0x1, 0x1, 0x13a1500, 0x11a8cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020165fd0 sp=0xc020165f78 pc=0x124b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x159fe40, 0x1398c20, 0x159fe40)
:1 +0xb1 fp=0xc020166028 sp=0xc020165fd0 pc=0x1374e91
fmt.(*pp).handleMethods(0xc007de0d00, 0x73, 0xc020166301)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020166298 sp=0xc020166028 pc=0x124e1eb
fmt.(*pp).printArg(0xc007de0d00, 0x1398c20, 0x159fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020166330 sp=0xc020166298 pc=0x124e8f6
fmt.(*pp).doPrintf(0xc007de0d00, 0x13e9c0f, 0x58, 0xc0201664a8, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc020166418 sp=0xc020166330 pc=0x1251fa8
fmt.Sprintf(0x13e9c0f, 0x58, 0xc0201664a8, 0x1, 0x1, 0x13a1500, 0x11a8cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020166470 sp=0xc020166418 pc=0x124b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x159fe40, 0x1398c20, 0x159fe40)
:1 +0xb1 fp=0xc0201664c8 sp=0xc020166470 pc=0x1374e91
fmt.(*pp).handleMethods(0xc007de0c30, 0x73, 0xc020166701)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020166738 sp=0xc0201664c8 pc=0x124e1eb
fmt.(*pp).printArg(0xc007de0c30, 0x1398c20, 0x159fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc0201667d0 sp=0xc020166738 pc=0x124e8f6
fmt.(*pp).doPrintf(0xc007de0c30, 0x13e9c0f, 0x58, 0xc020166948, 0x1, 0x1)
c:/go/src/fmt/print.go:1030 +0x168 fp=0xc0201668b8 sp=0xc0201667d0 pc=0x1251fa8
fmt.Sprintf(0x13e9c0f, 0x58, 0xc020166948, 0x1, 0x1, 0x13a1500, 0x11a8cdd)
c:/go/src/fmt/print.go:219 +0x6d fp=0xc020166910 sp=0xc0201668b8 pc=0x124b14d
github.com/gruntwork-io/terratest/modules/terraform.TgInvalidBinary.Error(...)
c:/go/pkg/mod/github.com/gruntwork-io/terratest@v0.30.15/modules/terraform/errors.go:12
github.com/gruntwork-io/terratest/modules/terraform.(*TgInvalidBinary).Error(0x159fe40, 0x1398c20, 0x159fe40)
:1 +0xb1 fp=0xc020166968 sp=0xc020166910 pc=0x1374e91
fmt.(*pp).handleMethods(0xc007de0b60, 0x73, 0xc020166c01)
c:/go/src/fmt/print.go:624 +0x1eb fp=0xc020166bd8 sp=0xc020166968 pc=0x124e1eb
fmt.(*pp).printArg(0xc007de0b60, 0x1398c20, 0x159fe40, 0x73)
c:/go/src/fmt/print.go:713 +0x216 fp=0xc020166c70 sp=0xc020166bd8 pc=0x124e8f6
created by testing.(*T).Run
c:/go/src/testing/testing.go:1168 +0x2b3

goroutine 1 [chan receive]:
testing.tRunner.func1(0xc000020f00)
c:/go/src/testing/testing.go:1088 +0x26b
testing.tRunner(0xc000020f00, 0xc000069de0)
c:/go/src/testing/testing.go:1127 +0x125
testing.runTests(0xc000005220, 0x1560430, 0x1, 0x1, 0xbfdec37515f1db7c, 0x8bb3626ecd, 0x156ab40, 0x117e370)
c:/go/src/testing/testing.go:1437 +0x310
testing.(*M).Run(0xc000132080, 0x0)
c:/go/src/testing/testing.go:1345 +0x1f5
main.main()
_testmain.go:43 +0x145

goroutine 7 [chan receive]:
testing.runTests.func1.1(0xc000020f00)
c:/go/src/testing/testing.go:1444 +0x45
created by testing.runTests.func1
c:/go/src/testing/testing.go:1444 +0xb3
exit status 2
FAIL terraform_aws_hello_world_example_test.go 5.601s

@davecheney
Copy link
Contributor

Hello,

It looks like you’ve created a recursive loop while printing an error. This could be in your code, or the module you’re using. It’s hard to say because I cannot seem to find the source code of the program you said you included.

It is unlikely that this is an error in the Go project itself. It is more likely that the error is in the module you are using, or in the way you call it. In that case you’re best path for support is to contact the authors of that module.

@pandu-bhojaraj-mf
Copy link
Author

@davecheney

I got your point Thanks , But i am able to run that module manually without any issue just by passing "terragrunt apply-all" command but same is not happening from Go script

I need to now ,
Whether am i missing anything while calling terragrunt HCL scripts from terratest Go script because , I don't see any example programs any where

@davecheney
Copy link
Contributor

I’ve looked several times but I cannot find the program you mentioned in the issue text. I could be overlooking it. Would you be able to paste it again please.

@pandu-bhojaraj-mf
Copy link
Author

pandu-bhojaraj-mf commented Oct 29, 2020

@davecheney
Below is the code screen shot

image

@davecheney
Copy link
Contributor

Thank you. I think you should close this issue and open a new issue with the authors of the terraform module.

@pandu-bhojaraj-mf
Copy link
Author

I have to get help from somebody who have worked on scripting terratest(Go) with terragrunt(HCL)

Author of the module is our developer who have written terragrunt script which is running/working fine from terragrunt apply-all command so they won't help much

@davecheney
Copy link
Contributor

Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.

For asking questions, see:

@mvdan
Copy link
Member

mvdan commented Oct 29, 2020

What the others açready said.

@mvdan mvdan closed this as completed Oct 29, 2020
@golang golang locked and limited conversation to collaborators Oct 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants