-
Bug
-
Resolution: Duplicate
-
Normal
-
4.16
-
None
-
Approved
-
False
-
Component Readiness detects a regression where installer panic due to invalid memory address or nil pointer dereference.
Component Readiness test details link.
This has affected multiple tests:
"install should succeed: overall"
"operator conditions cluster-autoscaler"
"operator conditions machine-api"
"operator conditions monitoring"
"operator conditions ingress"
Panic trace from build log:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x68 pc=0x3a4d0a6]goroutine 1 [running]:
panic(Unknown macro: {0x60304a0?, 0x2af97450?})
/usr/lib/golang/src/runtime/panic.go:1017 +0x3ac fp=0xc00150f0b8 sp=0xc00150f008 pc=0x43b34c
runtime.panicmem(...)
/usr/lib/golang/src/runtime/panic.go:261
runtime.sigpanic()
/usr/lib/golang/src/runtime/signal_unix.go:861 +0x378 fp=0xc00150f118 sp=0xc00150f0b8 pc=0x4526b8
github.com/openshift/installer/pkg/infrastructure/baremetal.getMasterAddresses(Unknown macro: {0x7fff3ca0b337, 0xd})
/go/src/github.com/openshift/installer/pkg/infrastructure/baremetal/variables.go:102 +0x266 fp=0xc00150f6a8 sp=0xc00150f118 pc=0x3a4d0a6
github.com/openshift/installer/pkg/infrastructure/baremetal.Provider.ExtractHostAddresses({},Unknown macro: {0x7fff3ca0b337?, 0x77c7b24?}, 0xc0010e4000?, 0xc00104e0f0)
/go/src/github.com/openshift/installer/pkg/infrastructure/baremetal/baremetal.go:53 +0x4f fp=0xc00150f6c8 sp=0xc00150f6a8 pc=0x3a464cf
github.com/openshift/installer/pkg/infrastructure/baremetal.(*Provider).ExtractHostAddresses(0x7672d53?,Unknown macro: {0x7fff3ca0b337?, 0x26fd3320?}, 0xc001402420?, 0xc0010e4000?)
<autogenerated>:1 +0x36 fp=0xc00150f6f8 sp=0xc00150f6c8 pc=0x3a4d2d6
main.runGatherBootstrapCmd(Unknown macro: {0x27030450, 0xc00111b3b0},
)
/go/src/github.com/openshift/installer/cmd/openshift-install/gather.go:131 +0x65a fp=0xc00150f838 sp=0xc00150f6f8 pc=0x5290d9a
main.clusterCreatePostRun(Unknown macro: {0x27030450, 0xc00111b3b0})
/go/src/github.com/openshift/installer/cmd/openshift-install/create.go:181 +0x219 fp=0xc00150fa30 sp=0xc00150f838 pc=0x52885f9
main.glob..func1(0xc00109f000?,Unknown macro: {0xc001115c80?, 0x4?, 0x7660620?})
/go/src/github.com/openshift/installer/cmd/openshift-install/create.go:139 +0x25 fp=0xc00150fa78 sp=0xc00150fa30 pc=0x5288345
github.com/spf13/cobra.(*Command).execute(0x2afbe4e0,Unknown macro: {0xc001115bf0, 0x3, 0x3})
/go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:994 +0xb02 fp=0xc00150fc18 sp=0xc00150fa78 pc=0x5dcaa2
github.com/spf13/cobra.(*Command).ExecuteC(0xc0012c4000)
/go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:1115 +0x3ff fp=0xc00150fcf0 sp=0xc00150fc18 pc=0x5dd31f
github.com/spf13/cobra.(*Command).Execute(...)
/go/src/github.com/openshift/installer/vendor/github.com/spf13/cobra/command.go:1039
main.installerMain()
/go/src/github.com/openshift/installer/cmd/openshift-install/main.go:63 +0x395 fp=0xc00150fe38 sp=0xc00150fcf0 pc=0x52943f5
main.main()
/go/src/github.com/openshift/installer/cmd/openshift-install/main.go:36 +0x11d fp=0xc00150ff40 sp=0xc00150fe38 pc=0x529403d
runtime.main()
/usr/lib/golang/src/runtime/proc.go:267 +0x2bb fp=0xc00150ffe0 sp=0xc00150ff40 pc=0x43e15b
runtime.goexit()
/usr/lib/golang/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00150ffe8 sp=0xc00150ffe0 pc=0x4717e1