Bug 1734291

Summary: No build status when run `oc get builds --watch`
Product: OpenShift Container Platform Reporter: Wenjing Zheng <wzheng>
Component: ocAssignee: Maciej Szulik <maszulik>
Status: CLOSED ERRATA QA Contact: wewang <wewang>
Severity: low Docs Contact:
Priority: medium    
Version: 4.2.0CC: aos-bugs, jokerman, maszulik, mfojtik
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-13 21:51:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Wenjing Zheng 2019-07-30 07:50:33 UTC
Description of problem:
No build status like before when run below command which cannot reveal whether build completes or not:
$ oc get builds -n wzheng1 --watch
NAME                    AGE
django-psql-example-1   5m36s
django-psql-example-1   6m5s
django-psql-example-1   6m6s
django-psql-example-1   6m6s


Version-Release number of selected component (if applicable):
$ oc version
Client Version: version.Info{Major:"4", Minor:"2+", GitVersion:"v4.2.0", GitCommit:"2e9d4a117", GitTreeState:"clean", BuildDate:"2019-07-28T17:15:26Z", GoVersion:"go1.12.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.0+1682e38", GitCommit:"1682e38", GitTreeState:"clean", BuildDate:"2019-07-28T20:08:40Z", GoVersion:"go1.12.6", Compiler:"gc", Platform:"linux/amd64"}


How reproducible:
Always

Steps to Reproduce:
1.No build status when user try to watch whether build completes or not
$ oc get builds -n wzheng1 --watch
2.
3.

Actual results:
No build status.

Expected results:
Should at least add STATUS column when watch build status.

Additional info:

Comment 2 Maciej Szulik 2020-03-13 15:30:07 UTC
This was fixed in between, moving to qa for verification.

Comment 5 wewang 2020-04-22 08:58:28 UTC
Verified in version:
$ oc version 
Client Version: 4.4.0-202003051431-2576e48
Server Version: 4.4.0-0.nightly-2020-04-21-210658
Kubernetes Version: v1.17.1

[wewang@wangwen work]$ oc get builds --watch
NAME        TYPE     FROM          STATUS    STARTED          DURATION
ruby-ex-1   Source   Git@c00ecd7   Running   56 seconds ago   
ruby-ex-1   Source   Git@c00ecd7   Running   59 seconds ago   
ruby-ex-1   Source   Git@c00ecd7   Running   59 seconds ago   
ruby-ex-1   Source   Git@c00ecd7   Complete   59 seconds ago   59s

Comment 7 errata-xmlrpc 2020-05-13 21:51:57 UTC
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-2020:0581