Hi everybody,
I am facing the following issue attempting to complete the lab at the end of the chapter 8 of the course DO288-4.5 Red Hat OpenShift Development II: Containerizing Applications
Even following the steps described in the solution, at step 9 after creating and the bc, the build won't start and displays this error in its log. Any idea how to solve this?
Thank you in advance
[student@workstation ~]$ oc create -f ./DO288/labs/review-cicd/movies-bc.json buildconfig.build.openshift.io/movies-pipeline created [student@workstation ~]$ oc start-build movies-pipeline build.build.openshift.io/movies-pipeline-1 started [student@workstation ~]$ oc logs bc/movies-pipeline panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x25290b6] goroutine 1 [running]: github.com/openshift/oc/pkg/cli/logs.(*LogsOptions).RunLog(0xc0004a87a0, 0x0, 0x303ce60) /go/src/github.com/openshift/oc/pkg/cli/logs/logs.go:125 +0x8d6 github.com/openshift/oc/pkg/cli/logs.NewCmdLogs.func1(0xc0013ecb00, 0xc00044dfe0, 0x1, 0x1) /go/src/github.com/openshift/oc/pkg/cli/logs/logs.go:84 +0x140 github.com/spf13/cobra.(*Command).execute(0xc0013ecb00, 0xc00044dfb0, 0x1, 0x1, 0xc0013ecb00, 0xc00044dfb0) /go/src/github.com/openshift/oc/vendor/github.com/spf13/cobra/command.go:844 +0x2aa github.com/spf13/cobra.(*Command).ExecuteC(0xc0010c5600, 0x2, 0xc0010c5600, 0x2) /go/src/github.com/openshift/oc/vendor/github.com/spf13/cobra/command.go:945 +0x317 github.com/spf13/cobra.(*Command).Execute(...) /go/src/github.com/openshift/oc/vendor/github.com/spf13/cobra/command.go:885 main.main() /go/src/github.com/openshift/oc/cmd/oc/oc.go:110 +0x853
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.