Description of problem: Below warning appears if try to set --incremental= for docker build # oc start-build ruby-sample-build --incremental=false Unable to connect to the server: unexpected EOF; some request body already written Version-Release number of selected component (if applicable): oc v3.9.0-0.36.0 kubernetes v1.9.1+a0ce1bc657 features: Basic-Auth GSSAPI Kerberos SPNEGO How reproducible: always Steps to Reproduce: 1.oc new-app -f https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-dockerbuild.json 2.oc start-build ruby-sample-build --incremental=false 3. Actual results: # oc start-build ruby-sample-build --incremental=false Unable to connect to the server: unexpected EOF; some request body already written Expected results: Should warn --incremental only work for source build. Additional info:
This was fixed in 3.9 moving to qa.
$oc start-build ruby-sample-build --incremental=false -n install-test Error from server (BadRequest): Cannot specify Source build specific options on install-test/ruby-sample-build, not a Source build. # oc version oc v3.9.71 kubernetes v1.9.1+a0ce1bc657 features: Basic-Auth GSSAPI Kerberos SPNEGO Server: https://****:8443 openshift v3.9.71 kubernetes v1.9.1+a0ce1bc657
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-2019:0619