Skip to content

Instantly share code, notes, and snippets.

@antonbabenko
Created October 20, 2016 08:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antonbabenko/4b1dff65695fb73065f090c71929bfc3 to your computer and use it in GitHub Desktop.
Save antonbabenko/4b1dff65695fb73065f090c71929bfc3 to your computer and use it in GitHub Desktop.
fatal error: fault
[terragrunt] 2016/10/20 10:12:21 Remote state is already configured for backend s3
[terragrunt] 2016/10/20 10:12:21 Attempting to acquire lock for state file xxxxxxxxxxxxxxxxxxxxxxx in DynamoDB
unexpected fault address 0xb01dfacedebac1e
fatal error: fault
[signal 0xb code=0x1 addr=0xb01dfacedebac1e pc=0x59937]
goroutine 11 [running]:
runtime.throw(0x5ceef0, 0x5)
/usr/local/go/src/runtime/panic.go:547 +0x90 fp=0xc82002ef68 sp=0xc82002ef50
runtime.sigpanic()
/usr/local/go/src/runtime/sigpanic_unix.go:27 +0x2ba fp=0xc82002efb8 sp=0xc82002ef68
runtime.gogo(0x0)
/usr/local/go/src/runtime/asm_amd64.s:202 +0x47 fp=0xc82002efc0 sp=0xc82002efb8
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc82002efc8 sp=0xc82002efc0
created by time.goFunc
/usr/local/go/src/time/sleep.go:129 +0x3a
goroutine 1 [select]:
net/http.(*Transport).getConn(0xc8200e8000, 0xc8200ec380, 0x0, 0xc820139860, 0x5, 0xc820139ce0, 0x24, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:711 +0x4ef
net/http.(*Transport).RoundTrip(0xc8200e8000, 0xc8200ec380, 0xc8200e8000, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:311 +0x7e9
net/http.send(0xc8200ec380, 0x9fc5e8, 0xc8200e8000, 0x0, 0x0, 0x0, 0xc820139bf0, 0x0, 0x0)
/usr/local/go/src/net/http/client.go:260 +0x6b7
net/http.(*Client).send(0x890f60, 0xc8200ec380, 0x0, 0x0, 0x0, 0x2e95ca, 0x0, 0x0)
/usr/local/go/src/net/http/client.go:155 +0x185
net/http.(*Client).doFollowingRedirects(0x890f60, 0xc8200ec380, 0x6c2d40, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/client.go:475 +0x8a4
net/http.(*Client).Do(0x890f60, 0xc8200ec380, 0xc1, 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(0xc82011e700)
/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(0xc82011e870, 0xc82011e700)
/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(0xc82011e700, 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(0xc82008a1b0, 0xc82008a1b8, 0x8ae638, 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(0xc8200e0f01, 0x10, 0xc82008a1b0, 0xc8200aadc0, 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(0xc8200e0f01, 0x10, 0xc82008a1b0, 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(0xc820077831, 0x2b, 0xc8200739e1, 0x9, 0xc8200e0f01, 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(0xc82007b2c0, 0x0, 0x0)
<autogenerated>:1 +0xa4
github.com/gruntwork-io/terragrunt/locks.WithLock(0x9fcda8, 0xc82007b2c0, 0xc820127518, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/locks/lock.go:24 +0x55
github.com/gruntwork-io/terragrunt/cli.runTerraformCommandWithLock(0xc8200aec80, 0x9fcda8, 0xc82007b2c0, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/cli/cli_app.go:156 +0x1a0
github.com/gruntwork-io/terragrunt/cli.runApp(0xc8200aec80, 0x0, 0x0)
/home/ubuntu/.go_workspace/src/github.com/gruntwork-io/terragrunt/cli/cli_app.go:98 +0x2f1
reflect.Value.call(0x46c120, 0x6c2730, 0x13, 0x5cc198, 0x4, 0xc820127b90, 0x1, 0x1, 0x0, 0x0, ...)
/usr/local/go/src/reflect/value.go:435 +0x120d
reflect.Value.Call(0x46c120, 0x6c2730, 0x13, 0xc820127b90, 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(0x46c120, 0x6c2730, 0xc8200aec80, 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(0xc820056780, 0xc820070060, 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 18 [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 19 [chan receive]:
net/http.(*Transport).dialConn(0xc8200e8000, 0x0, 0xc820139860, 0x5, 0xc820139ce0, 0x24, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:834 +0x9c2
net/http.(*Transport).getConn.func4(0xc8200e8000, 0x0, 0xc820139860, 0x5, 0xc820139ce0, 0x24, 0xc820071a40)
/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
goroutine 8 [runnable]:
encoding/base64.(*Encoding).Decode(0xc8200aa000, 0xc820148900, 0x462, 0x462, 0xc8202c6000, 0x5d8, 0x5ef, 0x40bf0, 0x7fda3, 0x0)
/usr/local/go/src/encoding/base64/base64.go:336
encoding/pem.Decode(0xc820246000, 0x40c4d, 0x7fe00, 0xc820139e30, 0xc82024601c, 0x40c31, 0x7fde4)
/usr/local/go/src/encoding/pem/pem.go:137 +0x7a2
crypto/x509.(*CertPool).AppendCertsFromPEM(0xc820139dd0, 0xc820246000, 0x40c4d, 0x7fe00, 0xc820139d00)
/usr/local/go/src/crypto/x509/cert_pool.go:88 +0x4f
crypto/x509.execSecurityRoots(0x8e6d5, 0x0, 0x0)
/usr/local/go/src/crypto/x509/root_darwin.go:23 +0x23e
crypto/x509.initSystemRoots()
/usr/local/go/src/crypto/x509/root_nocgo_darwin.go:10 +0x18
sync.(*Once).Do(0x8ae6b0, 0x6c2528)
/usr/local/go/src/sync/once.go:44 +0xe4
crypto/x509.systemRootsPool(0x0)
/usr/local/go/src/crypto/x509/root.go:15 +0x2f
crypto/x509.(*Certificate).Verify(0xc82000c480, 0xc820139ce0, 0x20, 0xc820015c80, 0x0, 0xecf9a7366, 0xc0c1d20, 0x8910c0, 0x0, 0x0, ...)
/usr/local/go/src/crypto/x509/verify.go:241 +0x1de
crypto/tls.(*clientHandshakeState).doFullHandshake(0xc820123e48, 0x0, 0x0)
/usr/local/go/src/crypto/tls/handshake_client.go:278 +0x6e9
crypto/tls.(*Conn).clientHandshake(0xc82019c000, 0x0, 0x0)
/usr/local/go/src/crypto/tls/handshake_client.go:213 +0x1737
crypto/tls.(*Conn).Handshake(0xc82019c000, 0x0, 0x0)
/usr/local/go/src/crypto/tls/conn.go:1033 +0xec
net/http.(*Transport).dialConn.func3(0xc82019c000, 0xc820016dc0, 0xc82000a3c0)
/usr/local/go/src/net/http/transport.go:828 +0x21
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:833 +0x986
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment