Description of problem: make fails: + oc adm release extract --registry-config installer--taKNBVx26D/pullsecret --command=openshift-install --to installer--taKNBVx26D registry.svc.ci.openshift.org/kni/release:4.2.0-0.ci-2019-07-31-123929-kni.0 panic: runtime error: slice bounds out of range goroutine 104 [running]: bufio.(*Reader).fill(0xc00026a8a0) /opt/rh/go-toolset-1.12/root/usr/lib/go-toolset-1.12-golang/src/bufio/bufio.go:89 +0x211 bufio.(*Reader).WriteTo(0xc00026a8a0, 0x2dfa3c0, 0xc0019f6058, 0x7f1c39b41b68, 0xc00026a8a0, 0x2e63a01) /opt/rh/go-toolset-1.12/root/usr/lib/go-toolset-1.12-golang/src/bufio/bufio.go:511 +0x106 io.copyBuffer(0x2dfa3c0, 0xc0019f6058, 0x2df4fa0, 0xc00026a8a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /opt/rh/go-toolset-1.12/root/usr/lib/go-toolset-1.12-golang/src/io/io.go:384 +0x34e io.Copy(...) /opt/rh/go-toolset-1.12/root/usr/lib/go-toolset-1.12-golang/src/io/io.go:364 os/exec.(*Cmd).stdin.func1(0x0, 0x0) /opt/rh/go-toolset-1.12/root/usr/lib/go-toolset-1.12-golang/src/os/exec/exec.go:243 +0x67 os/exec.(*Cmd).Start.func1(0xc000939080, 0xc001298480) /opt/rh/go-toolset-1.12/root/usr/lib/go-toolset-1.12-golang/src/os/exec/exec.go:409 +0x27 created by os/exec.(*Cmd).Start /opt/rh/go-toolset-1.12/root/usr/lib/go-toolset-1.12-golang/src/os/exec/exec.go:408 +0x58f Version-Release number of selected component (if applicable): dev-scripts on commit b37f693968cb710935e55149d356b5500572876b How reproducible: not always Steps to Reproduce: 1. Run make Actual results: Sometimes oc adm release extract fails with panic: runtime error: slice bounds out of range Expected results: No failures. Additional info:
I believe Stephen discovered the root-cause of this: https://github.com/openshift/oc/issues/58 So I assigned this to him - the dev-scripts and install-scripts workarounds landed, but I'm not sure if we want to keep this open until the underlying library fix lands and makes it into our builds?
https://github.com/openshift/oc/issues/58 merged so this should be fixed in the current releases.