Bug 1808568

Summary: [buildcop] oc adm must-gather runs successfully test fails
Product: OpenShift Container Platform Reporter: Aniket Bhat <anbhat>
Component: ocAssignee: Sally <somalley>
Status: CLOSED ERRATA QA Contact: zhou ying <yinzhou>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4CC: aos-bugs, jokerman, maszulik, mfojtik, somalley, sttts
Target Milestone: ---Keywords: Reopened
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1811636 (view as bug list) Environment:
Last Closed: 2020-08-04 18:02:32 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1811636    

Description Aniket Bhat 2020-02-28 20:23:35 UTC
Description of problem:
e2e-test-oc-adm-must-gather fails with: 

 fail [github.com/openshift/origin/test/extended/cli/mustgather.go:150]: Expected
    <string>: enshift-apiserver/v0.0.0 (linux/amd64) kubernetes/$Format","objectRef":{"resource":"imagestreams","apiGroup":"image.openshift.io","apiVersion":"v1"},"responseStatus":{"metadata":{},"code":200},"requestReceivedTimestamp":"2020-02-28T13:34:24.957352Z","stageTimestamp":"2020-02-28T13:34:24.987791Z","annotations":{"authorization.k8s.io/decision":"allow","authorization.k8s.io/reason":""}}
to have prefix
    <string>: {"kind":"Event",


Version-Release number of selected component (if applicable):
4.4

How reproducible:
Happened on 4.4 job: https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-origin-installer-e2e-gcp-4.4/1804#1:build-log.txt%3A9379

Actual results:

The must-gather suite fails with the error above.

Expected results:
e2e test suite passes

Additional info:

Comment 1 Maciej Szulik 2020-03-02 13:05:43 UTC
It's not a bug in must-gather, it looks like this particular one lines is missing initial bits, iow. it looks like this:

enshift-apiserver/v0.0.0 (linux/amd64) kubernetes/$Format","objectRef":{"resource":"imagestreams","apiGroup":"image.openshift.io","apiVersion":"v1"},"responseStatus":{"metadata":{},"code":200},"requestReceivedTimestamp":"2020-02-28T13:34:24.957352Z","stageTimestamp":"2020-
02-28T13:34:24.987791Z","annotations":{"authorization.k8s.io/decision":"allow","authorization.k8s.io/reason":""}}

looking further at openshift-apiserver, which the logs is coming from it looks like at that particular time it was
during a restart, so it's not a bug. I'm going to close it as such then.

Comment 5 errata-xmlrpc 2020-08-04 18:02:32 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 (OpenShift Container Platform 4.5 image release 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:2409