Description of problem: No failure reason displayed when using invalid branch Version-Release number of selected component (if applicable): openshift v3.5.0.17+c55cf2b kubernetes v1.5.2+43a9be4 etcd 3.1.0 How reproducible: always Steps to Reproduce: 1.oc new-app -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/build/ruby20rhel7-invalidcontext-docker.json 2.oc get build oc get build NAME TYPE FROM STATUS STARTED DURATION ruby20-sample-build-1 Docker Git@4e7c264 Failed 10 minutes ago 2s 3. Actual results: Expected results: We should have reason telling the use why failed Additional info:
Submitted PR https://github.com/openshift/origin/pull/12873
https://github.com/openshift/origin/pull/12873
This has been merged into ocp and is in OCP v3.5.0.32 or newer.
Failed with : openshift v3.5.0.35 kubernetes v1.5.2+43a9be4 etcd 3.1.0 oc get build NAME TYPE FROM STATUS STARTED DURATION ruby20-sample-build-1 Docker Git@4e7c264 Failed 3 minutes ago 1s ruby20-sample-build-2 Docker Git@4e7c264 Failed 2 minutes ago 1s Error logs: F0301 05:35:13.756573 1 helpers.go:116] error: build error: open /tmp/docker-build771301835/invalid/Dockerfile: no such file or directory
Should be fixed now by https://github.com/openshift/origin/pull/13203
Correy, origin-1.5 / ose-3.5 has already branched. So pull requests for master are for 3.6 now. Can you please backport this to the origin-1.5 branch so it can be merged into ose 3.5.
Troy, This one was submitted about the same time and has been merged: https://github.com/openshift/origin/pull/13206
Thank you, I didn't see that. This has been merged into ocp and is in OCP v3.5.0.38 or newer.
Verified with below version: openshift v3.5.0.45 kubernetes v1.5.2+43a9be4 etcd 3.1.0 $ oc get builds NAME TYPE FROM STATUS STARTED DURATION ruby20-sample-build-1 Docker Git Failed (InvalidContextDirectory) About a minute ago [wzheng@openshiftqe v3]$ oc describe builds ruby20-sample-build-1 Name: ruby20-sample-build-1 Namespace: wzheng2 Created: About a minute ago Labels: app=ruby-helloworld-sample buildconfig=ruby20-sample-build name=ruby20-sample-build openshift.io/build-config.name=ruby20-sample-build openshift.io/build.start-policy=Serial template=application-template-dockerbuild Annotations: openshift.io/build-config.name=ruby20-sample-build openshift.io/build.number=1 openshift.io/build.pod-name=ruby20-sample-build-1-build Status: Failed (The supplied context directory does not exist.)
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:0884