Description of problem:
Install the latest oc from the repo, use `oc version -o yaml` command to check version info, the buildDate/gitCommit/gitTreeState/gitVersion are all empty.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install oc from repo: http://download.eng.bos.redhat.com/rcm-guest/puddles/RHAOS/AtomicOpenShift/4.4/latest/x86_64/os/
2. Check the oc version
`oc version -o yaml`
2. [root@dhcp-140-138 ~]# oc version -o yaml
2. Show correct infomation of the oc version.
*** This bug has been marked as a duplicate of bug 1780779 ***
This bug is different symptom from bug 1780779. Even if same, that bug's Target Release is 4.2.z, but this bug is for 4.4, need separate bugs.
This might have been fixed in https://github.com/openshift/oc/pull/250
Confirmed with oc extraced from payload: 4.4.0-0.nightly-2020-01-18-210238, the issue has fixed:
[root@localhost home]# ./oc version --client -o yaml
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.