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

Failed to deploy peerpod-ctrl from s390x machine #1744

Closed
ANJANA-A-R-K opened this issue Mar 14, 2024 · 0 comments · Fixed by #1745
Closed

Failed to deploy peerpod-ctrl from s390x machine #1744

ANJANA-A-R-K opened this issue Mar 14, 2024 · 0 comments · Fixed by #1745

Comments

@ANJANA-A-R-K
Copy link
Contributor

When I try to deploy peerpod-ctrl from s390x machine it report follow error

root@anjana-vsi:~/se-pp-testcase/github/cloud-api-adaptor/peerpod-ctrl# make deploy
mkdir -p /root/se-pp-testcase/github/cloud-api-adaptor/peerpod-ctrl/bin
test -s /root/se-pp-testcase/github/cloud-api-adaptor/peerpod-ctrl/bin/controller-gen || GOBIN=/root/se-pp-testcase/github/cloud-api-adaptor/peerpod-ctrl/bin go install sigs.k8s.io/controller-tools/cmd/[email protected]
/root/se-pp-testcase/github/cloud-api-adaptor/peerpod-ctrl/bin/controller-gen rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x733076]

goroutine 31 [running]:
go/types.(*Checker).handleBailout(0xc00099d800, 0xc0012b1dc0)
	/snap/go/10558/src/go/types/check.go:367 +0xd0
panic({0x92e2a0, 0xfbfd60})
	/snap/go/10558/src/runtime/panic.go:770 +0x11a
go/types.(*StdSizes).Sizeof(0x0, {0xb29258, 0xfc84e0})
	/snap/go/10558/src/go/types/sizes.go:228 +0x486
go/types.(*Config).sizeof(...)
	/snap/go/10558/src/go/types/sizes.go:333
go/types.representableConst.func1({0xb29258, 0xfc84e0})
	/snap/go/10558/src/go/types/const.go:76 +0xc4
go/types.representableConst({0xb2f5c0, 0xf94640}, 0xc00099d800, 0xfc84e0, 0xc0012b14c0)
	/snap/go/10558/src/go/types/const.go:92 +0x230
go/types.(*Checker).representation(0xc00099d800, 0xc0012c0080, 0xfc84e0)
	/snap/go/10558/src/go/types/const.go:256 +0x92
go/types.(*Checker).implicitTypeAndValue(0xc00099d800, 0xc0012c0080, {0xb29280, 0xc0003308c0})
	/snap/go/10558/src/go/types/expr.go:375 +0x42e
go/types.(*Checker).assignment(0xc00099d800, 0xc0012c0080, {0xb29280, 0xc0003308c0}, {0x9fb9a6, 0x14})
	/snap/go/10558/src/go/types/assignments.go:52 +0x2d2
go/types.(*Checker).initConst(0xc00099d800, 0xc001273ec0, 0xc0012c0080)
	/snap/go/10558/src/go/types/assignments.go:126 +0x326
go/types.(*Checker).constDecl(0xc00099d800, 0xc001273ec0, {0xb2bed0, 0xc0002b3500}, {0xb2bed0, 0xc0002b3580}, 0x0)
	/snap/go/10558/src/go/types/decl.go:490 +0x364
go/types.(*Checker).objDecl(0xc00099d800, {0xb31f20, 0xc001273ec0}, 0x0)
	/snap/go/10558/src/go/types/decl.go:191 +0xba6
go/types.(*Checker).packageObjects(0xc00099d800)
	/snap/go/10558/src/go/types/resolver.go:693 +0x620
go/types.(*Checker).checkFiles(0xc00099d800, {0xc000460120, 0x5, 0x5})
	/snap/go/10558/src/go/types/check.go:408 +0x1be
go/types.(*Checker).Files(...)
	/snap/go/10558/src/go/types/check.go:372
sigs.k8s.io/controller-tools/pkg/loader.(*loader).typeCheck(0xc00037b110, 0xc0004af440)
	/root/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/loader/loader.go:286 +0x45e
sigs.k8s.io/controller-tools/pkg/loader.(*Package).NeedTypesInfo(0xc0004af440)
	/root/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/loader/loader.go:99 +0x6a
sigs.k8s.io/controller-tools/pkg/loader.(*TypeChecker).check(0xc00076faa0, 0xc0004af440)
	/root/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/loader/refs.go:268 +0x38e
sigs.k8s.io/controller-tools/pkg/loader.(*TypeChecker).check.func1(0xc0004af440)
	/root/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/loader/refs.go:262 +0x70
created by sigs.k8s.io/controller-tools/pkg/loader.(*TypeChecker).check in goroutine 38
	/root/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/loader/refs.go:260 +0x256
make: *** [Makefile:103: manifests] Error 2
ANJANA-A-R-K added a commit to ANJANA-A-R-K/cloud-api-adaptor that referenced this issue Mar 21, 2024
Upgrade controller-tools version from v0.10.0 to latest v0.14.0

Fixes: confidential-containers#1744

Signed-off-by: ANJANA-A-R-K1 <[email protected]>
ANJANA-A-R-K added a commit to ANJANA-A-R-K/cloud-api-adaptor that referenced this issue Mar 21, 2024
Upgrade controller-tools version from v0.10.0 to latest v0.14.0

Fixes: confidential-containers#1744

Signed-off-by: ANJANA-A-R-K1 <[email protected]>
stevenhorsman pushed a commit that referenced this issue Mar 21, 2024
Upgrade controller-tools version from v0.10.0 to latest v0.14.0

Fixes: #1744

Signed-off-by: ANJANA-A-R-K1 <[email protected]>
wyuany pushed a commit to wyuany/cloud-api-adaptor that referenced this issue Apr 28, 2024
Upgrade controller-tools version from v0.10.0 to latest v0.14.0

Fixes: confidential-containers#1744

Signed-off-by: ANJANA-A-R-K1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant