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

clusterawsadm binary not working on Ubuntu 20.04 #4610

Closed
cgiraldo opened this issue Nov 3, 2023 · 11 comments
Closed

clusterawsadm binary not working on Ubuntu 20.04 #4610

cgiraldo opened this issue Nov 3, 2023 · 11 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. needs-priority needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@cgiraldo
Copy link

cgiraldo commented Nov 3, 2023

/kind bug

What steps did you take and what happened:
[A clear and concise description of what the bug is.]

running clusterawsadm bootstrap iam create-cloudformation-stack exits with error.

What did you expect to happen:
cloudformation-stack created with success

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

I think the problem is that the released binary was built against glibc>=2.32 but ubuntu 20.04 is using glibc2.31.
If I build the binary in my ubuntu 20.04 host, It works correctly.
If I use a previous released version (e.g. 2.2.1) the binary also works correctly.

clusterawsadm bootstrap iam create-cloudformation-stack
Attempting to create AWS CloudFormation stack cluster-api-provider-aws-sigs-k8s-io
clusterawsadm: dl-call-libc-early-init.c:37: _dl_call_libc_early_init: Assertion `sym != NULL' failed.
SIGABRT: abort
PC=0x2782c7c m=0 sigcode=18446744073709551610
signal arrived during cgo execution

goroutine 73 [syscall]:
runtime.cgocall(0x276a0a0, 0xc000330d88)
	/usr/local/go/src/runtime/cgocall.go:157 +0x4b fp=0xc000330d60 sp=0xc000330d28 pc=0x40a0eb
net._C2func_getaddrinfo(0xc0002367b0, 0x0, 0xc0007b2ba0, 0xc00075f178)
	_cgo_gotypes.go:100 +0x55 fp=0xc000330d88 sp=0xc000330d60 pc=0x587055
net._C_getaddrinfo.func1(0x413425?, 0x8?, 0x2a37b20?, 0x1?)
	/usr/local/go/src/net/cgo_unix_cgo.go:78 +0x7a fp=0xc000330df0 sp=0xc000330d88 pc=0x5879da
net._C_getaddrinfo(0xc000236600?, 0x27?, 0x0?, 0x0?)
	/usr/local/go/src/net/cgo_unix_cgo.go:78 +0x13 fp=0xc000330e20 sp=0xc000330df0 pc=0x587913
net.cgoLookupHostIP({0x3579119, 0x3}, {0xc000236600, 0x27})
	/usr/local/go/src/net/cgo_unix.go:166 +0x24f fp=0xc000330f60 sp=0xc000330e20 pc=0x5538cf
net.cgoLookupIP.func1()
	/usr/local/go/src/net/cgo_unix.go:215 +0x25 fp=0xc000330f90 sp=0xc000330f60 pc=0x553fe5
net.doBlockingWithCtx[...].func1()
	/usr/local/go/src/net/cgo_unix.go:56 +0x35 fp=0xc000330fe0 sp=0xc000330f90 pc=0x587dd5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000330fe8 sp=0xc000330fe0 pc=0x477901
created by net.doBlockingWithCtx[...] in goroutine 72
	/usr/local/go/src/net/cgo_unix.go:54 +0xd8

goroutine 1 [select]:
runtime.gopark(0xc000f1ec68?, 0x4?, 0xd0?, 0xe9?, 0xc000f1eb10?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000f1e988 sp=0xc000f1e968 pc=0x44372e
runtime.selectgo(0xc000f1ec68, 0xc000f1eb08, 0xc000b71cd0?, 0x0, 0xc000f1eb88?, 0x1)
	/usr/local/go/src/runtime/select.go:327 +0x725 fp=0xc000f1eaa8 sp=0xc000f1e988 pc=0x454305
net/http.(*Transport).getConn(0x59532c0, 0xc000419680, {{}, 0x0, {0xc000eb5770, 0x5}, {0xc000236600, 0x2b}, 0x0})
	/usr/local/go/src/net/http/transport.go:1393 +0x5b3 fp=0xc000f1ecc0 sp=0xc000f1eaa8 pc=0x890053
net/http.(*Transport).roundTrip(0x59532c0, 0xc000e1c100)
	/usr/local/go/src/net/http/transport.go:591 +0x73a fp=0xc000f1eee8 sp=0xc000f1ecc0 pc=0x88bd3a
net/http.(*Transport).RoundTrip(0xc000f1ef01?, 0x3df4520?)
	/usr/local/go/src/net/http/roundtrip.go:17 +0x13 fp=0xc000f1ef08 sp=0xc000f1eee8 pc=0x874173
net/http.send(0xc000e1c100, {0x3df4520, 0x59532c0}, {0x1?, 0x35a105e?, 0x0?})
	/usr/local/go/src/net/http/client.go:260 +0x606 fp=0xc000f1f138 sp=0xc000f1ef08 pc=0x832bc6
net/http.(*Client).send(0x5b3ebc0, 0xc000e1c100, {0x0?, 0x358fe78?, 0x0?})
	/usr/local/go/src/net/http/client.go:181 +0x98 fp=0xc000f1f1b0 sp=0xc000f1f138 pc=0x832438
net/http.(*Client).do(0x5b3ebc0, 0xc000e1c100)
	/usr/local/go/src/net/http/client.go:724 +0x912 fp=0xc000f1f3c0 sp=0xc000f1f1b0 pc=0x8347b2
net/http.(*Client).Do(...)
	/usr/local/go/src/net/http/client.go:590
github.com/aws/aws-sdk-go/aws/corehandlers.sendFollowRedirects(0xc1494a31806829ae?)
	/home/richard/go/pkg/mod/github.com/aws/[email protected]/aws/corehandlers/handlers.go:120 +0x25 fp=0xc000f1f3e0 sp=0xc000f1f3c0 pc=0x18c6d85
github.com/aws/aws-sdk-go/aws/corehandlers.glob..func3(0xc000dbcf00)
	/home/richard/go/pkg/mod/github.com/aws/[email protected]/aws/corehandlers/handlers.go:112 +0x183 fp=0xc000f1f448 sp=0xc000f1f3e0 pc=0x18c6c83
github.com/aws/aws-sdk-go/aws/request.(*HandlerList).Run(0xc000dbd128, 0xc000dbcf00)
	/home/richard/go/pkg/mod/github.com/aws/[email protected]/aws/request/handlers.go:267 +0x96 fp=0xc000f1f4d8 sp=0xc000f1f448 pc=0x1881db6
github.com/aws/aws-sdk-go/aws/request.(*Request).sendRequest(0xc000dbcf00)
	/home/richard/go/pkg/mod/github.com/aws/[email protected]/aws/request/request.go:602 +0xad fp=0xc000f1f590 sp=0xc000f1f4d8 pc=0x18850ed
github.com/aws/aws-sdk-go/aws/request.(*Request).Send(0xc000dbcf00)
	/home/richard/go/pkg/mod/github.com/aws/[email protected]/aws/request/request.go:555 +0x125 fp=0xc000f1f618 sp=0xc000f1f590 pc=0x18849a5
github.com/aws/aws-sdk-go/service/cloudformation.(*CloudFormation).CreateStack(0x35dd0b7?, 0x24?)
	/home/richard/go/pkg/mod/github.com/aws/[email protected]/service/cloudformation/api.go:555 +0x1d fp=0xc000f1f640 sp=0xc000f1f618 pc=0x24ed5dd
sigs.k8s.io/cluster-api-provider-aws/v2/cmd/clusterawsadm/cloudformation/service.(*Service).createStack(0xc000f1fc50, {0x35dd0b7, 0x24}, {0xc000812000, 0x3e39}, {0x5b76ee0, 0x0, 0x0})
	/home/richard/go/src/sigs.k8s.io/cluster-api-provider-aws/cmd/clusterawsadm/cloudformation/service/service.go:121 +0x32c fp=0xc000f1f718 sp=0xc000f1f640 pc=0x2754d8c
sigs.k8s.io/cluster-api-provider-aws/v2/cmd/clusterawsadm/cloudformation/service.(*Service).ReconcileBootstrapStack(0x0?, {0x35dd0b7, 0x24}, {{0x35871ac, 0xa}, 0x0, {0x0, 0x0}, 0xc000aeba40, 0xc000aeba70, ...}, ...)
	/home/richard/go/src/sigs.k8s.io/cluster-api-provider-aws/cmd/clusterawsadm/cloudformation/service/service.go:67 +0x372 fp=0xc000f1f8c8 sp=0xc000f1f718 pc=0x2754752
sigs.k8s.io/cluster-api-provider-aws/v2/cmd/clusterawsadm/cmd/bootstrap/iam.createCloudFormationStackCmd.func1(0xc000edd600?, {0x5b76ee0?, 0x4?, 0x3579969?})
	/home/richard/go/src/sigs.k8s.io/cluster-api-provider-aws/cmd/clusterawsadm/cmd/bootstrap/iam/cloudformation.go:112 +0x2e5 fp=0xc000f1fcf8 sp=0xc000f1f8c8 pc=0x275db45
github.com/spf13/cobra.(*Command).execute(0xc0007e2000, {0x5b76ee0, 0x0, 0x0})
	/home/richard/go/pkg/mod/github.com/spf13/[email protected]/command.go:940 +0x87c fp=0xc000f1fe30 sp=0xc000f1fcf8 pc=0x5eeafc
github.com/spf13/cobra.(*Command).ExecuteC(0xc000d10000)
	/home/richard/go/pkg/mod/github.com/spf13/[email protected]/command.go:1068 +0x3a5 fp=0xc000f1fee8 sp=0xc000f1fe30 pc=0x5ef385
github.com/spf13/cobra.(*Command).Execute(...)
	/home/richard/go/pkg/mod/github.com/spf13/[email protected]/command.go:992
sigs.k8s.io/cluster-api-provider-aws/v2/cmd/clusterawsadm/cmd.Execute()
	/home/richard/go/src/sigs.k8s.io/cluster-api-provider-aws/cmd/clusterawsadm/cmd/root.go:89 +0xbb fp=0xc000f1ff30 sp=0xc000f1fee8 pc=0x2769bdb
main.main()
	/home/richard/go/src/sigs.k8s.io/cluster-api-provider-aws/cmd/clusterawsadm/main.go:22 +0xf fp=0xc000f1ff40 sp=0xc000f1ff30 pc=0x2769f8f
runtime.main()
	/usr/local/go/src/runtime/proc.go:267 +0x2bb fp=0xc000f1ffe0 sp=0xc000f1ff40 pc=0x4432bb
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000f1ffe8 sp=0xc000f1ffe0 pc=0x477901

goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc00008afa8 sp=0xc00008af88 pc=0x44372e
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:404
runtime.forcegchelper()
	/usr/local/go/src/runtime/proc.go:322 +0xb3 fp=0xc00008afe0 sp=0xc00008afa8 pc=0x443593
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00008afe8 sp=0xc00008afe0 pc=0x477901
created by runtime.init.6 in goroutine 1
	/usr/local/go/src/runtime/proc.go:310 +0x1a

goroutine 3 [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc00008b778 sp=0xc00008b758 pc=0x44372e
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:404
runtime.bgsweep(0x0?)
	/usr/local/go/src/runtime/mgcsweep.go:321 +0xdf fp=0xc00008b7c8 sp=0xc00008b778 pc=0x42b99f
runtime.gcenable.func1()
	/usr/local/go/src/runtime/mgc.go:200 +0x25 fp=0xc00008b7e0 sp=0xc00008b7c8 pc=0x420825
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00008b7e8 sp=0xc00008b7e0 pc=0x477901
created by runtime.gcenable in goroutine 1
	/usr/local/go/src/runtime/mgc.go:200 +0x66

goroutine 4 [GC scavenge wait]:
runtime.gopark(0xc000056070?, 0x3ddca98?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc00008bf70 sp=0xc00008bf50 pc=0x44372e
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:404
runtime.(*scavengerState).park(0x5b40340)
	/usr/local/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc00008bfa0 sp=0xc00008bf70 pc=0x428f69
runtime.bgscavenge(0x0?)
	/usr/local/go/src/runtime/mgcscavenge.go:658 +0x59 fp=0xc00008bfc8 sp=0xc00008bfa0 pc=0x429539
runtime.gcenable.func2()
	/usr/local/go/src/runtime/mgc.go:201 +0x25 fp=0xc00008bfe0 sp=0xc00008bfc8 pc=0x4207c5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00008bfe8 sp=0xc00008bfe0 pc=0x477901
created by runtime.gcenable in goroutine 1
	/usr/local/go/src/runtime/mgc.go:201 +0xa5

goroutine 5 [finalizer wait]:
runtime.gopark(0x35556a0?, 0x100444801?, 0x0?, 0x0?, 0x44b945?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc00008a628 sp=0xc00008a608 pc=0x44372e
runtime.runfinq()
	/usr/local/go/src/runtime/mfinal.go:193 +0x107 fp=0xc00008a7e0 sp=0xc00008a628 pc=0x41f8a7
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00008a7e8 sp=0xc00008a7e0 pc=0x477901
created by runtime.createfing in goroutine 1
	/usr/local/go/src/runtime/mfinal.go:163 +0x3d

goroutine 6 [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc00008c750 sp=0xc00008c730 pc=0x44372e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1293 +0xe5 fp=0xc00008c7e0 sp=0xc00008c750 pc=0x4223a5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00008c7e8 sp=0xc00008c7e0 pc=0x477901
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1217 +0x1c

goroutine 7 [GC worker (idle)]:
runtime.gopark(0x7cbbb8db434?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc00008cf50 sp=0xc00008cf30 pc=0x44372e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1293 +0xe5 fp=0xc00008cfe0 sp=0xc00008cf50 pc=0x4223a5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00008cfe8 sp=0xc00008cfe0 pc=0x477901
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1217 +0x1c

goroutine 8 [GC worker (idle)]:
runtime.gopark(0x7cbbb8e8347?, 0x3?, 0x84?, 0x5?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc00008d750 sp=0xc00008d730 pc=0x44372e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1293 +0xe5 fp=0xc00008d7e0 sp=0xc00008d750 pc=0x4223a5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00008d7e8 sp=0xc00008d7e0 pc=0x477901
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1217 +0x1c

goroutine 18 [GC worker (idle)]:
runtime.gopark(0x7cbbb8db1e0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000086750 sp=0xc000086730 pc=0x44372e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1293 +0xe5 fp=0xc0000867e0 sp=0xc000086750 pc=0x4223a5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000867e8 sp=0xc0000867e0 pc=0x477901
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1217 +0x1c

goroutine 19 [GC worker (idle)]:
runtime.gopark(0x7cbbb8e81c2?, 0x3?, 0xb2?, 0x2?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000086f50 sp=0xc000086f30 pc=0x44372e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1293 +0xe5 fp=0xc000086fe0 sp=0xc000086f50 pc=0x4223a5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000086fe8 sp=0xc000086fe0 pc=0x477901
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1217 +0x1c

goroutine 20 [GC worker (idle)]:
runtime.gopark(0x7cbbb8e82ee?, 0x1?, 0xc3?, 0x3f?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000087750 sp=0xc000087730 pc=0x44372e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1293 +0xe5 fp=0xc0000877e0 sp=0xc000087750 pc=0x4223a5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000877e8 sp=0xc0000877e0 pc=0x477901
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1217 +0x1c

goroutine 21 [GC worker (idle)]:
runtime.gopark(0x7cbbb8db3a1?, 0x3?, 0x47?, 0x38?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000087f50 sp=0xc000087f30 pc=0x44372e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1293 +0xe5 fp=0xc000087fe0 sp=0xc000087f50 pc=0x4223a5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000087fe8 sp=0xc000087fe0 pc=0x477901
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1217 +0x1c

goroutine 22 [GC worker (idle)]:
runtime.gopark(0x7cbbb8e84ab?, 0x3?, 0xdb?, 0x5?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000088750 sp=0xc000088730 pc=0x44372e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1293 +0xe5 fp=0xc0000887e0 sp=0xc000088750 pc=0x4223a5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000887e8 sp=0xc0000887e0 pc=0x477901
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1217 +0x1c

goroutine 71 [select]:
runtime.gopark(0xc000901578?, 0x2?, 0x8?, 0x31?, 0xc0009014d4?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000901320 sp=0xc000901300 pc=0x44372e
runtime.selectgo(0xc000901578, 0xc0009014d0, 0x2b?, 0x0, 0x4735d3?, 0x1)
	/usr/local/go/src/runtime/select.go:327 +0x725 fp=0xc000901440 sp=0xc000901320 pc=0x454305
net.(*Resolver).lookupIPAddr(0x5b363e0, {0x3e21340?, 0xc0007f49a0}, {0x3579119, 0x3}, {0xc000236600, 0x27})
	/usr/local/go/src/net/lookup.go:332 +0x3fe fp=0xc000901620 sp=0xc000901440 pc=0x57213e
net.(*Resolver).internetAddrList(0x3e21340?, {0x3e21340?, 0xc0007f49a0?}, {0x3579119, 0x3}, {0xc000236600?, 0x540ea5?})
	/usr/local/go/src/net/ipsock.go:288 +0x4e5 fp=0xc000901748 sp=0xc000901620 pc=0x56f8e5
net.(*Resolver).resolveAddrList(0x5b76ee0?, {0x3e21340, 0xc0007f49a0}, {0x3579ad1, 0x4}, {0x3579119?, 0x3027660?}, {0xc000236600, 0x2b}, {0x0, ...})
	/usr/local/go/src/net/dial.go:282 +0x405 fp=0xc000901848 sp=0xc000901748 pc=0x557925
net.(*Dialer).DialContext(0xc00026fdc0, {0x3e211f0, 0x5b76ee0}, {0x3579119, 0x3}, {0xc000236600, 0x2b})
	/usr/local/go/src/net/dial.go:488 +0x42c fp=0xc000901980 sp=0xc000901848 pc=0x55886c
net.(*Dialer).DialContext-fm({0x3e211f0?, 0x5b76ee0?}, {0x3579119?, 0x5b41da0?}, {0xc000236600?, 0x0?})
	<autogenerated>:1 +0x49 fp=0xc0009019c8 sp=0xc000901980 pc=0x8a8e29
net/http.(*Transport).dial(0x0?, {0x3e211f0?, 0x5b76ee0?}, {0x3579119?, 0x1d96f60?}, {0xc000236600?, 0x3e456f8?})
	/usr/local/go/src/net/http/transport.go:1183 +0xd2 fp=0xc000901a30 sp=0xc0009019c8 pc=0x88f0f2
net/http.(*Transport).dialConn(0x59532c0, {0x3e211f0, 0x5b76ee0}, {{}, 0x0, {0xc000eb5770, 0x5}, {0xc000236600, 0x2b}, 0x0})
	/usr/local/go/src/net/http/transport.go:1625 +0x7e8 fp=0xc000901ed8 sp=0xc000901a30 pc=0x892148
net/http.(*Transport).dialConnFor(0x0?, 0xc000422d10)
	/usr/local/go/src/net/http/transport.go:1467 +0x9f fp=0xc000901fc0 sp=0xc000901ed8 pc=0x890c5f
net/http.(*Transport).queueForDial.func1()
	/usr/local/go/src/net/http/transport.go:1436 +0x25 fp=0xc000901fe0 sp=0xc000901fc0 pc=0x890b85
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000901fe8 sp=0xc000901fe0 pc=0x477901
created by net/http.(*Transport).queueForDial in goroutine 1
	/usr/local/go/src/net/http/transport.go:1436 +0x3cb

goroutine 72 [select]:
runtime.gopark(0xc000903b50?, 0x2?, 0x78?, 0x3b?, 0xc000903b34?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc0009039e0 sp=0xc0009039c0 pc=0x44372e
runtime.selectgo(0xc000903b50, 0xc000903b30, 0x0?, 0x0, 0x0?, 0x1)
	/usr/local/go/src/runtime/select.go:327 +0x725 fp=0xc000903b00 sp=0xc0009039e0 pc=0x454305
net.doBlockingWithCtx[...]({0x3e212d0, 0xc000d90d70}, 0xc0007b2b40)
	/usr/local/go/src/net/cgo_unix.go:60 +0x14f fp=0xc000903bd0 sp=0xc000903b00 pc=0x589b8f
net.cgoLookupIP({0x3e212d0, 0xc000d90d70}, {0x3579119, 0x3}, {0xc000236600, 0x27})
	/usr/local/go/src/net/cgo_unix.go:214 +0xb4 fp=0xc000903c00 sp=0xc000903bd0 pc=0x553f54
net.(*Resolver).lookupIP(0x5b363e0, {0x3e212d0, 0xc000d90d70}, {0x3579119, 0x3}, {0xc000236600, 0x27})
	/usr/local/go/src/net/lookup_unix.go:70 +0x11a fp=0xc000903e58 sp=0xc000903c00 pc=0x575e3a
net.(*Resolver).lookupIP-fm({0x3e212d0?, 0xc000d90d70?}, {0x3579119?, 0x0?}, {0xc000236600?, 0x893a6a?})
	<autogenerated>:1 +0x49 fp=0xc000903ea0 sp=0xc000903e58 pc=0x58eb49
net.glob..func1({0x3e212d0?, 0xc000d90d70?}, 0x0?, {0x3579119?, 0x5?}, {0xc000236600?, 0x2b?})
	/usr/local/go/src/net/hook.go:23 +0x37 fp=0xc000903ee0 sp=0xc000903ea0 pc=0x566637
net.(*Resolver).lookupIPAddr.func1()
	/usr/local/go/src/net/lookup.go:324 +0x3a fp=0xc000903f38 sp=0xc000903ee0 pc=0x572b5a
internal/singleflight.(*Group).doCall(0x5b363f0, 0xc000d90dc0, {0xc000236690, 0x2b}, 0xc000422d10?)
	/usr/local/go/src/internal/singleflight/singleflight.go:93 +0x35 fp=0xc000903fa8 sp=0xc000903f38 pc=0x551275
internal/singleflight.(*Group).DoChan.func1()
	/usr/local/go/src/internal/singleflight/singleflight.go:86 +0x30 fp=0xc000903fe0 sp=0xc000903fa8 pc=0x551210
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000903fe8 sp=0xc000903fe0 pc=0x477901
created by internal/singleflight.(*Group).DoChan in goroutine 71
	/usr/local/go/src/internal/singleflight/singleflight.go:86 +0x2e9

rax    0x0
rbx    0x5f6e3c0
rcx    0x2782c7c
rdx    0x6
rdi    0x4d44
rsi    0x4d44
rbp    0x4d44
rsp    0x7ffced64efa0
r8     0x7ffced64f070
r9     0x0
r10    0x8
r11    0x246
r12    0x6
r13    0x16
r14    0x3f32833
r15    0x5f72da0
rip    0x2782c7c
rflags 0x246
cs     0x33
fs     0x0
gs     0x0
cgiraldo@GR

Environment:

  • Cluster-api-provider-aws version: 2.2.4
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release): Ubuntu 20.04
@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. needs-priority needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Nov 3, 2023
@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

If CAPA/CAPI contributors determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@kranurag7
Copy link
Contributor

I'm also having the same problem. I'm using fedora 38 and my glibc version is 2.37.

$ ldd --version
ldd (GNU libc) 2.37
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
Details

$ clusterawsadm bootstrap iam create-cloudformation-stack --region us-east-1
Attempting to create AWS CloudFormation stack cluster-api-provider-aws-sigs-k8s-io
SIGSEGV: segmentation violation
PC=0x7fe075ae46a6 m=0 sigcode=1
signal arrived during cgo execution

goroutine 43 [syscall]:
runtime.cgocall(0x276a0a0, 0xc00050a588)
	/usr/local/go/src/runtime/cgocall.go:157 +0x4b fp=0xc00050a560 sp=0xc00050a528 pc=0x40a0eb
net._C2func_getaddrinfo(0xc000bfb200, 0x0, 0xc000b36840, 0xc0001a5f78)
	_cgo_gotypes.go:100 +0x55 fp=0xc00050a588 sp=0xc00050a560 pc=0x587055
net._C_getaddrinfo.func1(0x413425?, 0x8?, 0x2a37b20?, 0x1?)
	/usr/local/go/src/net/cgo_unix_cgo.go:78 +0x7a fp=0xc00050a5f0 sp=0xc00050a588 pc=0x5879da
net._C_getaddrinfo(0xc000bfb140?, 0x26?, 0x0?, 0x0?)
	/usr/local/go/src/net/cgo_unix_cgo.go:78 +0x13 fp=0xc00050a620 sp=0xc00050a5f0 pc=0x587913
net.cgoLookupHostIP({0x3579119, 0x3}, {0xc000bfb140, 0x26})
	/usr/local/go/src/net/cgo_unix.go:166 +0x24f fp=0xc00050a760 sp=0xc00050a620 pc=0x5538cf
net.cgoLookupIP.func1()
	/usr/local/go/src/net/cgo_unix.go:215 +0x25 fp=0xc00050a790 sp=0xc00050a760 pc=0x553fe5
net.doBlockingWithCtx[...].func1()
	/usr/local/go/src/net/cgo_unix.go:56 +0x35 fp=0xc00050a7e0 sp=0xc00050a790 pc=0x587dd5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00050a7e8 sp=0xc00050a7e0 pc=0x477901
created by net.doBlockingWithCtx[...] in goroutine 42
	/usr/local/go/src/net/cgo_unix.go:54 +0xd8

goroutine 1 [select]:
runtime.gopark(0xc000d1ec68?, 0x4?, 0xd0?, 0xe9?, 0xc000d1eb10?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000d1e988 sp=0xc000d1e968 pc=0x44372e
runtime.selectgo(0xc000d1ec68, 0xc000d1eb08, 0xc000afe620?, 0x0, 0xc000d1eb88?, 0x1)
	/usr/local/go/src/runtime/select.go:327 +0x725 fp=0xc000d1eaa8 sp=0xc000d1e988 pc=0x454305
net/http.(*Transport).getConn(0x59532c0, 0xc000ab2cc0, {{}, 0x0, {0xc000b50b40, 0x5}, {0xc000bfb140, 0x2a}, 0x0})
	/usr/local/go/src/net/http/transport.go:1393 +0x5b3 fp=0xc000d1ecc0 sp=0xc000d1eaa8 pc=0x890053
net/http.(*Transport).roundTrip(0x59532c0, 0xc000a9f500)
	/usr/local/go/src/net/http/transport.go:591 +0x73a fp=0xc000d1eee8 sp=0xc000d1ecc0 pc=0x88bd3a
net/http.(*Transport).RoundTrip(0xc000d1ef01?, 0x3df4520?)
	/usr/local/go/src/net/http/roundtrip.go:17 +0x13 fp=0xc000d1ef08 sp=0xc000d1eee8 pc=0x874173
net/http.send(0xc000a9f500, {0x3df4520, 0x59532c0}, {0x1?, 0xc000c0e800?, 0x0?})
	/usr/local/go/src/net/http/client.go:260 +0x606 fp=0xc000d1f138 sp=0xc000d1ef08 pc=0x832bc6
net/http.(*Client).send(0x5b3ebc0, 0xc000a9f500, {0x0?, 0x358fe78?, 0x0?})
	/usr/local/go/src/net/http/client.go:181 +0x98 fp=0xc000d1f1b0 sp=0xc000d1f138 pc=0x832438
net/http.(*Client).do(0x5b3ebc0, 0xc000a9f500)
	/usr/local/go/src/net/http/client.go:724 +0x912 fp=0xc000d1f3c0 sp=0xc000d1f1b0 pc=0x8347b2
net/http.(*Client).Do(...)
	/usr/local/go/src/net/http/client.go:590
github.com/aws/aws-sdk-go/aws/corehandlers.sendFollowRedirects(0xc14ac135efd0b2be?)
	/home/richard/go/pkg/mod/github.com/aws/[email protected]/aws/corehandlers/handlers.go:120 +0x25 fp=0xc000d1f3e0 sp=0xc000d1f3c0 pc=0x18c6d85
github.com/aws/aws-sdk-go/aws/corehandlers.glob..func3(0xc00077aa00)
	/home/richard/go/pkg/mod/github.com/aws/[email protected]/aws/corehandlers/handlers.go:112 +0x183 fp=0xc000d1f448 sp=0xc000d1f3e0 pc=0x18c6c83
github.com/aws/aws-sdk-go/aws/request.(*HandlerList).Run(0xc00077ac28, 0xc00077aa00)
	/home/richard/go/pkg/mod/github.com/aws/[email protected]/aws/request/handlers.go:267 +0x96 fp=0xc000d1f4d8 sp=0xc000d1f448 pc=0x1881db6
github.com/aws/aws-sdk-go/aws/request.(*Request).sendRequest(0xc00077aa00)
	/home/richard/go/pkg/mod/github.com/aws/[email protected]/aws/request/request.go:602 +0xad fp=0xc000d1f590 sp=0xc000d1f4d8 pc=0x18850ed
github.com/aws/aws-sdk-go/aws/request.(*Request).Send(0xc00077aa00)
	/home/richard/go/pkg/mod/github.com/aws/[email protected]/aws/request/request.go:555 +0x125 fp=0xc000d1f618 sp=0xc000d1f590 pc=0x18849a5
github.com/aws/aws-sdk-go/service/cloudformation.(*CloudFormation).CreateStack(0x35dd0b7?, 0x24?)
	/home/richard/go/pkg/mod/github.com/aws/[email protected]/service/cloudformation/api.go:555 +0x1d fp=0xc000d1f640 sp=0xc000d1f618 pc=0x24ed5dd
sigs.k8s.io/cluster-api-provider-aws/v2/cmd/clusterawsadm/cloudformation/service.(*Service).createStack(0xc000d1fc50, {0x35dd0b7, 0x24}, {0xc000b32000, 0x3e39}, {0x5b76ee0, 0x0, 0x0})
	/home/richard/go/src/sigs.k8s.io/cluster-api-provider-aws/cmd/clusterawsadm/cloudformation/service/service.go:121 +0x32c fp=0xc000d1f718 sp=0xc000d1f640 pc=0x2754d8c
sigs.k8s.io/cluster-api-provider-aws/v2/cmd/clusterawsadm/cloudformation/service.(*Service).ReconcileBootstrapStack(0x0?, {0x35dd0b7, 0x24}, {{0x35871ac, 0xa}, 0x0, {0x0, 0x0}, 0xc000a3c390, 0xc000a3c3c0, ...}, ...)
	/home/richard/go/src/sigs.k8s.io/cluster-api-provider-aws/cmd/clusterawsadm/cloudformation/service/service.go:67 +0x372 fp=0xc000d1f8c8 sp=0xc000d1f718 pc=0x2754752
sigs.k8s.io/cluster-api-provider-aws/v2/cmd/clusterawsadm/cmd/bootstrap/iam.createCloudFormationStackCmd.func1(0xc0009f9300?, {0xc0008dd840?, 0x4?, 0x3579969?})
	/home/richard/go/src/sigs.k8s.io/cluster-api-provider-aws/cmd/clusterawsadm/cmd/bootstrap/iam/cloudformation.go:112 +0x2e5 fp=0xc000d1fcf8 sp=0xc000d1f8c8 pc=0x275db45
github.com/spf13/cobra.(*Command).execute(0xc000a15800, {0xc0008dd820, 0x2, 0x2})
	/home/richard/go/pkg/mod/github.com/spf13/[email protected]/command.go:940 +0x87c fp=0xc000d1fe30 sp=0xc000d1fcf8 pc=0x5eeafc
github.com/spf13/cobra.(*Command).ExecuteC(0xc000a14600)
	/home/richard/go/pkg/mod/github.com/spf13/[email protected]/command.go:1068 +0x3a5 fp=0xc000d1fee8 sp=0xc000d1fe30 pc=0x5ef385
github.com/spf13/cobra.(*Command).Execute(...)
	/home/richard/go/pkg/mod/github.com/spf13/[email protected]/command.go:992
sigs.k8s.io/cluster-api-provider-aws/v2/cmd/clusterawsadm/cmd.Execute()
	/home/richard/go/src/sigs.k8s.io/cluster-api-provider-aws/cmd/clusterawsadm/cmd/root.go:89 +0xbb fp=0xc000d1ff30 sp=0xc000d1fee8 pc=0x2769bdb
main.main()
	/home/richard/go/src/sigs.k8s.io/cluster-api-provider-aws/cmd/clusterawsadm/main.go:22 +0xf fp=0xc000d1ff40 sp=0xc000d1ff30 pc=0x2769f8f
runtime.main()
	/usr/local/go/src/runtime/proc.go:267 +0x2bb fp=0xc000d1ffe0 sp=0xc000d1ff40 pc=0x4432bb
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000d1ffe8 sp=0xc000d1ffe0 pc=0x477901

goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc00008afa8 sp=0xc00008af88 pc=0x44372e
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:404
runtime.forcegchelper()
	/usr/local/go/src/runtime/proc.go:322 +0xb3 fp=0xc00008afe0 sp=0xc00008afa8 pc=0x443593
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00008afe8 sp=0xc00008afe0 pc=0x477901
created by runtime.init.6 in goroutine 1
	/usr/local/go/src/runtime/proc.go:310 +0x1a

goroutine 3 [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc00008b778 sp=0xc00008b758 pc=0x44372e
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:404
runtime.bgsweep(0x0?)
	/usr/local/go/src/runtime/mgcsweep.go:321 +0xdf fp=0xc00008b7c8 sp=0xc00008b778 pc=0x42b99f
runtime.gcenable.func1()
	/usr/local/go/src/runtime/mgc.go:200 +0x25 fp=0xc00008b7e0 sp=0xc00008b7c8 pc=0x420825
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00008b7e8 sp=0xc00008b7e0 pc=0x477901
created by runtime.gcenable in goroutine 1
	/usr/local/go/src/runtime/mgc.go:200 +0x66

goroutine 4 [GC scavenge wait]:
runtime.gopark(0xc0000bc000?, 0x3ddca98?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc00008bf70 sp=0xc00008bf50 pc=0x44372e
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:404
runtime.(*scavengerState).park(0x5b40340)
	/usr/local/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc00008bfa0 sp=0xc00008bf70 pc=0x428f69
runtime.bgscavenge(0x0?)
	/usr/local/go/src/runtime/mgcscavenge.go:658 +0x59 fp=0xc00008bfc8 sp=0xc00008bfa0 pc=0x429539
runtime.gcenable.func2()
	/usr/local/go/src/runtime/mgc.go:201 +0x25 fp=0xc00008bfe0 sp=0xc00008bfc8 pc=0x4207c5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00008bfe8 sp=0xc00008bfe0 pc=0x477901
created by runtime.gcenable in goroutine 1
	/usr/local/go/src/runtime/mgc.go:201 +0xa5

goroutine 18 [finalizer wait]:
runtime.gopark(0x35556a0?, 0x100444801?, 0x0?, 0x0?, 0x44b945?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc00008a628 sp=0xc00008a608 pc=0x44372e
runtime.runfinq()
	/usr/local/go/src/runtime/mfinal.go:193 +0x107 fp=0xc00008a7e0 sp=0xc00008a628 pc=0x41f8a7
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00008a7e8 sp=0xc00008a7e0 pc=0x477901
created by runtime.createfing in goroutine 1
	/usr/local/go/src/runtime/mfinal.go:163 +0x3d

goroutine 19 [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000086750 sp=0xc000086730 pc=0x44372e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1293 +0xe5 fp=0xc0000867e0 sp=0xc000086750 pc=0x4223a5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000867e8 sp=0xc0000867e0 pc=0x477901
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1217 +0x1c

goroutine 20 [GC worker (idle)]:
runtime.gopark(0xeb08e35784e9?, 0x3?, 0x4?, 0x31?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000086f50 sp=0xc000086f30 pc=0x44372e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1293 +0xe5 fp=0xc000086fe0 sp=0xc000086f50 pc=0x4223a5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000086fe8 sp=0xc000086fe0 pc=0x477901
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1217 +0x1c

goroutine 21 [GC worker (idle)]:
runtime.gopark(0xeb08e35782d9?, 0x3?, 0x92?, 0xdd?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000087750 sp=0xc000087730 pc=0x44372e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1293 +0xe5 fp=0xc0000877e0 sp=0xc000087750 pc=0x4223a5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000877e8 sp=0xc0000877e0 pc=0x477901
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1217 +0x1c

goroutine 22 [GC worker (idle)]:
runtime.gopark(0xeb08e3578199?, 0x3?, 0xf1?, 0xe?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000087f50 sp=0xc000087f30 pc=0x44372e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1293 +0xe5 fp=0xc000087fe0 sp=0xc000087f50 pc=0x4223a5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000087fe8 sp=0xc000087fe0 pc=0x477901
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1217 +0x1c

goroutine 23 [GC worker (idle)]:
runtime.gopark(0xeb08e357802d?, 0x3?, 0x19?, 0x53?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000088750 sp=0xc000088730 pc=0x44372e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1293 +0xe5 fp=0xc0000887e0 sp=0xc000088750 pc=0x4223a5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000887e8 sp=0xc0000887e0 pc=0x477901
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1217 +0x1c

goroutine 5 [GC worker (idle)]:
runtime.gopark(0xeb08e3578052?, 0x3?, 0x27?, 0x30?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc00008c750 sp=0xc00008c730 pc=0x44372e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1293 +0xe5 fp=0xc00008c7e0 sp=0xc00008c750 pc=0x4223a5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00008c7e8 sp=0xc00008c7e0 pc=0x477901
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1217 +0x1c

goroutine 34 [GC worker (idle)]:
runtime.gopark(0xeb08e3578209?, 0x3?, 0x44?, 0x3?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000508750 sp=0xc000508730 pc=0x44372e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1293 +0xe5 fp=0xc0005087e0 sp=0xc000508750 pc=0x4223a5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0005087e8 sp=0xc0005087e0 pc=0x477901
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1217 +0x1c

goroutine 24 [GC worker (idle)]:
runtime.gopark(0xeb08e3577086?, 0x3?, 0x84?, 0x14?, 0x0?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000088f50 sp=0xc000088f30 pc=0x44372e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1293 +0xe5 fp=0xc000088fe0 sp=0xc000088f50 pc=0x4223a5
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000088fe8 sp=0xc000088fe0 pc=0x477901
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1217 +0x1c

goroutine 41 [select]:
runtime.gopark(0xc000b8d578?, 0x2?, 0x18?, 0x9f?, 0xc000b8d4d4?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000b8d320 sp=0xc000b8d300 pc=0x44372e
runtime.selectgo(0xc000b8d578, 0xc000b8d4d0, 0x2a?, 0x0, 0x4735d3?, 0x1)
	/usr/local/go/src/runtime/select.go:327 +0x725 fp=0xc000b8d440 sp=0xc000b8d320 pc=0x454305
net.(*Resolver).lookupIPAddr(0x5b363e0, {0x3e21340?, 0xc000380930}, {0x3579119, 0x3}, {0xc000bfb140, 0x26})
	/usr/local/go/src/net/lookup.go:332 +0x3fe fp=0xc000b8d620 sp=0xc000b8d440 pc=0x57213e
net.(*Resolver).internetAddrList(0x3e21340?, {0x3e21340?, 0xc000380930?}, {0x3579119, 0x3}, {0xc000bfb140?, 0x540ea5?})
	/usr/local/go/src/net/ipsock.go:288 +0x4e5 fp=0xc000b8d748 sp=0xc000b8d620 pc=0x56f8e5
net.(*Resolver).resolveAddrList(0x5b76ee0?, {0x3e21340, 0xc000380930}, {0x3579ad1, 0x4}, {0x3579119?, 0x3027660?}, {0xc000bfb140, 0x2a}, {0x0, ...})
	/usr/local/go/src/net/dial.go:282 +0x405 fp=0xc000b8d848 sp=0xc000b8d748 pc=0x557925
net.(*Dialer).DialContext(0xc0003a2f50, {0x3e211f0, 0x5b76ee0}, {0x3579119, 0x3}, {0xc000bfb140, 0x2a})
	/usr/local/go/src/net/dial.go:488 +0x42c fp=0xc000b8d980 sp=0xc000b8d848 pc=0x55886c
net.(*Dialer).DialContext-fm({0x3e211f0?, 0x5b76ee0?}, {0x3579119?, 0x5b41da0?}, {0xc000bfb140?, 0x0?})
	<autogenerated>:1 +0x49 fp=0xc000b8d9c8 sp=0xc000b8d980 pc=0x8a8e29
net/http.(*Transport).dial(0x0?, {0x3e211f0?, 0x5b76ee0?}, {0x3579119?, 0x1d96f60?}, {0xc000bfb140?, 0x3e456f8?})
	/usr/local/go/src/net/http/transport.go:1183 +0xd2 fp=0xc000b8da30 sp=0xc000b8d9c8 pc=0x88f0f2
net/http.(*Transport).dialConn(0x59532c0, {0x3e211f0, 0x5b76ee0}, {{}, 0x0, {0xc000b50b40, 0x5}, {0xc000bfb140, 0x2a}, 0x0})
	/usr/local/go/src/net/http/transport.go:1625 +0x7e8 fp=0xc000b8ded8 sp=0xc000b8da30 pc=0x892148
net/http.(*Transport).dialConnFor(0x0?, 0xc0008eb130)
	/usr/local/go/src/net/http/transport.go:1467 +0x9f fp=0xc000b8dfc0 sp=0xc000b8ded8 pc=0x890c5f
net/http.(*Transport).queueForDial.func1()
	/usr/local/go/src/net/http/transport.go:1436 +0x25 fp=0xc000b8dfe0 sp=0xc000b8dfc0 pc=0x890b85
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000b8dfe8 sp=0xc000b8dfe0 pc=0x477901
created by net/http.(*Transport).queueForDial in goroutine 1
	/usr/local/go/src/net/http/transport.go:1436 +0x3cb

goroutine 42 [select]:
runtime.gopark(0xc000b8fb50?, 0x2?, 0x78?, 0xfb?, 0xc000b8fb34?)
	/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000b8f9e0 sp=0xc000b8f9c0 pc=0x44372e
runtime.selectgo(0xc000b8fb50, 0xc000b8fb30, 0x0?, 0x0, 0x0?, 0x1)
	/usr/local/go/src/runtime/select.go:327 +0x725 fp=0xc000b8fb00 sp=0xc000b8f9e0 pc=0x454305
net.doBlockingWithCtx[...]({0x3e212d0, 0xc000881270}, 0xc000b367e0)
	/usr/local/go/src/net/cgo_unix.go:60 +0x14f fp=0xc000b8fbd0 sp=0xc000b8fb00 pc=0x589b8f
net.cgoLookupIP({0x3e212d0, 0xc000881270}, {0x3579119, 0x3}, {0xc000bfb140, 0x26})
	/usr/local/go/src/net/cgo_unix.go:214 +0xb4 fp=0xc000b8fc00 sp=0xc000b8fbd0 pc=0x553f54
net.(*Resolver).lookupIP(0x5b363e0, {0x3e212d0, 0xc000881270}, {0x3579119, 0x3}, {0xc000bfb140, 0x26})
	/usr/local/go/src/net/lookup_unix.go:70 +0x11a fp=0xc000b8fe58 sp=0xc000b8fc00 pc=0x575e3a
net.(*Resolver).lookupIP-fm({0x3e212d0?, 0xc000881270?}, {0x3579119?, 0x0?}, {0xc000bfb140?, 0x893a6a?})
	<autogenerated>:1 +0x49 fp=0xc000b8fea0 sp=0xc000b8fe58 pc=0x58eb49
net.glob..func1({0x3e212d0?, 0xc000881270?}, 0x0?, {0x3579119?, 0x5?}, {0xc000bfb140?, 0x2a?})
	/usr/local/go/src/net/hook.go:23 +0x37 fp=0xc000b8fee0 sp=0xc000b8fea0 pc=0x566637
net.(*Resolver).lookupIPAddr.func1()
	/usr/local/go/src/net/lookup.go:324 +0x3a fp=0xc000b8ff38 sp=0xc000b8fee0 pc=0x572b5a
internal/singleflight.(*Group).doCall(0x5b363f0, 0xc0008812c0, {0xc000bfb170, 0x2a}, 0xc0008eb130?)
	/usr/local/go/src/internal/singleflight/singleflight.go:93 +0x35 fp=0xc000b8ffa8 sp=0xc000b8ff38 pc=0x551275
internal/singleflight.(*Group).DoChan.func1()
	/usr/local/go/src/internal/singleflight/singleflight.go:86 +0x30 fp=0xc000b8ffe0 sp=0xc000b8ffa8 pc=0x551210
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000b8ffe8 sp=0xc000b8ffe0 pc=0x477901
created by internal/singleflight.(*Group).DoChan in goroutine 41
	/usr/local/go/src/internal/singleflight/singleflight.go:86 +0x2e9

rax    0x1d5580
rbx    0x0
rcx    0xffffffffffffff18
rdx    0x7fe075c06030
rdi    0x0
rsi    0x3f3221d
rbp    0x7ffdea33cc70
rsp    0x7ffdea33cc38
r8     0x963cf85
r9     0x0
r10    0x6e
r11    0x597b520
r12    0x69b9f40
r13    0x1
r14    0x69b7490
r15    0x69b9f40
rip    0x7fe075ae46a6
rflags 0x10246
cs     0x33
fs     0x0
gs     0x0

I'm also curious because ldd reports that clusterawsadm is a static executable so the executable should run standalone on it's own but looking at stack trace it looks like it's a dynamic executable.

$ ldd $(command -v clusterawsadm)
	not a dynamic executable

@codewest
Copy link

codewest commented Jan 6, 2024

Happens for me as well, on Fedora 39.

@kranurag7
Copy link
Contributor

@serngawy I've created a patch for this. #4748
I hope this shouldn't be there when we release v2.4.0 with automated releases.
In the past, I never had any issues with binaries that were released by goreleaser.

@serngawy
Copy link
Contributor

serngawy commented Jan 25, 2024

Same Happen for Fedora 38. Thank @kranurag7 , I looked to the stack trace I got its different than the one here. looks to me related but not sure.

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 25, 2024
@kranurag7
Copy link
Contributor

Hey, we are now using goreleaser for releasing the binary and this should not happen with latest releases.

If it happens please ping me here.

// cc @nrb otherwise we can close this issue given this is resolved.

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels May 25, 2024
@nrb
Copy link
Contributor

nrb commented May 28, 2024

@serngawy @cgiraldo @codewest @kranurag7 Are you experiencing issues with v2.5.0? We switched over to building on GitHub workers with GoReleaser, which I think should have fixed the linking.

@codewest
Copy link

@nrb Works for me on Fedora 39 and Fedora 40 now. Thank you for the fix!

@serngawy
Copy link
Contributor

working fine with fedora 39 thanks @nrb

@nrb nrb closed this as completed May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. needs-priority needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

7 participants