Skip to content

Instantly share code, notes, and snippets.

@james-gonzalez
Last active November 2, 2016 08:12
Show Gist options
  • Save james-gonzalez/bcbda8d985e1618397df0678b2430757 to your computer and use it in GitHub Desktop.
Save james-gonzalez/bcbda8d985e1618397df0678b2430757 to your computer and use it in GitHub Desktop.
Terragrunt - fatal error: unexpected signal during runtime execution
fatal error: unexpected signal during runtime execution
fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0xc834da28 pc=0x68425]
runtime stack:
runtime/internal/atomic.Load64(0xc834da28, 0xc834da2d04ed)
/usr/local/go/src/runtime/internal/atomic/atomic_amd64x.go:26 +0x5
goroutine 22 [running]:
runtime.mapaccess1_faststr(0x446e00, 0xc820161710, 0xc82044a857, 0x7, 0x1)
/usr/local/go/src/runtime/hashmap_fast.go:193 fp=0xc820071748 sp=0xc820071740
net.readHosts()
/usr/local/go/src/net/hosts.go:89 +0xa7e fp=0xc8200719e0 sp=0xc820071748
net.lookupStaticHost(0xc820161590, 0x20, 0x0, 0x0, 0x0)
/usr/local/go/src/net/hosts.go:106 +0x7b fp=0xc820071a78 sp=0xc8200719e0
net.goLookupIPFiles(0xc820161590, 0x20, 0x0, 0x0, 0x0)
/usr/local/go/src/net/dnsclient_unix.go:420 +0x5c fp=0xc820071b88 sp=0xc820071a78
net.goLookupIPOrder(0xc820161590, 0x20, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/dnsclient_unix.go:439 +0x987 fp=0xc820071d48 sp=0xc820071b88
net.lookupIP(0xc820161590, 0x20, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/lookup_unix.go:73 +0x153 fp=0xc820071e08 sp=0xc820071d48
net.glob.func16(0x6c4970, 0xc820161590, 0x20, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/hook.go:10 +0x4d fp=0xc820071e48 sp=0xc820071e08
net.lookupIPDeadline.func1(0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/lookup.go:106 +0x71 fp=0xc820071ec8 sp=0xc820071e48
internal/singleflight.(*Group).doCall(0x893460, 0xc82009b270, 0xc820161590, 0x20, 0xc82015de20)
/usr/local/go/src/internal/singleflight/singleflight.go:93 +0x2c fp=0xc820071f78 sp=0xc820071ec8
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820071f80 sp=0xc820071f78
created by internal/singleflight.(*Group).DoChan
/usr/local/go/src/internal/singleflight/singleflight.go:86 +0x3ee
goroutine 1 [select]:
net/http.(*Transport).getConn(0xc8200ec000, 0xc8200ee460, 0x0, 0xc820161110, 0x5, 0xc820161590, 0x24, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:711 +0x4ef
net/http.(*Transport).RoundTrip(0xc8200ec000, 0xc8200ee460, 0xc8200ec000, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:311 +0x7e9
net/http.send(0xc8200ee460, 0xab2500, 0xc8200ec000, 0x0, 0x0, 0x0, 0xc8201614a0, 0x0, 0x0)
/usr/local/go/src/net/http/client.go:260 +0x6b7
net/http.(*Client).send(0x893f60, 0xc8200ee460, 0x0, 0x0, 0x0, 0x2ea89a, 0x0, 0x0)
/usr/local/go/src/net/http/client.go:155 +0x185
net/http.(*Client).doFollowingRedirects(0x893f60, 0xc8200ee460, 0x6c4ba0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/client.go:475 +0x8a4
net/http.(*Client).Do(0x893f60, 0xc8200ee460, 0x21b, 0x0, 0x0)
/usr/local/go/src/net/http/client.go:191 +0x1e4
github.com/gruntwork-io/terragrunt/vendor/github.com/aws/aws-sdk-go/aws/corehandlers.glob.func2(0xc820112700)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/vendor/github.com/aws/aws-sdk-go/aws/corehandlers/handlers.go:73 +0x55
github.com/gruntwork-io/terragrunt/vendor/github.com/aws/aws-sdk-go/aws/request.(*HandlerList).Run(0xc820112870, 0xc820112700)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/vendor/github.com/aws/aws-sdk-go/aws/request/handlers.go:136 +0xc3
github.com/gruntwork-io/terragrunt/vendor/github.com/aws/aws-sdk-go/aws/request.(*Request).Send(0xc820112700, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/vendor/github.com/aws/aws-sdk-go/aws/request/request.go:268 +0x560
github.com/gruntwork-io/terragrunt/vendor/github.com/aws/aws-sdk-go/service/dynamodb.(*DynamoDB).DescribeTable(0xc8200881a8, 0xc8200881b0, 0x8b1640, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/vendor/github.com/aws/aws-sdk-go/service/dynamodb/api.go:602 +0x4f
github.com/gruntwork-io/terragrunt/locks/dynamodb.lockTableExistsAndIsActive(0xc8200e4f21, 0x10, 0xc8200881a8, 0xc8200acc60, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/locks/dynamodb/dynamo_lock_table.go:30 +0xb9
github.com/gruntwork-io/terragrunt/locks/dynamodb.createLockTableIfNecessary(0xc8200e4f21, 0x10, 0xc8200881a8, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/locks/dynamodb/dynamo_lock_table.go:15 +0x5c
github.com/gruntwork-io/terragrunt/locks/dynamodb.DynamoDbLock.AcquireLock(0xc820077101, 0x33, 0xc82007ba41, 0x9, 0xc8200e4f21, 0x10, 0x168, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/locks/dynamodb/dynamo_lock.go:74 +0x192
github.com/gruntwork-io/terragrunt/locks/dynamodb.(*DynamoDbLock).AcquireLock(0xc8200773c0, 0x0, 0x0)
<autogenerated>:1 +0xa4
github.com/gruntwork-io/terragrunt/locks.WithLock(0xab2cf8, 0xc8200773c0, 0xc8201254a8, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/locks/lock.go:24 +0x55
github.com/gruntwork-io/terragrunt/cli.runTerraformCommandWithLock(0xc8200b0c80, 0xab2cf8, 0xc8200773c0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/cli/cli_app.go:172 +0x1fa
github.com/gruntwork-io/terragrunt/cli.runApp(0xc8200b0c80, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/cli/cli_app.go:114 +0x333
reflect.Value.call(0x46d5c0, 0x6c4590, 0x13, 0x5cdc98, 0x4, 0xc820125b90, 0x1, 0x1, 0x0, 0x0, ...)
/usr/local/go/src/reflect/value.go:435 +0x120d
reflect.Value.Call(0x46d5c0, 0x6c4590, 0x13, 0xc820125b90, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/local/go/src/reflect/value.go:303 +0xb1
github.com/gruntwork-io/terragrunt/vendor/github.com/urfave/cli.HandleAction(0x46d5c0, 0x6c4590, 0xc8200b0c80, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/vendor/github.com/urfave/cli/app.go:487 +0x2ee
github.com/gruntwork-io/terragrunt/vendor/github.com/urfave/cli.(*App).Run(0xc820060900, 0xc820078060, 0x6, 0x6, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/vendor/github.com/urfave/cli/app.go:245 +0xb0d
main.main()
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/main.go:19 +0x8e
goroutine 19 [syscall]:
os/signal.signal_recv(0x0)
/usr/local/go/src/runtime/sigqueue.go:116 +0x132
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
/usr/local/go/src/os/signal/signal_unix.go:28 +0x37
goroutine 20 [select]:
net.lookupIPDeadline(0xc820161590, 0x20, 0xecfab96cf, 0x122c40bc, 0x8940c0, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/lookup.go:109 +0x6a6
net.internetAddrList(0x5d2bd0, 0x3, 0xc820161590, 0x24, 0xecfab96cf, 0x122c40bc, 0x8940c0, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/net/ipsock.go:252 +0x6ee
net.resolveAddrList(0x5d05e8, 0x4, 0x5d2bd0, 0x3, 0xc820161590, 0x24, 0xecfab96cf, 0x122c40bc, 0x8940c0, 0x0, ...)
/usr/local/go/src/net/dial.go:158 +0x466
net.(*Dialer).Dial(0xc82009a410, 0x5d2bd0, 0x3, 0xc820161590, 0x24, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/dial.go:216 +0x124
net.(*Dialer).Dial-fm(0x5d2bd0, 0x3, 0xc820161590, 0x24, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:38 +0x6e
net/http.(*Transport).dial(0xc8200ec000, 0x5d2bd0, 0x3, 0xc820161590, 0x24, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:659 +0x96
net/http.(*Transport).dialConn(0xc8200ec000, 0x0, 0xc820161110, 0x5, 0xc820161590, 0x24, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:762 +0x1e3d
net/http.(*Transport).getConn.func4(0xc8200ec000, 0x0, 0xc820161110, 0x5, 0xc820161590, 0x24, 0xc8200798c0)
/usr/local/go/src/net/http/transport.go:706 +0x66
created by net/http.(*Transport).getConn
/usr/local/go/src/net/http/transport.go:708 +0x262
[signal 0xb code=0x1 addr=0xc834da28 pc=0x68425]
runtime stack:
runtime/internal/atomic.Load64(0xc834da28, 0xc834da2d04ed)
/usr/local/go/src/runtime/internal/atomic/atomic_amd64x.go:26 +0x5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment